接口 EnvoyFilterOuterClass.EnvoyFilter.ClusterMatchOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
EnvoyFilterOuterClass.EnvoyFilter.ClusterMatch,EnvoyFilterOuterClass.EnvoyFilter.ClusterMatch.Builder
public static interface EnvoyFilterOuterClass.EnvoyFilter.ClusterMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明getName()The exact name of the cluster to match.com.google.protobuf.ByteStringThe exact name of the cluster to match.intThe service port for which this cluster was generated.The fully qualified service name for this cluster.com.google.protobuf.ByteStringThe fully qualified service name for this cluster.The subset associated with the service.com.google.protobuf.ByteStringThe subset associated with the service.从接口继承的方法 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 for which this cluster was generated. If omitted, applies to clusters for any port.
uint32 port_number = 1;- 返回:
- The portNumber.
-
getService
String getService()The fully qualified service name for this cluster. If omitted, applies to clusters for any service. For services defined through service entries, the service name is same as the hosts defined in the service entry.
string service = 2;- 返回:
- The service.
-
getServiceBytes
com.google.protobuf.ByteString getServiceBytes()The fully qualified service name for this cluster. If omitted, applies to clusters for any service. For services defined through service entries, the service name is same as the hosts defined in the service entry.
string service = 2;- 返回:
- The bytes for service.
-
getSubset
String getSubset()The subset associated with the service. If omitted, applies to clusters for any subset of a service.
string subset = 3;- 返回:
- The subset.
-
getSubsetBytes
com.google.protobuf.ByteString getSubsetBytes()The subset associated with the service. If omitted, applies to clusters for any subset of a service.
string subset = 3;- 返回:
- The bytes for subset.
-
getName
String getName()The exact name of the cluster to match. To match a specific cluster by name, such as the internally generated `Passthrough` cluster, leave all fields in clusterMatch empty, except the name.
string name = 4;- 返回:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The exact name of the cluster to match. To match a specific cluster by name, such as the internally generated `Passthrough` cluster, leave all fields in clusterMatch empty, except the name.
string name = 4;- 返回:
- The bytes for name.
-