Class HttpConnectionManager.SetCurrentClientCertDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
com.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.SetCurrentClientCertDetails.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
,Cloneable
- Enclosing class:
HttpConnectionManager.SetCurrentClientCertDetails
public static final class HttpConnectionManager.SetCurrentClientCertDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
implements HttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
[#next-free-field: 7]Protobuf type
envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.SetCurrentClientCertDetails
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private boolean
private boolean
private boolean
private com.google.protobuf.BoolValue
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
clear()
Whether to forward the entire client cert in URL encoded PEM format.Whether to forward the entire client cert chain (including the leaf cert) in URL encoded PEM format.clearDns()
Whether to forward the DNS type Subject Alternative Names of the client cert.Whether to forward the subject of the client cert.clearUri()
Whether to forward the URI type Subject Alternative Name of the client cert.boolean
getCert()
Whether to forward the entire client cert in URL encoded PEM format.boolean
getChain()
Whether to forward the entire client cert chain (including the leaf cert) in URL encoded PEM format.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
getDns()
Whether to forward the DNS type Subject Alternative Names of the client cert.com.google.protobuf.BoolValue
Whether to forward the subject of the client cert.com.google.protobuf.BoolValue.Builder
Whether to forward the subject of the client cert.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> Whether to forward the subject of the client cert.com.google.protobuf.BoolValueOrBuilder
Whether to forward the subject of the client cert.boolean
getUri()
Whether to forward the URI type Subject Alternative Name of the client cert.boolean
Whether to forward the subject of the client cert.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeSubject
(com.google.protobuf.BoolValue value) Whether to forward the subject of the client cert.setCert
(boolean value) Whether to forward the entire client cert in URL encoded PEM format.setChain
(boolean value) Whether to forward the entire client cert chain (including the leaf cert) in URL encoded PEM format.setDns
(boolean value) Whether to forward the DNS type Subject Alternative Names of the client cert.setSubject
(com.google.protobuf.BoolValue value) Whether to forward the subject of the client cert.setSubject
(com.google.protobuf.BoolValue.Builder builderForValue) Whether to forward the subject of the client cert.setUri
(boolean value) Whether to forward the URI type Subject Alternative Name of the client cert.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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
subject_
private com.google.protobuf.BoolValue subject_ -
subjectBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, subjectBuilder_com.google.protobuf.BoolValueOrBuilder> -
cert_
private boolean cert_ -
chain_
private boolean chain_ -
dns_
private boolean dns_ -
uri_
private boolean uri_
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
public HttpConnectionManager.SetCurrentClientCertDetails.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
-
mergeFrom
public HttpConnectionManager.SetCurrentClientCertDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpConnectionManager.SetCurrentClientCertDetails.Builder>
- Throws:
IOException
-
hasSubject
public boolean hasSubject()Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
- Specified by:
hasSubject
in interfaceHttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
- Returns:
- Whether the subject field is set.
-
getSubject
public com.google.protobuf.BoolValue getSubject()Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
- Specified by:
getSubject
in interfaceHttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
- Returns:
- The subject.
-
setSubject
public HttpConnectionManager.SetCurrentClientCertDetails.Builder setSubject(com.google.protobuf.BoolValue value) Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
-
setSubject
public HttpConnectionManager.SetCurrentClientCertDetails.Builder setSubject(com.google.protobuf.BoolValue.Builder builderForValue) Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
-
mergeSubject
public HttpConnectionManager.SetCurrentClientCertDetails.Builder mergeSubject(com.google.protobuf.BoolValue value) Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
-
clearSubject
Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
-
getSubjectBuilder
public com.google.protobuf.BoolValue.Builder getSubjectBuilder()Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
-
getSubjectOrBuilder
public com.google.protobuf.BoolValueOrBuilder getSubjectOrBuilder()Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
- Specified by:
getSubjectOrBuilder
in interfaceHttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
-
getSubjectFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, getSubjectFieldBuilder()com.google.protobuf.BoolValueOrBuilder> Whether to forward the subject of the client cert. Defaults to false.
.google.protobuf.BoolValue subject = 1;
-
getCert
public boolean getCert()Whether to forward the entire client cert in URL encoded PEM format. This will appear in the XFCC header comma separated from other values with the value Cert="PEM". Defaults to false.
bool cert = 3;
- Specified by:
getCert
in interfaceHttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
- Returns:
- The cert.
-
setCert
Whether to forward the entire client cert in URL encoded PEM format. This will appear in the XFCC header comma separated from other values with the value Cert="PEM". Defaults to false.
bool cert = 3;
- Parameters:
value
- The cert to set.- Returns:
- This builder for chaining.
-
clearCert
Whether to forward the entire client cert in URL encoded PEM format. This will appear in the XFCC header comma separated from other values with the value Cert="PEM". Defaults to false.
bool cert = 3;
- Returns:
- This builder for chaining.
-
getChain
public boolean getChain()Whether to forward the entire client cert chain (including the leaf cert) in URL encoded PEM format. This will appear in the XFCC header comma separated from other values with the value Chain="PEM". Defaults to false.
bool chain = 6;
- Specified by:
getChain
in interfaceHttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
- Returns:
- The chain.
-
setChain
Whether to forward the entire client cert chain (including the leaf cert) in URL encoded PEM format. This will appear in the XFCC header comma separated from other values with the value Chain="PEM". Defaults to false.
bool chain = 6;
- Parameters:
value
- The chain to set.- Returns:
- This builder for chaining.
-
clearChain
Whether to forward the entire client cert chain (including the leaf cert) in URL encoded PEM format. This will appear in the XFCC header comma separated from other values with the value Chain="PEM". Defaults to false.
bool chain = 6;
- Returns:
- This builder for chaining.
-
getDns
public boolean getDns()Whether to forward the DNS type Subject Alternative Names of the client cert. Defaults to false.
bool dns = 4;
- Specified by:
getDns
in interfaceHttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
- Returns:
- The dns.
-
setDns
Whether to forward the DNS type Subject Alternative Names of the client cert. Defaults to false.
bool dns = 4;
- Parameters:
value
- The dns to set.- Returns:
- This builder for chaining.
-
clearDns
Whether to forward the DNS type Subject Alternative Names of the client cert. Defaults to false.
bool dns = 4;
- Returns:
- This builder for chaining.
-
getUri
public boolean getUri()Whether to forward the URI type Subject Alternative Name of the client cert. Defaults to false.
bool uri = 5;
- Specified by:
getUri
in interfaceHttpConnectionManager.SetCurrentClientCertDetailsOrBuilder
- Returns:
- The uri.
-
setUri
Whether to forward the URI type Subject Alternative Name of the client cert. Defaults to false.
bool uri = 5;
- Parameters:
value
- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
Whether to forward the URI type Subject Alternative Name of the client cert. Defaults to false.
bool uri = 5;
- Returns:
- This builder for chaining.
-