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 intprivate Objectprivate com.google.protobuf.BoolValueprivate 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 voidbuildPartial0(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.Descriptorcom.google.protobuf.Descriptors.DescriptorThe operation name associated with the request matched to this route.com.google.protobuf.ByteStringThe operation name associated with the request matched to this route.com.google.protobuf.BoolValueWhether the decorated details should be propagated to the other party.com.google.protobuf.BoolValue.BuilderWhether 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> Whether the decorated details should be propagated to the other party.com.google.protobuf.BoolValueOrBuilderWhether the decorated details should be propagated to the other party.booleanWhether the decorated details should be propagated to the other party.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanprivate voidmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Decorator.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Decorator.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getOperationin 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:
getOperationBytesin 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:
hasPropagatein 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:
getPropagatein 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:
getPropagateOrBuilderin interfaceDecoratorOrBuilder
-
getPropagateFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, getPropagateFieldBuilder()com.google.protobuf.BoolValueOrBuilder> Whether the decorated details should be propagated to the other party. The default is true.
.google.protobuf.BoolValue propagate = 2;
-