public static final class IngestionFailureEvent.ConfluentCloudFailureReason extends GeneratedMessageV3 implements IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder
Failure when ingesting from a Confluent Cloud source.
Protobuf type google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestionFailureEvent.ConfluentCloudFailureReasonStatic Fields
API_VIOLATION_REASON_FIELD_NUMBER
public static final int API_VIOLATION_REASON_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CLUSTER_ID_FIELD_NUMBER
public static final int CLUSTER_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
KAFKA_TOPIC_FIELD_NUMBER
public static final int KAFKA_TOPIC_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 |
Static Methods
getDefaultInstance()
public static IngestionFailureEvent.ConfluentCloudFailureReason getDefaultInstance()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static IngestionFailureEvent.ConfluentCloudFailureReason.Builder newBuilder()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason.Builder |
newBuilder(IngestionFailureEvent.ConfluentCloudFailureReason prototype)
public static IngestionFailureEvent.ConfluentCloudFailureReason.Builder newBuilder(IngestionFailureEvent.ConfluentCloudFailureReason prototype)
Parameter | |
---|---|
Name | Description |
prototype |
IngestionFailureEvent.ConfluentCloudFailureReason |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason.Builder |
parseDelimitedFrom(InputStream input)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent.ConfluentCloudFailureReason parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<IngestionFailureEvent.ConfluentCloudFailureReason> parser()
Returns | |
---|---|
Type | Description |
Parser<ConfluentCloudFailureReason> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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];
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReason |
The apiViolationReason. |
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];
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ApiViolationReasonOrBuilder |
getClusterId()
public String getClusterId()
Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The clusterId. |
getClusterIdBytes()
public ByteString getClusterIdBytes()
Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for clusterId. |
getDefaultInstanceForType()
public IngestionFailureEvent.ConfluentCloudFailureReason getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason |
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. |
getOffset()
public 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 | |
---|---|
Type | Description |
long |
The offset. |
getParserForType()
public Parser<IngestionFailureEvent.ConfluentCloudFailureReason> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ConfluentCloudFailureReason> |
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.ConfluentCloudFailureReason.ReasonCase getReasonCase()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason.ReasonCase |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionFailureEvent.ConfluentCloudFailureReason.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder toBuilder()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.ConfluentCloudFailureReason.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |