Class CreateTableRequest.Builder (0.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTableRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

build()

public CreateTableRequest build()
Returns
TypeDescription
CreateTableRequest

buildPartial()

public CreateTableRequest buildPartial()
Returns
TypeDescription
CreateTableRequest

clear()

public CreateTableRequest.Builder clear()
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

clone()

public CreateTableRequest.Builder clone()
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateTableRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTableRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the table field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTableRequest other)

public CreateTableRequest.Builder mergeFrom(CreateTableRequest other)
Parameter
NameDescription
otherCreateTableRequest
Returns
TypeDescription
CreateTableRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateTableRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTableRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateTableRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTable
Returns
TypeDescription
CreateTableRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTableRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTableRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTable
Returns
TypeDescription
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
NameDescription
builderForValueTable.Builder
Returns
TypeDescription
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
NameDescription
valueString

The tableId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tableId to set.

Returns
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTableRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTableRequest.Builder
Overrides