public final class CreateMetastorePartitionRequest extends GeneratedMessageV3 implements CreateMetastorePartitionRequestOrBuilder
Request message for CreateMetastorePartition. The MetastorePartition is uniquely identified by values, which is an ordered list. Hence, there is no separate name or partition id field.
Protobuf type google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateMetastorePartitionRequestImplements
CreateMetastorePartitionRequestOrBuilderStatic Fields
METASTORE_PARTITION_FIELD_NUMBER
public static final int METASTORE_PARTITION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateMetastorePartitionRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CreateMetastorePartitionRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest.Builder |
newBuilder(CreateMetastorePartitionRequest prototype)
public static CreateMetastorePartitionRequest.Builder newBuilder(CreateMetastorePartitionRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
CreateMetastorePartitionRequest |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateMetastorePartitionRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateMetastorePartitionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateMetastorePartitionRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateMetastorePartitionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateMetastorePartitionRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateMetastorePartitionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateMetastorePartitionRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateMetastorePartitionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateMetastorePartitionRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateMetastorePartitionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateMetastorePartitionRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateMetastorePartitionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateMetastorePartitionRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<CreateMetastorePartitionRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public CreateMetastorePartitionRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest |
getMetastorePartition()
public MetastorePartition getMetastorePartition()
Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetastorePartition |
The metastorePartition. |
getMetastorePartitionOrBuilder()
public MetastorePartitionOrBuilder getMetastorePartitionOrBuilder()
Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetastorePartitionOrBuilder |
getParent()
public String getParent()
Required. Reference to the table to where the metastore partition to be added, in the format of projects/{project}/databases/{databases}/tables/{table}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Reference to the table to where the metastore partition to be added, in the format of projects/{project}/databases/{databases}/tables/{table}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getParserForType()
public Parser<CreateMetastorePartitionRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CreateMetastorePartitionRequest> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasMetastorePartition()
public boolean hasMetastorePartition()
Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the metastorePartition field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CreateMetastorePartitionRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateMetastorePartitionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CreateMetastorePartitionRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CreateMetastorePartitionRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |