Package com.google.pubsub.v1
Class IngestionFailureEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.pubsub.v1.IngestionFailureEvent
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IngestionFailureEventOrBuilder,Serializable
public final class IngestionFailureEvent
extends com.google.protobuf.GeneratedMessageV3
implements IngestionFailureEventOrBuilder
Payload of the Platform Log entry sent when a failure is encountered while ingesting.Protobuf type
google.pubsub.v1.IngestionFailureEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSpecifies the reason why some data may have been left out of the desired Pub/Sub message due to the API message limits (https://cloud.google.com/pubsub/quotas#resource_limits).static interfacestatic final classSet when an Avro file is unsupported or its format is not valid.static interfacestatic final classFailure when ingesting from an AWS Kinesis source.static interfacestatic final classFailure when ingesting from an Amazon MSK source.static interfacestatic final classFailure when ingesting from an Azure Event Hubs source.static interfacestatic final classPayload of the Platform Log entry sent when a failure is encountered while ingesting.static final classFailure when ingesting from a Cloud Storage source.static interfacestatic final classFailure when ingesting from a Confluent Cloud source.static interfacestatic enumstatic final classSet when a Pub/Sub message fails to get published due to a schema validation violation.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.static IngestionFailureEventstatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<IngestionFailureEvent>intgetTopic()Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(IngestionFailureEvent prototype) protected IngestionFailureEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static IngestionFailureEventparseDelimitedFrom(InputStream input) static IngestionFailureEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionFailureEventparseFrom(byte[] data) static IngestionFailureEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionFailureEventparseFrom(com.google.protobuf.ByteString data) static IngestionFailureEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionFailureEventparseFrom(com.google.protobuf.CodedInputStream input) static IngestionFailureEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionFailureEventparseFrom(InputStream input) static IngestionFailureEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestionFailureEventparseFrom(ByteBuffer data) static IngestionFailureEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IngestionFailureEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER- See Also:
-
ERROR_MESSAGE_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER- See Also:
-
CLOUD_STORAGE_FAILURE_FIELD_NUMBER
public static final int CLOUD_STORAGE_FAILURE_FIELD_NUMBER- See Also:
-
AWS_MSK_FAILURE_FIELD_NUMBER
public static final int AWS_MSK_FAILURE_FIELD_NUMBER- See Also:
-
AZURE_EVENT_HUBS_FAILURE_FIELD_NUMBER
public static final int AZURE_EVENT_HUBS_FAILURE_FIELD_NUMBER- See Also:
-
CONFLUENT_CLOUD_FAILURE_FIELD_NUMBER
public static final int CONFLUENT_CLOUD_FAILURE_FIELD_NUMBER- See Also:
-
AWS_KINESIS_FAILURE_FIELD_NUMBER
public static final int AWS_KINESIS_FAILURE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFailureCase
- Specified by:
getFailureCasein interfaceIngestionFailureEventOrBuilder
-
getTopic
Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.string topic = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTopicin interfaceIngestionFailureEventOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.string topic = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTopicBytesin interfaceIngestionFailureEventOrBuilder- Returns:
- The bytes for topic.
-
getErrorMessage
Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getErrorMessagein interfaceIngestionFailureEventOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getErrorMessageBytesin interfaceIngestionFailureEventOrBuilder- Returns:
- The bytes for errorMessage.
-
hasCloudStorageFailure
public boolean hasCloudStorageFailure()Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCloudStorageFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- Whether the cloudStorageFailure field is set.
-
getCloudStorageFailure
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCloudStorageFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- The cloudStorageFailure.
-
getCloudStorageFailureOrBuilder
Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCloudStorageFailureOrBuilderin interfaceIngestionFailureEventOrBuilder
-
hasAwsMskFailure
public boolean hasAwsMskFailure()Optional. Failure when ingesting from Amazon MSK.
.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAwsMskFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- Whether the awsMskFailure field is set.
-
getAwsMskFailure
Optional. Failure when ingesting from Amazon MSK.
.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAwsMskFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- The awsMskFailure.
-
getAwsMskFailureOrBuilder
Optional. Failure when ingesting from Amazon MSK.
.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAwsMskFailureOrBuilderin interfaceIngestionFailureEventOrBuilder
-
hasAzureEventHubsFailure
public boolean hasAzureEventHubsFailure()Optional. Failure when ingesting from Azure Event Hubs.
.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason azure_event_hubs_failure = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAzureEventHubsFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- Whether the azureEventHubsFailure field is set.
-
getAzureEventHubsFailure
Optional. Failure when ingesting from Azure Event Hubs.
.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason azure_event_hubs_failure = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAzureEventHubsFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- The azureEventHubsFailure.
-
getAzureEventHubsFailureOrBuilder
public IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder getAzureEventHubsFailureOrBuilder()Optional. Failure when ingesting from Azure Event Hubs.
.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason azure_event_hubs_failure = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAzureEventHubsFailureOrBuilderin interfaceIngestionFailureEventOrBuilder
-
hasConfluentCloudFailure
public boolean hasConfluentCloudFailure()Optional. Failure when ingesting from Confluent Cloud.
.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasConfluentCloudFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- Whether the confluentCloudFailure field is set.
-
getConfluentCloudFailure
Optional. Failure when ingesting from Confluent Cloud.
.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfluentCloudFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- The confluentCloudFailure.
-
getConfluentCloudFailureOrBuilder
public IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder getConfluentCloudFailureOrBuilder()Optional. Failure when ingesting from Confluent Cloud.
.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfluentCloudFailureOrBuilderin interfaceIngestionFailureEventOrBuilder
-
hasAwsKinesisFailure
public boolean hasAwsKinesisFailure()Optional. Failure when ingesting from AWS Kinesis.
.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason aws_kinesis_failure = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAwsKinesisFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- Whether the awsKinesisFailure field is set.
-
getAwsKinesisFailure
Optional. Failure when ingesting from AWS Kinesis.
.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason aws_kinesis_failure = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAwsKinesisFailurein interfaceIngestionFailureEventOrBuilder- Returns:
- The awsKinesisFailure.
-
getAwsKinesisFailureOrBuilder
Optional. Failure when ingesting from AWS Kinesis.
.google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason aws_kinesis_failure = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAwsKinesisFailureOrBuilderin interfaceIngestionFailureEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static IngestionFailureEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionFailureEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionFailureEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionFailureEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionFailureEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestionFailureEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IngestionFailureEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IngestionFailureEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionFailureEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IngestionFailureEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IngestionFailureEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-