Package com.google.container.v1beta1
Interface OperationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Operation
,Operation.Builder
public interface OperationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StatusCondition
getClusterConditions(int index)
Deprecated.int
getClusterConditionsCount()
Deprecated.List<StatusCondition>
getClusterConditionsList()
Deprecated.StatusConditionOrBuilder
getClusterConditionsOrBuilder(int index)
Deprecated.List<? extends StatusConditionOrBuilder>
getClusterConditionsOrBuilderList()
Deprecated.String
getDetail()
Detailed operation progress, if available.com.google.protobuf.ByteString
getDetailBytes()
Detailed operation progress, if available.String
getEndTime()
[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.com.google.protobuf.ByteString
getEndTimeBytes()
[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.com.google.rpc.Status
getError()
The error result of the operation in case of failure.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
The error result of the operation in case of failure.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.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
getName()
The server-assigned ID for the operation.com.google.protobuf.ByteString
getNameBytes()
The server-assigned ID for the operation.StatusCondition
getNodepoolConditions(int index)
Deprecated.int
getNodepoolConditionsCount()
Deprecated.List<StatusCondition>
getNodepoolConditionsList()
Deprecated.StatusConditionOrBuilder
getNodepoolConditionsOrBuilder(int index)
Deprecated.List<? extends StatusConditionOrBuilder>
getNodepoolConditionsOrBuilderList()
Deprecated.Operation.Type
getOperationType()
The operation type.int
getOperationTypeValue()
The operation type.OperationProgress
getProgress()
Output only.OperationProgressOrBuilder
getProgressOrBuilder()
Output only.String
getSelfLink()
Server-defined URI for the operation.com.google.protobuf.ByteString
getSelfLinkBytes()
Server-defined URI for the operation.String
getStartTime()
[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.com.google.protobuf.ByteString
getStartTimeBytes()
[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.Operation.Status
getStatus()
The current status of the operation.String
getStatusMessage()
Deprecated.google.container.v1beta1.Operation.status_message is deprecated.com.google.protobuf.ByteString
getStatusMessageBytes()
Deprecated.google.container.v1beta1.Operation.status_message is deprecated.int
getStatusValue()
The current status of the operation.String
getTargetLink()
Server-defined URI for the target of the operation.com.google.protobuf.ByteString
getTargetLinkBytes()
Server-defined URI for the target of the operation.String
getZone()
Deprecated.google.container.v1beta1.Operation.zone is deprecated.com.google.protobuf.ByteString
getZoneBytes()
Deprecated.google.container.v1beta1.Operation.zone is deprecated.boolean
hasError()
The error result of the operation in case of failure.boolean
hasProgress()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The server-assigned ID for the operation.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The server-assigned ID for the operation.
string name = 1;
- Returns:
- The bytes for name.
-
getZone
@Deprecated String getZone()
Deprecated.google.container.v1beta1.Operation.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2735The 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];
- Returns:
- The zone.
-
getZoneBytes
@Deprecated com.google.protobuf.ByteString getZoneBytes()
Deprecated.google.container.v1beta1.Operation.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=2735The 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];
- Returns:
- The bytes for zone.
-
getOperationTypeValue
int getOperationTypeValue()
The operation type.
.google.container.v1beta1.Operation.Type operation_type = 3;
- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
Operation.Type getOperationType()
The operation type.
.google.container.v1beta1.Operation.Type operation_type = 3;
- Returns:
- The operationType.
-
getStatusValue
int getStatusValue()
The current status of the operation.
.google.container.v1beta1.Operation.Status status = 4;
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Operation.Status getStatus()
The current status of the operation.
.google.container.v1beta1.Operation.Status status = 4;
- Returns:
- The status.
-
getDetail
String getDetail()
Detailed operation progress, if available.
string detail = 8;
- Returns:
- The detail.
-
getDetailBytes
com.google.protobuf.ByteString getDetailBytes()
Detailed operation progress, if available.
string detail = 8;
- Returns:
- The bytes for detail.
-
getStatusMessage
@Deprecated String getStatusMessage()
Deprecated.google.container.v1beta1.Operation.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=2748Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The statusMessage.
-
getStatusMessageBytes
@Deprecated com.google.protobuf.ByteString getStatusMessageBytes()
Deprecated.google.container.v1beta1.Operation.status_message is deprecated. See google/container/v1beta1/cluster_service.proto;l=2748Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for statusMessage.
-
getSelfLink
String getSelfLink()
Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
string self_link = 6;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
string self_link = 6;
- Returns:
- The bytes for selfLink.
-
getTargetLink
String getTargetLink()
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;
- Returns:
- The targetLink.
-
getTargetLinkBytes
com.google.protobuf.ByteString getTargetLinkBytes()
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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- Returns:
- The bytes for endTime.
-
hasProgress
boolean hasProgress()
Output only. [Output only] Progress information for an operation.
.google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the progress field is set.
-
getProgress
OperationProgress getProgress()
Output only. [Output only] Progress information for an operation.
.google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The progress.
-
getProgressOrBuilder
OperationProgressOrBuilder getProgressOrBuilder()
Output only. [Output only] Progress information for an operation.
.google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getClusterConditionsList
@Deprecated List<StatusCondition> getClusterConditionsList()
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
-
getClusterConditions
@Deprecated StatusCondition getClusterConditions(int index)
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
-
getClusterConditionsCount
@Deprecated int getClusterConditionsCount()
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
-
getClusterConditionsOrBuilderList
@Deprecated List<? extends StatusConditionOrBuilder> getClusterConditionsOrBuilderList()
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
-
getClusterConditionsOrBuilder
@Deprecated StatusConditionOrBuilder getClusterConditionsOrBuilder(int index)
Deprecated.Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
-
getNodepoolConditionsList
@Deprecated List<StatusCondition> getNodepoolConditionsList()
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
-
getNodepoolConditions
@Deprecated StatusCondition getNodepoolConditions(int index)
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
-
getNodepoolConditionsCount
@Deprecated int getNodepoolConditionsCount()
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
-
getNodepoolConditionsOrBuilderList
@Deprecated List<? extends StatusConditionOrBuilder> getNodepoolConditionsOrBuilderList()
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
-
getNodepoolConditionsOrBuilder
@Deprecated StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index)
Deprecated.Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1beta1.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
com.google.rpc.Status getError()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
- Returns:
- The error.
-
getErrorOrBuilder
com.google.rpc.StatusOrBuilder getErrorOrBuilder()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
-
-