Class StorageDescriptor.Builder (0.76.0)

public static final class StorageDescriptor.Builder extends GeneratedMessage.Builder<StorageDescriptor.Builder> implements StorageDescriptorOrBuilder

Contains information about the physical storage of the table data.

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

Static Methods

getDescriptor()

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

Methods

addAllBucketCols(Iterable<String> values)

public StorageDescriptor.Builder addAllBucketCols(Iterable<String> values)

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The bucketCols to add.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

addAllColumns(Iterable<? extends FieldSchema> values)

public StorageDescriptor.Builder addAllColumns(Iterable<? extends FieldSchema> values)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.biglake.hive.v1beta.FieldSchema>
Returns
Type Description
StorageDescriptor.Builder

addAllSortCols(Iterable<? extends StorageDescriptor.Order> values)

public StorageDescriptor.Builder addAllSortCols(Iterable<? extends StorageDescriptor.Order> values)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.biglake.hive.v1beta.StorageDescriptor.Order>
Returns
Type Description
StorageDescriptor.Builder

addBucketCols(String value)

public StorageDescriptor.Builder addBucketCols(String value)

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The bucketCols to add.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

addBucketColsBytes(ByteString value)

public StorageDescriptor.Builder addBucketColsBytes(ByteString value)

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the bucketCols to add.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

addColumns(FieldSchema value)

public StorageDescriptor.Builder addColumns(FieldSchema value)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldSchema
Returns
Type Description
StorageDescriptor.Builder

addColumns(FieldSchema.Builder builderForValue)

public StorageDescriptor.Builder addColumns(FieldSchema.Builder builderForValue)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FieldSchema.Builder
Returns
Type Description
StorageDescriptor.Builder

addColumns(int index, FieldSchema value)

public StorageDescriptor.Builder addColumns(int index, FieldSchema value)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value FieldSchema
Returns
Type Description
StorageDescriptor.Builder

addColumns(int index, FieldSchema.Builder builderForValue)

public StorageDescriptor.Builder addColumns(int index, FieldSchema.Builder builderForValue)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue FieldSchema.Builder
Returns
Type Description
StorageDescriptor.Builder

addColumnsBuilder()

public FieldSchema.Builder addColumnsBuilder()

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldSchema.Builder

addColumnsBuilder(int index)

public FieldSchema.Builder addColumnsBuilder(int index)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FieldSchema.Builder

addSortCols(StorageDescriptor.Order value)

public StorageDescriptor.Builder addSortCols(StorageDescriptor.Order value)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value StorageDescriptor.Order
Returns
Type Description
StorageDescriptor.Builder

addSortCols(StorageDescriptor.Order.Builder builderForValue)

public StorageDescriptor.Builder addSortCols(StorageDescriptor.Order.Builder builderForValue)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue StorageDescriptor.Order.Builder
Returns
Type Description
StorageDescriptor.Builder

addSortCols(int index, StorageDescriptor.Order value)

public StorageDescriptor.Builder addSortCols(int index, StorageDescriptor.Order value)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value StorageDescriptor.Order
Returns
Type Description
StorageDescriptor.Builder

addSortCols(int index, StorageDescriptor.Order.Builder builderForValue)

public StorageDescriptor.Builder addSortCols(int index, StorageDescriptor.Order.Builder builderForValue)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue StorageDescriptor.Order.Builder
Returns
Type Description
StorageDescriptor.Builder

addSortColsBuilder()

public StorageDescriptor.Order.Builder addSortColsBuilder()

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Order.Builder

addSortColsBuilder(int index)

public StorageDescriptor.Order.Builder addSortColsBuilder(int index)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StorageDescriptor.Order.Builder

build()

public StorageDescriptor build()
Returns
Type Description
StorageDescriptor

buildPartial()

public StorageDescriptor buildPartial()
Returns
Type Description
StorageDescriptor

clear()

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

clearBucketCols()

public StorageDescriptor.Builder clearBucketCols()

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearColumns()

public StorageDescriptor.Builder clearColumns()

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageDescriptor.Builder

clearCompressed()

public StorageDescriptor.Builder clearCompressed()

Optional. Whether the table is compressed.

optional bool compressed = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearInputFormat()

public StorageDescriptor.Builder clearInputFormat()

Optional. The fully qualified Java class name of the input format. The maximum length is 4000 characters.

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

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearLocationUri()

