Class ListMetastorePartitionsRequest.Builder (3.20.0)

public static final class ListMetastorePartitionsRequest.Builder extends GeneratedMessage.Builder<ListMetastorePartitionsRequest.Builder> implements ListMetastorePartitionsRequestOrBuilder

Request message for ListMetastorePartitions.

Protobuf type google.cloud.bigquery.storage.v1alpha.ListMetastorePartitionsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListMetastorePartitionsRequest build()
Returns
Type Description
ListMetastorePartitionsRequest

buildPartial()

public ListMetastorePartitionsRequest buildPartial()
Returns
Type Description
ListMetastorePartitionsRequest

clear()

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

clearFilter()

public ListMetastorePartitionsRequest.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 for 1 MB.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.

clearParent()

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

This builder for chaining.

clearTraceId()

public ListMetastorePartitionsRequest.Builder 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. Limited to 256 characters. This is expected, but not required, to be globally unique.

string trace_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListMetastorePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
ListMetastorePartitionsRequest

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 for 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 for 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 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
Type Description
String

The parent.

getParentBytes()

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

Returns
Type Description
ByteString

The bytes for parent.

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. Limited to 256 characters. This is expected, but not required, to be globally unique.

string trace_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The traceId.

getTraceIdBytes()

public 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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for traceId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMetastorePartitionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListMetastorePartitionsRequest.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 for 1 MB.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListMetastorePartitionsRequest.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 for 1 MB.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.

setParent(String value)

public ListMetastorePartitionsRequest.Builder setParent(String 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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.

setTraceId(String value)

public ListMetastorePartitionsRequest.Builder setTraceId(String 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. Limited to 256 characters. This is expected, but not required, to be globally unique.

string trace_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The traceId to set.

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.

setTraceIdBytes(ByteString value)

public ListMetastorePartitionsRequest.Builder setTraceIdBytes(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. Limited to 256 characters. This is expected, but not required, to be globally unique.

string trace_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for traceId to set.

Returns
Type Description
ListMetastorePartitionsRequest.Builder

This builder for chaining.