Class Cluster.TransportSocketMatch.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • name_

        private java.lang.Object name_
      • match_

        private com.google.protobuf.Struct match_
      • matchBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,​com.google.protobuf.Struct.Builder,​com.google.protobuf.StructOrBuilder> matchBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.TransportSocketMatch.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.TransportSocketMatch.Builder>
      • getDefaultInstanceForType

        public Cluster.TransportSocketMatch getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Cluster.TransportSocketMatch build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Cluster.TransportSocketMatch buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.TransportSocketMatch.Builder>
      • mergeFrom

        public Cluster.TransportSocketMatch.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.TransportSocketMatch.Builder>
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
         The name of the match, used in stats generation.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getName in interface Cluster.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:
        getNameBytes in interface Cluster.TransportSocketMatchOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Cluster.TransportSocketMatch.Builder setName​(java.lang.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 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:
        hasMatch in interface Cluster.TransportSocketMatchOrBuilder
        Returns:
        Whether the match field is set.
      • getMatch

        public 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;
        Specified by:
        getMatch in interface Cluster.TransportSocketMatchOrBuilder
        Returns:
        The match.
      • setMatch

        public Cluster.TransportSocketMatch.Builder setMatch​(com.google.protobuf.Struct value)
         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;
      • setMatch

        public Cluster.TransportSocketMatch.Builder setMatch​(com.google.protobuf.Struct.Builder builderForValue)
         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;
      • mergeMatch

        public Cluster.TransportSocketMatch.Builder mergeMatch​(com.google.protobuf.Struct value)
         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;
      • clearMatch

        public Cluster.TransportSocketMatch.Builder clearMatch()
         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;
      • getMatchBuilder

        public com.google.protobuf.Struct.Builder getMatchBuilder()
         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;
      • getMatchOrBuilder

        public 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;
        Specified by:
        getMatchOrBuilder in interface Cluster.TransportSocketMatchOrBuilder
      • getMatchFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Struct,​com.google.protobuf.Struct.Builder,​com.google.protobuf.StructOrBuilder> getMatchFieldBuilder()
         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

        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:
        hasTransportSocket in interface Cluster.TransportSocketMatchOrBuilder
        Returns:
        Whether the transportSocket field is set.
      • 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;
      • 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;
      • getTransportSocketFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<TransportSocket,​TransportSocket.Builder,​TransportSocketOrBuilder> getTransportSocketFieldBuilder()
         The configuration of the transport socket.
         [#extension-category: envoy.transport_sockets.upstream]
         
        .envoy.config.core.v3.TransportSocket transport_socket = 3;