Send feedback
Class BatchOperationMetadata (4.26.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.26.0keyboard_arrow_down
public final class BatchOperationMetadata extends GeneratedMessageV3 implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.
Protobuf type google.cloud.dataproc.v1.BatchOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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;
Returns
Type
Description
Timestamp
The doneTime.
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;
Returns
Type
Description
String
public String getLabelsOrThrow ( String key )
Labels associated with the operation.
map<string, string> labels = 8;
Parameter
Name
Description
key
String
Returns
Type
Description
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 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 )
Returns
Type
Description
Object
Overrides
public BatchOperationMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[],[]]