- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
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 identities and resources matching any of them.
Protobuf type google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IamPolicyAnalysisQuery.AccessSelector.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllPermissions(Iterable<String> values)
public IamPolicyAnalysisQuery.AccessSelector.Builder addAllPermissions(Iterable<String> values)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<String> The permissions to add. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
addAllRoles(Iterable<String> values)
public IamPolicyAnalysisQuery.AccessSelector.Builder addAllRoles(Iterable<String> values)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<String> The roles to add. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
addPermissions(String value)
public IamPolicyAnalysisQuery.AccessSelector.Builder addPermissions(String value)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The permissions to add. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
addPermissionsBytes(ByteString value)
public IamPolicyAnalysisQuery.AccessSelector.Builder addPermissionsBytes(ByteString value)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes of the permissions to add. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisQuery.AccessSelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
addRoles(String value)
public IamPolicyAnalysisQuery.AccessSelector.Builder addRoles(String value)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The roles to add. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
addRolesBytes(ByteString value)
public IamPolicyAnalysisQuery.AccessSelector.Builder addRolesBytes(ByteString value)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes of the roles to add. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
build()
public IamPolicyAnalysisQuery.AccessSelector build()
Type | Description |
IamPolicyAnalysisQuery.AccessSelector |
buildPartial()
public IamPolicyAnalysisQuery.AccessSelector buildPartial()
Type | Description |
IamPolicyAnalysisQuery.AccessSelector |
clear()
public IamPolicyAnalysisQuery.AccessSelector.Builder clear()
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
clearField(Descriptors.FieldDescriptor field)
public IamPolicyAnalysisQuery.AccessSelector.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public IamPolicyAnalysisQuery.AccessSelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
clearPermissions()
public IamPolicyAnalysisQuery.AccessSelector.Builder clearPermissions()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
clearRoles()
public IamPolicyAnalysisQuery.AccessSelector.Builder clearRoles()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
clone()
public IamPolicyAnalysisQuery.AccessSelector.Builder clone()
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
getDefaultInstanceForType()
public IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType()
Type | Description |
IamPolicyAnalysisQuery.AccessSelector |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPermissions(int index)
public String getPermissions(int index)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The permissions at the given index. |
getPermissionsBytes(int index)
public ByteString getPermissionsBytes(int index)
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the permissions at the given index. |
getPermissionsCount()
public int getPermissionsCount()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The count of permissions. |
getPermissionsList()
public ProtocolStringList getPermissionsList()
Optional. The permissions to appear in result.
repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ProtocolStringList | A list containing the permissions. |
getRoles(int index)
public String getRoles(int index)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The roles at the given index. |
getRolesBytes(int index)
public ByteString getRolesBytes(int index)
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the roles at the given index. |
getRolesCount()
public int getRolesCount()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The count of roles. |
getRolesList()
public ProtocolStringList getRolesList()
Optional. The roles to appear in result.
repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ProtocolStringList | A list containing the roles. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(IamPolicyAnalysisQuery.AccessSelector other)
public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(IamPolicyAnalysisQuery.AccessSelector other)
Name | Description |
other | IamPolicyAnalysisQuery.AccessSelector |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public IamPolicyAnalysisQuery.AccessSelector.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisQuery.AccessSelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisQuery.AccessSelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
setPermissions(int index, String value)
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];
Name | Description |
index | int The index to set the value at. |
value | String The permissions to set. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IamPolicyAnalysisQuery.AccessSelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |
setRoles(int index, String value)
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];
Name | Description |
index | int The index to set the value at. |
value | String The roles to set. |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisQuery.AccessSelector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
IamPolicyAnalysisQuery.AccessSelector.Builder |