Package com.google.pubsub.v1
Interface IngestionFailureEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionFailureEvent,IngestionFailureEvent.Builder
public interface IngestionFailureEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Required.com.google.protobuf.ByteStringRequired.getTopic()Required.com.google.protobuf.ByteStringRequired.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTopic
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:
- The topic.
-
getTopicBytes
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];- Returns:
- The bytes for topic.
-
getErrorMessage
String getErrorMessage()Required. Error details explaining why ingestion to Pub/Sub has failed.
string error_message = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The errorMessage.
-
getErrorMessageBytes
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];- Returns:
- The bytes for errorMessage.
-
hasCloudStorageFailure
boolean hasCloudStorageFailure()Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the cloudStorageFailure field is set.
-
getCloudStorageFailure
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:
- The cloudStorageFailure.
-
getCloudStorageFailureOrBuilder
IngestionFailureEvent.CloudStorageFailureOrBuilder getCloudStorageFailureOrBuilder()Optional. Failure when ingesting from Cloud Storage.
.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure cloud_storage_failure = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getFailureCase
IngestionFailureEvent.FailureCase getFailureCase()
-