Class IngestionFailureEvent.AvroFailureReason.Builder (1.134.2)

public static final class IngestionFailureEvent.AvroFailureReason.Builder extends GeneratedMessageV3.Builder<IngestionFailureEvent.AvroFailureReason.Builder> implements IngestionFailureEvent.AvroFailureReasonOrBuilder

Set when an Avro file is unsupported or its format is not valid. When this occurs, one or more Avro objects won't be ingested.

Protobuf type google.pubsub.v1.IngestionFailureEvent.AvroFailureReason

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestionFailureEvent.AvroFailureReason build()
Returns
Type Description
IngestionFailureEvent.AvroFailureReason

buildPartial()

public IngestionFailureEvent.AvroFailureReason buildPartial()
Returns
Type Description
IngestionFailureEvent.AvroFailureReason

clear()

public IngestionFailureEvent.AvroFailureReason.Builder clear()
Returns
Type Description
IngestionFailureEvent.AvroFailureReason.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public IngestionFailureEvent.AvroFailureReason.Builder clone()
Returns
Type Description
IngestionFailureEvent.AvroFailureReason.Builder
Overrides

getDefaultInstanceForType()

public IngestionFailureEvent.AvroFailureReason getDefaultInstanceForType()
Returns
Type Description
IngestionFailureEvent.AvroFailureReason

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(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IngestionFailureEvent.AvroFailureReason other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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