Class ListPartitionsRequest.Builder (0.76.0)

public static final class ListPartitionsRequest.Builder extends GeneratedMessage.Builder<ListPartitionsRequest.Builder> implements ListPartitionsRequestOrBuilder

Request message for ListPartitions.

Protobuf type google.cloud.biglake.hive.v1beta.ListPartitionsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ListPartitionsRequest build()
Returns
Type Description
ListPartitionsRequest

buildPartial()

public ListPartitionsRequest buildPartial()
Returns
Type Description
ListPartitionsRequest

clear()

public ListPartitionsRequest.Builder clear()
Returns
Type Description
ListPartitionsRequest.Builder
Overrides

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
Type Description
ListPartitionsRequest.Builder

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
Type Description
ListPartitionsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListPartitionsRequest getDefaultInstanceForType()
Returns
Type Description
ListPartitionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
String

The filter.

getFilterBytes()

public 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];

Returns
Type Description
ByteString

The bytes for filter.

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPartitionsRequest other)

public ListPartitionsRequest.Builder mergeFrom(ListPartitionsRequest other)
Parameter
Name Description
other ListPartitionsRequest
Returns
Type Description
ListPartitionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPartitionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListPartitionsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListPartitionsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListPartitionsRequest.Builder
Overrides

setFilter(String value)

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];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListPartitionsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListPartitionsRequest.Builder setFilterBytes(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];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListPartitionsRequest.Builder

This builder for chaining.

setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListPartitionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListPartitionsRequest.Builder setParentBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListPartitionsRequest.Builder

This builder for chaining.