接口 EnvoyFilterOuterClass.EnvoyFilter.ListenerMatchOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
EnvoyFilterOuterClass.EnvoyFilter.ListenerMatch,EnvoyFilterOuterClass.EnvoyFilter.ListenerMatch.Builder
public static interface EnvoyFilterOuterClass.EnvoyFilter.ListenerMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明Match a specific filter chain in a listener.Match a specific filter chain in a listener.getName()Match a specific listener by its name.com.google.protobuf.ByteStringMatch a specific listener by its name.Instead of using specific port numbers, a set of ports matching a given service's port name can be selected.com.google.protobuf.ByteStringInstead of using specific port numbers, a set of ports matching a given service's port name can be selected.intThe service port/gateway port to which traffic is being sent/received.booleanMatch a specific filter chain in a listener.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getPortNumber
int getPortNumber()The service port/gateway port to which traffic is being sent/received. If not specified, matches all listeners. Even though inbound listeners are generated for the instance/pod ports, only service ports should be used to match listeners.
uint32 port_number = 1;- 返回:
- The portNumber.
-
getPortName
String getPortName()Instead of using specific port numbers, a set of ports matching a given service's port name can be selected. Matching is case insensitive. Not implemented. $hide_from_docs
string port_name = 2;- 返回:
- The portName.
-
getPortNameBytes
com.google.protobuf.ByteString getPortNameBytes()Instead of using specific port numbers, a set of ports matching a given service's port name can be selected. Matching is case insensitive. Not implemented. $hide_from_docs
string port_name = 2;- 返回:
- The bytes for portName.
-
hasFilterChain
boolean hasFilterChain()Match a specific filter chain in a listener. If specified, the patch will be applied to the filter chain (and a specific filter if specified) and not to other filter chains in the listener.
.istio.networking.v1alpha3.EnvoyFilter.ListenerMatch.FilterChainMatch filter_chain = 3;- 返回:
- Whether the filterChain field is set.
-
getFilterChain
EnvoyFilterOuterClass.EnvoyFilter.ListenerMatch.FilterChainMatch getFilterChain()Match a specific filter chain in a listener. If specified, the patch will be applied to the filter chain (and a specific filter if specified) and not to other filter chains in the listener.
.istio.networking.v1alpha3.EnvoyFilter.ListenerMatch.FilterChainMatch filter_chain = 3;- 返回:
- The filterChain.
-
getFilterChainOrBuilder
EnvoyFilterOuterClass.EnvoyFilter.ListenerMatch.FilterChainMatchOrBuilder getFilterChainOrBuilder()Match a specific filter chain in a listener. If specified, the patch will be applied to the filter chain (and a specific filter if specified) and not to other filter chains in the listener.
.istio.networking.v1alpha3.EnvoyFilter.ListenerMatch.FilterChainMatch filter_chain = 3; -
getName
String getName()Match a specific listener by its name. The listeners generated by Pilot are typically named as IP:Port.
string name = 4;- 返回:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Match a specific listener by its name. The listeners generated by Pilot are typically named as IP:Port.
string name = 4;- 返回:
- The bytes for name.
-