public static final class IamPolicySearchResult.Explanation.Builder extends GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder> implements IamPolicySearchResult.ExplanationOrBuilder
Explanation about the IAM policy search result.
Protobuf type google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IamPolicySearchResult.Explanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IamPolicySearchResult.Explanation build()
buildPartial()
public IamPolicySearchResult.Explanation buildPartial()
clear()
public IamPolicySearchResult.Explanation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public IamPolicySearchResult.Explanation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMatchedPermissions()
public IamPolicySearchResult.Explanation.Builder clearMatchedPermissions()
clearOneof(Descriptors.OneofDescriptor oneof)
public IamPolicySearchResult.Explanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public IamPolicySearchResult.Explanation.Builder clone()
Overrides
containsMatchedPermissions(String key)
public boolean containsMatchedPermissions(String key)
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
Parameter |
Name |
Description |
key |
String
|
getDefaultInstanceForType()
public IamPolicySearchResult.Explanation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMatchedPermissions() (deprecated)
public Map<String,Permissions> getMatchedPermissions()
getMatchedPermissionsCount()
public int getMatchedPermissionsCount()
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
Returns |
Type |
Description |
int |
|
getMatchedPermissionsMap()
public Map<String,Permissions> getMatchedPermissionsMap()
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
getMatchedPermissionsOrDefault(String key, Permissions defaultValue)
public Permissions getMatchedPermissionsOrDefault(String key, Permissions defaultValue)
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
getMatchedPermissionsOrThrow(String key)
public Permissions getMatchedPermissionsOrThrow(String key)
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
Parameter |
Name |
Description |
key |
String
|
getMutableMatchedPermissions() (deprecated)
public Map<String,Permissions> getMutableMatchedPermissions()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(IamPolicySearchResult.Explanation other)
public IamPolicySearchResult.Explanation.Builder mergeFrom(IamPolicySearchResult.Explanation other)
public IamPolicySearchResult.Explanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IamPolicySearchResult.Explanation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicySearchResult.Explanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllMatchedPermissions(Map<String,Permissions> values)
public IamPolicySearchResult.Explanation.Builder putAllMatchedPermissions(Map<String,Permissions> values)
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
putMatchedPermissions(String key, Permissions value)
public IamPolicySearchResult.Explanation.Builder putMatchedPermissions(String key, Permissions value)
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
putMatchedPermissionsBuilderIfAbsent(String key)
public Permissions.Builder putMatchedPermissionsBuilderIfAbsent(String key)
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
Parameter |
Name |
Description |
key |
String
|
removeMatchedPermissions(String key)
public IamPolicySearchResult.Explanation.Builder removeMatchedPermissions(String key)
The map from roles to their included permission matching the permission
query (e.g. containing policy.role.permissions:
). Example role string:
"roles/compute.instanceAdmin". The roles can also be found in the
returned policy
bindings. Note that the map is populated only if
requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
Parameter |
Name |
Description |
key |
String
|
setField(Descriptors.FieldDescriptor field, Object value)
public IamPolicySearchResult.Explanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IamPolicySearchResult.Explanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicySearchResult.Explanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides