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| Modifier and Type | Class and Description |
|---|---|
static class |
Operation.Builder
This operation resource represents operations that may have happened or are
happening on the cluster.
|
static class |
Operation.Status
Current status of the operation.
|
static class |
Operation.Type
Operation type.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DETAIL_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OPERATION_TYPE_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
STATUS_MESSAGE_FIELD_NUMBER |
static int |
TARGET_LINK_FIELD_NUMBER |
static int |
ZONE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Operation |
getDefaultInstance() |
Operation |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDetail()
Detailed operation progress, if available.
|
ByteString |
getDetailBytes()
Detailed operation progress, if available.
|
java.lang.String |
getEndTime()
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
ByteString |
getEndTimeBytes()
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
java.lang.String |
getName()
The server-assigned ID for the operation.
|
ByteString |
getNameBytes()
The server-assigned ID for the operation.
|
Operation.Type |
getOperationType()
The operation type.
|
int |
getOperationTypeValue()
The operation type.
|
Parser<Operation> |
getParserForType() |
java.lang.String |
getSelfLink()
Server-defined URL for the resource.
|
ByteString |
getSelfLinkBytes()
Server-defined URL for the resource.
|
int |
getSerializedSize() |
java.lang.String |
getStartTime()
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
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.
|
java.lang.String |
getStatusMessage()
If an error has occurred, a textual description of the error.
|
ByteString |
getStatusMessageBytes()
If an error has occurred, a textual description of the error.
|
int |
getStatusValue()
The current status of the operation.
|
java.lang.String |
getTargetLink()
Server-defined URL for the target of the operation.
|
ByteString |
getTargetLinkBytes()
Server-defined URL for the target of the operation.
|
UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getZone()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation
is taking place.
|
ByteString |
getZoneBytes()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation
is taking place.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Operation.Builder |
newBuilder() |
static Operation.Builder |
newBuilder(Operation prototype) |
Operation.Builder |
newBuilderForType() |
protected Operation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Operation |
parseDelimitedFrom(java.io.InputStream input) |
static Operation |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(byte[] data) |
static Operation |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(java.nio.ByteBuffer data) |
static Operation |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(ByteString data) |
static Operation |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(CodedInputStream input) |
static Operation |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Operation |
parseFrom(java.io.InputStream input) |
static Operation |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Operation> |
parser() |
Operation.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int DETAIL_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int TARGET_LINK_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
The server-assigned ID for the operation.
string name = 1;getName in interface OperationOrBuilderpublic ByteString getNameBytes()
The server-assigned ID for the operation.
string name = 1;getNameBytes in interface OperationOrBuilderpublic java.lang.String getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
string zone = 2;getZone in interface OperationOrBuilderpublic ByteString getZoneBytes()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
string zone = 2;getZoneBytes in interface OperationOrBuilderpublic int getOperationTypeValue()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;getOperationTypeValue in interface OperationOrBuilderpublic Operation.Type getOperationType()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;getOperationType in interface OperationOrBuilderpublic int getStatusValue()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;getStatusValue in interface OperationOrBuilderpublic Operation.Status getStatus()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;getStatus in interface OperationOrBuilderpublic java.lang.String getDetail()
Detailed operation progress, if available.
string detail = 8;getDetail in interface OperationOrBuilderpublic ByteString getDetailBytes()
Detailed operation progress, if available.
string detail = 8;getDetailBytes in interface OperationOrBuilderpublic java.lang.String getStatusMessage()
If an error has occurred, a textual description of the error.
string status_message = 5;getStatusMessage in interface OperationOrBuilderpublic ByteString getStatusMessageBytes()
If an error has occurred, a textual description of the error.
string status_message = 5;getStatusMessageBytes in interface OperationOrBuilderpublic java.lang.String getSelfLink()
Server-defined URL for the resource.
string self_link = 6;getSelfLink in interface OperationOrBuilderpublic ByteString getSelfLinkBytes()
Server-defined URL for the resource.
string self_link = 6;getSelfLinkBytes in interface OperationOrBuilderpublic java.lang.String getTargetLink()
Server-defined URL for the target of the operation.
string target_link = 7;getTargetLink in interface OperationOrBuilderpublic ByteString getTargetLinkBytes()
Server-defined URL for the target of the operation.
string target_link = 7;getTargetLinkBytes in interface OperationOrBuilderpublic java.lang.String getStartTime()
[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string start_time = 10;getStartTime in interface OperationOrBuilderpublic ByteString getStartTimeBytes()
[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string start_time = 10;getStartTimeBytes in interface OperationOrBuilderpublic java.lang.String getEndTime()
[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string end_time = 11;getEndTime in interface OperationOrBuilderpublic ByteString getEndTimeBytes()
[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string end_time = 11;getEndTimeBytes in interface OperationOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Operation parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Operation parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Operation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Operation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Operation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Operation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Operation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Operation parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Operation parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Operation parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Operation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Operation.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Operation.Builder newBuilder()
public static Operation.Builder newBuilder(Operation prototype)
public Operation.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Operation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Operation getDefaultInstance()
public Parser<Operation> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Operation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder