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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RenameTableRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RenameTableRequest build()
public RenameTableRequest buildPartial()
public RenameTableRequest.Builder clear()
Overrides
public RenameTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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) = { ... }
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) = { ... }
public RenameTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RenameTableRequest.Builder clone()
Overrides
public RenameTableRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RenameTableRequest.Builder mergeFrom(RenameTableRequest other)
public RenameTableRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RenameTableRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RenameTableRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RenameTableRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
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.
|
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.
|
public RenameTableRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RenameTableRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides