Interface IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
IngestionFailureEvent.AzureEventHubsFailureReason, IngestionFailureEvent.AzureEventHubsFailureReason.Builder
Enclosing class:
IngestionFailureEvent

public static interface IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getNamespace

      String getNamespace()
       Optional. The namespace containing the event hub being ingested from.
       
      string namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The namespace.
    • getNamespaceBytes

      com.google.protobuf.ByteString getNamespaceBytes()
       Optional. The namespace containing the event hub being ingested from.
       
      string namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for namespace.
    • getEventHub

      String getEventHub()
       Optional. The name of the event hub being ingested from.
       
      string event_hub = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The eventHub.
    • getEventHubBytes

      com.google.protobuf.ByteString getEventHubBytes()
       Optional. The name of the event hub being ingested from.
       
      string event_hub = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for eventHub.
    • getPartitionId

      long getPartitionId()
       Optional. The partition ID of the message that failed to be ingested.
       
      int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The partitionId.
    • getOffset

      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:
      The offset.
    • hasApiViolationReason

      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:
      Whether the apiViolationReason field is set.
    • 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:
      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 = 5 [(.google.api.field_behavior) = OPTIONAL];
    • hasSchemaViolationReason

      boolean hasSchemaViolationReason()
       Optional. The Pub/Sub message failed schema validation.
       
      .google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the schemaViolationReason field is set.
    • getSchemaViolationReason

       Optional. The Pub/Sub message failed schema validation.
       
      .google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.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 = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getReasonCase