Class ClusterOperationMetadata.Builder (4.51.0)

public static final class ClusterOperationMetadata.Builder extends GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder> implements ClusterOperationMetadataOrBuilder

Metadata describing the operation.

Protobuf type google.cloud.dataproc.v1.ClusterOperationMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllChildOperationIds(Iterable<String> values)

public ClusterOperationMetadata.Builder addAllChildOperationIds(Iterable<String> values)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The childOperationIds to add.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

addAllStatusHistory(Iterable<? extends ClusterOperationStatus> values)

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

Output only. The previous operation status.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataproc.v1.ClusterOperationStatus>
Returns
Type Description
ClusterOperationMetadata.Builder

addAllWarnings(Iterable<String> values)

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

Output only. Errors encountered during operation execution.

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

Parameter
Name Description
values Iterable<String>

The warnings to add.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

addChildOperationIds(String value)

public ClusterOperationMetadata.Builder addChildOperationIds(String value)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The childOperationIds to add.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

addChildOperationIdsBytes(ByteString value)

public ClusterOperationMetadata.Builder addChildOperationIdsBytes(ByteString value)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the childOperationIds to add.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClusterOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

addStatusHistory(ClusterOperationStatus value)

public ClusterOperationMetadata.Builder addStatusHistory(ClusterOperationStatus value)

Output only. The previous operation status.

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

Parameter
Name Description
value ClusterOperationStatus
Returns
Type Description
ClusterOperationMetadata.Builder

addStatusHistory(ClusterOperationStatus.Builder builderForValue)

public ClusterOperationMetadata.Builder addStatusHistory(ClusterOperationStatus.Builder builderForValue)

Output only. The previous operation status.

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

Parameter
Name Description
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
ClusterOperationMetadata.Builder

addStatusHistory(int index, ClusterOperationStatus value)

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

Output only. The previous operation status.

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

Parameters
Name Description
index int
value ClusterOperationStatus
Returns
Type Description
ClusterOperationMetadata.Builder

addStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)

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

Output only. The previous operation status.

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

Parameters
Name Description
index int
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
ClusterOperationMetadata.Builder

addStatusHistoryBuilder()

public ClusterOperationStatus.Builder addStatusHistoryBuilder()

Output only. The previous operation status.

repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.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 = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ClusterOperationStatus.Builder

addWarnings(String value)

public ClusterOperationMetadata.Builder addWarnings(String value)

Output only. Errors encountered during operation execution.

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

Parameter
Name Description
value String

The warnings to add.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

addWarningsBytes(ByteString value)

public ClusterOperationMetadata.Builder addWarningsBytes(ByteString value)

Output only. Errors encountered during operation execution.

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

Parameter
Name Description
value ByteString

The bytes of the warnings to add.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

build()

public ClusterOperationMetadata build()
Returns
Type Description
ClusterOperationMetadata

buildPartial()

public ClusterOperationMetadata buildPartial()
Returns
Type Description
ClusterOperationMetadata

clear()

public ClusterOperationMetadata.Builder clear()
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

clearChildOperationIds()

public ClusterOperationMetadata.Builder clearChildOperationIds()

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

clearClusterName()

public ClusterOperationMetadata.Builder clearClusterName()

Output only. Name of the cluster for the operation.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

clearClusterUuid()

public ClusterOperationMetadata.Builder clearClusterUuid()

Output only. Cluster UUID for the operation.

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

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

clearDescription()

public ClusterOperationMetadata.Builder clearDescription()

Output only. Short description of operation.

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

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public ClusterOperationMetadata.Builder clearLabels()
Returns
Type Description
ClusterOperationMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationType()

public ClusterOperationMetadata.Builder clearOperationType()

Output only. The operation type.

string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

clearStatus()

public ClusterOperationMetadata.Builder clearStatus()

Output only. Current operation status.

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

Returns
Type Description
ClusterOperationMetadata.Builder

clearStatusHistory()

public ClusterOperationMetadata.Builder clearStatusHistory()

Output only. The previous operation status.

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

Returns
Type Description
ClusterOperationMetadata.Builder

clearWarnings()

public ClusterOperationMetadata.Builder clearWarnings()

Output only. Errors encountered during operation execution.

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

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

clone()

public ClusterOperationMetadata.Builder clone()
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Output only. Labels associated with the operation

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getChildOperationIds(int index)

public String getChildOperationIds(int index)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The childOperationIds at the given index.

getChildOperationIdsBytes(int index)

public ByteString getChildOperationIdsBytes(int index)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.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 childOperationIds at the given index.

getChildOperationIdsCount()

public int getChildOperationIdsCount()

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of childOperationIds.

getChildOperationIdsList()

public ProtocolStringList getChildOperationIdsList()

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the childOperationIds.

getClusterName()

public String getClusterName()

Output only. Name of the cluster for the operation.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clusterName.

getClusterNameBytes()

public ByteString getClusterNameBytes()

Output only. Name of the cluster for the operation.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clusterName.

getClusterUuid()

public String getClusterUuid()

