public static final class Operation.Builder extends GeneratedMessageV3.Builder<Operation.Builder> 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 | Method and Description |
---|---|
Operation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Operation |
build() |
Operation |
buildPartial() |
Operation.Builder |
clear() |
Operation.Builder |
clearDetail()
Detailed operation progress, if available.
|
Operation.Builder |
clearEndTime()
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation.Builder |
clearField(Descriptors.FieldDescriptor field) |
Operation.Builder |
clearName()
The server-assigned ID for the operation.
|
Operation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Operation.Builder |
clearOperationType()
The operation type.
|
Operation.Builder |
clearSelfLink()
Server-defined URL for the resource.
|
Operation.Builder |
clearStartTime()
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation.Builder |
clearStatus()
The current status of the operation.
|
Operation.Builder |
clearStatusMessage()
If an error has occurred, a textual description of the error.
|
Operation.Builder |
clearTargetLink()
Server-defined URL for the target of the operation.
|
Operation.Builder |
clearZone()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation
is taking place.
|
Operation.Builder |
clone() |
Operation |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
java.lang.String |
getSelfLink()
Server-defined URL for the resource.
|
ByteString |
getSelfLinkBytes()
Server-defined URL for the resource.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Operation.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Operation.Builder |
mergeFrom(Message other) |
Operation.Builder |
mergeFrom(Operation other) |
Operation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Operation.Builder |
setDetail(java.lang.String value)
Detailed operation progress, if available.
|
Operation.Builder |
setDetailBytes(ByteString value)
Detailed operation progress, if available.
|
Operation.Builder |
setEndTime(java.lang.String value)
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation.Builder |
setEndTimeBytes(ByteString value)
[Output only] The time the operation completed, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Operation.Builder |
setName(java.lang.String value)
The server-assigned ID for the operation.
|
Operation.Builder |
setNameBytes(ByteString value)
The server-assigned ID for the operation.
|
Operation.Builder |
setOperationType(Operation.Type value)
The operation type.
|
Operation.Builder |
setOperationTypeValue(int value)
The operation type.
|
Operation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Operation.Builder |
setSelfLink(java.lang.String value)
Server-defined URL for the resource.
|
Operation.Builder |
setSelfLinkBytes(ByteString value)
Server-defined URL for the resource.
|
Operation.Builder |
setStartTime(java.lang.String value)
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation.Builder |
setStartTimeBytes(ByteString value)
[Output only] The time the operation started, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Operation.Builder |
setStatus(Operation.Status value)
The current status of the operation.
|
Operation.Builder |
setStatusMessage(java.lang.String value)
If an error has occurred, a textual description of the error.
|
Operation.Builder |
setStatusMessageBytes(ByteString value)
If an error has occurred, a textual description of the error.
|
Operation.Builder |
setStatusValue(int value)
The current status of the operation.
|
Operation.Builder |
setTargetLink(java.lang.String value)
Server-defined URL for the target of the operation.
|
Operation.Builder |
setTargetLinkBytes(ByteString value)
Server-defined URL for the target of the operation.
|
Operation.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Operation.Builder |
setZone(java.lang.String value)
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation
is taking place.
|
Operation.Builder |
setZoneBytes(ByteString value)
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the operation
is taking place.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Operation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Operation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Operation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Operation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Operation.Builder>
public Operation.Builder mergeFrom(Operation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Operation.Builder>
public Operation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Operation.Builder>
java.io.IOException
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 Operation.Builder setName(java.lang.String value)
The server-assigned ID for the operation.
string name = 1;
public Operation.Builder clearName()
The server-assigned ID for the operation.
string name = 1;
public Operation.Builder setNameBytes(ByteString value)
The server-assigned ID for the operation.
string name = 1;
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 Operation.Builder setZone(java.lang.String value)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
string zone = 2;
public Operation.Builder clearZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
string zone = 2;
public Operation.Builder setZoneBytes(ByteString value)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
string zone = 2;
public int getOperationTypeValue()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
getOperationTypeValue
in interface OperationOrBuilder
public Operation.Builder setOperationTypeValue(int value)
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
public Operation.Type getOperationType()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
getOperationType
in interface OperationOrBuilder
public Operation.Builder setOperationType(Operation.Type value)
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
public Operation.Builder clearOperationType()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
public int getStatusValue()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
getStatusValue
in interface OperationOrBuilder
public Operation.Builder setStatusValue(int value)
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
public Operation.Status getStatus()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
getStatus
in interface OperationOrBuilder
public Operation.Builder setStatus(Operation.Status value)
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
public Operation.Builder clearStatus()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
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 Operation.Builder setDetail(java.lang.String value)
Detailed operation progress, if available.
string detail = 8;
public Operation.Builder clearDetail()
Detailed operation progress, if available.
string detail = 8;
public Operation.Builder setDetailBytes(ByteString value)
Detailed operation progress, if available.
string detail = 8;
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 Operation.Builder setStatusMessage(java.lang.String value)
If an error has occurred, a textual description of the error.
string status_message = 5;
public Operation.Builder clearStatusMessage()
If an error has occurred, a textual description of the error.
string status_message = 5;
public Operation.Builder setStatusMessageBytes(ByteString value)
If an error has occurred, a textual description of the error.
string status_message = 5;
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 Operation.Builder setSelfLink(java.lang.String value)
Server-defined URL for the resource.
string self_link = 6;
public Operation.Builder clearSelfLink()
Server-defined URL for the resource.
string self_link = 6;
public Operation.Builder setSelfLinkBytes(ByteString value)
Server-defined URL for the resource.
string self_link = 6;
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 Operation.Builder setTargetLink(java.lang.String value)
Server-defined URL for the target of the operation.
string target_link = 7;
public Operation.Builder clearTargetLink()
Server-defined URL for the target of the operation.
string target_link = 7;
public Operation.Builder setTargetLinkBytes(ByteString value)
Server-defined URL for the target of the operation.
string target_link = 7;
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 Operation.Builder setStartTime(java.lang.String value)
[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string start_time = 10;
public Operation.Builder clearStartTime()
[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string start_time = 10;
public Operation.Builder setStartTimeBytes(ByteString value)
[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string start_time = 10;
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 Operation.Builder setEndTime(java.lang.String value)
[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string end_time = 11;
public Operation.Builder clearEndTime()
[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string end_time = 11;
public Operation.Builder setEndTimeBytes(ByteString value)
[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
string end_time = 11;
public final Operation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Operation.Builder>
public final Operation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Operation.Builder>