public final class BatchOperationMetadata extends GeneratedMessageV3 implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.Protobuf type
google.cloud.dataproc.v1.BatchOperationMetadata
Modifier and Type | Class and Description |
---|---|
static class |
BatchOperationMetadata.BatchOperationType
Operation type for Batch resources
|
static class |
BatchOperationMetadata.Builder
Metadata describing the Batch operation.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and 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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int BATCH_FIELD_NUMBER
public static final int BATCH_UUID_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int DONE_TIME_FIELD_NUMBER
public static final int OPERATION_TYPE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getBatch()
Name of the batch for the operation.
string batch = 1;
getBatch
in interface BatchOperationMetadataOrBuilder
public ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;
getBatchBytes
in interface BatchOperationMetadataOrBuilder
public String getBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;
getBatchUuid
in interface BatchOperationMetadataOrBuilder
public ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;
getBatchUuidBytes
in interface BatchOperationMetadataOrBuilder
public boolean hasCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
hasCreateTime
in interface BatchOperationMetadataOrBuilder
public Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
getCreateTime
in interface BatchOperationMetadataOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
getCreateTimeOrBuilder
in interface BatchOperationMetadataOrBuilder
public boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
hasDoneTime
in interface BatchOperationMetadataOrBuilder
public Timestamp getDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
getDoneTime
in interface BatchOperationMetadataOrBuilder
public TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
getDoneTimeOrBuilder
in interface BatchOperationMetadataOrBuilder
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
getOperationTypeValue
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.BatchOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
getOperationType
in interface BatchOperationMetadataOrBuilder
public String getDescription()
Short description of the operation.
string description = 7;
getDescription
in interface BatchOperationMetadataOrBuilder
public ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;
getDescriptionBytes
in interface BatchOperationMetadataOrBuilder
public int getLabelsCount()
BatchOperationMetadataOrBuilder
Labels associated with the operation.
map<string, string> labels = 8;
getLabelsCount
in interface BatchOperationMetadataOrBuilder
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
containsLabels
in interface BatchOperationMetadataOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface BatchOperationMetadataOrBuilder
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;
getLabelsMap
in interface BatchOperationMetadataOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;
getLabelsOrDefault
in interface BatchOperationMetadataOrBuilder
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;
getLabelsOrThrow
in interface BatchOperationMetadataOrBuilder
public ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;
getWarningsList
in interface BatchOperationMetadataOrBuilder
public int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;
getWarningsCount
in interface BatchOperationMetadataOrBuilder
public String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
getWarnings
in interface BatchOperationMetadataOrBuilder
index
- The index of the element to return.public ByteString getWarningsBytes(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
getWarningsBytes
in interface BatchOperationMetadataOrBuilder
index
- The index of the value to return.public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static BatchOperationMetadata parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BatchOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BatchOperationMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BatchOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BatchOperationMetadata parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BatchOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BatchOperationMetadata parseFrom(InputStream input) throws IOException
IOException
public static BatchOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BatchOperationMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BatchOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BatchOperationMetadata parseFrom(CodedInputStream input) throws IOException
IOException
public static BatchOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public BatchOperationMetadata.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static BatchOperationMetadata.Builder newBuilder()
public static BatchOperationMetadata.Builder newBuilder(BatchOperationMetadata prototype)
public BatchOperationMetadata.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected BatchOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static BatchOperationMetadata getDefaultInstance()
public static Parser<BatchOperationMetadata> parser()
public Parser<BatchOperationMetadata> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public BatchOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.