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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
protected MapField internalGetMutableMapField(int number)
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public IamPolicySearchResult.Explanation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public IamPolicySearchResult.Explanation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public IamPolicySearchResult.Explanation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder mergeFrom(IamPolicySearchResult.Explanation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public IamPolicySearchResult.Explanation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicySearchResult.Explanation.Builder>
IOException
public int getMatchedPermissionsCount()
IamPolicySearchResult.ExplanationOrBuilder
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
getMatchedPermissionsCount
in interface IamPolicySearchResult.ExplanationOrBuilder
public boolean containsMatchedPermissions(String key)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
containsMatchedPermissions
in interface IamPolicySearchResult.ExplanationOrBuilder
@Deprecated public Map<String,Permissions> getMatchedPermissions()
getMatchedPermissionsMap()
instead.getMatchedPermissions
in interface IamPolicySearchResult.ExplanationOrBuilder
public Map<String,Permissions> getMatchedPermissionsMap()
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
getMatchedPermissionsMap
in interface IamPolicySearchResult.ExplanationOrBuilder
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:`). A sample 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
in interface IamPolicySearchResult.ExplanationOrBuilder
public Permissions getMatchedPermissionsOrThrow(String key)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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
in interface IamPolicySearchResult.ExplanationOrBuilder
public IamPolicySearchResult.Explanation.Builder clearMatchedPermissions()
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:`). A sample 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;
@Deprecated public Map<String,Permissions> getMutableMatchedPermissions()
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:`). A sample 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;
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:`). A sample 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;
public final IamPolicySearchResult.Explanation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
public final IamPolicySearchResult.Explanation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<IamPolicySearchResult.Explanation.Builder>
Copyright © 2022 Google LLC. All rights reserved.