Class HiveTableOptions.Builder (0.31.0)

public static final class HiveTableOptions.Builder extends GeneratedMessageV3.Builder<HiveTableOptions.Builder> implements HiveTableOptionsOrBuilder

Options of a Hive table.

Protobuf type google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HiveTableOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HiveTableOptions.Builder
Overrides

build()

public HiveTableOptions build()
Returns
Type Description
HiveTableOptions

buildPartial()

public HiveTableOptions buildPartial()
Returns
Type Description
HiveTableOptions

clear()

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

clearField(Descriptors.FieldDescriptor field)

public HiveTableOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HiveTableOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HiveTableOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HiveTableOptions.Builder
Overrides

clearParameters()

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

clearStorageDescriptor()

public HiveTableOptions.Builder clearStorageDescriptor()

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

Returns
Type Description
HiveTableOptions.Builder

clearTableType()

public HiveTableOptions.Builder clearTableType()

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Returns
Type Description
HiveTableOptions.Builder

This builder for chaining.

clone()

public HiveTableOptions.Builder clone()
Returns
Type Description
HiveTableOptions.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public HiveTableOptions getDefaultInstanceForType()
Returns
Type Description
HiveTableOptions

getDescriptorForType()

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

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public int getParametersCount()

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Returns
Type Description
int

getParametersMap()

public Map<String,String> getParametersMap()

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Parameter
Name Description
key String
Returns
Type Description
String

getStorageDescriptor()

public HiveTableOptions.StorageDescriptor getStorageDescriptor()

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

Returns
Type Description
HiveTableOptions.StorageDescriptor

The storageDescriptor.

getStorageDescriptorBuilder()

public HiveTableOptions.StorageDescriptor.Builder getStorageDescriptorBuilder()

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

Returns
Type Description
HiveTableOptions.StorageDescriptor.Builder

getStorageDescriptorOrBuilder()

public HiveTableOptions.StorageDescriptorOrBuilder getStorageDescriptorOrBuilder()

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

Returns
Type Description
HiveTableOptions.StorageDescriptorOrBuilder

getTableType()

public String getTableType()

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Returns
Type Description
String

The tableType.

getTableTypeBytes()

public ByteString getTableTypeBytes()

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Returns
Type Description
ByteString

The bytes for tableType.

hasStorageDescriptor()

public boolean hasStorageDescriptor()

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

Returns
Type Description
boolean

Whether the storageDescriptor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HiveTableOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStorageDescriptor(HiveTableOptions.StorageDescriptor value)

public HiveTableOptions.Builder mergeStorageDescriptor(HiveTableOptions.StorageDescriptor value)

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HiveTableOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HiveTableOptions.Builder
Overrides

putAllParameters(Map<String,String> values)

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

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

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

putParameters(String key, String value)

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

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

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

removeParameters(String key)

public HiveTableOptions.Builder removeParameters(String key)

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Parameter
Name Description
key String
Returns
Type Description
HiveTableOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HiveTableOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HiveTableOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HiveTableOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HiveTableOptions.Builder
Overrides

setStorageDescriptor(HiveTableOptions.StorageDescriptor value)

public HiveTableOptions.Builder setStorageDescriptor(HiveTableOptions.StorageDescriptor value)

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

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

setStorageDescriptor(HiveTableOptions.StorageDescriptor.Builder builderForValue)

public HiveTableOptions.Builder setStorageDescriptor(HiveTableOptions.StorageDescriptor.Builder builderForValue)

Stores physical storage information of the data.

.google.cloud.bigquery.biglake.v1alpha1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;

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

setTableType(String value)

public HiveTableOptions.Builder setTableType(String value)

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Parameter
Name Description
value String

The tableType to set.

Returns
Type Description
HiveTableOptions.Builder

This builder for chaining.

setTableTypeBytes(ByteString value)

public HiveTableOptions.Builder setTableTypeBytes(ByteString value)

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Parameter
Name Description
value ByteString

The bytes for tableType to set.

Returns
Type Description
HiveTableOptions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HiveTableOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HiveTableOptions.Builder
Overrides