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

build()

public IngestionFailureEvent.ConfluentCloudFailureReason build()

buildPartial()

public IngestionFailureEvent.ConfluentCloudFailureReason buildPartial()

clear()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clear()
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];

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

clone()

public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clone()
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];

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];

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IngestionFailureEvent.ConfluentCloudFailureReason other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestionFailureEvent.ConfluentCloudFailureReason.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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