public StorageDescriptor.Builder clearLocationUri()

Optional. The Cloud storage uri where the table is located. Defaults to <database_location_uri>/<table_name>. The maximum length is 4000 characters.

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

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearNumBuckets()

public StorageDescriptor.Builder clearNumBuckets()

Optional. The number of buckets in the table.

optional int32 num_buckets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearOutputFormat()

public StorageDescriptor.Builder clearOutputFormat()

Optional. The fully qualified Java class name of the output format. The maximum length is 4000 characters.

string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

clearParameters()

public StorageDescriptor.Builder clearParameters()
Returns
Type Description
StorageDescriptor.Builder

clearSerdeInfo()

public StorageDescriptor.Builder clearSerdeInfo()

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

clearSkewedInfo()

public StorageDescriptor.Builder clearSkewedInfo()

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

clearSortCols()

public StorageDescriptor.Builder clearSortCols()

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

clearStoredAsSubDirs()

public StorageDescriptor.Builder clearStoredAsSubDirs()

Optional. Whether the table is stored as sub directories.

optional bool stored_as_sub_dirs = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

containsParameters(String key)

public boolean containsParameters(String key)

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getBucketCols(int index)

public String getBucketCols(int index)

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The bucketCols at the given index.

getBucketColsBytes(int index)

public ByteString getBucketColsBytes(int index)

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the bucketCols at the given index.

getBucketColsCount()

public int getBucketColsCount()

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of bucketCols.

getBucketColsList()

public ProtocolStringList getBucketColsList()

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the bucketCols.

getColumns(int index)

public FieldSchema getColumns(int index)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FieldSchema

getColumnsBuilder(int index)

public FieldSchema.Builder getColumnsBuilder(int index)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FieldSchema.Builder

getColumnsBuilderList()

public List<FieldSchema.Builder> getColumnsBuilderList()

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getColumnsCount()

public int getColumnsCount()

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getColumnsList()

public List<FieldSchema> getColumnsList()

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<FieldSchema>

getColumnsOrBuilder(int index)

public FieldSchemaOrBuilder getColumnsOrBuilder(int index)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FieldSchemaOrBuilder

getColumnsOrBuilderList()

public List<? extends FieldSchemaOrBuilder> getColumnsOrBuilderList()

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.biglake.hive.v1beta.FieldSchemaOrBuilder>

getCompressed()

public boolean getCompressed()

Optional. Whether the table is compressed.

optional bool compressed = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The compressed.

getDefaultInstanceForType()

public StorageDescriptor getDefaultInstanceForType()
Returns
Type Description
StorageDescriptor

getDescriptorForType()

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

getInputFormat()

public String getInputFormat()

Optional. The fully qualified Java class name of the input format. The maximum length is 4000 characters.

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

Returns
Type Description
String

The inputFormat.

getInputFormatBytes()

public ByteString getInputFormatBytes()

Optional. The fully qualified Java class name of the input format. The maximum length is 4000 characters.

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

Returns
Type Description
ByteString

The bytes for inputFormat.

getLocationUri()

public String getLocationUri()

Optional. The Cloud storage uri where the table is located. Defaults to <database_location_uri>/<table_name>. The maximum length is 4000 characters.

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

Returns
Type Description
String

The locationUri.

getLocationUriBytes()

public ByteString getLocationUriBytes()

Optional. The Cloud storage uri where the table is located. Defaults to <database_location_uri>/<table_name>. The maximum length is 4000 characters.

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

Returns
Type Description
ByteString

The bytes for locationUri.

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getNumBuckets()

public int getNumBuckets()

Optional. The number of buckets in the table.

optional int32 num_buckets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The numBuckets.

getOutputFormat()

public String getOutputFormat()

Optional. The fully qualified Java class name of the output format. The maximum length is 4000 characters.

string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The outputFormat.

getOutputFormatBytes()

public ByteString getOutputFormatBytes()

Optional. The fully qualified Java class name of the output format. The maximum length is 4000 characters.

string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for outputFormat.

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public int getParametersCount()

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersMap()

public Map<String,String> getParametersMap()

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getSerdeInfo()

public SerdeInfo getSerdeInfo()

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerdeInfo

The serdeInfo.

getSerdeInfoBuilder()

