Class RenameTableRequest.Builder (0.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RenameTableRequest build()
Returns
TypeDescription
RenameTableRequest

buildPartial()

public RenameTableRequest buildPartial()
Returns
TypeDescription
RenameTableRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RenameTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RenameTableRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RenameTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RenameTableRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public RenameTableRequest getDefaultInstanceForType()
Returns
TypeDescription
RenameTableRequest

getDescriptorForType()

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

The bytes for newName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RenameTableRequest other)

public RenameTableRequest.Builder mergeFrom(RenameTableRequest other)
Parameter
NameDescription
otherRenameTableRequest
Returns
TypeDescription
RenameTableRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RenameTableRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RenameTableRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The newName to set.

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

The bytes for newName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RenameTableRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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