Class IngestionFailureEvent.ConfluentCloudFailureReason.Builder (1.136.0)

public static final class IngestionFailureEvent.ConfluentCloudFailureReason.Builder extends GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder> implements IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder

Failure when ingesting from a Confluent Cloud source.

Protobuf type google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestionFailureEvent.ConfluentCloudFailureReason.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearApiViolationReason()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearApiViolationReason()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

clearClusterId()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearClusterId()

Optional. The cluster ID containing the topic being ingested from.

string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearKafkaTopic()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearKafkaTopic()

Optional. The name of the Kafka topic being ingested from.

string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

clearOffset()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearOffset()

Optional. The offset within the partition of the message that failed to be ingested.

int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionId()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearPartitionId()

Optional. The partition ID of the message that failed to be ingested.

int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

clearReason()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearReason()
Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

clone()

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

getApiViolationReason()

public IngestionFailureEvent.ApiViolationReason getApiViolationReason()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ApiViolationReason

The apiViolationReason.

getApiViolationReasonBuilder()

public IngestionFailureEvent.ApiViolationReason.Builder getApiViolationReasonBuilder()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ApiViolationReason.Builder

getApiViolationReasonOrBuilder()

public IngestionFailureEvent.ApiViolationReasonOrBuilder getApiViolationReasonOrBuilder()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ApiViolationReasonOrBuilder

getClusterId()

public String getClusterId()

Optional. The cluster ID containing the topic being ingested from.

string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The clusterId.

getClusterIdBytes()

public ByteString getClusterIdBytes()

Optional. The cluster ID containing the topic being ingested from.

string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKafkaTopic()

public String getKafkaTopic()

Optional. The name of the Kafka topic being ingested from.

string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The kafkaTopic.

getKafkaTopicBytes()

public ByteString getKafkaTopicBytes()

Optional. The name of the Kafka topic being ingested from.

string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for kafkaTopic.

getOffset()

public long getOffset()

Optional. The offset within the partition of the message that failed to be ingested.

int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The offset.

getPartitionId()

public long getPartitionId()

Optional. The partition ID of the message that failed to be ingested.

int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The partitionId.

getReasonCase()

public IngestionFailureEvent.ConfluentCloudFailureReason.ReasonCase getReasonCase()
Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.ReasonCase

hasApiViolationReason()

public boolean hasApiViolationReason()

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the apiViolationReason field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiViolationReason(IngestionFailureEvent.ApiViolationReason value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder mergeApiViolationReason(IngestionFailureEvent.ApiViolationReason value)

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IngestionFailureEvent.ApiViolationReason
Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IngestionFailureEvent.ConfluentCloudFailureReason other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setApiViolationReason(IngestionFailureEvent.ApiViolationReason value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setApiViolationReason(IngestionFailureEvent.ApiViolationReason value)

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value IngestionFailureEvent.ApiViolationReason
Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue)

Optional. The Pub/Sub API limits prevented the desired message from being published.

.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue IngestionFailureEvent.ApiViolationReason.Builder
Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

setClusterId(String value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setClusterId(String value)

Optional. The cluster ID containing the topic being ingested from.

string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The clusterId to set.

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

setClusterIdBytes(ByteString value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setClusterIdBytes(ByteString value)

Optional. The cluster ID containing the topic being ingested from.

string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for clusterId to set.

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setKafkaTopic(String value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setKafkaTopic(String value)

Optional. The name of the Kafka topic being ingested from.

string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The kafkaTopic to set.

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

setKafkaTopicBytes(ByteString value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setKafkaTopicBytes(ByteString value)

Optional. The name of the Kafka topic being ingested from.

string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for kafkaTopic to set.

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

setOffset(long value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setOffset(long value)

Optional. The offset within the partition of the message that failed to be ingested.

int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The offset to set.

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

setPartitionId(long value)

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setPartitionId(long value)

Optional. The partition ID of the message that failed to be ingested.

int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The partitionId to set.

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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