Class IamPolicyAnalysisResult.Access.Builder (3.18.0)

public static final class IamPolicyAnalysisResult.Access.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Access.Builder> implements IamPolicyAnalysisResult.AccessOrBuilder

An IAM role or permission under analysis.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult.Access

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Access.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

build()

public IamPolicyAnalysisResult.Access build()
Returns
Type Description
IamPolicyAnalysisResult.Access

buildPartial()

public IamPolicyAnalysisResult.Access buildPartial()
Returns
Type Description
IamPolicyAnalysisResult.Access

clear()

public IamPolicyAnalysisResult.Access.Builder clear()
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

clearAnalysisState()

public IamPolicyAnalysisResult.Access.Builder clearAnalysisState()

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisResult.Access.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisResult.Access.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

clearOneofAccess()

public IamPolicyAnalysisResult.Access.Builder clearOneofAccess()
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

clearPermission()

public IamPolicyAnalysisResult.Access.Builder clearPermission()

The permission.

string permission = 2;

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

This builder for chaining.

clearRole()

public IamPolicyAnalysisResult.Access.Builder clearRole()

The role.

string role = 1;

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

This builder for chaining.

clone()

public IamPolicyAnalysisResult.Access.Builder clone()
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

getAnalysisState()

public IamPolicyAnalysisState getAnalysisState()

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Returns
Type Description
IamPolicyAnalysisState

The analysisState.

getAnalysisStateBuilder()

public IamPolicyAnalysisState.Builder getAnalysisStateBuilder()

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Returns
Type Description
IamPolicyAnalysisState.Builder

getAnalysisStateOrBuilder()

public IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Returns
Type Description
IamPolicyAnalysisStateOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisResult.Access getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisResult.Access

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOneofAccessCase()

public IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase()
Returns
Type Description
IamPolicyAnalysisResult.Access.OneofAccessCase

getPermission()

public String getPermission()

The permission.

string permission = 2;

Returns
Type Description
String

The permission.

getPermissionBytes()

public ByteString getPermissionBytes()

The permission.

string permission = 2;

Returns
Type Description
ByteString

The bytes for permission.

getRole()

public String getRole()

The role.

string role = 1;

Returns
Type Description
String

The role.

getRoleBytes()

public ByteString getRoleBytes()

The role.

string role = 1;

Returns
Type Description
ByteString

The bytes for role.

hasAnalysisState()

public boolean hasAnalysisState()

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Returns
Type Description
boolean

Whether the analysisState field is set.

hasPermission()

public boolean hasPermission()

The permission.

string permission = 2;

Returns
Type Description
boolean

Whether the permission field is set.

hasRole()

public boolean hasRole()

The role.

string role = 1;

Returns
Type Description
boolean

Whether the role field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalysisState(IamPolicyAnalysisState value)

public IamPolicyAnalysisResult.Access.Builder mergeAnalysisState(IamPolicyAnalysisState value)

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Parameter
Name Description
value IamPolicyAnalysisState
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

mergeFrom(IamPolicyAnalysisResult.Access other)

public IamPolicyAnalysisResult.Access.Builder mergeFrom(IamPolicyAnalysisResult.Access other)
Parameter
Name Description
other IamPolicyAnalysisResult.Access
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisResult.Access.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IamPolicyAnalysisResult.Access.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Access.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

setAnalysisState(IamPolicyAnalysisState value)

public IamPolicyAnalysisResult.Access.Builder setAnalysisState(IamPolicyAnalysisState value)

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Parameter
Name Description
value IamPolicyAnalysisState
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

setAnalysisState(IamPolicyAnalysisState.Builder builderForValue)

public IamPolicyAnalysisResult.Access.Builder setAnalysisState(IamPolicyAnalysisState.Builder builderForValue)

The analysis state of this access.

.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;

Parameter
Name Description
builderForValue IamPolicyAnalysisState.Builder
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Access.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

setPermission(String value)

public IamPolicyAnalysisResult.Access.Builder setPermission(String value)

The permission.

string permission = 2;

Parameter
Name Description
value String

The permission to set.

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

This builder for chaining.

setPermissionBytes(ByteString value)

public IamPolicyAnalysisResult.Access.Builder setPermissionBytes(ByteString value)

The permission.

string permission = 2;

Parameter
Name Description
value ByteString

The bytes for permission to set.

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

This builder for chaining.

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

public IamPolicyAnalysisResult.Access.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides

setRole(String value)

public IamPolicyAnalysisResult.Access.Builder setRole(String value)

The role.

string role = 1;

Parameter
Name Description
value String

The role to set.

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

This builder for chaining.

setRoleBytes(ByteString value)

public IamPolicyAnalysisResult.Access.Builder setRoleBytes(ByteString value)

The role.

string role = 1;

Parameter
Name Description
value ByteString

The bytes for role to set.

Returns
Type Description
IamPolicyAnalysisResult.Access.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Access.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IamPolicyAnalysisResult.Access.Builder
Overrides