- 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 CreateBatchRequest.Builder extends GeneratedMessageV3.Builder<CreateBatchRequest.Builder> implements CreateBatchRequestOrBuilder
A request to create a batch workload.
Protobuf type google.cloud.dataproc.v1.CreateBatchRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateBatchRequest.BuilderImplements
CreateBatchRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateBatchRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateBatchRequest.Builder |
build()
public CreateBatchRequest build()
Type | Description |
CreateBatchRequest |
buildPartial()
public CreateBatchRequest buildPartial()
Type | Description |
CreateBatchRequest |
clear()
public CreateBatchRequest.Builder clear()
Type | Description |
CreateBatchRequest.Builder |
clearBatch()
public CreateBatchRequest.Builder clearBatch()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateBatchRequest.Builder |
clearBatchId()
public CreateBatchRequest.Builder clearBatchId()
Optional. The ID to use for the batch, which will become the final component of
the batch's resource name.
This value must be 4-63 characters. Valid characters are /a-z-/
.
string batch_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateBatchRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateBatchRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateBatchRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateBatchRequest.Builder |
clearParent()
public CreateBatchRequest.Builder clearParent()
Required. The parent resource where this batch will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
clearRequestId()
public CreateBatchRequest.Builder clearRequestId()
Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned. Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
clone()
public CreateBatchRequest.Builder clone()
Type | Description |
CreateBatchRequest.Builder |
getBatch()
public Batch getBatch()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Batch | The batch. |
getBatchBuilder()
public Batch.Builder getBatchBuilder()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Batch.Builder |
getBatchId()
public String getBatchId()
Optional. The ID to use for the batch, which will become the final component of
the batch's resource name.
This value must be 4-63 characters. Valid characters are /a-z-/
.
string batch_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The batchId. |
getBatchIdBytes()
public ByteString getBatchIdBytes()
Optional. The ID to use for the batch, which will become the final component of
the batch's resource name.
This value must be 4-63 characters. Valid characters are /a-z-/
.
string batch_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for batchId. |
getBatchOrBuilder()
public BatchOrBuilder getBatchOrBuilder()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
BatchOrBuilder |
getDefaultInstanceForType()
public CreateBatchRequest getDefaultInstanceForType()
Type | Description |
CreateBatchRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The parent resource where this batch will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource where this batch will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getRequestId()
public String getRequestId()
Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned. Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned. Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for requestId. |
hasBatch()
public boolean hasBatch()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the batch field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBatch(Batch value)
public CreateBatchRequest.Builder mergeBatch(Batch value)
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Batch |
Type | Description |
CreateBatchRequest.Builder |
mergeFrom(CreateBatchRequest other)
public CreateBatchRequest.Builder mergeFrom(CreateBatchRequest other)
Name | Description |
other | CreateBatchRequest |
Type | Description |
CreateBatchRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateBatchRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateBatchRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateBatchRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateBatchRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateBatchRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateBatchRequest.Builder |
setBatch(Batch value)
public CreateBatchRequest.Builder setBatch(Batch value)
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Batch |
Type | Description |
CreateBatchRequest.Builder |
setBatch(Batch.Builder builderForValue)
public CreateBatchRequest.Builder setBatch(Batch.Builder builderForValue)
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Batch.Builder |
Type | Description |
CreateBatchRequest.Builder |
setBatchId(String value)
public CreateBatchRequest.Builder setBatchId(String value)
Optional. The ID to use for the batch, which will become the final component of
the batch's resource name.
This value must be 4-63 characters. Valid characters are /a-z-/
.
string batch_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The batchId to set. |
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
setBatchIdBytes(ByteString value)
public CreateBatchRequest.Builder setBatchIdBytes(ByteString value)
Optional. The ID to use for the batch, which will become the final component of
the batch's resource name.
This value must be 4-63 characters. Valid characters are /a-z-/
.
string batch_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for batchId to set. |
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateBatchRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateBatchRequest.Builder |
setParent(String value)
public CreateBatchRequest.Builder setParent(String value)
Required. The parent resource where this batch will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateBatchRequest.Builder setParentBytes(ByteString value)
Required. The parent resource where this batch will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateBatchRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateBatchRequest.Builder |
setRequestId(String value)
public CreateBatchRequest.Builder setRequestId(String value)
Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned. Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The requestId to set. |
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateBatchRequest.Builder setRequestIdBytes(ByteString value)
Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned. Recommendation: Set this value to a UUID. The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for requestId to set. |
Type | Description |
CreateBatchRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateBatchRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateBatchRequest.Builder |