Interface BatchCreateMetastorePartitionsRequestOrBuilder

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

public interface BatchCreateMetastorePartitionsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. Reference to the table to where the metastore partitions to be
       added, in the format of
       projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Reference to the table to where the metastore partitions to be
       added, in the format of
       projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getRequestsList

       Required. Requests to add metastore partitions to the table.
       
      repeated .google.cloud.bigquery.storage.v1beta.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequests

      CreateMetastorePartitionRequest getRequests(int index)
       Required. Requests to add metastore partitions to the table.
       
      repeated .google.cloud.bigquery.storage.v1beta.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsCount

      int getRequestsCount()
       Required. Requests to add metastore partitions to the table.
       
      repeated .google.cloud.bigquery.storage.v1beta.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilderList

      List<? extends CreateMetastorePartitionRequestOrBuilder> getRequestsOrBuilderList()
       Required. Requests to add metastore partitions to the table.
       
      repeated .google.cloud.bigquery.storage.v1beta.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      CreateMetastorePartitionRequestOrBuilder getRequestsOrBuilder(int index)
       Required. Requests to add metastore partitions to the table.
       
      repeated .google.cloud.bigquery.storage.v1beta.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getSkipExistingPartitions

      boolean getSkipExistingPartitions()
       Optional. Mimics the ifNotExists flag in IMetaStoreClient
       add_partitions(..). If the flag is set to false, the server will return
       ALREADY_EXISTS if any partition already exists. If the flag is set to true,
       the server will skip existing partitions and insert only the non-existing
       partitions. A maximum of 900 partitions can be inserted in a batch.
       
      bool skip_existing_partitions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The skipExistingPartitions.
    • getTraceId

      String getTraceId()
       Optional. Optional trace id to be used for debugging. It is expected that
       the client sets the same `trace_id` for all the batches in the same
       operation, so that it is possible to tie together the logs to all the
       batches in the same operation. Limited to 256 characters. This is expected,
       but not required, to be globally unique.
       
      string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The traceId.
    • getTraceIdBytes

      com.google.protobuf.ByteString getTraceIdBytes()
       Optional. Optional trace id to be used for debugging. It is expected that
       the client sets the same `trace_id` for all the batches in the same
       operation, so that it is possible to tie together the logs to all the
       batches in the same operation. Limited to 256 characters. This is expected,
       but not required, to be globally unique.
       
      string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for traceId.