public static final class AvroProto.AvroSchema.Builder extends GeneratedMessageV3.Builder<AvroProto.AvroSchema.Builder> implements AvroProto.AvroSchemaOrBuilder
Avro schema.
Protobuf type google.cloud.bigquery.storage.v1beta1.AvroSchema
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AvroProto.AvroSchema.BuilderImplements
AvroProto.AvroSchemaOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AvroProto.AvroSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AvroProto.AvroSchema.Builder |
build()
public AvroProto.AvroSchema build()
Type | Description |
AvroProto.AvroSchema |
buildPartial()
public AvroProto.AvroSchema buildPartial()
Type | Description |
AvroProto.AvroSchema |
clear()
public AvroProto.AvroSchema.Builder clear()
Type | Description |
AvroProto.AvroSchema.Builder |
clearField(Descriptors.FieldDescriptor field)
public AvroProto.AvroSchema.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AvroProto.AvroSchema.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AvroProto.AvroSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AvroProto.AvroSchema.Builder |
clearSchema()
public AvroProto.AvroSchema.Builder clearSchema()
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html
string schema = 1;
Type | Description |
AvroProto.AvroSchema.Builder | This builder for chaining. |
clone()
public AvroProto.AvroSchema.Builder clone()
Type | Description |
AvroProto.AvroSchema.Builder |
getDefaultInstanceForType()
public AvroProto.AvroSchema getDefaultInstanceForType()
Type | Description |
AvroProto.AvroSchema |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSchema()
public String getSchema()
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html
string schema = 1;
Type | Description |
String | The schema. |
getSchemaBytes()
public ByteString getSchemaBytes()
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html
string schema = 1;
Type | Description |
ByteString | The bytes for schema. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AvroProto.AvroSchema other)
public AvroProto.AvroSchema.Builder mergeFrom(AvroProto.AvroSchema other)
Name | Description |
other | AvroProto.AvroSchema |
Type | Description |
AvroProto.AvroSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AvroProto.AvroSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AvroProto.AvroSchema.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AvroProto.AvroSchema.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AvroProto.AvroSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AvroProto.AvroSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AvroProto.AvroSchema.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AvroProto.AvroSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AvroProto.AvroSchema.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AvroProto.AvroSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AvroProto.AvroSchema.Builder |
setSchema(String value)
public AvroProto.AvroSchema.Builder setSchema(String value)
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html
string schema = 1;
Name | Description |
value | String The schema to set. |
Type | Description |
AvroProto.AvroSchema.Builder | This builder for chaining. |
setSchemaBytes(ByteString value)
public AvroProto.AvroSchema.Builder setSchemaBytes(ByteString value)
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html
string schema = 1;
Name | Description |
value | ByteString The bytes for schema to set. |
Type | Description |
AvroProto.AvroSchema.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AvroProto.AvroSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AvroProto.AvroSchema.Builder |