Class CreateHiveTableRequest.Builder (0.76.0)

public static final class CreateHiveTableRequest.Builder extends GeneratedMessage.Builder<CreateHiveTableRequest.Builder> implements CreateHiveTableRequestOrBuilder

Request message for the CreateHiveTable method.

Protobuf type google.cloud.biglake.hive.v1beta.CreateHiveTableRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateHiveTableRequest build()
Returns
Type Description
CreateHiveTableRequest

buildPartial()

public CreateHiveTableRequest buildPartial()
Returns
Type Description
CreateHiveTableRequest

clear()

public CreateHiveTableRequest.Builder clear()
Returns
Type Description
CreateHiveTableRequest.Builder
Overrides

clearHiveTable()

public CreateHiveTableRequest.Builder clearHiveTable()

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateHiveTableRequest.Builder

clearHiveTableId()

public CreateHiveTableRequest.Builder clearHiveTableId()

Required. The Hive Table ID to use for the table that will become the final component of the table's resource name. The maximum length is 256 characters.

string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateHiveTableRequest.Builder

This builder for chaining.

clearParent()

public CreateHiveTableRequest.Builder clearParent()

Required. The parent resource for the table to be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateHiveTableRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateHiveTableRequest getDefaultInstanceForType()
Returns
Type Description
CreateHiveTableRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHiveTable()

public HiveTable getHiveTable()

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveTable

The hiveTable.

getHiveTableBuilder()

public HiveTable.Builder getHiveTableBuilder()

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveTable.Builder

getHiveTableId()

public String getHiveTableId()

Required. The Hive Table ID to use for the table that will become the final component of the table's resource name. The maximum length is 256 characters.

string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The hiveTableId.

getHiveTableIdBytes()

public ByteString getHiveTableIdBytes()

Required. The Hive Table ID to use for the table that will become the final component of the table's resource name. The maximum length is 256 characters.

string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for hiveTableId.

getHiveTableOrBuilder()

public HiveTableOrBuilder getHiveTableOrBuilder()

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HiveTableOrBuilder

getParent()

public String getParent()

Required. The parent resource for the table to be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource for the table to be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasHiveTable()

public boolean hasHiveTable()

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the hiveTable field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateHiveTableRequest other)

public CreateHiveTableRequest.Builder mergeFrom(CreateHiveTableRequest other)
Parameter
Name Description
other CreateHiveTableRequest
Returns
Type Description
CreateHiveTableRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateHiveTableRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateHiveTableRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateHiveTableRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateHiveTableRequest.Builder
Overrides

mergeHiveTable(HiveTable value)

public CreateHiveTableRequest.Builder mergeHiveTable(HiveTable value)

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HiveTable
Returns
Type Description
CreateHiveTableRequest.Builder

setHiveTable(HiveTable value)

public CreateHiveTableRequest.Builder setHiveTable(HiveTable value)

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HiveTable
Returns
Type Description
CreateHiveTableRequest.Builder

setHiveTable(HiveTable.Builder builderForValue)

public CreateHiveTableRequest.Builder setHiveTable(HiveTable.Builder builderForValue)

Required. The Hive Table to create. The name field does not need to be provided.

.google.cloud.biglake.hive.v1beta.HiveTable hive_table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue HiveTable.Builder
Returns
Type Description
CreateHiveTableRequest.Builder

setHiveTableId(String value)

public CreateHiveTableRequest.Builder setHiveTableId(String value)

Required. The Hive Table ID to use for the table that will become the final component of the table's resource name. The maximum length is 256 characters.

string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The hiveTableId to set.

Returns
Type Description
CreateHiveTableRequest.Builder

This builder for chaining.

setHiveTableIdBytes(ByteString value)

public CreateHiveTableRequest.Builder setHiveTableIdBytes(ByteString value)

Required. The Hive Table ID to use for the table that will become the final component of the table's resource name. The maximum length is 256 characters.

string hive_table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for hiveTableId to set.

Returns
Type Description
CreateHiveTableRequest.Builder

This builder for chaining.

setParent(String value)

public CreateHiveTableRequest.Builder setParent(String value)

Required. The parent resource for the table to be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateHiveTableRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateHiveTableRequest.Builder setParentBytes(ByteString value)

Required. The parent resource for the table to be created. Format: projects/{project_id_or_number}/catalogs/{catalog_id}/databases/{database_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateHiveTableRequest.Builder

This builder for chaining.