Package com.google.cloud.asset.v1
Class IamPolicyAnalysisState.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
- com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder
-
- All Implemented Interfaces:
IamPolicyAnalysisStateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IamPolicyAnalysisState
public static final class IamPolicyAnalysisState.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder> implements IamPolicyAnalysisStateOrBuilder
Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.
Protobuf typegoogle.cloud.asset.v1.IamPolicyAnalysisState
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IamPolicyAnalysisState.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IamPolicyAnalysisStatebuild()IamPolicyAnalysisStatebuildPartial()IamPolicyAnalysisState.Builderclear()IamPolicyAnalysisState.BuilderclearCause()The human-readable description of the cause of failure.IamPolicyAnalysisState.BuilderclearCode()The Google standard error code that best describes the state.IamPolicyAnalysisState.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IamPolicyAnalysisState.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IamPolicyAnalysisState.Builderclone()StringgetCause()The human-readable description of the cause of failure.com.google.protobuf.ByteStringgetCauseBytes()The human-readable description of the cause of failure.com.google.rpc.CodegetCode()The Google standard error code that best describes the state.intgetCodeValue()The Google standard error code that best describes the state.IamPolicyAnalysisStategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IamPolicyAnalysisState.BuildermergeFrom(IamPolicyAnalysisState other)IamPolicyAnalysisState.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IamPolicyAnalysisState.BuildermergeFrom(com.google.protobuf.Message other)IamPolicyAnalysisState.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IamPolicyAnalysisState.BuildersetCause(String value)The human-readable description of the cause of failure.IamPolicyAnalysisState.BuildersetCauseBytes(com.google.protobuf.ByteString value)The human-readable description of the cause of failure.IamPolicyAnalysisState.BuildersetCode(com.google.rpc.Code value)The Google standard error code that best describes the state.IamPolicyAnalysisState.BuildersetCodeValue(int value)The Google standard error code that best describes the state.IamPolicyAnalysisState.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IamPolicyAnalysisState.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)IamPolicyAnalysisState.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
clear
public IamPolicyAnalysisState.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
getDefaultInstanceForType
public IamPolicyAnalysisState getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IamPolicyAnalysisState build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IamPolicyAnalysisState buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IamPolicyAnalysisState.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
setField
public IamPolicyAnalysisState.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
clearField
public IamPolicyAnalysisState.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
clearOneof
public IamPolicyAnalysisState.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
setRepeatedField
public IamPolicyAnalysisState.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
addRepeatedField
public IamPolicyAnalysisState.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
mergeFrom
public IamPolicyAnalysisState.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisState.Builder>
-
mergeFrom
public IamPolicyAnalysisState.Builder mergeFrom(IamPolicyAnalysisState other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
mergeFrom
public IamPolicyAnalysisState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisState.Builder>- Throws:
IOException
-
getCodeValue
public int getCodeValue()
The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;
.google.rpc.Code code = 1;- Specified by:
getCodeValuein interfaceIamPolicyAnalysisStateOrBuilder- Returns:
- The enum numeric value on the wire for code.
-
setCodeValue
public IamPolicyAnalysisState.Builder setCodeValue(int value)
The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;
.google.rpc.Code code = 1;- Parameters:
value- The enum numeric value on the wire for code to set.- Returns:
- This builder for chaining.
-
getCode
public com.google.rpc.Code getCode()
The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;
.google.rpc.Code code = 1;- Specified by:
getCodein interfaceIamPolicyAnalysisStateOrBuilder- Returns:
- The code.
-
setCode
public IamPolicyAnalysisState.Builder setCode(com.google.rpc.Code value)
The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;
.google.rpc.Code code = 1;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
public IamPolicyAnalysisState.Builder clearCode()
The Google standard error code that best describes the state. For example: - OK means the analysis on this entity has been successfully finished; - PERMISSION_DENIED means an access denied error is encountered; - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in time;
.google.rpc.Code code = 1;- Returns:
- This builder for chaining.
-
getCause
public String getCause()
The human-readable description of the cause of failure.
string cause = 2;- Specified by:
getCausein interfaceIamPolicyAnalysisStateOrBuilder- Returns:
- The cause.
-
getCauseBytes
public com.google.protobuf.ByteString getCauseBytes()
The human-readable description of the cause of failure.
string cause = 2;- Specified by:
getCauseBytesin interfaceIamPolicyAnalysisStateOrBuilder- Returns:
- The bytes for cause.
-
setCause
public IamPolicyAnalysisState.Builder setCause(String value)
The human-readable description of the cause of failure.
string cause = 2;- Parameters:
value- The cause to set.- Returns:
- This builder for chaining.
-
clearCause
public IamPolicyAnalysisState.Builder clearCause()
The human-readable description of the cause of failure.
string cause = 2;- Returns:
- This builder for chaining.
-
setCauseBytes
public IamPolicyAnalysisState.Builder setCauseBytes(com.google.protobuf.ByteString value)
The human-readable description of the cause of failure.
string cause = 2;- Parameters:
value- The bytes for cause to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final IamPolicyAnalysisState.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
mergeUnknownFields
public final IamPolicyAnalysisState.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisState.Builder>
-
-