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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.lang.String getName()
The server-assigned ID for the operation.
string name = 1;
getName
in interface OperationOrBuilder
public ByteString getNameBytes()
The server-assigned ID for the operation.
string name = 1;
getNameBytes
in interface OperationOrBuilder
public 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 OperationOrBuilder
public 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 OperationOrBuilder
public int getOperationTypeValue()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
getOperationTypeValue
in interface OperationOrBuilder
public Operation.Type getOperationType()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
getOperationType
in interface OperationOrBuilder
public int getStatusValue()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
getStatusValue
in interface OperationOrBuilder
public Operation.Status getStatus()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
getStatus
in interface OperationOrBuilder
public java.lang.String getDetail()
Detailed operation progress, if available.
string detail = 8;
getDetail
in interface OperationOrBuilder
public ByteString getDetailBytes()
Detailed operation progress, if available.
string detail = 8;
getDetailBytes
in interface OperationOrBuilder
public java.lang.String getStatusMessage()
If an error has occurred, a textual description of the error.
string status_message = 5;
getStatusMessage
in interface OperationOrBuilder
public ByteString getStatusMessageBytes()
If an error has occurred, a textual description of the error.
string status_message = 5;
getStatusMessageBytes
in interface OperationOrBuilder
public java.lang.String getSelfLink()
Server-defined URL for the resource.
string self_link = 6;
getSelfLink
in interface OperationOrBuilder
public ByteString getSelfLinkBytes()
Server-defined URL for the resource.
string self_link = 6;
getSelfLinkBytes
in interface OperationOrBuilder
public java.lang.String getTargetLink()
Server-defined URL for the target of the operation.
string target_link = 7;
getTargetLink
in interface OperationOrBuilder
public ByteString getTargetLinkBytes()
Server-defined URL for the target of the operation.
string target_link = 7;
getTargetLinkBytes
in interface OperationOrBuilder
public 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 OperationOrBuilder
public 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 OperationOrBuilder
public 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 OperationOrBuilder
public 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 OperationOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Operation parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Operation parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Operation parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Operation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Operation parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Operation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Operation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Operation parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Operation parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Operation parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Operation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Operation.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Operation.Builder newBuilder()
public static Operation.Builder newBuilder(Operation prototype)
public Operation.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Operation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Operation getDefaultInstance()
public Parser<Operation> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Operation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder