Class AvroFileFormat.Builder (1.11.0)

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

AVRO file format configuration.

Protobuf type google.cloud.datastream.v1alpha1.AvroFileFormat

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AvroFileFormat build()
Returns
TypeDescription
AvroFileFormat

buildPartial()

public AvroFileFormat buildPartial()
Returns
TypeDescription
AvroFileFormat

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AvroFileFormat getDefaultInstanceForType()
Returns
TypeDescription
AvroFileFormat

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AvroFileFormat other)

public AvroFileFormat.Builder mergeFrom(AvroFileFormat other)
Parameter
NameDescription
otherAvroFileFormat
Returns
TypeDescription
AvroFileFormat.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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