Class IngestionFailureEvent.ApiViolationReason.Builder (1.137.0)

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

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.ApiViolationReason.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

mergeFrom(Message other)

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

mergeFrom(IngestionFailureEvent.ApiViolationReason other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public IngestionFailureEvent.ApiViolationReason.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.ApiViolationReason.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.ApiViolationReason.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides