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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getFailureCase

      public IngestionFailureEvent.FailureCase getFailureCase()
      Specified by:
      getFailureCase in interface IngestionFailureEventOrBuilder
    • getTopic

      public String 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:
      getTopic in interface IngestionFailureEventOrBuilder
      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:
      getTopicBytes in interface IngestionFailureEventOrBuilder
      Returns:
      The bytes for topic.
    • getErrorMessage

      public String getErrorMessage()
       Required. Error details explaining why ingestion to Pub/Sub has failed.
       
      string error_message = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getErrorMessage in interface IngestionFailureEventOrBuilder
      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:
      getErrorMessageBytes in interface IngestionFailureEventOrBuilder
      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:
      hasCloudStorageFailure in interface IngestionFailureEventOrBuilder
      Returns:
      Whether the cloudStorageFailure field is set.
    • getCloudStorageFailure

      public IngestionFailureEvent.CloudStorageFailure getCloudStorageFailure()
       Optional. Failure when ingesting from Cloud Storage.
       
      .google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCloudStorageFailure in interface IngestionFailureEventOrBuilder
      Returns:
      The cloudStorageFailure.
    • getCloudStorageFailureOrBuilder

      public IngestionFailureEvent.CloudStorageFailureOrBuilder getCloudStorageFailureOrBuilder()
       Optional. Failure when ingesting from Cloud Storage.
       
      .google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCloudStorageFailureOrBuilder in interface IngestionFailureEventOrBuilder
    • 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:
      hasAwsMskFailure in interface IngestionFailureEventOrBuilder
      Returns:
      Whether the awsMskFailure field is set.
    • getAwsMskFailure

      public IngestionFailureEvent.AwsMskFailureReason getAwsMskFailure()
       Optional. Failure when ingesting from Amazon MSK.
       
      .google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAwsMskFailure in interface IngestionFailureEventOrBuilder
      Returns:
      The awsMskFailure.
    • getAwsMskFailureOrBuilder

      public IngestionFailureEvent.AwsMskFailureReasonOrBuilder getAwsMskFailureOrBuilder()
       Optional. Failure when ingesting from Amazon MSK.
       
      .google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAwsMskFailureOrBuilder in interface IngestionFailureEventOrBuilder
    • 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:
      hasAzureEventHubsFailure in interface IngestionFailureEventOrBuilder
      Returns:
      Whether the azureEventHubsFailure field is set.
    • getAzureEventHubsFailure

      public IngestionFailureEvent.AzureEventHubsFailureReason 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:
      getAzureEventHubsFailure in interface IngestionFailureEventOrBuilder
      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:
      getAzureEventHubsFailureOrBuilder in interface IngestionFailureEventOrBuilder
    • 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:
      hasConfluentCloudFailure in interface IngestionFailureEventOrBuilder
      Returns:
      Whether the confluentCloudFailure field is set.
    • getConfluentCloudFailure

      public IngestionFailureEvent.ConfluentCloudFailureReason getConfluentCloudFailure()
       Optional. Failure when ingesting from Confluent Cloud.
       
      .google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfluentCloudFailure in interface IngestionFailureEventOrBuilder
      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:
      getConfluentCloudFailureOrBuilder in interface IngestionFailureEventOrBuilder
    • 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:
      hasAwsKinesisFailure in interface IngestionFailureEventOrBuilder
      Returns:
      Whether the awsKinesisFailure field is set.
    • getAwsKinesisFailure

      public IngestionFailureEvent.AwsKinesisFailureReason getAwsKinesisFailure()
       Optional. Failure when ingesting from AWS Kinesis.
       
      .google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason aws_kinesis_failure = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAwsKinesisFailure in interface IngestionFailureEventOrBuilder
      Returns:
      The awsKinesisFailure.
    • getAwsKinesisFailureOrBuilder

      public IngestionFailureEvent.AwsKinesisFailureReasonOrBuilder getAwsKinesisFailureOrBuilder()
       Optional. Failure when ingesting from AWS Kinesis.
       
      .google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason aws_kinesis_failure = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAwsKinesisFailureOrBuilder in interface IngestionFailureEventOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static IngestionFailureEvent parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IngestionFailureEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static IngestionFailureEvent parseDelimitedFrom(InputStream input) throws IOException
      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

      public IngestionFailureEvent.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static IngestionFailureEvent.Builder newBuilder()
    • newBuilder

      public static IngestionFailureEvent.Builder newBuilder(IngestionFailureEvent prototype)
    • toBuilder

      public IngestionFailureEvent.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected IngestionFailureEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static IngestionFailureEvent getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<IngestionFailureEvent> parser()
    • getParserForType

      public com.google.protobuf.Parser<IngestionFailureEvent> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public IngestionFailureEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder