Package com.google.cloud.dataproc.v1
Class ClusterOperationMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
- com.google.cloud.dataproc.v1.ClusterOperationMetadata.Builder
-
- All Implemented Interfaces:
ClusterOperationMetadataOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ClusterOperationMetadata
public static final class ClusterOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder> implements ClusterOperationMetadataOrBuilder
Metadata describing the operation.
Protobuf typegoogle.cloud.dataproc.v1.ClusterOperationMetadata
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
clear
public ClusterOperationMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
getDefaultInstanceForType
public ClusterOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClusterOperationMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClusterOperationMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClusterOperationMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
setField
public ClusterOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
clearField
public ClusterOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
clearOneof
public ClusterOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
setRepeatedField
public ClusterOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
addRepeatedField
public ClusterOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
mergeFrom
public ClusterOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClusterOperationMetadata.Builder>
-
mergeFrom
public ClusterOperationMetadata.Builder mergeFrom(ClusterOperationMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
mergeFrom
public ClusterOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClusterOperationMetadata.Builder>
- Throws:
IOException
-
getClusterName
public String getClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterName
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The clusterName.
-
getClusterNameBytes
public com.google.protobuf.ByteString getClusterNameBytes()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterNameBytes
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The bytes for clusterName.
-
setClusterName
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];
- Parameters:
value
- The clusterName to set.- Returns:
- 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:
- This builder for chaining.
-
setClusterNameBytes
public ClusterOperationMetadata.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for clusterName to set.- Returns:
- This builder for chaining.
-
getClusterUuid
public String getClusterUuid()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterUuid
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The clusterUuid.
-
getClusterUuidBytes
public com.google.protobuf.ByteString getClusterUuidBytes()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterUuidBytes
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The bytes for clusterUuid.
-
setClusterUuid
public ClusterOperationMetadata.Builder setClusterUuid(String value)
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The clusterUuid to set.- Returns:
- 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:
- This builder for chaining.
-
setClusterUuidBytes
public ClusterOperationMetadata.Builder setClusterUuidBytes(com.google.protobuf.ByteString value)
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for clusterUuid to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStatus
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatus
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The status.
-
setStatus
public ClusterOperationMetadata.Builder setStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStatus
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];
-
mergeStatus
public ClusterOperationMetadata.Builder mergeStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStatus
public ClusterOperationMetadata.Builder clearStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusBuilder
public ClusterOperationStatus.Builder getStatusBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusOrBuilder
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusOrBuilder
in interfaceClusterOperationMetadataOrBuilder
-
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];
- Specified by:
getStatusHistoryList
in interfaceClusterOperationMetadataOrBuilder
-
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];
- Specified by:
getStatusHistoryCount
in interfaceClusterOperationMetadataOrBuilder
-
getStatusHistory
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];
- Specified by:
getStatusHistory
in interfaceClusterOperationMetadataOrBuilder
-
setStatusHistory
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];
-
setStatusHistory
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];
-
addStatusHistory
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];
-
addStatusHistory
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];
-
addStatusHistory
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];
-
addStatusHistory
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];
-
addAllStatusHistory
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];
-
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];
-
removeStatusHistory
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];
-
getStatusHistoryBuilder
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];
-
getStatusHistoryOrBuilder
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];
- Specified by:
getStatusHistoryOrBuilder
in interfaceClusterOperationMetadataOrBuilder
-
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];
- Specified by:
getStatusHistoryOrBuilderList
in interfaceClusterOperationMetadataOrBuilder
-
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];
-
addStatusHistoryBuilder
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];
-
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];
-
getOperationType
public String getOperationType()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getOperationType
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The operationType.
-
getOperationTypeBytes
public com.google.protobuf.ByteString getOperationTypeBytes()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getOperationTypeBytes
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The bytes for operationType.
-
setOperationType
public ClusterOperationMetadata.Builder setOperationType(String value)
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
public ClusterOperationMetadata.Builder clearOperationType()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setOperationTypeBytes
public ClusterOperationMetadata.Builder setOperationTypeBytes(com.google.protobuf.ByteString value)
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for operationType to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDescription
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDescriptionBytes
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public ClusterOperationMetadata.Builder setDescription(String value)
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The description to set.- Returns:
- 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:
- This builder for chaining.
-
setDescriptionBytes
public ClusterOperationMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ClusterOperationMetadataOrBuilder
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsCount
in interfaceClusterOperationMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsLabels
in interfaceClusterOperationMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceClusterOperationMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsMap
in interfaceClusterOperationMetadataOrBuilder
-
getLabelsOrDefault
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];
- Specified by:
getLabelsOrDefault
in interfaceClusterOperationMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsOrThrow
in interfaceClusterOperationMetadataOrBuilder
-
clearLabels
public ClusterOperationMetadata.Builder clearLabels()
-
removeLabels
public ClusterOperationMetadata.Builder removeLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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];
-
putAllLabels
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];
-
getWarningsList
public com.google.protobuf.ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarningsList
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- A list containing the warnings.
-
getWarningsCount
public int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarningsCount
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The count of warnings.
-
getWarnings
public String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarnings
in interfaceClusterOperationMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The warnings at the given index.
-
getWarningsBytes
public com.google.protobuf.ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarningsBytes
in interfaceClusterOperationMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the warnings at the given index.
-
setWarnings
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:
index
- The index to set the value at.value
- The warnings to set.- Returns:
- This builder for chaining.
-
addWarnings
public ClusterOperationMetadata.Builder addWarnings(String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The warnings to add.- Returns:
- This builder for chaining.
-
addAllWarnings
public ClusterOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
values
- The warnings to add.- Returns:
- This builder for chaining.
-
clearWarnings
public ClusterOperationMetadata.Builder clearWarnings()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
addWarningsBytes
public ClusterOperationMetadata.Builder addWarningsBytes(com.google.protobuf.ByteString value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes of the warnings to add.- Returns:
- This builder for chaining.
-
getChildOperationIdsList
public com.google.protobuf.ProtocolStringList getChildOperationIdsList()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getChildOperationIdsList
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- A list containing the childOperationIds.
-
getChildOperationIdsCount
public int getChildOperationIdsCount()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getChildOperationIdsCount
in interfaceClusterOperationMetadataOrBuilder
- Returns:
- The count of childOperationIds.
-
getChildOperationIds
public String getChildOperationIds(int index)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getChildOperationIds
in interfaceClusterOperationMetadataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The childOperationIds at the given index.
-
getChildOperationIdsBytes
public com.google.protobuf.ByteString getChildOperationIdsBytes(int index)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getChildOperationIdsBytes
in interfaceClusterOperationMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the childOperationIds at the given index.
-
setChildOperationIds
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:
index
- The index to set the value at.value
- The childOperationIds to set.- Returns:
- This builder for chaining.
-
addChildOperationIds
public ClusterOperationMetadata.Builder addChildOperationIds(String value)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The childOperationIds to add.- Returns:
- This builder for chaining.
-
addAllChildOperationIds
public ClusterOperationMetadata.Builder addAllChildOperationIds(Iterable<String> values)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
values
- The childOperationIds to add.- Returns:
- This builder for chaining.
-
clearChildOperationIds
public ClusterOperationMetadata.Builder clearChildOperationIds()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
addChildOperationIdsBytes
public ClusterOperationMetadata.Builder addChildOperationIdsBytes(com.google.protobuf.ByteString value)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes of the childOperationIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
mergeUnknownFields
public final ClusterOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
-
-