Class Cluster.TransportSocketMatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
- io.envoyproxy.envoy.config.cluster.v3.Cluster.TransportSocketMatch.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cluster.TransportSocketMatchOrBuilder,Cloneable
- Enclosing class:
- Cluster.TransportSocketMatch
public static final class Cluster.TransportSocketMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder> implements Cluster.TransportSocketMatchOrBuilder
TransportSocketMatch specifies what transport socket config will be used when the match conditions are satisfied.
Protobuf typeenvoy.config.cluster.v3.Cluster.TransportSocketMatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cluster.TransportSocketMatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Cluster.TransportSocketMatchbuild()Cluster.TransportSocketMatchbuildPartial()Cluster.TransportSocketMatch.Builderclear()Cluster.TransportSocketMatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Cluster.TransportSocketMatch.BuilderclearMatch()Optional endpoint metadata match criteria.Cluster.TransportSocketMatch.BuilderclearName()The name of the match, used in stats generation.Cluster.TransportSocketMatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Cluster.TransportSocketMatch.BuilderclearTransportSocket()The configuration of the transport socket.Cluster.TransportSocketMatch.Builderclone()Cluster.TransportSocketMatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.StructgetMatch()Optional endpoint metadata match criteria.com.google.protobuf.Struct.BuildergetMatchBuilder()Optional endpoint metadata match criteria.com.google.protobuf.StructOrBuildergetMatchOrBuilder()Optional endpoint metadata match criteria.StringgetName()The name of the match, used in stats generation.com.google.protobuf.ByteStringgetNameBytes()The name of the match, used in stats generation.TransportSocketgetTransportSocket()The configuration of the transport socket.TransportSocket.BuildergetTransportSocketBuilder()The configuration of the transport socket.TransportSocketOrBuildergetTransportSocketOrBuilder()The configuration of the transport socket.booleanhasMatch()Optional endpoint metadata match criteria.booleanhasTransportSocket()The configuration of the transport socket.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Cluster.TransportSocketMatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Cluster.TransportSocketMatch.BuildermergeFrom(com.google.protobuf.Message other)Cluster.TransportSocketMatch.BuildermergeFrom(Cluster.TransportSocketMatch other)Cluster.TransportSocketMatch.BuildermergeMatch(com.google.protobuf.Struct value)Optional endpoint metadata match criteria.Cluster.TransportSocketMatch.BuildermergeTransportSocket(TransportSocket value)The configuration of the transport socket.Cluster.TransportSocketMatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Cluster.TransportSocketMatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Cluster.TransportSocketMatch.BuildersetMatch(com.google.protobuf.Struct value)Optional endpoint metadata match criteria.Cluster.TransportSocketMatch.BuildersetMatch(com.google.protobuf.Struct.Builder builderForValue)Optional endpoint metadata match criteria.Cluster.TransportSocketMatch.BuildersetName(String value)The name of the match, used in stats generation.Cluster.TransportSocketMatch.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the match, used in stats generation.Cluster.TransportSocketMatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Cluster.TransportSocketMatch.BuildersetTransportSocket(TransportSocket value)The configuration of the transport socket.Cluster.TransportSocketMatch.BuildersetTransportSocket(TransportSocket.Builder builderForValue)The configuration of the transport socket.Cluster.TransportSocketMatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Cluster.TransportSocketMatch.Builder>
-
clear
public Cluster.TransportSocketMatch.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
getDefaultInstanceForType
public Cluster.TransportSocketMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cluster.TransportSocketMatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cluster.TransportSocketMatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Cluster.TransportSocketMatch.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
setField
public Cluster.TransportSocketMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
clearField
public Cluster.TransportSocketMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
clearOneof
public Cluster.TransportSocketMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
setRepeatedField
public Cluster.TransportSocketMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
addRepeatedField
public Cluster.TransportSocketMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
mergeFrom
public Cluster.TransportSocketMatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cluster.TransportSocketMatch.Builder>
-
mergeFrom
public Cluster.TransportSocketMatch.Builder mergeFrom(Cluster.TransportSocketMatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
mergeFrom
public Cluster.TransportSocketMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Cluster.TransportSocketMatch.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the match, used in stats generation.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceCluster.TransportSocketMatchOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the match, used in stats generation.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceCluster.TransportSocketMatchOrBuilder- Returns:
- The bytes for name.
-
setName
public Cluster.TransportSocketMatch.Builder setName(String value)
The name of the match, used in stats generation.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Cluster.TransportSocketMatch.Builder clearName()
The name of the match, used in stats generation.
string name = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public Cluster.TransportSocketMatch.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the match, used in stats generation.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasMatch
public boolean hasMatch()
Optional endpoint 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;- Specified by:
hasMatchin interfaceCluster.TransportSocketMatchOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
public com.google.protobuf.Struct getMatch()
Optional endpoint 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;- Specified by:
getMatchin interfaceCluster.TransportSocketMatchOrBuilder- Returns:
- The match.
-
setMatch
public Cluster.TransportSocketMatch.Builder setMatch(com.google.protobuf.Struct value)
Optional endpoint 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;
-
setMatch
public Cluster.TransportSocketMatch.Builder setMatch(com.google.protobuf.Struct.Builder builderForValue)
Optional endpoint 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;
-
mergeMatch
public Cluster.TransportSocketMatch.Builder mergeMatch(com.google.protobuf.Struct value)
Optional endpoint 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;
-
clearMatch
public Cluster.TransportSocketMatch.Builder clearMatch()
Optional endpoint 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;
-
getMatchBuilder
public com.google.protobuf.Struct.Builder getMatchBuilder()
Optional endpoint 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;
-
getMatchOrBuilder
public com.google.protobuf.StructOrBuilder getMatchOrBuilder()
Optional endpoint 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;- Specified by:
getMatchOrBuilderin interfaceCluster.TransportSocketMatchOrBuilder
-
hasTransportSocket
public boolean hasTransportSocket()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;- Specified by:
hasTransportSocketin interfaceCluster.TransportSocketMatchOrBuilder- Returns:
- Whether the transportSocket field is set.
-
getTransportSocket
public TransportSocket getTransportSocket()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;- Specified by:
getTransportSocketin interfaceCluster.TransportSocketMatchOrBuilder- Returns:
- The transportSocket.
-
setTransportSocket
public Cluster.TransportSocketMatch.Builder setTransportSocket(TransportSocket value)
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
-
setTransportSocket
public Cluster.TransportSocketMatch.Builder setTransportSocket(TransportSocket.Builder builderForValue)
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
-
mergeTransportSocket
public Cluster.TransportSocketMatch.Builder mergeTransportSocket(TransportSocket value)
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
-
clearTransportSocket
public Cluster.TransportSocketMatch.Builder clearTransportSocket()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
-
getTransportSocketBuilder
public TransportSocket.Builder getTransportSocketBuilder()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;
-
getTransportSocketOrBuilder
public TransportSocketOrBuilder getTransportSocketOrBuilder()
The configuration of the transport socket. [#extension-category: envoy.transport_sockets.upstream]
.envoy.config.core.v3.TransportSocket transport_socket = 3;- Specified by:
getTransportSocketOrBuilderin interfaceCluster.TransportSocketMatchOrBuilder
-
setUnknownFields
public final Cluster.TransportSocketMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
mergeUnknownFields
public final Cluster.TransportSocketMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Cluster.TransportSocketMatch.Builder>
-
-