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 class
BatchOperationMetadata.BatchOperationType
Operation type for Batch resourcesstatic class
BatchOperationMetadata.Builder
Metadata 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 int
BATCH_FIELD_NUMBER
static int
BATCH_UUID_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DONE_TIME_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
OPERATION_TYPE_FIELD_NUMBER
static int
WARNINGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels associated with the operation.boolean
equals(Object obj)
String
getBatch()
Name of the batch for the operation.com.google.protobuf.ByteString
getBatchBytes()
Name of the batch for the operation.String
getBatchUuid()
Batch UUID for the operation.com.google.protobuf.ByteString
getBatchUuidBytes()
Batch UUID for the operation.com.google.protobuf.Timestamp
getCreateTime()
The time when the operation was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The time when the operation was created.static BatchOperationMetadata
getDefaultInstance()
BatchOperationMetadata
getDefaultInstanceForType()
String
getDescription()
Short description of the operation.com.google.protobuf.ByteString
getDescriptionBytes()
Short description of the operation.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Timestamp
getDoneTime()
The time when the operation finished.com.google.protobuf.TimestampOrBuilder
getDoneTimeOrBuilder()
The time when the operation finished.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels associated with the operation.Map<String,String>
getLabelsMap()
Labels associated with the operation.String
getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.String
getLabelsOrThrow(String key)
Labels associated with the operation.BatchOperationMetadata.BatchOperationType
getOperationType()
The operation type.int
getOperationTypeValue()
The operation type.com.google.protobuf.Parser<BatchOperationMetadata>
getParserForType()
int
getSerializedSize()
String
getWarnings(int index)
Warnings encountered during operation execution.com.google.protobuf.ByteString
getWarningsBytes(int index)
Warnings encountered during operation execution.int
getWarningsCount()
Warnings encountered during operation execution.com.google.protobuf.ProtocolStringList
getWarningsList()
Warnings encountered during operation execution.boolean
hasCreateTime()
The time when the operation was created.boolean
hasDoneTime()
The time when the operation finished.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static BatchOperationMetadata.Builder
newBuilder()
static BatchOperationMetadata.Builder
newBuilder(BatchOperationMetadata prototype)
BatchOperationMetadata.Builder
newBuilderForType()
protected BatchOperationMetadata.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static BatchOperationMetadata
parseDelimitedFrom(InputStream input)
static BatchOperationMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchOperationMetadata
parseFrom(byte[] data)
static BatchOperationMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchOperationMetadata
parseFrom(com.google.protobuf.ByteString data)
static BatchOperationMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchOperationMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static BatchOperationMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchOperationMetadata
parseFrom(InputStream input)
static BatchOperationMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BatchOperationMetadata
parseFrom(ByteBuffer data)
static BatchOperationMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<BatchOperationMetadata>
parser()
BatchOperationMetadata.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getBatch
public String getBatch()
Name of the batch for the operation.
string batch = 1;
- Specified by:
getBatch
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- The batch.
-
getBatchBytes
public com.google.protobuf.ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;
- Specified by:
getBatchBytes
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- The bytes for batch.
-
getBatchUuid
public String getBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;
- Specified by:
getBatchUuid
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- The batchUuid.
-
getBatchUuidBytes
public com.google.protobuf.ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;
- Specified by:
getBatchUuidBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceBatchOperationMetadataOrBuilder
-
hasDoneTime
public boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
- Specified by:
hasDoneTime
in 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:
getDoneTime
in 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:
getDoneTimeOrBuilder
in interfaceBatchOperationMetadataOrBuilder
-
getOperationTypeValue
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
- Specified by:
getOperationTypeValue
in 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:
getOperationType
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- The operationType.
-
getDescription
public String getDescription()
Short description of the operation.
string description = 7;
- Specified by:
getDescription
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;
- Specified by:
getDescriptionBytes
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- The bytes for description.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:BatchOperationMetadataOrBuilder
Labels associated with the operation.
map<string, string> labels = 8;
- Specified by:
getLabelsCount
in interfaceBatchOperationMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
- Specified by:
containsLabels
in interfaceBatchOperationMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceBatchOperationMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;
- Specified by:
getLabelsMap
in interfaceBatchOperationMetadataOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;
- Specified by:
getLabelsOrDefault
in interfaceBatchOperationMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;
- Specified by:
getLabelsOrThrow
in interfaceBatchOperationMetadataOrBuilder
-
getWarningsList
public com.google.protobuf.ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;
- Specified by:
getWarningsList
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- A list containing the warnings.
-
getWarningsCount
public int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;
- Specified by:
getWarningsCount
in interfaceBatchOperationMetadataOrBuilder
- Returns:
- The count of warnings.
-
getWarnings
public String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
- Specified by:
getWarnings
in 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:
getWarningsBytes
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BatchOperationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BatchOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-