public interface CreateBatchRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Batch |
getBatch()
Required.
|
String |
getBatchId()
Optional.
|
ByteString |
getBatchIdBytes()
Optional.
|
BatchOrBuilder |
getBatchOrBuilder()
Required.
|
String |
getParent()
Required.
|
ByteString |
getParentBytes()
Required.
|
String |
getRequestId()
Optional.
|
ByteString |
getRequestIdBytes()
Optional.
|
boolean |
hasBatch()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getParent()
Required. The parent resource where this batch will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
ByteString getParentBytes()
Required. The parent resource where this batch will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasBatch()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
Batch getBatch()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
BatchOrBuilder getBatchOrBuilder()
Required. The batch to create.
.google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
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][0-9]-/`.
string batch_id = 3 [(.google.api.field_behavior) = OPTIONAL];
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][0-9]-/`.
string batch_id = 3 [(.google.api.field_behavior) = OPTIONAL];
String getRequestId()
Optional. A unique ID used to identify the request. If the service receives two [CreateBatchRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateBatchRequest)s 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](https://en.wikipedia.org/wiki/Universally_unique_identifier). 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];
ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the service receives two [CreateBatchRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateBatchRequest)s 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](https://en.wikipedia.org/wiki/Universally_unique_identifier). 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];
Copyright © 2022 Google LLC. All rights reserved.