Package com.google.cloud.compute.v1
Class Operation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
- com.google.cloud.compute.v1.Operation.Builder
-
- All Implemented Interfaces:
OperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Operation
public static final class Operation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder> implements OperationOrBuilder
Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
Protobuf typegoogle.cloud.compute.v1.Operation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Operation.BuilderaddAllWarnings(Iterable<? extends Warnings> values)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Operation.BuilderaddWarnings(int index, Warnings value)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuilderaddWarnings(int index, Warnings.Builder builderForValue)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuilderaddWarnings(Warnings value)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuilderaddWarnings(Warnings.Builder builderForValue)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Warnings.BuilderaddWarningsBuilder()[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Warnings.BuilderaddWarningsBuilder(int index)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operationbuild()OperationbuildPartial()Operation.Builderclear()Operation.BuilderclearClientOperationId()[Output Only] The value of `requestId` if you provided it in the request.Operation.BuilderclearCreationTimestamp()[Deprecated] This field is deprecated.Operation.BuilderclearDescription()[Output Only] A textual description of the operation, which is set when the operation is created.Operation.BuilderclearEndTime()[Output Only] The time that this operation was completed.Operation.BuilderclearError()[Output Only] If errors are generated during processing of the operation, this field will be populated.Operation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Operation.BuilderclearHttpErrorMessage()[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.Operation.BuilderclearHttpErrorStatusCode()[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.Operation.BuilderclearId()[Output Only] The unique identifier for the operation.Operation.BuilderclearInsertTime()[Output Only] The time that this operation was requested.Operation.BuilderclearKind()[Output Only] Type of the resource.Operation.BuilderclearName()[Output Only] Name of the operation.Operation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Operation.BuilderclearOperationGroupId()[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.Operation.BuilderclearOperationType()[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.Operation.BuilderclearProgress()[Output Only] An optional progress indicator that ranges from 0 to 100.Operation.BuilderclearRegion()[Output Only] The URL of the region where the operation resides.Operation.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.Operation.BuilderclearStartTime()[Output Only] The time that this operation was started by the server.Operation.BuilderclearStatus()[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.Operation.BuilderclearStatusMessage()[Output Only] An optional textual description of the current status of the operation.Operation.BuilderclearTargetId()[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.Operation.BuilderclearTargetLink()[Output Only] The URL of the resource that the operation modifies.Operation.BuilderclearUser()[Output Only] User who requested the operation, for example: `user@example.com`.Operation.BuilderclearWarnings()[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuilderclearZone()[Output Only] The URL of the zone where the operation resides.Operation.Builderclone()StringgetClientOperationId()[Output Only] The value of `requestId` if you provided it in the request.com.google.protobuf.ByteStringgetClientOperationIdBytes()[Output Only] The value of `requestId` if you provided it in the request.StringgetCreationTimestamp()[Deprecated] This field is deprecated.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Deprecated] This field is deprecated.OperationgetDefaultInstanceForType()StringgetDescription()[Output Only] A textual description of the operation, which is set when the operation is created.com.google.protobuf.ByteStringgetDescriptionBytes()[Output Only] A textual description of the operation, which is set when the operation is created.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEndTime()[Output Only] The time that this operation was completed.com.google.protobuf.ByteStringgetEndTimeBytes()[Output Only] The time that this operation was completed.ErrorgetError()[Output Only] If errors are generated during processing of the operation, this field will be populated.Error.BuildergetErrorBuilder()[Output Only] If errors are generated during processing of the operation, this field will be populated.ErrorOrBuildergetErrorOrBuilder()[Output Only] If errors are generated during processing of the operation, this field will be populated.StringgetHttpErrorMessage()[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.com.google.protobuf.ByteStringgetHttpErrorMessageBytes()[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.intgetHttpErrorStatusCode()[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.longgetId()[Output Only] The unique identifier for the operation.StringgetInsertTime()[Output Only] The time that this operation was requested.com.google.protobuf.ByteStringgetInsertTimeBytes()[Output Only] The time that this operation was requested.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetName()[Output Only] Name of the operation.com.google.protobuf.ByteStringgetNameBytes()[Output Only] Name of the operation.StringgetOperationGroupId()[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.com.google.protobuf.ByteStringgetOperationGroupIdBytes()[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.StringgetOperationType()[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.com.google.protobuf.ByteStringgetOperationTypeBytes()[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.intgetProgress()[Output Only] An optional progress indicator that ranges from 0 to 100.StringgetRegion()[Output Only] The URL of the region where the operation resides.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] The URL of the region where the operation resides.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.StringgetStartTime()[Output Only] The time that this operation was started by the server.com.google.protobuf.ByteStringgetStartTimeBytes()[Output Only] The time that this operation was started by the server.Operation.StatusgetStatus()[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.StringgetStatusMessage()[Output Only] An optional textual description of the current status of the operation.com.google.protobuf.ByteStringgetStatusMessageBytes()[Output Only] An optional textual description of the current status of the operation.intgetStatusValue()[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.longgetTargetId()[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.StringgetTargetLink()[Output Only] The URL of the resource that the operation modifies.com.google.protobuf.ByteStringgetTargetLinkBytes()[Output Only] The URL of the resource that the operation modifies.StringgetUser()[Output Only] User who requested the operation, for example: `user@example.com`.com.google.protobuf.ByteStringgetUserBytes()[Output Only] User who requested the operation, for example: `user@example.com`.WarningsgetWarnings(int index)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Warnings.BuildergetWarningsBuilder(int index)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.List<Warnings.Builder>getWarningsBuilderList()[Output Only] If warning messages are generated during processing of the operation, this field will be populated.intgetWarningsCount()[Output Only] If warning messages are generated during processing of the operation, this field will be populated.List<Warnings>getWarningsList()[Output Only] If warning messages are generated during processing of the operation, this field will be populated.WarningsOrBuildergetWarningsOrBuilder(int index)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.List<? extends WarningsOrBuilder>getWarningsOrBuilderList()[Output Only] If warning messages are generated during processing of the operation, this field will be populated.StringgetZone()[Output Only] The URL of the zone where the operation resides.com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The URL of the zone where the operation resides.booleanhasClientOperationId()[Output Only] The value of `requestId` if you provided it in the request.booleanhasCreationTimestamp()[Deprecated] This field is deprecated.booleanhasDescription()[Output Only] A textual description of the operation, which is set when the operation is created.booleanhasEndTime()[Output Only] The time that this operation was completed.booleanhasError()[Output Only] If errors are generated during processing of the operation, this field will be populated.booleanhasHttpErrorMessage()[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.booleanhasHttpErrorStatusCode()[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.booleanhasId()[Output Only] The unique identifier for the operation.booleanhasInsertTime()[Output Only] The time that this operation was requested.booleanhasKind()[Output Only] Type of the resource.booleanhasName()[Output Only] Name of the operation.booleanhasOperationGroupId()[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.booleanhasOperationType()[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.booleanhasProgress()[Output Only] An optional progress indicator that ranges from 0 to 100.booleanhasRegion()[Output Only] The URL of the region where the operation resides.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasStartTime()[Output Only] The time that this operation was started by the server.booleanhasStatus()[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.booleanhasStatusMessage()[Output Only] An optional textual description of the current status of the operation.booleanhasTargetId()[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.booleanhasTargetLink()[Output Only] The URL of the resource that the operation modifies.booleanhasUser()[Output Only] User who requested the operation, for example: `user@example.com`.booleanhasZone()[Output Only] The URL of the zone where the operation resides.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Operation.BuildermergeError(Error value)[Output Only] If errors are generated during processing of the operation, this field will be populated.Operation.BuildermergeFrom(Operation other)Operation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Operation.BuildermergeFrom(com.google.protobuf.Message other)Operation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Operation.BuilderremoveWarnings(int index)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuildersetClientOperationId(String value)[Output Only] The value of `requestId` if you provided it in the request.Operation.BuildersetClientOperationIdBytes(com.google.protobuf.ByteString value)[Output Only] The value of `requestId` if you provided it in the request.Operation.BuildersetCreationTimestamp(String value)[Deprecated] This field is deprecated.Operation.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Deprecated] This field is deprecated.Operation.BuildersetDescription(String value)[Output Only] A textual description of the operation, which is set when the operation is created.Operation.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)[Output Only] A textual description of the operation, which is set when the operation is created.Operation.BuildersetEndTime(String value)[Output Only] The time that this operation was completed.Operation.BuildersetEndTimeBytes(com.google.protobuf.ByteString value)[Output Only] The time that this operation was completed.Operation.BuildersetError(Error value)[Output Only] If errors are generated during processing of the operation, this field will be populated.Operation.BuildersetError(Error.Builder builderForValue)[Output Only] If errors are generated during processing of the operation, this field will be populated.Operation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Operation.BuildersetHttpErrorMessage(String value)[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.Operation.BuildersetHttpErrorMessageBytes(com.google.protobuf.ByteString value)[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.Operation.BuildersetHttpErrorStatusCode(int value)[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.Operation.BuildersetId(long value)[Output Only] The unique identifier for the operation.Operation.BuildersetInsertTime(String value)[Output Only] The time that this operation was requested.Operation.BuildersetInsertTimeBytes(com.google.protobuf.ByteString value)[Output Only] The time that this operation was requested.Operation.BuildersetKind(String value)[Output Only] Type of the resource.Operation.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.Operation.BuildersetName(String value)[Output Only] Name of the operation.Operation.BuildersetNameBytes(com.google.protobuf.ByteString value)[Output Only] Name of the operation.Operation.BuildersetOperationGroupId(String value)[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.Operation.BuildersetOperationGroupIdBytes(com.google.protobuf.ByteString value)[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.Operation.BuildersetOperationType(String value)[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.Operation.BuildersetOperationTypeBytes(com.google.protobuf.ByteString value)[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.Operation.BuildersetProgress(int value)[Output Only] An optional progress indicator that ranges from 0 to 100.Operation.BuildersetRegion(String value)[Output Only] The URL of the region where the operation resides.Operation.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the region where the operation resides.Operation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Operation.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.Operation.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.Operation.BuildersetStartTime(String value)[Output Only] The time that this operation was started by the server.Operation.BuildersetStartTimeBytes(com.google.protobuf.ByteString value)[Output Only] The time that this operation was started by the server.Operation.BuildersetStatus(Operation.Status value)[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.Operation.BuildersetStatusMessage(String value)[Output Only] An optional textual description of the current status of the operation.Operation.BuildersetStatusMessageBytes(com.google.protobuf.ByteString value)[Output Only] An optional textual description of the current status of the operation.Operation.BuildersetStatusValue(int value)[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.Operation.BuildersetTargetId(long value)[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.Operation.BuildersetTargetLink(String value)[Output Only] The URL of the resource that the operation modifies.Operation.BuildersetTargetLinkBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the resource that the operation modifies.Operation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Operation.BuildersetUser(String value)[Output Only] User who requested the operation, for example: `user@example.com`.Operation.BuildersetUserBytes(com.google.protobuf.ByteString value)[Output Only] User who requested the operation, for example: `user@example.com`.Operation.BuildersetWarnings(int index, Warnings value)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuildersetWarnings(int index, Warnings.Builder builderForValue)[Output Only] If warning messages are generated during processing of the operation, this field will be populated.Operation.BuildersetZone(String value)[Output Only] The URL of the zone where the operation resides.Operation.BuildersetZoneBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the zone where the operation resides.-
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<Operation.Builder>
-
clear
public Operation.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<Operation.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<Operation.Builder>
-
getDefaultInstanceForType
public Operation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Operation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Operation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Operation.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<Operation.Builder>
-
setField
public Operation.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<Operation.Builder>
-
clearField
public Operation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
clearOneof
public Operation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
setRepeatedField
public Operation.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<Operation.Builder>
-
addRepeatedField
public Operation.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<Operation.Builder>
-
mergeFrom
public Operation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operation.Builder>
-
mergeFrom
public Operation.Builder mergeFrom(Operation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
mergeFrom
public Operation.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<Operation.Builder>- Throws:
IOException
-
hasClientOperationId
public boolean hasClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Specified by:
hasClientOperationIdin interfaceOperationOrBuilder- Returns:
- Whether the clientOperationId field is set.
-
getClientOperationId
public String getClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Specified by:
getClientOperationIdin interfaceOperationOrBuilder- Returns:
- The clientOperationId.
-
getClientOperationIdBytes
public com.google.protobuf.ByteString getClientOperationIdBytes()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Specified by:
getClientOperationIdBytesin interfaceOperationOrBuilder- Returns:
- The bytes for clientOperationId.
-
setClientOperationId
public Operation.Builder setClientOperationId(String value)
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Parameters:
value- The clientOperationId to set.- Returns:
- This builder for chaining.
-
clearClientOperationId
public Operation.Builder clearClientOperationId()
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Returns:
- This builder for chaining.
-
setClientOperationIdBytes
public Operation.Builder setClientOperationIdBytes(com.google.protobuf.ByteString value)
[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
optional string client_operation_id = 297240295;- Parameters:
value- The bytes for clientOperationId to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceOperationOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceOperationOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceOperationOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Operation.Builder setCreationTimestamp(String value)
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Operation.Builder clearCreationTimestamp()
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public Operation.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceOperationOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceOperationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceOperationOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Operation.Builder setDescription(String value)
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Operation.Builder clearDescription()
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Operation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
[Output Only] A textual description of the operation, which is set when the operation is created.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEndTime
public boolean hasEndTime()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Specified by:
hasEndTimein interfaceOperationOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public String getEndTime()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Specified by:
getEndTimein interfaceOperationOrBuilder- Returns:
- The endTime.
-
getEndTimeBytes
public com.google.protobuf.ByteString getEndTimeBytes()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Specified by:
getEndTimeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for endTime.
-
setEndTime
public Operation.Builder setEndTime(String value)
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Parameters:
value- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
public Operation.Builder clearEndTime()
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Returns:
- This builder for chaining.
-
setEndTimeBytes
public Operation.Builder setEndTimeBytes(com.google.protobuf.ByteString value)
[Output Only] The time that this operation was completed. This value is in RFC3339 text format.
optional string end_time = 114938801;- Parameters:
value- The bytes for endTime to set.- Returns:
- This builder for chaining.
-
hasError
public boolean hasError()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;- Specified by:
hasErrorin interfaceOperationOrBuilder- Returns:
- Whether the error field is set.
-
getError
public Error getError()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;- Specified by:
getErrorin interfaceOperationOrBuilder- Returns:
- The error.
-
setError
public Operation.Builder setError(Error value)
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;
-
setError
public Operation.Builder setError(Error.Builder builderForValue)
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;
-
mergeError
public Operation.Builder mergeError(Error value)
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;
-
clearError
public Operation.Builder clearError()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;
-
getErrorBuilder
public Error.Builder getErrorBuilder()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;
-
getErrorOrBuilder
public ErrorOrBuilder getErrorOrBuilder()
[Output Only] If errors are generated during processing of the operation, this field will be populated.
optional .google.cloud.compute.v1.Error error = 96784904;- Specified by:
getErrorOrBuilderin interfaceOperationOrBuilder
-
hasHttpErrorMessage
public boolean hasHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];- Specified by:
hasHttpErrorMessagein interfaceOperationOrBuilder- Returns:
- Whether the httpErrorMessage field is set.
-
getHttpErrorMessage
public String getHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];- Specified by:
getHttpErrorMessagein interfaceOperationOrBuilder- Returns:
- The httpErrorMessage.
-
getHttpErrorMessageBytes
public com.google.protobuf.ByteString getHttpErrorMessageBytes()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];- Specified by:
getHttpErrorMessageBytesin interfaceOperationOrBuilder- Returns:
- The bytes for httpErrorMessage.
-
setHttpErrorMessage
public Operation.Builder setHttpErrorMessage(String value)
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];- Parameters:
value- The httpErrorMessage to set.- Returns:
- This builder for chaining.
-
clearHttpErrorMessage
public Operation.Builder clearHttpErrorMessage()
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];- Returns:
- This builder for chaining.
-
setHttpErrorMessageBytes
public Operation.Builder setHttpErrorMessageBytes(com.google.protobuf.ByteString value)
[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
optional string http_error_message = 202521945 [(.google.cloud.operation_field) = ERROR_MESSAGE];- Parameters:
value- The bytes for httpErrorMessage to set.- Returns:
- This builder for chaining.
-
hasHttpErrorStatusCode
public boolean hasHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
optional int32 http_error_status_code = 312345196 [(.google.cloud.operation_field) = ERROR_CODE];- Specified by:
hasHttpErrorStatusCodein interfaceOperationOrBuilder- Returns:
- Whether the httpErrorStatusCode field is set.
-
getHttpErrorStatusCode
public int getHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
optional int32 http_error_status_code = 312345196 [(.google.cloud.operation_field) = ERROR_CODE];- Specified by:
getHttpErrorStatusCodein interfaceOperationOrBuilder- Returns:
- The httpErrorStatusCode.
-
setHttpErrorStatusCode
public Operation.Builder setHttpErrorStatusCode(int value)
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
optional int32 http_error_status_code = 312345196 [(.google.cloud.operation_field) = ERROR_CODE];- Parameters:
value- The httpErrorStatusCode to set.- Returns:
- This builder for chaining.
-
clearHttpErrorStatusCode
public Operation.Builder clearHttpErrorStatusCode()
[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
optional int32 http_error_status_code = 312345196 [(.google.cloud.operation_field) = ERROR_CODE];- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceOperationOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceOperationOrBuilder- Returns:
- The id.
-
setId
public Operation.Builder setId(long value)
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Operation.Builder clearId()
[Output Only] The unique identifier for the operation. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasInsertTime
public boolean hasInsertTime()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Specified by:
hasInsertTimein interfaceOperationOrBuilder- Returns:
- Whether the insertTime field is set.
-
getInsertTime
public String getInsertTime()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Specified by:
getInsertTimein interfaceOperationOrBuilder- Returns:
- The insertTime.
-
getInsertTimeBytes
public com.google.protobuf.ByteString getInsertTimeBytes()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Specified by:
getInsertTimeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for insertTime.
-
setInsertTime
public Operation.Builder setInsertTime(String value)
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Parameters:
value- The insertTime to set.- Returns:
- This builder for chaining.
-
clearInsertTime
public Operation.Builder clearInsertTime()
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Returns:
- This builder for chaining.
-
setInsertTimeBytes
public Operation.Builder setInsertTimeBytes(com.google.protobuf.ByteString value)
[Output Only] The time that this operation was requested. This value is in RFC3339 text format.
optional string insert_time = 433722515;- Parameters:
value- The bytes for insertTime to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Specified by:
hasKindin interfaceOperationOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Specified by:
getKindin interfaceOperationOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceOperationOrBuilder- Returns:
- The bytes for kind.
-
setKind
public Operation.Builder setKind(String value)
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Operation.Builder clearKind()
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public Operation.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Specified by:
hasNamein interfaceOperationOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Specified by:
getNamein interfaceOperationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Specified by:
getNameBytesin interfaceOperationOrBuilder- Returns:
- The bytes for name.
-
setName
public Operation.Builder setName(String value)
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Operation.Builder clearName()
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Returns:
- This builder for chaining.
-
setNameBytes
public Operation.Builder setNameBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasOperationGroupId
public boolean hasOperationGroupId()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;- Specified by:
hasOperationGroupIdin interfaceOperationOrBuilder- Returns:
- Whether the operationGroupId field is set.
-
getOperationGroupId
public String getOperationGroupId()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;- Specified by:
getOperationGroupIdin interfaceOperationOrBuilder- Returns:
- The operationGroupId.
-
getOperationGroupIdBytes
public com.google.protobuf.ByteString getOperationGroupIdBytes()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;- Specified by:
getOperationGroupIdBytesin interfaceOperationOrBuilder- Returns:
- The bytes for operationGroupId.
-
setOperationGroupId
public Operation.Builder setOperationGroupId(String value)
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;- Parameters:
value- The operationGroupId to set.- Returns:
- This builder for chaining.
-
clearOperationGroupId
public Operation.Builder clearOperationGroupId()
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;- Returns:
- This builder for chaining.
-
setOperationGroupIdBytes
public Operation.Builder setOperationGroupIdBytes(com.google.protobuf.ByteString value)
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
optional string operation_group_id = 40171187;- Parameters:
value- The bytes for operationGroupId to set.- Returns:
- This builder for chaining.
-
hasOperationType
public boolean hasOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Specified by:
hasOperationTypein interfaceOperationOrBuilder- Returns:
- Whether the operationType field is set.
-
getOperationType
public String getOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Specified by:
getOperationTypein interfaceOperationOrBuilder- Returns:
- The operationType.
-
getOperationTypeBytes
public com.google.protobuf.ByteString getOperationTypeBytes()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Specified by:
getOperationTypeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for operationType.
-
setOperationType
public Operation.Builder setOperationType(String value)
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Parameters:
value- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
public Operation.Builder clearOperationType()
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Returns:
- This builder for chaining.
-
setOperationTypeBytes
public Operation.Builder setOperationTypeBytes(com.google.protobuf.ByteString value)
[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
optional string operation_type = 177650450;- Parameters:
value- The bytes for operationType to set.- Returns:
- This builder for chaining.
-
hasProgress
public boolean hasProgress()
[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
optional int32 progress = 72663597;- Specified by:
hasProgressin interfaceOperationOrBuilder- Returns:
- Whether the progress field is set.
-
getProgress
public int getProgress()
[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
optional int32 progress = 72663597;- Specified by:
getProgressin interfaceOperationOrBuilder- Returns:
- The progress.
-
setProgress
public Operation.Builder setProgress(int value)
[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
optional int32 progress = 72663597;- Parameters:
value- The progress to set.- Returns:
- This builder for chaining.
-
clearProgress
public Operation.Builder clearProgress()
[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
optional int32 progress = 72663597;- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Specified by:
hasRegionin interfaceOperationOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Specified by:
getRegionin interfaceOperationOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceOperationOrBuilder- Returns:
- The bytes for region.
-
setRegion
public Operation.Builder setRegion(String value)
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public Operation.Builder clearRegion()
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
public Operation.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceOperationOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceOperationOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceOperationOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public Operation.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public Operation.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Operation.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;- Specified by:
hasStartTimein interfaceOperationOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public String getStartTime()
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;- Specified by:
getStartTimein interfaceOperationOrBuilder- Returns:
- The startTime.
-
getStartTimeBytes
public com.google.protobuf.ByteString getStartTimeBytes()
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;- Specified by:
getStartTimeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for startTime.
-
setStartTime
public Operation.Builder setStartTime(String value)
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;- Parameters:
value- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
public Operation.Builder clearStartTime()
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;- Returns:
- This builder for chaining.
-
setStartTimeBytes
public Operation.Builder setStartTimeBytes(com.google.protobuf.ByteString value)
[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
optional string start_time = 37467274;- Parameters:
value- The bytes for startTime to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];- Specified by:
hasStatusin interfaceOperationOrBuilder- Returns:
- Whether the status field is set.
-
getStatusValue
public int getStatusValue()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];- Specified by:
getStatusValuein interfaceOperationOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public Operation.Builder setStatusValue(int value)
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public Operation.Status getStatus()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];- Specified by:
getStatusin interfaceOperationOrBuilder- Returns:
- The status.
-
setStatus
public Operation.Builder setStatus(Operation.Status value)
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public Operation.Builder clearStatus()
[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
optional .google.cloud.compute.v1.Operation.Status status = 181260274 [(.google.cloud.operation_field) = STATUS];- Returns:
- This builder for chaining.
-
hasStatusMessage
public boolean hasStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Specified by:
hasStatusMessagein interfaceOperationOrBuilder- Returns:
- Whether the statusMessage field is set.
-
getStatusMessage
public String getStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Specified by:
getStatusMessagein interfaceOperationOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Specified by:
getStatusMessageBytesin interfaceOperationOrBuilder- Returns:
- The bytes for statusMessage.
-
setStatusMessage
public Operation.Builder setStatusMessage(String value)
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Parameters:
value- The statusMessage to set.- Returns:
- This builder for chaining.
-
clearStatusMessage
public Operation.Builder clearStatusMessage()
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Returns:
- This builder for chaining.
-
setStatusMessageBytes
public Operation.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Parameters:
value- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
hasTargetId
public boolean hasTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;- Specified by:
hasTargetIdin interfaceOperationOrBuilder- Returns:
- Whether the targetId field is set.
-
getTargetId
public long getTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;- Specified by:
getTargetIdin interfaceOperationOrBuilder- Returns:
- The targetId.
-
setTargetId
public Operation.Builder setTargetId(long value)
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;- Parameters:
value- The targetId to set.- Returns:
- This builder for chaining.
-
clearTargetId
public Operation.Builder clearTargetId()
[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
optional uint64 target_id = 258165385;- Returns:
- This builder for chaining.
-
hasTargetLink
public boolean hasTargetLink()
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;- Specified by:
hasTargetLinkin interfaceOperationOrBuilder- Returns:
- Whether the targetLink field is set.
-
getTargetLink
public String getTargetLink()
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;- Specified by:
getTargetLinkin interfaceOperationOrBuilder- Returns:
- The targetLink.
-
getTargetLinkBytes
public com.google.protobuf.ByteString getTargetLinkBytes()
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;- Specified by:
getTargetLinkBytesin interfaceOperationOrBuilder- Returns:
- The bytes for targetLink.
-
setTargetLink
public Operation.Builder setTargetLink(String value)
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;- Parameters:
value- The targetLink to set.- Returns:
- This builder for chaining.
-
clearTargetLink
public Operation.Builder clearTargetLink()
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;- Returns:
- This builder for chaining.
-
setTargetLinkBytes
public Operation.Builder setTargetLinkBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
optional string target_link = 62671336;- Parameters:
value- The bytes for targetLink to set.- Returns:
- This builder for chaining.
-
hasUser
public boolean hasUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Specified by:
hasUserin interfaceOperationOrBuilder- Returns:
- Whether the user field is set.
-
getUser
public String getUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Specified by:
getUserin interfaceOperationOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Specified by:
getUserBytesin interfaceOperationOrBuilder- Returns:
- The bytes for user.
-
setUser
public Operation.Builder setUser(String value)
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Parameters:
value- The user to set.- Returns:
- This builder for chaining.
-
clearUser
public Operation.Builder clearUser()
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Returns:
- This builder for chaining.
-
setUserBytes
public Operation.Builder setUserBytes(com.google.protobuf.ByteString value)
[Output Only] User who requested the operation, for example: `user@example.com`.
optional string user = 3599307;- Parameters:
value- The bytes for user to set.- Returns:
- This builder for chaining.
-
getWarningsList
public List<Warnings> getWarningsList()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsListin interfaceOperationOrBuilder
-
getWarningsCount
public int getWarningsCount()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsCountin interfaceOperationOrBuilder
-
getWarnings
public Warnings getWarnings(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsin interfaceOperationOrBuilder
-
setWarnings
public Operation.Builder setWarnings(int index, Warnings value)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
setWarnings
public Operation.Builder setWarnings(int index, Warnings.Builder builderForValue)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
addWarnings
public Operation.Builder addWarnings(Warnings value)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
addWarnings
public Operation.Builder addWarnings(int index, Warnings value)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
addWarnings
public Operation.Builder addWarnings(Warnings.Builder builderForValue)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
addWarnings
public Operation.Builder addWarnings(int index, Warnings.Builder builderForValue)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
addAllWarnings
public Operation.Builder addAllWarnings(Iterable<? extends Warnings> values)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
clearWarnings
public Operation.Builder clearWarnings()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
removeWarnings
public Operation.Builder removeWarnings(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
getWarningsBuilder
public Warnings.Builder getWarningsBuilder(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
getWarningsOrBuilder
public WarningsOrBuilder getWarningsOrBuilder(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsOrBuilderin interfaceOperationOrBuilder
-
getWarningsOrBuilderList
public List<? extends WarningsOrBuilder> getWarningsOrBuilderList()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;- Specified by:
getWarningsOrBuilderListin interfaceOperationOrBuilder
-
addWarningsBuilder
public Warnings.Builder addWarningsBuilder()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
addWarningsBuilder
public Warnings.Builder addWarningsBuilder(int index)
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
getWarningsBuilderList
public List<Warnings.Builder> getWarningsBuilderList()
[Output Only] If warning messages are generated during processing of the operation, this field will be populated.
repeated .google.cloud.compute.v1.Warnings warnings = 498091095;
-
hasZone
public boolean hasZone()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Specified by:
hasZonein interfaceOperationOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Specified by:
getZonein interfaceOperationOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceOperationOrBuilder- Returns:
- The bytes for zone.
-
setZone
public Operation.Builder setZone(String value)
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public Operation.Builder clearZone()
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Returns:
- This builder for chaining.
-
setZoneBytes
public Operation.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
optional string zone = 3744684;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Operation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
mergeUnknownFields
public final Operation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Operation.Builder>
-
-