Class IamPolicyAnalysisResult.Resource.Builder (3.10.0)

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

A Google Cloud resource under analysis.

Protobuf type google.cloud.asset.v1.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.

.google.cloud.asset.v1.IamPolicyAnalysisState 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 IamPolicyAnalysisState getAnalysisState()

The analysis state of this resource.

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

Returns
Type Description
IamPolicyAnalysisState

The analysisState.

getAnalysisStateBuilder()

public IamPolicyAnalysisState.Builder getAnalysisStateBuilder()

The analysis state of this resource.

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

Returns
Type Description
IamPolicyAnalysisState.Builder

getAnalysisStateOrBuilder()

public IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this resource.

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

Returns
Type Description
IamPolicyAnalysisStateOrBuilder

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.

.google.cloud.asset.v1.IamPolicyAnalysisState 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(IamPolicyAnalysisState value)

public IamPolicyAnalysisResult.Resource.Builder mergeAnalysisState(IamPolicyAnalysisState value)

The analysis state of this resource.

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

Parameter
Name Description
value IamPolicyAnalysisState
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(IamPolicyAnalysisState value)

public IamPolicyAnalysisResult.Resource.Builder setAnalysisState(IamPolicyAnalysisState value)

The analysis state of this resource.

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

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

setAnalysisState(IamPolicyAnalysisState.Builder builderForValue)

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

The analysis state of this resource.

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

Parameter
Name Description
builderForValue IamPolicyAnalysisState.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