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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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)
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)
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
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 |
---|
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;
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 |
---|
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;
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 |
---|
Type | Description |
ByteString | The bytes for location.
|
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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;
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()
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];
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];
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;
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 |
---|
Type | Description |
ByteString | The bytes for startTime.
|
getStatus()
public Operation.Status getStatus()
The current status of the operation.
.google.container.v1beta1.Operation.Status status = 4;
getStatusMessage() (deprecated)
public String getStatusMessage()
Deprecated. google.container.v1beta1.Operation.status_message is deprecated. See
google/container/v1beta1/cluster_service.proto;l=2626
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=2626
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()
Returns |
---|
Type | Description |
String | The targetLink.
|
getTargetLinkBytes()
public ByteString getTargetLinkBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for targetLink.
|
getZone() (deprecated)
Deprecated. google.container.v1beta1.Operation.zone is deprecated. See
google/container/v1beta1/cluster_service.proto;l=2613
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=2613
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 |
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. [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 |
---|
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)
Overrides
toBuilder()
public Operation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides