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

io.envoyproxy.envoy.admin.v3.CertificateDetails Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/admin/v3/certs.proto

// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.admin.v3;

/**
 * 
 * [#next-free-field: 8]
 * 
* * Protobuf type {@code envoy.admin.v3.CertificateDetails} */ public final class CertificateDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.CertificateDetails) CertificateDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use CertificateDetails.newBuilder() to construct. private CertificateDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CertificateDetails() { path_ = ""; serialNumber_ = ""; subjectAltNames_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CertificateDetails(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.CertificateDetails.class, io.envoyproxy.envoy.admin.v3.CertificateDetails.Builder.class); } public interface OcspDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.admin.v3.CertificateDetails.OcspDetails) com.google.protobuf.MessageOrBuilder { /** *
     * Indicates the time from which the OCSP response is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 1; * @return Whether the validFrom field is set. */ boolean hasValidFrom(); /** *
     * Indicates the time from which the OCSP response is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 1; * @return The validFrom. */ com.google.protobuf.Timestamp getValidFrom(); /** *
     * Indicates the time from which the OCSP response is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 1; */ com.google.protobuf.TimestampOrBuilder getValidFromOrBuilder(); /** *
     * Indicates the time at which the OCSP response expires.
     * 
* * .google.protobuf.Timestamp expiration = 2; * @return Whether the expiration field is set. */ boolean hasExpiration(); /** *
     * Indicates the time at which the OCSP response expires.
     * 
* * .google.protobuf.Timestamp expiration = 2; * @return The expiration. */ com.google.protobuf.Timestamp getExpiration(); /** *
     * Indicates the time at which the OCSP response expires.
     * 
* * .google.protobuf.Timestamp expiration = 2; */ com.google.protobuf.TimestampOrBuilder getExpirationOrBuilder(); } /** * Protobuf type {@code envoy.admin.v3.CertificateDetails.OcspDetails} */ public static final class OcspDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.admin.v3.CertificateDetails.OcspDetails) OcspDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use OcspDetails.newBuilder() to construct. private OcspDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OcspDetails() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OcspDetails(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_OcspDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_OcspDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.class, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.Builder.class); } private int bitField0_; public static final int VALID_FROM_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp validFrom_; /** *
     * Indicates the time from which the OCSP response is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 1; * @return Whether the validFrom field is set. */ @java.lang.Override public boolean hasValidFrom() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Indicates the time from which the OCSP response is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 1; * @return The validFrom. */ @java.lang.Override public com.google.protobuf.Timestamp getValidFrom() { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } /** *
     * Indicates the time from which the OCSP response is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 1; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getValidFromOrBuilder() { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } public static final int EXPIRATION_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expiration_; /** *
     * Indicates the time at which the OCSP response expires.
     * 
* * .google.protobuf.Timestamp expiration = 2; * @return Whether the expiration field is set. */ @java.lang.Override public boolean hasExpiration() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Indicates the time at which the OCSP response expires.
     * 
