public static final class ClusterOperationMetadata.Builder extends GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder> implements ClusterOperationMetadataOrBuilder
Metadata describing the operation.Protobuf type
google.cloud.dataproc.v1.ClusterOperationMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ClusterOperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ClusterOperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ClusterOperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder mergeFrom(ClusterOperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterOperationMetadata.Builder>
java.io.IOException
public java.lang.String getClusterName()
Output-only. Name of the cluster for the operation.
string cluster_name = 7;
getClusterName
in interface ClusterOperationMetadataOrBuilder
public ByteString getClusterNameBytes()
Output-only. Name of the cluster for the operation.
string cluster_name = 7;
getClusterNameBytes
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder setClusterName(java.lang.String value)
Output-only. Name of the cluster for the operation.
string cluster_name = 7;
public ClusterOperationMetadata.Builder clearClusterName()
Output-only. Name of the cluster for the operation.
string cluster_name = 7;
public ClusterOperationMetadata.Builder setClusterNameBytes(ByteString value)
Output-only. Name of the cluster for the operation.
string cluster_name = 7;
public java.lang.String getClusterUuid()
Output-only. Cluster UUID for the operation.
string cluster_uuid = 8;
getClusterUuid
in interface ClusterOperationMetadataOrBuilder
public ByteString getClusterUuidBytes()
Output-only. Cluster UUID for the operation.
string cluster_uuid = 8;
getClusterUuidBytes
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder setClusterUuid(java.lang.String value)
Output-only. Cluster UUID for the operation.
string cluster_uuid = 8;
public ClusterOperationMetadata.Builder clearClusterUuid()
Output-only. Cluster UUID for the operation.
string cluster_uuid = 8;
public ClusterOperationMetadata.Builder setClusterUuidBytes(ByteString value)
Output-only. Cluster UUID for the operation.
string cluster_uuid = 8;
public boolean hasStatus()
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
hasStatus
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationStatus getStatus()
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
getStatus
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder setStatus(ClusterOperationStatus value)
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
public ClusterOperationMetadata.Builder setStatus(ClusterOperationStatus.Builder builderForValue)
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
public ClusterOperationMetadata.Builder mergeStatus(ClusterOperationStatus value)
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
public ClusterOperationMetadata.Builder clearStatus()
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
public ClusterOperationStatus.Builder getStatusBuilder()
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;
getStatusOrBuilder
in interface ClusterOperationMetadataOrBuilder
public java.util.List<ClusterOperationStatus> getStatusHistoryList()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
getStatusHistoryList
in interface ClusterOperationMetadataOrBuilder
public int getStatusHistoryCount()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
getStatusHistoryCount
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationStatus getStatusHistory(int index)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
getStatusHistory
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus value)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder addStatusHistory(ClusterOperationStatus value)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus value)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder addStatusHistory(ClusterOperationStatus.Builder builderForValue)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder addAllStatusHistory(java.lang.Iterable<? extends ClusterOperationStatus> values)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder clearStatusHistory()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationMetadata.Builder removeStatusHistory(int index)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationStatus.Builder getStatusHistoryBuilder(int index)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
getStatusHistoryOrBuilder
in interface ClusterOperationMetadataOrBuilder
public java.util.List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
getStatusHistoryOrBuilderList
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationStatus.Builder addStatusHistoryBuilder()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public ClusterOperationStatus.Builder addStatusHistoryBuilder(int index)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public java.util.List<ClusterOperationStatus.Builder> getStatusHistoryBuilderList()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;
public java.lang.String getOperationType()
Output-only. The operation type.
string operation_type = 11;
getOperationType
in interface ClusterOperationMetadataOrBuilder
public ByteString getOperationTypeBytes()
Output-only. The operation type.
string operation_type = 11;
getOperationTypeBytes
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder setOperationType(java.lang.String value)
Output-only. The operation type.
string operation_type = 11;
public ClusterOperationMetadata.Builder clearOperationType()
Output-only. The operation type.
string operation_type = 11;
public ClusterOperationMetadata.Builder setOperationTypeBytes(ByteString value)
Output-only. The operation type.
string operation_type = 11;
public java.lang.String getDescription()
Output-only. Short description of operation.
string description = 12;
getDescription
in interface ClusterOperationMetadataOrBuilder
public ByteString getDescriptionBytes()
Output-only. Short description of operation.
string description = 12;
getDescriptionBytes
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder setDescription(java.lang.String value)
Output-only. Short description of operation.
string description = 12;
public ClusterOperationMetadata.Builder clearDescription()
Output-only. Short description of operation.
string description = 12;
public ClusterOperationMetadata.Builder setDescriptionBytes(ByteString value)
Output-only. Short description of operation.
string description = 12;
public int getLabelsCount()
ClusterOperationMetadataOrBuilder
Output-only. Labels associated with the operation
map<string, string> labels = 13;
getLabelsCount
in interface ClusterOperationMetadataOrBuilder
public boolean containsLabels(java.lang.String key)
Output-only. Labels associated with the operation
map<string, string> labels = 13;
containsLabels
in interface ClusterOperationMetadataOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap()
instead.getLabels
in interface ClusterOperationMetadataOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getLabelsMap()
Output-only. Labels associated with the operation
map<string, string> labels = 13;
getLabelsMap
in interface ClusterOperationMetadataOrBuilder
public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue)
Output-only. Labels associated with the operation
map<string, string> labels = 13;
getLabelsOrDefault
in interface ClusterOperationMetadataOrBuilder
public java.lang.String getLabelsOrThrow(java.lang.String key)
Output-only. Labels associated with the operation
map<string, string> labels = 13;
getLabelsOrThrow
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder clearLabels()
public ClusterOperationMetadata.Builder removeLabels(java.lang.String key)
Output-only. Labels associated with the operation
map<string, string> labels = 13;
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableLabels()
public ClusterOperationMetadata.Builder putLabels(java.lang.String key, java.lang.String value)
Output-only. Labels associated with the operation
map<string, string> labels = 13;
public ClusterOperationMetadata.Builder putAllLabels(java.util.Map<java.lang.String,java.lang.String> values)
Output-only. Labels associated with the operation
map<string, string> labels = 13;
public ProtocolStringList getWarningsList()
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
getWarningsList
in interface ClusterOperationMetadataOrBuilder
public int getWarningsCount()
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
getWarningsCount
in interface ClusterOperationMetadataOrBuilder
public java.lang.String getWarnings(int index)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
getWarnings
in interface ClusterOperationMetadataOrBuilder
public ByteString getWarningsBytes(int index)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
getWarningsBytes
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationMetadata.Builder setWarnings(int index, java.lang.String value)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
public ClusterOperationMetadata.Builder addWarnings(java.lang.String value)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
public ClusterOperationMetadata.Builder addAllWarnings(java.lang.Iterable<java.lang.String> values)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
public ClusterOperationMetadata.Builder clearWarnings()
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
public ClusterOperationMetadata.Builder addWarningsBytes(ByteString value)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;
public final ClusterOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public final ClusterOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>