Class BatchUpdateMetastorePartitionsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
com.google.cloud.bigquery.storage.v1alpha.BatchUpdateMetastorePartitionsRequest.Builder
All Implemented Interfaces:
BatchUpdateMetastorePartitionsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchUpdateMetastorePartitionsRequest

public static final class BatchUpdateMetastorePartitionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder> implements BatchUpdateMetastorePartitionsRequestOrBuilder
 Request message for BatchUpdateMetastorePartitions.
 
Protobuf type google.cloud.bigquery.storage.v1alpha.BatchUpdateMetastorePartitionsRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • getDefaultInstanceForType

      public BatchUpdateMetastorePartitionsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • setField

      public BatchUpdateMetastorePartitionsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • clearField

      public BatchUpdateMetastorePartitionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • clearOneof

      public BatchUpdateMetastorePartitionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • setRepeatedField

      public BatchUpdateMetastorePartitionsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • addRepeatedField

      public BatchUpdateMetastorePartitionsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • mergeFrom

      public BatchUpdateMetastorePartitionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • mergeFrom

      public BatchUpdateMetastorePartitionsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. Reference to the table to which these metastore partitions
       belong, in the format of
       projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchUpdateMetastorePartitionsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Reference to the table to which these metastore partitions
       belong, in the format of
       projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchUpdateMetastorePartitionsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. Reference to the table to which these metastore partitions
       belong, in the format of
       projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. Reference to the table to which these metastore partitions
       belong, 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:
      This builder for chaining.
    • setParentBytes

      public BatchUpdateMetastorePartitionsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Reference to the table to which these metastore partitions
       belong, in the format of
       projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getRequestsList

      public List<UpdateMetastorePartitionRequest> getRequestsList()
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface BatchUpdateMetastorePartitionsRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface BatchUpdateMetastorePartitionsRequestOrBuilder
    • getRequests

      public UpdateMetastorePartitionRequest getRequests(int index)
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface BatchUpdateMetastorePartitionsRequestOrBuilder
    • setRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRequests

       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeRequests

      public BatchUpdateMetastorePartitionsRequest.Builder removeRequests(int index)
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilder

      public UpdateMetastorePartitionRequest.Builder getRequestsBuilder(int index)
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      public UpdateMetastorePartitionRequestOrBuilder getRequestsOrBuilder(int index)
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface BatchUpdateMetastorePartitionsRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends UpdateMetastorePartitionRequestOrBuilder> getRequestsOrBuilderList()
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface BatchUpdateMetastorePartitionsRequestOrBuilder
    • addRequestsBuilder

      public UpdateMetastorePartitionRequest.Builder addRequestsBuilder()
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequestsBuilder

      public UpdateMetastorePartitionRequest.Builder addRequestsBuilder(int index)
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilderList

      public List<UpdateMetastorePartitionRequest.Builder> getRequestsBuilderList()
       Required. Requests to update metastore partitions in the table.
       
      repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTraceId

      public 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. This is expected, but not required, to be
       globally unique.
       
      string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTraceId in interface BatchUpdateMetastorePartitionsRequestOrBuilder
      Returns:
      The traceId.
    • getTraceIdBytes

      public 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. This is expected, but not required, to be
       globally unique.
       
      string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTraceIdBytes in interface BatchUpdateMetastorePartitionsRequestOrBuilder
      Returns:
      The bytes for traceId.
    • setTraceId

       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. This is expected, but not required, to be
       globally unique.
       
      string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The traceId to set.
      Returns:
      This builder for chaining.
    • clearTraceId

       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. This is expected, but not required, to be
       globally unique.
       
      string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTraceIdBytes

      public BatchUpdateMetastorePartitionsRequest.Builder setTraceIdBytes(com.google.protobuf.ByteString value)
       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. This is expected, but not required, to be
       globally unique.
       
      string trace_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for traceId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final BatchUpdateMetastorePartitionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>
    • mergeUnknownFields

      public final BatchUpdateMetastorePartitionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchUpdateMetastorePartitionsRequest.Builder>