public static interface IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getApiViolationReason()
public abstract 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 | |
|---|---|
| Type | Description |
IngestionFailureEvent.ApiViolationReason |
The apiViolationReason. |
getApiViolationReasonOrBuilder()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
IngestionFailureEvent.ApiViolationReasonOrBuilder |
|
getMessageTransformationFailureReason()
public abstract 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 | |
|---|---|
| Type | Description |
IngestionFailureEvent.MessageTransformationFailureReason |
The messageTransformationFailureReason. |
getMessageTransformationFailureReasonOrBuilder()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
IngestionFailureEvent.MessageTransformationFailureReasonOrBuilder |
|
getPartitionKey()
public abstract String getPartitionKey()Optional. The partition key of the message that failed to be ingested.
string partition_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The partitionKey. |
getPartitionKeyBytes()
public abstract ByteString getPartitionKeyBytes()Optional. The partition key of the message that failed to be ingested.
string partition_key = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for partitionKey. |
getReasonCase()
public abstract IngestionFailureEvent.AwsKinesisFailureReason.ReasonCase getReasonCase()| Returns | |
|---|---|
| Type | Description |
IngestionFailureEvent.AwsKinesisFailureReason.ReasonCase |
|
getSchemaViolationReason()
public abstract 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 | |
|---|---|
| Type | Description |
IngestionFailureEvent.SchemaViolationReason |
The schemaViolationReason. |
getSchemaViolationReasonOrBuilder()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
IngestionFailureEvent.SchemaViolationReasonOrBuilder |
|
getSequenceNumber()
public abstract String getSequenceNumber()Optional. The sequence number of the message that failed to be ingested.
string sequence_number = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sequenceNumber. |
getSequenceNumberBytes()
public abstract ByteString getSequenceNumberBytes()Optional. The sequence number of the message that failed to be ingested.
string sequence_number = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sequenceNumber. |
getStreamArn()
public abstract String getStreamArn()Optional. The stream ARN of the Kinesis stream being ingested from.
string stream_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The streamArn. |
getStreamArnBytes()
public abstract ByteString getStreamArnBytes()Optional. The stream ARN of the Kinesis stream being ingested from.
string stream_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for streamArn. |
hasApiViolationReason()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the apiViolationReason field is set. |
hasMessageTransformationFailureReason()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the messageTransformationFailureReason field is set. |
hasSchemaViolationReason()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the schemaViolationReason field is set. |