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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestionFailureEvent.ApiViolationReason.BuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public IngestionFailureEvent.ApiViolationReason.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionFailureEvent.ApiViolationReason.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
clone()
public IngestionFailureEvent.ApiViolationReason.Builder clone()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |
getDefaultInstanceForType()
public IngestionFailureEvent.ApiViolationReason getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionFailureEvent.ApiViolationReason.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason.Builder |