Class RouteMatch.TlsContextMatchOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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,Cloneable
- Enclosing class:
- RouteMatch.TlsContextMatchOptions
public static final class RouteMatch.TlsContextMatchOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.TlsContextMatchOptions.Builder> implements RouteMatch.TlsContextMatchOptionsOrBuilder
Protobuf typeenvoy.config.route.v3.RouteMatch.TlsContextMatchOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteMatch.TlsContextMatchOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteMatch.TlsContextMatchOptionsbuild()RouteMatch.TlsContextMatchOptionsbuildPartial()RouteMatch.TlsContextMatchOptions.Builderclear()RouteMatch.TlsContextMatchOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouteMatch.TlsContextMatchOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)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.TlsContextMatchOptions.Builderclone()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.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.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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()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.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouteMatch.TlsContextMatchOptions.BuildermergeValidated(com.google.protobuf.BoolValue value)If specified, the route will match against whether or not a certificate is validated.RouteMatch.TlsContextMatchOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouteMatch.TlsContextMatchOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)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.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<RouteMatch.TlsContextMatchOptions.Builder>
-
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.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
public RouteMatch.TlsContextMatchOptions.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<RouteMatch.TlsContextMatchOptions.Builder>
-
setField
public RouteMatch.TlsContextMatchOptions.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<RouteMatch.TlsContextMatchOptions.Builder>
-
clearField
public RouteMatch.TlsContextMatchOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
clearOneof
public RouteMatch.TlsContextMatchOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
setRepeatedField
public RouteMatch.TlsContextMatchOptions.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<RouteMatch.TlsContextMatchOptions.Builder>
-
addRepeatedField
public RouteMatch.TlsContextMatchOptions.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<RouteMatch.TlsContextMatchOptions.Builder>
-
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.GeneratedMessageV3.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
mergeFrom
public RouteMatch.TlsContextMatchOptions.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<RouteMatch.TlsContextMatchOptions.Builder>- Throws:
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
-
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.
.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.
.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.
.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.
.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.
.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.
.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.
.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.
.google.protobuf.BoolValue validated = 2;- Specified by:
getValidatedOrBuilderin interfaceRouteMatch.TlsContextMatchOptionsOrBuilder
-
setUnknownFields
public final RouteMatch.TlsContextMatchOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
mergeUnknownFields
public final RouteMatch.TlsContextMatchOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.TlsContextMatchOptions.Builder>
-
-