public static final class HiveTableOptions.Builder extends GeneratedMessage.Builder<HiveTableOptions.Builder> implements HiveTableOptionsOrBuilderOptions of a Hive table.
Protobuf type google.cloud.bigquery.biglake.v1.HiveTableOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HiveTableOptions.BuilderImplements
HiveTableOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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.v1.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. |
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 |
|
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.v1.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.v1.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.v1.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.v1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the storageDescriptor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HiveTableOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HiveTableOptions.Builder |
|
mergeStorageDescriptor(HiveTableOptions.StorageDescriptor value)
public HiveTableOptions.Builder mergeStorageDescriptor(HiveTableOptions.StorageDescriptor value)Stores physical storage information of the data.
.google.cloud.bigquery.biglake.v1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
HiveTableOptions.StorageDescriptor |
| Returns | |
|---|---|
| Type | Description |
HiveTableOptions.Builder |
|
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 |
|
setStorageDescriptor(HiveTableOptions.StorageDescriptor value)
public HiveTableOptions.Builder setStorageDescriptor(HiveTableOptions.StorageDescriptor value)Stores physical storage information of the data.
.google.cloud.bigquery.biglake.v1.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.v1.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 |
StringThe 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 |
ByteStringThe bytes for tableType to set. |
| Returns | |
|---|---|
| Type | Description |
HiveTableOptions.Builder |
This builder for chaining. |