- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Operation.BuilderImplements
OperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllClusterConditions(Iterable<? extends StatusCondition> values)
public Operation.Builder addAllClusterConditions(Iterable<? extends StatusCondition> values)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
values | Iterable<? extends com.google.container.v1.StatusCondition> |
Type | Description |
Operation.Builder |
addAllNodepoolConditions(Iterable<? extends StatusCondition> values)
public Operation.Builder addAllNodepoolConditions(Iterable<? extends StatusCondition> values)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
values | Iterable<? extends com.google.container.v1.StatusCondition> |
Type | Description |
Operation.Builder |
addClusterConditions(StatusCondition value)
public Operation.Builder addClusterConditions(StatusCondition value)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
value | StatusCondition |
Type | Description |
Operation.Builder |
addClusterConditions(StatusCondition.Builder builderForValue)
public Operation.Builder addClusterConditions(StatusCondition.Builder builderForValue)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
builderForValue | StatusCondition.Builder |
Type | Description |
Operation.Builder |
addClusterConditions(int index, StatusCondition value)
public Operation.Builder addClusterConditions(int index, StatusCondition value)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
value | StatusCondition |
Type | Description |
Operation.Builder |
addClusterConditions(int index, StatusCondition.Builder builderForValue)
public Operation.Builder addClusterConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Type | Description |
Operation.Builder |
addClusterConditionsBuilder()
public StatusCondition.Builder addClusterConditionsBuilder()
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Type | Description |
StatusCondition.Builder |
addClusterConditionsBuilder(int index)
public StatusCondition.Builder addClusterConditionsBuilder(int index)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusCondition.Builder |
addNodepoolConditions(StatusCondition value)
public Operation.Builder addNodepoolConditions(StatusCondition value)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
value | StatusCondition |
Type | Description |
Operation.Builder |
addNodepoolConditions(StatusCondition.Builder builderForValue)
public Operation.Builder addNodepoolConditions(StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
builderForValue | StatusCondition.Builder |
Type | Description |
Operation.Builder |
addNodepoolConditions(int index, StatusCondition value)
public Operation.Builder addNodepoolConditions(int index, StatusCondition value)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
value | StatusCondition |
Type | Description |
Operation.Builder |
addNodepoolConditions(int index, StatusCondition.Builder builderForValue)
public Operation.Builder addNodepoolConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Type | Description |
Operation.Builder |
addNodepoolConditionsBuilder()
public StatusCondition.Builder addNodepoolConditionsBuilder()
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Type | Description |
StatusCondition.Builder |
addNodepoolConditionsBuilder(int index)
public StatusCondition.Builder addNodepoolConditionsBuilder(int index)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusCondition.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Operation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Operation.Builder |
build()
public Operation build()
Type | Description |
Operation |
buildPartial()
public Operation buildPartial()
Type | Description |
Operation |
clear()
public Operation.Builder clear()
Type | Description |
Operation.Builder |
clearClusterConditions()
public Operation.Builder clearClusterConditions()
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Type | Description |
Operation.Builder |
clearDetail()
public Operation.Builder clearDetail()
Detailed operation progress, if available.
string detail = 8;
Type | Description |
Operation.Builder | This builder for chaining. |
clearEndTime()
public Operation.Builder clearEndTime()
[Output only] The time the operation completed, in RFC3339 text format.
string end_time = 11;
Type | Description |
Operation.Builder | This builder for chaining. |
clearError()
public Operation.Builder clearError()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Type | Description |
Operation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Operation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Operation.Builder |
clearLocation()
public Operation.Builder clearLocation()
[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.
string location = 9;
Type | Description |
Operation.Builder | This builder for chaining. |
clearName()
public Operation.Builder clearName()
The server-assigned ID for the operation.
string name = 1;
Type | Description |
Operation.Builder | This builder for chaining. |
clearNodepoolConditions()
public Operation.Builder clearNodepoolConditions()
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Type | Description |
Operation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Operation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Operation.Builder |
clearOperationType()
public Operation.Builder clearOperationType()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
Type | Description |
Operation.Builder | This builder for chaining. |
clearProgress()
public Operation.Builder clearProgress()
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Operation.Builder |
clearSelfLink()
public Operation.Builder clearSelfLink()
Server-defined URL for the resource.
string self_link = 6;
Type | Description |
Operation.Builder | This builder for chaining. |
clearStartTime()
public Operation.Builder clearStartTime()
[Output only] The time the operation started, in RFC3339 text format.
string start_time = 10;
Type | Description |
Operation.Builder | This builder for chaining. |
clearStatus()
public Operation.Builder clearStatus()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
Type | Description |
Operation.Builder | This builder for chaining. |
clearStatusMessage()
public Operation.Builder clearStatusMessage()
Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Operation.Builder | This builder for chaining. |
clearTargetLink()
public Operation.Builder clearTargetLink()
Server-defined URL for the target of the operation.
string target_link = 7;
Type | Description |
Operation.Builder | This builder for chaining. |
clearZone()
public Operation.Builder clearZone()
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];
Type | Description |
Operation.Builder | This builder for chaining. |
clone()
public Operation.Builder clone()
Type | Description |
Operation.Builder |
getClusterConditions(int index)
public StatusCondition getClusterConditions(int index)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusCondition |
getClusterConditionsBuilder(int index)
public StatusCondition.Builder getClusterConditionsBuilder(int index)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusCondition.Builder |
getClusterConditionsBuilderList()
public List<StatusCondition.Builder> getClusterConditionsBuilderList()
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Type | Description |
List<Builder> |
getClusterConditionsCount()
public int getClusterConditionsCount()
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Type | Description |
int |
getClusterConditionsList()
public List<StatusCondition> getClusterConditionsList()
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Type | Description |
List<StatusCondition> |
getClusterConditionsOrBuilder(int index)
public StatusConditionOrBuilder getClusterConditionsOrBuilder(int index)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusConditionOrBuilder |
getClusterConditionsOrBuilderList()
public List<? extends StatusConditionOrBuilder> getClusterConditionsOrBuilderList()
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Type | Description |
List<? extends com.google.container.v1.StatusConditionOrBuilder> |
getDefaultInstanceForType()
public Operation getDefaultInstanceForType()
Type | Description |
Operation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDetail()
public String getDetail()
Detailed operation progress, if available.
string detail = 8;
Type | Description |
String | The detail. |
getDetailBytes()
public ByteString getDetailBytes()
Detailed operation progress, if available.
string detail = 8;
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;
Type | Description |
String | The endTime. |
getEndTimeBytes()
public ByteString getEndTimeBytes()
[Output only] The time the operation completed, in RFC3339 text format.
string end_time = 11;
Type | Description |
ByteString | The bytes for endTime. |
getError()
public Status getError()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Type | Description |
com.google.rpc.Status | The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
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;
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;
Type | Description |
ByteString | The bytes for location. |
getName()
public String getName()
The server-assigned ID for the operation.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The server-assigned ID for the operation.
string name = 1;
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.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusCondition |
getNodepoolConditionsBuilder(int index)
public StatusCondition.Builder getNodepoolConditionsBuilder(int index)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusCondition.Builder |
getNodepoolConditionsBuilderList()
public List<StatusCondition.Builder> getNodepoolConditionsBuilderList()
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Type | Description |
List<Builder> |
getNodepoolConditionsCount()
public int getNodepoolConditionsCount()
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Type | Description |
int |
getNodepoolConditionsList()
public List<StatusCondition> getNodepoolConditionsList()
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Type | Description |
List<StatusCondition> |
getNodepoolConditionsOrBuilder(int index)
public StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
Type | Description |
StatusConditionOrBuilder |
getNodepoolConditionsOrBuilderList()
public List<? extends StatusConditionOrBuilder> getNodepoolConditionsOrBuilderList()
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Type | Description |
List<? extends com.google.container.v1.StatusConditionOrBuilder> |
getOperationType()
public Operation.Type getOperationType()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
Type | Description |
Operation.Type | The operationType. |
getOperationTypeValue()
public int getOperationTypeValue()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
Type | Description |
int | The enum numeric value on the wire for operationType. |
getProgress()
public OperationProgress getProgress()
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
OperationProgress | The progress. |
getProgressBuilder()
public OperationProgress.Builder getProgressBuilder()
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
OperationProgress.Builder |
getProgressOrBuilder()
public OperationProgressOrBuilder getProgressOrBuilder()
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
OperationProgressOrBuilder |
getSelfLink()
public String getSelfLink()
Server-defined URL for the resource.
string self_link = 6;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
Server-defined URL for the resource.
string self_link = 6;
Type | Description |
ByteString | The bytes for selfLink. |
getStartTime()
public String getStartTime()
[Output only] The time the operation started, in RFC3339 text format.
string start_time = 10;
Type | Description |
String | The startTime. |
getStartTimeBytes()
public ByteString getStartTimeBytes()
[Output only] The time the operation started, in RFC3339 text format.
string start_time = 10;
Type | Description |
ByteString | The bytes for startTime. |
getStatus()
public Operation.Status getStatus()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
Type | Description |
Operation.Status | The status. |
getStatusMessage()
public String getStatusMessage()
Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The statusMessage. |
getStatusMessageBytes()
public ByteString getStatusMessageBytes()
Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for statusMessage. |
getStatusValue()
public int getStatusValue()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
Type | Description |
int | The enum numeric value on the wire for status. |
getTargetLink()
public String getTargetLink()
Server-defined URL for the target of the operation.
string target_link = 7;
Type | Description |
String | The targetLink. |
getTargetLinkBytes()
public ByteString getTargetLinkBytes()
Server-defined URL for the target of the operation.
string target_link = 7;
Type | Description |
ByteString | The bytes for targetLink. |
getZone()
public String getZone()
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];
Type | Description |
String | The zone. |
getZoneBytes()
public ByteString getZoneBytes()
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];
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;
Type | Description |
boolean | Whether the error field is set. |
hasProgress()
public boolean hasProgress()
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the progress field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeError(Status value)
public Operation.Builder mergeError(Status value)
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
Operation.Builder |
mergeFrom(Operation other)
public Operation.Builder mergeFrom(Operation other)
Name | Description |
other | Operation |
Type | Description |
Operation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Operation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Operation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Operation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Operation.Builder |
mergeProgress(OperationProgress value)
public Operation.Builder mergeProgress(OperationProgress value)
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | OperationProgress |
Type | Description |
Operation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Operation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Operation.Builder |
removeClusterConditions(int index)
public Operation.Builder removeClusterConditions(int index)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
Type | Description |
Operation.Builder |
removeNodepoolConditions(int index)
public Operation.Builder removeNodepoolConditions(int index)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
Type | Description |
Operation.Builder |
setClusterConditions(int index, StatusCondition value)
public Operation.Builder setClusterConditions(int index, StatusCondition value)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
value | StatusCondition |
Type | Description |
Operation.Builder |
setClusterConditions(int index, StatusCondition.Builder builderForValue)
public Operation.Builder setClusterConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current cluster state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true];
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Type | Description |
Operation.Builder |
setDetail(String value)
public Operation.Builder setDetail(String value)
Detailed operation progress, if available.
string detail = 8;
Name | Description |
value | String The detail to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setDetailBytes(ByteString value)
public Operation.Builder setDetailBytes(ByteString value)
Detailed operation progress, if available.
string detail = 8;
Name | Description |
value | ByteString The bytes for detail to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setEndTime(String value)
public Operation.Builder setEndTime(String value)
[Output only] The time the operation completed, in RFC3339 text format.
string end_time = 11;
Name | Description |
value | String The endTime to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setEndTimeBytes(ByteString value)
public Operation.Builder setEndTimeBytes(ByteString value)
[Output only] The time the operation completed, in RFC3339 text format.
string end_time = 11;
Name | Description |
value | ByteString The bytes for endTime to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setError(Status value)
public Operation.Builder setError(Status value)
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
Operation.Builder |
setError(Status.Builder builderForValue)
public Operation.Builder setError(Status.Builder builderForValue)
The error result of the operation in case of failure.
.google.rpc.Status error = 15;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
Operation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Operation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Operation.Builder |
setLocation(String value)
public Operation.Builder setLocation(String value)
[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.
string location = 9;
Name | Description |
value | String The location to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public Operation.Builder setLocationBytes(ByteString value)
[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.
string location = 9;
Name | Description |
value | ByteString The bytes for location to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setName(String value)
public Operation.Builder setName(String value)
The server-assigned ID for the operation.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Operation.Builder setNameBytes(ByteString value)
The server-assigned ID for the operation.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setNodepoolConditions(int index, StatusCondition value)
public Operation.Builder setNodepoolConditions(int index, StatusCondition value)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
value | StatusCondition |
Type | Description |
Operation.Builder |
setNodepoolConditions(int index, StatusCondition.Builder builderForValue)
public Operation.Builder setNodepoolConditions(int index, StatusCondition.Builder builderForValue)
Which conditions caused the current node pool state. Deprecated. Use field error instead.
repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true];
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Type | Description |
Operation.Builder |
setOperationType(Operation.Type value)
public Operation.Builder setOperationType(Operation.Type value)
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
Name | Description |
value | Operation.Type The operationType to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setOperationTypeValue(int value)
public Operation.Builder setOperationTypeValue(int value)
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
Name | Description |
value | int The enum numeric value on the wire for operationType to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setProgress(OperationProgress value)
public Operation.Builder setProgress(OperationProgress value)
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | OperationProgress |
Type | Description |
Operation.Builder |
setProgress(OperationProgress.Builder builderForValue)
public Operation.Builder setProgress(OperationProgress.Builder builderForValue)
Output only. [Output only] Progress information for an operation.
.google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | OperationProgress.Builder |
Type | Description |
Operation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Operation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Operation.Builder |
setSelfLink(String value)
public Operation.Builder setSelfLink(String value)
Server-defined URL for the resource.
string self_link = 6;
Name | Description |
value | String The selfLink to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public Operation.Builder setSelfLinkBytes(ByteString value)
Server-defined URL for the resource.
string self_link = 6;
Name | Description |
value | ByteString The bytes for selfLink to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setStartTime(String value)
public Operation.Builder setStartTime(String value)
[Output only] The time the operation started, in RFC3339 text format.
string start_time = 10;
Name | Description |
value | String The startTime to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setStartTimeBytes(ByteString value)
public Operation.Builder setStartTimeBytes(ByteString value)
[Output only] The time the operation started, in RFC3339 text format.
string start_time = 10;
Name | Description |
value | ByteString The bytes for startTime to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setStatus(Operation.Status value)
public Operation.Builder setStatus(Operation.Status value)
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
Name | Description |
value | Operation.Status The status to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setStatusMessage(String value)
public Operation.Builder setStatusMessage(String value)
Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The statusMessage to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setStatusMessageBytes(ByteString value)
public Operation.Builder setStatusMessageBytes(ByteString value)
Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for statusMessage to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setStatusValue(int value)
public Operation.Builder setStatusValue(int value)
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
Name | Description |
value | int The enum numeric value on the wire for status to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setTargetLink(String value)
public Operation.Builder setTargetLink(String value)
Server-defined URL for the target of the operation.
string target_link = 7;
Name | Description |
value | String The targetLink to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setTargetLinkBytes(ByteString value)
public Operation.Builder setTargetLinkBytes(ByteString value)
Server-defined URL for the target of the operation.
string target_link = 7;
Name | Description |
value | ByteString The bytes for targetLink to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Operation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Operation.Builder |
setZone(String value)
public Operation.Builder setZone(String value)
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];
Name | Description |
value | String The zone to set. |
Type | Description |
Operation.Builder | This builder for chaining. |
setZoneBytes(ByteString value)
public Operation.Builder setZoneBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for zone to set. |
Type | Description |
Operation.Builder | This builder for chaining. |