Package com.google.cloud.dataproc.v1
Class NodeGroupOperationMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>
-
- com.google.cloud.dataproc.v1.NodeGroupOperationMetadata.Builder
-
- All Implemented Interfaces:
NodeGroupOperationMetadataOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NodeGroupOperationMetadata
public static final class NodeGroupOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder> implements NodeGroupOperationMetadataOrBuilder
Metadata describing the node group operation.
Protobuf typegoogle.cloud.dataproc.v1.NodeGroupOperationMetadata
-
-
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<NodeGroupOperationMetadata.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>
-
clear
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
-
getDefaultInstanceForType
public NodeGroupOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NodeGroupOperationMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NodeGroupOperationMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
-
setField
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
-
clearField
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
-
clearOneof
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
-
setRepeatedField
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
-
addRepeatedField
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
-
mergeFrom
public NodeGroupOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NodeGroupOperationMetadata.Builder>
-
mergeFrom
public NodeGroupOperationMetadata.Builder mergeFrom(NodeGroupOperationMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>
-
mergeFrom
public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>
- Throws:
IOException
-
getNodeGroupId
public String getNodeGroupId()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNodeGroupId
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The nodeGroupId.
-
getNodeGroupIdBytes
public com.google.protobuf.ByteString getNodeGroupIdBytes()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNodeGroupIdBytes
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The bytes for nodeGroupId.
-
setNodeGroupId
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];
- Parameters:
value
- The nodeGroupId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNodeGroupIdBytes
public NodeGroupOperationMetadata.Builder setNodeGroupIdBytes(com.google.protobuf.ByteString value)
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for nodeGroupId to set.- Returns:
- This builder for chaining.
-
getClusterUuid
public String getClusterUuid()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterUuid
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The clusterUuid.
-
getClusterUuidBytes
public com.google.protobuf.ByteString getClusterUuidBytes()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getClusterUuidBytes
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The bytes for clusterUuid.
-
setClusterUuid
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];
- Parameters:
value
- The clusterUuid to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setClusterUuidBytes
public NodeGroupOperationMetadata.Builder setClusterUuidBytes(com.google.protobuf.ByteString value)
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStatus
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
public ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatus
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The status.
-
setStatus
public NodeGroupOperationMetadata.Builder setStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStatus
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];
-
mergeStatus
public NodeGroupOperationMetadata.Builder mergeStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStatus
public NodeGroupOperationMetadata.Builder clearStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusBuilder
public ClusterOperationStatus.Builder getStatusBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStatusOrBuilder
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusOrBuilder
in interfaceNodeGroupOperationMetadataOrBuilder
-
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];
- Specified by:
getStatusHistoryList
in interfaceNodeGroupOperationMetadataOrBuilder
-
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];
- Specified by:
getStatusHistoryCount
in interfaceNodeGroupOperationMetadataOrBuilder
-
getStatusHistory
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];
- Specified by:
getStatusHistory
in interfaceNodeGroupOperationMetadataOrBuilder
-
setStatusHistory
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];
-
setStatusHistory
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];
-
addStatusHistory
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];
-
addStatusHistory
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];
-
addStatusHistory
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];
-
addStatusHistory
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];
-
addAllStatusHistory
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];
-
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];
-
removeStatusHistory
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];
-
getStatusHistoryBuilder
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];
-
getStatusHistoryOrBuilder
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];
- Specified by:
getStatusHistoryOrBuilder
in interfaceNodeGroupOperationMetadataOrBuilder
-
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];
- Specified by:
getStatusHistoryOrBuilderList
in interfaceNodeGroupOperationMetadataOrBuilder
-
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];
-
addStatusHistoryBuilder
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];
-
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];
-
getOperationTypeValue
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
- Specified by:
getOperationTypeValue
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for operationType.
-
setOperationTypeValue
public NodeGroupOperationMetadata.Builder setOperationTypeValue(int value)
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
- Parameters:
value
- The enum numeric value on the wire for operationType to set.- Returns:
- This builder for chaining.
-
getOperationType
public NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
- Specified by:
getOperationType
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The operationType.
-
setOperationType
public NodeGroupOperationMetadata.Builder setOperationType(NodeGroupOperationMetadata.NodeGroupOperationType value)
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
- Parameters:
value
- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
public NodeGroupOperationMetadata.Builder clearOperationType()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDescription
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDescriptionBytes
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public NodeGroupOperationMetadata.Builder setDescription(String value)
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The description to set.- Returns:
- 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:
- This builder for chaining.
-
setDescriptionBytes
public NodeGroupOperationMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Output only. Short description of operation.
string description = 6 [(.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:NodeGroupOperationMetadataOrBuilder
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsCount
in interfaceNodeGroupOperationMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsLabels
in interfaceNodeGroupOperationMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceNodeGroupOperationMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsMap
in interfaceNodeGroupOperationMetadataOrBuilder
-
getLabelsOrDefault
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];
- Specified by:
getLabelsOrDefault
in interfaceNodeGroupOperationMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsOrThrow
in interfaceNodeGroupOperationMetadataOrBuilder
-
clearLabels
public NodeGroupOperationMetadata.Builder clearLabels()
-
removeLabels
public NodeGroupOperationMetadata.Builder removeLabels(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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];
-
putAllLabels
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];
-
getWarningsList
public com.google.protobuf.ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarningsList
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- A list containing the warnings.
-
getWarningsCount
public int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarningsCount
in interfaceNodeGroupOperationMetadataOrBuilder
- Returns:
- The count of warnings.
-
getWarnings
public String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarnings
in interfaceNodeGroupOperationMetadataOrBuilder
- 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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getWarningsBytes
in interfaceNodeGroupOperationMetadataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the warnings at the given index.
-
setWarnings
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:
index
- The index to set the value at.value
- The warnings to set.- Returns:
- This builder for chaining.
-
addWarnings
public NodeGroupOperationMetadata.Builder addWarnings(String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The warnings to add.- Returns:
- This builder for chaining.
-
addAllWarnings
public NodeGroupOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
values
- The warnings to add.- Returns:
- This builder for chaining.
-
clearWarnings
public NodeGroupOperationMetadata.Builder clearWarnings()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
addWarningsBytes
public NodeGroupOperationMetadata.Builder addWarningsBytes(com.google.protobuf.ByteString value)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes of the warnings to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NodeGroupOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>
-
mergeUnknownFields
public final NodeGroupOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>
-
-