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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisResult.Resource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public IamPolicyAnalysisResult.Resource build()
Returns
buildPartial()
public IamPolicyAnalysisResult.Resource buildPartial()
Returns
clear()
public IamPolicyAnalysisResult.Resource.Builder clear()
Returns
Overrides
clearAnalysisState()
public IamPolicyAnalysisResult.Resource.Builder clearAnalysisState()
The analysis state of this resource node.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public IamPolicyAnalysisResult.Resource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFullResourceName()
public IamPolicyAnalysisResult.Resource.Builder clearFullResourceName()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public IamPolicyAnalysisResult.Resource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public IamPolicyAnalysisResult.Resource.Builder clone()
Returns
Overrides
getAnalysisState()
public IamPolicyAnalysisResult.AnalysisState getAnalysisState()
The analysis state of this resource node.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;
Returns
getAnalysisStateBuilder()
public IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder()
The analysis state of this resource node.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;
Returns
getAnalysisStateOrBuilder()
public IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder()
The analysis state of this resource node.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;
Returns
getDefaultInstanceForType()
public IamPolicyAnalysisResult.Resource getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFullResourceName()
public String getFullResourceName()
Returns
Type | Description |
String | The fullResourceName.
|
getFullResourceNameBytes()
public ByteString getFullResourceNameBytes()
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(IamPolicyAnalysisResult.Resource other)
public IamPolicyAnalysisResult.Resource.Builder mergeFrom(IamPolicyAnalysisResult.Resource other)
Parameter
Returns
public IamPolicyAnalysisResult.Resource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IamPolicyAnalysisResult.Resource.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisResult.Resource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisResult.Resource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFullResourceName(String value)
public IamPolicyAnalysisResult.Resource.Builder setFullResourceName(String value)
Parameter
Name | Description |
value | String
The fullResourceName to set.
|
Returns
setFullResourceNameBytes(ByteString value)
public IamPolicyAnalysisResult.Resource.Builder setFullResourceNameBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for fullResourceName to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IamPolicyAnalysisResult.Resource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisResult.Resource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides