Package com.google.pubsub.v1
Interface IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionFailureEvent.AwsKinesisFailureReason,IngestionFailureEvent.AwsKinesisFailureReason.Builder
- Enclosing class:
- IngestionFailureEvent
public static interface IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.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
-
getStreamArn
String getStreamArn()Optional. The stream ARN of the Kinesis stream being ingested from.
string stream_arn = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The streamArn.
-
getStreamArnBytes
com.google.protobuf.ByteString getStreamArnBytes()Optional. The stream ARN of the Kinesis stream being ingested from.
string stream_arn = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for streamArn.
-
getPartitionKey
String getPartitionKey()Optional. The partition key of the message that failed to be ingested.
string partition_key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The partitionKey.
-
getPartitionKeyBytes
com.google.protobuf.ByteString getPartitionKeyBytes()Optional. The partition key of the message that failed to be ingested.
string partition_key = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for partitionKey.
-
getSequenceNumber
String getSequenceNumber()Optional. The sequence number of the message that failed to be ingested.
string sequence_number = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The sequenceNumber.
-
getSequenceNumberBytes
com.google.protobuf.ByteString getSequenceNumberBytes()Optional. The sequence number of the message that failed to be ingested.
string sequence_number = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for sequenceNumber.
-
hasSchemaViolationReason
boolean hasSchemaViolationReason()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasMessageTransformationFailureReason
boolean hasMessageTransformationFailureReason()Optional. Failure encountered when applying a message transformation to the Pub/Sub message.
.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the messageTransformationFailureReason field is set.
-
getMessageTransformationFailureReason
IngestionFailureEvent.MessageTransformationFailureReason getMessageTransformationFailureReason()Optional. Failure encountered when applying a message transformation to the Pub/Sub message.
.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The messageTransformationFailureReason.
-
getMessageTransformationFailureReasonOrBuilder
IngestionFailureEvent.MessageTransformationFailureReasonOrBuilder getMessageTransformationFailureReasonOrBuilder()Optional. Failure encountered when applying a message transformation to the Pub/Sub message.
.google.pubsub.v1.IngestionFailureEvent.MessageTransformationFailureReason message_transformation_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; -
hasApiViolationReason
boolean hasApiViolationReason()Optional. The message failed to be published due to an API violation. This is only set when the size of the data field of the Kinesis record is zero.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the apiViolationReason field is set.
-
getApiViolationReason
IngestionFailureEvent.ApiViolationReason getApiViolationReason()Optional. The message failed to be published due to an API violation. This is only set when the size of the data field of the Kinesis record is zero.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The apiViolationReason.
-
getApiViolationReasonOrBuilder
IngestionFailureEvent.ApiViolationReasonOrBuilder getApiViolationReasonOrBuilder()Optional. The message failed to be published due to an API violation. This is only set when the size of the data field of the Kinesis record is zero.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getReasonCase
IngestionFailureEvent.AwsKinesisFailureReason.ReasonCase getReasonCase()
-