Class ZooKeeperProxy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
io.envoyproxy.envoy.config.filter.network.zookeeper_proxy.v1alpha1.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.config.filter.network.zookeeper_proxy.v1alpha1.ZooKeeperProxy-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Messages — requests, responses and events — that are bigger than this value will be ignored.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.clone()[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.com.google.protobuf.ByteString[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.UInt32ValueMessages — requests, responses and events — that are bigger than this value will be ignored.com.google.protobuf.UInt32Value.BuilderMessages — requests, responses and events — that are bigger than this value will be ignored.com.google.protobuf.UInt32ValueOrBuilderMessages — requests, responses and events — that are bigger than this value will be ignored.The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.com.google.protobuf.ByteStringThe human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.booleanMessages — requests, responses and events — that are bigger than this value will be ignored.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ZooKeeperProxy other) mergeMaxPacketBytes(com.google.protobuf.UInt32Value value) Messages — requests, responses and events — that are bigger than this value will be ignored.final ZooKeeperProxy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAccessLog(String value) [#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.setAccessLogBytes(com.google.protobuf.ByteString value) [#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.setMaxPacketBytes(com.google.protobuf.UInt32Value value) Messages — requests, responses and events — that are bigger than this value will be ignored.setMaxPacketBytes(com.google.protobuf.UInt32Value.Builder builderForValue) Messages — requests, responses and events — that are bigger than this value will be ignored.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStatPrefix(String value) The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.setStatPrefixBytes(com.google.protobuf.ByteString value) The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.final ZooKeeperProxy.BuildersetUnknownFields(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<ZooKeeperProxy.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<ZooKeeperProxy.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<ZooKeeperProxy.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<ZooKeeperProxy.Builder>
-
setField
public ZooKeeperProxy.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<ZooKeeperProxy.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
-
setRepeatedField
public ZooKeeperProxy.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<ZooKeeperProxy.Builder>
-
addRepeatedField
public ZooKeeperProxy.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<ZooKeeperProxy.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ZooKeeperProxy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ZooKeeperProxy.Builder>- Throws:
IOException
-
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:
getStatPrefixin interfaceZooKeeperProxyOrBuilder- 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:
getStatPrefixBytesin interfaceZooKeeperProxyOrBuilder- Returns:
- The bytes for statPrefix.
-
setStatPrefix
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
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
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
[#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:
getAccessLogin interfaceZooKeeperProxyOrBuilder- 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:
getAccessLogBytesin interfaceZooKeeperProxyOrBuilder- Returns:
- The bytes for accessLog.
-
setAccessLog
[#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
[#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
[#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:
hasMaxPacketBytesin interfaceZooKeeperProxyOrBuilder- 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:
getMaxPacketBytesin interfaceZooKeeperProxyOrBuilder- Returns:
- The maxPacketBytes.
-
setMaxPacketBytes
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
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
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:
getMaxPacketBytesOrBuilderin interfaceZooKeeperProxyOrBuilder
-
setUnknownFields
public final ZooKeeperProxy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
-
mergeUnknownFields
public final ZooKeeperProxy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
-