Interface OperationOrBuilder (2.31.0)

public interface OperationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterConditions(int index)

public abstract StatusCondition getClusterConditions(int index)

Which conditions caused the current cluster state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
StatusCondition

getClusterConditionsCount()

public abstract int getClusterConditionsCount()

Which conditions caused the current cluster state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];

Returns
TypeDescription
int

getClusterConditionsList()

public abstract List<StatusCondition> getClusterConditionsList()

Which conditions caused the current cluster state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];

Returns
TypeDescription
List<StatusCondition>

getClusterConditionsOrBuilder(int index)

public abstract StatusConditionOrBuilder getClusterConditionsOrBuilder(int index)

Which conditions caused the current cluster state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
StatusConditionOrBuilder

getClusterConditionsOrBuilderList()

public abstract List<? extends StatusConditionOrBuilder> getClusterConditionsOrBuilderList()

Which conditions caused the current cluster state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];

Returns
TypeDescription
List<? extends com.google.container.v1.StatusConditionOrBuilder>

getDetail()

public abstract String getDetail()

Detailed operation progress, if available.

string detail = 8;

Returns
TypeDescription
String

The detail.

getDetailBytes()

public abstract ByteString getDetailBytes()

Detailed operation progress, if available.

string detail = 8;

Returns
TypeDescription
ByteString

The bytes for detail.

getEndTime()

public abstract String getEndTime()

[Output only] The time the operation completed, in RFC3339 text format.

string end_time = 11;

Returns
TypeDescription
String

The endTime.

getEndTimeBytes()

public abstract ByteString getEndTimeBytes()

[Output only] The time the operation completed, in RFC3339 text format.

string end_time = 11;

Returns
TypeDescription
ByteString

The bytes for endTime.

getError()

public abstract Status getError()

The error result of the operation in case of failure.

.google.rpc.Status error = 15;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

The error result of the operation in case of failure.

.google.rpc.Status error = 15;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getLocation()

public abstract String getLocation()

[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.

string location = 9;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.

string location = 9;

Returns
TypeDescription
ByteString

The bytes for location.

getName()

public abstract String getName()

The server-assigned ID for the operation.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The server-assigned ID for the operation.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNodepoolConditions(int index)

public abstract StatusCondition getNodepoolConditions(int index)

Which conditions caused the current node pool state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
StatusCondition

getNodepoolConditionsCount()

public abstract int getNodepoolConditionsCount()

Which conditions caused the current node pool state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];

Returns
TypeDescription
int

getNodepoolConditionsList()

public abstract List<StatusCondition> getNodepoolConditionsList()

Which conditions caused the current node pool state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];

Returns
TypeDescription
List<StatusCondition>

getNodepoolConditionsOrBuilder(int index)

public abstract StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index)

Which conditions caused the current node pool state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];

Parameter
NameDescription
indexint
Returns
TypeDescription
StatusConditionOrBuilder

getNodepoolConditionsOrBuilderList()

public abstract List<? extends StatusConditionOrBuilder> getNodepoolConditionsOrBuilderList()

Which conditions caused the current node pool state. Deprecated. Use field error instead.

repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];

Returns
TypeDescription
List<? extends com.google.container.v1.StatusConditionOrBuilder>

getOperationType()

public abstract Operation.Type getOperationType()

The operation type.

.google.container.v1.Operation.Type operation_type = 3;

Returns
TypeDescription
Operation.Type

The operationType.

getOperationTypeValue()

public abstract int getOperationTypeValue()

The operation type.

.google.container.v1.Operation.Type operation_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for operationType.

getProgress()

public abstract OperationProgress getProgress()

Output only. [Output only] Progress information for an operation.

.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
OperationProgress

The progress.

getProgressOrBuilder()

public abstract OperationProgressOrBuilder getProgressOrBuilder()

Output only. [Output only] Progress information for an operation.

.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
OperationProgressOrBuilder
public abstract 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
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract 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
TypeDescription
ByteString

The bytes for selfLink.

getStartTime()

public abstract String getStartTime()

[Output only] The time the operation started, in RFC3339 text format.

string start_time = 10;

Returns
TypeDescription
String

The startTime.

getStartTimeBytes()

public abstract ByteString getStartTimeBytes()

[Output only] The time the operation started, in RFC3339 text format.

string start_time = 10;

Returns
TypeDescription
ByteString

The bytes for startTime.

getStatus()

public abstract Operation.Status getStatus()

The current status of the operation.

.google.container.v1.Operation.Status status = 4;

Returns
TypeDescription
Operation.Status

The status.

getStatusMessage() (deprecated)

public abstract String getStatusMessage()

Deprecated. google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2438

Output 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
TypeDescription
String

The statusMessage.

getStatusMessageBytes() (deprecated)

public abstract ByteString getStatusMessageBytes()

Deprecated. google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2438

Output 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
TypeDescription
ByteString

The bytes for statusMessage.

getStatusValue()

public abstract int getStatusValue()

The current status of the operation.

.google.container.v1.Operation.Status status = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for status.

public abstract 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
TypeDescription
String

The targetLink.

getTargetLinkBytes()

public abstract 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
TypeDescription
ByteString

The bytes for targetLink.

getZone() (deprecated)

public abstract String getZone()

Deprecated. google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2425

The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.

string zone = 2 [deprecated = true];

Returns
TypeDescription
String

The zone.

getZoneBytes() (deprecated)

public abstract ByteString getZoneBytes()

Deprecated. google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2425

The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.

string zone = 2 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for zone.

hasError()

public abstract boolean hasError()

The error result of the operation in case of failure.

.google.rpc.Status error = 15;

Returns
TypeDescription
boolean

Whether the error field is set.

hasProgress()

public abstract boolean hasProgress()

Output only. [Output only] Progress information for an operation.

.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the progress field is set.