Interface IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder (1.136.0)

public static interface IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder 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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionFailureEvent.ApiViolationReasonOrBuilder

getEventHub()

public abstract String getEventHub()

Optional. The name of the event hub being ingested from.

string event_hub = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The eventHub.

getEventHubBytes()

public abstract ByteString getEventHubBytes()

Optional. The name of the event hub being ingested from.

string event_hub = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for eventHub.

getNamespace()

public abstract String getNamespace()

Optional. The namespace containing the event hub being ingested from.

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

Returns
Type Description
String

The namespace.

getNamespaceBytes()

public abstract ByteString getNamespaceBytes()

Optional. The namespace containing the event hub being ingested from.

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

Returns
Type Description
ByteString

The bytes for namespace.

getOffset()

public abstract long getOffset()

Optional. The offset within the partition of the message that failed to be ingested.

int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The offset.

getPartitionId()

public abstract long getPartitionId()

Optional. The partition ID of the message that failed to be ingested.

int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The partitionId.

getReasonCase()

public abstract IngestionFailureEvent.AzureEventHubsFailureReason.ReasonCase getReasonCase()
Returns
Type Description
IngestionFailureEvent.AzureEventHubsFailureReason.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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the apiViolationReason field is set.