public static final class IngestionFailureEvent.AzureEventHubsFailureReason.Builder extends GeneratedMessageV3.Builder<IngestionFailureEvent.AzureEventHubsFailureReason.Builder> implements IngestionFailureEvent.AzureEventHubsFailureReasonOrBuilderFailure when ingesting from an Azure Event Hubs source.
 Protobuf type google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestionFailureEvent.AzureEventHubsFailureReason.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
build()
public IngestionFailureEvent.AzureEventHubsFailureReason build()| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason | 
        |
buildPartial()
public IngestionFailureEvent.AzureEventHubsFailureReason buildPartial()| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason | 
        |
clear()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clear()| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
clearApiViolationReason()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearApiViolationReason()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.AzureEventHubsFailureReason.Builder | 
        |
clearEventHub()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearEventHub()Optional. The name of the event hub being ingested from.
 string event_hub = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
clearNamespace()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearNamespace()Optional. The namespace containing the event hub being ingested from.
 string namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
clearOffset()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearOffset()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 | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
clearPartitionId()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearPartitionId()Optional. The partition ID of the message that failed to be ingested.
 int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
clearReason()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clearReason()| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
clone()
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder clone()| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
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];
 
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.ApiViolationReason | 
        The apiViolationReason.  | 
      
getApiViolationReasonBuilder()
public IngestionFailureEvent.ApiViolationReason.Builder getApiViolationReasonBuilder()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.Builder | 
        |
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];
 
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.ApiViolationReasonOrBuilder | 
        |
getDefaultInstanceForType()
public IngestionFailureEvent.AzureEventHubsFailureReason getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
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()
public 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 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()| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.ReasonCase | 
        |
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.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeApiViolationReason(IngestionFailureEvent.ApiViolationReason value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder mergeApiViolationReason(IngestionFailureEvent.ApiViolationReason value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        IngestionFailureEvent.ApiViolationReason | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
mergeFrom(IngestionFailureEvent.AzureEventHubsFailureReason other)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder mergeFrom(IngestionFailureEvent.AzureEventHubsFailureReason other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        IngestionFailureEvent.AzureEventHubsFailureReason | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionFailureEvent.AzureEventHubsFailureReason.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
setApiViolationReason(IngestionFailureEvent.ApiViolationReason value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setApiViolationReason(IngestionFailureEvent.ApiViolationReason value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        IngestionFailureEvent.ApiViolationReason | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue)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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        IngestionFailureEvent.ApiViolationReason.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
setEventHub(String value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setEventHub(String value)Optional. The name of the event hub being ingested from.
 string event_hub = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe eventHub to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
setEventHubBytes(ByteString value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setEventHubBytes(ByteString value)Optional. The name of the event hub being ingested from.
 string event_hub = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for eventHub to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
setNamespace(String value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setNamespace(String value)Optional. The namespace containing the event hub being ingested from.
 string namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe namespace to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
setNamespaceBytes(ByteString value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setNamespaceBytes(ByteString value)Optional. The namespace containing the event hub being ingested from.
 string namespace = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for namespace to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
setOffset(long value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setOffset(long value)Optional. The offset within the partition of the message that failed to be ingested.
 int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe offset to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
setPartitionId(long value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setPartitionId(long value)Optional. The partition ID of the message that failed to be ingested.
 int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe partitionId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionFailureEvent.AzureEventHubsFailureReason.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionFailureEvent.AzureEventHubsFailureReason.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
IngestionFailureEvent.AzureEventHubsFailureReason.Builder | 
        |