public final class ProtoSchema extends GeneratedMessageV3 implements ProtoSchemaOrBuilder
ProtoSchema describes the schema of the serialized protocol buffer data rows.
Protobuf type google.cloud.bigquery.storage.v1.ProtoSchema
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProtoSchemaImplements
ProtoSchemaOrBuilderStatic Fields
PROTO_DESCRIPTOR_FIELD_NUMBER
public static final int PROTO_DESCRIPTOR_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ProtoSchema getDefaultInstance()
Type | Description |
ProtoSchema |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ProtoSchema.Builder newBuilder()
Type | Description |
ProtoSchema.Builder |
newBuilder(ProtoSchema prototype)
public static ProtoSchema.Builder newBuilder(ProtoSchema prototype)
Name | Description |
prototype | ProtoSchema |
Type | Description |
ProtoSchema.Builder |
parseDelimitedFrom(InputStream input)
public static ProtoSchema parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ProtoSchema |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProtoSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProtoSchema |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ProtoSchema parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ProtoSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ProtoSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProtoSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ProtoSchema parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ProtoSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ProtoSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProtoSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ProtoSchema parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ProtoSchema |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ProtoSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProtoSchema |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ProtoSchema parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ProtoSchema |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ProtoSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProtoSchema |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ProtoSchema parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ProtoSchema |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ProtoSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProtoSchema |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ProtoSchema> parser()
Type | Description |
Parser<ProtoSchema> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ProtoSchema getDefaultInstanceForType()
Type | Description |
ProtoSchema |
getParserForType()
public Parser<ProtoSchema> getParserForType()
Type | Description |
Parser<ProtoSchema> |
getProtoDescriptor()
public DescriptorProtos.DescriptorProto getProtoDescriptor()
Descriptor for input message. The provided descriptor must be self contained, such that data rows sent can be fully decoded using only the single descriptor. For data rows that are compositions of multiple independent messages, this means the descriptor may need to be transformed to only use nested types: https://developers.google.com/protocol-buffers/docs/proto#nested For additional information for how proto types and values map onto BigQuery see: https://cloud.google.com/bigquery/docs/write-api#data_type_conversions
.google.protobuf.DescriptorProto proto_descriptor = 1;
Type | Description |
DescriptorProto | The protoDescriptor. |
getProtoDescriptorOrBuilder()
public DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder()
Descriptor for input message. The provided descriptor must be self contained, such that data rows sent can be fully decoded using only the single descriptor. For data rows that are compositions of multiple independent messages, this means the descriptor may need to be transformed to only use nested types: https://developers.google.com/protocol-buffers/docs/proto#nested For additional information for how proto types and values map onto BigQuery see: https://cloud.google.com/bigquery/docs/write-api#data_type_conversions
.google.protobuf.DescriptorProto proto_descriptor = 1;
Type | Description |
DescriptorProtoOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasProtoDescriptor()
public boolean hasProtoDescriptor()
Descriptor for input message. The provided descriptor must be self contained, such that data rows sent can be fully decoded using only the single descriptor. For data rows that are compositions of multiple independent messages, this means the descriptor may need to be transformed to only use nested types: https://developers.google.com/protocol-buffers/docs/proto#nested For additional information for how proto types and values map onto BigQuery see: https://cloud.google.com/bigquery/docs/write-api#data_type_conversions
.google.protobuf.DescriptorProto proto_descriptor = 1;
Type | Description |
boolean | Whether the protoDescriptor field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ProtoSchema.Builder newBuilderForType()
Type | Description |
ProtoSchema.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ProtoSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ProtoSchema.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ProtoSchema.Builder toBuilder()
Type | Description |
ProtoSchema.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |