public final class TableSchema extends GeneratedMessageV3 implements TableSchemaOrBuilder
Schema of a table
Protobuf type google.cloud.bigquery.storage.v1beta2.TableSchema
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TableSchemaImplements
TableSchemaOrBuilderStatic Fields
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static TableSchema getDefaultInstance()
Returns | |
---|---|
Type | Description |
TableSchema |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static TableSchema.Builder newBuilder()
Returns | |
---|---|
Type | Description |
TableSchema.Builder |
newBuilder(TableSchema prototype)
public static TableSchema.Builder newBuilder(TableSchema prototype)
Parameter | |
---|---|
Name | Description |
prototype |
TableSchema |
Returns | |
---|---|
Type | Description |
TableSchema.Builder |
parseDelimitedFrom(InputStream input)
public static TableSchema parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TableSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static TableSchema parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TableSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static TableSchema parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TableSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static TableSchema parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TableSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static TableSchema parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TableSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static TableSchema parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TableSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TableSchema |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<TableSchema> parser()
Returns | |
---|---|
Type | Description |
Parser<TableSchema> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public TableSchema getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TableSchema |
getFields(int index)
public TableFieldSchema getFields(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TableFieldSchema |
getFieldsCount()
public int getFieldsCount()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns | |
---|---|
Type | Description |
int |
getFieldsList()
public List<TableFieldSchema> getFieldsList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns | |
---|---|
Type | Description |
List<TableFieldSchema> |
getFieldsOrBuilder(int index)
public TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TableFieldSchemaOrBuilder |
getFieldsOrBuilderList()
public List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> |
getParserForType()
public Parser<TableSchema> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<TableSchema> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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 TableSchema.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
TableSchema.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TableSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
TableSchema.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public TableSchema.Builder toBuilder()
Returns | |
---|---|
Type | Description |
TableSchema.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |