Package com.google.container.v1
Interface OperationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Operation,Operation.Builder
@Generated
public interface OperationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetClusterConditions(int index) Deprecated.intDeprecated.Deprecated.getClusterConditionsOrBuilder(int index) Deprecated.List<? extends StatusConditionOrBuilder>Deprecated.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getError()The error result of the operation in case of failure.The error result of the operation in case of failure.Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.getNodepoolConditions(int index) Deprecated.intDeprecated.Deprecated.getNodepoolConditionsOrBuilder(int index) Deprecated.List<? extends StatusConditionOrBuilder>Deprecated.Output only.intOutput only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Deprecated.google.container.v1.Operation.status_message is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.Operation.status_message is deprecated.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.getZone()Deprecated.google.container.v1.Operation.zone is deprecated.com.google.protobuf.ByteStringDeprecated.google.container.v1.Operation.zone is deprecated.booleanhasError()The error result of the operation in case of failure.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The server-assigned ID for the operation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The server-assigned ID for the operation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getZone
Deprecated.google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=4153Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The zone.
-
getZoneBytes
Deprecated.google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=4153Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
string zone = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for zone.
-
getOperationTypeValue
int getOperationTypeValue()Output only. The operation type.
.google.container.v1.Operation.Type operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
Operation.Type getOperationType()Output only. The operation type.
.google.container.v1.Operation.Type operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The operationType.
-
getStatusValue
int getStatusValue()Output only. The current status of the operation.
.google.container.v1.Operation.Status status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Operation.Status getStatus()Output only. The current status of the operation.
.google.container.v1.Operation.Status status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The status.
-
getDetail
String getDetail()Output only. Detailed operation progress, if available.
string detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The detail.
-
getDetailBytes
com.google.protobuf.ByteString getDetailBytes()Output only. Detailed operation progress, if available.
string detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for detail.
-
getStatusMessage
Deprecated.google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=4167Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The statusMessage.
-
getStatusMessageBytes
Deprecated.google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=4167Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for statusMessage.
-
getSelfLink
String getSelfLink()Output only. Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
string self_link = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
string self_link = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for selfLink.
-
getTargetLink
String getTargetLink()Output only. Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target. Examples: - ## `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
string target_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The targetLink.
-
getTargetLinkBytes
com.google.protobuf.ByteString getTargetLinkBytes()Output only. Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target. Examples: - ## `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
string target_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for targetLink.
-
getLocation
String getLocation()Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
string location = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
string location = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for location.
-
getStartTime
String getStartTime()Output only. The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The startTime.
-
getStartTimeBytes
com.google.protobuf.ByteString getStartTimeBytes()Output only. The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for startTime.
-
getEndTime
String getEndTime()Output only. The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The endTime.
-
getEndTimeBytes
com.google.protobuf.ByteString getEndTimeBytes()Output only. The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for endTime.
-
hasProgress
boolean hasProgress()Output only. Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the progress field is set.
-
getProgress
OperationProgress getProgress()Output only. Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The progress.
-
getProgressOrBuilder
OperationProgressOrBuilder getProgressOrBuilder()Output only. Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getClusterConditionsList
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; -
getClusterConditions
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; -
getClusterConditionsCount
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; -
getClusterConditionsOrBuilderList
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; -
getClusterConditionsOrBuilder
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; -
getNodepoolConditionsList
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; -
getNodepoolConditions
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; -
getNodepoolConditionsCount
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; -
getNodepoolConditionsOrBuilderList
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; -
getNodepoolConditionsOrBuilder
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; -
hasError
boolean hasError()The error result of the operation in case of failure.
.google.rpc.Status error = 15;- Returns:
- Whether the error field is set.
-
getError
Status getError()The error result of the operation in case of failure.
.google.rpc.Status error = 15;- Returns:
- The error.
-
getErrorOrBuilder
StatusOrBuilder getErrorOrBuilder()The error result of the operation in case of failure.
.google.rpc.Status error = 15;
-