Class RouteMatch.TlsContextMatchOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
- io.envoyproxy.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteMatch.TlsContextMatchOptionsOrBuilder,java.lang.Cloneable
- Enclosing class:
- RouteMatch.TlsContextMatchOptions
public static final class RouteMatch.TlsContextMatchOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder> implements RouteMatch.TlsContextMatchOptionsOrBuilder
Protobuf typeenvoy.config.route.v3.RouteMatch.TlsContextMatchOptions
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private com.google.protobuf.BoolValuepresented_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>presentedBuilder_private com.google.protobuf.BoolValuevalidated_private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>validatedBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteMatch.TlsContextMatchOptionsbuild()RouteMatch.TlsContextMatchOptionsbuildPartial()private voidbuildPartial0(RouteMatch.TlsContextMatchOptions result)RouteMatch.TlsContextMatchOptions.Builderclear()RouteMatch.TlsContextMatchOptions.BuilderclearPresented()If specified, the route will match against whether or not a certificate is presented.RouteMatch.TlsContextMatchOptions.BuilderclearValidated()If specified, the route will match against whether or not a certificate is validated.RouteMatch.TlsContextMatchOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.BoolValuegetPresented()If specified, the route will match against whether or not a certificate is presented.com.google.protobuf.BoolValue.BuildergetPresentedBuilder()If specified, the route will match against whether or not a certificate is presented.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>getPresentedFieldBuilder()If specified, the route will match against whether or not a certificate is presented.com.google.protobuf.BoolValueOrBuildergetPresentedOrBuilder()If specified, the route will match against whether or not a certificate is presented.com.google.protobuf.BoolValuegetValidated()If specified, the route will match against whether or not a certificate is validated.com.google.protobuf.BoolValue.BuildergetValidatedBuilder()If specified, the route will match against whether or not a certificate is validated.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>getValidatedFieldBuilder()If specified, the route will match against whether or not a certificate is validated.com.google.protobuf.BoolValueOrBuildergetValidatedOrBuilder()If specified, the route will match against whether or not a certificate is validated.booleanhasPresented()If specified, the route will match against whether or not a certificate is presented.booleanhasValidated()If specified, the route will match against whether or not a certificate is validated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()private voidmaybeForceBuilderInitialization()RouteMatch.TlsContextMatchOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouteMatch.TlsContextMatchOptions.BuildermergeFrom(com.google.protobuf.Message other)RouteMatch.TlsContextMatchOptions.BuildermergeFrom(RouteMatch.TlsContextMatchOptions other)RouteMatch.TlsContextMatchOptions.BuildermergePresented(com.google.protobuf.BoolValue value)If specified, the route will match against whether or not a certificate is presented.RouteMatch.TlsContextMatchOptions.BuildermergeValidated(com.google.protobuf.BoolValue value)If specified, the route will match against whether or not a certificate is validated.RouteMatch.TlsContextMatchOptions.BuildersetPresented(com.google.protobuf.BoolValue value)If specified, the route will match against whether or not a certificate is presented.RouteMatch.TlsContextMatchOptions.BuildersetPresented(com.google.protobuf.BoolValue.Builder builderForValue)If specified, the route will match against whether or not a certificate is presented.RouteMatch.TlsContextMatchOptions.BuildersetValidated(com.google.protobuf.BoolValue value)If specified, the route will match against whether or not a certificate is validated.RouteMatch.TlsContextMatchOptions.BuildersetValidated(com.google.protobuf.BoolValue.Builder builderForValue)If specified, the route will match against whether or not a certificate is validated.-
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_
-
presented_
private com.google.protobuf.BoolValue presented_
-
presentedBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> presentedBuilder_
-
validated_
private com.google.protobuf.BoolValue validated_
-
validatedBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> validatedBuilder_
-
-
Method Detail
-
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<RouteMatch.TlsContextMatchOptions.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public RouteMatch.TlsContextMatchOptions.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RouteMatch.TlsContextMatchOptions.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<RouteMatch.TlsContextMatchOptions.Builder>
-
getDefaultInstanceForType
public RouteMatch.TlsContextMatchOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteMatch.TlsContextMatchOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteMatch.TlsContextMatchOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(RouteMatch.TlsContextMatchOptions result)
-
mergeFrom
public RouteMatch.TlsContextMatchOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
mergeFrom
public RouteMatch.TlsContextMatchOptions.Builder mergeFrom(RouteMatch.TlsContextMatchOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
mergeFrom
public RouteMatch.TlsContextMatchOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.TlsContextMatchOptions.Builder>- Throws:
java.io.IOException
-
hasPresented
public boolean hasPresented()
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;- Specified by:
hasPresentedin interfaceRouteMatch.TlsContextMatchOptionsOrBuilder- Returns:
- Whether the presented field is set.
-
getPresented
public com.google.protobuf.BoolValue getPresented()
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;- Specified by:
getPresentedin interfaceRouteMatch.TlsContextMatchOptionsOrBuilder- Returns:
- The presented.
-
setPresented
public RouteMatch.TlsContextMatchOptions.Builder setPresented(com.google.protobuf.BoolValue value)
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;
-
setPresented
public RouteMatch.TlsContextMatchOptions.Builder setPresented(com.google.protobuf.BoolValue.Builder builderForValue)
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;
-
mergePresented
public RouteMatch.TlsContextMatchOptions.Builder mergePresented(com.google.protobuf.BoolValue value)
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;
-
clearPresented
public RouteMatch.TlsContextMatchOptions.Builder clearPresented()
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;
-
getPresentedBuilder
public com.google.protobuf.BoolValue.Builder getPresentedBuilder()
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;
-
getPresentedOrBuilder
public com.google.protobuf.BoolValueOrBuilder getPresentedOrBuilder()
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;- Specified by:
getPresentedOrBuilderin interfaceRouteMatch.TlsContextMatchOptionsOrBuilder
-
getPresentedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getPresentedFieldBuilder()
If specified, the route will match against whether or not a certificate is presented. If not specified, certificate presentation status (true or false) will not be considered when route matching.
.google.protobuf.BoolValue presented = 1;
-
hasValidated
public boolean hasValidated()
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;- Specified by:
hasValidatedin interfaceRouteMatch.TlsContextMatchOptionsOrBuilder- Returns:
- Whether the validated field is set.
-
getValidated
public com.google.protobuf.BoolValue getValidated()
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;- Specified by:
getValidatedin interfaceRouteMatch.TlsContextMatchOptionsOrBuilder- Returns:
- The validated.
-
setValidated
public RouteMatch.TlsContextMatchOptions.Builder setValidated(com.google.protobuf.BoolValue value)
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;
-
setValidated
public RouteMatch.TlsContextMatchOptions.Builder setValidated(com.google.protobuf.BoolValue.Builder builderForValue)
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;
-
mergeValidated
public RouteMatch.TlsContextMatchOptions.Builder mergeValidated(com.google.protobuf.BoolValue value)
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;
-
clearValidated
public RouteMatch.TlsContextMatchOptions.Builder clearValidated()
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;
-
getValidatedBuilder
public com.google.protobuf.BoolValue.Builder getValidatedBuilder()
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;
-
getValidatedOrBuilder
public com.google.protobuf.BoolValueOrBuilder getValidatedOrBuilder()
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;- Specified by:
getValidatedOrBuilderin interfaceRouteMatch.TlsContextMatchOptionsOrBuilder
-
getValidatedFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getValidatedFieldBuilder()
If specified, the route will match against whether or not a certificate is validated. If not specified, certificate validation status (true or false) will not be considered when route matching. .. warning:: Client certificate validation is not currently performed upon TLS session resumption. For a resumed TLS session the route will match only when ``validated`` is false, regardless of whether the client TLS certificate is valid. The only known workaround for this issue is to disable TLS session resumption entirely, by setting both :ref:`disable_stateless_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateless_session_resumption>` and :ref:`disable_stateful_session_resumption <envoy_v3_api_field_extensions.transport_sockets.tls.v3.DownstreamTlsContext.disable_stateful_session_resumption>` on the DownstreamTlsContext.
.google.protobuf.BoolValue validated = 2;
-
-