Class SourceProto.KafkaSourceConfig.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SourceProto.KafkaSourceConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SourceProto.KafkaSourceConfig.Builder>
      • getDefaultInstanceForType

        public SourceProto.KafkaSourceConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SourceProto.KafkaSourceConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SourceProto.KafkaSourceConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SourceProto.KafkaSourceConfig.Builder>
      • mergeFrom

        public SourceProto.KafkaSourceConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourceProto.KafkaSourceConfig.Builder>
        Throws:
        IOException
      • getBootstrapServers

        public String getBootstrapServers()
         Comma separated list of Kafka bootstrap servers. Used for feature sets without a defined source host[:port]]
         
        string bootstrap_servers = 1;
        Specified by:
        getBootstrapServers in interface SourceProto.KafkaSourceConfigOrBuilder
        Returns:
        The bootstrapServers.
      • getBootstrapServersBytes

        public com.google.protobuf.ByteString getBootstrapServersBytes()
         Comma separated list of Kafka bootstrap servers. Used for feature sets without a defined source host[:port]]
         
        string bootstrap_servers = 1;
        Specified by:
        getBootstrapServersBytes in interface SourceProto.KafkaSourceConfigOrBuilder
        Returns:
        The bytes for bootstrapServers.
      • setBootstrapServers

        public SourceProto.KafkaSourceConfig.Builder setBootstrapServers​(String value)
         Comma separated list of Kafka bootstrap servers. Used for feature sets without a defined source host[:port]]
         
        string bootstrap_servers = 1;
        Parameters:
        value - The bootstrapServers to set.
        Returns:
        This builder for chaining.
      • clearBootstrapServers

        public SourceProto.KafkaSourceConfig.Builder clearBootstrapServers()
         Comma separated list of Kafka bootstrap servers. Used for feature sets without a defined source host[:port]]
         
        string bootstrap_servers = 1;
        Returns:
        This builder for chaining.
      • setBootstrapServersBytes

        public SourceProto.KafkaSourceConfig.Builder setBootstrapServersBytes​(com.google.protobuf.ByteString value)
         Comma separated list of Kafka bootstrap servers. Used for feature sets without a defined source host[:port]]
         
        string bootstrap_servers = 1;
        Parameters:
        value - The bytes for bootstrapServers to set.
        Returns:
        This builder for chaining.
      • getTopicBytes

        public com.google.protobuf.ByteString getTopicBytes()
         Kafka topic to use for feature sets without user defined topics
         
        string topic = 2;
        Specified by:
        getTopicBytes in interface SourceProto.KafkaSourceConfigOrBuilder
        Returns:
        The bytes for topic.
      • setTopic

        public SourceProto.KafkaSourceConfig.Builder setTopic​(String value)
         Kafka topic to use for feature sets without user defined topics
         
        string topic = 2;
        Parameters:
        value - The topic to set.
        Returns:
        This builder for chaining.
      • clearTopic

        public SourceProto.KafkaSourceConfig.Builder clearTopic()
         Kafka topic to use for feature sets without user defined topics
         
        string topic = 2;
        Returns:
        This builder for chaining.
      • setTopicBytes

        public SourceProto.KafkaSourceConfig.Builder setTopicBytes​(com.google.protobuf.ByteString value)
         Kafka topic to use for feature sets without user defined topics
         
        string topic = 2;
        Parameters:
        value - The bytes for topic to set.
        Returns:
        This builder for chaining.
      • setPartitions

        public SourceProto.KafkaSourceConfig.Builder setPartitions​(int value)
         Number of Kafka partitions to to use for managed feature stream.
         
        int32 partitions = 3;
        Parameters:
        value - The partitions to set.
        Returns:
        This builder for chaining.
      • clearPartitions

        public SourceProto.KafkaSourceConfig.Builder clearPartitions()
         Number of Kafka partitions to to use for managed feature stream.
         
        int32 partitions = 3;
        Returns:
        This builder for chaining.
      • setReplicationFactor

        public SourceProto.KafkaSourceConfig.Builder setReplicationFactor​(int value)
         Defines the number of copies of managed feature stream Kafka.
         
        int32 replicationFactor = 4;
        Parameters:
        value - The replicationFactor to set.
        Returns:
        This builder for chaining.
      • clearReplicationFactor

        public SourceProto.KafkaSourceConfig.Builder clearReplicationFactor()
         Defines the number of copies of managed feature stream Kafka.
         
        int32 replicationFactor = 4;
        Returns:
        This builder for chaining.