public SerdeInfo.Builder getSerdeInfoBuilder()

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerdeInfo.Builder

getSerdeInfoOrBuilder()

public SerdeInfoOrBuilder getSerdeInfoOrBuilder()

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SerdeInfoOrBuilder

getSkewedInfo()

public StorageDescriptor.SkewedInfo getSkewedInfo()

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.SkewedInfo

The skewedInfo.

getSkewedInfoBuilder()

public StorageDescriptor.SkewedInfo.Builder getSkewedInfoBuilder()

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.SkewedInfo.Builder

getSkewedInfoOrBuilder()

public StorageDescriptor.SkewedInfoOrBuilder getSkewedInfoOrBuilder()

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StorageDescriptor.SkewedInfoOrBuilder

getSortCols(int index)

public StorageDescriptor.Order getSortCols(int index)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StorageDescriptor.Order

getSortColsBuilder(int index)

public StorageDescriptor.Order.Builder getSortColsBuilder(int index)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StorageDescriptor.Order.Builder

getSortColsBuilderList()

public List<StorageDescriptor.Order.Builder> getSortColsBuilderList()

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getSortColsCount()

public int getSortColsCount()

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSortColsList()

public List<StorageDescriptor.Order> getSortColsList()

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Order>

getSortColsOrBuilder(int index)

public StorageDescriptor.OrderOrBuilder getSortColsOrBuilder(int index)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StorageDescriptor.OrderOrBuilder

getSortColsOrBuilderList()

public List<? extends StorageDescriptor.OrderOrBuilder> getSortColsOrBuilderList()

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.biglake.hive.v1beta.StorageDescriptor.OrderOrBuilder>

getStoredAsSubDirs()

public boolean getStoredAsSubDirs()

Optional. Whether the table is stored as sub directories.

optional bool stored_as_sub_dirs = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The storedAsSubDirs.

hasCompressed()

public boolean hasCompressed()

Optional. Whether the table is compressed.

optional bool compressed = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the compressed field is set.

hasNumBuckets()

public boolean hasNumBuckets()

Optional. The number of buckets in the table.

optional int32 num_buckets = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the numBuckets field is set.

hasSerdeInfo()

public boolean hasSerdeInfo()

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the serdeInfo field is set.

hasSkewedInfo()

public boolean hasSkewedInfo()

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the skewedInfo field is set.

hasStoredAsSubDirs()

public boolean hasStoredAsSubDirs()

Optional. Whether the table is stored as sub directories.

optional bool stored_as_sub_dirs = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the storedAsSubDirs field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageDescriptor other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSerdeInfo(SerdeInfo value)

public StorageDescriptor.Builder mergeSerdeInfo(SerdeInfo value)

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SerdeInfo
Returns
Type Description
StorageDescriptor.Builder

mergeSkewedInfo(StorageDescriptor.SkewedInfo value)

public StorageDescriptor.Builder mergeSkewedInfo(StorageDescriptor.SkewedInfo value)

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value StorageDescriptor.SkewedInfo
Returns
Type Description
StorageDescriptor.Builder

putAllParameters(Map<String,String> values)

public StorageDescriptor.Builder putAllParameters(Map<String,String> values)

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
StorageDescriptor.Builder

putParameters(String key, String value)

public StorageDescriptor.Builder putParameters(String key, String value)

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
StorageDescriptor.Builder

removeColumns(int index)

public StorageDescriptor.Builder removeColumns(int index)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
StorageDescriptor.Builder

removeParameters(String key)

public StorageDescriptor.Builder removeParameters(String key)

Optional. Key-value pairs for the storage descriptor. The maximum size is 10Kib.

map<string, string> parameters = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
StorageDescriptor.Builder

removeSortCols(int index)

public StorageDescriptor.Builder removeSortCols(int index)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StorageDescriptor.Builder

setBucketCols(int index, String value)

public StorageDescriptor.Builder setBucketCols(int index, String value)

Optional. Reducer grouping columns and clustering columns and bucketing columns

repeated string bucket_cols = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The bucketCols to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setColumns(int index, FieldSchema value)

public StorageDescriptor.Builder setColumns(int index, FieldSchema value)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value FieldSchema
Returns
Type Description
StorageDescriptor.Builder

setColumns(int index, FieldSchema.Builder builderForValue)

public StorageDescriptor.Builder setColumns(int index, FieldSchema.Builder builderForValue)

