Package com.google.cloud.dataproc.v1
Class BatchOperationMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
- com.google.cloud.dataproc.v1.BatchOperationMetadata.Builder
-
- All Implemented Interfaces:
BatchOperationMetadataOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BatchOperationMetadata
public static final class BatchOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder> implements BatchOperationMetadataOrBuilder
Metadata describing the Batch operation.
Protobuf typegoogle.cloud.dataproc.v1.BatchOperationMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(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 value)
The time when the operation was created.BatchOperationMetadata.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
The time when the operation finished.BatchOperationMetadata.Builder
setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue)
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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<BatchOperationMetadata.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
clear
public BatchOperationMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
getDefaultInstanceForType
public BatchOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchOperationMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchOperationMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchOperationMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
setField
public BatchOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
clearField
public BatchOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
clearOneof
public BatchOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
setRepeatedField
public BatchOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
addRepeatedField
public BatchOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
mergeFrom
public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>
-
mergeFrom
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
mergeFrom
public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>
- Throws:
IOException
-
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.
-
setBatch
public BatchOperationMetadata.Builder setBatch(String value)
Name of the batch for the operation.
string batch = 1;
- Parameters:
value
- The batch to set.- Returns:
- This builder for chaining.
-
clearBatch
public BatchOperationMetadata.Builder clearBatch()
Name of the batch for the operation.
string batch = 1;
- Returns:
- This builder for chaining.
-
setBatchBytes
public BatchOperationMetadata.Builder setBatchBytes(com.google.protobuf.ByteString value)
Name of the batch for the operation.
string batch = 1;
- Parameters:
value
- The bytes for batch to set.- Returns:
- This builder for chaining.
-
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.
-
setBatchUuid
public BatchOperationMetadata.Builder setBatchUuid(String value)
Batch UUID for the operation.
string batch_uuid = 2;
- Parameters:
value
- The batchUuid to set.- Returns:
- This builder for chaining.
-
clearBatchUuid
public BatchOperationMetadata.Builder clearBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;
- Returns:
- This builder for chaining.
-
setBatchUuidBytes
public BatchOperationMetadata.Builder setBatchUuidBytes(com.google.protobuf.ByteString value)
Batch UUID for the operation.
string batch_uuid = 2;
- Parameters:
value
- The bytes for batchUuid to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public BatchOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
-
setCreateTime
public BatchOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
-
mergeCreateTime
public BatchOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
-
clearCreateTime
public BatchOperationMetadata.Builder clearCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
-
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.
-
setDoneTime
public BatchOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp value)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
-
setDoneTime
public BatchOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
-
mergeDoneTime
public BatchOperationMetadata.Builder mergeDoneTime(com.google.protobuf.Timestamp value)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
-
clearDoneTime
public BatchOperationMetadata.Builder clearDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
-
getDoneTimeBuilder
public com.google.protobuf.Timestamp.Builder getDoneTimeBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
-
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.
-
setOperationTypeValue
public BatchOperationMetadata.Builder setOperationTypeValue(int value)
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
- Parameters:
value
- The enum numeric value on the wire for operationType to set.- Returns:
- This builder for chaining.
-
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.
-
setOperationType
public BatchOperationMetadata.Builder setOperationType(BatchOperationMetadata.BatchOperationType value)
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
- Parameters:
value
- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
public BatchOperationMetadata.Builder clearOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
- Returns:
- This builder for chaining.
-
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.
-
setDescription
public BatchOperationMetadata.Builder setDescription(String value)
Short description of the operation.
string description = 7;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public BatchOperationMetadata.Builder clearDescription()
Short description of the operation.
string description = 7;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public BatchOperationMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Short description of the operation.
string description = 7;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
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
-
clearLabels
public BatchOperationMetadata.Builder clearLabels()
-
removeLabels
public BatchOperationMetadata.Builder removeLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public BatchOperationMetadata.Builder putLabels(String key, String value)
Labels associated with the operation.
map<string, string> labels = 8;
-
putAllLabels
public BatchOperationMetadata.Builder putAllLabels(Map<String,String> values)
Labels associated with the operation.
map<string, string> labels = 8;
-
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.
-
setWarnings
public BatchOperationMetadata.Builder setWarnings(int index, String value)
Warnings encountered during operation execution.
repeated string warnings = 9;
- Parameters:
index
- The index to set the value at.value
- The warnings to set.- Returns:
- This builder for chaining.
-
addWarnings
public BatchOperationMetadata.Builder addWarnings(String value)
Warnings encountered during operation execution.
repeated string warnings = 9;
- Parameters:
value
- The warnings to add.- Returns:
- This builder for chaining.
-
addAllWarnings
public BatchOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Warnings encountered during operation execution.
repeated string warnings = 9;
- Parameters:
values
- The warnings to add.- Returns:
- This builder for chaining.
-
clearWarnings
public BatchOperationMetadata.Builder clearWarnings()
Warnings encountered during operation execution.
repeated string warnings = 9;
- Returns:
- This builder for chaining.
-
addWarningsBytes
public BatchOperationMetadata.Builder addWarningsBytes(com.google.protobuf.ByteString value)
Warnings encountered during operation execution.
repeated string warnings = 9;
- Parameters:
value
- The bytes of the warnings to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
mergeUnknownFields
public final BatchOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
-