Package com.google.cloud.compute.v1
Class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder>
com.google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
- All Implemented Interfaces:
SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
public static final class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder>
implements SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder
Protobuf type
google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.getState()[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.com.google.protobuf.ByteString[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.booleanhasError()[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.booleanhasState()[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeError(Status value) [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.setError(Status.Builder builderForValue) [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.setStateBytes(com.google.protobuf.ByteString value) [Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.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.GeneratedMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder>
-
getDefaultInstanceForType
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder>
-
mergeFrom
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.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<SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder>- Throws:
IOException
-
hasError
public boolean hasError()[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904;- Specified by:
hasErrorin interfaceSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder- Returns:
- Whether the error field is set.
-
getError
[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904;- Specified by:
getErrorin interfaceSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder- Returns:
- The error.
-
setError
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setError(Status value) [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904; -
setError
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setError(Status.Builder builderForValue) [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904; -
mergeError
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder mergeError(Status value) [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904; -
clearError
[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904; -
getErrorBuilder
[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904; -
getErrorOrBuilder
[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.
optional .google.cloud.compute.v1.Status error = 96784904;- Specified by:
getErrorOrBuilderin interfaceSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder
-
hasState
public boolean hasState()[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
hasStatein interfaceSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder- Returns:
- Whether the state field is set.
-
getState
[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStatein interfaceSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. Check the State enum for the list of possible values.
optional string state = 109757585;- Specified by:
getStateBytesin interfaceSetCommonInstanceMetadataOperationMetadataPerLocationOperationInfoOrBuilder- Returns:
- The bytes for state.
-
setState
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setState(String value) [Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. Check the State enum for the list of possible values.
optional string state = 109757585;- Returns:
- This builder for chaining.
-
setStateBytes
public SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo.Builder setStateBytes(com.google.protobuf.ByteString value) [Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. Check the State enum for the list of possible values.
optional string state = 109757585;- Parameters:
value- The bytes for state to set.- Returns:
- This builder for chaining.
-