public final class ClusterOperationMetadata extends GeneratedMessageV3 implements ClusterOperationMetadataOrBuilder
Metadata describing the operation.Protobuf type
google.cloud.dataproc.v1.ClusterOperationMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterOperationMetadata.Builder
Metadata describing the operation.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_NAME_FIELD_NUMBER |
static int |
CLUSTER_UUID_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
OPERATION_TYPE_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
STATUS_HISTORY_FIELD_NUMBER |
static int |
WARNINGS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CLUSTER_NAME_FIELD_NUMBER
public static final int CLUSTER_UUID_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int STATUS_HISTORY_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getClusterName()
Output-only. Name of the cluster for the operation.
string cluster_name = 7;getClusterName in interface ClusterOperationMetadataOrBuilderpublic ByteString getClusterNameBytes()
Output-only. Name of the cluster for the operation.
string cluster_name = 7;getClusterNameBytes in interface ClusterOperationMetadataOrBuilderpublic java.lang.String getClusterUuid()
Output-only. Cluster UUID for the operation.
string cluster_uuid = 8;getClusterUuid in interface ClusterOperationMetadataOrBuilderpublic ByteString getClusterUuidBytes()
Output-only. Cluster UUID for the operation.
string cluster_uuid = 8;getClusterUuidBytes in interface ClusterOperationMetadataOrBuilderpublic 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 ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output-only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9;getStatusOrBuilder in interface ClusterOperationMetadataOrBuilderpublic java.util.List<ClusterOperationStatus> getStatusHistoryList()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;getStatusHistoryList in interface ClusterOperationMetadataOrBuilderpublic java.util.List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;getStatusHistoryOrBuilderList 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 ClusterOperationStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output-only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10;getStatusHistoryOrBuilder in interface ClusterOperationMetadataOrBuilderpublic java.lang.String getOperationType()
Output-only. The operation type.
string operation_type = 11;getOperationType in interface ClusterOperationMetadataOrBuilderpublic ByteString getOperationTypeBytes()
Output-only. The operation type.
string operation_type = 11;getOperationTypeBytes in interface ClusterOperationMetadataOrBuilderpublic java.lang.String getDescription()
Output-only. Short description of operation.
string description = 12;getDescription in interface ClusterOperationMetadataOrBuilderpublic ByteString getDescriptionBytes()
Output-only. Short description of operation.
string description = 12;getDescriptionBytes in interface ClusterOperationMetadataOrBuilderpublic int getLabelsCount()
ClusterOperationMetadataOrBuilderOutput-only. Labels associated with the operation
map<string, string> labels = 13;getLabelsCount in interface ClusterOperationMetadataOrBuilderpublic 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 ClusterOperationMetadataOrBuilderpublic 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 ClusterOperationMetadataOrBuilderpublic 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 ClusterOperationMetadataOrBuilderpublic java.lang.String getLabelsOrThrow(java.lang.String key)
Output-only. Labels associated with the operation
map<string, string> labels = 13;getLabelsOrThrow in interface ClusterOperationMetadataOrBuilderpublic 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 java.lang.String getWarnings(int index)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;getWarnings in interface ClusterOperationMetadataOrBuilderpublic ByteString getWarningsBytes(int index)
Output-only. Errors encountered during operation execution.
repeated string warnings = 14;getWarningsBytes in interface ClusterOperationMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ClusterOperationMetadata parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterOperationMetadata parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterOperationMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterOperationMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ClusterOperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClusterOperationMetadata parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ClusterOperationMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClusterOperationMetadata parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ClusterOperationMetadata parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ClusterOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ClusterOperationMetadata.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ClusterOperationMetadata.Builder newBuilder()
public static ClusterOperationMetadata.Builder newBuilder(ClusterOperationMetadata prototype)
public ClusterOperationMetadata.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ClusterOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ClusterOperationMetadata getDefaultInstance()
public static Parser<ClusterOperationMetadata> parser()
public Parser<ClusterOperationMetadata> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ClusterOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder