public static final class BatchOperationMetadata.Builder extends GeneratedMessageV3.Builder<BatchOperationMetadata.Builder> implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.Protobuf type
google.cloud.dataproc.v1.BatchOperationMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BatchOperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BatchOperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BatchOperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BatchOperationMetadata.Builder>
IOException
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 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(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 BatchOperationMetadataOrBuilder
public ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;
getBatchUuidBytes
in interface BatchOperationMetadataOrBuilder
public 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(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 BatchOperationMetadataOrBuilder
public Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
getCreateTime
in interface BatchOperationMetadataOrBuilder
public BatchOperationMetadata.Builder setCreateTime(Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
public BatchOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
public BatchOperationMetadata.Builder mergeCreateTime(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 Timestamp.Builder getCreateTimeBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
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 BatchOperationMetadata.Builder setDoneTime(Timestamp value)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
public BatchOperationMetadata.Builder setDoneTime(Timestamp.Builder builderForValue)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
public BatchOperationMetadata.Builder mergeDoneTime(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 Timestamp.Builder getDoneTimeBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
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.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 BatchOperationMetadataOrBuilder
public 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 BatchOperationMetadataOrBuilder
public ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;
getDescriptionBytes
in interface BatchOperationMetadataOrBuilder
public 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(ByteString value)
Short description of the operation.
string description = 7;
value
- The bytes for description to set.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 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 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 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(ByteString value)
Warnings encountered during operation execution.
repeated string warnings = 9;
value
- The bytes of the warnings to add.public final BatchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
public final BatchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.