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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Operation.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Operation.Builder>public Operation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Operation build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Operation buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Operation.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Operation.Builder>public Operation.Builder mergeFrom(Operation other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Operation.Builder>public Operation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Operation.Builder>java.io.IOExceptionpublic 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 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 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 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 OperationOrBuilderpublic 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 OperationOrBuilderpublic 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 OperationOrBuilderpublic 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 OperationOrBuilderpublic 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 OperationOrBuilderpublic ByteString getDetailBytes()
Detailed operation progress, if available.
string detail = 8;getDetailBytes in interface OperationOrBuilderpublic 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 OperationOrBuilderpublic ByteString getStatusMessageBytes()
If an error has occurred, a textual description of the error.
string status_message = 5;getStatusMessageBytes in interface OperationOrBuilderpublic 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 OperationOrBuilderpublic ByteString getSelfLinkBytes()
Server-defined URL for the resource.
string self_link = 6;getSelfLinkBytes in interface OperationOrBuilderpublic 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 OperationOrBuilderpublic ByteString getTargetLinkBytes()
Server-defined URL for the target of the operation.
string target_link = 7;getTargetLinkBytes in interface OperationOrBuilderpublic 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 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 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 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 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.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Operation.Builder>public final Operation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Operation.Builder>