Class ProtoSchema (3.5.2)

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.v1beta2.ProtoSchema

Static Fields

PROTO_DESCRIPTOR_FIELD_NUMBER

public static final int PROTO_DESCRIPTOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProtoSchema getDefaultInstance()
Returns
Type Description
ProtoSchema

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ProtoSchema.Builder newBuilder()
Returns
Type Description
ProtoSchema.Builder

newBuilder(ProtoSchema prototype)

public static ProtoSchema.Builder newBuilder(ProtoSchema prototype)
Parameter
Name Description
prototype ProtoSchema
Returns
Type Description
ProtoSchema.Builder

parseDelimitedFrom(InputStream input)

public static ProtoSchema parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProtoSchema
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProtoSchema parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProtoSchema
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProtoSchema parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProtoSchema parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProtoSchema parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProtoSchema parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProtoSchema parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProtoSchema
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProtoSchema parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProtoSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProtoSchema parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProtoSchema
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProtoSchema parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProtoSchema
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProtoSchema parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProtoSchema parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProtoSchema
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProtoSchema> parser()
Returns
Type Description
Parser<ProtoSchema>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ProtoSchema getDefaultInstanceForType()
Returns
Type Description
ProtoSchema

getParserForType()

public Parser<ProtoSchema> getParserForType()
Returns
Type Description
Parser<ProtoSchema>
Overrides

getProtoDescriptor()

public DescriptorProtos.DescriptorProto getProtoDescriptor()

Descriptor for input message. The descriptor has to be self contained, including all the nested types, excepted for proto buffer well known types (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).

.google.protobuf.DescriptorProto proto_descriptor = 1;

Returns
Type Description
DescriptorProto

The protoDescriptor.

getProtoDescriptorOrBuilder()

public DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder()

Descriptor for input message. The descriptor has to be self contained, including all the nested types, excepted for proto buffer well known types (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).

.google.protobuf.DescriptorProto proto_descriptor = 1;

Returns
Type Description
DescriptorProtoOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasProtoDescriptor()

public boolean hasProtoDescriptor()

Descriptor for input message. The descriptor has to be self contained, including all the nested types, excepted for proto buffer well known types (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).

.google.protobuf.DescriptorProto proto_descriptor = 1;

Returns
Type Description
boolean

Whether the protoDescriptor field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProtoSchema.Builder newBuilderForType()
Returns
Type Description
ProtoSchema.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProtoSchema.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProtoSchema.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProtoSchema.Builder toBuilder()
Returns
Type Description
ProtoSchema.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException