Interface IngestionFailureEventOrBuilder (1.134.1)

public interface IngestionFailureEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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

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.

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.