* * .google.protobuf.Timestamp expiration = 2; * @return The expiration. */ @java.lang.Override public com.google.protobuf.Timestamp getExpiration() { return expiration_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiration_; } /** *
     * Indicates the time at which the OCSP response expires.
     * 
* * .google.protobuf.Timestamp expiration = 2; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpirationOrBuilder() { return expiration_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiration_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getValidFrom()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getExpiration()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getValidFrom()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getExpiration()); } size += getUnknownFields().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.admin.v3.CertificateDetails.OcspDetails)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails other = (io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails) obj; if (hasValidFrom() != other.hasValidFrom()) return false; if (hasValidFrom()) { if (!getValidFrom() .equals(other.getValidFrom())) return false; } if (hasExpiration() != other.hasExpiration()) return false; if (hasExpiration()) { if (!getExpiration() .equals(other.getExpiration())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasValidFrom()) { hash = (37 * hash) + VALID_FROM_FIELD_NUMBER; hash = (53 * hash) + getValidFrom().hashCode(); } if (hasExpiration()) { hash = (37 * hash) + EXPIRATION_FIELD_NUMBER; hash = (53 * hash) + getExpiration().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails 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.admin.v3.CertificateDetails.OcspDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails 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.admin.v3.CertificateDetails.OcspDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails 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.admin.v3.CertificateDetails.OcspDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails 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.admin.v3.CertificateDetails.OcspDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails 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.admin.v3.CertificateDetails.OcspDetails 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.admin.v3.CertificateDetails.OcspDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.CertificateDetails.OcspDetails) io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_OcspDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_OcspDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.class, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getValidFromFieldBuilder(); getExpirationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; validFrom_ = null; if (validFromBuilder_ != null) { validFromBuilder_.dispose(); validFromBuilder_ = null; } expiration_ = null; if (expirationBuilder_ != null) { expirationBuilder_.dispose(); expirationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_OcspDetails_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails build() { io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails buildPartial() { io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails result = new io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.validFrom_ = validFromBuilder_ == null ? validFrom_ : validFromBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.expiration_ = expirationBuilder_ == null ? expiration_ : expirationBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @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.admin.v3.CertificateDetails.OcspDetails) { return mergeFrom((io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails other) { if (other == io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.getDefaultInstance()) return this; if (other.hasValidFrom()) { mergeValidFrom(other.getValidFrom()); } if (other.hasExpiration()) { mergeExpiration(other.getExpiration()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getValidFromFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getExpirationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.Timestamp validFrom_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> validFromBuilder_; /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; * @return Whether the validFrom field is set. */ public boolean hasValidFrom() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; * @return The validFrom. */ public com.google.protobuf.Timestamp getValidFrom() { if (validFromBuilder_ == null) { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } else { return validFromBuilder_.getMessage(); } } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; */ public Builder setValidFrom(com.google.protobuf.Timestamp value) { if (validFromBuilder_ == null) { if (value == null) { throw new NullPointerException(); } validFrom_ = value; } else { validFromBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; */ public Builder setValidFrom( com.google.protobuf.Timestamp.Builder builderForValue) { if (validFromBuilder_ == null) { validFrom_ = builderForValue.build(); } else { validFromBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; */ public Builder mergeValidFrom(com.google.protobuf.Timestamp value) { if (validFromBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && validFrom_ != null && validFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getValidFromBuilder().mergeFrom(value); } else { validFrom_ = value; } } else { validFromBuilder_.mergeFrom(value); } if (validFrom_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; */ public Builder clearValidFrom() { bitField0_ = (bitField0_ & ~0x00000001); validFrom_ = null; if (validFromBuilder_ != null) { validFromBuilder_.dispose(); validFromBuilder_ = null; } onChanged(); return this; } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; */ public com.google.protobuf.Timestamp.Builder getValidFromBuilder() { bitField0_ |= 0x00000001; onChanged(); return getValidFromFieldBuilder().getBuilder(); } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; */ public com.google.protobuf.TimestampOrBuilder getValidFromOrBuilder() { if (validFromBuilder_ != null) { return validFromBuilder_.getMessageOrBuilder(); } else { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } } /** *
       * Indicates the time from which the OCSP response is valid.
       * 
* * .google.protobuf.Timestamp valid_from = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getValidFromFieldBuilder() { if (validFromBuilder_ == null) { validFromBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getValidFrom(), getParentForChildren(), isClean()); validFrom_ = null; } return validFromBuilder_; } private com.google.protobuf.Timestamp expiration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationBuilder_; /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; * @return Whether the expiration field is set. */ public boolean hasExpiration() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; * @return The expiration. */ public com.google.protobuf.Timestamp getExpiration() { if (expirationBuilder_ == null) { return expiration_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiration_; } else { return expirationBuilder_.getMessage(); } } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; */ public Builder setExpiration(com.google.protobuf.Timestamp value) { if (expirationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expiration_ = value; } else { expirationBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; */ public Builder setExpiration( com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationBuilder_ == null) { expiration_ = builderForValue.build(); } else { expirationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; */ public Builder mergeExpiration(com.google.protobuf.Timestamp value) { if (expirationBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && expiration_ != null && expiration_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpirationBuilder().mergeFrom(value); } else { expiration_ = value; } } else { expirationBuilder_.mergeFrom(value); } if (expiration_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; */ public Builder clearExpiration() { bitField0_ = (bitField0_ & ~0x00000002); expiration_ = null; if (expirationBuilder_ != null) { expirationBuilder_.dispose(); expirationBuilder_ = null; } onChanged(); return this; } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; */ public com.google.protobuf.Timestamp.Builder getExpirationBuilder() { bitField0_ |= 0x00000002; onChanged(); return getExpirationFieldBuilder().getBuilder(); } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; */ public com.google.protobuf.TimestampOrBuilder getExpirationOrBuilder() { if (expirationBuilder_ != null) { return expirationBuilder_.getMessageOrBuilder(); } else { return expiration_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiration_; } } /** *
       * Indicates the time at which the OCSP response expires.
       * 
* * .google.protobuf.Timestamp expiration = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpirationFieldBuilder() { if (expirationBuilder_ == null) { expirationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpiration(), getParentForChildren(), isClean()); expiration_ = null; } return expirationBuilder_; } @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.admin.v3.CertificateDetails.OcspDetails) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.CertificateDetails.OcspDetails) private static final io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails(); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OcspDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; 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.admin.v3.CertificateDetails.OcspDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int PATH_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** *
   * Path of the certificate.
   * 
* * string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** *
   * Path of the certificate.
   * 
* * string path = 1; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERIAL_NUMBER_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object serialNumber_ = ""; /** *
   * Certificate Serial Number.
   * 
* * string serial_number = 2; * @return The serialNumber. */ @java.lang.Override public java.lang.String getSerialNumber() { java.lang.Object ref = serialNumber_; 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(); serialNumber_ = s; return s; } } /** *
   * Certificate Serial Number.
   * 
* * string serial_number = 2; * @return The bytes for serialNumber. */ @java.lang.Override public com.google.protobuf.ByteString getSerialNumberBytes() { java.lang.Object ref = serialNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serialNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List subjectAltNames_; /** *
   * List of Subject Alternate names.
   * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ @java.lang.Override public java.util.List getSubjectAltNamesList() { return subjectAltNames_; } /** *
   * List of Subject Alternate names.
   * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ @java.lang.Override public java.util.List getSubjectAltNamesOrBuilderList() { return subjectAltNames_; } /** *
   * List of Subject Alternate names.
   * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ @java.lang.Override public int getSubjectAltNamesCount() { return subjectAltNames_.size(); } /** *
   * List of Subject Alternate names.
   * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.SubjectAlternateName getSubjectAltNames(int index) { return subjectAltNames_.get(index); } /** *
   * List of Subject Alternate names.
   * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.SubjectAlternateNameOrBuilder getSubjectAltNamesOrBuilder( int index) { return subjectAltNames_.get(index); } public static final int DAYS_UNTIL_EXPIRATION_FIELD_NUMBER = 4; private long daysUntilExpiration_ = 0L; /** *
   * Minimum of days until expiration of certificate and it's chain.
   * 
* * uint64 days_until_expiration = 4; * @return The daysUntilExpiration. */ @java.lang.Override public long getDaysUntilExpiration() { return daysUntilExpiration_; } public static final int VALID_FROM_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp validFrom_; /** *
   * Indicates the time from which the certificate is valid.
   * 
* * .google.protobuf.Timestamp valid_from = 5; * @return Whether the validFrom field is set. */ @java.lang.Override public boolean hasValidFrom() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Indicates the time from which the certificate is valid.
   * 
* * .google.protobuf.Timestamp valid_from = 5; * @return The validFrom. */ @java.lang.Override public com.google.protobuf.Timestamp getValidFrom() { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } /** *
   * Indicates the time from which the certificate is valid.
   * 
* * .google.protobuf.Timestamp valid_from = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getValidFromOrBuilder() { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } public static final int EXPIRATION_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp expirationTime_; /** *
   * Indicates the time at which the certificate expires.
   * 
* * .google.protobuf.Timestamp expiration_time = 6; * @return Whether the expirationTime field is set. */ @java.lang.Override public boolean hasExpirationTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Indicates the time at which the certificate expires.
   * 
* * .google.protobuf.Timestamp expiration_time = 6; * @return The expirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpirationTime() { return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } /** *
   * Indicates the time at which the certificate expires.
   * 
* * .google.protobuf.Timestamp expiration_time = 6; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } public static final int OCSP_DETAILS_FIELD_NUMBER = 7; private io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails ocspDetails_; /** *
   * Details related to the OCSP response associated with this certificate, if any.
   * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; * @return Whether the ocspDetails field is set. */ @java.lang.Override public boolean hasOcspDetails() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Details related to the OCSP response associated with this certificate, if any.
   * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; * @return The ocspDetails. */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails getOcspDetails() { return ocspDetails_ == null ? io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.getDefaultInstance() : ocspDetails_; } /** *
   * Details related to the OCSP response associated with this certificate, if any.
   * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetailsOrBuilder getOcspDetailsOrBuilder() { return ocspDetails_ == null ? io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.getDefaultInstance() : ocspDetails_; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serialNumber_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serialNumber_); } for (int i = 0; i < subjectAltNames_.size(); i++) { output.writeMessage(3, subjectAltNames_.get(i)); } if (daysUntilExpiration_ != 0L) { output.writeUInt64(4, daysUntilExpiration_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getValidFrom()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getExpirationTime()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(7, getOcspDetails()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serialNumber_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serialNumber_); } for (int i = 0; i < subjectAltNames_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, subjectAltNames_.get(i)); } if (daysUntilExpiration_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, daysUntilExpiration_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getValidFrom()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getExpirationTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getOcspDetails()); } size += getUnknownFields().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.admin.v3.CertificateDetails)) { return super.equals(obj); } io.envoyproxy.envoy.admin.v3.CertificateDetails other = (io.envoyproxy.envoy.admin.v3.CertificateDetails) obj; if (!getPath() .equals(other.getPath())) return false; if (!getSerialNumber() .equals(other.getSerialNumber())) return false; if (!getSubjectAltNamesList() .equals(other.getSubjectAltNamesList())) return false; if (getDaysUntilExpiration() != other.getDaysUntilExpiration()) return false; if (hasValidFrom() != other.hasValidFrom()) return false; if (hasValidFrom()) { if (!getValidFrom() .equals(other.getValidFrom())) return false; } if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { if (!getExpirationTime() .equals(other.getExpirationTime())) return false; } if (hasOcspDetails() != other.hasOcspDetails()) return false; if (hasOcspDetails()) { if (!getOcspDetails() .equals(other.getOcspDetails())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) 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) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + SERIAL_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getSerialNumber().hashCode(); if (getSubjectAltNamesCount() > 0) { hash = (37 * hash) + SUBJECT_ALT_NAMES_FIELD_NUMBER; hash = (53 * hash) + getSubjectAltNamesList().hashCode(); } hash = (37 * hash) + DAYS_UNTIL_EXPIRATION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDaysUntilExpiration()); if (hasValidFrom()) { hash = (37 * hash) + VALID_FROM_FIELD_NUMBER; hash = (53 * hash) + getValidFrom().hashCode(); } if (hasExpirationTime()) { hash = (37 * hash) + EXPIRATION_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpirationTime().hashCode(); } if (hasOcspDetails()) { hash = (37 * hash) + OCSP_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getOcspDetails().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.admin.v3.CertificateDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails 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.admin.v3.CertificateDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails 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.admin.v3.CertificateDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails 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.admin.v3.CertificateDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails 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.admin.v3.CertificateDetails parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails 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.admin.v3.CertificateDetails 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; } /** *
   * [#next-free-field: 8]
   * 
* * Protobuf type {@code envoy.admin.v3.CertificateDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.admin.v3.CertificateDetails) io.envoyproxy.envoy.admin.v3.CertificateDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.admin.v3.CertificateDetails.class, io.envoyproxy.envoy.admin.v3.CertificateDetails.Builder.class); } // Construct using io.envoyproxy.envoy.admin.v3.CertificateDetails.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSubjectAltNamesFieldBuilder(); getValidFromFieldBuilder(); getExpirationTimeFieldBuilder(); getOcspDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; path_ = ""; serialNumber_ = ""; if (subjectAltNamesBuilder_ == null) { subjectAltNames_ = java.util.Collections.emptyList(); } else { subjectAltNames_ = null; subjectAltNamesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); daysUntilExpiration_ = 0L; validFrom_ = null; if (validFromBuilder_ != null) { validFromBuilder_.dispose(); validFromBuilder_ = null; } expirationTime_ = null; if (expirationTimeBuilder_ != null) { expirationTimeBuilder_.dispose(); expirationTimeBuilder_ = null; } ocspDetails_ = null; if (ocspDetailsBuilder_ != null) { ocspDetailsBuilder_.dispose(); ocspDetailsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.admin.v3.CertsProto.internal_static_envoy_admin_v3_CertificateDetails_descriptor; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails getDefaultInstanceForType() { return io.envoyproxy.envoy.admin.v3.CertificateDetails.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails build() { io.envoyproxy.envoy.admin.v3.CertificateDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.admin.v3.CertificateDetails buildPartial() { io.envoyproxy.envoy.admin.v3.CertificateDetails result = new io.envoyproxy.envoy.admin.v3.CertificateDetails(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.envoyproxy.envoy.admin.v3.CertificateDetails result) { if (subjectAltNamesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { subjectAltNames_ = java.util.Collections.unmodifiableList(subjectAltNames_); bitField0_ = (bitField0_ & ~0x00000004); } result.subjectAltNames_ = subjectAltNames_; } else { result.subjectAltNames_ = subjectAltNamesBuilder_.build(); } } private void buildPartial0(io.envoyproxy.envoy.admin.v3.CertificateDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.path_ = path_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.serialNumber_ = serialNumber_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.daysUntilExpiration_ = daysUntilExpiration_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.validFrom_ = validFromBuilder_ == null ? validFrom_ : validFromBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.expirationTime_ = expirationTimeBuilder_ == null ? expirationTime_ : expirationTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.ocspDetails_ = ocspDetailsBuilder_ == null ? ocspDetails_ : ocspDetailsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @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.admin.v3.CertificateDetails) { return mergeFrom((io.envoyproxy.envoy.admin.v3.CertificateDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.admin.v3.CertificateDetails other) { if (other == io.envoyproxy.envoy.admin.v3.CertificateDetails.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getSerialNumber().isEmpty()) { serialNumber_ = other.serialNumber_; bitField0_ |= 0x00000002; onChanged(); } if (subjectAltNamesBuilder_ == null) { if (!other.subjectAltNames_.isEmpty()) { if (subjectAltNames_.isEmpty()) { subjectAltNames_ = other.subjectAltNames_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureSubjectAltNamesIsMutable(); subjectAltNames_.addAll(other.subjectAltNames_); } onChanged(); } } else { if (!other.subjectAltNames_.isEmpty()) { if (subjectAltNamesBuilder_.isEmpty()) { subjectAltNamesBuilder_.dispose(); subjectAltNamesBuilder_ = null; subjectAltNames_ = other.subjectAltNames_; bitField0_ = (bitField0_ & ~0x00000004); subjectAltNamesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubjectAltNamesFieldBuilder() : null; } else { subjectAltNamesBuilder_.addAllMessages(other.subjectAltNames_); } } } if (other.getDaysUntilExpiration() != 0L) { setDaysUntilExpiration(other.getDaysUntilExpiration()); } if (other.hasValidFrom()) { mergeValidFrom(other.getValidFrom()); } if (other.hasExpirationTime()) { mergeExpirationTime(other.getExpirationTime()); } if (other.hasOcspDetails()) { mergeOcspDetails(other.getOcspDetails()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { serialNumber_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { io.envoyproxy.envoy.admin.v3.SubjectAlternateName m = input.readMessage( io.envoyproxy.envoy.admin.v3.SubjectAlternateName.parser(), extensionRegistry); if (subjectAltNamesBuilder_ == null) { ensureSubjectAltNamesIsMutable(); subjectAltNames_.add(m); } else { subjectAltNamesBuilder_.addMessage(m); } break; } // case 26 case 32: { daysUntilExpiration_ = input.readUInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { input.readMessage( getValidFromFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getOcspDetailsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object path_ = ""; /** *
     * Path of the certificate.
     * 
* * string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Path of the certificate.
     * 
* * string path = 1; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Path of the certificate.
     * 
* * string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Path of the certificate.
     * 
* * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Path of the certificate.
     * 
* * string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object serialNumber_ = ""; /** *
     * Certificate Serial Number.
     * 
* * string serial_number = 2; * @return The serialNumber. */ public java.lang.String getSerialNumber() { java.lang.Object ref = serialNumber_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serialNumber_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Certificate Serial Number.
     * 
* * string serial_number = 2; * @return The bytes for serialNumber. */ public com.google.protobuf.ByteString getSerialNumberBytes() { java.lang.Object ref = serialNumber_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serialNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Certificate Serial Number.
     * 
* * string serial_number = 2; * @param value The serialNumber to set. * @return This builder for chaining. */ public Builder setSerialNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serialNumber_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Certificate Serial Number.
     * 
* * string serial_number = 2; * @return This builder for chaining. */ public Builder clearSerialNumber() { serialNumber_ = getDefaultInstance().getSerialNumber(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * Certificate Serial Number.
     * 
* * string serial_number = 2; * @param value The bytes for serialNumber to set. * @return This builder for chaining. */ public Builder setSerialNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serialNumber_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List subjectAltNames_ = java.util.Collections.emptyList(); private void ensureSubjectAltNamesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { subjectAltNames_ = new java.util.ArrayList(subjectAltNames_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SubjectAlternateName, io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder, io.envoyproxy.envoy.admin.v3.SubjectAlternateNameOrBuilder> subjectAltNamesBuilder_; /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public java.util.List getSubjectAltNamesList() { if (subjectAltNamesBuilder_ == null) { return java.util.Collections.unmodifiableList(subjectAltNames_); } else { return subjectAltNamesBuilder_.getMessageList(); } } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public int getSubjectAltNamesCount() { if (subjectAltNamesBuilder_ == null) { return subjectAltNames_.size(); } else { return subjectAltNamesBuilder_.getCount(); } } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public io.envoyproxy.envoy.admin.v3.SubjectAlternateName getSubjectAltNames(int index) { if (subjectAltNamesBuilder_ == null) { return subjectAltNames_.get(index); } else { return subjectAltNamesBuilder_.getMessage(index); } } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder setSubjectAltNames( int index, io.envoyproxy.envoy.admin.v3.SubjectAlternateName value) { if (subjectAltNamesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubjectAltNamesIsMutable(); subjectAltNames_.set(index, value); onChanged(); } else { subjectAltNamesBuilder_.setMessage(index, value); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder setSubjectAltNames( int index, io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder builderForValue) { if (subjectAltNamesBuilder_ == null) { ensureSubjectAltNamesIsMutable(); subjectAltNames_.set(index, builderForValue.build()); onChanged(); } else { subjectAltNamesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder addSubjectAltNames(io.envoyproxy.envoy.admin.v3.SubjectAlternateName value) { if (subjectAltNamesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubjectAltNamesIsMutable(); subjectAltNames_.add(value); onChanged(); } else { subjectAltNamesBuilder_.addMessage(value); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder addSubjectAltNames( int index, io.envoyproxy.envoy.admin.v3.SubjectAlternateName value) { if (subjectAltNamesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubjectAltNamesIsMutable(); subjectAltNames_.add(index, value); onChanged(); } else { subjectAltNamesBuilder_.addMessage(index, value); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder addSubjectAltNames( io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder builderForValue) { if (subjectAltNamesBuilder_ == null) { ensureSubjectAltNamesIsMutable(); subjectAltNames_.add(builderForValue.build()); onChanged(); } else { subjectAltNamesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder addSubjectAltNames( int index, io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder builderForValue) { if (subjectAltNamesBuilder_ == null) { ensureSubjectAltNamesIsMutable(); subjectAltNames_.add(index, builderForValue.build()); onChanged(); } else { subjectAltNamesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder addAllSubjectAltNames( java.lang.Iterable values) { if (subjectAltNamesBuilder_ == null) { ensureSubjectAltNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subjectAltNames_); onChanged(); } else { subjectAltNamesBuilder_.addAllMessages(values); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder clearSubjectAltNames() { if (subjectAltNamesBuilder_ == null) { subjectAltNames_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { subjectAltNamesBuilder_.clear(); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public Builder removeSubjectAltNames(int index) { if (subjectAltNamesBuilder_ == null) { ensureSubjectAltNamesIsMutable(); subjectAltNames_.remove(index); onChanged(); } else { subjectAltNamesBuilder_.remove(index); } return this; } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder getSubjectAltNamesBuilder( int index) { return getSubjectAltNamesFieldBuilder().getBuilder(index); } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public io.envoyproxy.envoy.admin.v3.SubjectAlternateNameOrBuilder getSubjectAltNamesOrBuilder( int index) { if (subjectAltNamesBuilder_ == null) { return subjectAltNames_.get(index); } else { return subjectAltNamesBuilder_.getMessageOrBuilder(index); } } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public java.util.List getSubjectAltNamesOrBuilderList() { if (subjectAltNamesBuilder_ != null) { return subjectAltNamesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subjectAltNames_); } } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder addSubjectAltNamesBuilder() { return getSubjectAltNamesFieldBuilder().addBuilder( io.envoyproxy.envoy.admin.v3.SubjectAlternateName.getDefaultInstance()); } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder addSubjectAltNamesBuilder( int index) { return getSubjectAltNamesFieldBuilder().addBuilder( index, io.envoyproxy.envoy.admin.v3.SubjectAlternateName.getDefaultInstance()); } /** *
     * List of Subject Alternate names.
     * 
* * repeated .envoy.admin.v3.SubjectAlternateName subject_alt_names = 3; */ public java.util.List getSubjectAltNamesBuilderList() { return getSubjectAltNamesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SubjectAlternateName, io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder, io.envoyproxy.envoy.admin.v3.SubjectAlternateNameOrBuilder> getSubjectAltNamesFieldBuilder() { if (subjectAltNamesBuilder_ == null) { subjectAltNamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.admin.v3.SubjectAlternateName, io.envoyproxy.envoy.admin.v3.SubjectAlternateName.Builder, io.envoyproxy.envoy.admin.v3.SubjectAlternateNameOrBuilder>( subjectAltNames_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); subjectAltNames_ = null; } return subjectAltNamesBuilder_; } private long daysUntilExpiration_ ; /** *
     * Minimum of days until expiration of certificate and it's chain.
     * 
* * uint64 days_until_expiration = 4; * @return The daysUntilExpiration. */ @java.lang.Override public long getDaysUntilExpiration() { return daysUntilExpiration_; } /** *
     * Minimum of days until expiration of certificate and it's chain.
     * 
* * uint64 days_until_expiration = 4; * @param value The daysUntilExpiration to set. * @return This builder for chaining. */ public Builder setDaysUntilExpiration(long value) { daysUntilExpiration_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Minimum of days until expiration of certificate and it's chain.
     * 
* * uint64 days_until_expiration = 4; * @return This builder for chaining. */ public Builder clearDaysUntilExpiration() { bitField0_ = (bitField0_ & ~0x00000008); daysUntilExpiration_ = 0L; onChanged(); return this; } private com.google.protobuf.Timestamp validFrom_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> validFromBuilder_; /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; * @return Whether the validFrom field is set. */ public boolean hasValidFrom() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; * @return The validFrom. */ public com.google.protobuf.Timestamp getValidFrom() { if (validFromBuilder_ == null) { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } else { return validFromBuilder_.getMessage(); } } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; */ public Builder setValidFrom(com.google.protobuf.Timestamp value) { if (validFromBuilder_ == null) { if (value == null) { throw new NullPointerException(); } validFrom_ = value; } else { validFromBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; */ public Builder setValidFrom( com.google.protobuf.Timestamp.Builder builderForValue) { if (validFromBuilder_ == null) { validFrom_ = builderForValue.build(); } else { validFromBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; */ public Builder mergeValidFrom(com.google.protobuf.Timestamp value) { if (validFromBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && validFrom_ != null && validFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getValidFromBuilder().mergeFrom(value); } else { validFrom_ = value; } } else { validFromBuilder_.mergeFrom(value); } if (validFrom_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; */ public Builder clearValidFrom() { bitField0_ = (bitField0_ & ~0x00000010); validFrom_ = null; if (validFromBuilder_ != null) { validFromBuilder_.dispose(); validFromBuilder_ = null; } onChanged(); return this; } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; */ public com.google.protobuf.Timestamp.Builder getValidFromBuilder() { bitField0_ |= 0x00000010; onChanged(); return getValidFromFieldBuilder().getBuilder(); } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; */ public com.google.protobuf.TimestampOrBuilder getValidFromOrBuilder() { if (validFromBuilder_ != null) { return validFromBuilder_.getMessageOrBuilder(); } else { return validFrom_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : validFrom_; } } /** *
     * Indicates the time from which the certificate is valid.
     * 
* * .google.protobuf.Timestamp valid_from = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getValidFromFieldBuilder() { if (validFromBuilder_ == null) { validFromBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getValidFrom(), getParentForChildren(), isClean()); validFrom_ = null; } return validFromBuilder_; } private com.google.protobuf.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_; /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; * @return The expirationTime. */ public com.google.protobuf.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; */ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expirationTime_ = value; } else { expirationTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; */ public Builder setExpirationTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); } else { expirationTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; */ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && expirationTime_ != null && expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpirationTimeBuilder().mergeFrom(value); } else { expirationTime_ = value; } } else { expirationTimeBuilder_.mergeFrom(value); } if (expirationTime_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; */ public Builder clearExpirationTime() { bitField0_ = (bitField0_ & ~0x00000020); expirationTime_ = null; if (expirationTimeBuilder_ != null) { expirationTimeBuilder_.dispose(); expirationTimeBuilder_ = null; } onChanged(); return this; } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; */ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getExpirationTimeFieldBuilder().getBuilder(); } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; */ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } } /** *
     * Indicates the time at which the certificate expires.
     * 
* * .google.protobuf.Timestamp expiration_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } private io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails ocspDetails_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.Builder, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetailsOrBuilder> ocspDetailsBuilder_; /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; * @return Whether the ocspDetails field is set. */ public boolean hasOcspDetails() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; * @return The ocspDetails. */ public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails getOcspDetails() { if (ocspDetailsBuilder_ == null) { return ocspDetails_ == null ? io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.getDefaultInstance() : ocspDetails_; } else { return ocspDetailsBuilder_.getMessage(); } } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ public Builder setOcspDetails(io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails value) { if (ocspDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ocspDetails_ = value; } else { ocspDetailsBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ public Builder setOcspDetails( io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.Builder builderForValue) { if (ocspDetailsBuilder_ == null) { ocspDetails_ = builderForValue.build(); } else { ocspDetailsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ public Builder mergeOcspDetails(io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails value) { if (ocspDetailsBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && ocspDetails_ != null && ocspDetails_ != io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.getDefaultInstance()) { getOcspDetailsBuilder().mergeFrom(value); } else { ocspDetails_ = value; } } else { ocspDetailsBuilder_.mergeFrom(value); } if (ocspDetails_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ public Builder clearOcspDetails() { bitField0_ = (bitField0_ & ~0x00000040); ocspDetails_ = null; if (ocspDetailsBuilder_ != null) { ocspDetailsBuilder_.dispose(); ocspDetailsBuilder_ = null; } onChanged(); return this; } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.Builder getOcspDetailsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getOcspDetailsFieldBuilder().getBuilder(); } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ public io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetailsOrBuilder getOcspDetailsOrBuilder() { if (ocspDetailsBuilder_ != null) { return ocspDetailsBuilder_.getMessageOrBuilder(); } else { return ocspDetails_ == null ? io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.getDefaultInstance() : ocspDetails_; } } /** *
     * Details related to the OCSP response associated with this certificate, if any.
     * 
* * .envoy.admin.v3.CertificateDetails.OcspDetails ocsp_details = 7; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.Builder, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetailsOrBuilder> getOcspDetailsFieldBuilder() { if (ocspDetailsBuilder_ == null) { ocspDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetails.Builder, io.envoyproxy.envoy.admin.v3.CertificateDetails.OcspDetailsOrBuilder>( getOcspDetails(), getParentForChildren(), isClean()); ocspDetails_ = null; } return ocspDetailsBuilder_; } @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.admin.v3.CertificateDetails) } // @@protoc_insertion_point(class_scope:envoy.admin.v3.CertificateDetails) private static final io.envoyproxy.envoy.admin.v3.CertificateDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3.CertificateDetails(); } public static io.envoyproxy.envoy.admin.v3.CertificateDetails getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CertificateDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; 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.admin.v3.CertificateDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy