Class IamPolicyAnalysisResult.Resource.Builder (3.3.1)

public static final class IamPolicyAnalysisResult.Resource.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Resource.Builder> implements IamPolicyAnalysisResult.ResourceOrBuilder

A GCP resource that appears in an access control list.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAnalysisState()

public IamPolicyAnalysisResult.Resource.Builder clearAnalysisState()

The analysis state of this resource node.

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

Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFullResourceName()

public IamPolicyAnalysisResult.Resource.Builder clearFullResourceName()

The full resource name.

string full_resource_name = 1;

Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnalysisState()

public IamPolicyAnalysisResult.AnalysisState getAnalysisState()

The analysis state of this resource node.

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

Returns
Type Description
IamPolicyAnalysisResult.AnalysisState

The analysisState.

getAnalysisStateBuilder()

public IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder()

The analysis state of this resource node.

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

Returns
Type Description
IamPolicyAnalysisResult.AnalysisState.Builder

getAnalysisStateOrBuilder()

public IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this resource node.

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

Returns
Type Description
IamPolicyAnalysisResult.AnalysisStateOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getFullResourceName()

public String getFullResourceName()

The full resource name.

string full_resource_name = 1;

Returns
Type Description
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

The full resource name.

string full_resource_name = 1;

Returns
Type Description
ByteString

The bytes for fullResourceName.

hasAnalysisState()

public boolean hasAnalysisState()

The analysis state of this resource node.

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

Returns
Type Description
boolean

Whether the analysisState field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalysisState(IamPolicyAnalysisResult.AnalysisState value)

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

The analysis state of this resource node.

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

Parameter
Name Description
value IamPolicyAnalysisResult.AnalysisState
Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

mergeFrom(IamPolicyAnalysisResult.Resource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAnalysisState(IamPolicyAnalysisResult.AnalysisState value)

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

The analysis state of this resource node.

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

Parameter
Name Description
value IamPolicyAnalysisResult.AnalysisState
Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

setAnalysisState(IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

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

The analysis state of this resource node.

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

Parameter
Name Description
builderForValue IamPolicyAnalysisResult.AnalysisState.Builder
Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullResourceName(String value)

public IamPolicyAnalysisResult.Resource.Builder setFullResourceName(String value)

The full resource name.

string full_resource_name = 1;

Parameter
Name Description
value String

The fullResourceName to set.

Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

This builder for chaining.

setFullResourceNameBytes(ByteString value)

public IamPolicyAnalysisResult.Resource.Builder setFullResourceNameBytes(ByteString value)

The full resource name.

string full_resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for fullResourceName to set.

Returns
Type Description
IamPolicyAnalysisResult.Resource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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