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.v1.Operation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLUSTER_CONDITIONS_FIELD_NUMBER
public static final int CLUSTER_CONDITIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DETAIL_FIELD_NUMBER
public static final int DETAIL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NODEPOOL_CONDITIONS_FIELD_NUMBER
public static final int NODEPOOL_CONDITIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_LINK_FIELD_NUMBER
public static final int TARGET_LINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Operation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Operation.Builder newBuilder()
newBuilder(Operation prototype)
public static Operation.Builder newBuilder(Operation prototype)
Parameter |
Name |
Description |
prototype |
Operation
|
public static Operation parseDelimitedFrom(InputStream input)
public static Operation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Operation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Operation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(CodedInputStream input)
public static Operation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(InputStream input)
public static Operation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Operation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Operation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Operation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getClusterConditions(int index) (deprecated)
public 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 |
Name |
Description |
index |
int
|
getClusterConditionsCount() (deprecated)
public 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 |
Type |
Description |
int |
|
getClusterConditionsList() (deprecated)
public 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];
getClusterConditionsOrBuilder(int index) (deprecated)
public 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 |
Name |
Description |
index |
int
|
getClusterConditionsOrBuilderList() (deprecated)
public 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 |
Type |
Description |
List<? extends com.google.container.v1.StatusConditionOrBuilder> |
|
getDefaultInstanceForType()
public Operation getDefaultInstanceForType()
getDetail()
public String getDetail()
Output only. Detailed operation progress, if available.
string detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The detail.
|
getDetailBytes()
public ByteString getDetailBytes()
Output only. Detailed operation progress, if available.
string detail = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for detail.
|
getEndTime()
public String getEndTime()
Output only. The time the operation completed, in
RFC3339 text format.
string end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for endTime.
|
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for location.
|
getName()
Output only. The server-assigned ID for the operation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The server-assigned ID for the operation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNodepoolConditions(int index) (deprecated)
public 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 |
Name |
Description |
index |
int
|
getNodepoolConditionsCount() (deprecated)
public 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 |
Type |
Description |
int |
|
getNodepoolConditionsList() (deprecated)
public 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];
getNodepoolConditionsOrBuilder(int index) (deprecated)
public 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 |
Name |
Description |
index |
int
|
getNodepoolConditionsOrBuilderList() (deprecated)
public 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 |
Type |
Description |
List<? extends com.google.container.v1.StatusConditionOrBuilder> |
|
getOperationType()
public Operation.Type getOperationType()
Output only. The operation type.
.google.container.v1.Operation.Type operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationTypeValue()
public int getOperationTypeValue()
Output only. The operation type.
.google.container.v1.Operation.Type operation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for operationType.
|
getParserForType()
public Parser<Operation> getParserForType()
Overrides
getProgress()
public OperationProgress getProgress()
Output only. Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getProgressOrBuilder()
public OperationProgressOrBuilder getProgressOrBuilder()
Output only. Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSelfLink()
public String getSelfLink()
Returns |
Type |
Description |
String |
The selfLink.
|
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
Returns |
Type |
Description |
ByteString |
The bytes for selfLink.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStartTime()
public String getStartTime()
Output only. The time the operation started, in
RFC3339 text format.
string start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for startTime.
|
getStatus()
public Operation.Status getStatus()
Output only. The current status of the operation.
.google.container.v1.Operation.Status status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusMessage() (deprecated)
public String getStatusMessage()
Deprecated. google.container.v1.Operation.status_message is deprecated. See
google/container/v1/cluster_service.proto;l=2898
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 |
Type |
Description |
String |
The statusMessage.
|
getStatusMessageBytes() (deprecated)
public ByteString getStatusMessageBytes()
Deprecated. google.container.v1.Operation.status_message is deprecated. See
google/container/v1/cluster_service.proto;l=2898
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 |
Type |
Description |
ByteString |
The bytes for statusMessage.
|
getStatusValue()
public int getStatusValue()
Output only. The current status of the operation.
.google.container.v1.Operation.Status status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for status.
|
getTargetLink()
public String getTargetLink()
Returns |
Type |
Description |
String |
The targetLink.
|
getTargetLinkBytes()
public ByteString getTargetLinkBytes()
Returns |
Type |
Description |
ByteString |
The bytes for targetLink.
|
getZone() (deprecated)
Deprecated. google.container.v1.Operation.zone is deprecated. See
google/container/v1/cluster_service.proto;l=2884
Output only. 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, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The zone.
|
getZoneBytes() (deprecated)
public ByteString getZoneBytes()
Deprecated. google.container.v1.Operation.zone is deprecated. See
google/container/v1/cluster_service.proto;l=2884
Output only. 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, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for zone.
|
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. Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the progress field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Operation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Operation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Operation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides