Class HiveTableOptions.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HiveTableOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HiveTableOptions.Builder
Overrides

build()

public HiveTableOptions build()
Returns
TypeDescription
HiveTableOptions

buildPartial()

public HiveTableOptions buildPartial()
Returns
TypeDescription
HiveTableOptions

clear()

public HiveTableOptions.Builder clear()
Returns
TypeDescription
HiveTableOptions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HiveTableOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HiveTableOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HiveTableOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HiveTableOptions.Builder
Overrides

clearParameters()

public HiveTableOptions.Builder clearParameters()
Returns
TypeDescription
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
TypeDescription
HiveTableOptions.Builder

clearTableType()

public HiveTableOptions.Builder clearTableType()

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Returns
TypeDescription
HiveTableOptions.Builder

This builder for chaining.

clone()

public HiveTableOptions.Builder clone()
Returns
TypeDescription
HiveTableOptions.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public HiveTableOptions getDefaultInstanceForType()
Returns
TypeDescription
HiveTableOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableParameters()

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getParameters()

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
TypeDescription
Map<String,String>

getParametersCount()

public int getParametersCount()

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Returns
TypeDescription
int

getParametersMap()

public Map<String,String> getParametersMap()

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getStorageDescriptor()

public HiveTableOptions.StorageDescriptor getStorageDescriptor()

Stores physical storage information of the data.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
HiveTableOptions.StorageDescriptorOrBuilder

getTableType()

public String getTableType()

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Returns
TypeDescription
String

The tableType.

getTableTypeBytes()

public ByteString getTableTypeBytes()

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

string table_type = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the storageDescriptor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HiveTableOptions other)

public HiveTableOptions.Builder mergeFrom(HiveTableOptions other)
Parameter
NameDescription
otherHiveTableOptions
Returns
TypeDescription
HiveTableOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HiveTableOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveTableOptions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HiveTableOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHiveTableOptions.StorageDescriptor
Returns
TypeDescription
HiveTableOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HiveTableOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
HiveTableOptions.Builder

removeParameters(String key)

public HiveTableOptions.Builder removeParameters(String key)

Stores user supplied Hive table parameters.

map<string, string> parameters = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
HiveTableOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public HiveTableOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HiveTableOptions.Builder
Overrides

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

public HiveTableOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueHiveTableOptions.StorageDescriptor
Returns
TypeDescription
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
NameDescription
builderForValueHiveTableOptions.StorageDescriptor.Builder
Returns
TypeDescription
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
NameDescription
valueString

The tableType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tableType to set.

Returns
TypeDescription
HiveTableOptions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HiveTableOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HiveTableOptions.Builder
Overrides