Interface IngestionFailureEventOrBuilder (1.136.0)

public interface IngestionFailureEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAwsMskFailure()

public abstract IngestionFailureEvent.AwsMskFailureReason getAwsMskFailure()

Optional. Failure when ingesting from Amazon MSK.

.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.AwsMskFailureReason

The awsMskFailure.

getAwsMskFailureOrBuilder()

public abstract IngestionFailureEvent.AwsMskFailureReasonOrBuilder getAwsMskFailureOrBuilder()

Optional. Failure when ingesting from Amazon MSK.

.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.AwsMskFailureReasonOrBuilder

getAzureEventHubsFailure()

public abstract 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];

Returns
Type Description
IngestionFailureEvent.AzureEventHubsFailureReason

The azureEventHubsFailure.

getAzureEventHubsFailureOrBuilder()

public abstract 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];

Returns
Type Description
IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder

getCloudStorageFailure()

public abstract IngestionFailureEvent.CloudStorageFailure getCloudStorageFailure()

Optional. Failure when ingesting from Cloud Storage.

.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.CloudStorageFailure

The cloudStorageFailure.

getCloudStorageFailureOrBuilder()

public abstract IngestionFailureEvent.CloudStorageFailureOrBuilder getCloudStorageFailureOrBuilder()

Optional. Failure when ingesting from Cloud Storage.

.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.CloudStorageFailureOrBuilder

getConfluentCloudFailure()

public abstract IngestionFailureEvent.ConfluentCloudFailureReason getConfluentCloudFailure()

Optional. Failure when ingesting from Confluent Cloud.

.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReason

The confluentCloudFailure.

getConfluentCloudFailureOrBuilder()

public abstract IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder getConfluentCloudFailureOrBuilder()

Optional. Failure when ingesting from Confluent Cloud.

.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder

getErrorMessage()

public abstract String getErrorMessage()

Required. Error details explaining why ingestion to Pub/Sub has failed.

string error_message = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public abstract ByteString getErrorMessageBytes()

Required. Error details explaining why ingestion to Pub/Sub has failed.

string error_message = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for errorMessage.

getFailureCase()

public abstract IngestionFailureEvent.FailureCase getFailureCase()
Returns
Type Description
IngestionFailureEvent.FailureCase

getTopic()

public abstract String getTopic()

Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.

string topic = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

Required. Name of the import topic. Format is: projects/{project_name}/topics/{topic_name}.

string topic = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for topic.

hasAwsMskFailure()

public abstract boolean hasAwsMskFailure()

Optional. Failure when ingesting from Amazon MSK.

.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason aws_msk_failure = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the awsMskFailure field is set.

hasAzureEventHubsFailure()

public abstract 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];

Returns
Type Description
boolean

Whether the azureEventHubsFailure field is set.

hasCloudStorageFailure()

public abstract boolean hasCloudStorageFailure()

Optional. Failure when ingesting from Cloud Storage.

.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cloudStorageFailure field is set.

hasConfluentCloudFailure()

public abstract boolean hasConfluentCloudFailure()

Optional. Failure when ingesting from Confluent Cloud.

.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason confluent_cloud_failure = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the confluentCloudFailure field is set.