Class IamPolicyAnalysisResult.Resource.Builder (3.7.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public IamPolicyAnalysisResult.Resource.Builder clear()
Returns
TypeDescription
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
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFullResourceName()

public IamPolicyAnalysisResult.Resource.Builder clearFullResourceName()

The full resource name

string full_resource_name = 1;

Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnalysisState()

public IamPolicyAnalysisState getAnalysisState()

The analysis state of this resource.

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

Returns
TypeDescription
IamPolicyAnalysisState

The analysisState.

getAnalysisStateBuilder()

public IamPolicyAnalysisState.Builder getAnalysisStateBuilder()

The analysis state of this resource.

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

Returns
TypeDescription
IamPolicyAnalysisState.Builder

getAnalysisStateOrBuilder()

public IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this resource.

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

Returns
TypeDescription
IamPolicyAnalysisStateOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFullResourceName()

public String getFullResourceName()

The full resource name

string full_resource_name = 1;

Returns
TypeDescription
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

The full resource name

string full_resource_name = 1;

Returns
TypeDescription
ByteString

The bytes for fullResourceName.

hasAnalysisState()

public boolean hasAnalysisState()

The analysis state of this resource.

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

public IamPolicyAnalysisResult.Resource.Builder mergeAnalysisState(IamPolicyAnalysisState value)

The analysis state of this resource.

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

Parameter
NameDescription
valueIamPolicyAnalysisState
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

mergeFrom(IamPolicyAnalysisResult.Resource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Resource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueIamPolicyAnalysisState
Returns
TypeDescription
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
NameDescription
builderForValueIamPolicyAnalysisState.Builder
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullResourceName(String value)

public IamPolicyAnalysisResult.Resource.Builder setFullResourceName(String value)

The full resource name

string full_resource_name = 1;

Parameter
NameDescription
valueString

The fullResourceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fullResourceName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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