public static final class IamPolicyAnalysisQuery.AccessSelector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder> implements IamPolicyAnalysisQuery.AccessSelectorOrBuilder
Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include identities and resources matching any of them.Protobuf type
google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IamPolicyAnalysisQuery.AccessSelector build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IamPolicyAnalysisQuery.AccessSelector buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IamPolicyAnalysisQuery.AccessSelector.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(IamPolicyAnalysisQuery.AccessSelector other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getRolesList()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];getRolesList in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderpublic int getRolesCount()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];getRolesCount in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderpublic String getRoles(int index)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];getRoles in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getRolesBytes(int index)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];getRolesBytes in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderindex - The index of the value to return.public IamPolicyAnalysisQuery.AccessSelector.Builder setRoles(int index, String value)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The roles to set.public IamPolicyAnalysisQuery.AccessSelector.Builder addRoles(String value)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];value - The roles to add.public IamPolicyAnalysisQuery.AccessSelector.Builder addAllRoles(Iterable<String> values)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];values - The roles to add.public IamPolicyAnalysisQuery.AccessSelector.Builder clearRoles()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];public IamPolicyAnalysisQuery.AccessSelector.Builder addRolesBytes(com.google.protobuf.ByteString value)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the roles to add.public com.google.protobuf.ProtocolStringList getPermissionsList()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];getPermissionsList in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderpublic int getPermissionsCount()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];getPermissionsCount in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderpublic String getPermissions(int index)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];getPermissions in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getPermissionsBytes(int index)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];getPermissionsBytes in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilderindex - The index of the value to return.public IamPolicyAnalysisQuery.AccessSelector.Builder setPermissions(int index, String value)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The permissions to set.public IamPolicyAnalysisQuery.AccessSelector.Builder addPermissions(String value)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];value - The permissions to add.public IamPolicyAnalysisQuery.AccessSelector.Builder addAllPermissions(Iterable<String> values)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];values - The permissions to add.public IamPolicyAnalysisQuery.AccessSelector.Builder clearPermissions()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];public IamPolicyAnalysisQuery.AccessSelector.Builder addPermissionsBytes(com.google.protobuf.ByteString value)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the permissions to add.public final IamPolicyAnalysisQuery.AccessSelector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>public final IamPolicyAnalysisQuery.AccessSelector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>Copyright © 2022 Google LLC. All rights reserved.