Interface CreateBatchRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CreateBatchRequest, CreateBatchRequest.Builder

    public interface CreateBatchRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getParent

        String getParent()
         Required. The parent resource where this batch will be created.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The parent resource where this batch will be created.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasBatch

        boolean hasBatch()
         Required. The batch to create.
         
        .google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the batch field is set.
      • getBatch

        Batch getBatch()
         Required. The batch to create.
         
        .google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The batch.
      • getBatchOrBuilder

        BatchOrBuilder getBatchOrBuilder()
         Required. The batch to create.
         
        .google.cloud.dataproc.v1.Batch batch = 2 [(.google.api.field_behavior) = REQUIRED];
      • getBatchId

        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];
        Returns:
        The batchId.
      • getBatchIdBytes

        com.google.protobuf.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];
        Returns:
        The bytes for batchId.
      • getRequestId

        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];
        Returns:
        The requestId.
      • getRequestIdBytes

        com.google.protobuf.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];
        Returns:
        The bytes for requestId.