com.volcengine.service.vod.model.business.VodDomainCertificateInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: volcengine/vod/business/vod_cdn.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.VodDomainCertificateInfo}
*/
public final class VodDomainCertificateInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodDomainCertificateInfo)
VodDomainCertificateInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodDomainCertificateInfo.newBuilder() to construct.
private VodDomainCertificateInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodDomainCertificateInfo() {
certificateId_ = "";
certificateName_ = "";
certificatePub_ = "";
certificatePri_ = "";
httpsStatus_ = "";
expiredAt_ = "";
certificateCenterCertificateId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodDomainCertificateInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodDomainCertificateInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
certificateId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
certificateName_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
certificatePub_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
certificatePri_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
httpsStatus_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
expiredAt_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
certificateCenterCertificateId_ = s;
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodCdn.internal_static_Volcengine_Vod_Models_Business_VodDomainCertificateInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodCdn.internal_static_Volcengine_Vod_Models_Business_VodDomainCertificateInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodDomainCertificateInfo.class, com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder.class);
}
public static final int CERTIFICATEID_FIELD_NUMBER = 1;
private volatile java.lang.Object certificateId_;
/**
*
*证书ID
*
*
* string CertificateId = 1;
* @return The certificateId.
*/
@java.lang.Override
public java.lang.String getCertificateId() {
java.lang.Object ref = certificateId_;
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();
certificateId_ = s;
return s;
}
}
/**
*
*证书ID
*
*
* string CertificateId = 1;
* @return The bytes for certificateId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCertificateIdBytes() {
java.lang.Object ref = certificateId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CERTIFICATENAME_FIELD_NUMBER = 2;
private volatile java.lang.Object certificateName_;
/**
*
*证书名
*
*
* string CertificateName = 2;
* @return The certificateName.
*/
@java.lang.Override
public java.lang.String getCertificateName() {
java.lang.Object ref = certificateName_;
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();
certificateName_ = s;
return s;
}
}
/**
*
*证书名
*
*
* string CertificateName = 2;
* @return The bytes for certificateName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCertificateNameBytes() {
java.lang.Object ref = certificateName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificateName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CERTIFICATEPUB_FIELD_NUMBER = 3;
private volatile java.lang.Object certificatePub_;
/**
*
*证书内容
*
*
* string CertificatePub = 3;
* @return The certificatePub.
*/
@java.lang.Override
public java.lang.String getCertificatePub() {
java.lang.Object ref = certificatePub_;
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();
certificatePub_ = s;
return s;
}
}
/**
*
*证书内容
*
*
* string CertificatePub = 3;
* @return The bytes for certificatePub.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCertificatePubBytes() {
java.lang.Object ref = certificatePub_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificatePub_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CERTIFICATEPRI_FIELD_NUMBER = 4;
private volatile java.lang.Object certificatePri_;
/**
*
*私钥
*
*
* string CertificatePri = 4;
* @return The certificatePri.
*/
@java.lang.Override
public java.lang.String getCertificatePri() {
java.lang.Object ref = certificatePri_;
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();
certificatePri_ = s;
return s;
}
}
/**
*
*私钥
*
*
* string CertificatePri = 4;
* @return The bytes for certificatePri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCertificatePriBytes() {
java.lang.Object ref = certificatePri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificatePri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HTTPSSTATUS_FIELD_NUMBER = 5;
private volatile java.lang.Object httpsStatus_;
/**
*
* Http开启状态
*
*
* string HttpsStatus = 5;
* @return The httpsStatus.
*/
@java.lang.Override
public java.lang.String getHttpsStatus() {
java.lang.Object ref = httpsStatus_;
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();
httpsStatus_ = s;
return s;
}
}
/**
*
* Http开启状态
*
*
* string HttpsStatus = 5;
* @return The bytes for httpsStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHttpsStatusBytes() {
java.lang.Object ref = httpsStatus_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpsStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPIREDAT_FIELD_NUMBER = 6;
private volatile java.lang.Object expiredAt_;
/**
*
* 证书过期时间,格式为"yyyy-MM-dd HH:mm:ss"
*
*
* string ExpiredAt = 6;
* @return The expiredAt.
*/
@java.lang.Override
public java.lang.String getExpiredAt() {
java.lang.Object ref = expiredAt_;
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();
expiredAt_ = s;
return s;
}
}
/**
*
* 证书过期时间,格式为"yyyy-MM-dd HH:mm:ss"
*
*
* string ExpiredAt = 6;
* @return The bytes for expiredAt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExpiredAtBytes() {
java.lang.Object ref = expiredAt_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expiredAt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CERTIFICATECENTERCERTIFICATEID_FIELD_NUMBER = 7;
private volatile java.lang.Object certificateCenterCertificateId_;
/**
*
*证书中心证书ID
*
*
* string CertificateCenterCertificateId = 7;
* @return The certificateCenterCertificateId.
*/
@java.lang.Override
public java.lang.String getCertificateCenterCertificateId() {
java.lang.Object ref = certificateCenterCertificateId_;
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();
certificateCenterCertificateId_ = s;
return s;
}
}
/**
*
*证书中心证书ID
*
*
* string CertificateCenterCertificateId = 7;
* @return The bytes for certificateCenterCertificateId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCertificateCenterCertificateIdBytes() {
java.lang.Object ref = certificateCenterCertificateId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificateCenterCertificateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificateId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, certificateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificateName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, certificateName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificatePub_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, certificatePub_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificatePri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, certificatePri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(httpsStatus_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, httpsStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expiredAt_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, expiredAt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificateCenterCertificateId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, certificateCenterCertificateId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificateId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, certificateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificateName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certificateName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificatePub_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, certificatePub_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificatePri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, certificatePri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(httpsStatus_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, httpsStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expiredAt_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, expiredAt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificateCenterCertificateId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, certificateCenterCertificateId_);
}
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 com.volcengine.service.vod.model.business.VodDomainCertificateInfo)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodDomainCertificateInfo other = (com.volcengine.service.vod.model.business.VodDomainCertificateInfo) obj;
if (!getCertificateId()
.equals(other.getCertificateId())) return false;
if (!getCertificateName()
.equals(other.getCertificateName())) return false;
if (!getCertificatePub()
.equals(other.getCertificatePub())) return false;
if (!getCertificatePri()
.equals(other.getCertificatePri())) return false;
if (!getHttpsStatus()
.equals(other.getHttpsStatus())) return false;
if (!getExpiredAt()
.equals(other.getExpiredAt())) return false;
if (!getCertificateCenterCertificateId()
.equals(other.getCertificateCenterCertificateId())) 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) + CERTIFICATEID_FIELD_NUMBER;
hash = (53 * hash) + getCertificateId().hashCode();
hash = (37 * hash) + CERTIFICATENAME_FIELD_NUMBER;
hash = (53 * hash) + getCertificateName().hashCode();
hash = (37 * hash) + CERTIFICATEPUB_FIELD_NUMBER;
hash = (53 * hash) + getCertificatePub().hashCode();
hash = (37 * hash) + CERTIFICATEPRI_FIELD_NUMBER;
hash = (53 * hash) + getCertificatePri().hashCode();
hash = (37 * hash) + HTTPSSTATUS_FIELD_NUMBER;
hash = (53 * hash) + getHttpsStatus().hashCode();
hash = (37 * hash) + EXPIREDAT_FIELD_NUMBER;
hash = (53 * hash) + getExpiredAt().hashCode();
hash = (37 * hash) + CERTIFICATECENTERCERTIFICATEID_FIELD_NUMBER;
hash = (53 * hash) + getCertificateCenterCertificateId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo 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 com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo 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 com.volcengine.service.vod.model.business.VodDomainCertificateInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo 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(com.volcengine.service.vod.model.business.VodDomainCertificateInfo 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 Volcengine.Vod.Models.Business.VodDomainCertificateInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodDomainCertificateInfo)
com.volcengine.service.vod.model.business.VodDomainCertificateInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodCdn.internal_static_Volcengine_Vod_Models_Business_VodDomainCertificateInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodCdn.internal_static_Volcengine_Vod_Models_Business_VodDomainCertificateInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodDomainCertificateInfo.class, com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodDomainCertificateInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
certificateId_ = "";
certificateName_ = "";
certificatePub_ = "";
certificatePri_ = "";
httpsStatus_ = "";
expiredAt_ = "";
certificateCenterCertificateId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodCdn.internal_static_Volcengine_Vod_Models_Business_VodDomainCertificateInfo_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainCertificateInfo getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodDomainCertificateInfo.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainCertificateInfo build() {
com.volcengine.service.vod.model.business.VodDomainCertificateInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainCertificateInfo buildPartial() {
com.volcengine.service.vod.model.business.VodDomainCertificateInfo result = new com.volcengine.service.vod.model.business.VodDomainCertificateInfo(this);
result.certificateId_ = certificateId_;
result.certificateName_ = certificateName_;
result.certificatePub_ = certificatePub_;
result.certificatePri_ = certificatePri_;
result.httpsStatus_ = httpsStatus_;
result.expiredAt_ = expiredAt_;
result.certificateCenterCertificateId_ = certificateCenterCertificateId_;
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 com.volcengine.service.vod.model.business.VodDomainCertificateInfo) {
return mergeFrom((com.volcengine.service.vod.model.business.VodDomainCertificateInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodDomainCertificateInfo other) {
if (other == com.volcengine.service.vod.model.business.VodDomainCertificateInfo.getDefaultInstance()) return this;
if (!other.getCertificateId().isEmpty()) {
certificateId_ = other.certificateId_;
onChanged();
}
if (!other.getCertificateName().isEmpty()) {
certificateName_ = other.certificateName_;
onChanged();
}
if (!other.getCertificatePub().isEmpty()) {
certificatePub_ = other.certificatePub_;
onChanged();
}
if (!other.getCertificatePri().isEmpty()) {
certificatePri_ = other.certificatePri_;
onChanged();
}
if (!other.getHttpsStatus().isEmpty()) {
httpsStatus_ = other.httpsStatus_;
onChanged();
}
if (!other.getExpiredAt().isEmpty()) {
expiredAt_ = other.expiredAt_;
onChanged();
}
if (!other.getCertificateCenterCertificateId().isEmpty()) {
certificateCenterCertificateId_ = other.certificateCenterCertificateId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.volcengine.service.vod.model.business.VodDomainCertificateInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodDomainCertificateInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object certificateId_ = "";
/**
*
*证书ID
*
*
* string CertificateId = 1;
* @return The certificateId.
*/
public java.lang.String getCertificateId() {
java.lang.Object ref = certificateId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
certificateId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*证书ID
*
*
* string CertificateId = 1;
* @return The bytes for certificateId.
*/
public com.google.protobuf.ByteString
getCertificateIdBytes() {
java.lang.Object ref = certificateId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*证书ID
*
*
* string CertificateId = 1;
* @param value The certificateId to set.
* @return This builder for chaining.
*/
public Builder setCertificateId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
certificateId_ = value;
onChanged();
return this;
}
/**
*
*证书ID
*
*
* string CertificateId = 1;
* @return This builder for chaining.
*/
public Builder clearCertificateId() {
certificateId_ = getDefaultInstance().getCertificateId();
onChanged();
return this;
}
/**
*
*证书ID
*
*
* string CertificateId = 1;
* @param value The bytes for certificateId to set.
* @return This builder for chaining.
*/
public Builder setCertificateIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
certificateId_ = value;
onChanged();
return this;
}
private java.lang.Object certificateName_ = "";
/**
*
*证书名
*
*
* string CertificateName = 2;
* @return The certificateName.
*/
public java.lang.String getCertificateName() {
java.lang.Object ref = certificateName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
certificateName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*证书名
*
*
* string CertificateName = 2;
* @return The bytes for certificateName.
*/
public com.google.protobuf.ByteString
getCertificateNameBytes() {
java.lang.Object ref = certificateName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificateName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*证书名
*
*
* string CertificateName = 2;
* @param value The certificateName to set.
* @return This builder for chaining.
*/
public Builder setCertificateName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
certificateName_ = value;
onChanged();
return this;
}
/**
*
*证书名
*
*
* string CertificateName = 2;
* @return This builder for chaining.
*/
public Builder clearCertificateName() {
certificateName_ = getDefaultInstance().getCertificateName();
onChanged();
return this;
}
/**
*
*证书名
*
*
* string CertificateName = 2;
* @param value The bytes for certificateName to set.
* @return This builder for chaining.
*/
public Builder setCertificateNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
certificateName_ = value;
onChanged();
return this;
}
private java.lang.Object certificatePub_ = "";
/**
*
*证书内容
*
*
* string CertificatePub = 3;
* @return The certificatePub.
*/
public java.lang.String getCertificatePub() {
java.lang.Object ref = certificatePub_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
certificatePub_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*证书内容
*
*
* string CertificatePub = 3;
* @return The bytes for certificatePub.
*/
public com.google.protobuf.ByteString
getCertificatePubBytes() {
java.lang.Object ref = certificatePub_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificatePub_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*证书内容
*
*
* string CertificatePub = 3;
* @param value The certificatePub to set.
* @return This builder for chaining.
*/
public Builder setCertificatePub(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
certificatePub_ = value;
onChanged();
return this;
}
/**
*
*证书内容
*
*
* string CertificatePub = 3;
* @return This builder for chaining.
*/
public Builder clearCertificatePub() {
certificatePub_ = getDefaultInstance().getCertificatePub();
onChanged();
return this;
}
/**
*
*证书内容
*
*
* string CertificatePub = 3;
* @param value The bytes for certificatePub to set.
* @return This builder for chaining.
*/
public Builder setCertificatePubBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
certificatePub_ = value;
onChanged();
return this;
}
private java.lang.Object certificatePri_ = "";
/**
*
*私钥
*
*
* string CertificatePri = 4;
* @return The certificatePri.
*/
public java.lang.String getCertificatePri() {
java.lang.Object ref = certificatePri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
certificatePri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*私钥
*
*
* string CertificatePri = 4;
* @return The bytes for certificatePri.
*/
public com.google.protobuf.ByteString
getCertificatePriBytes() {
java.lang.Object ref = certificatePri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificatePri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*私钥
*
*
* string CertificatePri = 4;
* @param value The certificatePri to set.
* @return This builder for chaining.
*/
public Builder setCertificatePri(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
certificatePri_ = value;
onChanged();
return this;
}
/**
*
*私钥
*
*
* string CertificatePri = 4;
* @return This builder for chaining.
*/
public Builder clearCertificatePri() {
certificatePri_ = getDefaultInstance().getCertificatePri();
onChanged();
return this;
}
/**
*
*私钥
*
*
* string CertificatePri = 4;
* @param value The bytes for certificatePri to set.
* @return This builder for chaining.
*/
public Builder setCertificatePriBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
certificatePri_ = value;
onChanged();
return this;
}
private java.lang.Object httpsStatus_ = "";
/**
*
* Http开启状态
*
*
* string HttpsStatus = 5;
* @return The httpsStatus.
*/
public java.lang.String getHttpsStatus() {
java.lang.Object ref = httpsStatus_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
httpsStatus_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Http开启状态
*
*
* string HttpsStatus = 5;
* @return The bytes for httpsStatus.
*/
public com.google.protobuf.ByteString
getHttpsStatusBytes() {
java.lang.Object ref = httpsStatus_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
httpsStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Http开启状态
*
*
* string HttpsStatus = 5;
* @param value The httpsStatus to set.
* @return This builder for chaining.
*/
public Builder setHttpsStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
httpsStatus_ = value;
onChanged();
return this;
}
/**
*
* Http开启状态
*
*
* string HttpsStatus = 5;
* @return This builder for chaining.
*/
public Builder clearHttpsStatus() {
httpsStatus_ = getDefaultInstance().getHttpsStatus();
onChanged();
return this;
}
/**
*
* Http开启状态
*
*
* string HttpsStatus = 5;
* @param value The bytes for httpsStatus to set.
* @return This builder for chaining.
*/
public Builder setHttpsStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
httpsStatus_ = value;
onChanged();
return this;
}
private java.lang.Object expiredAt_ = "";
/**
*
* 证书过期时间,格式为"yyyy-MM-dd HH:mm:ss"
*
*
* string ExpiredAt = 6;
* @return The expiredAt.
*/
public java.lang.String getExpiredAt() {
java.lang.Object ref = expiredAt_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
expiredAt_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 证书过期时间,格式为"yyyy-MM-dd HH:mm:ss"
*
*
* string ExpiredAt = 6;
* @return The bytes for expiredAt.
*/
public com.google.protobuf.ByteString
getExpiredAtBytes() {
java.lang.Object ref = expiredAt_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expiredAt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 证书过期时间,格式为"yyyy-MM-dd HH:mm:ss"
*
*
* string ExpiredAt = 6;
* @param value The expiredAt to set.
* @return This builder for chaining.
*/
public Builder setExpiredAt(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
expiredAt_ = value;
onChanged();
return this;
}
/**
*
* 证书过期时间,格式为"yyyy-MM-dd HH:mm:ss"
*
*
* string ExpiredAt = 6;
* @return This builder for chaining.
*/
public Builder clearExpiredAt() {
expiredAt_ = getDefaultInstance().getExpiredAt();
onChanged();
return this;
}
/**
*
* 证书过期时间,格式为"yyyy-MM-dd HH:mm:ss"
*
*
* string ExpiredAt = 6;
* @param value The bytes for expiredAt to set.
* @return This builder for chaining.
*/
public Builder setExpiredAtBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
expiredAt_ = value;
onChanged();
return this;
}
private java.lang.Object certificateCenterCertificateId_ = "";
/**
*
*证书中心证书ID
*
*
* string CertificateCenterCertificateId = 7;
* @return The certificateCenterCertificateId.
*/
public java.lang.String getCertificateCenterCertificateId() {
java.lang.Object ref = certificateCenterCertificateId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
certificateCenterCertificateId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*证书中心证书ID
*
*
* string CertificateCenterCertificateId = 7;
* @return The bytes for certificateCenterCertificateId.
*/
public com.google.protobuf.ByteString
getCertificateCenterCertificateIdBytes() {
java.lang.Object ref = certificateCenterCertificateId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
certificateCenterCertificateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*证书中心证书ID
*
*
* string CertificateCenterCertificateId = 7;
* @param value The certificateCenterCertificateId to set.
* @return This builder for chaining.
*/
public Builder setCertificateCenterCertificateId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
certificateCenterCertificateId_ = value;
onChanged();
return this;
}
/**
*
*证书中心证书ID
*
*
* string CertificateCenterCertificateId = 7;
* @return This builder for chaining.
*/
public Builder clearCertificateCenterCertificateId() {
certificateCenterCertificateId_ = getDefaultInstance().getCertificateCenterCertificateId();
onChanged();
return this;
}
/**
*
*证书中心证书ID
*
*
* string CertificateCenterCertificateId = 7;
* @param value The bytes for certificateCenterCertificateId to set.
* @return This builder for chaining.
*/
public Builder setCertificateCenterCertificateIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
certificateCenterCertificateId_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Volcengine.Vod.Models.Business.VodDomainCertificateInfo)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodDomainCertificateInfo)
private static final com.volcengine.service.vod.model.business.VodDomainCertificateInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodDomainCertificateInfo();
}
public static com.volcengine.service.vod.model.business.VodDomainCertificateInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodDomainCertificateInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodDomainCertificateInfo(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 com.volcengine.service.vod.model.business.VodDomainCertificateInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy