Class BatchUpdatePartitionsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchUpdatePartitionsRequest.Builder>
com.google.cloud.biglake.hive.v1beta.BatchUpdatePartitionsRequest.Builder
All Implemented Interfaces:
BatchUpdatePartitionsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchUpdatePartitionsRequest

public static final class BatchUpdatePartitionsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchUpdatePartitionsRequest.Builder> implements BatchUpdatePartitionsRequestOrBuilder
 Request message for BatchUpdatePartitions.
 
Protobuf type google.cloud.biglake.hive.v1beta.BatchUpdatePartitionsRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchUpdatePartitionsRequest.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.GeneratedMessage.Builder<BatchUpdatePartitionsRequest.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.GeneratedMessage.Builder<BatchUpdatePartitionsRequest.Builder>
    • getDefaultInstanceForType

      public BatchUpdatePartitionsRequest 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

      public BatchUpdatePartitionsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BatchUpdatePartitionsRequest.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<BatchUpdatePartitionsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public BatchUpdatePartitionsRequest.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<BatchUpdatePartitionsRequest.Builder>
      Throws:
      IOException
    • getParent

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

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

      public BatchUpdatePartitionsRequest.Builder setParent(String value)
       Required. Reference to the table to which these partitions belong, in the
       format of
       projects/{project}/catalogs/{catalogs}/databases/{database}/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 partitions belong, in the
       format of
       projects/{project}/catalogs/{catalogs}/databases/{database}/tables/{table}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchUpdatePartitionsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Reference to the table to which these partitions belong, in the
       format of
       projects/{project}/catalogs/{catalogs}/databases/{database}/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<UpdatePartitionRequest> getRequestsList()
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface BatchUpdatePartitionsRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface BatchUpdatePartitionsRequestOrBuilder
    • getRequests

      public UpdatePartitionRequest getRequests(int index)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface BatchUpdatePartitionsRequestOrBuilder
    • setRequests

      public BatchUpdatePartitionsRequest.Builder setRequests(int index, UpdatePartitionRequest value)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRequests

      public BatchUpdatePartitionsRequest.Builder setRequests(int index, UpdatePartitionRequest.Builder builderForValue)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchUpdatePartitionsRequest.Builder addRequests(int index, UpdatePartitionRequest value)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchUpdatePartitionsRequest.Builder addRequests(int index, UpdatePartitionRequest.Builder builderForValue)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllRequests

      public BatchUpdatePartitionsRequest.Builder addAllRequests(Iterable<? extends UpdatePartitionRequest> values)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRequests

      public BatchUpdatePartitionsRequest.Builder clearRequests()
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeRequests

      public BatchUpdatePartitionsRequest.Builder removeRequests(int index)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilder

      public UpdatePartitionRequest.Builder getRequestsBuilder(int index)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      public UpdatePartitionRequestOrBuilder getRequestsOrBuilder(int index)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface BatchUpdatePartitionsRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends UpdatePartitionRequestOrBuilder> getRequestsOrBuilderList()
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface BatchUpdatePartitionsRequestOrBuilder
    • addRequestsBuilder

      public UpdatePartitionRequest.Builder addRequestsBuilder()
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • addRequestsBuilder

      public UpdatePartitionRequest.Builder addRequestsBuilder(int index)
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilderList

      public List<UpdatePartitionRequest.Builder> getRequestsBuilderList()
       Required. Requests to update partitions in the table.
       
      repeated .google.cloud.biglake.hive.v1beta.UpdatePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];