Package com.google.pubsub.v1
Class IngestionFailureEvent.ConfluentCloudFailureReason.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
com.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder,Cloneable
- Enclosing class:
- IngestionFailureEvent.ConfluentCloudFailureReason
public static final class IngestionFailureEvent.ConfluentCloudFailureReason.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
implements IngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder
Failure when ingesting from a Confluent Cloud source.Protobuf type
google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional.Optional.clone()Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.longOptional.longOptional.Optional.Optional.Optional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOptional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Optional.setApiViolationReason(IngestionFailureEvent.ApiViolationReason.Builder builderForValue) Optional.setClusterId(String value) Optional.setClusterIdBytes(com.google.protobuf.ByteString value) Optional.setKafkaTopic(String value) Optional.setKafkaTopicBytes(com.google.protobuf.ByteString value) Optional.setOffset(long value) Optional.setPartitionId(long value) Optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Optional.Optional.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
setField
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
clearField
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
clearOneof
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
setRepeatedField
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
addRepeatedField
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
mergeFrom
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
mergeFrom
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>- Throws:
IOException
-
getReasonCase
- Specified by:
getReasonCasein interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder
-
clearReason
-
getClusterId
Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClusterIdin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The clusterId.
-
getClusterIdBytes
public com.google.protobuf.ByteString getClusterIdBytes()Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClusterIdBytesin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The bytes for clusterId.
-
setClusterId
Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The clusterId to set.- Returns:
- This builder for chaining.
-
clearClusterId
Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setClusterIdBytes
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setClusterIdBytes(com.google.protobuf.ByteString value) Optional. The cluster ID containing the topic being ingested from.
string cluster_id = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for clusterId to set.- Returns:
- This builder for chaining.
-
getKafkaTopic
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKafkaTopicin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The kafkaTopic.
-
getKafkaTopicBytes
public com.google.protobuf.ByteString getKafkaTopicBytes()Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKafkaTopicBytesin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The bytes for kafkaTopic.
-
setKafkaTopic
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The kafkaTopic to set.- Returns:
- This builder for chaining.
-
clearKafkaTopic
Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setKafkaTopicBytes
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setKafkaTopicBytes(com.google.protobuf.ByteString value) Optional. The name of the Kafka topic being ingested from.
string kafka_topic = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for kafkaTopic to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getPartitionIdin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The partitionId.
-
setPartitionId
Optional. The partition ID of the message that failed to be ingested.
int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The partitionId to set.- Returns:
- This builder for chaining.
-
clearPartitionId
Optional. The partition ID of the message that failed to be ingested.
int64 partition_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
getOffsetin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The offset.
-
setOffset
Optional. The offset within the partition of the message that failed to be ingested.
int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
Optional. The offset within the partition of the message that failed to be ingested.
int64 offset = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasApiViolationReasonin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- 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];- Specified by:
getApiViolationReasonin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The apiViolationReason.
-
setApiViolationReason
public IngestionFailureEvent.ConfluentCloudFailureReason.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]; -
setApiViolationReason
public IngestionFailureEvent.ConfluentCloudFailureReason.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]; -
mergeApiViolationReason
public IngestionFailureEvent.ConfluentCloudFailureReason.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]; -
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]; -
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]; -
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];- Specified by:
getApiViolationReasonOrBuilderin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder
-
hasSchemaViolationReason
public boolean hasSchemaViolationReason()Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSchemaViolationReasonin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- 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];- Specified by:
getSchemaViolationReasonin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder- Returns:
- The schemaViolationReason.
-
setSchemaViolationReason
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setSchemaViolationReason(IngestionFailureEvent.SchemaViolationReason value) Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setSchemaViolationReason
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder setSchemaViolationReason(IngestionFailureEvent.SchemaViolationReason.Builder builderForValue) Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSchemaViolationReason
public IngestionFailureEvent.ConfluentCloudFailureReason.Builder mergeSchemaViolationReason(IngestionFailureEvent.SchemaViolationReason value) Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearSchemaViolationReason
Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getSchemaViolationReasonBuilder
Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getSchemaViolationReasonOrBuilder
Optional. The Pub/Sub message failed schema validation.
.google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason schema_violation_reason = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSchemaViolationReasonOrBuilderin interfaceIngestionFailureEvent.ConfluentCloudFailureReasonOrBuilder
-
setUnknownFields
public final IngestionFailureEvent.ConfluentCloudFailureReason.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-
mergeUnknownFields
public final IngestionFailureEvent.ConfluentCloudFailureReason.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IngestionFailureEvent.ConfluentCloudFailureReason.Builder>
-