Class ZooKeeperProxy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
-
- io.envoyproxy.envoy.extensions.filters.network.zookeeper_proxy.v3.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
[#next-free-field: 9]
Protobuf typeenvoy.extensions.filters.network.zookeeper_proxy.v3.ZooKeeperProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ZooKeeperProxy.BuilderaddAllLatencyThresholdOverrides(Iterable<? extends LatencyThresholdOverride> values)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuilderaddLatencyThresholdOverrides(int index, LatencyThresholdOverride value)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuilderaddLatencyThresholdOverrides(int index, LatencyThresholdOverride.Builder builderForValue)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuilderaddLatencyThresholdOverrides(LatencyThresholdOverride value)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuilderaddLatencyThresholdOverrides(LatencyThresholdOverride.Builder builderForValue)List of latency threshold overrides for opcodes.LatencyThresholdOverride.BuilderaddLatencyThresholdOverridesBuilder()List of latency threshold overrides for opcodes.LatencyThresholdOverride.BuilderaddLatencyThresholdOverridesBuilder(int index)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ZooKeeperProxybuild()ZooKeeperProxybuildPartial()ZooKeeperProxy.Builderclear()ZooKeeperProxy.BuilderclearAccessLog()[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.ZooKeeperProxy.BuilderclearDefaultLatencyThreshold()The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).ZooKeeperProxy.BuilderclearEnableLatencyThresholdMetrics()Whether to emit latency threshold metrics.ZooKeeperProxy.BuilderclearEnablePerOpcodeRequestBytesMetrics()Whether to emit per opcode request bytes metrics.ZooKeeperProxy.BuilderclearEnablePerOpcodeResponseBytesMetrics()Whether to emit per opcode response bytes metrics.ZooKeeperProxy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ZooKeeperProxy.BuilderclearLatencyThresholdOverrides()List of latency threshold overrides for opcodes.ZooKeeperProxy.BuilderclearMaxPacketBytes()Messages — requests, responses and events — that are bigger than this value will be ignored.ZooKeeperProxy.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ZooKeeperProxy.BuilderclearStatPrefix()The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.ZooKeeperProxy.Builderclone()StringgetAccessLog()[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.com.google.protobuf.ByteStringgetAccessLogBytes()[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.ZooKeeperProxygetDefaultInstanceForType()com.google.protobuf.DurationgetDefaultLatencyThreshold()The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).com.google.protobuf.Duration.BuildergetDefaultLatencyThresholdBuilder()The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).com.google.protobuf.DurationOrBuildergetDefaultLatencyThresholdOrBuilder()The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEnableLatencyThresholdMetrics()Whether to emit latency threshold metrics.booleangetEnablePerOpcodeRequestBytesMetrics()Whether to emit per opcode request bytes metrics.booleangetEnablePerOpcodeResponseBytesMetrics()Whether to emit per opcode response bytes metrics.LatencyThresholdOverridegetLatencyThresholdOverrides(int index)List of latency threshold overrides for opcodes.LatencyThresholdOverride.BuildergetLatencyThresholdOverridesBuilder(int index)List of latency threshold overrides for opcodes.List<LatencyThresholdOverride.Builder>getLatencyThresholdOverridesBuilderList()List of latency threshold overrides for opcodes.intgetLatencyThresholdOverridesCount()List of latency threshold overrides for opcodes.List<LatencyThresholdOverride>getLatencyThresholdOverridesList()List of latency threshold overrides for opcodes.LatencyThresholdOverrideOrBuildergetLatencyThresholdOverridesOrBuilder(int index)List of latency threshold overrides for opcodes.List<? extends LatencyThresholdOverrideOrBuilder>getLatencyThresholdOverridesOrBuilderList()List of latency threshold overrides for opcodes.com.google.protobuf.UInt32ValuegetMaxPacketBytes()Messages — requests, responses and events — that are bigger than this value will be ignored.com.google.protobuf.UInt32Value.BuildergetMaxPacketBytesBuilder()Messages — requests, responses and events — that are bigger than this value will be ignored.com.google.protobuf.UInt32ValueOrBuildergetMaxPacketBytesOrBuilder()Messages — requests, responses and events — that are bigger than this value will be ignored.StringgetStatPrefix()The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.com.google.protobuf.ByteStringgetStatPrefixBytes()The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.booleanhasDefaultLatencyThreshold()The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).booleanhasMaxPacketBytes()Messages — requests, responses and events — that are bigger than this value will be ignored.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ZooKeeperProxy.BuildermergeDefaultLatencyThreshold(com.google.protobuf.Duration value)The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).ZooKeeperProxy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ZooKeeperProxy.BuildermergeFrom(com.google.protobuf.Message other)ZooKeeperProxy.BuildermergeFrom(ZooKeeperProxy other)ZooKeeperProxy.BuildermergeMaxPacketBytes(com.google.protobuf.UInt32Value value)Messages — requests, responses and events — that are bigger than this value will be ignored.ZooKeeperProxy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ZooKeeperProxy.BuilderremoveLatencyThresholdOverrides(int index)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuildersetAccessLog(String value)[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.ZooKeeperProxy.BuildersetAccessLogBytes(com.google.protobuf.ByteString value)[#not-implemented-hide:] The optional path to use for writing ZooKeeper access logs.ZooKeeperProxy.BuildersetDefaultLatencyThreshold(com.google.protobuf.Duration value)The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).ZooKeeperProxy.BuildersetDefaultLatencyThreshold(com.google.protobuf.Duration.Builder builderForValue)The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation).ZooKeeperProxy.BuildersetEnableLatencyThresholdMetrics(boolean value)Whether to emit latency threshold metrics.ZooKeeperProxy.BuildersetEnablePerOpcodeRequestBytesMetrics(boolean value)Whether to emit per opcode request bytes metrics.ZooKeeperProxy.BuildersetEnablePerOpcodeResponseBytesMetrics(boolean value)Whether to emit per opcode response bytes metrics.ZooKeeperProxy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ZooKeeperProxy.BuildersetLatencyThresholdOverrides(int index, LatencyThresholdOverride value)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuildersetLatencyThresholdOverrides(int index, LatencyThresholdOverride.Builder builderForValue)List of latency threshold overrides for opcodes.ZooKeeperProxy.BuildersetMaxPacketBytes(com.google.protobuf.UInt32Value value)Messages — requests, responses and events — that are bigger than this value will be ignored.ZooKeeperProxy.BuildersetMaxPacketBytes(com.google.protobuf.UInt32Value.Builder builderForValue)Messages — requests, responses and events — that are bigger than this value will be ignored.ZooKeeperProxy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ZooKeeperProxy.BuildersetStatPrefix(String value)The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.ZooKeeperProxy.BuildersetStatPrefixBytes(com.google.protobuf.ByteString value)The human readable prefix to use when emitting :ref:`statistics <config_network_filters_zookeeper_proxy_stats>`.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public ZooKeeperProxy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ZooKeeperProxy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ZooKeeperProxy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ZooKeeperProxy.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
public ZooKeeperProxy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ZooKeeperProxy.Builder>
-
clearOneof
public ZooKeeperProxy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public ZooKeeperProxy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ZooKeeperProxy.Builder>
-
mergeFrom
public ZooKeeperProxy.Builder mergeFrom(ZooKeeperProxy other)
-
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
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:
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
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:
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
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:
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
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:
getMaxPacketBytesOrBuilderin interfaceZooKeeperProxyOrBuilder
-
getEnableLatencyThresholdMetrics
public boolean getEnableLatencyThresholdMetrics()
Whether to emit latency threshold metrics. If not set, it defaults to false. If false, setting ``default_latency_threshold`` and ``latency_threshold_overrides`` will not have effect.
bool enable_latency_threshold_metrics = 4;- Specified by:
getEnableLatencyThresholdMetricsin interfaceZooKeeperProxyOrBuilder- Returns:
- The enableLatencyThresholdMetrics.
-
setEnableLatencyThresholdMetrics
public ZooKeeperProxy.Builder setEnableLatencyThresholdMetrics(boolean value)
Whether to emit latency threshold metrics. If not set, it defaults to false. If false, setting ``default_latency_threshold`` and ``latency_threshold_overrides`` will not have effect.
bool enable_latency_threshold_metrics = 4;- Parameters:
value- The enableLatencyThresholdMetrics to set.- Returns:
- This builder for chaining.
-
clearEnableLatencyThresholdMetrics
public ZooKeeperProxy.Builder clearEnableLatencyThresholdMetrics()
Whether to emit latency threshold metrics. If not set, it defaults to false. If false, setting ``default_latency_threshold`` and ``latency_threshold_overrides`` will not have effect.
bool enable_latency_threshold_metrics = 4;- Returns:
- This builder for chaining.
-
hasDefaultLatencyThreshold
public boolean hasDefaultLatencyThreshold()
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }- Specified by:
hasDefaultLatencyThresholdin interfaceZooKeeperProxyOrBuilder- Returns:
- Whether the defaultLatencyThreshold field is set.
-
getDefaultLatencyThreshold
public com.google.protobuf.Duration getDefaultLatencyThreshold()
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }- Specified by:
getDefaultLatencyThresholdin interfaceZooKeeperProxyOrBuilder- Returns:
- The defaultLatencyThreshold.
-
setDefaultLatencyThreshold
public ZooKeeperProxy.Builder setDefaultLatencyThreshold(com.google.protobuf.Duration value)
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }
-
setDefaultLatencyThreshold
public ZooKeeperProxy.Builder setDefaultLatencyThreshold(com.google.protobuf.Duration.Builder builderForValue)
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }
-
mergeDefaultLatencyThreshold
public ZooKeeperProxy.Builder mergeDefaultLatencyThreshold(com.google.protobuf.Duration value)
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }
-
clearDefaultLatencyThreshold
public ZooKeeperProxy.Builder clearDefaultLatencyThreshold()
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }
-
getDefaultLatencyThresholdBuilder
public com.google.protobuf.Duration.Builder getDefaultLatencyThresholdBuilder()
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }
-
getDefaultLatencyThresholdOrBuilder
public com.google.protobuf.DurationOrBuilder getDefaultLatencyThresholdOrBuilder()
The default latency threshold to decide the fast/slow responses and emit metrics (used for error budget calculation). https://sre.google/workbook/implementing-slos/ If it is not set, the default value is 100 milliseconds.
.google.protobuf.Duration default_latency_threshold = 5 [(.validate.rules) = { ... }- Specified by:
getDefaultLatencyThresholdOrBuilderin interfaceZooKeeperProxyOrBuilder
-
getLatencyThresholdOverridesList
public List<LatencyThresholdOverride> getLatencyThresholdOverridesList()
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;- Specified by:
getLatencyThresholdOverridesListin interfaceZooKeeperProxyOrBuilder
-
getLatencyThresholdOverridesCount
public int getLatencyThresholdOverridesCount()
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;- Specified by:
getLatencyThresholdOverridesCountin interfaceZooKeeperProxyOrBuilder
-
getLatencyThresholdOverrides
public LatencyThresholdOverride getLatencyThresholdOverrides(int index)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;- Specified by:
getLatencyThresholdOverridesin interfaceZooKeeperProxyOrBuilder
-
setLatencyThresholdOverrides
public ZooKeeperProxy.Builder setLatencyThresholdOverrides(int index, LatencyThresholdOverride value)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
setLatencyThresholdOverrides
public ZooKeeperProxy.Builder setLatencyThresholdOverrides(int index, LatencyThresholdOverride.Builder builderForValue)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
addLatencyThresholdOverrides
public ZooKeeperProxy.Builder addLatencyThresholdOverrides(LatencyThresholdOverride value)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
addLatencyThresholdOverrides
public ZooKeeperProxy.Builder addLatencyThresholdOverrides(int index, LatencyThresholdOverride value)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
addLatencyThresholdOverrides
public ZooKeeperProxy.Builder addLatencyThresholdOverrides(LatencyThresholdOverride.Builder builderForValue)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
addLatencyThresholdOverrides
public ZooKeeperProxy.Builder addLatencyThresholdOverrides(int index, LatencyThresholdOverride.Builder builderForValue)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
addAllLatencyThresholdOverrides
public ZooKeeperProxy.Builder addAllLatencyThresholdOverrides(Iterable<? extends LatencyThresholdOverride> values)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
clearLatencyThresholdOverrides
public ZooKeeperProxy.Builder clearLatencyThresholdOverrides()
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
removeLatencyThresholdOverrides
public ZooKeeperProxy.Builder removeLatencyThresholdOverrides(int index)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
getLatencyThresholdOverridesBuilder
public LatencyThresholdOverride.Builder getLatencyThresholdOverridesBuilder(int index)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
getLatencyThresholdOverridesOrBuilder
public LatencyThresholdOverrideOrBuilder getLatencyThresholdOverridesOrBuilder(int index)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;- Specified by:
getLatencyThresholdOverridesOrBuilderin interfaceZooKeeperProxyOrBuilder
-
getLatencyThresholdOverridesOrBuilderList
public List<? extends LatencyThresholdOverrideOrBuilder> getLatencyThresholdOverridesOrBuilderList()
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;- Specified by:
getLatencyThresholdOverridesOrBuilderListin interfaceZooKeeperProxyOrBuilder
-
addLatencyThresholdOverridesBuilder
public LatencyThresholdOverride.Builder addLatencyThresholdOverridesBuilder()
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
addLatencyThresholdOverridesBuilder
public LatencyThresholdOverride.Builder addLatencyThresholdOverridesBuilder(int index)
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
getLatencyThresholdOverridesBuilderList
public List<LatencyThresholdOverride.Builder> getLatencyThresholdOverridesBuilderList()
List of latency threshold overrides for opcodes. If the threshold override of one opcode is not set, it will fallback to the default latency threshold. Specifying latency threshold overrides multiple times for one opcode is not allowed.
repeated .envoy.extensions.filters.network.zookeeper_proxy.v3.LatencyThresholdOverride latency_threshold_overrides = 6;
-
getEnablePerOpcodeRequestBytesMetrics
public boolean getEnablePerOpcodeRequestBytesMetrics()
Whether to emit per opcode request bytes metrics. If not set, it defaults to false.
bool enable_per_opcode_request_bytes_metrics = 7;- Specified by:
getEnablePerOpcodeRequestBytesMetricsin interfaceZooKeeperProxyOrBuilder- Returns:
- The enablePerOpcodeRequestBytesMetrics.
-
setEnablePerOpcodeRequestBytesMetrics
public ZooKeeperProxy.Builder setEnablePerOpcodeRequestBytesMetrics(boolean value)
Whether to emit per opcode request bytes metrics. If not set, it defaults to false.
bool enable_per_opcode_request_bytes_metrics = 7;- Parameters:
value- The enablePerOpcodeRequestBytesMetrics to set.- Returns:
- This builder for chaining.
-
clearEnablePerOpcodeRequestBytesMetrics
public ZooKeeperProxy.Builder clearEnablePerOpcodeRequestBytesMetrics()
Whether to emit per opcode request bytes metrics. If not set, it defaults to false.
bool enable_per_opcode_request_bytes_metrics = 7;- Returns:
- This builder for chaining.
-
getEnablePerOpcodeResponseBytesMetrics
public boolean getEnablePerOpcodeResponseBytesMetrics()
Whether to emit per opcode response bytes metrics. If not set, it defaults to false.
bool enable_per_opcode_response_bytes_metrics = 8;- Specified by:
getEnablePerOpcodeResponseBytesMetricsin interfaceZooKeeperProxyOrBuilder- Returns:
- The enablePerOpcodeResponseBytesMetrics.
-
setEnablePerOpcodeResponseBytesMetrics
public ZooKeeperProxy.Builder setEnablePerOpcodeResponseBytesMetrics(boolean value)
Whether to emit per opcode response bytes metrics. If not set, it defaults to false.
bool enable_per_opcode_response_bytes_metrics = 8;- Parameters:
value- The enablePerOpcodeResponseBytesMetrics to set.- Returns:
- This builder for chaining.
-
clearEnablePerOpcodeResponseBytesMetrics
public ZooKeeperProxy.Builder clearEnablePerOpcodeResponseBytesMetrics()
Whether to emit per opcode response bytes metrics. If not set, it defaults to false.
bool enable_per_opcode_response_bytes_metrics = 8;- Returns:
- This builder for chaining.
-
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>
-
-