public static final class HiveTableOptions.Builder extends GeneratedMessageV3.Builder<HiveTableOptions.Builder> implements HiveTableOptionsOrBuilder
Options of a Hive table.
Protobuf type google.cloud.bigquery.biglake.v1.HiveTableOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HiveTableOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HiveTableOptions build()
buildPartial()
public HiveTableOptions buildPartial()
clear()
public HiveTableOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public HiveTableOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HiveTableOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParameters()
public HiveTableOptions.Builder clearParameters()
clearStorageDescriptor()
public HiveTableOptions.Builder clearStorageDescriptor()
Stores physical storage information of the data.
.google.cloud.bigquery.biglake.v1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;
clearTableType()
public HiveTableOptions.Builder clearTableType()
Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
string table_type = 2;
clone()
public HiveTableOptions.Builder clone()
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
|
getDefaultInstanceForType()
public HiveTableOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableParameters() (deprecated)
public Map<String,String> getMutableParameters()
Use alternate mutation accessors instead.
getParameters() (deprecated)
public Map<String,String> getParameters()
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;
getParametersOrDefault(String key, String defaultValue)
public String getParametersOrDefault(String key, String defaultValue)
Stores user supplied Hive table parameters.
map<string, string> parameters = 1;
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;
getStorageDescriptorBuilder()
public HiveTableOptions.StorageDescriptor.Builder getStorageDescriptorBuilder()
Stores physical storage information of the data.
.google.cloud.bigquery.biglake.v1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;
getStorageDescriptorOrBuilder()
public HiveTableOptions.StorageDescriptorOrBuilder getStorageDescriptorOrBuilder()
Stores physical storage information of the data.
.google.cloud.bigquery.biglake.v1.HiveTableOptions.StorageDescriptor storage_descriptor = 3;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
mergeFrom(HiveTableOptions other)
public HiveTableOptions.Builder mergeFrom(HiveTableOptions other)
public HiveTableOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HiveTableOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HiveTableOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
putParameters(String key, String value)
public HiveTableOptions.Builder putParameters(String key, String value)
Stores user supplied Hive table parameters.
map<string, string> parameters = 1;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public HiveTableOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HiveTableOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
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;
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final HiveTableOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides