public final class ClusterOperationMetadata extends GeneratedMessageV3 implements ClusterOperationMetadataOrBuilder
Metadata describing the operation.
Protobuf type google.cloud.dataproc.v1.ClusterOperationMetadata
Static Fields
public static final int CLUSTER_NAME_FIELD_NUMBER
Field Value
public static final int CLUSTER_UUID_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
public static final int LABELS_FIELD_NUMBER
Field Value
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value
public static final int STATUS_FIELD_NUMBER
Field Value
STATUS_HISTORY_FIELD_NUMBER
public static final int STATUS_HISTORY_FIELD_NUMBER
Field Value
public static final int WARNINGS_FIELD_NUMBER
Field Value
Static Methods
public static ClusterOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ClusterOperationMetadata.Builder newBuilder()
Returns
public static ClusterOperationMetadata.Builder newBuilder(ClusterOperationMetadata prototype)
Parameter
Returns
public static ClusterOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClusterOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ClusterOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ClusterOperationMetadata> parser()
Returns
Methods
public boolean containsLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String getClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The clusterName.
|
public ByteString getClusterNameBytes()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for clusterName.
|
public String getClusterUuid()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The clusterUuid.
|
public ByteString getClusterUuidBytes()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for clusterUuid.
|
public ClusterOperationMetadata getDefaultInstanceForType()
Returns
public String getDescription()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for description.
|
public Map<String,String> getLabels()
Returns
public int getLabelsCount()
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Map<String,String> getLabelsMap()
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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];
Parameters
Returns
public String getLabelsOrThrow(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
public String getOperationType()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The operationType.
|
public ByteString getOperationTypeBytes()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for operationType.
|
public Parser<ClusterOperationMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStatusHistory(int index)
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];
Parameter
Returns
getStatusHistoryCount()
public int getStatusHistoryCount()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStatusHistoryList()
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];
Returns
getStatusHistoryOrBuilder(int index)
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];
Parameter
Returns
getStatusHistoryOrBuilderList()
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];
Returns
Type | Description |
List<? extends com.google.cloud.dataproc.v1.ClusterOperationStatusOrBuilder> | |
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The warnings at the given index.
|
public ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the warnings at the given index.
|
public int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The count of warnings.
|
public ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public boolean hasStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the status field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ClusterOperationMetadata.Builder newBuilderForType()
Returns
protected ClusterOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ClusterOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions