public final class RenameTableRequest extends GeneratedMessageV3 implements RenameTableRequestOrBuilder
Request message for the RenameTable method in MetastoreService
Protobuf type google.cloud.bigquery.biglake.v1.RenameTableRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NEW_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static RenameTableRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RenameTableRequest.Builder newBuilder()
public static RenameTableRequest.Builder newBuilder(RenameTableRequest prototype)
public static RenameTableRequest parseDelimitedFrom(InputStream input)
public static RenameTableRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RenameTableRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static RenameTableRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RenameTableRequest parseFrom(ByteString data)
public static RenameTableRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RenameTableRequest parseFrom(CodedInputStream input)
public static RenameTableRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RenameTableRequest parseFrom(InputStream input)
public static RenameTableRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RenameTableRequest parseFrom(ByteBuffer data)
public static RenameTableRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RenameTableRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public RenameTableRequest getDefaultInstanceForType()
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.
|
public Parser<RenameTableRequest> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RenameTableRequest.Builder newBuilderForType()
protected RenameTableRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public RenameTableRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides