public final class BatchOperationMetadata extends GeneratedMessageV3 implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.
Protobuf type google.cloud.dataproc.v1.BatchOperationMetadata
Static Fields
public static final int BATCH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int BATCH_UUID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DONE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int WARNINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static BatchOperationMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BatchOperationMetadata.Builder newBuilder()
public static BatchOperationMetadata.Builder newBuilder(BatchOperationMetadata prototype)
public static BatchOperationMetadata parseDelimitedFrom(InputStream input)
public static BatchOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchOperationMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static BatchOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchOperationMetadata parseFrom(ByteString data)
public static BatchOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchOperationMetadata parseFrom(CodedInputStream input)
public static BatchOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchOperationMetadata parseFrom(InputStream input)
public static BatchOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchOperationMetadata parseFrom(ByteBuffer data)
public static BatchOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BatchOperationMetadata> parser()
Methods
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter |
---|
Name | Description |
key | String
|
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Type | Description |
ByteString | The bytes for batch.
|
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 |
---|
Type | Description |
ByteString | The bytes for batchUuid.
|
public Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
public BatchOperationMetadata getDefaultInstanceForType()
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 Timestamp getDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
public TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
public Map<String,String> getLabels()
public int getLabelsCount()
Labels associated with the operation.
map<string, string> labels = 8;
Returns |
---|
Type | Description |
int | |
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter |
---|
Name | Description |
key | String
|
public BatchOperationMetadata.BatchOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
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()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public final UnknownFieldSet getUnknownFields()
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;
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public BatchOperationMetadata.Builder newBuilderForType()
protected BatchOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public BatchOperationMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides