Class IngestionFailureEvent.ApiViolationReason.Builder (1.134.1)

public static final class IngestionFailureEvent.ApiViolationReason.Builder extends GeneratedMessageV3.Builder<IngestionFailureEvent.ApiViolationReason.Builder> implements IngestionFailureEvent.ApiViolationReasonOrBuilder

Specifies the reason why some data may have been left out of the desired Pub/Sub message due to the API message limits (https://cloud.google.com/pubsub/quotas#resource_limits). For example, when the number of attributes is larger than 100, the number of attributes is truncated to 100 to respect the limit on the attribute count. Other attribute limits are treated similarly. When the size of the desired message would've been larger than 10MB, the message won't be published at all, and ingestion of the subsequent messages will proceed as normal.

Protobuf type google.pubsub.v1.IngestionFailureEvent.ApiViolationReason

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

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.ApiViolationReason.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionFailureEvent.ApiViolationReason.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(IngestionFailureEvent.ApiViolationReason other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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