Class NodeGroupOperationMetadata.Builder (4.5.0)

public static final class NodeGroupOperationMetadata.Builder extends GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder> implements NodeGroupOperationMetadataOrBuilder

Metadata describing the node group operation.

Protobuf type google.cloud.dataproc.v1.NodeGroupOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllStatusHistory(Iterable<? extends ClusterOperationStatus> values)

public NodeGroupOperationMetadata.Builder addAllStatusHistory(Iterable<? extends ClusterOperationStatus> values)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataproc.v1.ClusterOperationStatus>
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

addAllWarnings(Iterable<String> values)

public NodeGroupOperationMetadata.Builder addAllWarnings(Iterable<String> values)

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<String>

The warnings to add.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

addStatusHistory(ClusterOperationStatus value)

public NodeGroupOperationMetadata.Builder addStatusHistory(ClusterOperationStatus value)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueClusterOperationStatus
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

addStatusHistory(ClusterOperationStatus.Builder builderForValue)

public NodeGroupOperationMetadata.Builder addStatusHistory(ClusterOperationStatus.Builder builderForValue)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueClusterOperationStatus.Builder
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

addStatusHistory(int index, ClusterOperationStatus value)

public NodeGroupOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus value)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueClusterOperationStatus
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

addStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)

public NodeGroupOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueClusterOperationStatus.Builder
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

addStatusHistoryBuilder()

public ClusterOperationStatus.Builder addStatusHistoryBuilder()

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperationStatus.Builder

addStatusHistoryBuilder(int index)

public ClusterOperationStatus.Builder addStatusHistoryBuilder(int index)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ClusterOperationStatus.Builder

addWarnings(String value)

public NodeGroupOperationMetadata.Builder addWarnings(String value)

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The warnings to add.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

addWarningsBytes(ByteString value)

public NodeGroupOperationMetadata.Builder addWarningsBytes(ByteString value)

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes of the warnings to add.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

build()

public NodeGroupOperationMetadata build()
Returns
TypeDescription
NodeGroupOperationMetadata

buildPartial()

public NodeGroupOperationMetadata buildPartial()
Returns
TypeDescription
NodeGroupOperationMetadata

clear()

public NodeGroupOperationMetadata.Builder clear()
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

clearClusterUuid()

public NodeGroupOperationMetadata.Builder clearClusterUuid()

Output only. Cluster UUID associated with the node group operation.

string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

clearDescription()

public NodeGroupOperationMetadata.Builder clearDescription()

Output only. Short description of operation.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodeGroupOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

clearLabels()

public NodeGroupOperationMetadata.Builder clearLabels()
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

clearNodeGroupId()

public NodeGroupOperationMetadata.Builder clearNodeGroupId()

Output only. Node group ID for the operation.

string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeGroupOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

clearOperationType()

public NodeGroupOperationMetadata.Builder clearOperationType()

The operation type.

.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

clearStatus()

public NodeGroupOperationMetadata.Builder clearStatus()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

clearStatusHistory()

public NodeGroupOperationMetadata.Builder clearStatusHistory()

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

clearWarnings()

public NodeGroupOperationMetadata.Builder clearWarnings()

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

clone()

public NodeGroupOperationMetadata.Builder clone()
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getClusterUuid()

public String getClusterUuid()

Output only. Cluster UUID associated with the node group operation.

string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The clusterUuid.

getClusterUuidBytes()

public ByteString getClusterUuidBytes()

Output only. Cluster UUID associated with the node group operation.

string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for clusterUuid.

getDefaultInstanceForType()

public NodeGroupOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
NodeGroupOperationMetadata

getDescription()

public String getDescription()

Output only. Short description of operation.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Short description of operation.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getNodeGroupId()

public String getNodeGroupId()

Output only. Node group ID for the operation.

string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The nodeGroupId.

getNodeGroupIdBytes()

public ByteString getNodeGroupIdBytes()

Output only. Node group ID for the operation.

string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nodeGroupId.

getOperationType()

public NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()

The operation type.

.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;

Returns
TypeDescription
NodeGroupOperationMetadata.NodeGroupOperationType

The operationType.

getOperationTypeValue()

public int getOperationTypeValue()

The operation type.

.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for operationType.

getStatus()

public ClusterOperationStatus getStatus()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperationStatus

The status.

getStatusBuilder()

public ClusterOperationStatus.Builder getStatusBuilder()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperationStatus.Builder

getStatusHistory(int index)

public ClusterOperationStatus getStatusHistory(int index)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ClusterOperationStatus

getStatusHistoryBuilder(int index)

public ClusterOperationStatus.Builder getStatusHistoryBuilder(int index)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ClusterOperationStatus.Builder

