public static final class ClusterOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder> implements ClusterOperationMetadataOrBuilder
Metadata describing the operation.Protobuf type
google.cloud.dataproc.v1.ClusterOperationMetadatagetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClusterOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClusterOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClusterOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder mergeFrom(ClusterOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterOperationMetadata.Builder>IOExceptionpublic String getClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7;getClusterName in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Output only. Name of the cluster for the operation.
string cluster_name = 7;getClusterNameBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setClusterName(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(com.google.protobuf.ByteString value)
Output only. Name of the cluster for the operation.
string cluster_name = 7;public String getClusterUuid()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8;getClusterUuid in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getClusterUuidBytes()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8;getClusterUuidBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setClusterUuid(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(com.google.protobuf.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 ClusterOperationMetadataOrBuilderpublic ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;getStatus in interface ClusterOperationMetadataOrBuilderpublic 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 ClusterOperationMetadataOrBuilderpublic List<ClusterOperationStatus> getStatusHistoryList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;getStatusHistoryList in interface ClusterOperationMetadataOrBuilderpublic int getStatusHistoryCount()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;getStatusHistoryCount in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationStatus getStatusHistory(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;getStatusHistory in interface ClusterOperationMetadataOrBuilderpublic 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(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 ClusterOperationMetadataOrBuilderpublic List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;getStatusHistoryOrBuilderList in interface ClusterOperationMetadataOrBuilderpublic 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 List<ClusterOperationStatus.Builder> getStatusHistoryBuilderList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;public String getOperationType()
Output only. The operation type.
string operation_type = 11;getOperationType in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getOperationTypeBytes()
Output only. The operation type.
string operation_type = 11;getOperationTypeBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setOperationType(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(com.google.protobuf.ByteString value)
Output only. The operation type.
string operation_type = 11;public String getDescription()
Output only. Short description of operation.
string description = 12;getDescription in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 12;getDescriptionBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setDescription(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(com.google.protobuf.ByteString value)
Output only. Short description of operation.
string description = 12;public int getLabelsCount()
ClusterOperationMetadataOrBuilderOutput only. Labels associated with the operation
map<string, string> labels = 13;getLabelsCount in interface ClusterOperationMetadataOrBuilderpublic boolean containsLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13;containsLabels in interface ClusterOperationMetadataOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ClusterOperationMetadataOrBuilderpublic Map<String,String> getLabelsMap()
Output only. Labels associated with the operation
map<string, string> labels = 13;getLabelsMap in interface ClusterOperationMetadataOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Output only. Labels associated with the operation
map<string, string> labels = 13;getLabelsOrDefault in interface ClusterOperationMetadataOrBuilderpublic String getLabelsOrThrow(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13;getLabelsOrThrow in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder clearLabels()
public ClusterOperationMetadata.Builder removeLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13;@Deprecated public Map<String,String> getMutableLabels()
public ClusterOperationMetadata.Builder putLabels(String key, String value)
Output only. Labels associated with the operation
map<string, string> labels = 13;public ClusterOperationMetadata.Builder putAllLabels(Map<String,String> values)
Output only. Labels associated with the operation
map<string, string> labels = 13;public com.google.protobuf.ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 14;getWarningsList in interface ClusterOperationMetadataOrBuilderpublic int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 14;getWarningsCount in interface ClusterOperationMetadataOrBuilderpublic String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14;getWarnings in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14;getWarningsBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setWarnings(int index, String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14;public ClusterOperationMetadata.Builder addWarnings(String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14;public ClusterOperationMetadata.Builder addAllWarnings(Iterable<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(com.google.protobuf.ByteString value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14;public final ClusterOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public final ClusterOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>Copyright © 2019 Google LLC. All rights reserved.