Class ZooKeeperProxy.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ZooKeeperProxyOrBuilder, Cloneable
    Enclosing class:
    ZooKeeperProxy

    public static final class ZooKeeperProxy.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
    implements ZooKeeperProxyOrBuilder
    Protobuf type envoy.extensions.filters.network.zookeeper_proxy.v3.ZooKeeperProxy
    • 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<ZooKeeperProxy.Builder>
      • clear

        public ZooKeeperProxy.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.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<ZooKeeperProxy.Builder>
      • getDefaultInstanceForType

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

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

        public ZooKeeperProxy buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ZooKeeperProxy.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
      • setField

        public ZooKeeperProxy.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
      • clearField

        public ZooKeeperProxy.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
      • clearOneof

        public ZooKeeperProxy.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
      • setRepeatedField

        public ZooKeeperProxy.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
      • addRepeatedField

        public ZooKeeperProxy.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
      • mergeFrom

        public ZooKeeperProxy.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ZooKeeperProxy.Builder>
      • isInitialized

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

        public ZooKeeperProxy.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<ZooKeeperProxy.Builder>
        Throws:
        IOException
      • getStatPrefix

        public String getStatPrefix()
         The human readable prefix to use when emitting :ref:`statistics
         <config_network_filters_zookeeper_proxy_stats>`.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Specified by:
        getStatPrefix in interface ZooKeeperProxyOrBuilder
        Returns:
        The statPrefix.
      • getStatPrefixBytes

        public com.google.protobuf.ByteString getStatPrefixBytes()
         The human readable prefix to use when emitting :ref:`statistics
         <config_network_filters_zookeeper_proxy_stats>`.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Specified by:
        getStatPrefixBytes in interface ZooKeeperProxyOrBuilder
        Returns:
        The bytes for statPrefix.
      • setStatPrefix

        public ZooKeeperProxy.Builder setStatPrefix​(String value)
         The human readable prefix to use when emitting :ref:`statistics
         <config_network_filters_zookeeper_proxy_stats>`.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The statPrefix to set.
        Returns:
        This builder for chaining.
      • clearStatPrefix

        public ZooKeeperProxy.Builder clearStatPrefix()
         The human readable prefix to use when emitting :ref:`statistics
         <config_network_filters_zookeeper_proxy_stats>`.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setStatPrefixBytes

        public ZooKeeperProxy.Builder setStatPrefixBytes​(com.google.protobuf.ByteString value)
         The human readable prefix to use when emitting :ref:`statistics
         <config_network_filters_zookeeper_proxy_stats>`.
         
        string stat_prefix = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for statPrefix to set.
        Returns:
        This builder for chaining.
      • getAccessLog

        public String getAccessLog()
         [#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.
         If the access log field is empty, access logs will not be written.
         
        string access_log = 2;
        Specified by:
        getAccessLog in interface ZooKeeperProxyOrBuilder
        Returns:
        The accessLog.
      • getAccessLogBytes

        public com.google.protobuf.ByteString getAccessLogBytes()
         [#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.
         If the access log field is empty, access logs will not be written.
         
        string access_log = 2;
        Specified by:
        getAccessLogBytes in interface ZooKeeperProxyOrBuilder
        Returns:
        The bytes for accessLog.
      • setAccessLog

        public ZooKeeperProxy.Builder setAccessLog​(String value)
         [#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.
         If the access log field is empty, access logs will not be written.
         
        string access_log = 2;
        Parameters:
        value - The accessLog to set.
        Returns:
        This builder for chaining.
      • clearAccessLog

        public ZooKeeperProxy.Builder clearAccessLog()
         [#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.
         If the access log field is empty, access logs will not be written.
         
        string access_log = 2;
        Returns:
        This builder for chaining.
      • setAccessLogBytes

        public ZooKeeperProxy.Builder setAccessLogBytes​(com.google.protobuf.ByteString value)
         [#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.
         If the access log field is empty, access logs will not be written.
         
        string access_log = 2;
        Parameters:
        value - The bytes for accessLog to set.
        Returns:
        This builder for chaining.
      • hasMaxPacketBytes

        public boolean hasMaxPacketBytes()
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
        Specified by:
        hasMaxPacketBytes in interface ZooKeeperProxyOrBuilder
        Returns:
        Whether the maxPacketBytes field is set.
      • getMaxPacketBytes

        public com.google.protobuf.UInt32Value getMaxPacketBytes()
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
        Specified by:
        getMaxPacketBytes in interface ZooKeeperProxyOrBuilder
        Returns:
        The maxPacketBytes.
      • setMaxPacketBytes

        public ZooKeeperProxy.Builder setMaxPacketBytes​(com.google.protobuf.UInt32Value value)
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
      • setMaxPacketBytes

        public ZooKeeperProxy.Builder setMaxPacketBytes​(com.google.protobuf.UInt32Value.Builder builderForValue)
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
      • mergeMaxPacketBytes

        public ZooKeeperProxy.Builder mergeMaxPacketBytes​(com.google.protobuf.UInt32Value value)
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
      • clearMaxPacketBytes

        public ZooKeeperProxy.Builder clearMaxPacketBytes()
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
      • getMaxPacketBytesBuilder

        public com.google.protobuf.UInt32Value.Builder getMaxPacketBytesBuilder()
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
      • getMaxPacketBytesOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getMaxPacketBytesOrBuilder()
         Messages — requests, responses and events — that are bigger than this value will
         be ignored. If it is not set, the default value is 1Mb.
         The value here should match the jute.maxbuffer property in your cluster configuration:
         https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options
         if that is set. If it isn't, ZooKeeper's default is also 1Mb.
         
        .google.protobuf.UInt32Value max_packet_bytes = 3;
        Specified by:
        getMaxPacketBytesOrBuilder in interface ZooKeeperProxyOrBuilder
      • setUnknownFields

        public final ZooKeeperProxy.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
      • mergeUnknownFields

        public final ZooKeeperProxy.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>