Class RenameTableRequest.Builder (0.41.0)

public static final class RenameTableRequest.Builder extends GeneratedMessageV3.Builder<RenameTableRequest.Builder> implements RenameTableRequestOrBuilder

Request message for the RenameTable method in MetastoreService

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenameTableRequest build()
Returns
Type Description
RenameTableRequest

buildPartial()

public RenameTableRequest buildPartial()
Returns
Type Description
RenameTableRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RenameTableRequest.Builder clearName()

Required. The table's name field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

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

Returns
Type Description
RenameTableRequest.Builder

This builder for chaining.

clearNewName()

public RenameTableRequest.Builder clearNewName()

Required. The new name for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string new_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
RenameTableRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RenameTableRequest getDefaultInstanceForType()
Returns
Type Description
RenameTableRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The table's name field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The table's name field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

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

Returns
Type Description
ByteString

The bytes for name.

getNewName()

public String getNewName()

Required. The new name for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string new_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The newName.

getNewNameBytes()

public ByteString getNewNameBytes()

Required. The new name for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string new_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for newName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RenameTableRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RenameTableRequest.Builder setName(String value)

Required. The table's name field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RenameTableRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RenameTableRequest.Builder setNameBytes(ByteString value)

Required. The table's name field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RenameTableRequest.Builder

This builder for chaining.

setNewName(String value)

public RenameTableRequest.Builder setNewName(String value)

Required. The new name for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string new_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The newName to set.

Returns
Type Description
RenameTableRequest.Builder

This builder for chaining.

setNewNameBytes(ByteString value)

public RenameTableRequest.Builder setNewNameBytes(ByteString value)

Required. The new name for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string new_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for newName to set.

Returns
Type Description
RenameTableRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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