Class AvroFileFormat.Builder (1.42.0)

public static final class AvroFileFormat.Builder extends GeneratedMessageV3.Builder<AvroFileFormat.Builder> implements AvroFileFormatOrBuilder

AVRO file format configuration.

Protobuf type google.cloud.datastream.v1.AvroFileFormat

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AvroFileFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AvroFileFormat.Builder
Overrides

build()

public AvroFileFormat build()
Returns
Type Description
AvroFileFormat

buildPartial()

public AvroFileFormat buildPartial()
Returns
Type Description
AvroFileFormat

clear()

public AvroFileFormat.Builder clear()
Returns
Type Description
AvroFileFormat.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AvroFileFormat.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AvroFileFormat.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AvroFileFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AvroFileFormat.Builder
Overrides

clone()

public AvroFileFormat.Builder clone()
Returns
Type Description
AvroFileFormat.Builder
Overrides

getDefaultInstanceForType()

public AvroFileFormat getDefaultInstanceForType()
Returns
Type Description
AvroFileFormat

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AvroFileFormat other)

public AvroFileFormat.Builder mergeFrom(AvroFileFormat other)
Parameter
Name Description
other AvroFileFormat
Returns
Type Description
AvroFileFormat.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AvroFileFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AvroFileFormat.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AvroFileFormat.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AvroFileFormat.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AvroFileFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AvroFileFormat.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AvroFileFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AvroFileFormat.Builder
Overrides

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

public AvroFileFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AvroFileFormat.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AvroFileFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AvroFileFormat.Builder
Overrides