public static final class ProtoSchema.Builder extends GeneratedMessage.Builder<ProtoSchema.Builder> implements ProtoSchemaOrBuilderProtoSchema describes the schema of the serialized protocol buffer data rows.
Protobuf type google.cloud.bigquery.storage.v1.ProtoSchema
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProtoSchema.BuilderImplements
ProtoSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProtoSchema build()| Returns | |
|---|---|
| Type | Description |
ProtoSchema |
|
buildPartial()
public ProtoSchema buildPartial()| Returns | |
|---|---|
| Type | Description |
ProtoSchema |
|
clear()
public ProtoSchema.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|
clearProtoDescriptor()
public ProtoSchema.Builder clearProtoDescriptor()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;
| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|
getDefaultInstanceForType()
public ProtoSchema getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProtoSchema |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
DescriptorProto |
The protoDescriptor. |
getProtoDescriptorBuilder()
public DescriptorProtos.DescriptorProto.Builder getProtoDescriptorBuilder()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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
DescriptorProtoOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the protoDescriptor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProtoSchema other)
public ProtoSchema.Builder mergeFrom(ProtoSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
ProtoSchema |
| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProtoSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProtoSchema.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|
mergeProtoDescriptor(DescriptorProtos.DescriptorProto value)
public ProtoSchema.Builder mergeProtoDescriptor(DescriptorProtos.DescriptorProto value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
DescriptorProto |
| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|
setProtoDescriptor(DescriptorProtos.DescriptorProto value)
public ProtoSchema.Builder setProtoDescriptor(DescriptorProtos.DescriptorProto value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
DescriptorProto |
| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|
setProtoDescriptor(DescriptorProtos.DescriptorProto.Builder builderForValue)
public ProtoSchema.Builder setProtoDescriptor(DescriptorProtos.DescriptorProto.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ProtoSchema.Builder |
|