接口 EnvoyFilterOuterClass.EnvoyFilter.RouteConfigurationMatchOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
EnvoyFilterOuterClass.EnvoyFilter.RouteConfigurationMatch,EnvoyFilterOuterClass.EnvoyFilter.RouteConfigurationMatch.Builder
public static interface EnvoyFilterOuterClass.EnvoyFilter.RouteConfigurationMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明The Istio gateway config's namespace/name for which this route configuration was generated.com.google.protobuf.ByteStringThe Istio gateway config's namespace/name for which this route configuration was generated.getName()Route configuration name to match on.com.google.protobuf.ByteStringRoute configuration name to match on.Applicable only for GATEWAY context.com.google.protobuf.ByteStringApplicable only for GATEWAY context.intThe service port number or gateway server port number for which this route configuration was generated.getVhost()Match a specific virtual host in a route configuration and apply the patch to the virtual host.Match a specific virtual host in a route configuration and apply the patch to the virtual host.booleanhasVhost()Match a specific virtual host in a route configuration and apply the patch to the virtual host.从接口继承的方法 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 number or gateway server port number for which this route configuration was generated. If omitted, applies to route configurations for all ports.
uint32 port_number = 1;- 返回:
- The portNumber.
-
getPortName
String getPortName()Applicable only for GATEWAY context. The gateway server port name for which this route configuration was generated.
string port_name = 2;- 返回:
- The portName.
-
getPortNameBytes
com.google.protobuf.ByteString getPortNameBytes()Applicable only for GATEWAY context. The gateway server port name for which this route configuration was generated.
string port_name = 2;- 返回:
- The bytes for portName.
-
getGateway
String getGateway()The Istio gateway config's namespace/name for which this route configuration was generated. Applies only if the context is GATEWAY. Should be in the namespace/name format. Use this field in conjunction with the `portNumber` and `portName` to accurately select the Envoy route configuration for a specific HTTPS server within a gateway config object.
string gateway = 3;- 返回:
- The gateway.
-
getGatewayBytes
com.google.protobuf.ByteString getGatewayBytes()The Istio gateway config's namespace/name for which this route configuration was generated. Applies only if the context is GATEWAY. Should be in the namespace/name format. Use this field in conjunction with the `portNumber` and `portName` to accurately select the Envoy route configuration for a specific HTTPS server within a gateway config object.
string gateway = 3;- 返回:
- The bytes for gateway.
-
hasVhost
boolean hasVhost()Match a specific virtual host in a route configuration and apply the patch to the virtual host.
.istio.networking.v1alpha3.EnvoyFilter.RouteConfigurationMatch.VirtualHostMatch vhost = 4;- 返回:
- Whether the vhost field is set.
-
getVhost
Match a specific virtual host in a route configuration and apply the patch to the virtual host.
.istio.networking.v1alpha3.EnvoyFilter.RouteConfigurationMatch.VirtualHostMatch vhost = 4;- 返回:
- The vhost.
-
getVhostOrBuilder
EnvoyFilterOuterClass.EnvoyFilter.RouteConfigurationMatch.VirtualHostMatchOrBuilder getVhostOrBuilder()Match a specific virtual host in a route configuration and apply the patch to the virtual host.
.istio.networking.v1alpha3.EnvoyFilter.RouteConfigurationMatch.VirtualHostMatch vhost = 4; -
getName
String getName()Route configuration name to match on. Can be used to match a specific route configuration by name, such as the internally generated `http_proxy` route configuration for all sidecars.
string name = 5;- 返回:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Route configuration name to match on. Can be used to match a specific route configuration by name, such as the internally generated `http_proxy` route configuration for all sidecars.
string name = 5;- 返回:
- The bytes for name.
-