Interface HiveTableOrBuilder (0.76.0)

public interface HiveTableOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsParameters(String key)

public abstract boolean containsParameters(String key)

Optional. Stores the properties associated with the table. The maximum size is 4MiB.

map<string, string> parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the table.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the table.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Optional. Description of the table. The maximum length is 4000 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. Description of the table. The maximum length is 4000 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getName()

public abstract String getName()

Output only. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParameters() (deprecated)

public abstract Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public abstract int getParametersCount()

Optional. Stores the properties associated with the table. The maximum size is 4MiB.

map<string, string> parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getParametersMap()

public abstract Map<String,String> getParametersMap()

Optional. Stores the properties associated with the table. The maximum size is 4MiB.

map<string, string> parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public abstract String getParametersOrDefault(String key, String defaultValue)

Optional. Stores the properties associated with the table. The maximum size is 4MiB.

map<string, string> parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public abstract String getParametersOrThrow(String key)

Optional. Stores the properties associated with the table. The maximum size is 4MiB.

map<string, string> parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getPartitionKeys(int index)

public abstract FieldSchema getPartitionKeys(int index)

Optional. The partition keys of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema partition_keys = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FieldSchema

getPartitionKeysCount()

public abstract int getPartitionKeysCount()

Optional. The partition keys of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema partition_keys = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getPartitionKeysList()

public abstract List<FieldSchema> getPartitionKeysList()

Optional. The partition keys of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema partition_keys = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<FieldSchema>

getPartitionKeysOrBuilder(int index)

public abstract FieldSchemaOrBuilder getPartitionKeysOrBuilder(int index)

Optional. The partition keys of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema partition_keys = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
FieldSchemaOrBuilder

getPartitionKeysOrBuilderList()

public abstract List<? extends FieldSchemaOrBuilder> getPartitionKeysOrBuilderList()

Optional. The partition keys of the table.

repeated .google.cloud.biglake.hive.v1beta.FieldSchema partition_keys = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.biglake.hive.v1beta.FieldSchemaOrBuilder>

getStorageDescriptor()

public abstract StorageDescriptor getStorageDescriptor()

Required. Storage descriptor of the table.

.google.cloud.biglake.hive.v1beta.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageDescriptor

The storageDescriptor.

getStorageDescriptorOrBuilder()

public abstract StorageDescriptorOrBuilder getStorageDescriptorOrBuilder()

Required. Storage descriptor of the table.

.google.cloud.biglake.hive.v1beta.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StorageDescriptorOrBuilder

getTableType()

public abstract String getTableType()

Output only. The type of the table. This is EXTERNAL for BigLake hive tables.

string table_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The tableType.

getTableTypeBytes()

public abstract ByteString getTableTypeBytes()

Output only. The type of the table. This is EXTERNAL for BigLake hive tables.

string table_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for tableType.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time of the table.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasStorageDescriptor()

public abstract boolean hasStorageDescriptor()

Required. Storage descriptor of the table.

.google.cloud.biglake.hive.v1beta.StorageDescriptor storage_descriptor = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the storageDescriptor field is set.