Interface IngestionFailureEvent.CloudStorageFailureOrBuilder (1.134.2)

public static interface IngestionFailureEvent.CloudStorageFailureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiViolationReason()

public abstract 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
Type Description
IngestionFailureEvent.ApiViolationReason

The apiViolationReason.

getApiViolationReasonOrBuilder()

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

Returns
Type Description
IngestionFailureEvent.ApiViolationReasonOrBuilder

getAvroFailureReason()

public abstract 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
Type Description
IngestionFailureEvent.AvroFailureReason

The avroFailureReason.

getAvroFailureReasonOrBuilder()

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

Returns
Type Description
IngestionFailureEvent.AvroFailureReasonOrBuilder

getBucket()

public abstract String getBucket()

Optional. Name of the Cloud Storage bucket used for ingestion.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Optional. Name of the Cloud Storage bucket used for ingestion.

string bucket = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for bucket.

getObjectGeneration()

public abstract 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
Type Description
long

The objectGeneration.

getObjectName()

public abstract 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
Type Description
String

The objectName.

getObjectNameBytes()

public abstract 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
Type Description
ByteString

The bytes for objectName.

getReasonCase()

public abstract IngestionFailureEvent.CloudStorageFailure.ReasonCase getReasonCase()
Returns
Type Description
IngestionFailureEvent.CloudStorageFailure.ReasonCase

hasApiViolationReason()

public abstract 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
Type Description
boolean

Whether the apiViolationReason field is set.

hasAvroFailureReason()

public abstract 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
Type Description
boolean

Whether the avroFailureReason field is set.