Send feedback
Class IngestionFailureEvent.AzureEventHubsFailureReason (1.136.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.136.0 keyboard_arrow_down
public static final class IngestionFailureEvent . AzureEventHubsFailureReason extends GeneratedMessageV3 implements IngestionFailureEvent . AzureEventHubsFailureReasonOrBuilder
Failure when ingesting from an Azure Event Hubs source.
Protobuf type google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
API_VIOLATION_REASON_FIELD_NUMBER
public static final int API_VIOLATION_REASON_FIELD_NUMBER
Field Value
Type
Description
int
EVENT_HUB_FIELD_NUMBER
public static final int EVENT_HUB_FIELD_NUMBER
Field Value
Type
Description
int
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
Field Value
Type
Description
int
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
Field Value
Type
Description
int
PARTITION_ID_FIELD_NUMBER
public static final int PARTITION_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static IngestionFailureEvent . AzureEventHubsFailureReason getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static IngestionFailureEvent . AzureEventHubsFailureReason . Builder newBuilder ()
newBuilder(IngestionFailureEvent.AzureEventHubsFailureReason prototype)
public static IngestionFailureEvent . AzureEventHubsFailureReason . Builder newBuilder ( IngestionFailureEvent . AzureEventHubsFailureReason prototype )
public static IngestionFailureEvent . AzureEventHubsFailureReason parseDelimitedFrom ( InputStream input )
public static IngestionFailureEvent . AzureEventHubsFailureReason parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( CodedInputStream input )
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( InputStream input )
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestionFailureEvent . AzureEventHubsFailureReason parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<IngestionFailureEvent . AzureEventHubsFailureReason > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getApiViolationReason()
public 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];
getApiViolationReasonOrBuilder()
public 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];
getDefaultInstanceForType()
public IngestionFailureEvent . AzureEventHubsFailureReason getDefaultInstanceForType ()
getEventHub()
public 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 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 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 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()
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.
getParserForType()
public Parser<IngestionFailureEvent . AzureEventHubsFailureReason > getParserForType ()
Overrides
getPartitionId()
public 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 IngestionFailureEvent . AzureEventHubsFailureReason . ReasonCase getReasonCase ()
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasApiViolationReason()
public 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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public IngestionFailureEvent . AzureEventHubsFailureReason . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestionFailureEvent . AzureEventHubsFailureReason . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public IngestionFailureEvent . AzureEventHubsFailureReason . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]