Class Decorator.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Decorator.Builder> implements DecoratorOrBuilder
Protobuf typeenvoy.config.route.v3.Decorator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Decorator.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Decoratorbuild()DecoratorbuildPartial()Decorator.Builderclear()Decorator.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Decorator.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Decorator.BuilderclearOperation()The operation name associated with the request matched to this route.Decorator.BuilderclearPropagate()Whether the decorated details should be propagated to the other party.Decorator.Builderclone()DecoratorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetOperation()The operation name associated with the request matched to this route.com.google.protobuf.ByteStringgetOperationBytes()The operation name associated with the request matched to this route.com.google.protobuf.BoolValuegetPropagate()Whether the decorated details should be propagated to the other party.com.google.protobuf.BoolValue.BuildergetPropagateBuilder()Whether the decorated details should be propagated to the other party.com.google.protobuf.BoolValueOrBuildergetPropagateOrBuilder()Whether the decorated details should be propagated to the other party.booleanhasPropagate()Whether the decorated details should be propagated to the other party.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Decorator.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Decorator.BuildermergeFrom(com.google.protobuf.Message other)Decorator.BuildermergeFrom(Decorator other)Decorator.BuildermergePropagate(com.google.protobuf.BoolValue value)Whether the decorated details should be propagated to the other party.Decorator.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Decorator.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Decorator.BuildersetOperation(String value)The operation name associated with the request matched to this route.Decorator.BuildersetOperationBytes(com.google.protobuf.ByteString value)The operation name associated with the request matched to this route.Decorator.BuildersetPropagate(com.google.protobuf.BoolValue value)Whether the decorated details should be propagated to the other party.Decorator.BuildersetPropagate(com.google.protobuf.BoolValue.Builder builderForValue)Whether the decorated details should be propagated to the other party.Decorator.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Decorator.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
clear
public Decorator.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Decorator.Builder>
-
getDefaultInstanceForType
public Decorator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Decorator build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Decorator buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Decorator.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
setField
public Decorator.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
clearField
public Decorator.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
clearOneof
public Decorator.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
setRepeatedField
public Decorator.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
addRepeatedField
public Decorator.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
mergeFrom
public Decorator.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Decorator.Builder>
-
mergeFrom
public Decorator.Builder mergeFrom(Decorator other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
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
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:
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
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:
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
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:
getPropagateOrBuilderin interfaceDecoratorOrBuilder
-
setUnknownFields
public final Decorator.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
mergeUnknownFields
public final Decorator.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Decorator.Builder>
-
-