public static final class IamPolicyAnalysisQuery.AccessSelector.Builder extends 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 roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.Protobuf type
google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public IamPolicyAnalysisQuery.AccessSelector build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public IamPolicyAnalysisQuery.AccessSelector buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public IamPolicyAnalysisQuery.AccessSelector.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(IamPolicyAnalysisQuery.AccessSelector other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
IOException
public ProtocolStringList getRolesList()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
getRolesList
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
public int getRolesCount()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
getRolesCount
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
public String getRoles(int index)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
getRoles
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
index
- The index of the element to return.public ByteString getRolesBytes(int index)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
getRolesBytes
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
index
- 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(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 ProtocolStringList getPermissionsList()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
getPermissionsList
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
public int getPermissionsCount()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
getPermissionsCount
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
public String getPermissions(int index)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
getPermissions
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
index
- The index of the element to return.public ByteString getPermissionsBytes(int index)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
getPermissionsBytes
in interface IamPolicyAnalysisQuery.AccessSelectorOrBuilder
index
- 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(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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
public final IamPolicyAnalysisQuery.AccessSelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.AccessSelector.Builder>
Copyright © 2022 Google LLC. All rights reserved.