Class IamPolicyAnalysisQuery.IdentitySelector.Builder (3.4.1)

public static final class IamPolicyAnalysisQuery.IdentitySelector.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.IdentitySelector.Builder> implements IamPolicyAnalysisQuery.IdentitySelectorOrBuilder

Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.

Protobuf type google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisQuery.IdentitySelector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

build()

public IamPolicyAnalysisQuery.IdentitySelector build()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector

buildPartial()

public IamPolicyAnalysisQuery.IdentitySelector buildPartial()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector

clear()

public IamPolicyAnalysisQuery.IdentitySelector.Builder clear()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisQuery.IdentitySelector.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

clearIdentity()

public IamPolicyAnalysisQuery.IdentitySelector.Builder clearIdentity()

Required. The identity appear in the form of members in IAM policy binding.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisQuery.IdentitySelector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

clone()

public IamPolicyAnalysisQuery.IdentitySelector.Builder clone()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

getDefaultInstanceForType()

public IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIdentity()

public String getIdentity()

Required. The identity appear in the form of members in IAM policy binding.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The identity.

getIdentityBytes()

public ByteString getIdentityBytes()

Required. The identity appear in the form of members in IAM policy binding.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for identity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IamPolicyAnalysisQuery.IdentitySelector other)

public IamPolicyAnalysisQuery.IdentitySelector.Builder mergeFrom(IamPolicyAnalysisQuery.IdentitySelector other)
Parameter
NameDescription
otherIamPolicyAnalysisQuery.IdentitySelector
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisQuery.IdentitySelector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IamPolicyAnalysisQuery.IdentitySelector.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisQuery.IdentitySelector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisQuery.IdentitySelector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

setIdentity(String value)

public IamPolicyAnalysisQuery.IdentitySelector.Builder setIdentity(String value)

Required. The identity appear in the form of members in IAM policy binding.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The identity to set.

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

This builder for chaining.

setIdentityBytes(ByteString value)

public IamPolicyAnalysisQuery.IdentitySelector.Builder setIdentityBytes(ByteString value)

Required. The identity appear in the form of members in IAM policy binding.

string identity = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for identity to set.

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IamPolicyAnalysisQuery.IdentitySelector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisQuery.IdentitySelector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector.Builder
Overrides