Class Decorator.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Decorator.Builder>
com.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
io.envoyproxy.envoy.config.route.v3.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.GeneratedMessage.Builder<Decorator.Builder> implements DecoratorOrBuilder
Protobuf type envoy.config.route.v3.Decorator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private Object
     
    private com.google.protobuf.BoolValue
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
    private
    Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    private void
     
     
    The operation name associated with the request matched to this route.
    Whether the decorated details should be propagated to the other party.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The operation name associated with the request matched to this route.
    com.google.protobuf.ByteString
    The operation name associated with the request matched to this route.
    com.google.protobuf.BoolValue
    Whether the decorated details should be propagated to the other party.
    com.google.protobuf.BoolValue.Builder
    Whether the decorated details should be propagated to the other party.
    com.google.protobuf.BoolValueOrBuilder
    Whether the decorated details should be propagated to the other party.
    boolean
    Whether the decorated details should be propagated to the other party.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
    Whether the decorated details should be propagated to the other party.
    final boolean
     
    private void
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergePropagate(com.google.protobuf.BoolValue value)
    Whether the decorated details should be propagated to the other party.
    The operation name associated with the request matched to this route.
    setOperationBytes(com.google.protobuf.ByteString value)
    The operation name associated with the request matched to this route.
    setPropagate(com.google.protobuf.BoolValue value)
    Whether the decorated details should be propagated to the other party.
    setPropagate(com.google.protobuf.BoolValue.Builder builderForValue)
    Whether the decorated details should be propagated to the other party.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • bitField0_

      private int bitField0_
    • operation_

      private Object operation_
    • propagate_

      private com.google.protobuf.BoolValue propagate_
    • propagateBuilder_

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> propagateBuilder_
  • Constructor Details

    • Builder

      private Builder()
    • Builder

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

    • 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<Decorator.Builder>
    • maybeForceBuilderInitialization

      private void maybeForceBuilderInitialization()
    • 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.GeneratedMessage.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.GeneratedMessage.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
    • buildPartial0

      private void buildPartial0(Decorator result)
    • 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>
    • mergeFrom

      public Decorator.Builder mergeFrom(Decorator other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • internalGetPropagateFieldBuilder

      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> internalGetPropagateFieldBuilder()
       Whether the decorated details should be propagated to the other party. The default is true.
       
      .google.protobuf.BoolValue propagate = 2;