Class IamPolicyAnalysisResult.Identity.Builder

public static final class IamPolicyAnalysisResult.Identity.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Identity.Builder> implements IamPolicyAnalysisResult.IdentityOrBuilder

An identity that appears in an access control list.

Protobuf type google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IamPolicyAnalysisResult.Identity build()
Returns
TypeDescription
IamPolicyAnalysisResult.Identity

buildPartial()

public IamPolicyAnalysisResult.Identity buildPartial()
Returns
TypeDescription
IamPolicyAnalysisResult.Identity

clear()

public IamPolicyAnalysisResult.Identity.Builder clear()
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder
Overrides

clearAnalysisState()

public IamPolicyAnalysisResult.Identity.Builder clearAnalysisState()

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisResult.Identity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder
Overrides

clearName()

public IamPolicyAnalysisResult.Identity.Builder clearName()

The identity name in any form of members appear in IAM policy binding, such as:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers
  • etc.

string name = 1;

Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisResult.Identity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder
Overrides

clone()

public IamPolicyAnalysisResult.Identity.Builder clone()
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder
Overrides

getAnalysisState()

public IamPolicyAnalysisResult.AnalysisState getAnalysisState()

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState

The analysisState.

getAnalysisStateBuilder()

public IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder()

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState.Builder

getAnalysisStateOrBuilder()

public IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisStateOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisResult.Identity getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisResult.Identity

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The identity name in any form of members appear in IAM policy binding, such as:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers
  • etc.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The identity name in any form of members appear in IAM policy binding, such as:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers
  • etc.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

hasAnalysisState()

public boolean hasAnalysisState()

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
boolean

Whether the analysisState field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAnalysisState(IamPolicyAnalysisResult.AnalysisState value)

public IamPolicyAnalysisResult.Identity.Builder mergeAnalysisState(IamPolicyAnalysisResult.AnalysisState value)

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Parameter
NameDescription
valueIamPolicyAnalysisResult.AnalysisState
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

mergeFrom(IamPolicyAnalysisResult.Identity other)

public IamPolicyAnalysisResult.Identity.Builder mergeFrom(IamPolicyAnalysisResult.Identity other)
Parameter
NameDescription
otherIamPolicyAnalysisResult.Identity
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IamPolicyAnalysisResult.Identity.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Identity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder
Overrides

setAnalysisState(IamPolicyAnalysisResult.AnalysisState value)

public IamPolicyAnalysisResult.Identity.Builder setAnalysisState(IamPolicyAnalysisResult.AnalysisState value)

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Parameter
NameDescription
valueIamPolicyAnalysisResult.AnalysisState
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

setAnalysisState(IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

public IamPolicyAnalysisResult.Identity.Builder setAnalysisState(IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

The analysis state of this identity node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Parameter
NameDescription
builderForValueIamPolicyAnalysisResult.AnalysisState.Builder
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public IamPolicyAnalysisResult.Identity.Builder setName(String value)

The identity name in any form of members appear in IAM policy binding, such as:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers
  • etc.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IamPolicyAnalysisResult.Identity.Builder setNameBytes(ByteString value)

The identity name in any form of members appear in IAM policy binding, such as:

  • user:foo@google.com
  • group:group1@google.com
  • serviceAccount:s1@prj1.iam.gserviceaccount.com
  • projectOwner:some_project_id
  • domain:google.com
  • allUsers
  • etc.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Identity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IamPolicyAnalysisResult.Identity.Builder
Overrides