Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.envoyproxy.envoy.admin.v3alpha.CertificateDetails Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/admin/v3alpha/certs.proto
package io.envoyproxy.envoy.admin.v3alpha;
/**
* Protobuf type {@code envoy.admin.v3alpha.CertificateDetails}
*/
public final class CertificateDetails extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.admin.v3alpha.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();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CertificateDetails(
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: {
java.lang.String s = input.readStringRequireUtf8();
path_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
serialNumber_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
subjectAltNames_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
subjectAltNames_.add(
input.readMessage(io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.parser(), extensionRegistry));
break;
}
case 32: {
daysUntilExpiration_ = input.readUInt64();
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (validFrom_ != null) {
subBuilder = validFrom_.toBuilder();
}
validFrom_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(validFrom_);
validFrom_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (expirationTime_ != null) {
subBuilder = expirationTime_.toBuilder();
}
expirationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(expirationTime_);
expirationTime_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
subjectAltNames_ = java.util.Collections.unmodifiableList(subjectAltNames_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v3alpha.CertsProto.internal_static_envoy_admin_v3alpha_CertificateDetails_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v3alpha.CertsProto.internal_static_envoy_admin_v3alpha_CertificateDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v3alpha.CertificateDetails.class, io.envoyproxy.envoy.admin.v3alpha.CertificateDetails.Builder.class);
}
public static final int PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object path_;
/**
*
* Path of the certificate.
*
*
* string path = 1;
*/
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;
*/
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;
private volatile java.lang.Object serialNumber_;
/**
*
* Certificate Serial Number.
*
*
* string serial_number = 2;
*/
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;
*/
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;
private java.util.List subjectAltNames_;
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public java.util.List getSubjectAltNamesList() {
return subjectAltNames_;
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public java.util.List extends io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateNameOrBuilder>
getSubjectAltNamesOrBuilderList() {
return subjectAltNames_;
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public int getSubjectAltNamesCount() {
return subjectAltNames_.size();
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName getSubjectAltNames(int index) {
return subjectAltNames_.get(index);
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateNameOrBuilder getSubjectAltNamesOrBuilder(
int index) {
return subjectAltNames_.get(index);
}
public static final int DAYS_UNTIL_EXPIRATION_FIELD_NUMBER = 4;
private long daysUntilExpiration_;
/**
*
* Minimum of days until expiration of certificate and it's chain.
*
*
* uint64 days_until_expiration = 4;
*/
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;
*/
public boolean hasValidFrom() {
return validFrom_ != null;
}
/**
*
* Indicates the time from which the certificate is valid.
*
*
* .google.protobuf.Timestamp valid_from = 5;
*/
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;
*/
public com.google.protobuf.TimestampOrBuilder getValidFromOrBuilder() {
return getValidFrom();
}
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;
*/
public boolean hasExpirationTime() {
return expirationTime_ != null;
}
/**
*
* Indicates the time at which the certificate expires.
*
*
* .google.protobuf.Timestamp expiration_time = 6;
*/
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;
*/
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() {
return getExpirationTime();
}
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 (!getPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
}
if (!getSerialNumberBytes().isEmpty()) {
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 (validFrom_ != null) {
output.writeMessage(5, getValidFrom());
}
if (expirationTime_ != null) {
output.writeMessage(6, getExpirationTime());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
}
if (!getSerialNumberBytes().isEmpty()) {
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 (validFrom_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getValidFrom());
}
if (expirationTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getExpirationTime());
}
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.admin.v3alpha.CertificateDetails)) {
return super.equals(obj);
}
io.envoyproxy.envoy.admin.v3alpha.CertificateDetails other = (io.envoyproxy.envoy.admin.v3alpha.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 (!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) + 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();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.admin.v3alpha.CertificateDetails parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.CertificateDetails parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.CertificateDetails parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.CertificateDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.CertificateDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.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.v3alpha.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.v3alpha.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;
}
/**
* Protobuf type {@code envoy.admin.v3alpha.CertificateDetails}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.admin.v3alpha.CertificateDetails)
io.envoyproxy.envoy.admin.v3alpha.CertificateDetailsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.admin.v3alpha.CertsProto.internal_static_envoy_admin_v3alpha_CertificateDetails_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.admin.v3alpha.CertsProto.internal_static_envoy_admin_v3alpha_CertificateDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.admin.v3alpha.CertificateDetails.class, io.envoyproxy.envoy.admin.v3alpha.CertificateDetails.Builder.class);
}
// Construct using io.envoyproxy.envoy.admin.v3alpha.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();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
path_ = "";
serialNumber_ = "";
if (subjectAltNamesBuilder_ == null) {
subjectAltNames_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
subjectAltNamesBuilder_.clear();
}
daysUntilExpiration_ = 0L;
if (validFromBuilder_ == null) {
validFrom_ = null;
} else {
validFrom_ = null;
validFromBuilder_ = null;
}
if (expirationTimeBuilder_ == null) {
expirationTime_ = null;
} else {
expirationTime_ = null;
expirationTimeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.admin.v3alpha.CertsProto.internal_static_envoy_admin_v3alpha_CertificateDetails_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.CertificateDetails getDefaultInstanceForType() {
return io.envoyproxy.envoy.admin.v3alpha.CertificateDetails.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.CertificateDetails build() {
io.envoyproxy.envoy.admin.v3alpha.CertificateDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.admin.v3alpha.CertificateDetails buildPartial() {
io.envoyproxy.envoy.admin.v3alpha.CertificateDetails result = new io.envoyproxy.envoy.admin.v3alpha.CertificateDetails(this);
int from_bitField0_ = bitField0_;
result.path_ = path_;
result.serialNumber_ = serialNumber_;
if (subjectAltNamesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
subjectAltNames_ = java.util.Collections.unmodifiableList(subjectAltNames_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.subjectAltNames_ = subjectAltNames_;
} else {
result.subjectAltNames_ = subjectAltNamesBuilder_.build();
}
result.daysUntilExpiration_ = daysUntilExpiration_;
if (validFromBuilder_ == null) {
result.validFrom_ = validFrom_;
} else {
result.validFrom_ = validFromBuilder_.build();
}
if (expirationTimeBuilder_ == null) {
result.expirationTime_ = expirationTime_;
} else {
result.expirationTime_ = expirationTimeBuilder_.build();
}
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.admin.v3alpha.CertificateDetails) {
return mergeFrom((io.envoyproxy.envoy.admin.v3alpha.CertificateDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.admin.v3alpha.CertificateDetails other) {
if (other == io.envoyproxy.envoy.admin.v3alpha.CertificateDetails.getDefaultInstance()) return this;
if (!other.getPath().isEmpty()) {
path_ = other.path_;
onChanged();
}
if (!other.getSerialNumber().isEmpty()) {
serialNumber_ = other.serialNumber_;
onChanged();
}
if (subjectAltNamesBuilder_ == null) {
if (!other.subjectAltNames_.isEmpty()) {
if (subjectAltNames_.isEmpty()) {
subjectAltNames_ = other.subjectAltNames_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSubjectAltNamesIsMutable();
subjectAltNames_.addAll(other.subjectAltNames_);
}
onChanged();
}
} else {
if (!other.subjectAltNames_.isEmpty()) {
if (subjectAltNamesBuilder_.isEmpty()) {
subjectAltNamesBuilder_.dispose();
subjectAltNamesBuilder_ = null;
subjectAltNames_ = other.subjectAltNames_;
bitField0_ = (bitField0_ & ~0x00000001);
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());
}
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.admin.v3alpha.CertificateDetails parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.admin.v3alpha.CertificateDetails) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object path_ = "";
/**
*
* Path of the certificate.
*
*
* string path = 1;
*/
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;
*/
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;
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
path_ = value;
onChanged();
return this;
}
/**
*
* Path of the certificate.
*
*
* string path = 1;
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
*
* Path of the certificate.
*
*
* string path = 1;
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
path_ = value;
onChanged();
return this;
}
private java.lang.Object serialNumber_ = "";
/**
*
* Certificate Serial Number.
*
*
* string serial_number = 2;
*/
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;
*/
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;
*/
public Builder setSerialNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serialNumber_ = value;
onChanged();
return this;
}
/**
*
* Certificate Serial Number.
*
*
* string serial_number = 2;
*/
public Builder clearSerialNumber() {
serialNumber_ = getDefaultInstance().getSerialNumber();
onChanged();
return this;
}
/**
*
* Certificate Serial Number.
*
*
* string serial_number = 2;
*/
public Builder setSerialNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serialNumber_ = value;
onChanged();
return this;
}
private java.util.List subjectAltNames_ =
java.util.Collections.emptyList();
private void ensureSubjectAltNamesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
subjectAltNames_ = new java.util.ArrayList(subjectAltNames_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName, io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.Builder, io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateNameOrBuilder> subjectAltNamesBuilder_;
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.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.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName getSubjectAltNames(int index) {
if (subjectAltNamesBuilder_ == null) {
return subjectAltNames_.get(index);
} else {
return subjectAltNamesBuilder_.getMessage(index);
}
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder setSubjectAltNames(
int index, io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder setSubjectAltNames(
int index, io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder addSubjectAltNames(io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder addSubjectAltNames(
int index, io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder addSubjectAltNames(
io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder addSubjectAltNames(
int index, io.envoyproxy.envoy.admin.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder addAllSubjectAltNames(
java.lang.Iterable extends io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName> 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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public Builder clearSubjectAltNames() {
if (subjectAltNamesBuilder_ == null) {
subjectAltNames_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
subjectAltNamesBuilder_.clear();
}
return this;
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.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.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.Builder getSubjectAltNamesBuilder(
int index) {
return getSubjectAltNamesFieldBuilder().getBuilder(index);
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateNameOrBuilder getSubjectAltNamesOrBuilder(
int index) {
if (subjectAltNamesBuilder_ == null) {
return subjectAltNames_.get(index); } else {
return subjectAltNamesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public java.util.List extends io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateNameOrBuilder>
getSubjectAltNamesOrBuilderList() {
if (subjectAltNamesBuilder_ != null) {
return subjectAltNamesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subjectAltNames_);
}
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.Builder addSubjectAltNamesBuilder() {
return getSubjectAltNamesFieldBuilder().addBuilder(
io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.getDefaultInstance());
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.Builder addSubjectAltNamesBuilder(
int index) {
return getSubjectAltNamesFieldBuilder().addBuilder(
index, io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.getDefaultInstance());
}
/**
*
* List of Subject Alternate names.
*
*
* repeated .envoy.admin.v3alpha.SubjectAlternateName subject_alt_names = 3;
*/
public java.util.List
getSubjectAltNamesBuilderList() {
return getSubjectAltNamesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName, io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.Builder, io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateNameOrBuilder>
getSubjectAltNamesFieldBuilder() {
if (subjectAltNamesBuilder_ == null) {
subjectAltNamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName, io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateName.Builder, io.envoyproxy.envoy.admin.v3alpha.SubjectAlternateNameOrBuilder>(
subjectAltNames_,
((bitField0_ & 0x00000001) != 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;
*/
public long getDaysUntilExpiration() {
return daysUntilExpiration_;
}
/**
*
* Minimum of days until expiration of certificate and it's chain.
*
*
* uint64 days_until_expiration = 4;
*/
public Builder setDaysUntilExpiration(long value) {
daysUntilExpiration_ = value;
onChanged();
return this;
}
/**
*
* Minimum of days until expiration of certificate and it's chain.
*
*
* uint64 days_until_expiration = 4;
*/
public Builder clearDaysUntilExpiration() {
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;
*/
public boolean hasValidFrom() {
return validFromBuilder_ != null || validFrom_ != null;
}
/**
*
* Indicates the time from which the certificate is valid.
*
*
* .google.protobuf.Timestamp valid_from = 5;
*/
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;
onChanged();
} else {
validFromBuilder_.setMessage(value);
}
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();
onChanged();
} else {
validFromBuilder_.setMessage(builderForValue.build());
}
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 (validFrom_ != null) {
validFrom_ =
com.google.protobuf.Timestamp.newBuilder(validFrom_).mergeFrom(value).buildPartial();
} else {
validFrom_ = value;
}
onChanged();
} else {
validFromBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Indicates the time from which the certificate is valid.
*
*
* .google.protobuf.Timestamp valid_from = 5;
*/
public Builder clearValidFrom() {
if (validFromBuilder_ == null) {
validFrom_ = null;
onChanged();
} else {
validFrom_ = null;
validFromBuilder_ = null;
}
return this;
}
/**
*
* Indicates the time from which the certificate is valid.
*
*
* .google.protobuf.Timestamp valid_from = 5;
*/
public com.google.protobuf.Timestamp.Builder getValidFromBuilder() {
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;
*/
public boolean hasExpirationTime() {
return expirationTimeBuilder_ != null || expirationTime_ != null;
}
/**
*
* Indicates the time at which the certificate expires.
*
*
* .google.protobuf.Timestamp expiration_time = 6;
*/
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;
onChanged();
} else {
expirationTimeBuilder_.setMessage(value);
}
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();
onChanged();
} else {
expirationTimeBuilder_.setMessage(builderForValue.build());
}
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 (expirationTime_ != null) {
expirationTime_ =
com.google.protobuf.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial();
} else {
expirationTime_ = value;
}
onChanged();
} else {
expirationTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Indicates the time at which the certificate expires.
*
*
* .google.protobuf.Timestamp expiration_time = 6;
*/
public Builder clearExpirationTime() {
if (expirationTimeBuilder_ == null) {
expirationTime_ = null;
onChanged();
} else {
expirationTime_ = null;
expirationTimeBuilder_ = null;
}
return this;
}
/**
*
* Indicates the time at which the certificate expires.
*
*
* .google.protobuf.Timestamp expiration_time = 6;
*/
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() {
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_;
}
@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.v3alpha.CertificateDetails)
}
// @@protoc_insertion_point(class_scope:envoy.admin.v3alpha.CertificateDetails)
private static final io.envoyproxy.envoy.admin.v3alpha.CertificateDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.admin.v3alpha.CertificateDetails();
}
public static io.envoyproxy.envoy.admin.v3alpha.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 {
return new CertificateDetails(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.admin.v3alpha.CertificateDetails getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}