public static final class BatchOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder> implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.Protobuf type
google.cloud.dataproc.v1.BatchOperationMetadata| Modifier and Type | Method and Description |
|---|---|
BatchOperationMetadata.Builder |
addAllWarnings(Iterable<String> values)
Warnings encountered during operation execution.
|
BatchOperationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchOperationMetadata.Builder |
addWarnings(String value)
Warnings encountered during operation execution.
|
BatchOperationMetadata.Builder |
addWarningsBytes(com.google.protobuf.ByteString value)
Warnings encountered during operation execution.
|
BatchOperationMetadata |
build() |
BatchOperationMetadata |
buildPartial() |
BatchOperationMetadata.Builder |
clear() |
BatchOperationMetadata.Builder |
clearBatch()
Name of the batch for the operation.
|
BatchOperationMetadata.Builder |
clearBatchUuid()
Batch UUID for the operation.
|
BatchOperationMetadata.Builder |
clearCreateTime()
The time when the operation was created.
|
BatchOperationMetadata.Builder |
clearDescription()
Short description of the operation.
|
BatchOperationMetadata.Builder |
clearDoneTime()
The time when the operation finished.
|
BatchOperationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchOperationMetadata.Builder |
clearLabels() |
BatchOperationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchOperationMetadata.Builder |
clearOperationType()
The operation type.
|
BatchOperationMetadata.Builder |
clearWarnings()
Warnings encountered during operation execution.
|
BatchOperationMetadata.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with the operation.
|
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.Timestamp.Builder |
getCreateTimeBuilder()
The time when the operation was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time when the operation was created.
|
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.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getDoneTime()
The time when the operation finished.
|
com.google.protobuf.Timestamp.Builder |
getDoneTimeBuilder()
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.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
BatchOperationMetadata.BatchOperationType |
getOperationType()
The operation type.
|
int |
getOperationTypeValue()
The operation type.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
BatchOperationMetadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
|
BatchOperationMetadata.Builder |
mergeDoneTime(com.google.protobuf.Timestamp value)
The time when the operation finished.
|
BatchOperationMetadata.Builder |
mergeFrom(BatchOperationMetadata other) |
BatchOperationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchOperationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchOperationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchOperationMetadata.Builder |
putAllLabels(Map<String,String> values)
Labels associated with the operation.
|
BatchOperationMetadata.Builder |
putLabels(String key,
String value)
Labels associated with the operation.
|
BatchOperationMetadata.Builder |
removeLabels(String key)
Labels associated with the operation.
|
BatchOperationMetadata.Builder |
setBatch(String value)
Name of the batch for the operation.
|
BatchOperationMetadata.Builder |
setBatchBytes(com.google.protobuf.ByteString value)
Name of the batch for the operation.
|
BatchOperationMetadata.Builder |
setBatchUuid(String value)
Batch UUID for the operation.
|
BatchOperationMetadata.Builder |
setBatchUuidBytes(com.google.protobuf.ByteString value)
Batch UUID for the operation.
|
BatchOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation was created.
|
BatchOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
|
BatchOperationMetadata.Builder |
setDescription(String value)
Short description of the operation.
|
BatchOperationMetadata.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Short description of the operation.
|
BatchOperationMetadata.Builder |
setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation finished.
|
BatchOperationMetadata.Builder |
setDoneTime(com.google.protobuf.Timestamp value)
The time when the operation finished.
|
BatchOperationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchOperationMetadata.Builder |
setOperationType(BatchOperationMetadata.BatchOperationType value)
The operation type.
|
BatchOperationMetadata.Builder |
setOperationTypeValue(int value)
The operation type.
|
BatchOperationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchOperationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchOperationMetadata.Builder |
setWarnings(int index,
String value)
Warnings encountered during operation execution.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>IOExceptionpublic String getBatch()
Name of the batch for the operation.
string batch = 1;getBatch in interface BatchOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;getBatchBytes in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setBatch(String value)
Name of the batch for the operation.
string batch = 1;value - The batch to set.public BatchOperationMetadata.Builder clearBatch()
Name of the batch for the operation.
string batch = 1;public BatchOperationMetadata.Builder setBatchBytes(com.google.protobuf.ByteString value)
Name of the batch for the operation.
string batch = 1;value - The bytes for batch to set.public String getBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;getBatchUuid in interface BatchOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;getBatchUuidBytes in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setBatchUuid(String value)
Batch UUID for the operation.
string batch_uuid = 2;value - The batchUuid to set.public BatchOperationMetadata.Builder clearBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;public BatchOperationMetadata.Builder setBatchUuidBytes(com.google.protobuf.ByteString value)
Batch UUID for the operation.
string batch_uuid = 2;value - The bytes for batchUuid to set.public boolean hasCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;hasCreateTime in interface BatchOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;getCreateTime in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public BatchOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public BatchOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public BatchOperationMetadata.Builder clearCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;getCreateTimeOrBuilder in interface BatchOperationMetadataOrBuilderpublic boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;hasDoneTime in interface BatchOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;getDoneTime in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp value)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;public BatchOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;public BatchOperationMetadata.Builder mergeDoneTime(com.google.protobuf.Timestamp value)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;public BatchOperationMetadata.Builder clearDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;public com.google.protobuf.Timestamp.Builder getDoneTimeBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;public com.google.protobuf.TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;getDoneTimeOrBuilder in interface BatchOperationMetadataOrBuilderpublic int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
getOperationTypeValue in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setOperationTypeValue(int value)
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
value - The enum numeric value on the wire for operationType to set.public BatchOperationMetadata.BatchOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
getOperationType in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setOperationType(BatchOperationMetadata.BatchOperationType value)
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
value - The operationType to set.public BatchOperationMetadata.Builder clearOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
public String getDescription()
Short description of the operation.
string description = 7;getDescription in interface BatchOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;getDescriptionBytes in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder setDescription(String value)
Short description of the operation.
string description = 7;value - The description to set.public BatchOperationMetadata.Builder clearDescription()
Short description of the operation.
string description = 7;public BatchOperationMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Short description of the operation.
string description = 7;value - The bytes for description to set.public int getLabelsCount()
BatchOperationMetadataOrBuilderLabels associated with the operation.
map<string, string> labels = 8;getLabelsCount in interface BatchOperationMetadataOrBuilderpublic 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 BatchOperationMetadataOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;getLabelsMap in interface BatchOperationMetadataOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;getLabelsOrDefault in interface BatchOperationMetadataOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;getLabelsOrThrow in interface BatchOperationMetadataOrBuilderpublic BatchOperationMetadata.Builder clearLabels()
public BatchOperationMetadata.Builder removeLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;@Deprecated public Map<String,String> getMutableLabels()
public BatchOperationMetadata.Builder putLabels(String key, String value)
Labels associated with the operation.
map<string, string> labels = 8;public BatchOperationMetadata.Builder putAllLabels(Map<String,String> values)
Labels associated with the operation.
map<string, string> labels = 8;public com.google.protobuf.ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;getWarningsList in interface BatchOperationMetadataOrBuilderpublic int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;getWarningsCount in interface BatchOperationMetadataOrBuilderpublic String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;getWarnings in interface BatchOperationMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getWarningsBytes(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;getWarningsBytes in interface BatchOperationMetadataOrBuilderindex - The index of the value to return.public BatchOperationMetadata.Builder setWarnings(int index, String value)
Warnings encountered during operation execution.
repeated string warnings = 9;index - The index to set the value at.value - The warnings to set.public BatchOperationMetadata.Builder addWarnings(String value)
Warnings encountered during operation execution.
repeated string warnings = 9;value - The warnings to add.public BatchOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Warnings encountered during operation execution.
repeated string warnings = 9;values - The warnings to add.public BatchOperationMetadata.Builder clearWarnings()
Warnings encountered during operation execution.
repeated string warnings = 9;public BatchOperationMetadata.Builder addWarningsBytes(com.google.protobuf.ByteString value)
Warnings encountered during operation execution.
repeated string warnings = 9;value - The bytes of the warnings to add.public final BatchOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>public final BatchOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.