Class RouteAction.UpgradeConfig.ConnectConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RouteAction.UpgradeConfig.ConnectConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<RouteAction.UpgradeConfig.ConnectConfig.Builder>
io.envoyproxy.envoy.config.route.v3.RouteAction.UpgradeConfig.ConnectConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteAction.UpgradeConfig.ConnectConfigOrBuilder,Cloneable
- Enclosing class:
RouteAction.UpgradeConfig.ConnectConfig
public static final class RouteAction.UpgradeConfig.ConnectConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouteAction.UpgradeConfig.ConnectConfig.Builder>
implements RouteAction.UpgradeConfig.ConnectConfigOrBuilder
Configuration for sending data upstream as a raw data payload. This is used for CONNECT or POST requests, when forwarding request payload as raw TCP.Protobuf type
envoy.config.route.v3.RouteAction.UpgradeConfig.ConnectConfig-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate ProxyProtocolConfigprivate com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig, ProxyProtocolConfig.Builder, ProxyProtocolConfigOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidclear()If set, the route will also allow forwarding POST payload as raw TCP.If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.booleanIf set, the route will also allow forwarding POST payload as raw TCP.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.booleanIf present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig, ProxyProtocolConfig.Builder, ProxyProtocolConfigOrBuilder> If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.final booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.setAllowPost(boolean value) If set, the route will also allow forwarding POST payload as raw TCP.If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.setProxyProtocolConfig(ProxyProtocolConfig.Builder builderForValue) If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.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_ -
proxyProtocolConfig_
-
proxyProtocolConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder, proxyProtocolConfigBuilder_ProxyProtocolConfigOrBuilder> -
allowPost_
private boolean allowPost_
-
-
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<RouteAction.UpgradeConfig.ConnectConfig.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<RouteAction.UpgradeConfig.ConnectConfig.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<RouteAction.UpgradeConfig.ConnectConfig.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<RouteAction.UpgradeConfig.ConnectConfig.Builder>
-
mergeFrom
public RouteAction.UpgradeConfig.ConnectConfig.Builder mergeFrom(RouteAction.UpgradeConfig.ConnectConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouteAction.UpgradeConfig.ConnectConfig.Builder>
-
mergeFrom
public RouteAction.UpgradeConfig.ConnectConfig.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<RouteAction.UpgradeConfig.ConnectConfig.Builder>- Throws:
IOException
-
hasProxyProtocolConfig
public boolean hasProxyProtocolConfig()If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1;- Specified by:
hasProxyProtocolConfigin interfaceRouteAction.UpgradeConfig.ConnectConfigOrBuilder- Returns:
- Whether the proxyProtocolConfig field is set.
-
getProxyProtocolConfig
If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1;- Specified by:
getProxyProtocolConfigin interfaceRouteAction.UpgradeConfig.ConnectConfigOrBuilder- Returns:
- The proxyProtocolConfig.
-
setProxyProtocolConfig
public RouteAction.UpgradeConfig.ConnectConfig.Builder setProxyProtocolConfig(ProxyProtocolConfig value) If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1; -
setProxyProtocolConfig
public RouteAction.UpgradeConfig.ConnectConfig.Builder setProxyProtocolConfig(ProxyProtocolConfig.Builder builderForValue) If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1; -
mergeProxyProtocolConfig
public RouteAction.UpgradeConfig.ConnectConfig.Builder mergeProxyProtocolConfig(ProxyProtocolConfig value) If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1; -
clearProxyProtocolConfig
If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1; -
getProxyProtocolConfigBuilder
If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1; -
getProxyProtocolConfigOrBuilder
If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1;- Specified by:
getProxyProtocolConfigOrBuilderin interfaceRouteAction.UpgradeConfig.ConnectConfigOrBuilder
-
internalGetProxyProtocolConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<ProxyProtocolConfig,ProxyProtocolConfig.Builder, internalGetProxyProtocolConfigFieldBuilder()ProxyProtocolConfigOrBuilder> If present, the proxy protocol header will be prepended to the CONNECT payload sent upstream.
.envoy.config.core.v3.ProxyProtocolConfig proxy_protocol_config = 1; -
getAllowPost
public boolean getAllowPost()If set, the route will also allow forwarding POST payload as raw TCP.
bool allow_post = 2;- Specified by:
getAllowPostin interfaceRouteAction.UpgradeConfig.ConnectConfigOrBuilder- Returns:
- The allowPost.
-
setAllowPost
If set, the route will also allow forwarding POST payload as raw TCP.
bool allow_post = 2;- Parameters:
value- The allowPost to set.- Returns:
- This builder for chaining.
-
clearAllowPost
If set, the route will also allow forwarding POST payload as raw TCP.
bool allow_post = 2;- Returns:
- This builder for chaining.
-