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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProtoSchema.BuilderImplements
ProtoSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProtoSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProtoSchema.Builder |
build()
public ProtoSchema build()
Type | Description |
ProtoSchema |
buildPartial()
public ProtoSchema buildPartial()
Type | Description |
ProtoSchema |
clear()
public ProtoSchema.Builder clear()
Type | Description |
ProtoSchema.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProtoSchema.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ProtoSchema.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProtoSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ProtoSchema.Builder |
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;
Type | Description |
ProtoSchema.Builder |
clone()
public ProtoSchema.Builder clone()
Type | Description |
ProtoSchema.Builder |
getDefaultInstanceForType()
public ProtoSchema getDefaultInstanceForType()
Type | Description |
ProtoSchema |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
boolean | Whether the protoDescriptor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ProtoSchema other)
public ProtoSchema.Builder mergeFrom(ProtoSchema other)
Name | Description |
other | ProtoSchema |
Type | Description |
ProtoSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProtoSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProtoSchema.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ProtoSchema.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ProtoSchema.Builder |
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;
Name | Description |
value | DescriptorProto |
Type | Description |
ProtoSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProtoSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProtoSchema.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProtoSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProtoSchema.Builder |
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;
Name | Description |
value | DescriptorProto |
Type | Description |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ProtoSchema.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProtoSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ProtoSchema.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProtoSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProtoSchema.Builder |