Class Decorator.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.Cloneable
- Enclosing class:
- Decorator
public static final class Decorator.Builder extends com.google.protobuf.GeneratedMessage.Builder<Decorator.Builder> implements DecoratorOrBuilder
Protobuf typeenvoy.config.route.v3.Decorator
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.lang.Object
operation_
private com.google.protobuf.BoolValue
propagate_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
propagateBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Decorator
build()
Decorator
buildPartial()
private void
buildPartial0(Decorator result)
Decorator.Builder
clear()
Decorator.Builder
clearOperation()
The operation name associated with the request matched to this route.Decorator.Builder
clearPropagate()
Whether the decorated details should be propagated to the other party.Decorator
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getOperation()
The operation name associated with the request matched to this route.com.google.protobuf.ByteString
getOperationBytes()
The operation name associated with the request matched to this route.com.google.protobuf.BoolValue
getPropagate()
Whether the decorated details should be propagated to the other party.com.google.protobuf.BoolValue.Builder
getPropagateBuilder()
Whether the decorated details should be propagated to the other party.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
getPropagateFieldBuilder()
Whether the decorated details should be propagated to the other party.com.google.protobuf.BoolValueOrBuilder
getPropagateOrBuilder()
Whether the decorated details should be propagated to the other party.boolean
hasPropagate()
Whether the decorated details should be propagated to the other party.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Decorator.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Decorator.Builder
mergeFrom(com.google.protobuf.Message other)
Decorator.Builder
mergeFrom(Decorator other)
Decorator.Builder
mergePropagate(com.google.protobuf.BoolValue value)
Whether the decorated details should be propagated to the other party.Decorator.Builder
setOperation(java.lang.String value)
The operation name associated with the request matched to this route.Decorator.Builder
setOperationBytes(com.google.protobuf.ByteString value)
The operation name associated with the request matched to this route.Decorator.Builder
setPropagate(com.google.protobuf.BoolValue value)
Whether the decorated details should be propagated to the other party.Decorator.Builder
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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
operation_
private java.lang.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_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Decorator.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
getDefaultInstanceForType
public Decorator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Decorator build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Decorator buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Decorator result)
-
mergeFrom
public Decorator.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Decorator.Builder>
-
mergeFrom
public Decorator.Builder mergeFrom(Decorator other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
mergeFrom
public Decorator.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Decorator.Builder>
- Throws:
java.io.IOException
-
getOperation
public java.lang.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 interfaceDecoratorOrBuilder
- 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 interfaceDecoratorOrBuilder
- Returns:
- The bytes for operation.
-
setOperation
public Decorator.Builder setOperation(java.lang.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 interfaceDecoratorOrBuilder
- 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 interfaceDecoratorOrBuilder
- 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 interfaceDecoratorOrBuilder
-
getPropagateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getPropagateFieldBuilder()
Whether the decorated details should be propagated to the other party. The default is true.
.google.protobuf.BoolValue propagate = 2;
-
-