getStatusHistoryBuilderList()

public List<ClusterOperationStatus.Builder> getStatusHistoryBuilderList()

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getStatusHistoryCount()

public int getStatusHistoryCount()

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getStatusHistoryList()

public List<ClusterOperationStatus> getStatusHistoryList()

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<ClusterOperationStatus>

getStatusHistoryOrBuilder(int index)

public ClusterOperationStatusOrBuilder getStatusHistoryOrBuilder(int index)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ClusterOperationStatusOrBuilder

getStatusHistoryOrBuilderList()

public List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder>

getStatusOrBuilder()

public ClusterOperationStatusOrBuilder getStatusOrBuilder()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperationStatusOrBuilder

getWarnings(int index)

public String getWarnings(int index)

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The warnings at the given index.

getWarningsBytes(int index)

public ByteString getWarningsBytes(int index)

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the warnings at the given index.

getWarningsCount()

public int getWarningsCount()

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of warnings.

getWarningsList()

public ProtocolStringList getWarningsList()

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the warnings.

hasStatus()

public boolean hasStatus()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NodeGroupOperationMetadata other)

public NodeGroupOperationMetadata.Builder mergeFrom(NodeGroupOperationMetadata other)
Parameter
NameDescription
otherNodeGroupOperationMetadata
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeGroupOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NodeGroupOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

mergeStatus(ClusterOperationStatus value)

public NodeGroupOperationMetadata.Builder mergeStatus(ClusterOperationStatus value)

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueClusterOperationStatus
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

putAllLabels(Map<String,String> values)

public NodeGroupOperationMetadata.Builder putAllLabels(Map<String,String> values)

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

putLabels(String key, String value)

public NodeGroupOperationMetadata.Builder putLabels(String key, String value)

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

removeLabels(String key)

public NodeGroupOperationMetadata.Builder removeLabels(String key)

Output only. Labels associated with the operation.

map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

removeStatusHistory(int index)

public NodeGroupOperationMetadata.Builder removeStatusHistory(int index)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

setClusterUuid(String value)

public NodeGroupOperationMetadata.Builder setClusterUuid(String value)

Output only. Cluster UUID associated with the node group operation.

string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The clusterUuid to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setClusterUuidBytes(ByteString value)

public NodeGroupOperationMetadata.Builder setClusterUuidBytes(ByteString value)

Output only. Cluster UUID associated with the node group operation.

string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for clusterUuid to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setDescription(String value)

public NodeGroupOperationMetadata.Builder setDescription(String value)

Output only. Short description of operation.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public NodeGroupOperationMetadata.Builder setDescriptionBytes(ByteString value)

Output only. Short description of operation.

string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

setNodeGroupId(String value)

public NodeGroupOperationMetadata.Builder setNodeGroupId(String value)

Output only. Node group ID for the operation.

string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The nodeGroupId to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setNodeGroupIdBytes(ByteString value)

public NodeGroupOperationMetadata.Builder setNodeGroupIdBytes(ByteString value)

Output only. Node group ID for the operation.

string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for nodeGroupId to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setOperationType(NodeGroupOperationMetadata.NodeGroupOperationType value)

public NodeGroupOperationMetadata.Builder setOperationType(NodeGroupOperationMetadata.NodeGroupOperationType value)

The operation type.

.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;

Parameter
NameDescription
valueNodeGroupOperationMetadata.NodeGroupOperationType

The operationType to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setOperationTypeValue(int value)

public NodeGroupOperationMetadata.Builder setOperationTypeValue(int value)

The operation type.

.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;

Parameter
NameDescription
valueint

The enum numeric value on the wire for operationType to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NodeGroupOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

setStatus(ClusterOperationStatus value)

public NodeGroupOperationMetadata.Builder setStatus(ClusterOperationStatus value)

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueClusterOperationStatus
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

setStatus(ClusterOperationStatus.Builder builderForValue)

public NodeGroupOperationMetadata.Builder setStatus(ClusterOperationStatus.Builder builderForValue)

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueClusterOperationStatus.Builder
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

setStatusHistory(int index, ClusterOperationStatus value)

public NodeGroupOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus value)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueClusterOperationStatus
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

setStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)

public NodeGroupOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueClusterOperationStatus.Builder
Returns
TypeDescription
NodeGroupOperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NodeGroupOperationMetadata.Builder
Overrides

setWarnings(int index, String value)

public NodeGroupOperationMetadata.Builder setWarnings(int index, String value)

Output only. Errors encountered during operation execution.

repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The warnings to set.

Returns
TypeDescription
NodeGroupOperationMetadata.Builder

This builder for chaining.