Class UdpProxyConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UdpProxyConfigOrBuilder,Serializable
public final class UdpProxyConfig extends com.google.protobuf.GeneratedMessageV3 implements UdpProxyConfigOrBuilder
Configuration for the UDP proxy filter. [#next-free-field: 10]
Protobuf typeenvoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUdpProxyConfig.BuilderConfiguration for the UDP proxy filter.static classUdpProxyConfig.HashPolicySpecifies the UDP hash policy.static interfaceUdpProxyConfig.HashPolicyOrBuilderstatic classUdpProxyConfig.RouteSpecifierCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESS_LOG_FIELD_NUMBERstatic intCLUSTER_FIELD_NUMBERstatic intHASH_POLICIES_FIELD_NUMBERstatic intIDLE_TIMEOUT_FIELD_NUMBERstatic intMATCHER_FIELD_NUMBERstatic intSTAT_PREFIX_FIELD_NUMBERstatic intUPSTREAM_SOCKET_CONFIG_FIELD_NUMBERstatic intUSE_ORIGINAL_SRC_IP_FIELD_NUMBERstatic intUSE_PER_PACKET_LOAD_BALANCING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)AccessLoggetAccessLog(int index)Configuration for access logs emitted by the UDP proxy.intgetAccessLogCount()Configuration for access logs emitted by the UDP proxy.List<AccessLog>getAccessLogList()Configuration for access logs emitted by the UDP proxy.AccessLogOrBuildergetAccessLogOrBuilder(int index)Configuration for access logs emitted by the UDP proxy.List<? extends AccessLogOrBuilder>getAccessLogOrBuilderList()Configuration for access logs emitted by the UDP proxy.StringgetCluster()Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated.com.google.protobuf.ByteStringgetClusterBytes()Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated.static UdpProxyConfiggetDefaultInstance()UdpProxyConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()UdpProxyConfig.HashPolicygetHashPolicies(int index)Optional configuration for UDP proxy hash policies.intgetHashPoliciesCount()Optional configuration for UDP proxy hash policies.List<UdpProxyConfig.HashPolicy>getHashPoliciesList()Optional configuration for UDP proxy hash policies.UdpProxyConfig.HashPolicyOrBuildergetHashPoliciesOrBuilder(int index)Optional configuration for UDP proxy hash policies.List<? extends UdpProxyConfig.HashPolicyOrBuilder>getHashPoliciesOrBuilderList()Optional configuration for UDP proxy hash policies.com.google.protobuf.DurationgetIdleTimeout()The idle timeout for sessions.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()The idle timeout for sessions.MatchergetMatcher()The match tree to use when resolving route actions for incoming requests.MatcherOrBuildergetMatcherOrBuilder()The match tree to use when resolving route actions for incoming requests.com.google.protobuf.Parser<UdpProxyConfig>getParserForType()UdpProxyConfig.RouteSpecifierCasegetRouteSpecifierCase()intgetSerializedSize()StringgetStatPrefix()The stat prefix used when emitting UDP proxy filter stats.com.google.protobuf.ByteStringgetStatPrefixBytes()The stat prefix used when emitting UDP proxy filter stats.com.google.protobuf.UnknownFieldSetgetUnknownFields()UdpSocketConfiggetUpstreamSocketConfig()UDP socket configuration for upstream sockets.UdpSocketConfigOrBuildergetUpstreamSocketConfigOrBuilder()UDP socket configuration for upstream sockets.booleangetUseOriginalSrcIp()Use the remote downstream IP address as the sender IP address when sending packets to upstream hosts.booleangetUsePerPacketLoadBalancing()Perform per packet load balancing (upstream host selection) on each received data chunk.booleanhasCluster()Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated.inthashCode()booleanhasIdleTimeout()The idle timeout for sessions.booleanhasMatcher()The match tree to use when resolving route actions for incoming requests.booleanhasUpstreamSocketConfig()UDP socket configuration for upstream sockets.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UdpProxyConfig.BuildernewBuilder()static UdpProxyConfig.BuildernewBuilder(UdpProxyConfig prototype)UdpProxyConfig.BuildernewBuilderForType()protected UdpProxyConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UdpProxyConfigparseDelimitedFrom(InputStream input)static UdpProxyConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(byte[] data)static UdpProxyConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(com.google.protobuf.ByteString data)static UdpProxyConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(com.google.protobuf.CodedInputStream input)static UdpProxyConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(InputStream input)static UdpProxyConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(ByteBuffer data)static UdpProxyConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UdpProxyConfig>parser()UdpProxyConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STAT_PREFIX_FIELD_NUMBER
public static final int STAT_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_ORIGINAL_SRC_IP_FIELD_NUMBER
public static final int USE_ORIGINAL_SRC_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HASH_POLICIES_FIELD_NUMBER
public static final int HASH_POLICIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPSTREAM_SOCKET_CONFIG_FIELD_NUMBER
public static final int UPSTREAM_SOCKET_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_PER_PACKET_LOAD_BALANCING_FIELD_NUMBER
public static final int USE_PER_PACKET_LOAD_BALANCING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_LOG_FIELD_NUMBER
public static final int ACCESS_LOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getRouteSpecifierCase
public UdpProxyConfig.RouteSpecifierCase getRouteSpecifierCase()
- Specified by:
getRouteSpecifierCasein interfaceUdpProxyConfigOrBuilder
-
getStatPrefix
public String getStatPrefix()
The stat prefix used when emitting UDP proxy filter stats.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixin interfaceUdpProxyConfigOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()
The stat prefix used when emitting UDP proxy filter stats.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixBytesin interfaceUdpProxyConfigOrBuilder- Returns:
- The bytes for statPrefix.
-
hasCluster
@Deprecated public boolean hasCluster()
Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated. See envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto;l=60The upstream cluster to connect to. This field is deprecated in favor of :ref:`matcher <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.matcher>`.
string cluster = 2 [deprecated = true, (.validate.rules) = { ... }- Specified by:
hasClusterin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
@Deprecated public String getCluster()
Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated. See envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto;l=60The upstream cluster to connect to. This field is deprecated in favor of :ref:`matcher <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.matcher>`.
string cluster = 2 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getClusterin interfaceUdpProxyConfigOrBuilder- Returns:
- The cluster.
-
getClusterBytes
@Deprecated public com.google.protobuf.ByteString getClusterBytes()
Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated. See envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto;l=60The upstream cluster to connect to. This field is deprecated in favor of :ref:`matcher <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.matcher>`.
string cluster = 2 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getClusterBytesin interfaceUdpProxyConfigOrBuilder- Returns:
- The bytes for cluster.
-
hasMatcher
public boolean hasMatcher()
The match tree to use when resolving route actions for incoming requests. See :ref:`Routing <config_udp_listener_filters_udp_proxy_routing>` for more information.
.xds.type.matcher.v3.Matcher matcher = 9 [(.xds.annotations.v3.field_status) = { ... }- Specified by:
hasMatcherin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcher
public Matcher getMatcher()
The match tree to use when resolving route actions for incoming requests. See :ref:`Routing <config_udp_listener_filters_udp_proxy_routing>` for more information.
.xds.type.matcher.v3.Matcher matcher = 9 [(.xds.annotations.v3.field_status) = { ... }- Specified by:
getMatcherin interfaceUdpProxyConfigOrBuilder- Returns:
- The matcher.
-
getMatcherOrBuilder
public MatcherOrBuilder getMatcherOrBuilder()
The match tree to use when resolving route actions for incoming requests. See :ref:`Routing <config_udp_listener_filters_udp_proxy_routing>` for more information.
.xds.type.matcher.v3.Matcher matcher = 9 [(.xds.annotations.v3.field_status) = { ... }- Specified by:
getMatcherOrBuilderin interfaceUdpProxyConfigOrBuilder
-
hasIdleTimeout
public boolean hasIdleTimeout()
The idle timeout for sessions. Idle is defined as no datagrams between received or sent by the session. The default if not specified is 1 minute.
.google.protobuf.Duration idle_timeout = 3;- Specified by:
hasIdleTimeoutin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public com.google.protobuf.Duration getIdleTimeout()
The idle timeout for sessions. Idle is defined as no datagrams between received or sent by the session. The default if not specified is 1 minute.
.google.protobuf.Duration idle_timeout = 3;- Specified by:
getIdleTimeoutin interfaceUdpProxyConfigOrBuilder- Returns:
- The idleTimeout.
-
getIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
The idle timeout for sessions. Idle is defined as no datagrams between received or sent by the session. The default if not specified is 1 minute.
.google.protobuf.Duration idle_timeout = 3;- Specified by:
getIdleTimeoutOrBuilderin interfaceUdpProxyConfigOrBuilder
-
getUseOriginalSrcIp
public boolean getUseOriginalSrcIp()
Use the remote downstream IP address as the sender IP address when sending packets to upstream hosts. This option requires Envoy to be run with the ``CAP_NET_ADMIN`` capability on Linux. And the IPv6 stack must be enabled on Linux kernel. This option does not preserve the remote downstream port. If this option is enabled, the IP address of sent datagrams will be changed to the remote downstream IP address. This means that Envoy will not receive packets that are sent by upstream hosts because the upstream hosts will send the packets with the remote downstream IP address as the destination. All packets will be routed to the remote downstream directly if there are route rules on the upstream host side. There are two options to return the packets back to the remote downstream. The first one is to use DSR (Direct Server Return). The other one is to configure routing rules on the upstream hosts to forward all packets back to Envoy and configure iptables rules on the host running Envoy to forward all packets from upstream hosts to the Envoy process so that Envoy can forward the packets to the downstream. If the platform does not support this option, Envoy will raise a configuration error.
bool use_original_src_ip = 4;- Specified by:
getUseOriginalSrcIpin interfaceUdpProxyConfigOrBuilder- Returns:
- The useOriginalSrcIp.
-
getHashPoliciesList
public List<UdpProxyConfig.HashPolicy> getHashPoliciesList()
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesListin interfaceUdpProxyConfigOrBuilder
-
getHashPoliciesOrBuilderList
public List<? extends UdpProxyConfig.HashPolicyOrBuilder> getHashPoliciesOrBuilderList()
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesOrBuilderListin interfaceUdpProxyConfigOrBuilder
-
getHashPoliciesCount
public int getHashPoliciesCount()
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesCountin interfaceUdpProxyConfigOrBuilder
-
getHashPolicies
public UdpProxyConfig.HashPolicy getHashPolicies(int index)
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesin interfaceUdpProxyConfigOrBuilder
-
getHashPoliciesOrBuilder
public UdpProxyConfig.HashPolicyOrBuilder getHashPoliciesOrBuilder(int index)
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesOrBuilderin interfaceUdpProxyConfigOrBuilder
-
hasUpstreamSocketConfig
public boolean hasUpstreamSocketConfig()
UDP socket configuration for upstream sockets. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is true for upstream sockets as the assumption is datagrams will be received from a single source.
.envoy.config.core.v3.UdpSocketConfig upstream_socket_config = 6;- Specified by:
hasUpstreamSocketConfigin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the upstreamSocketConfig field is set.
-
getUpstreamSocketConfig
public UdpSocketConfig getUpstreamSocketConfig()
UDP socket configuration for upstream sockets. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is true for upstream sockets as the assumption is datagrams will be received from a single source.
.envoy.config.core.v3.UdpSocketConfig upstream_socket_config = 6;- Specified by:
getUpstreamSocketConfigin interfaceUdpProxyConfigOrBuilder- Returns:
- The upstreamSocketConfig.
-
getUpstreamSocketConfigOrBuilder
public UdpSocketConfigOrBuilder getUpstreamSocketConfigOrBuilder()
UDP socket configuration for upstream sockets. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is true for upstream sockets as the assumption is datagrams will be received from a single source.
.envoy.config.core.v3.UdpSocketConfig upstream_socket_config = 6;- Specified by:
getUpstreamSocketConfigOrBuilderin interfaceUdpProxyConfigOrBuilder
-
getUsePerPacketLoadBalancing
public boolean getUsePerPacketLoadBalancing()
Perform per packet load balancing (upstream host selection) on each received data chunk. The default if not specified is false, that means each data chunk is forwarded to upstream host selected on first chunk receival for that "session" (identified by source IP/port and local IP/port).
bool use_per_packet_load_balancing = 7;- Specified by:
getUsePerPacketLoadBalancingin interfaceUdpProxyConfigOrBuilder- Returns:
- The usePerPacketLoadBalancing.
-
getAccessLogList
public List<AccessLog> getAccessLogList()
Configuration for access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogListin interfaceUdpProxyConfigOrBuilder
-
getAccessLogOrBuilderList
public List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
Configuration for access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogOrBuilderListin interfaceUdpProxyConfigOrBuilder
-
getAccessLogCount
public int getAccessLogCount()
Configuration for access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogCountin interfaceUdpProxyConfigOrBuilder
-
getAccessLog
public AccessLog getAccessLog(int index)
Configuration for access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogin interfaceUdpProxyConfigOrBuilder
-
getAccessLogOrBuilder
public AccessLogOrBuilder getAccessLogOrBuilder(int index)
Configuration for access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogOrBuilderin interfaceUdpProxyConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UdpProxyConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UdpProxyConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UdpProxyConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UdpProxyConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public UdpProxyConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UdpProxyConfig.Builder newBuilder()
-
newBuilder
public static UdpProxyConfig.Builder newBuilder(UdpProxyConfig prototype)
-
toBuilder
public UdpProxyConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UdpProxyConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UdpProxyConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UdpProxyConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<UdpProxyConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UdpProxyConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-