Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/data/accesslog/v3/accesslog.proto
package io.envoyproxy.envoy.data.accesslog.v3;
/**
*
* Properties of a negotiated TLS connection.
* [#next-free-field: 8]
*
*
* Protobuf type {@code envoy.data.accesslog.v3.TLSProperties}
*/
public final class TLSProperties extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.data.accesslog.v3.TLSProperties)
TLSPropertiesOrBuilder {
private static final long serialVersionUID = 0L;
// Use TLSProperties.newBuilder() to construct.
private TLSProperties(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TLSProperties() {
tlsVersion_ = 0;
tlsSniHostname_ = "";
tlsSessionId_ = "";
ja3Fingerprint_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TLSProperties();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TLSProperties(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
tlsVersion_ = rawValue;
break;
}
case 18: {
com.google.protobuf.UInt32Value.Builder subBuilder = null;
if (tlsCipherSuite_ != null) {
subBuilder = tlsCipherSuite_.toBuilder();
}
tlsCipherSuite_ = input.readMessage(com.google.protobuf.UInt32Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(tlsCipherSuite_);
tlsCipherSuite_ = subBuilder.buildPartial();
}
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
tlsSniHostname_ = s;
break;
}
case 34: {
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder subBuilder = null;
if (localCertificateProperties_ != null) {
subBuilder = localCertificateProperties_.toBuilder();
}
localCertificateProperties_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(localCertificateProperties_);
localCertificateProperties_ = subBuilder.buildPartial();
}
break;
}
case 42: {
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder subBuilder = null;
if (peerCertificateProperties_ != null) {
subBuilder = peerCertificateProperties_.toBuilder();
}
peerCertificateProperties_ = input.readMessage(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(peerCertificateProperties_);
peerCertificateProperties_ = subBuilder.buildPartial();
}
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
tlsSessionId_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
ja3Fingerprint_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.class, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.Builder.class);
}
/**
* Protobuf enum {@code envoy.data.accesslog.v3.TLSProperties.TLSVersion}
*/
public enum TLSVersion
implements com.google.protobuf.ProtocolMessageEnum {
/**
* VERSION_UNSPECIFIED = 0;
*/
VERSION_UNSPECIFIED(0),
/**
* TLSv1 = 1;
*/
TLSv1(1),
/**
* TLSv1_1 = 2;
*/
TLSv1_1(2),
/**
* TLSv1_2 = 3;
*/
TLSv1_2(3),
/**
* TLSv1_3 = 4;
*/
TLSv1_3(4),
UNRECOGNIZED(-1),
;
/**
* VERSION_UNSPECIFIED = 0;
*/
public static final int VERSION_UNSPECIFIED_VALUE = 0;
/**
* TLSv1 = 1;
*/
public static final int TLSv1_VALUE = 1;
/**
* TLSv1_1 = 2;
*/
public static final int TLSv1_1_VALUE = 2;
/**
* TLSv1_2 = 3;
*/
public static final int TLSv1_2_VALUE = 3;
/**
* TLSv1_3 = 4;
*/
public static final int TLSv1_3_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TLSVersion valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TLSVersion forNumber(int value) {
switch (value) {
case 0: return VERSION_UNSPECIFIED;
case 1: return TLSv1;
case 2: return TLSv1_1;
case 3: return TLSv1_2;
case 4: return TLSv1_3;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TLSVersion> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TLSVersion findValueByNumber(int number) {
return TLSVersion.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.getDescriptor().getEnumTypes().get(0);
}
private static final TLSVersion[] VALUES = values();
public static TLSVersion valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private TLSVersion(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:envoy.data.accesslog.v3.TLSProperties.TLSVersion)
}
public interface CertificatePropertiesOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.data.accesslog.v3.TLSProperties.CertificateProperties)
com.google.protobuf.MessageOrBuilder {
/**
*
*
* string subject = 2;
* @return The bytes for subject.
*/
com.google.protobuf.ByteString
getSubjectBytes();
}
/**
* Protobuf type {@code envoy.data.accesslog.v3.TLSProperties.CertificateProperties}
*/
public static final class CertificateProperties extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.data.accesslog.v3.TLSProperties.CertificateProperties)
CertificatePropertiesOrBuilder {
private static final long serialVersionUID = 0L;
// Use CertificateProperties.newBuilder() to construct.
private CertificateProperties(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CertificateProperties() {
subjectAltName_ = java.util.Collections.emptyList();
subject_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CertificateProperties();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CertificateProperties(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
subjectAltName_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
subjectAltName_.add(
input.readMessage(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.parser(), extensionRegistry));
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
subject_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
subjectAltName_ = java.util.Collections.unmodifiableList(subjectAltName_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_CertificateProperties_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_CertificateProperties_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.class, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder.class);
}
public interface SubjectAltNameOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName)
com.google.protobuf.MessageOrBuilder {
/**
* string uri = 1;
* @return Whether the uri field is set.
*/
boolean hasUri();
/**
* string uri = 1;
* @return The uri.
*/
java.lang.String getUri();
/**
* string uri = 1;
* @return The bytes for uri.
*/
com.google.protobuf.ByteString
getUriBytes();
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return Whether the dns field is set.
*/
boolean hasDns();
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return The dns.
*/
java.lang.String getDns();
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return The bytes for dns.
*/
com.google.protobuf.ByteString
getDnsBytes();
public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.SanCase getSanCase();
}
/**
* Protobuf type {@code envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName}
*/
public static final class SubjectAltName extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName)
SubjectAltNameOrBuilder {
private static final long serialVersionUID = 0L;
// Use SubjectAltName.newBuilder() to construct.
private SubjectAltName(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SubjectAltName() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SubjectAltName();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SubjectAltName(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
sanCase_ = 1;
san_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
sanCase_ = 2;
san_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.class, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder.class);
}
private int sanCase_ = 0;
private java.lang.Object san_;
public enum SanCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
URI(1),
DNS(2),
SAN_NOT_SET(0);
private final int value;
private SanCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SanCase valueOf(int value) {
return forNumber(value);
}
public static SanCase forNumber(int value) {
switch (value) {
case 1: return URI;
case 2: return DNS;
case 0: return SAN_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public SanCase
getSanCase() {
return SanCase.forNumber(
sanCase_);
}
public static final int URI_FIELD_NUMBER = 1;
/**
* string uri = 1;
* @return Whether the uri field is set.
*/
public boolean hasUri() {
return sanCase_ == 1;
}
/**
* string uri = 1;
* @return The uri.
*/
public java.lang.String getUri() {
java.lang.Object ref = "";
if (sanCase_ == 1) {
ref = san_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (sanCase_ == 1) {
san_ = s;
}
return s;
}
}
/**
* string uri = 1;
* @return The bytes for uri.
*/
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = "";
if (sanCase_ == 1) {
ref = san_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (sanCase_ == 1) {
san_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DNS_FIELD_NUMBER = 2;
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return Whether the dns field is set.
*/
public boolean hasDns() {
return sanCase_ == 2;
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return The dns.
*/
public java.lang.String getDns() {
java.lang.Object ref = "";
if (sanCase_ == 2) {
ref = san_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (sanCase_ == 2) {
san_ = s;
}
return s;
}
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return The bytes for dns.
*/
public com.google.protobuf.ByteString
getDnsBytes() {
java.lang.Object ref = "";
if (sanCase_ == 2) {
ref = san_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (sanCase_ == 2) {
san_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sanCase_ == 1) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, san_);
}
if (sanCase_ == 2) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, san_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sanCase_ == 1) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, san_);
}
if (sanCase_ == 2) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, san_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName)) {
return super.equals(obj);
}
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName other = (io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName) obj;
if (!getSanCase().equals(other.getSanCase())) return false;
switch (sanCase_) {
case 1:
if (!getUri()
.equals(other.getUri())) return false;
break;
case 2:
if (!getDns()
.equals(other.getDns())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (sanCase_) {
case 1:
hash = (37 * hash) + URI_FIELD_NUMBER;
hash = (53 * hash) + getUri().hashCode();
break;
case 2:
hash = (37 * hash) + DNS_FIELD_NUMBER;
hash = (53 * hash) + getDns().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName)
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltNameOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.class, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder.class);
}
// Construct using io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sanCase_ = 0;
san_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.data.accesslog.v3.AccesslogProto.internal_static_envoy_data_accesslog_v3_TLSProperties_CertificateProperties_SubjectAltName_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName getDefaultInstanceForType() {
return io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName build() {
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName buildPartial() {
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName result = new io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName(this);
if (sanCase_ == 1) {
result.san_ = san_;
}
if (sanCase_ == 2) {
result.san_ = san_;
}
result.sanCase_ = sanCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName) {
return mergeFrom((io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName other) {
if (other == io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.getDefaultInstance()) return this;
switch (other.getSanCase()) {
case URI: {
sanCase_ = 1;
san_ = other.san_;
onChanged();
break;
}
case DNS: {
sanCase_ = 2;
san_ = other.san_;
onChanged();
break;
}
case SAN_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int sanCase_ = 0;
private java.lang.Object san_;
public SanCase
getSanCase() {
return SanCase.forNumber(
sanCase_);
}
public Builder clearSan() {
sanCase_ = 0;
san_ = null;
onChanged();
return this;
}
/**
* string uri = 1;
* @return Whether the uri field is set.
*/
@java.lang.Override
public boolean hasUri() {
return sanCase_ == 1;
}
/**
* string uri = 1;
* @return The uri.
*/
@java.lang.Override
public java.lang.String getUri() {
java.lang.Object ref = "";
if (sanCase_ == 1) {
ref = san_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (sanCase_ == 1) {
san_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string uri = 1;
* @return The bytes for uri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUriBytes() {
java.lang.Object ref = "";
if (sanCase_ == 1) {
ref = san_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (sanCase_ == 1) {
san_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string uri = 1;
* @param value The uri to set.
* @return This builder for chaining.
*/
public Builder setUri(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sanCase_ = 1;
san_ = value;
onChanged();
return this;
}
/**
* string uri = 1;
* @return This builder for chaining.
*/
public Builder clearUri() {
if (sanCase_ == 1) {
sanCase_ = 0;
san_ = null;
onChanged();
}
return this;
}
/**
* string uri = 1;
* @param value The bytes for uri to set.
* @return This builder for chaining.
*/
public Builder setUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sanCase_ = 1;
san_ = value;
onChanged();
return this;
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return Whether the dns field is set.
*/
@java.lang.Override
public boolean hasDns() {
return sanCase_ == 2;
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return The dns.
*/
@java.lang.Override
public java.lang.String getDns() {
java.lang.Object ref = "";
if (sanCase_ == 2) {
ref = san_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (sanCase_ == 2) {
san_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return The bytes for dns.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDnsBytes() {
java.lang.Object ref = "";
if (sanCase_ == 2) {
ref = san_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (sanCase_ == 2) {
san_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @param value The dns to set.
* @return This builder for chaining.
*/
public Builder setDns(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sanCase_ = 2;
san_ = value;
onChanged();
return this;
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @return This builder for chaining.
*/
public Builder clearDns() {
if (sanCase_ == 2) {
sanCase_ = 0;
san_ = null;
onChanged();
}
return this;
}
/**
*
* [#not-implemented-hide:]
*
*
* string dns = 2;
* @param value The bytes for dns to set.
* @return This builder for chaining.
*/
public Builder setDnsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sanCase_ = 2;
san_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName)
}
// @@protoc_insertion_point(class_scope:envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName)
private static final io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName();
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SubjectAltName parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SubjectAltName(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int SUBJECT_ALT_NAME_FIELD_NUMBER = 1;
private java.util.List subjectAltName_;
/**
*
*
* string subject = 2;
* @return The bytes for subject.
*/
public com.google.protobuf.ByteString
getSubjectBytes() {
java.lang.Object ref = subject_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subject_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The subject field of the certificate.
*
*
* string subject = 2;
* @param value The subject to set.
* @return This builder for chaining.
*/
public Builder setSubject(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subject_ = value;
onChanged();
return this;
}
/**
*
* The subject field of the certificate.
*
*
* string subject = 2;
* @return This builder for chaining.
*/
public Builder clearSubject() {
subject_ = getDefaultInstance().getSubject();
onChanged();
return this;
}
/**
*
* The subject field of the certificate.
*
*
* string subject = 2;
* @param value The bytes for subject to set.
* @return This builder for chaining.
*/
public Builder setSubjectBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
subject_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.data.accesslog.v3.TLSProperties.CertificateProperties)
}
// @@protoc_insertion_point(class_scope:envoy.data.accesslog.v3.TLSProperties.CertificateProperties)
private static final io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties();
}
public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CertificateProperties parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CertificateProperties(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int TLS_VERSION_FIELD_NUMBER = 1;
private int tlsVersion_;
/**
*
* Version of TLS that was negotiated.
*
*
* .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
* @return The enum numeric value on the wire for tlsVersion.
*/
@java.lang.Override public int getTlsVersionValue() {
return tlsVersion_;
}
/**
*
* Version of TLS that was negotiated.
*
*
* .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
* @return The tlsVersion.
*/
@java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion getTlsVersion() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion result = io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion.valueOf(tlsVersion_);
return result == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion.UNRECOGNIZED : result;
}
public static final int TLS_CIPHER_SUITE_FIELD_NUMBER = 2;
private com.google.protobuf.UInt32Value tlsCipherSuite_;
/**
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
*
* .google.protobuf.UInt32Value tls_cipher_suite = 2;
* @return Whether the tlsCipherSuite field is set.
*/
@java.lang.Override
public boolean hasTlsCipherSuite() {
return tlsCipherSuite_ != null;
}
/**
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
*
* .google.protobuf.UInt32Value tls_cipher_suite = 2;
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getTlsCipherSuiteOrBuilder() {
return getTlsCipherSuite();
}
public static final int TLS_SNI_HOSTNAME_FIELD_NUMBER = 3;
private volatile java.lang.Object tlsSniHostname_;
/**
*
*
* .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
* @return The enum numeric value on the wire for tlsVersion.
*/
@java.lang.Override public int getTlsVersionValue() {
return tlsVersion_;
}
/**
*
* Version of TLS that was negotiated.
*
*
* .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
* @param value The enum numeric value on the wire for tlsVersion to set.
* @return This builder for chaining.
*/
public Builder setTlsVersionValue(int value) {
tlsVersion_ = value;
onChanged();
return this;
}
/**
*
* Version of TLS that was negotiated.
*
*
* .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
* @return The tlsVersion.
*/
@java.lang.Override
public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion getTlsVersion() {
@SuppressWarnings("deprecation")
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion result = io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion.valueOf(tlsVersion_);
return result == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion.UNRECOGNIZED : result;
}
/**
*
* Version of TLS that was negotiated.
*
*
* .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
* @param value The tlsVersion to set.
* @return This builder for chaining.
*/
public Builder setTlsVersion(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion value) {
if (value == null) {
throw new NullPointerException();
}
tlsVersion_ = value.getNumber();
onChanged();
return this;
}
/**
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
*
* .google.protobuf.UInt32Value tls_cipher_suite = 2;
* @return Whether the tlsCipherSuite field is set.
*/
public boolean hasTlsCipherSuite() {
return tlsCipherSuiteBuilder_ != null || tlsCipherSuite_ != null;
}
/**
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
*
* .google.protobuf.UInt32Value tls_cipher_suite = 2;
*/
public Builder setTlsCipherSuite(com.google.protobuf.UInt32Value value) {
if (tlsCipherSuiteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tlsCipherSuite_ = value;
onChanged();
} else {
tlsCipherSuiteBuilder_.setMessage(value);
}
return this;
}
/**
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*
* TLS cipher suite negotiated during handshake. The value is a
* four-digit hex code defined by the IANA TLS Cipher Suite Registry
* (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``).
* Here it is expressed as an integer.
*