Class NodeGroupOperationMetadata.Builder (4.45.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.dataproc.v1.ClusterOperationStatus>
Returns
Type Description
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
Name Description
values Iterable<String>

The warnings to add.

Returns
Type Description
NodeGroupOperationMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value ClusterOperationStatus
Returns
Type Description
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
Name Description
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
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
Name Description
index int
value ClusterOperationStatus
Returns
Type Description
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
Name Description
index int
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value String

The warnings to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the warnings to add.

Returns
Type Description
NodeGroupOperationMetadata.Builder

This builder for chaining.

build()

public NodeGroupOperationMetadata build()
Returns
Type Description
NodeGroupOperationMetadata

buildPartial()

public NodeGroupOperationMetadata buildPartial()
Returns
Type Description
NodeGroupOperationMetadata

clear()

public NodeGroupOperationMetadata.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
NodeGroupOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NodeGroupOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NodeGroupOperationMetadata.Builder
Overrides

clearLabels()

public NodeGroupOperationMetadata.Builder clearLabels()
Returns
Type Description
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
Type Description
NodeGroupOperationMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NodeGroupOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NodeGroupOperationMetadata.Builder
Overrides

clearOperationType()

public NodeGroupOperationMetadata.Builder clearOperationType()

The operation type.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
NodeGroupOperationMetadata.Builder

This builder for chaining.

clone()

public NodeGroupOperationMetadata.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for clusterUuid.

getDefaultInstanceForType()

public NodeGroupOperationMetadata getDefaultInstanceForType()
Returns
Type Description
NodeGroupOperationMetadata

getDescription()

public String getDescription()

Output only. Short description of operation.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Short description of operation.

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

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nodeGroupId.

getOperationType()

public NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()

The operation type.

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

Returns
Type Description
NodeGroupOperationMetadata.NodeGroupOperationType

The operationType.

getOperationTypeValue()

public int getOperationTypeValue()

The operation type.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NodeGroupOperationMetadata other)

public NodeGroupOperationMetadata.Builder mergeFrom(NodeGroupOperationMetadata other)
Parameter
Name Description
other NodeGroupOperationMetadata
Returns
Type Description
NodeGroupOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NodeGroupOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NodeGroupOperationMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NodeGroupOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value ClusterOperationStatus
Returns
Type Description
NodeGroupOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value String

The clusterUuid to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for clusterUuid to set.

Returns
Type Description
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
Name Description
value String

The description to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
NodeGroupOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NodeGroupOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nodeGroupId to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nodeGroupId to set.

Returns
Type Description
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
Name Description
value NodeGroupOperationMetadata.NodeGroupOperationType

The operationType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value ClusterOperationStatus
Returns
Type Description
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
Name Description
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
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
Name Description
index int
value ClusterOperationStatus
Returns
Type Description
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
Name Description
index int
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
NodeGroupOperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final NodeGroupOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The warnings to set.

Returns
Type Description
NodeGroupOperationMetadata.Builder

This builder for chaining.