Class ListPartitionsRequest.Builder

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

public static final class ListPartitionsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListPartitionsRequest.Builder> implements ListPartitionsRequestOrBuilder
 Request message for ListPartitions.
 
Protobuf type google.cloud.biglake.hive.v1beta.ListPartitionsRequest
  • 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<ListPartitionsRequest.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<ListPartitionsRequest.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<ListPartitionsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListPartitionsRequest.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<ListPartitionsRequest.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 ListPartitionsRequestOrBuilder
      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 ListPartitionsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListPartitionsRequest.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

      public ListPartitionsRequest.Builder 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 ListPartitionsRequest.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.
    • getFilter

      public String getFilter()
       Optional. SQL text filtering statement, similar to a `WHERE` clause in a
       query. Only supports single-row expressions.  Aggregate functions are not
       supported.
      
       Examples:
       * `"int_field > 5"`
       * `"date_field = CAST('2014-9-27' as DATE)"`
       * `"nullable_field is not NULL"`
       * `"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"`
       * `"numeric_field BETWEEN 1.0 AND 5.0"`
      
       Restricted to a maximum length of 1 MB.
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface ListPartitionsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. SQL text filtering statement, similar to a `WHERE` clause in a
       query. Only supports single-row expressions.  Aggregate functions are not
       supported.
      
       Examples:
       * `"int_field > 5"`
       * `"date_field = CAST('2014-9-27' as DATE)"`
       * `"nullable_field is not NULL"`
       * `"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"`
       * `"numeric_field BETWEEN 1.0 AND 5.0"`
      
       Restricted to a maximum length of 1 MB.
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface ListPartitionsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListPartitionsRequest.Builder setFilter(String value)
       Optional. SQL text filtering statement, similar to a `WHERE` clause in a
       query. Only supports single-row expressions.  Aggregate functions are not
       supported.
      
       Examples:
       * `"int_field > 5"`
       * `"date_field = CAST('2014-9-27' as DATE)"`
       * `"nullable_field is not NULL"`
       * `"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"`
       * `"numeric_field BETWEEN 1.0 AND 5.0"`
      
       Restricted to a maximum length of 1 MB.
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListPartitionsRequest.Builder clearFilter()
       Optional. SQL text filtering statement, similar to a `WHERE` clause in a
       query. Only supports single-row expressions.  Aggregate functions are not
       supported.
      
       Examples:
       * `"int_field > 5"`
       * `"date_field = CAST('2014-9-27' as DATE)"`
       * `"nullable_field is not NULL"`
       * `"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"`
       * `"numeric_field BETWEEN 1.0 AND 5.0"`
      
       Restricted to a maximum length of 1 MB.
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListPartitionsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. SQL text filtering statement, similar to a `WHERE` clause in a
       query. Only supports single-row expressions.  Aggregate functions are not
       supported.
      
       Examples:
       * `"int_field > 5"`
       * `"date_field = CAST('2014-9-27' as DATE)"`
       * `"nullable_field is not NULL"`
       * `"st_equals(geo_field, st_geofromtext("POINT(2, 2)"))"`
       * `"numeric_field BETWEEN 1.0 AND 5.0"`
      
       Restricted to a maximum length of 1 MB.
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.