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, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
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, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
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 String getClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterName
in interface ClusterOperationMetadataOrBuilder
public ByteString getClusterNameBytes()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterNameBytes
in interface ClusterOperationMetadataOrBuilder
public String getClusterUuid()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterUuid
in interface ClusterOperationMetadataOrBuilder
public ByteString getClusterUuidBytes()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterUuidBytes
in interface ClusterOperationMetadataOrBuilder
public boolean hasStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStatus
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatus
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusOrBuilder
in interface ClusterOperationMetadataOrBuilder
public List<ClusterOperationStatus> getStatusHistoryList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryList
in interface ClusterOperationMetadataOrBuilder
public List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilderList
in interface ClusterOperationMetadataOrBuilder
public int getStatusHistoryCount()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryCount
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationStatus getStatusHistory(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistory
in interface ClusterOperationMetadataOrBuilder
public ClusterOperationStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilder
in interface ClusterOperationMetadataOrBuilder
public String getOperationType()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationType
in interface ClusterOperationMetadataOrBuilder
public ByteString getOperationTypeBytes()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationTypeBytes
in interface ClusterOperationMetadataOrBuilder
public String getDescription()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDescription
in interface ClusterOperationMetadataOrBuilder
public ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDescriptionBytes
in interface ClusterOperationMetadataOrBuilder
public int getLabelsCount()
ClusterOperationMetadataOrBuilder
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsCount
in interface ClusterOperationMetadataOrBuilder
public boolean containsLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsLabels
in interface ClusterOperationMetadataOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface ClusterOperationMetadataOrBuilder
public Map<String,String> getLabelsMap()
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsMap
in interface ClusterOperationMetadataOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrDefault
in interface ClusterOperationMetadataOrBuilder
public String getLabelsOrThrow(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrThrow
in interface ClusterOperationMetadataOrBuilder
public ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarningsList
in interface ClusterOperationMetadataOrBuilder
public int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarningsCount
in interface ClusterOperationMetadataOrBuilder
public String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarnings
in interface ClusterOperationMetadataOrBuilder
index
- The index of the element to return.public ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarningsBytes
in interface ClusterOperationMetadataOrBuilder
index
- The index of the value to return.public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(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(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ClusterOperationMetadata parseFrom(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(InputStream input) throws IOException
IOException
public static ClusterOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClusterOperationMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClusterOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClusterOperationMetadata parseFrom(CodedInputStream input) throws IOException
IOException
public static ClusterOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
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
Copyright © 2022 Google LLC. All rights reserved.