Class IngestionFailureEvent.AvroFailureReason.Builder (1.137.0)

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
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()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public IngestionFailureEvent.AvroFailureReason.Builder clone()
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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(IngestionFailureEvent.AvroFailureReason other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public IngestionFailureEvent.AvroFailureReason.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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