Interface Cluster.TransportSocketMatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.TransportSocketMatch
,Cluster.TransportSocketMatch.Builder
- Enclosing class:
- Cluster
public static interface Cluster.TransportSocketMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Struct
getMatch()
Optional metadata match criteria.com.google.protobuf.StructOrBuilder
getMatchOrBuilder()
Optional metadata match criteria.java.lang.String
getName()
The name of the match, used in stats generation.com.google.protobuf.ByteString
getNameBytes()
The name of the match, used in stats generation.TransportSocket
getTransportSocket()
The configuration of the transport socket.TransportSocketOrBuilder
getTransportSocketOrBuilder()
The configuration of the transport socket.boolean
hasMatch()
Optional metadata match criteria.boolean
hasTransportSocket()
The configuration of the transport socket.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
The name of the match, used in stats generation.
string name = 1 [(.validate.rules) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the match, used in stats generation.
string name = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for name.
-
hasMatch
boolean hasMatch()
Optional metadata match criteria. The connection to the endpoint with metadata matching what is set in this field will use the transport socket configuration specified here. The endpoint's metadata entry in ``envoy.transport_socket_match`` is used to match against the values specified in this field.
.google.protobuf.Struct match = 2;
- Returns:
- Whether the match field is set.
-
getMatch
com.google.protobuf.Struct getMatch()
Optional metadata match criteria. The connection to the endpoint with metadata matching what is set in this field will use the transport socket configuration specified here. The endpoint's metadata entry in ``envoy.transport_socket_match`` is used to match against the values specified in this field.
.google.protobuf.Struct match = 2;
- Returns:
- The match.
-
getMatchOrBuilder
com.google.protobuf.StructOrBuilder getMatchOrBuilder()
Optional metadata match criteria. The connection to the endpoint with metadata matching what is set in this field will use the transport socket configuration specified here. The endpoint's metadata entry in ``envoy.transport_socket_match`` is used to match against the values specified in this field.
.google.protobuf.Struct match = 2;
-
hasTransportSocket
boolean hasTransportSocket()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
- Returns:
- Whether the transportSocket field is set.
-
getTransportSocket
TransportSocket getTransportSocket()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
- Returns:
- The transportSocket.
-
getTransportSocketOrBuilder
TransportSocketOrBuilder getTransportSocketOrBuilder()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
-
-