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.BuilderaddAllWarnings(Iterable<String> values)Warnings encountered during operation execution.BatchOperationMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchOperationMetadata.BuilderaddWarnings(String value)Warnings encountered during operation execution.BatchOperationMetadata.BuilderaddWarningsBytes(com.google.protobuf.ByteString value)Warnings encountered during operation execution.BatchOperationMetadatabuild()BatchOperationMetadatabuildPartial()BatchOperationMetadata.Builderclear()BatchOperationMetadata.BuilderclearBatch()Name of the batch for the operation.BatchOperationMetadata.BuilderclearBatchUuid()Batch UUID for the operation.BatchOperationMetadata.BuilderclearCreateTime()The time when the operation was created.BatchOperationMetadata.BuilderclearDescription()Short description of the operation.BatchOperationMetadata.BuilderclearDoneTime()The time when the operation finished.BatchOperationMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchOperationMetadata.BuilderclearLabels()BatchOperationMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchOperationMetadata.BuilderclearOperationType()The operation type.BatchOperationMetadata.BuilderclearWarnings()Warnings encountered during operation execution.BatchOperationMetadata.Builderclone()booleancontainsLabels(String key)Labels associated with the operation.StringgetBatch()Name of the batch for the operation.com.google.protobuf.ByteStringgetBatchBytes()Name of the batch for the operation.StringgetBatchUuid()Batch UUID for the operation.com.google.protobuf.ByteStringgetBatchUuidBytes()Batch UUID for the operation.com.google.protobuf.TimestampgetCreateTime()The time when the operation was created.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()The time when the operation was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time when the operation was created.BatchOperationMetadatagetDefaultInstanceForType()StringgetDescription()Short description of the operation.com.google.protobuf.ByteStringgetDescriptionBytes()Short description of the operation.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetDoneTime()The time when the operation finished.com.google.protobuf.Timestamp.BuildergetDoneTimeBuilder()The time when the operation finished.com.google.protobuf.TimestampOrBuildergetDoneTimeOrBuilder()The time when the operation finished.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels associated with the operation.Map<String,String>getLabelsMap()Labels associated with the operation.StringgetLabelsOrDefault(String key, String defaultValue)Labels associated with the operation.StringgetLabelsOrThrow(String key)Labels associated with the operation.Map<String,String>getMutableLabels()Deprecated.BatchOperationMetadata.BatchOperationTypegetOperationType()The operation type.intgetOperationTypeValue()The operation type.StringgetWarnings(int index)Warnings encountered during operation execution.com.google.protobuf.ByteStringgetWarningsBytes(int index)Warnings encountered during operation execution.intgetWarningsCount()Warnings encountered during operation execution.com.google.protobuf.ProtocolStringListgetWarningsList()Warnings encountered during operation execution.booleanhasCreateTime()The time when the operation was created.booleanhasDoneTime()The time when the operation finished.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()BatchOperationMetadata.BuildermergeCreateTime(com.google.protobuf.Timestamp value)The time when the operation was created.BatchOperationMetadata.BuildermergeDoneTime(com.google.protobuf.Timestamp value)The time when the operation finished.BatchOperationMetadata.BuildermergeFrom(BatchOperationMetadata other)BatchOperationMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchOperationMetadata.BuildermergeFrom(com.google.protobuf.Message other)BatchOperationMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchOperationMetadata.BuilderputAllLabels(Map<String,String> values)Labels associated with the operation.BatchOperationMetadata.BuilderputLabels(String key, String value)Labels associated with the operation.BatchOperationMetadata.BuilderremoveLabels(String key)Labels associated with the operation.BatchOperationMetadata.BuildersetBatch(String value)Name of the batch for the operation.BatchOperationMetadata.BuildersetBatchBytes(com.google.protobuf.ByteString value)Name of the batch for the operation.BatchOperationMetadata.BuildersetBatchUuid(String value)Batch UUID for the operation.BatchOperationMetadata.BuildersetBatchUuidBytes(com.google.protobuf.ByteString value)Batch UUID for the operation.BatchOperationMetadata.BuildersetCreateTime(com.google.protobuf.Timestamp value)The time when the operation was created.BatchOperationMetadata.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the operation was created.BatchOperationMetadata.BuildersetDescription(String value)Short description of the operation.BatchOperationMetadata.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Short description of the operation.BatchOperationMetadata.BuildersetDoneTime(com.google.protobuf.Timestamp value)The time when the operation finished.BatchOperationMetadata.BuildersetDoneTime(com.google.protobuf.Timestamp.Builder builderForValue)The time when the operation finished.BatchOperationMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchOperationMetadata.BuildersetOperationType(BatchOperationMetadata.BatchOperationType value)The operation type.BatchOperationMetadata.BuildersetOperationTypeValue(int value)The operation type.BatchOperationMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchOperationMetadata.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchOperationMetadata.BuildersetWarnings(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
clear
public BatchOperationMetadata.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
getDefaultInstanceForType
public BatchOperationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchOperationMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchOperationMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchOperationMetadata.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
setField
public BatchOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
clearField
public BatchOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
clearOneof
public BatchOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
setRepeatedField
public BatchOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
addRepeatedField
public BatchOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
mergeFrom
public BatchOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationMetadata.Builder>
-
mergeFrom
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getBatchin interfaceBatchOperationMetadataOrBuilder- Returns:
- The batch.
-
getBatchBytes
public com.google.protobuf.ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;- Specified by:
getBatchBytesin 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:
getBatchUuidin interfaceBatchOperationMetadataOrBuilder- Returns:
- The batchUuid.
-
getBatchUuidBytes
public com.google.protobuf.ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;- Specified by:
getBatchUuidBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin interfaceBatchOperationMetadataOrBuilder
-
hasDoneTime
public boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;- Specified by:
hasDoneTimein 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:
getDoneTimein 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:
getDoneTimeOrBuilderin interfaceBatchOperationMetadataOrBuilder
-
getOperationTypeValue
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;- Specified by:
getOperationTypeValuein 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:
getOperationTypein 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:
getDescriptionin interfaceBatchOperationMetadataOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;- Specified by:
getDescriptionBytesin 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:BatchOperationMetadataOrBuilderLabels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceBatchOperationMetadataOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceBatchOperationMetadataOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceBatchOperationMetadataOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceBatchOperationMetadataOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceBatchOperationMetadataOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin 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:
getWarningsListin interfaceBatchOperationMetadataOrBuilder- Returns:
- A list containing the warnings.
-
getWarningsCount
public int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;- Specified by:
getWarningsCountin interfaceBatchOperationMetadataOrBuilder- Returns:
- The count of warnings.
-
getWarnings
public String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;- Specified by:
getWarningsin 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:
getWarningsBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
mergeUnknownFields
public final BatchOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationMetadata.Builder>
-
-