Output only. Cluster UUID for the operation.

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

Returns
Type Description
String

The clusterUuid.

getClusterUuidBytes()

public ByteString getClusterUuidBytes()

Output only. Cluster UUID for the operation.

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

Returns
Type Description
ByteString

The bytes for clusterUuid.

getDefaultInstanceForType()

public ClusterOperationMetadata getDefaultInstanceForType()
Returns
Type Description
ClusterOperationMetadata

getDescription()

public String getDescription()

Output only. Short description of operation.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Short description of operation.

string description = 12 [(.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 = 13 [(.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 = 13 [(.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 = 13 [(.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 = 13 [(.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>

getOperationType()

public String getOperationType()

Output only. The operation type.

string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The operationType.

getOperationTypeBytes()

public ByteString getOperationTypeBytes()

Output only. The operation type.

string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for operationType.

getStatus()

public ClusterOperationStatus getStatus()

Output only. Current operation status.

.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.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 = 9 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 9 [(.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 = 14 [(.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 = 14 [(.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 = 14 [(.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 = 14 [(.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 = 9 [(.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(ClusterOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ClusterOperationMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

mergeStatus(ClusterOperationStatus value)

public ClusterOperationMetadata.Builder mergeStatus(ClusterOperationStatus value)

Output only. Current operation status.

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

Parameter
Name Description
value ClusterOperationStatus
Returns
Type Description
ClusterOperationMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClusterOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

putAllLabels(Map<String,String> values)

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

Output only. Labels associated with the operation

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ClusterOperationMetadata.Builder

putLabels(String key, String value)

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

Output only. Labels associated with the operation

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

Parameters
Name Description
key String
value String
Returns
Type Description
ClusterOperationMetadata.Builder

removeLabels(String key)

public ClusterOperationMetadata.Builder removeLabels(String key)

Output only. Labels associated with the operation

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

Parameter
Name Description
key String
Returns
Type Description
ClusterOperationMetadata.Builder

removeStatusHistory(int index)

public ClusterOperationMetadata.Builder removeStatusHistory(int index)

Output only. The previous operation status.

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

Parameter
Name Description
index int
Returns
Type Description
ClusterOperationMetadata.Builder

setChildOperationIds(int index, String value)

public ClusterOperationMetadata.Builder setChildOperationIds(int index, String value)

Output only. Child operation ids

repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The childOperationIds to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setClusterName(String value)

public ClusterOperationMetadata.Builder setClusterName(String value)

Output only. Name of the cluster for the operation.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The clusterName to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setClusterNameBytes(ByteString value)

public ClusterOperationMetadata.Builder setClusterNameBytes(ByteString value)

Output only. Name of the cluster for the operation.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for clusterName to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setClusterUuid(String value)

public ClusterOperationMetadata.Builder setClusterUuid(String value)

Output only. Cluster UUID for the operation.

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

Parameter
Name Description
value String

The clusterUuid to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setClusterUuidBytes(ByteString value)

public ClusterOperationMetadata.Builder setClusterUuidBytes(ByteString value)

Output only. Cluster UUID for the operation.

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

Parameter
Name Description
value ByteString

The bytes for clusterUuid to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setDescription(String value)

public ClusterOperationMetadata.Builder setDescription(String value)

Output only. Short description of operation.

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

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ClusterOperationMetadata.Builder setDescriptionBytes(ByteString value)

Output only. Short description of operation.

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

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ClusterOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

setOperationType(String value)

public ClusterOperationMetadata.Builder setOperationType(String value)

Output only. The operation type.

string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The operationType to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

setOperationTypeBytes(ByteString value)

public ClusterOperationMetadata.Builder setOperationTypeBytes(ByteString value)

Output only. The operation type.

string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for operationType to set.

Returns
Type Description
ClusterOperationMetadata.Builder

This builder for chaining.

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

public ClusterOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

setStatus(ClusterOperationStatus value)

public ClusterOperationMetadata.Builder setStatus(ClusterOperationStatus value)

Output only. Current operation status.

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

Parameter
Name Description
value ClusterOperationStatus
Returns
Type Description
ClusterOperationMetadata.Builder

setStatus(ClusterOperationStatus.Builder builderForValue)

public ClusterOperationMetadata.Builder setStatus(ClusterOperationStatus.Builder builderForValue)

Output only. Current operation status.

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

Parameter
Name Description
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
ClusterOperationMetadata.Builder

setStatusHistory(int index, ClusterOperationStatus value)

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

Output only. The previous operation status.

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

Parameters
Name Description
index int
value ClusterOperationStatus
Returns
Type Description
ClusterOperationMetadata.Builder

setStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)

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

Output only. The previous operation status.

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

Parameters
Name Description
index int
builderForValue ClusterOperationStatus.Builder
Returns
Type Description
ClusterOperationMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ClusterOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ClusterOperationMetadata.Builder
Overrides

setWarnings(int index, String value)

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

Output only. Errors encountered during operation execution.

repeated string warnings = 14 [(.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
ClusterOperationMetadata.Builder

This builder for chaining.