Package com.google.pubsub.v1
Interface IngestionFailureEvent.CloudStorageFailureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionFailureEvent.CloudStorageFailure,IngestionFailureEvent.CloudStorageFailure.Builder
- Enclosing class:
- IngestionFailureEvent
public static interface IngestionFailureEvent.CloudStorageFailureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.longOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.booleanOptional.booleanOptional.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
-
getBucket
String getBucket()Optional. Name of the Cloud Storage bucket used for ingestion.
string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bucket.
-
getBucketBytes
com.google.protobuf.ByteString getBucketBytes()Optional. Name of the Cloud Storage bucket used for ingestion.
string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for bucket.
-
getObjectName
String getObjectName()Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The objectName.
-
getObjectNameBytes
com.google.protobuf.ByteString getObjectNameBytes()Optional. Name of the Cloud Storage object which contained the section that couldn't be ingested.
string object_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for objectName.
-
getObjectGeneration
long getObjectGeneration()Optional. Generation of the Cloud Storage object which contained the section that couldn't be ingested.
int64 object_generation = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The objectGeneration.
-
hasAvroFailureReason
boolean hasAvroFailureReason()Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the avroFailureReason field is set.
-
getAvroFailureReason
IngestionFailureEvent.AvroFailureReason getAvroFailureReason()Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The avroFailureReason.
-
getAvroFailureReasonOrBuilder
IngestionFailureEvent.AvroFailureReasonOrBuilder getAvroFailureReasonOrBuilder()Optional. Failure encountered when parsing an Avro file.
.google.pubsub.v1.IngestionFailureEvent.AvroFailureReason avro_failure_reason = 5 [(.google.api.field_behavior) = OPTIONAL]; -
hasApiViolationReason
boolean hasApiViolationReason()Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the apiViolationReason field is set.
-
getApiViolationReason
IngestionFailureEvent.ApiViolationReason getApiViolationReason()Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The apiViolationReason.
-
getApiViolationReasonOrBuilder
IngestionFailureEvent.ApiViolationReasonOrBuilder getApiViolationReasonOrBuilder()Optional. The Pub/Sub API limits prevented the desired message from being published.
.google.pubsub.v1.IngestionFailureEvent.ApiViolationReason api_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
hasSchemaViolationReason
boolean hasSchemaViolationReason()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the schemaViolationReason field is set.
-
getSchemaViolationReason
IngestionFailureEvent.SchemaViolationReason getSchemaViolationReason()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The schemaViolationReason.
-
getSchemaViolationReasonOrBuilder
IngestionFailureEvent.SchemaViolationReasonOrBuilder getSchemaViolationReasonOrBuilder()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getReasonCase
IngestionFailureEvent.CloudStorageFailure.ReasonCase getReasonCase()
-