public final class BatchOperationMetadata extends GeneratedMessageV3 implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.
Protobuf type google.cloud.dataproc.v1.BatchOperationMetadata
Fields
public static final int BATCH_FIELD_NUMBER
Field Value
public static final int BATCH_UUID_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
public static final int DONE_TIME_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 WARNINGS_FIELD_NUMBER
Field Value
Methods
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
Name of the batch for the operation.
string batch = 1;
Returns
Type | Description |
String | The batch.
|
public ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;
Returns
public String getBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;
Returns
Type | Description |
String | The batchUuid.
|
public ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;
Returns
public Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns
public static BatchOperationMetadata getDefaultInstance()
Returns
public BatchOperationMetadata getDefaultInstanceForType()
Returns
public String getDescription()
Short description of the operation.
string description = 7;
Returns
Type | Description |
String | The description.
|
public ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;
Returns
Type | Description |
ByteString | The bytes for description.
|
public static final Descriptors.Descriptor getDescriptor()
Returns
public Timestamp getDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns
public TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns
public Map<String,String> getLabels()
Returns
public int getLabelsCount()
Labels associated with the operation.
map<string, string> labels = 8;
Returns
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;
Returns
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;
Parameters
Returns
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter
Returns
public BatchOperationMetadata.BatchOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
Returns
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
Returns
Type | Description |
int | The enum numeric value on the wire for operationType.
|
public Parser<BatchOperationMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
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)
Warnings encountered during operation execution.
repeated string warnings = 9;
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()
Warnings encountered during operation execution.
repeated string warnings = 9;
Returns
Type | Description |
int | The count of warnings.
|
public ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;
Returns
public boolean hasCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
public boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns
Type | Description |
boolean | Whether the doneTime 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 static BatchOperationMetadata.Builder newBuilder()
Returns
public static BatchOperationMetadata.Builder newBuilder(BatchOperationMetadata prototype)
Parameter
Returns
public BatchOperationMetadata.Builder newBuilderForType()
Returns
protected BatchOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static BatchOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static BatchOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static BatchOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<BatchOperationMetadata> parser()
Returns
public BatchOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions