Class ProtoSchema.Builder (2.43.0)

public static final class ProtoSchema.Builder extends GeneratedMessageV3.Builder<ProtoSchema.Builder> implements ProtoSchemaOrBuilder

ProtoSchema describes the schema of the serialized protocol buffer data rows.

Protobuf type google.cloud.bigquery.storage.v1beta2.ProtoSchema

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProtoSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProtoSchema.Builder
Overrides

build()

public ProtoSchema build()
Returns
TypeDescription
ProtoSchema

buildPartial()

public ProtoSchema buildPartial()
Returns
TypeDescription
ProtoSchema

clear()

public ProtoSchema.Builder clear()
Returns
TypeDescription
ProtoSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProtoSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProtoSchema.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProtoSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ProtoSchema.Builder
Overrides

clearProtoDescriptor()

public ProtoSchema.Builder clearProtoDescriptor()

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
TypeDescription
ProtoSchema.Builder

clone()

public ProtoSchema.Builder clone()
Returns
TypeDescription
ProtoSchema.Builder
Overrides

getDefaultInstanceForType()

public ProtoSchema getDefaultInstanceForType()
Returns
TypeDescription
ProtoSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
DescriptorProto

The protoDescriptor.

getProtoDescriptorBuilder()

public DescriptorProtos.DescriptorProto.Builder getProtoDescriptorBuilder()

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
TypeDescription
Builder

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
TypeDescription
DescriptorProtoOrBuilder

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
TypeDescription
boolean

Whether the protoDescriptor field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProtoSchema other)

public ProtoSchema.Builder mergeFrom(ProtoSchema other)
Parameter
NameDescription
otherProtoSchema
Returns
TypeDescription
ProtoSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProtoSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProtoSchema.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProtoSchema.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProtoSchema.Builder
Overrides

mergeProtoDescriptor(DescriptorProtos.DescriptorProto value)

public ProtoSchema.Builder mergeProtoDescriptor(DescriptorProtos.DescriptorProto value)

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;

Parameter
NameDescription
valueDescriptorProto
Returns
TypeDescription
ProtoSchema.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProtoSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProtoSchema.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProtoSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProtoSchema.Builder
Overrides

setProtoDescriptor(DescriptorProtos.DescriptorProto value)

public ProtoSchema.Builder setProtoDescriptor(DescriptorProtos.DescriptorProto value)

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;

Parameter
NameDescription
valueDescriptorProto
Returns
TypeDescription
ProtoSchema.Builder

setProtoDescriptor(DescriptorProtos.DescriptorProto.Builder builderForValue)

public ProtoSchema.Builder setProtoDescriptor(DescriptorProtos.DescriptorProto.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ProtoSchema.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ProtoSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProtoSchema.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ProtoSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProtoSchema.Builder
Overrides