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
FieldsModifier and TypeFieldDescriptionprivate 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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Decorator result) clear()
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.setOperation
(String value) 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_
-
propagate_
private com.google.protobuf.BoolValue propagate_ -
propagateBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, propagateBuilder_com.google.protobuf.BoolValueOrBuilder>
-
-
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 classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Decorator.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
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
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
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
Whether the decorated details should be propagated to the other party. The default is true.
.google.protobuf.BoolValue propagate = 2;
-
setPropagate
Whether the decorated details should be propagated to the other party. The default is true.
.google.protobuf.BoolValue propagate = 2;
-
mergePropagate
Whether the decorated details should be propagated to the other party. The default is true.
.google.protobuf.BoolValue propagate = 2;
-
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
-
internalGetPropagateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, internalGetPropagateFieldBuilder()com.google.protobuf.BoolValueOrBuilder> Whether the decorated details should be propagated to the other party. The default is true.
.google.protobuf.BoolValue propagate = 2;
-