Package com.google.pubsub.v1
Interface IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionFailureEvent.ConfluentCloudFailureReason,IngestionFailureEvent.ConfluentCloudFailureReason.Builder
- Enclosing class:
- IngestionFailureEvent
public static interface IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.longOptional.longOptional.Optional.Optional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getClusterId
String getClusterId()Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The clusterId.
-
getClusterIdBytes
com.google.protobuf.ByteString getClusterIdBytes()Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for clusterId.
-
getKafkaTopic
String getKafkaTopic()Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The kafkaTopic.
-
getKafkaTopicBytes
com.google.protobuf.ByteString getKafkaTopicBytes()Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for kafkaTopic.
-
getPartitionId
long getPartitionId()Optional. The partition ID of the message that failed to be ingested.
int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The partitionId.
-
getOffset
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:
- The offset.
-
hasApiViolationReason
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:
- Whether the apiViolationReason field is set.
-
getApiViolationReason
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:
- The apiViolationReason.
-
getApiViolationReasonOrBuilder
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]; -
hasSchemaViolationReason
boolean hasSchemaViolationReason()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the schemaViolationReason field is set.
-
getSchemaViolationReason
IngestionFailureEvent.SchemaViolationReason getSchemaViolationReason()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The schemaViolationReason.
-
getSchemaViolationReasonOrBuilder
IngestionFailureEvent.SchemaViolationReasonOrBuilder getSchemaViolationReasonOrBuilder()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getReasonCase
IngestionFailureEvent.ConfluentCloudFailureReason.ReasonCase getReasonCase()
-