Class CreateTableRequest.Builder (0.35.0)

public static final class CreateTableRequest.Builder extends GeneratedMessageV3.Builder<CreateTableRequest.Builder> implements CreateTableRequestOrBuilder

Request message for the CreateTable method.

Protobuf type google.cloud.bigquery.biglake.v1.CreateTableRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTableRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateTableRequest.Builder
Overrides

build()

public CreateTableRequest build()
Returns
Type Description
CreateTableRequest

buildPartial()

public CreateTableRequest buildPartial()
Returns
Type Description
CreateTableRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateTableRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateTableRequest.Builder
Overrides

clearParent()

public CreateTableRequest.Builder clearParent()

Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}

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

Returns
Type Description
CreateTableRequest.Builder

This builder for chaining.

clearTable()

public CreateTableRequest.Builder clearTable()

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateTableRequest.Builder

clearTableId()

public CreateTableRequest.Builder clearTableId()

Required. The ID to use for the table, which will become the final component of the table's resource name.

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

Returns
Type Description
CreateTableRequest.Builder

This builder for chaining.

clone()

public CreateTableRequest.Builder clone()
Returns
Type Description
CreateTableRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateTableRequest getDefaultInstanceForType()
Returns
Type Description
CreateTableRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/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 where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/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.

getTable()

public Table getTable()

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Table

The table.

getTableBuilder()

public Table.Builder getTableBuilder()

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Table.Builder

getTableId()

public String getTableId()

Required. The ID to use for the table, which will become the final component of the table's resource name.

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

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

Required. The ID to use for the table, which will become the final component of the table's resource name.

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

Returns
Type Description
ByteString

The bytes for tableId.

getTableOrBuilder()

public TableOrBuilder getTableOrBuilder()

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TableOrBuilder

hasTable()

public boolean hasTable()

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the table field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateTableRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTable(Table value)

public CreateTableRequest.Builder mergeTable(Table value)

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Table
Returns
Type Description
CreateTableRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTableRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateTableRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTableRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateTableRequest.Builder
Overrides

setParent(String value)

public CreateTableRequest.Builder setParent(String value)

Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/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
CreateTableRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTableRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/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
CreateTableRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateTableRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateTableRequest.Builder
Overrides

setTable(Table value)

public CreateTableRequest.Builder setTable(Table value)

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Table
Returns
Type Description
CreateTableRequest.Builder

setTable(Table.Builder builderForValue)

public CreateTableRequest.Builder setTable(Table.Builder builderForValue)

Required. The table to create. The name field does not need to be provided for the table creation.

.google.cloud.bigquery.biglake.v1.Table table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Table.Builder
Returns
Type Description
CreateTableRequest.Builder

setTableId(String value)

public CreateTableRequest.Builder setTableId(String value)

Required. The ID to use for the table, which will become the final component of the table's resource name.

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

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
CreateTableRequest.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public CreateTableRequest.Builder setTableIdBytes(ByteString value)

Required. The ID to use for the table, which will become the final component of the table's resource name.

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

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
CreateTableRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTableRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateTableRequest.Builder
Overrides