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.GeneratedMessage.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.GeneratedMessage.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, readHandling 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 `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources. Note that completed Operation resources have a limited retention period.Protobuf type
google.cloud.compute.v1.Operation-
Method Summary
Modifier and TypeMethodDescriptionaddAllWarnings(Iterable<? extends Warnings> values) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.addWarnings(int index, Warnings value) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.addWarnings(int index, Warnings.Builder builderForValue) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.addWarnings(Warnings value) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.addWarnings(Warnings.Builder builderForValue) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.[Output Only] If warning messages are generated during processing of the operation, this field will be populated.addWarningsBuilder(int index) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.build()clear()[Output Only] The value of `requestId` if you provided it in the request.[Deprecated] This field is deprecated.[Output Only] A textual description of the operation, which is set when the operation is created.[Output Only] The time that this operation was completed.[Output Only] If errors are generated during processing of the operation, this field will be populated.optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.[Output Only] If the operation fails, this field contains the HTTP error status code that was returned.clearId()[Output Only] The unique identifier for the operation.[Output Only] The time that this operation was requested.optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;Output only.[Output Only] Name of the operation.Output only.[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.[Output Only] An optional progress indicator that ranges from 0 to 100.[Output Only] The URL of the region where the operation resides.[Output Only] Server-defined URL for the resource.Output only.[Output Only] The time that this operation was started by the server.[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.[Output Only] An optional textual description of the current status of the operation.[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.[Output Only] The URL of the resource that the operation modifies.[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.[Output Only] If warning messages are generated during processing of the operation, this field will be populated.[Output Only] The URL of the zone where the operation resides.[Output Only] The value of `requestId` if you provided it in the request.com.google.protobuf.ByteString[Output Only] The value of `requestId` if you provided it in the request.[Deprecated] This field is deprecated.com.google.protobuf.ByteString[Deprecated] This field is deprecated.[Output Only] A textual description of the operation, which is set when the operation is created.com.google.protobuf.ByteString[Output Only] A textual description of the operation, which is set when the operation is created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor[Output Only] The time that this operation was completed.com.google.protobuf.ByteString[Output Only] The time that this operation was completed.getError()[Output Only] If errors are generated during processing of the operation, this field will be populated.[Output Only] If errors are generated during processing of the operation, this field will be populated.[Output Only] If errors are generated during processing of the operation, this field will be populated.optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.com.google.protobuf.ByteString[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.int[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.[Output Only] The time that this operation was requested.com.google.protobuf.ByteString[Output Only] The time that this operation was requested.optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()[Output Only] Name of the operation.com.google.protobuf.ByteString[Output Only] Name of the operation.Output only.com.google.protobuf.ByteStringOutput only.[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.com.google.protobuf.ByteString[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.int[Output Only] An optional progress indicator that ranges from 0 to 100.[Output Only] The URL of the region where the operation resides.com.google.protobuf.ByteString[Output Only] The URL of the region where the operation resides.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.Output only.Output only.Output only.[Output Only] The time that this operation was started by the server.com.google.protobuf.ByteString[Output Only] The time that this operation was started by the server.[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.[Output Only] An optional textual description of the current status of the operation.com.google.protobuf.ByteString[Output Only] An optional textual description of the current status of the operation.int[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.long[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.[Output Only] The URL of the resource that the operation modifies.com.google.protobuf.ByteString[Output Only] The URL of the resource that the operation modifies.getUser()[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.com.google.protobuf.ByteString[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.getWarnings(int index) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.getWarningsBuilder(int index) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.[Output Only] If warning messages are generated during processing of the operation, this field will be populated.int[Output Only] If warning messages are generated during processing of the operation, this field will be populated.[Output Only] If warning messages are generated during processing of the operation, this field will be populated.getWarningsOrBuilder(int index) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.List<? extends WarningsOrBuilder>[Output Only] If warning messages are generated during processing of the operation, this field will be populated.getZone()[Output Only] The URL of the zone where the operation resides.com.google.protobuf.ByteString[Output Only] The URL of the zone where the operation resides.boolean[Output Only] The value of `requestId` if you provided it in the request.boolean[Deprecated] This field is deprecated.boolean[Output Only] A textual description of the operation, which is set when the operation is created.boolean[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.booleanoptional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;boolean[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.boolean[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.boolean[Output Only] The time that this operation was requested.booleanoptional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;booleanhasKind()Output only.booleanhasName()[Output Only] Name of the operation.booleanOutput only.boolean[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.boolean[Output Only] An optional progress indicator that ranges from 0 to 100.boolean[Output Only] The URL of the region where the operation resides.boolean[Output Only] Server-defined URL for the resource.booleanOutput only.boolean[Output Only] The time that this operation was started by the server.boolean[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.boolean[Output Only] An optional textual description of the current status of the operation.boolean[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.boolean[Output Only] The URL of the resource that the operation modifies.booleanhasUser()[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.booleanhasZone()[Output Only] The URL of the zone where the operation resides.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeError(Error value) [Output Only] If errors are generated during processing of the operation, this field will be populated.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;Output only.removeWarnings(int index) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.setClientOperationId(String value) [Output Only] The value of `requestId` if you provided it in the request.setClientOperationIdBytes(com.google.protobuf.ByteString value) [Output Only] The value of `requestId` if you provided it in the request.setCreationTimestamp(String value) [Deprecated] This field is deprecated.setCreationTimestampBytes(com.google.protobuf.ByteString value) [Deprecated] This field is deprecated.setDescription(String value) [Output Only] A textual description of the operation, which is set when the operation is created.setDescriptionBytes(com.google.protobuf.ByteString value) [Output Only] A textual description of the operation, which is set when the operation is created.setEndTime(String value) [Output Only] The time that this operation was completed.setEndTimeBytes(com.google.protobuf.ByteString value) [Output Only] The time that this operation was completed.[Output Only] If errors are generated during processing of the operation, this field will be populated.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.GetVersionOperationMetadata get_version_operation_metadata = 173230167;setGetVersionOperationMetadata(GetVersionOperationMetadata.Builder builderForValue) optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;setHttpErrorMessage(String value) [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.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`.setHttpErrorStatusCode(int value) [Output Only] If the operation fails, this field contains the HTTP error status code that was returned.setId(long value) [Output Only] The unique identifier for the operation.setInsertTime(String value) [Output Only] The time that this operation was requested.setInsertTimeBytes(com.google.protobuf.ByteString value) [Output Only] The time that this operation was requested.optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;setInstancesBulkInsertOperationMetadata(InstancesBulkInsertOperationMetadata.Builder builderForValue) optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.[Output Only] Name of the operation.setNameBytes(com.google.protobuf.ByteString value) [Output Only] Name of the operation.setOperationGroupId(String value) Output only.setOperationGroupIdBytes(com.google.protobuf.ByteString value) Output only.setOperationType(String value) [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.setOperationTypeBytes(com.google.protobuf.ByteString value) [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.setProgress(int value) [Output Only] An optional progress indicator that ranges from 0 to 100.[Output Only] The URL of the region where the operation resides.setRegionBytes(com.google.protobuf.ByteString value) [Output Only] The URL of the region where the operation resides.setSelfLink(String value) [Output Only] Server-defined URL for the resource.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.Output only.setSetCommonInstanceMetadataOperationMetadata(SetCommonInstanceMetadataOperationMetadata.Builder builderForValue) Output only.setStartTime(String value) [Output Only] The time that this operation was started by the server.setStartTimeBytes(com.google.protobuf.ByteString value) [Output Only] The time that this operation was started by the server.setStatus(Operation.Status value) [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.setStatusMessage(String value) [Output Only] An optional textual description of the current status of the operation.setStatusMessageBytes(com.google.protobuf.ByteString value) [Output Only] An optional textual description of the current status of the operation.setStatusValue(int value) [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.setTargetId(long value) [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.setTargetLink(String value) [Output Only] The URL of the resource that the operation modifies.setTargetLinkBytes(com.google.protobuf.ByteString value) [Output Only] The URL of the resource that the operation modifies.[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.setUserBytes(com.google.protobuf.ByteString value) [Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.setWarnings(int index, Warnings value) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.setWarnings(int index, Warnings.Builder builderForValue) [Output Only] If warning messages are generated during processing of the operation, this field will be populated.[Output Only] The URL of the zone where the operation resides.setZoneBytes(com.google.protobuf.ByteString value) [Output Only] The URL of the zone where the operation resides.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<Operation.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<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.GeneratedMessage.Builder<Operation.Builder>
-
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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
[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
[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
[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
[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
[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
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
[Deprecated] This field is deprecated.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
[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
[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
[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
[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
[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 inRFC3339 text format.
optional string end_time = 114938801;- Specified by:
hasEndTimein interfaceOperationOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
[Output Only] The time that this operation was completed. This value is inRFC3339 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 inRFC3339 text format.
optional string end_time = 114938801;- Specified by:
getEndTimeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for endTime.
-
setEndTime
[Output Only] The time that this operation was completed. This value is inRFC3339 text format.
optional string end_time = 114938801;- Parameters:
value- The endTime to set.- Returns:
- This builder for chaining.
-
clearEndTime
[Output Only] The time that this operation was completed. This value is inRFC3339 text format.
optional string end_time = 114938801;- Returns:
- This builder for chaining.
-
setEndTimeBytes
[Output Only] The time that this operation was completed. This value is inRFC3339 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
[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
[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
[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
[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
[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
[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
[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
-
hasGetVersionOperationMetadata
public boolean hasGetVersionOperationMetadata()optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;- Specified by:
hasGetVersionOperationMetadatain interfaceOperationOrBuilder- Returns:
- Whether the getVersionOperationMetadata field is set.
-
getGetVersionOperationMetadata
optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;- Specified by:
getGetVersionOperationMetadatain interfaceOperationOrBuilder- Returns:
- The getVersionOperationMetadata.
-
setGetVersionOperationMetadata
optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167; -
setGetVersionOperationMetadata
public Operation.Builder setGetVersionOperationMetadata(GetVersionOperationMetadata.Builder builderForValue) optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167; -
mergeGetVersionOperationMetadata
optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167; -
clearGetVersionOperationMetadata
optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167; -
getGetVersionOperationMetadataBuilder
optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167; -
getGetVersionOperationMetadataOrBuilder
optional .google.cloud.compute.v1.GetVersionOperationMetadata get_version_operation_metadata = 173230167;- Specified by:
getGetVersionOperationMetadataOrBuilderin 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
[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
[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
[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
[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
[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
[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
[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
[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 inRFC3339 text format.
optional string insert_time = 433722515;- Specified by:
hasInsertTimein interfaceOperationOrBuilder- Returns:
- Whether the insertTime field is set.
-
getInsertTime
[Output Only] The time that this operation was requested. This value is inRFC3339 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 inRFC3339 text format.
optional string insert_time = 433722515;- Specified by:
getInsertTimeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for insertTime.
-
setInsertTime
[Output Only] The time that this operation was requested. This value is inRFC3339 text format.
optional string insert_time = 433722515;- Parameters:
value- The insertTime to set.- Returns:
- This builder for chaining.
-
clearInsertTime
[Output Only] The time that this operation was requested. This value is inRFC3339 text format.
optional string insert_time = 433722515;- Returns:
- This builder for chaining.
-
setInsertTimeBytes
[Output Only] The time that this operation was requested. This value is inRFC3339 text format.
optional string insert_time = 433722515;- Parameters:
value- The bytes for insertTime to set.- Returns:
- This builder for chaining.
-
hasInstancesBulkInsertOperationMetadata
public boolean hasInstancesBulkInsertOperationMetadata()optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;- Specified by:
hasInstancesBulkInsertOperationMetadatain interfaceOperationOrBuilder- Returns:
- Whether the instancesBulkInsertOperationMetadata field is set.
-
getInstancesBulkInsertOperationMetadata
optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;- Specified by:
getInstancesBulkInsertOperationMetadatain interfaceOperationOrBuilder- Returns:
- The instancesBulkInsertOperationMetadata.
-
setInstancesBulkInsertOperationMetadata
public Operation.Builder setInstancesBulkInsertOperationMetadata(InstancesBulkInsertOperationMetadata value) optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177; -
setInstancesBulkInsertOperationMetadata
public Operation.Builder setInstancesBulkInsertOperationMetadata(InstancesBulkInsertOperationMetadata.Builder builderForValue) optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177; -
mergeInstancesBulkInsertOperationMetadata
public Operation.Builder mergeInstancesBulkInsertOperationMetadata(InstancesBulkInsertOperationMetadata value) optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177; -
clearInstancesBulkInsertOperationMetadata
optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177; -
getInstancesBulkInsertOperationMetadataBuilder
public InstancesBulkInsertOperationMetadata.Builder getInstancesBulkInsertOperationMetadataBuilder()optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177; -
getInstancesBulkInsertOperationMetadataOrBuilder
public InstancesBulkInsertOperationMetadataOrBuilder getInstancesBulkInsertOperationMetadataOrBuilder()optional .google.cloud.compute.v1.InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177;- Specified by:
getInstancesBulkInsertOperationMetadataOrBuilderin interfaceOperationOrBuilder
-
hasKind
public boolean hasKind()Output only. [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
Output only. [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. [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
Output only. [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
Output only. [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [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
[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
[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
[Output Only] Name of the operation.
optional string name = 3373707 [(.google.cloud.operation_field) = NAME];- Returns:
- This builder for chaining.
-
setNameBytes
[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. [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
Output only. [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. [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
Output only. [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
Output only. [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
Output only. [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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
[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.
-
hasSetCommonInstanceMetadataOperationMetadata
public boolean hasSetCommonInstanceMetadataOperationMetadata()Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980;- Specified by:
hasSetCommonInstanceMetadataOperationMetadatain interfaceOperationOrBuilder- Returns:
- Whether the setCommonInstanceMetadataOperationMetadata field is set.
-
getSetCommonInstanceMetadataOperationMetadata
Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980;- Specified by:
getSetCommonInstanceMetadataOperationMetadatain interfaceOperationOrBuilder- Returns:
- The setCommonInstanceMetadataOperationMetadata.
-
setSetCommonInstanceMetadataOperationMetadata
public Operation.Builder setSetCommonInstanceMetadataOperationMetadata(SetCommonInstanceMetadataOperationMetadata value) Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980; -
setSetCommonInstanceMetadataOperationMetadata
public Operation.Builder setSetCommonInstanceMetadataOperationMetadata(SetCommonInstanceMetadataOperationMetadata.Builder builderForValue) Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980; -
mergeSetCommonInstanceMetadataOperationMetadata
public Operation.Builder mergeSetCommonInstanceMetadataOperationMetadata(SetCommonInstanceMetadataOperationMetadata value) Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980; -
clearSetCommonInstanceMetadataOperationMetadata
Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980; -
getSetCommonInstanceMetadataOperationMetadataBuilder
public SetCommonInstanceMetadataOperationMetadata.Builder getSetCommonInstanceMetadataOperationMetadataBuilder()Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980; -
getSetCommonInstanceMetadataOperationMetadataOrBuilder
public SetCommonInstanceMetadataOperationMetadataOrBuilder getSetCommonInstanceMetadataOperationMetadataOrBuilder()Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
optional .google.cloud.compute.v1.SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980;- Specified by:
getSetCommonInstanceMetadataOperationMetadataOrBuilderin interfaceOperationOrBuilder
-
hasStartTime
public boolean hasStartTime()[Output Only] The time that this operation was started by the server. This value is inRFC3339 text format.
optional string start_time = 37467274;- Specified by:
hasStartTimein interfaceOperationOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
[Output Only] The time that this operation was started by the server. This value is inRFC3339 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 inRFC3339 text format.
optional string start_time = 37467274;- Specified by:
getStartTimeBytesin interfaceOperationOrBuilder- Returns:
- The bytes for startTime.
-
setStartTime
[Output Only] The time that this operation was started by the server. This value is inRFC3339 text format.
optional string start_time = 37467274;- Parameters:
value- The startTime to set.- Returns:
- This builder for chaining.
-
clearStartTime
[Output Only] The time that this operation was started by the server. This value is inRFC3339 text format.
optional string start_time = 37467274;- Returns:
- This builder for chaining.
-
setStartTimeBytes
[Output Only] The time that this operation was started by the server. This value is inRFC3339 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
[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
[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
[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
[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
[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
[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
[Output Only] An optional textual description of the current status of the operation.
optional string status_message = 297428154;- Returns:
- This builder for chaining.
-
setStatusMessageBytes
[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
[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
[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 disk that the snapshot was created from.
optional string target_link = 62671336;- Specified by:
hasTargetLinkin interfaceOperationOrBuilder- Returns:
- Whether the targetLink field is set.
-
getTargetLink
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the 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 disk that the snapshot was created from.
optional string target_link = 62671336;- Specified by:
getTargetLinkBytesin interfaceOperationOrBuilder- Returns:
- The bytes for targetLink.
-
setTargetLink
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from.
optional string target_link = 62671336;- Parameters:
value- The targetLink to set.- Returns:
- This builder for chaining.
-
clearTargetLink
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the disk that the snapshot was created from.
optional string target_link = 62671336;- Returns:
- This builder for chaining.
-
setTargetLinkBytes
[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the 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` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
optional string user = 3599307;- Specified by:
hasUserin interfaceOperationOrBuilder- Returns:
- Whether the user field is set.
-
getUser
[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
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` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
optional string user = 3599307;- Specified by:
getUserBytesin interfaceOperationOrBuilder- Returns:
- The bytes for user.
-
setUser
[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
optional string user = 3599307;- Parameters:
value- The user to set.- Returns:
- This builder for chaining.
-
clearUser
[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
optional string user = 3599307;- Returns:
- This builder for chaining.
-
setUserBytes
[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
optional string user = 3599307;- Parameters:
value- The bytes for user to set.- Returns:
- This builder for chaining.
-
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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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.
-