public static final class IngestionFailureEvent.AwsMskFailureReason.Builder extends GeneratedMessageV3.Builder<IngestionFailureEvent.AwsMskFailureReason.Builder> implements IngestionFailureEvent.AwsMskFailureReasonOrBuilder
Failure when ingesting from an Amazon MSK source.
Protobuf type google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestionFailureEvent.AwsMskFailureReason.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionFailureEvent.AwsMskFailureReason.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
build()
public IngestionFailureEvent.AwsMskFailureReason build()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason |
buildPartial()
public IngestionFailureEvent.AwsMskFailureReason buildPartial()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason |
clear()
public IngestionFailureEvent.AwsMskFailureReason.Builder clear()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
clearApiViolationReason()
public IngestionFailureEvent.AwsMskFailureReason.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.AwsMskFailureReason.Builder |
clearClusterArn()
public IngestionFailureEvent.AwsMskFailureReason.Builder clearClusterArn()
Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public IngestionFailureEvent.AwsMskFailureReason.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
clearKafkaTopic()
public IngestionFailureEvent.AwsMskFailureReason.Builder clearKafkaTopic()
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
clearOffset()
public IngestionFailureEvent.AwsMskFailureReason.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.AwsMskFailureReason.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionFailureEvent.AwsMskFailureReason.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
clearPartitionId()
public IngestionFailureEvent.AwsMskFailureReason.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.AwsMskFailureReason.Builder |
This builder for chaining. |
clearReason()
public IngestionFailureEvent.AwsMskFailureReason.Builder clearReason()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
clone()
public IngestionFailureEvent.AwsMskFailureReason.Builder clone()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.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 |
getClusterArn()
public String getClusterArn()
Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The clusterArn. |
getClusterArnBytes()
public ByteString getClusterArnBytes()
Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for clusterArn. |
getDefaultInstanceForType()
public IngestionFailureEvent.AwsMskFailureReason getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKafkaTopic()
public String getKafkaTopic()
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The kafkaTopic. |
getKafkaTopicBytes()
public ByteString getKafkaTopicBytes()
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kafkaTopic. |
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.AwsMskFailureReason.ReasonCase getReasonCase()
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.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.AwsMskFailureReason.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.AwsMskFailureReason.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionFailureEvent.AwsMskFailureReason.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public IngestionFailureEvent.AwsMskFailureReason.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
mergeFrom(IngestionFailureEvent.AwsMskFailureReason other)
public IngestionFailureEvent.AwsMskFailureReason.Builder mergeFrom(IngestionFailureEvent.AwsMskFailureReason other)
Parameter | |
---|---|
Name | Description |
other |
IngestionFailureEvent.AwsMskFailureReason |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionFailureEvent.AwsMskFailureReason.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
setApiViolationReason(IngestionFailureEvent.ApiViolationReason value)
public IngestionFailureEvent.AwsMskFailureReason.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.AwsMskFailureReason.Builder |
setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue)
public IngestionFailureEvent.AwsMskFailureReason.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.AwsMskFailureReason.Builder |
setClusterArn(String value)
public IngestionFailureEvent.AwsMskFailureReason.Builder setClusterArn(String value)
Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The clusterArn to set. |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
setClusterArnBytes(ByteString value)
public IngestionFailureEvent.AwsMskFailureReason.Builder setClusterArnBytes(ByteString value)
Optional. The ARN of the cluster of the topic being ingested from.
string cluster_arn = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for clusterArn to set. |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionFailureEvent.AwsMskFailureReason.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
setKafkaTopic(String value)
public IngestionFailureEvent.AwsMskFailureReason.Builder setKafkaTopic(String value)
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The kafkaTopic to set. |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
setKafkaTopicBytes(ByteString value)
public IngestionFailureEvent.AwsMskFailureReason.Builder setKafkaTopicBytes(ByteString value)
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kafkaTopic to set. |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
setOffset(long value)
public IngestionFailureEvent.AwsMskFailureReason.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 |
long The offset to set. |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
setPartitionId(long value)
public IngestionFailureEvent.AwsMskFailureReason.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 |
long The partitionId to set. |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionFailureEvent.AwsMskFailureReason.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionFailureEvent.AwsMskFailureReason.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestionFailureEvent.AwsMskFailureReason.Builder |