public static final class IngestionFailureEvent.AwsKinesisFailureReason extends GeneratedMessage implements IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder
Failure when ingesting from an AWS Kinesis source.
Protobuf type google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
API_VIOLATION_REASON_FIELD_NUMBER
public static final int API_VIOLATION_REASON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MESSAGE_TRANSFORMATION_FAILURE_REASON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PARTITION_KEY_FIELD_NUMBER
public static final int PARTITION_KEY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SCHEMA_VIOLATION_REASON_FIELD_NUMBER
public static final int SCHEMA_VIOLATION_REASON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEQUENCE_NUMBER_FIELD_NUMBER
public static final int SEQUENCE_NUMBER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STREAM_ARN_FIELD_NUMBER
public static final int STREAM_ARN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static IngestionFailureEvent.AwsKinesisFailureReason getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IngestionFailureEvent.AwsKinesisFailureReason.Builder newBuilder()
newBuilder(IngestionFailureEvent.AwsKinesisFailureReason prototype)
public static IngestionFailureEvent.AwsKinesisFailureReason.Builder newBuilder(IngestionFailureEvent.AwsKinesisFailureReason prototype)
public static IngestionFailureEvent.AwsKinesisFailureReason parseDelimitedFrom(InputStream input)
public static IngestionFailureEvent.AwsKinesisFailureReason parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(CodedInputStream input)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(InputStream input)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.AwsKinesisFailureReason parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IngestionFailureEvent.AwsKinesisFailureReason> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getApiViolationReason()
public 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];
getApiViolationReasonOrBuilder()
public 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];
getDefaultInstanceForType()
public IngestionFailureEvent.AwsKinesisFailureReason getDefaultInstanceForType()
public 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];
public 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];
getParserForType()
public Parser<IngestionFailureEvent.AwsKinesisFailureReason> getParserForType()
Overrides
getPartitionKey()
public 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 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 IngestionFailureEvent.AwsKinesisFailureReason.ReasonCase getReasonCase()
getSchemaViolationReason()
public 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];
getSchemaViolationReasonOrBuilder()
public 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];
getSequenceNumber()
public 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 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStreamArn()
public 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 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 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.
|
public 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 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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IngestionFailureEvent.AwsKinesisFailureReason.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected IngestionFailureEvent.AwsKinesisFailureReason.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public IngestionFailureEvent.AwsKinesisFailureReason.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides