All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.data.accesslog.v3.TLSProperties Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// 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 { /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ java.util.List getSubjectAltNameList(); /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName getSubjectAltName(int index); /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ int getSubjectAltNameCount(); /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ java.util.List getSubjectAltNameOrBuilderList(); /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltNameOrBuilder getSubjectAltNameOrBuilder( int index); /** *
     * The subject field of the certificate.
     * 
* * string subject = 2; * @return The subject. */ java.lang.String getSubject(); /** *
     * The subject field of the certificate.
     * 
* * 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_; /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ @java.lang.Override public java.util.List getSubjectAltNameList() { return subjectAltName_; } /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ @java.lang.Override public java.util.List getSubjectAltNameOrBuilderList() { return subjectAltName_; } /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ @java.lang.Override public int getSubjectAltNameCount() { return subjectAltName_.size(); } /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName getSubjectAltName(int index) { return subjectAltName_.get(index); } /** *
     * SANs present in the certificate.
     * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltNameOrBuilder getSubjectAltNameOrBuilder( int index) { return subjectAltName_.get(index); } public static final int SUBJECT_FIELD_NUMBER = 2; private volatile java.lang.Object subject_; /** *
     * The subject field of the certificate.
     * 
* * string subject = 2; * @return The subject. */ @java.lang.Override public java.lang.String getSubject() { java.lang.Object ref = subject_; 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(); subject_ = s; return s; } } /** *
     * The subject field of the certificate.
     * 
* * string subject = 2; * @return The bytes for subject. */ @java.lang.Override public com.google.protobuf.ByteString getSubjectBytes() { java.lang.Object ref = subject_; if (ref instanceof java.lang.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; } } 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 { for (int i = 0; i < subjectAltName_.size(); i++) { output.writeMessage(1, subjectAltName_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subject_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < subjectAltName_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, subjectAltName_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subject_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subject_); } 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)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties other = (io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties) obj; if (!getSubjectAltNameList() .equals(other.getSubjectAltNameList())) return false; if (!getSubject() .equals(other.getSubject())) return false; 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(); if (getSubjectAltNameCount() > 0) { hash = (37 * hash) + SUBJECT_ALT_NAME_FIELD_NUMBER; hash = (53 * hash) + getSubjectAltNameList().hashCode(); } hash = (37 * hash) + SUBJECT_FIELD_NUMBER; hash = (53 * hash) + getSubject().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties 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 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 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties 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 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 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 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 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 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 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 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} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v3.TLSProperties.CertificateProperties) io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder { 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); } // Construct using io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSubjectAltNameFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (subjectAltNameBuilder_ == null) { subjectAltName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { subjectAltNameBuilder_.clear(); } subject_ = ""; 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_descriptor; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties build() { io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties buildPartial() { io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties result = new io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties(this); int from_bitField0_ = bitField0_; if (subjectAltNameBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { subjectAltName_ = java.util.Collections.unmodifiableList(subjectAltName_); bitField0_ = (bitField0_ & ~0x00000001); } result.subjectAltName_ = subjectAltName_; } else { result.subjectAltName_ = subjectAltNameBuilder_.build(); } result.subject_ = subject_; 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) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties other) { if (other == io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance()) return this; if (subjectAltNameBuilder_ == null) { if (!other.subjectAltName_.isEmpty()) { if (subjectAltName_.isEmpty()) { subjectAltName_ = other.subjectAltName_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSubjectAltNameIsMutable(); subjectAltName_.addAll(other.subjectAltName_); } onChanged(); } } else { if (!other.subjectAltName_.isEmpty()) { if (subjectAltNameBuilder_.isEmpty()) { subjectAltNameBuilder_.dispose(); subjectAltNameBuilder_ = null; subjectAltName_ = other.subjectAltName_; bitField0_ = (bitField0_ & ~0x00000001); subjectAltNameBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubjectAltNameFieldBuilder() : null; } else { subjectAltNameBuilder_.addAllMessages(other.subjectAltName_); } } } if (!other.getSubject().isEmpty()) { subject_ = other.subject_; onChanged(); } 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 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List subjectAltName_ = java.util.Collections.emptyList(); private void ensureSubjectAltNameIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { subjectAltName_ = new java.util.ArrayList(subjectAltName_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltNameOrBuilder> subjectAltNameBuilder_; /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public java.util.List getSubjectAltNameList() { if (subjectAltNameBuilder_ == null) { return java.util.Collections.unmodifiableList(subjectAltName_); } else { return subjectAltNameBuilder_.getMessageList(); } } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public int getSubjectAltNameCount() { if (subjectAltNameBuilder_ == null) { return subjectAltName_.size(); } else { return subjectAltNameBuilder_.getCount(); } } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName getSubjectAltName(int index) { if (subjectAltNameBuilder_ == null) { return subjectAltName_.get(index); } else { return subjectAltNameBuilder_.getMessage(index); } } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder setSubjectAltName( int index, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName value) { if (subjectAltNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubjectAltNameIsMutable(); subjectAltName_.set(index, value); onChanged(); } else { subjectAltNameBuilder_.setMessage(index, value); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder setSubjectAltName( int index, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder builderForValue) { if (subjectAltNameBuilder_ == null) { ensureSubjectAltNameIsMutable(); subjectAltName_.set(index, builderForValue.build()); onChanged(); } else { subjectAltNameBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder addSubjectAltName(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName value) { if (subjectAltNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubjectAltNameIsMutable(); subjectAltName_.add(value); onChanged(); } else { subjectAltNameBuilder_.addMessage(value); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder addSubjectAltName( int index, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName value) { if (subjectAltNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubjectAltNameIsMutable(); subjectAltName_.add(index, value); onChanged(); } else { subjectAltNameBuilder_.addMessage(index, value); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder addSubjectAltName( io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder builderForValue) { if (subjectAltNameBuilder_ == null) { ensureSubjectAltNameIsMutable(); subjectAltName_.add(builderForValue.build()); onChanged(); } else { subjectAltNameBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder addSubjectAltName( int index, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder builderForValue) { if (subjectAltNameBuilder_ == null) { ensureSubjectAltNameIsMutable(); subjectAltName_.add(index, builderForValue.build()); onChanged(); } else { subjectAltNameBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder addAllSubjectAltName( java.lang.Iterable values) { if (subjectAltNameBuilder_ == null) { ensureSubjectAltNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subjectAltName_); onChanged(); } else { subjectAltNameBuilder_.addAllMessages(values); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder clearSubjectAltName() { if (subjectAltNameBuilder_ == null) { subjectAltName_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { subjectAltNameBuilder_.clear(); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public Builder removeSubjectAltName(int index) { if (subjectAltNameBuilder_ == null) { ensureSubjectAltNameIsMutable(); subjectAltName_.remove(index); onChanged(); } else { subjectAltNameBuilder_.remove(index); } return this; } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder getSubjectAltNameBuilder( int index) { return getSubjectAltNameFieldBuilder().getBuilder(index); } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltNameOrBuilder getSubjectAltNameOrBuilder( int index) { if (subjectAltNameBuilder_ == null) { return subjectAltName_.get(index); } else { return subjectAltNameBuilder_.getMessageOrBuilder(index); } } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public java.util.List getSubjectAltNameOrBuilderList() { if (subjectAltNameBuilder_ != null) { return subjectAltNameBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subjectAltName_); } } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder addSubjectAltNameBuilder() { return getSubjectAltNameFieldBuilder().addBuilder( io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.getDefaultInstance()); } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder addSubjectAltNameBuilder( int index) { return getSubjectAltNameFieldBuilder().addBuilder( index, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.getDefaultInstance()); } /** *
       * SANs present in the certificate.
       * 
* * repeated .envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName subject_alt_name = 1; */ public java.util.List getSubjectAltNameBuilderList() { return getSubjectAltNameFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltNameOrBuilder> getSubjectAltNameFieldBuilder() { if (subjectAltNameBuilder_ == null) { subjectAltNameBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltName.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.SubjectAltNameOrBuilder>( subjectAltName_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); subjectAltName_ = null; } return subjectAltNameBuilder_; } private java.lang.Object subject_ = ""; /** *
       * The subject field of the certificate.
       * 
* * string subject = 2; * @return The subject. */ public java.lang.String getSubject() { java.lang.Object ref = subject_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subject_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The subject field of the certificate.
       * 
* * 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.
   * 
* * .google.protobuf.UInt32Value tls_cipher_suite = 2; * @return The tlsCipherSuite. */ @java.lang.Override public com.google.protobuf.UInt32Value getTlsCipherSuite() { return tlsCipherSuite_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : 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; */ @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_; /** *
   * SNI hostname from handshake.
   * 
* * string tls_sni_hostname = 3; * @return The tlsSniHostname. */ @java.lang.Override public java.lang.String getTlsSniHostname() { java.lang.Object ref = tlsSniHostname_; 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(); tlsSniHostname_ = s; return s; } } /** *
   * SNI hostname from handshake.
   * 
* * string tls_sni_hostname = 3; * @return The bytes for tlsSniHostname. */ @java.lang.Override public com.google.protobuf.ByteString getTlsSniHostnameBytes() { java.lang.Object ref = tlsSniHostname_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tlsSniHostname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCAL_CERTIFICATE_PROPERTIES_FIELD_NUMBER = 4; private io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties localCertificateProperties_; /** *
   * Properties of the local certificate used to negotiate TLS.
   * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; * @return Whether the localCertificateProperties field is set. */ @java.lang.Override public boolean hasLocalCertificateProperties() { return localCertificateProperties_ != null; } /** *
   * Properties of the local certificate used to negotiate TLS.
   * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; * @return The localCertificateProperties. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties getLocalCertificateProperties() { return localCertificateProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance() : localCertificateProperties_; } /** *
   * Properties of the local certificate used to negotiate TLS.
   * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder getLocalCertificatePropertiesOrBuilder() { return getLocalCertificateProperties(); } public static final int PEER_CERTIFICATE_PROPERTIES_FIELD_NUMBER = 5; private io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peerCertificateProperties_; /** *
   * Properties of the peer certificate used to negotiate TLS.
   * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; * @return Whether the peerCertificateProperties field is set. */ @java.lang.Override public boolean hasPeerCertificateProperties() { return peerCertificateProperties_ != null; } /** *
   * Properties of the peer certificate used to negotiate TLS.
   * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; * @return The peerCertificateProperties. */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties getPeerCertificateProperties() { return peerCertificateProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance() : peerCertificateProperties_; } /** *
   * Properties of the peer certificate used to negotiate TLS.
   * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder getPeerCertificatePropertiesOrBuilder() { return getPeerCertificateProperties(); } public static final int TLS_SESSION_ID_FIELD_NUMBER = 6; private volatile java.lang.Object tlsSessionId_; /** *
   * The TLS session ID.
   * 
* * string tls_session_id = 6; * @return The tlsSessionId. */ @java.lang.Override public java.lang.String getTlsSessionId() { java.lang.Object ref = tlsSessionId_; 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(); tlsSessionId_ = s; return s; } } /** *
   * The TLS session ID.
   * 
* * string tls_session_id = 6; * @return The bytes for tlsSessionId. */ @java.lang.Override public com.google.protobuf.ByteString getTlsSessionIdBytes() { java.lang.Object ref = tlsSessionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tlsSessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JA3_FINGERPRINT_FIELD_NUMBER = 7; private volatile java.lang.Object ja3Fingerprint_; /** *
   * The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
   * 
* * string ja3_fingerprint = 7; * @return The ja3Fingerprint. */ @java.lang.Override public java.lang.String getJa3Fingerprint() { java.lang.Object ref = ja3Fingerprint_; 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(); ja3Fingerprint_ = s; return s; } } /** *
   * The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
   * 
* * string ja3_fingerprint = 7; * @return The bytes for ja3Fingerprint. */ @java.lang.Override public com.google.protobuf.ByteString getJa3FingerprintBytes() { java.lang.Object ref = ja3Fingerprint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ja3Fingerprint_ = 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 (tlsVersion_ != io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion.VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(1, tlsVersion_); } if (tlsCipherSuite_ != null) { output.writeMessage(2, getTlsCipherSuite()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tlsSniHostname_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tlsSniHostname_); } if (localCertificateProperties_ != null) { output.writeMessage(4, getLocalCertificateProperties()); } if (peerCertificateProperties_ != null) { output.writeMessage(5, getPeerCertificateProperties()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tlsSessionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, tlsSessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ja3Fingerprint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ja3Fingerprint_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tlsVersion_ != io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.TLSVersion.VERSION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, tlsVersion_); } if (tlsCipherSuite_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTlsCipherSuite()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tlsSniHostname_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tlsSniHostname_); } if (localCertificateProperties_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getLocalCertificateProperties()); } if (peerCertificateProperties_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getPeerCertificateProperties()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tlsSessionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, tlsSessionId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ja3Fingerprint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ja3Fingerprint_); } 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)) { return super.equals(obj); } io.envoyproxy.envoy.data.accesslog.v3.TLSProperties other = (io.envoyproxy.envoy.data.accesslog.v3.TLSProperties) obj; if (tlsVersion_ != other.tlsVersion_) return false; if (hasTlsCipherSuite() != other.hasTlsCipherSuite()) return false; if (hasTlsCipherSuite()) { if (!getTlsCipherSuite() .equals(other.getTlsCipherSuite())) return false; } if (!getTlsSniHostname() .equals(other.getTlsSniHostname())) return false; if (hasLocalCertificateProperties() != other.hasLocalCertificateProperties()) return false; if (hasLocalCertificateProperties()) { if (!getLocalCertificateProperties() .equals(other.getLocalCertificateProperties())) return false; } if (hasPeerCertificateProperties() != other.hasPeerCertificateProperties()) return false; if (hasPeerCertificateProperties()) { if (!getPeerCertificateProperties() .equals(other.getPeerCertificateProperties())) return false; } if (!getTlsSessionId() .equals(other.getTlsSessionId())) return false; if (!getJa3Fingerprint() .equals(other.getJa3Fingerprint())) return false; 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(); hash = (37 * hash) + TLS_VERSION_FIELD_NUMBER; hash = (53 * hash) + tlsVersion_; if (hasTlsCipherSuite()) { hash = (37 * hash) + TLS_CIPHER_SUITE_FIELD_NUMBER; hash = (53 * hash) + getTlsCipherSuite().hashCode(); } hash = (37 * hash) + TLS_SNI_HOSTNAME_FIELD_NUMBER; hash = (53 * hash) + getTlsSniHostname().hashCode(); if (hasLocalCertificateProperties()) { hash = (37 * hash) + LOCAL_CERTIFICATE_PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getLocalCertificateProperties().hashCode(); } if (hasPeerCertificateProperties()) { hash = (37 * hash) + PEER_CERTIFICATE_PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + getPeerCertificateProperties().hashCode(); } hash = (37 * hash) + TLS_SESSION_ID_FIELD_NUMBER; hash = (53 * hash) + getTlsSessionId().hashCode(); hash = (37 * hash) + JA3_FINGERPRINT_FIELD_NUMBER; hash = (53 * hash) + getJa3Fingerprint().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties 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 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties 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 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 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 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 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 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 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 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; } /** *
   * Properties of a negotiated TLS connection.
   * [#next-free-field: 8]
   * 
* * Protobuf type {@code envoy.data.accesslog.v3.TLSProperties} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.data.accesslog.v3.TLSProperties) io.envoyproxy.envoy.data.accesslog.v3.TLSPropertiesOrBuilder { 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); } // Construct using io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.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(); tlsVersion_ = 0; if (tlsCipherSuiteBuilder_ == null) { tlsCipherSuite_ = null; } else { tlsCipherSuite_ = null; tlsCipherSuiteBuilder_ = null; } tlsSniHostname_ = ""; if (localCertificatePropertiesBuilder_ == null) { localCertificateProperties_ = null; } else { localCertificateProperties_ = null; localCertificatePropertiesBuilder_ = null; } if (peerCertificatePropertiesBuilder_ == null) { peerCertificateProperties_ = null; } else { peerCertificateProperties_ = null; peerCertificatePropertiesBuilder_ = null; } tlsSessionId_ = ""; ja3Fingerprint_ = ""; 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_descriptor; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties getDefaultInstanceForType() { return io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties build() { io.envoyproxy.envoy.data.accesslog.v3.TLSProperties result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties buildPartial() { io.envoyproxy.envoy.data.accesslog.v3.TLSProperties result = new io.envoyproxy.envoy.data.accesslog.v3.TLSProperties(this); result.tlsVersion_ = tlsVersion_; if (tlsCipherSuiteBuilder_ == null) { result.tlsCipherSuite_ = tlsCipherSuite_; } else { result.tlsCipherSuite_ = tlsCipherSuiteBuilder_.build(); } result.tlsSniHostname_ = tlsSniHostname_; if (localCertificatePropertiesBuilder_ == null) { result.localCertificateProperties_ = localCertificateProperties_; } else { result.localCertificateProperties_ = localCertificatePropertiesBuilder_.build(); } if (peerCertificatePropertiesBuilder_ == null) { result.peerCertificateProperties_ = peerCertificateProperties_; } else { result.peerCertificateProperties_ = peerCertificatePropertiesBuilder_.build(); } result.tlsSessionId_ = tlsSessionId_; result.ja3Fingerprint_ = ja3Fingerprint_; 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) { return mergeFrom((io.envoyproxy.envoy.data.accesslog.v3.TLSProperties)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties other) { if (other == io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.getDefaultInstance()) return this; if (other.tlsVersion_ != 0) { setTlsVersionValue(other.getTlsVersionValue()); } if (other.hasTlsCipherSuite()) { mergeTlsCipherSuite(other.getTlsCipherSuite()); } if (!other.getTlsSniHostname().isEmpty()) { tlsSniHostname_ = other.tlsSniHostname_; onChanged(); } if (other.hasLocalCertificateProperties()) { mergeLocalCertificateProperties(other.getLocalCertificateProperties()); } if (other.hasPeerCertificateProperties()) { mergePeerCertificateProperties(other.getPeerCertificateProperties()); } if (!other.getTlsSessionId().isEmpty()) { tlsSessionId_ = other.tlsSessionId_; onChanged(); } if (!other.getJa3Fingerprint().isEmpty()) { ja3Fingerprint_ = other.ja3Fingerprint_; onChanged(); } 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 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.data.accesslog.v3.TLSProperties) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int tlsVersion_ = 0; /** *
     * 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; * @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; } /** *
     * Version of TLS that was negotiated.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1; * @return This builder for chaining. */ public Builder clearTlsVersion() { tlsVersion_ = 0; onChanged(); return this; } private com.google.protobuf.UInt32Value tlsCipherSuite_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> tlsCipherSuiteBuilder_; /** *
     * 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.
     * 
* * .google.protobuf.UInt32Value tls_cipher_suite = 2; * @return The tlsCipherSuite. */ public com.google.protobuf.UInt32Value getTlsCipherSuite() { if (tlsCipherSuiteBuilder_ == null) { return tlsCipherSuite_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : tlsCipherSuite_; } else { return tlsCipherSuiteBuilder_.getMessage(); } } /** *
     * 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.
     * 
* * .google.protobuf.UInt32Value tls_cipher_suite = 2; */ public Builder setTlsCipherSuite( com.google.protobuf.UInt32Value.Builder builderForValue) { if (tlsCipherSuiteBuilder_ == null) { tlsCipherSuite_ = builderForValue.build(); onChanged(); } else { tlsCipherSuiteBuilder_.setMessage(builderForValue.build()); } 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; */ public Builder mergeTlsCipherSuite(com.google.protobuf.UInt32Value value) { if (tlsCipherSuiteBuilder_ == null) { if (tlsCipherSuite_ != null) { tlsCipherSuite_ = com.google.protobuf.UInt32Value.newBuilder(tlsCipherSuite_).mergeFrom(value).buildPartial(); } else { tlsCipherSuite_ = value; } onChanged(); } else { tlsCipherSuiteBuilder_.mergeFrom(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.
     * 
* * .google.protobuf.UInt32Value tls_cipher_suite = 2; */ public Builder clearTlsCipherSuite() { if (tlsCipherSuiteBuilder_ == null) { tlsCipherSuite_ = null; onChanged(); } else { tlsCipherSuite_ = null; tlsCipherSuiteBuilder_ = null; } 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; */ public com.google.protobuf.UInt32Value.Builder getTlsCipherSuiteBuilder() { onChanged(); return getTlsCipherSuiteFieldBuilder().getBuilder(); } /** *
     * 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 com.google.protobuf.UInt32ValueOrBuilder getTlsCipherSuiteOrBuilder() { if (tlsCipherSuiteBuilder_ != null) { return tlsCipherSuiteBuilder_.getMessageOrBuilder(); } else { return tlsCipherSuite_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : 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; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> getTlsCipherSuiteFieldBuilder() { if (tlsCipherSuiteBuilder_ == null) { tlsCipherSuiteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>( getTlsCipherSuite(), getParentForChildren(), isClean()); tlsCipherSuite_ = null; } return tlsCipherSuiteBuilder_; } private java.lang.Object tlsSniHostname_ = ""; /** *
     * SNI hostname from handshake.
     * 
* * string tls_sni_hostname = 3; * @return The tlsSniHostname. */ public java.lang.String getTlsSniHostname() { java.lang.Object ref = tlsSniHostname_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tlsSniHostname_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * SNI hostname from handshake.
     * 
* * string tls_sni_hostname = 3; * @return The bytes for tlsSniHostname. */ public com.google.protobuf.ByteString getTlsSniHostnameBytes() { java.lang.Object ref = tlsSniHostname_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tlsSniHostname_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * SNI hostname from handshake.
     * 
* * string tls_sni_hostname = 3; * @param value The tlsSniHostname to set. * @return This builder for chaining. */ public Builder setTlsSniHostname( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tlsSniHostname_ = value; onChanged(); return this; } /** *
     * SNI hostname from handshake.
     * 
* * string tls_sni_hostname = 3; * @return This builder for chaining. */ public Builder clearTlsSniHostname() { tlsSniHostname_ = getDefaultInstance().getTlsSniHostname(); onChanged(); return this; } /** *
     * SNI hostname from handshake.
     * 
* * string tls_sni_hostname = 3; * @param value The bytes for tlsSniHostname to set. * @return This builder for chaining. */ public Builder setTlsSniHostnameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tlsSniHostname_ = value; onChanged(); return this; } private io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties localCertificateProperties_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder> localCertificatePropertiesBuilder_; /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; * @return Whether the localCertificateProperties field is set. */ public boolean hasLocalCertificateProperties() { return localCertificatePropertiesBuilder_ != null || localCertificateProperties_ != null; } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; * @return The localCertificateProperties. */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties getLocalCertificateProperties() { if (localCertificatePropertiesBuilder_ == null) { return localCertificateProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance() : localCertificateProperties_; } else { return localCertificatePropertiesBuilder_.getMessage(); } } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ public Builder setLocalCertificateProperties(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties value) { if (localCertificatePropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } localCertificateProperties_ = value; onChanged(); } else { localCertificatePropertiesBuilder_.setMessage(value); } return this; } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ public Builder setLocalCertificateProperties( io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder builderForValue) { if (localCertificatePropertiesBuilder_ == null) { localCertificateProperties_ = builderForValue.build(); onChanged(); } else { localCertificatePropertiesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ public Builder mergeLocalCertificateProperties(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties value) { if (localCertificatePropertiesBuilder_ == null) { if (localCertificateProperties_ != null) { localCertificateProperties_ = io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.newBuilder(localCertificateProperties_).mergeFrom(value).buildPartial(); } else { localCertificateProperties_ = value; } onChanged(); } else { localCertificatePropertiesBuilder_.mergeFrom(value); } return this; } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ public Builder clearLocalCertificateProperties() { if (localCertificatePropertiesBuilder_ == null) { localCertificateProperties_ = null; onChanged(); } else { localCertificateProperties_ = null; localCertificatePropertiesBuilder_ = null; } return this; } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder getLocalCertificatePropertiesBuilder() { onChanged(); return getLocalCertificatePropertiesFieldBuilder().getBuilder(); } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder getLocalCertificatePropertiesOrBuilder() { if (localCertificatePropertiesBuilder_ != null) { return localCertificatePropertiesBuilder_.getMessageOrBuilder(); } else { return localCertificateProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance() : localCertificateProperties_; } } /** *
     * Properties of the local certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder> getLocalCertificatePropertiesFieldBuilder() { if (localCertificatePropertiesBuilder_ == null) { localCertificatePropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder>( getLocalCertificateProperties(), getParentForChildren(), isClean()); localCertificateProperties_ = null; } return localCertificatePropertiesBuilder_; } private io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peerCertificateProperties_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder> peerCertificatePropertiesBuilder_; /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; * @return Whether the peerCertificateProperties field is set. */ public boolean hasPeerCertificateProperties() { return peerCertificatePropertiesBuilder_ != null || peerCertificateProperties_ != null; } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; * @return The peerCertificateProperties. */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties getPeerCertificateProperties() { if (peerCertificatePropertiesBuilder_ == null) { return peerCertificateProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance() : peerCertificateProperties_; } else { return peerCertificatePropertiesBuilder_.getMessage(); } } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ public Builder setPeerCertificateProperties(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties value) { if (peerCertificatePropertiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } peerCertificateProperties_ = value; onChanged(); } else { peerCertificatePropertiesBuilder_.setMessage(value); } return this; } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ public Builder setPeerCertificateProperties( io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder builderForValue) { if (peerCertificatePropertiesBuilder_ == null) { peerCertificateProperties_ = builderForValue.build(); onChanged(); } else { peerCertificatePropertiesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ public Builder mergePeerCertificateProperties(io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties value) { if (peerCertificatePropertiesBuilder_ == null) { if (peerCertificateProperties_ != null) { peerCertificateProperties_ = io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.newBuilder(peerCertificateProperties_).mergeFrom(value).buildPartial(); } else { peerCertificateProperties_ = value; } onChanged(); } else { peerCertificatePropertiesBuilder_.mergeFrom(value); } return this; } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ public Builder clearPeerCertificateProperties() { if (peerCertificatePropertiesBuilder_ == null) { peerCertificateProperties_ = null; onChanged(); } else { peerCertificateProperties_ = null; peerCertificatePropertiesBuilder_ = null; } return this; } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder getPeerCertificatePropertiesBuilder() { onChanged(); return getPeerCertificatePropertiesFieldBuilder().getBuilder(); } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ public io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder getPeerCertificatePropertiesOrBuilder() { if (peerCertificatePropertiesBuilder_ != null) { return peerCertificatePropertiesBuilder_.getMessageOrBuilder(); } else { return peerCertificateProperties_ == null ? io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.getDefaultInstance() : peerCertificateProperties_; } } /** *
     * Properties of the peer certificate used to negotiate TLS.
     * 
* * .envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder> getPeerCertificatePropertiesFieldBuilder() { if (peerCertificatePropertiesBuilder_ == null) { peerCertificatePropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificateProperties.Builder, io.envoyproxy.envoy.data.accesslog.v3.TLSProperties.CertificatePropertiesOrBuilder>( getPeerCertificateProperties(), getParentForChildren(), isClean()); peerCertificateProperties_ = null; } return peerCertificatePropertiesBuilder_; } private java.lang.Object tlsSessionId_ = ""; /** *
     * The TLS session ID.
     * 
* * string tls_session_id = 6; * @return The tlsSessionId. */ public java.lang.String getTlsSessionId() { java.lang.Object ref = tlsSessionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tlsSessionId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The TLS session ID.
     * 
* * string tls_session_id = 6; * @return The bytes for tlsSessionId. */ public com.google.protobuf.ByteString getTlsSessionIdBytes() { java.lang.Object ref = tlsSessionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tlsSessionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The TLS session ID.
     * 
* * string tls_session_id = 6; * @param value The tlsSessionId to set. * @return This builder for chaining. */ public Builder setTlsSessionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tlsSessionId_ = value; onChanged(); return this; } /** *
     * The TLS session ID.
     * 
* * string tls_session_id = 6; * @return This builder for chaining. */ public Builder clearTlsSessionId() { tlsSessionId_ = getDefaultInstance().getTlsSessionId(); onChanged(); return this; } /** *
     * The TLS session ID.
     * 
* * string tls_session_id = 6; * @param value The bytes for tlsSessionId to set. * @return This builder for chaining. */ public Builder setTlsSessionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tlsSessionId_ = value; onChanged(); return this; } private java.lang.Object ja3Fingerprint_ = ""; /** *
     * The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
     * 
* * string ja3_fingerprint = 7; * @return The ja3Fingerprint. */ public java.lang.String getJa3Fingerprint() { java.lang.Object ref = ja3Fingerprint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ja3Fingerprint_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
     * 
* * string ja3_fingerprint = 7; * @return The bytes for ja3Fingerprint. */ public com.google.protobuf.ByteString getJa3FingerprintBytes() { java.lang.Object ref = ja3Fingerprint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ja3Fingerprint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
     * 
* * string ja3_fingerprint = 7; * @param value The ja3Fingerprint to set. * @return This builder for chaining. */ public Builder setJa3Fingerprint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ja3Fingerprint_ = value; onChanged(); return this; } /** *
     * The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
     * 
* * string ja3_fingerprint = 7; * @return This builder for chaining. */ public Builder clearJa3Fingerprint() { ja3Fingerprint_ = getDefaultInstance().getJa3Fingerprint(); onChanged(); return this; } /** *
     * The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
     * 
* * string ja3_fingerprint = 7; * @param value The bytes for ja3Fingerprint to set. * @return This builder for chaining. */ public Builder setJa3FingerprintBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ja3Fingerprint_ = 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) } // @@protoc_insertion_point(class_scope:envoy.data.accesslog.v3.TLSProperties) private static final io.envoyproxy.envoy.data.accesslog.v3.TLSProperties DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.data.accesslog.v3.TLSProperties(); } public static io.envoyproxy.envoy.data.accesslog.v3.TLSProperties getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TLSProperties parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TLSProperties(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 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy