- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 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()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.container.v1.StatusCondition> |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.container.v1.StatusCondition> |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | StatusCondition |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | StatusCondition |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | StatusCondition |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | StatusCondition |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StatusCondition.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Operation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Operation.Builder |
build()
public Operation build()
Returns | |
---|---|
Type | Description |
Operation |
buildPartial()
public Operation buildPartial()
Returns | |
---|---|
Type | Description |
Operation |
clear()
public Operation.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Operation.Builder |
clearDetail()
public Operation.Builder clearDetail()
Detailed operation progress, if available.
string detail = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Operation.Builder |
clearField(Descriptors.FieldDescriptor field)
public Operation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
clearName()
public Operation.Builder clearName()
The server-assigned ID for the operation.
string name = 1;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Operation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Operation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Operation.Builder |
clearOperationType()
public Operation.Builder clearOperationType()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
Operation.Builder |
clearSelfLink()
public Operation.Builder clearSelfLink()
Server-defined URL for the resource.
string self_link = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
clearStatusMessage() (deprecated)
public Operation.Builder clearStatusMessage()
Deprecated. google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2180
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
clearZone() (deprecated)
public Operation.Builder clearZone()
Deprecated. google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2167
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];
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
clone()
public Operation.Builder clone()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.container.v1.StatusConditionOrBuilder> |
getDefaultInstanceForType()
public Operation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Operation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetail()
public String getDetail()
Detailed operation progress, if available.
string detail = 8;
Returns | |
---|---|
Type | Description |
String | The detail. |
getDetailBytes()
public ByteString getDetailBytes()
Detailed operation progress, if available.
string detail = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The endTime. |
getEndTimeBytes()
public ByteString getEndTimeBytes()
[Output only] The time the operation completed, in RFC3339 text format.
string end_time = 11;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for location. |
getName()
public String getName()
The server-assigned ID for the operation.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The server-assigned ID for the operation.
string name = 1;
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Operation.Type | The operationType. |
getOperationTypeValue()
public int getOperationTypeValue()
The operation type.
.google.container.v1.Operation.Type operation_type = 3;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
OperationProgressOrBuilder |
getSelfLink()
public String getSelfLink()
Server-defined URL for the resource.
string self_link = 6;
Returns | |
---|---|
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
Server-defined URL for the resource.
string self_link = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The startTime. |
getStartTimeBytes()
public ByteString getStartTimeBytes()
[Output only] The time the operation started, in RFC3339 text format.
string start_time = 10;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Operation.Status | The status. |
getStatusMessage() (deprecated)
public String getStatusMessage()
Deprecated. google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2180
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];
Returns | |
---|---|
Type | Description |
String | The statusMessage. |
getStatusMessageBytes() (deprecated)
public ByteString getStatusMessageBytes()
Deprecated. google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2180
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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for statusMessage. |
getStatusValue()
public int getStatusValue()
The current status of the operation.
.google.container.v1.Operation.Status status = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
String | The targetLink. |
getTargetLinkBytes()
public ByteString getTargetLinkBytes()
Server-defined URL for the target of the operation.
string target_link = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for targetLink. |
getZone() (deprecated)
public String getZone()
Deprecated. google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2167
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];
Returns | |
---|---|
Type | Description |
String | The zone. |
getZoneBytes() (deprecated)
public ByteString getZoneBytes()
Deprecated. google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2167
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];
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the progress field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Operation.Builder |
mergeFrom(Operation other)
public Operation.Builder mergeFrom(Operation other)
Parameter | |
---|---|
Name | Description |
other | Operation |
Returns | |
---|---|
Type | Description |
Operation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Operation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Operation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Operation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | OperationProgress |
Returns | |
---|---|
Type | Description |
Operation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Operation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | StatusCondition |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
Type | Description |
Operation.Builder |
setDetail(String value)
public Operation.Builder setDetail(String value)
Detailed operation progress, if available.
string detail = 8;
Parameter | |
---|---|
Name | Description |
value | String The detail to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for detail to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The endTime to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for endTime to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
Operation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Operation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The location to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for location to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | StatusCondition |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | StatusCondition.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Operation.Type The operationType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for operationType to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | OperationProgress |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | OperationProgress.Builder |
Returns | |
---|---|
Type | Description |
Operation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Operation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Operation.Builder |
setSelfLink(String value)
public Operation.Builder setSelfLink(String value)
Server-defined URL for the resource.
string self_link = 6;
Parameter | |
---|---|
Name | Description |
value | String The selfLink to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for selfLink to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The startTime to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for startTime to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Operation.Status The status to set. |
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
setStatusMessage(String value) (deprecated)
public Operation.Builder setStatusMessage(String value)
Deprecated. google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2180
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];
Parameter | |
---|---|
Name | Description |
value | String The statusMessage to set. |
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
setStatusMessageBytes(ByteString value) (deprecated)
public Operation.Builder setStatusMessageBytes(ByteString value)
Deprecated. google.container.v1.Operation.status_message is deprecated. See google/container/v1/cluster_service.proto;l=2180
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for statusMessage to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for status to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The targetLink to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for targetLink to set. |
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Operation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Operation.Builder |
setZone(String value) (deprecated)
public Operation.Builder setZone(String value)
Deprecated. google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2167
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];
Parameter | |
---|---|
Name | Description |
value | String The zone to set. |
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |
setZoneBytes(ByteString value) (deprecated)
public Operation.Builder setZoneBytes(ByteString value)
Deprecated. google.container.v1.Operation.zone is deprecated. See google/container/v1/cluster_service.proto;l=2167
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for zone to set. |
Returns | |
---|---|
Type | Description |
Operation.Builder | This builder for chaining. |