Required. Specifies the columns of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema columns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue FieldSchema.Builder
Returns
Type Description
StorageDescriptor.Builder

setCompressed(boolean value)

public StorageDescriptor.Builder setCompressed(boolean value)

Optional. Whether the table is compressed.

optional bool compressed = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The compressed to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setInputFormat(String value)

public StorageDescriptor.Builder setInputFormat(String value)

Optional. The fully qualified Java class name of the input format. The maximum length is 4000 characters.

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

Parameter
Name Description
value String

The inputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setInputFormatBytes(ByteString value)

public StorageDescriptor.Builder setInputFormatBytes(ByteString value)

Optional. The fully qualified Java class name of the input format. The maximum length is 4000 characters.

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

Parameter
Name Description
value ByteString

The bytes for inputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setLocationUri(String value)

public StorageDescriptor.Builder setLocationUri(String value)

Optional. The Cloud storage uri where the table is located. Defaults to <database_location_uri>/<table_name>. The maximum length is 4000 characters.

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

Parameter
Name Description
value String

The locationUri to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setLocationUriBytes(ByteString value)

public StorageDescriptor.Builder setLocationUriBytes(ByteString value)

Optional. The Cloud storage uri where the table is located. Defaults to <database_location_uri>/<table_name>. The maximum length is 4000 characters.

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

Parameter
Name Description
value ByteString

The bytes for locationUri to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setNumBuckets(int value)

public StorageDescriptor.Builder setNumBuckets(int value)

Optional. The number of buckets in the table.

optional int32 num_buckets = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The numBuckets to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setOutputFormat(String value)

public StorageDescriptor.Builder setOutputFormat(String value)

Optional. The fully qualified Java class name of the output format. The maximum length is 4000 characters.

string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The outputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setOutputFormatBytes(ByteString value)

public StorageDescriptor.Builder setOutputFormatBytes(ByteString value)

Optional. The fully qualified Java class name of the output format. The maximum length is 4000 characters.

string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for outputFormat to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.

setSerdeInfo(SerdeInfo value)

public StorageDescriptor.Builder setSerdeInfo(SerdeInfo value)

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SerdeInfo
Returns
Type Description
StorageDescriptor.Builder

setSerdeInfo(SerdeInfo.Builder builderForValue)

public StorageDescriptor.Builder setSerdeInfo(SerdeInfo.Builder builderForValue)

Optional. Serialization and deserialization information.

.google.cloud.biglake.hive.v1beta.SerdeInfo serde_info = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SerdeInfo.Builder
Returns
Type Description
StorageDescriptor.Builder

setSkewedInfo(StorageDescriptor.SkewedInfo value)

public StorageDescriptor.Builder setSkewedInfo(StorageDescriptor.SkewedInfo value)

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value StorageDescriptor.SkewedInfo
Returns
Type Description
StorageDescriptor.Builder

setSkewedInfo(StorageDescriptor.SkewedInfo.Builder builderForValue)

public StorageDescriptor.Builder setSkewedInfo(StorageDescriptor.SkewedInfo.Builder builderForValue)

Optional. Table data skew information.

.google.cloud.biglake.hive.v1beta.StorageDescriptor.SkewedInfo skewed_info = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue StorageDescriptor.SkewedInfo.Builder
Returns
Type Description
StorageDescriptor.Builder

setSortCols(int index, StorageDescriptor.Order value)

public StorageDescriptor.Builder setSortCols(int index, StorageDescriptor.Order value)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value StorageDescriptor.Order
Returns
Type Description
StorageDescriptor.Builder

setSortCols(int index, StorageDescriptor.Order.Builder builderForValue)

public StorageDescriptor.Builder setSortCols(int index, StorageDescriptor.Order.Builder builderForValue)

Optional. Sort order of the data in each bucket

repeated .google.cloud.biglake.hive.v1beta.StorageDescriptor.Order sort_cols = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue StorageDescriptor.Order.Builder
Returns
Type Description
StorageDescriptor.Builder

setStoredAsSubDirs(boolean value)

public StorageDescriptor.Builder setStoredAsSubDirs(boolean value)

Optional. Whether the table is stored as sub directories.

optional bool stored_as_sub_dirs = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The storedAsSubDirs to set.

Returns
Type Description
StorageDescriptor.Builder

This builder for chaining.