Package com.google.pubsub.v1
Interface IngestionFailureEvent.AwsMskFailureReasonOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionFailureEvent.AwsMskFailureReason,IngestionFailureEvent.AwsMskFailureReason.Builder
- Enclosing class:
- IngestionFailureEvent
public static interface IngestionFailureEvent.AwsMskFailureReasonOrBuilder
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
-
getClusterArn
String getClusterArn()Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The clusterArn.
-
getClusterArnBytes
com.google.protobuf.ByteString getClusterArnBytes()Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for clusterArn.
-
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.AwsMskFailureReason.ReasonCase getReasonCase()
-