public static final class RenameTableRequest.Builder extends GeneratedMessage.Builder<RenameTableRequest.Builder> implements RenameTableRequestOrBuilderRequest message for the RenameTable method in MetastoreService
Protobuf type google.cloud.bigquery.biglake.v1.RenameTableRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RenameTableRequest.BuilderImplements
RenameTableRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public RenameTableRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RenameTableRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RenameTableRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RenameTableRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for newName to set. |
| Returns | |
|---|---|
| Type | Description |
RenameTableRequest.Builder |
This builder for chaining. |