Class Decorator.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DecoratorOrBuilder, Cloneable
    Enclosing class:
    Decorator

    public static final class Decorator.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
    implements DecoratorOrBuilder
    Protobuf type envoy.config.route.v3.Decorator
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • clear

        public Decorator.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • 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.GeneratedMessageV3.Builder<Decorator.Builder>
      • getDefaultInstanceForType

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

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

        public Decorator buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Decorator.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • setField

        public Decorator.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • clearField

        public Decorator.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • clearOneof

        public Decorator.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • setRepeatedField

        public Decorator.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  int index,
                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • addRepeatedField

        public Decorator.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • mergeFrom

        public Decorator.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Decorator.Builder>
      • isInitialized

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

        public Decorator.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws 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<Decorator.Builder>
        Throws:
        IOException
      • getOperation

        public String getOperation()
         The operation name associated with the request matched to this route. If tracing is
         enabled, this information will be used as the span name reported for this request.
         .. note::
           For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden
           by the :ref:`x-envoy-decorator-operation
           <config_http_filters_router_x-envoy-decorator-operation>` header.
         
        string operation = 1 [(.validate.rules) = { ... }
        Specified by:
        getOperation in interface DecoratorOrBuilder
        Returns:
        The operation.
      • getOperationBytes

        public com.google.protobuf.ByteString getOperationBytes()
         The operation name associated with the request matched to this route. If tracing is
         enabled, this information will be used as the span name reported for this request.
         .. note::
           For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden
           by the :ref:`x-envoy-decorator-operation
           <config_http_filters_router_x-envoy-decorator-operation>` header.
         
        string operation = 1 [(.validate.rules) = { ... }
        Specified by:
        getOperationBytes in interface DecoratorOrBuilder
        Returns:
        The bytes for operation.
      • setOperation

        public Decorator.Builder setOperation​(String value)
         The operation name associated with the request matched to this route. If tracing is
         enabled, this information will be used as the span name reported for this request.
         .. note::
           For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden
           by the :ref:`x-envoy-decorator-operation
           <config_http_filters_router_x-envoy-decorator-operation>` header.
         
        string operation = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The operation to set.
        Returns:
        This builder for chaining.
      • clearOperation

        public Decorator.Builder clearOperation()
         The operation name associated with the request matched to this route. If tracing is
         enabled, this information will be used as the span name reported for this request.
         .. note::
           For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden
           by the :ref:`x-envoy-decorator-operation
           <config_http_filters_router_x-envoy-decorator-operation>` header.
         
        string operation = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setOperationBytes

        public Decorator.Builder setOperationBytes​(com.google.protobuf.ByteString value)
         The operation name associated with the request matched to this route. If tracing is
         enabled, this information will be used as the span name reported for this request.
         .. note::
           For ingress (inbound) requests, or egress (outbound) responses, this value may be overridden
           by the :ref:`x-envoy-decorator-operation
           <config_http_filters_router_x-envoy-decorator-operation>` header.
         
        string operation = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for operation to set.
        Returns:
        This builder for chaining.
      • hasPropagate

        public boolean hasPropagate()
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
        Specified by:
        hasPropagate in interface DecoratorOrBuilder
        Returns:
        Whether the propagate field is set.
      • getPropagate

        public com.google.protobuf.BoolValue getPropagate()
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
        Specified by:
        getPropagate in interface DecoratorOrBuilder
        Returns:
        The propagate.
      • setPropagate

        public Decorator.Builder setPropagate​(com.google.protobuf.BoolValue value)
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
      • setPropagate

        public Decorator.Builder setPropagate​(com.google.protobuf.BoolValue.Builder builderForValue)
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
      • mergePropagate

        public Decorator.Builder mergePropagate​(com.google.protobuf.BoolValue value)
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
      • clearPropagate

        public Decorator.Builder clearPropagate()
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
      • getPropagateBuilder

        public com.google.protobuf.BoolValue.Builder getPropagateBuilder()
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
      • getPropagateOrBuilder

        public com.google.protobuf.BoolValueOrBuilder getPropagateOrBuilder()
         Whether the decorated details should be propagated to the other party. The default is true.
         
        .google.protobuf.BoolValue propagate = 2;
        Specified by:
        getPropagateOrBuilder in interface DecoratorOrBuilder
      • setUnknownFields

        public final Decorator.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
      • mergeUnknownFields

        public final Decorator.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>