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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 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 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 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.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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ClusterOperationMetadata parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterOperationMetadata parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterOperationMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterOperationMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterOperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ClusterOperationMetadata parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ClusterOperationMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ClusterOperationMetadata parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ClusterOperationMetadata parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ClusterOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ClusterOperationMetadata.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ClusterOperationMetadata.Builder newBuilder()
public static ClusterOperationMetadata.Builder newBuilder(ClusterOperationMetadata prototype)
public ClusterOperationMetadata.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ClusterOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ClusterOperationMetadata getDefaultInstance()
public static Parser<ClusterOperationMetadata> parser()
public Parser<ClusterOperationMetadata> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ClusterOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder