Class IngestionFailureEvent.AwsMskFailureReason (1.145.0)
1.149.0 (latest)
1.148.0
1.147.0
1.145.0
1.143.1
1.142.0
1.141.5
1.140.2
1.139.4
1.138.0
1.137.1
1.136.1
1.135.0
1.134.2
1.133.1
1.132.2
1.131.0
1.130.0
1.129.6
1.127.3
1.126.6
1.125.13
1.123.18
1.122.2
1.121.1
1.120.24
1.119.1
1.118.0
1.117.0
1.116.4
1.115.5
public static final class IngestionFailureEvent . AwsMskFailureReason extends GeneratedMessageV3 implements IngestionFailureEvent . AwsMskFailureReasonOrBuilder
Failure when ingesting from an Amazon MSK source.
Protobuf type google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
API_VIOLATION_REASON_FIELD_NUMBER
public static final int API_VIOLATION_REASON_FIELD_NUMBER
Field Value
Type
Description
int
CLUSTER_ARN_FIELD_NUMBER
public static final int CLUSTER_ARN_FIELD_NUMBER
Field Value
Type
Description
int
KAFKA_TOPIC_FIELD_NUMBER
public static final int KAFKA_TOPIC_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MESSAGE_TRANSFORMATION_FAILURE_REASON_FIELD_NUMBER
Field Value
Type
Description
int
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
Field Value
Type
Description
int
PARTITION_ID_FIELD_NUMBER
public static final int PARTITION_ID_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
Static Methods
getDefaultInstance()
public static IngestionFailureEvent . AwsMskFailureReason getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static IngestionFailureEvent . AwsMskFailureReason . Builder newBuilder ()
newBuilder(IngestionFailureEvent.AwsMskFailureReason prototype)
public static IngestionFailureEvent . AwsMskFailureReason . Builder newBuilder ( IngestionFailureEvent . AwsMskFailureReason prototype )
public static IngestionFailureEvent . AwsMskFailureReason parseDelimitedFrom ( InputStream input )
public static IngestionFailureEvent . AwsMskFailureReason parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( CodedInputStream input )
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( InputStream input )
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . AwsMskFailureReason parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<IngestionFailureEvent . AwsMskFailureReason > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getApiViolationReason()
public 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];
getApiViolationReasonOrBuilder()
public 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];
getClusterArn()
public String getClusterArn ()
Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The clusterArn.
getClusterArnBytes()
public ByteString getClusterArnBytes ()
Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for clusterArn.
getDefaultInstanceForType()
public IngestionFailureEvent . AwsMskFailureReason getDefaultInstanceForType ()
getKafkaTopic()
public String getKafkaTopic ()
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The kafkaTopic.
getKafkaTopicBytes()
public ByteString getKafkaTopicBytes ()
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for kafkaTopic.
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 = 7 [(.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 = 7 [(.google.api.field_behavior) = OPTIONAL];
getOffset()
Optional. The offset within the partition of the message that failed to
be ingested.
int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
long
The offset.
getParserForType()
public Parser<IngestionFailureEvent . AwsMskFailureReason > getParserForType ()
Overrides
getPartitionId()
public long getPartitionId ()
Optional. The partition ID of the message that failed to be ingested.
int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
long
The partitionId.
getReasonCase()
public IngestionFailureEvent . AwsMskFailureReason . ReasonCase getReasonCase ()
getSchemaViolationReason()
public 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];
getSchemaViolationReasonOrBuilder()
public 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];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasApiViolationReason()
public 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
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 = 7 [(.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 = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the schemaViolationReason field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public IngestionFailureEvent . AwsMskFailureReason . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionFailureEvent . AwsMskFailureReason . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public IngestionFailureEvent . AwsMskFailureReason . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]