Package com.google.cloud.dataproc.v1
Class BatchOperationMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataproc.v1.BatchOperationMetadata
-
- All Implemented Interfaces:
BatchOperationMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3 implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.
Protobuf typegoogle.cloud.dataproc.v1.BatchOperationMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchOperationMetadata.BatchOperationTypeOperation type for Batch resourcesstatic classBatchOperationMetadata.BuilderMetadata describing the Batch operation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBATCH_FIELD_NUMBERstatic intBATCH_UUID_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDONE_TIME_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intOPERATION_TYPE_FIELD_NUMBERstatic intWARNINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels associated with the operation.booleanequals(Object obj)StringgetBatch()Name of the batch for the operation.com.google.protobuf.ByteStringgetBatchBytes()Name of the batch for the operation.StringgetBatchUuid()Batch UUID for the operation.com.google.protobuf.ByteStringgetBatchUuidBytes()Batch UUID for the operation.com.google.protobuf.TimestampgetCreateTime()The time when the operation was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time when the operation was created.static BatchOperationMetadatagetDefaultInstance()BatchOperationMetadatagetDefaultInstanceForType()StringgetDescription()Short description of the operation.com.google.protobuf.ByteStringgetDescriptionBytes()Short description of the operation.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetDoneTime()The time when the operation finished.com.google.protobuf.TimestampOrBuildergetDoneTimeOrBuilder()The time when the operation finished.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels associated with the operation.Map<String,String>getLabelsMap()Labels associated with the operation.StringgetLabelsOrDefault(String key, String defaultValue)Labels associated with the operation.StringgetLabelsOrThrow(String key)Labels associated with the operation.BatchOperationMetadata.BatchOperationTypegetOperationType()The operation type.intgetOperationTypeValue()The operation type.com.google.protobuf.Parser<BatchOperationMetadata>getParserForType()intgetSerializedSize()StringgetWarnings(int index)Warnings encountered during operation execution.com.google.protobuf.ByteStringgetWarningsBytes(int index)Warnings encountered during operation execution.intgetWarningsCount()Warnings encountered during operation execution.com.google.protobuf.ProtocolStringListgetWarningsList()Warnings encountered during operation execution.booleanhasCreateTime()The time when the operation was created.booleanhasDoneTime()The time when the operation finished.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static BatchOperationMetadata.BuildernewBuilder()static BatchOperationMetadata.BuildernewBuilder(BatchOperationMetadata prototype)BatchOperationMetadata.BuildernewBuilderForType()protected BatchOperationMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BatchOperationMetadataparseDelimitedFrom(InputStream input)static BatchOperationMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationMetadataparseFrom(byte[] data)static BatchOperationMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationMetadataparseFrom(com.google.protobuf.ByteString data)static BatchOperationMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationMetadataparseFrom(com.google.protobuf.CodedInputStream input)static BatchOperationMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationMetadataparseFrom(InputStream input)static BatchOperationMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationMetadataparseFrom(ByteBuffer data)static BatchOperationMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BatchOperationMetadata>parser()BatchOperationMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BATCH_FIELD_NUMBER
public static final int BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BATCH_UUID_FIELD_NUMBER
public static final int BATCH_UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DONE_TIME_FIELD_NUMBER
public static final int DONE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPERATION_TYPE_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WARNINGS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getBatch
public String getBatch()
Name of the batch for the operation.
string batch = 1;- Specified by:
getBatchin interfaceBatchOperationMetadataOrBuilder- Returns:
- The batch.
-
getBatchBytes
public com.google.protobuf.ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;- Specified by:
getBatchBytesin interfaceBatchOperationMetadataOrBuilder- Returns:
- The bytes for batch.
-
getBatchUuid
public String getBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;- Specified by:
getBatchUuidin interfaceBatchOperationMetadataOrBuilder- Returns:
- The batchUuid.
-
getBatchUuidBytes
public com.google.protobuf.ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;- Specified by:
getBatchUuidBytesin interfaceBatchOperationMetadataOrBuilder- Returns:
- The bytes for batchUuid.
-
hasCreateTime
public boolean hasCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
hasCreateTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimeOrBuilderin interfaceBatchOperationMetadataOrBuilder
-
hasDoneTime
public boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;- Specified by:
hasDoneTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- Whether the doneTime field is set.
-
getDoneTime
public com.google.protobuf.Timestamp getDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;- Specified by:
getDoneTimein interfaceBatchOperationMetadataOrBuilder- Returns:
- The doneTime.
-
getDoneTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;- Specified by:
getDoneTimeOrBuilderin interfaceBatchOperationMetadataOrBuilder
-
getOperationTypeValue
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;- Specified by:
getOperationTypeValuein interfaceBatchOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
public BatchOperationMetadata.BatchOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;- Specified by:
getOperationTypein interfaceBatchOperationMetadataOrBuilder- Returns:
- The operationType.
-
getDescription
public String getDescription()
Short description of the operation.
string description = 7;- Specified by:
getDescriptionin interfaceBatchOperationMetadataOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;- Specified by:
getDescriptionBytesin interfaceBatchOperationMetadataOrBuilder- Returns:
- The bytes for description.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:BatchOperationMetadataOrBuilderLabels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceBatchOperationMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceBatchOperationMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceBatchOperationMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceBatchOperationMetadataOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceBatchOperationMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin interfaceBatchOperationMetadataOrBuilder
-
getWarningsList
public com.google.protobuf.ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;- Specified by:
getWarningsListin interfaceBatchOperationMetadataOrBuilder- Returns:
- A list containing the warnings.
-
getWarningsCount
public int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;- Specified by:
getWarningsCountin interfaceBatchOperationMetadataOrBuilder- Returns:
- The count of warnings.
-
getWarnings
public String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;- Specified by:
getWarningsin interfaceBatchOperationMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The warnings at the given index.
-
getWarningsBytes
public com.google.protobuf.ByteString getWarningsBytes(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;- Specified by:
getWarningsBytesin interfaceBatchOperationMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the warnings at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BatchOperationMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BatchOperationMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BatchOperationMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BatchOperationMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static BatchOperationMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BatchOperationMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public BatchOperationMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BatchOperationMetadata.Builder newBuilder()
-
newBuilder
public static BatchOperationMetadata.Builder newBuilder(BatchOperationMetadata prototype)
-
toBuilder
public BatchOperationMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BatchOperationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BatchOperationMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BatchOperationMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<BatchOperationMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BatchOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-