- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchOperationMetadata.BuilderImplements
BatchOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllWarnings(Iterable<String> values)
public BatchOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Warnings encountered during operation execution.
repeated string warnings = 9;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The warnings to add. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
addWarnings(String value)
public BatchOperationMetadata.Builder addWarnings(String value)
Warnings encountered during operation execution.
repeated string warnings = 9;
Parameter | |
---|---|
Name | Description |
value | String The warnings to add. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
addWarningsBytes(ByteString value)
public BatchOperationMetadata.Builder addWarningsBytes(ByteString value)
Warnings encountered during operation execution.
repeated string warnings = 9;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the warnings to add. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
build()
public BatchOperationMetadata build()
Returns | |
---|---|
Type | Description |
BatchOperationMetadata |
buildPartial()
public BatchOperationMetadata buildPartial()
Returns | |
---|---|
Type | Description |
BatchOperationMetadata |
clear()
public BatchOperationMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
clearBatch()
public BatchOperationMetadata.Builder clearBatch()
Name of the batch for the operation.
string batch = 1;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearBatchUuid()
public BatchOperationMetadata.Builder clearBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearCreateTime()
public BatchOperationMetadata.Builder clearCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
clearDescription()
public BatchOperationMetadata.Builder clearDescription()
Short description of the operation.
string description = 7;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearDoneTime()
public BatchOperationMetadata.Builder clearDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
clearLabels()
public BatchOperationMetadata.Builder clearLabels()
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
clearOperationType()
public BatchOperationMetadata.Builder clearOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clearWarnings()
public BatchOperationMetadata.Builder clearWarnings()
Warnings encountered during operation execution.
repeated string warnings = 9;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
clone()
public BatchOperationMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getBatch()
public String getBatch()
Name of the batch for the operation.
string batch = 1;
Returns | |
---|---|
Type | Description |
String | The batch. |
getBatchBytes()
public ByteString getBatchBytes()
Name of the batch for the operation.
string batch = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for batch. |
getBatchUuid()
public String getBatchUuid()
Batch UUID for the operation.
string batch_uuid = 2;
Returns | |
---|---|
Type | Description |
String | The batchUuid. |
getBatchUuidBytes()
public ByteString getBatchUuidBytes()
Batch UUID for the operation.
string batch_uuid = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for batchUuid. |
getCreateTime()
public Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public BatchOperationMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BatchOperationMetadata |
getDescription()
public String getDescription()
Short description of the operation.
string description = 7;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDoneTime()
public Timestamp getDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns | |
---|---|
Type | Description |
Timestamp | The doneTime. |
getDoneTimeBuilder()
public Timestamp.Builder getDoneTimeBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns | |
---|---|
Type | Description |
Builder |
getDoneTimeOrBuilder()
public TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels associated with the operation.
map<string, string> labels = 8;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getOperationType()
public BatchOperationMetadata.BatchOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.BatchOperationType | The operationType. |
getOperationTypeValue()
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for operationType. |
getWarnings(int index)
public String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The warnings at the given index. |
getWarningsBytes(int index)
public ByteString getWarningsBytes(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the warnings at the given index. |
getWarningsCount()
public int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;
Returns | |
---|---|
Type | Description |
int | The count of warnings. |
getWarningsList()
public ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the warnings. |
hasCreateTime()
public boolean hasCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasDoneTime()
public boolean hasDoneTime()
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the doneTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public BatchOperationMetadata.Builder mergeCreateTime(Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
mergeDoneTime(Timestamp value)
public BatchOperationMetadata.Builder mergeDoneTime(Timestamp value)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
mergeFrom(BatchOperationMetadata other)
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)
Parameter | |
---|---|
Name | Description |
other | BatchOperationMetadata |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BatchOperationMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
putAllLabels(Map<String,String> values)
public BatchOperationMetadata.Builder putAllLabels(Map<String,String> values)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
putLabels(String key, String value)
public BatchOperationMetadata.Builder putLabels(String key, String value)
Labels associated with the operation.
map<string, string> labels = 8;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
removeLabels(String key)
public BatchOperationMetadata.Builder removeLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setBatch(String value)
public BatchOperationMetadata.Builder setBatch(String value)
Name of the batch for the operation.
string batch = 1;
Parameter | |
---|---|
Name | Description |
value | String The batch to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setBatchBytes(ByteString value)
public BatchOperationMetadata.Builder setBatchBytes(ByteString value)
Name of the batch for the operation.
string batch = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for batch to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setBatchUuid(String value)
public BatchOperationMetadata.Builder setBatchUuid(String value)
Batch UUID for the operation.
string batch_uuid = 2;
Parameter | |
---|---|
Name | Description |
value | String The batchUuid to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setBatchUuidBytes(ByteString value)
public BatchOperationMetadata.Builder setBatchUuidBytes(ByteString value)
Batch UUID for the operation.
string batch_uuid = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for batchUuid to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public BatchOperationMetadata.Builder setCreateTime(Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public BatchOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setDescription(String value)
public BatchOperationMetadata.Builder setDescription(String value)
Short description of the operation.
string description = 7;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public BatchOperationMetadata.Builder setDescriptionBytes(ByteString value)
Short description of the operation.
string description = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setDoneTime(Timestamp value)
public BatchOperationMetadata.Builder setDoneTime(Timestamp value)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setDoneTime(Timestamp.Builder builderForValue)
public BatchOperationMetadata.Builder setDoneTime(Timestamp.Builder builderForValue)
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setOperationType(BatchOperationMetadata.BatchOperationType value)
public BatchOperationMetadata.Builder setOperationType(BatchOperationMetadata.BatchOperationType value)
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
Parameter | |
---|---|
Name | Description |
value | BatchOperationMetadata.BatchOperationType The operationType to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setOperationTypeValue(int value)
public BatchOperationMetadata.Builder setOperationTypeValue(int value)
The operation type.
.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType operation_type = 6;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for operationType to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder |
setWarnings(int index, String value)
public BatchOperationMetadata.Builder setWarnings(int index, String value)
Warnings encountered during operation execution.
repeated string warnings = 9;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The warnings to set. |
Returns | |
---|---|
Type | Description |
BatchOperationMetadata.Builder | This builder for chaining. |