Class HiveTableOptions (0.7.0)

public final class HiveTableOptions extends GeneratedMessageV3 implements HiveTableOptionsOrBuilder

Options of a Hive table.

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

Static Fields

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_DESCRIPTOR_FIELD_NUMBER

public static final int STORAGE_DESCRIPTOR_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_TYPE_FIELD_NUMBER

public static final int TABLE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HiveTableOptions getDefaultInstance()
Returns
TypeDescription
HiveTableOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HiveTableOptions.Builder newBuilder()
Returns
TypeDescription
HiveTableOptions.Builder

newBuilder(HiveTableOptions prototype)

public static HiveTableOptions.Builder newBuilder(HiveTableOptions prototype)
Parameter
NameDescription
prototypeHiveTableOptions
Returns
TypeDescription
HiveTableOptions.Builder

parseDelimitedFrom(InputStream input)

public static HiveTableOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HiveTableOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HiveTableOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HiveTableOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HiveTableOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HiveTableOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HiveTableOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HiveTableOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HiveTableOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HiveTableOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HiveTableOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HiveTableOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HiveTableOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HiveTableOptions> parser()
Returns
TypeDescription
Parser<HiveTableOptions>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HiveTableOptions getDefaultInstanceForType()
Returns
TypeDescription
HiveTableOptions

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

getParserForType()

public Parser<HiveTableOptions> getParserForType()
Returns
TypeDescription
Parser<HiveTableOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HiveTableOptions.Builder newBuilderForType()
Returns
TypeDescription
HiveTableOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HiveTableOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HiveTableOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HiveTableOptions.Builder toBuilder()
Returns
TypeDescription
HiveTableOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException