Class IamPolicyAnalysisResult.Resource.Builder

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

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 node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState 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 IamPolicyAnalysisResult.AnalysisState getAnalysisState()

The analysis state of this resource 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 resource 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 resource node.

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

Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisStateOrBuilder

getDefaultInstanceForType()

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

getDescriptor()

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

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 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.Resource.Builder mergeAnalysisState(IamPolicyAnalysisResult.AnalysisState value)

The analysis state of this resource node.

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

Parameter
NameDescription
valueIamPolicyAnalysisResult.AnalysisState
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(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
NameDescription
valueIamPolicyAnalysisResult.AnalysisState
Returns
TypeDescription
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
NameDescription
builderForValueIamPolicyAnalysisResult.AnalysisState.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