public final class Operation extends GeneratedMessageV3 implements OperationOrBuilder
This operation resource represents operations that may have happened or are
happening on the cluster. All fields are output only.
Protobuf type google.container.v1beta1.Operation
Static Fields
CLUSTER_CONDITIONS_FIELD_NUMBER
public static final int CLUSTER_CONDITIONS_FIELD_NUMBER
Field Value
DETAIL_FIELD_NUMBER
public static final int DETAIL_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NODEPOOL_CONDITIONS_FIELD_NUMBER
public static final int NODEPOOL_CONDITIONS_FIELD_NUMBER
Field Value
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Field Value
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value
TARGET_LINK_FIELD_NUMBER
public static final int TARGET_LINK_FIELD_NUMBER
Field Value
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Operation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Operation.Builder newBuilder()
Returns
newBuilder(Operation prototype)
public static Operation.Builder newBuilder(Operation prototype)
Parameter
Returns
public static Operation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Operation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Operation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Operation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Operation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Operation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Operation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Operation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Operation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Operation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getClusterConditions(int index)
public StatusCondition getClusterConditions(int index)
Which conditions caused the current cluster state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
Parameter
Returns
getClusterConditionsCount()
public int getClusterConditionsCount()
Which conditions caused the current cluster state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
Returns
getClusterConditionsList()
public List<StatusCondition> getClusterConditionsList()
Which conditions caused the current cluster state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
Returns
getClusterConditionsOrBuilder(int index)
public StatusConditionOrBuilder getClusterConditionsOrBuilder(int index)
Which conditions caused the current cluster state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
Parameter
Returns
getClusterConditionsOrBuilderList()
public List<? extends StatusConditionOrBuilder> getClusterConditionsOrBuilderList()
Which conditions caused the current cluster state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true];
Returns
Type | Description |
List<? extends com.google.container.v1beta1.StatusConditionOrBuilder> | |
getDefaultInstanceForType()
public Operation getDefaultInstanceForType()
Returns
getDetail()
public String getDetail()
Detailed operation progress, if available.
string detail = 8;
Returns
Type | Description |
String | The detail.
|
getDetailBytes()
public ByteString getDetailBytes()
Detailed operation progress, if available.
string detail = 8;
Returns
getEndTime()
public String getEndTime()
[Output only] The time the operation completed, in
RFC3339 text format.
string end_time = 11;
Returns
Type | Description |
String | The endTime.
|
getEndTimeBytes()
public ByteString getEndTimeBytes()
[Output only] The time the operation completed, in
RFC3339 text format.
string end_time = 11;
Returns
getError()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Returns
Type | Description |
com.google.rpc.Status | The error.
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
getLocation()
public String getLocation()
[Output only] The name of the Google Compute Engine
zone
or
region
in which the cluster resides.
string location = 9;
Returns
Type | Description |
String | The location.
|
getLocationBytes()
public ByteString getLocationBytes()
[Output only] The name of the Google Compute Engine
zone
or
region
in which the cluster resides.
string location = 9;
Returns
getName()
The server-assigned ID for the operation.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The server-assigned ID for the operation.
string name = 1;
Returns
getNodepoolConditions(int index)
public StatusCondition getNodepoolConditions(int index)
Which conditions caused the current node pool state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Parameter
Returns
getNodepoolConditionsCount()
public int getNodepoolConditionsCount()
Which conditions caused the current node pool state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Returns
getNodepoolConditionsList()
public List<StatusCondition> getNodepoolConditionsList()
Which conditions caused the current node pool state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Returns
getNodepoolConditionsOrBuilder(int index)
public StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index)
Which conditions caused the current node pool state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Parameter
Returns
getNodepoolConditionsOrBuilderList()
public List<? extends StatusConditionOrBuilder> getNodepoolConditionsOrBuilderList()
Which conditions caused the current node pool state.
Deprecated. Use field error instead.
repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Returns
Type | Description |
List<? extends com.google.container.v1beta1.StatusConditionOrBuilder> | |
getOperationType()
public Operation.Type getOperationType()
The operation type.
.google.container.v1beta1.Operation.Type operation_type = 3;
Returns
getOperationTypeValue()
public int getOperationTypeValue()
The operation type.
.google.container.v1beta1.Operation.Type operation_type = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for operationType.
|
getParserForType()
public Parser<Operation> getParserForType()
Returns
Overrides
getProgress()
public OperationProgress getProgress()
Output only. [Output only] Progress information for an operation.
.google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getProgressOrBuilder()
public OperationProgressOrBuilder getProgressOrBuilder()
Output only. [Output only] Progress information for an operation.
.google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getSelfLink()
public String getSelfLink()
Server-defined URL for the resource.
string self_link = 6;
Returns
Type | Description |
String | The selfLink.
|
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
Server-defined URL for the resource.
string self_link = 6;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public String getStartTime()
[Output only] The time the operation started, in
RFC3339 text format.
string start_time = 10;
Returns
Type | Description |
String | The startTime.
|
getStartTimeBytes()
public ByteString getStartTimeBytes()
[Output only] The time the operation started, in
RFC3339 text format.
string start_time = 10;
Returns
getStatus()
public Operation.Status getStatus()
The current status of the operation.
.google.container.v1beta1.Operation.Status status = 4;
Returns
getStatusMessage() (deprecated)
public String getStatusMessage()
Deprecated. google.container.v1beta1.Operation.status_message is deprecated. See
google/container/v1beta1/cluster_service.proto;l=2231
Output 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
Type | Description |
String | The statusMessage.
|
getStatusMessageBytes() (deprecated)
public ByteString getStatusMessageBytes()
Deprecated. google.container.v1beta1.Operation.status_message is deprecated. See
google/container/v1beta1/cluster_service.proto;l=2231
Output 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
Type | Description |
ByteString | The bytes for statusMessage.
|
getStatusValue()
public int getStatusValue()
The current status of the operation.
.google.container.v1beta1.Operation.Status status = 4;
Returns
Type | Description |
int | The enum numeric value on the wire for status.
|
getTargetLink()
public String getTargetLink()
Server-defined URL for the target of the operation.
string target_link = 7;
Returns
Type | Description |
String | The targetLink.
|
getTargetLinkBytes()
public ByteString getTargetLinkBytes()
Server-defined URL for the target of the operation.
string target_link = 7;
Returns
Type | Description |
ByteString | The bytes for targetLink.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getZone() (deprecated)
Deprecated. google.container.v1beta1.Operation.zone is deprecated. See
google/container/v1beta1/cluster_service.proto;l=2218
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
Type | Description |
String | The zone.
|
getZoneBytes() (deprecated)
public ByteString getZoneBytes()
Deprecated. google.container.v1beta1.Operation.zone is deprecated. See
google/container/v1beta1/cluster_service.proto;l=2218
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
hasError()
public boolean hasError()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Returns
Type | Description |
boolean | Whether the error field is set.
|
hasProgress()
public boolean hasProgress()
Output only. [Output only] Progress information for an operation.
.google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the progress field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Operation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Operation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Operation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions