com.volcengine.service.vod.model.business.VodDomainoInfo 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.VodDomainoInfo}
*/
public final class VodDomainoInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodDomainoInfo)
VodDomainoInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodDomainoInfo.newBuilder() to construct.
private VodDomainoInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodDomainoInfo() {
domain_ = "";
cname_ = "";
configStatus_ = "";
cnameStatus_ = "";
status_ = "";
createTime_ = "";
updateTime_ = "";
region_ = "";
sources_ = java.util.Collections.emptyList();
lockStatus_ = "";
cdnStatus_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodDomainoInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodDomainoInfo(
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();
domain_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
cname_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
configStatus_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
cnameStatus_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
status_ = s;
break;
}
case 50: {
com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder subBuilder = null;
if (certificate_ != null) {
subBuilder = certificate_.toBuilder();
}
certificate_ = input.readMessage(com.volcengine.service.vod.model.business.VodDomainCertificateInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(certificate_);
certificate_ = subBuilder.buildPartial();
}
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
createTime_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
updateTime_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
region_ = s;
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
sources_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
sources_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodDomainSourceInfo.parser(), extensionRegistry));
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
lockStatus_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
cdnStatus_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
sources_ = java.util.Collections.unmodifiableList(sources_);
}
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_VodDomainoInfo_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_VodDomainoInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodDomainoInfo.class, com.volcengine.service.vod.model.business.VodDomainoInfo.Builder.class);
}
public static final int DOMAIN_FIELD_NUMBER = 1;
private volatile java.lang.Object domain_;
/**
*
*域名
*
*
* string Domain = 1;
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
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();
domain_ = s;
return s;
}
}
/**
*
*域名
*
*
* string Domain = 1;
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CNAME_FIELD_NUMBER = 2;
private volatile java.lang.Object cname_;
/**
*
* cname域名
*
*
* string Cname = 2;
* @return The cname.
*/
@java.lang.Override
public java.lang.String getCname() {
java.lang.Object ref = cname_;
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();
cname_ = s;
return s;
}
}
/**
*
* cname域名
*
*
* string Cname = 2;
* @return The bytes for cname.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCnameBytes() {
java.lang.Object ref = cname_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIGSTATUS_FIELD_NUMBER = 3;
private volatile java.lang.Object configStatus_;
/**
*
*配置状态
*
*
* string ConfigStatus = 3;
* @return The configStatus.
*/
@java.lang.Override
public java.lang.String getConfigStatus() {
java.lang.Object ref = configStatus_;
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();
configStatus_ = s;
return s;
}
}
/**
*
*配置状态
*
*
* string ConfigStatus = 3;
* @return The bytes for configStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getConfigStatusBytes() {
java.lang.Object ref = configStatus_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CNAMESTATUS_FIELD_NUMBER = 4;
private volatile java.lang.Object cnameStatus_;
/**
*
*解析状态
*
*
* string CnameStatus = 4;
* @return The cnameStatus.
*/
@java.lang.Override
public java.lang.String getCnameStatus() {
java.lang.Object ref = cnameStatus_;
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();
cnameStatus_ = s;
return s;
}
}
/**
*
*解析状态
*
*
* string CnameStatus = 4;
* @return The bytes for cnameStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCnameStatusBytes() {
java.lang.Object ref = cnameStatus_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cnameStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 5;
private volatile java.lang.Object status_;
/**
*
*是否开启点播调度
*
*
* string Status = 5;
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
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();
status_ = s;
return s;
}
}
/**
*
*是否开启点播调度
*
*
* string Status = 5;
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CERTIFICATE_FIELD_NUMBER = 6;
private com.volcengine.service.vod.model.business.VodDomainCertificateInfo certificate_;
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
* @return Whether the certificate field is set.
*/
@java.lang.Override
public boolean hasCertificate() {
return certificate_ != null;
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
* @return The certificate.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainCertificateInfo getCertificate() {
return certificate_ == null ? com.volcengine.service.vod.model.business.VodDomainCertificateInfo.getDefaultInstance() : certificate_;
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainCertificateInfoOrBuilder getCertificateOrBuilder() {
return getCertificate();
}
public static final int CREATETIME_FIELD_NUMBER = 7;
private volatile java.lang.Object createTime_;
/**
*
*创建时间
*
*
* string CreateTime = 7;
* @return The createTime.
*/
@java.lang.Override
public java.lang.String getCreateTime() {
java.lang.Object ref = createTime_;
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();
createTime_ = s;
return s;
}
}
/**
*
*创建时间
*
*
* string CreateTime = 7;
* @return The bytes for createTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCreateTimeBytes() {
java.lang.Object ref = createTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
createTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UPDATETIME_FIELD_NUMBER = 8;
private volatile java.lang.Object updateTime_;
/**
*
*更新时间
*
*
* string UpdateTime = 8;
* @return The updateTime.
*/
@java.lang.Override
public java.lang.String getUpdateTime() {
java.lang.Object ref = updateTime_;
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();
updateTime_ = s;
return s;
}
}
/**
*
*更新时间
*
*
* string UpdateTime = 8;
* @return The bytes for updateTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUpdateTimeBytes() {
java.lang.Object ref = updateTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
updateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REGION_FIELD_NUMBER = 9;
private volatile java.lang.Object region_;
/**
*
*加速区域,cn:国内,overseas:海外,global:全球
*
*
* string Region = 9;
* @return The region.
*/
@java.lang.Override
public java.lang.String getRegion() {
java.lang.Object ref = region_;
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();
region_ = s;
return s;
}
}
/**
*
*加速区域,cn:国内,overseas:海外,global:全球
*
*
* string Region = 9;
* @return The bytes for region.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCES_FIELD_NUMBER = 10;
private java.util.List sources_;
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
@java.lang.Override
public java.util.List getSourcesList() {
return sources_;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodDomainSourceInfoOrBuilder>
getSourcesOrBuilderList() {
return sources_;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
@java.lang.Override
public int getSourcesCount() {
return sources_.size();
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainSourceInfo getSources(int index) {
return sources_.get(index);
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainSourceInfoOrBuilder getSourcesOrBuilder(
int index) {
return sources_.get(index);
}
public static final int LOCKSTATUS_FIELD_NUMBER = 11;
private volatile java.lang.Object lockStatus_;
/**
*
*是否锁定,可否配置
*
*
* string LockStatus = 11;
* @return The lockStatus.
*/
@java.lang.Override
public java.lang.String getLockStatus() {
java.lang.Object ref = lockStatus_;
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();
lockStatus_ = s;
return s;
}
}
/**
*
*是否锁定,可否配置
*
*
* string LockStatus = 11;
* @return The bytes for lockStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLockStatusBytes() {
java.lang.Object ref = lockStatus_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lockStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CDNSTATUS_FIELD_NUMBER = 12;
private volatile java.lang.Object cdnStatus_;
/**
*
*在CDN侧是否启用停用
*
*
* string CdnStatus = 12;
* @return The cdnStatus.
*/
@java.lang.Override
public java.lang.String getCdnStatus() {
java.lang.Object ref = cdnStatus_;
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();
cdnStatus_ = s;
return s;
}
}
/**
*
*在CDN侧是否启用停用
*
*
* string CdnStatus = 12;
* @return The bytes for cdnStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCdnStatusBytes() {
java.lang.Object ref = cdnStatus_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cdnStatus_ = 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(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cname_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configStatus_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, configStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cnameStatus_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, cnameStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, status_);
}
if (certificate_ != null) {
output.writeMessage(6, getCertificate());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, createTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updateTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, updateTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, region_);
}
for (int i = 0; i < sources_.size(); i++) {
output.writeMessage(10, sources_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lockStatus_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, lockStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cdnStatus_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, cdnStatus_);
}
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(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domain_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cname_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(configStatus_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, configStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cnameStatus_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, cnameStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, status_);
}
if (certificate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getCertificate());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, createTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updateTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, updateTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, region_);
}
for (int i = 0; i < sources_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, sources_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lockStatus_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, lockStatus_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cdnStatus_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, cdnStatus_);
}
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.VodDomainoInfo)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodDomainoInfo other = (com.volcengine.service.vod.model.business.VodDomainoInfo) obj;
if (!getDomain()
.equals(other.getDomain())) return false;
if (!getCname()
.equals(other.getCname())) return false;
if (!getConfigStatus()
.equals(other.getConfigStatus())) return false;
if (!getCnameStatus()
.equals(other.getCnameStatus())) return false;
if (!getStatus()
.equals(other.getStatus())) return false;
if (hasCertificate() != other.hasCertificate()) return false;
if (hasCertificate()) {
if (!getCertificate()
.equals(other.getCertificate())) return false;
}
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
if (!getUpdateTime()
.equals(other.getUpdateTime())) return false;
if (!getRegion()
.equals(other.getRegion())) return false;
if (!getSourcesList()
.equals(other.getSourcesList())) return false;
if (!getLockStatus()
.equals(other.getLockStatus())) return false;
if (!getCdnStatus()
.equals(other.getCdnStatus())) 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) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
hash = (37 * hash) + CNAME_FIELD_NUMBER;
hash = (53 * hash) + getCname().hashCode();
hash = (37 * hash) + CONFIGSTATUS_FIELD_NUMBER;
hash = (53 * hash) + getConfigStatus().hashCode();
hash = (37 * hash) + CNAMESTATUS_FIELD_NUMBER;
hash = (53 * hash) + getCnameStatus().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
if (hasCertificate()) {
hash = (37 * hash) + CERTIFICATE_FIELD_NUMBER;
hash = (53 * hash) + getCertificate().hashCode();
}
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
hash = (37 * hash) + UPDATETIME_FIELD_NUMBER;
hash = (53 * hash) + getUpdateTime().hashCode();
hash = (37 * hash) + REGION_FIELD_NUMBER;
hash = (53 * hash) + getRegion().hashCode();
if (getSourcesCount() > 0) {
hash = (37 * hash) + SOURCES_FIELD_NUMBER;
hash = (53 * hash) + getSourcesList().hashCode();
}
hash = (37 * hash) + LOCKSTATUS_FIELD_NUMBER;
hash = (53 * hash) + getLockStatus().hashCode();
hash = (37 * hash) + CDNSTATUS_FIELD_NUMBER;
hash = (53 * hash) + getCdnStatus().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodDomainoInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodDomainoInfo 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.VodDomainoInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodDomainoInfo 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.VodDomainoInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodDomainoInfo 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.VodDomainoInfo 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.VodDomainoInfo 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.VodDomainoInfo 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.VodDomainoInfo 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.VodDomainoInfo 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.VodDomainoInfo 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.VodDomainoInfo 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.VodDomainoInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodDomainoInfo)
com.volcengine.service.vod.model.business.VodDomainoInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodCdn.internal_static_Volcengine_Vod_Models_Business_VodDomainoInfo_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_VodDomainoInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodDomainoInfo.class, com.volcengine.service.vod.model.business.VodDomainoInfo.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodDomainoInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSourcesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
domain_ = "";
cname_ = "";
configStatus_ = "";
cnameStatus_ = "";
status_ = "";
if (certificateBuilder_ == null) {
certificate_ = null;
} else {
certificate_ = null;
certificateBuilder_ = null;
}
createTime_ = "";
updateTime_ = "";
region_ = "";
if (sourcesBuilder_ == null) {
sources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
sourcesBuilder_.clear();
}
lockStatus_ = "";
cdnStatus_ = "";
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_VodDomainoInfo_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainoInfo getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodDomainoInfo.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainoInfo build() {
com.volcengine.service.vod.model.business.VodDomainoInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodDomainoInfo buildPartial() {
com.volcengine.service.vod.model.business.VodDomainoInfo result = new com.volcengine.service.vod.model.business.VodDomainoInfo(this);
int from_bitField0_ = bitField0_;
result.domain_ = domain_;
result.cname_ = cname_;
result.configStatus_ = configStatus_;
result.cnameStatus_ = cnameStatus_;
result.status_ = status_;
if (certificateBuilder_ == null) {
result.certificate_ = certificate_;
} else {
result.certificate_ = certificateBuilder_.build();
}
result.createTime_ = createTime_;
result.updateTime_ = updateTime_;
result.region_ = region_;
if (sourcesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
sources_ = java.util.Collections.unmodifiableList(sources_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.sources_ = sources_;
} else {
result.sources_ = sourcesBuilder_.build();
}
result.lockStatus_ = lockStatus_;
result.cdnStatus_ = cdnStatus_;
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.VodDomainoInfo) {
return mergeFrom((com.volcengine.service.vod.model.business.VodDomainoInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodDomainoInfo other) {
if (other == com.volcengine.service.vod.model.business.VodDomainoInfo.getDefaultInstance()) return this;
if (!other.getDomain().isEmpty()) {
domain_ = other.domain_;
onChanged();
}
if (!other.getCname().isEmpty()) {
cname_ = other.cname_;
onChanged();
}
if (!other.getConfigStatus().isEmpty()) {
configStatus_ = other.configStatus_;
onChanged();
}
if (!other.getCnameStatus().isEmpty()) {
cnameStatus_ = other.cnameStatus_;
onChanged();
}
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
onChanged();
}
if (other.hasCertificate()) {
mergeCertificate(other.getCertificate());
}
if (!other.getCreateTime().isEmpty()) {
createTime_ = other.createTime_;
onChanged();
}
if (!other.getUpdateTime().isEmpty()) {
updateTime_ = other.updateTime_;
onChanged();
}
if (!other.getRegion().isEmpty()) {
region_ = other.region_;
onChanged();
}
if (sourcesBuilder_ == null) {
if (!other.sources_.isEmpty()) {
if (sources_.isEmpty()) {
sources_ = other.sources_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSourcesIsMutable();
sources_.addAll(other.sources_);
}
onChanged();
}
} else {
if (!other.sources_.isEmpty()) {
if (sourcesBuilder_.isEmpty()) {
sourcesBuilder_.dispose();
sourcesBuilder_ = null;
sources_ = other.sources_;
bitField0_ = (bitField0_ & ~0x00000001);
sourcesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSourcesFieldBuilder() : null;
} else {
sourcesBuilder_.addAllMessages(other.sources_);
}
}
}
if (!other.getLockStatus().isEmpty()) {
lockStatus_ = other.lockStatus_;
onChanged();
}
if (!other.getCdnStatus().isEmpty()) {
cdnStatus_ = other.cdnStatus_;
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.VodDomainoInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodDomainoInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object domain_ = "";
/**
*
*域名
*
*
* string Domain = 1;
* @return The domain.
*/
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*域名
*
*
* string Domain = 1;
* @return The bytes for domain.
*/
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*域名
*
*
* string Domain = 1;
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
domain_ = value;
onChanged();
return this;
}
/**
*
*域名
*
*
* string Domain = 1;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
/**
*
*域名
*
*
* string Domain = 1;
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
domain_ = value;
onChanged();
return this;
}
private java.lang.Object cname_ = "";
/**
*
* cname域名
*
*
* string Cname = 2;
* @return The cname.
*/
public java.lang.String getCname() {
java.lang.Object ref = cname_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cname_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* cname域名
*
*
* string Cname = 2;
* @return The bytes for cname.
*/
public com.google.protobuf.ByteString
getCnameBytes() {
java.lang.Object ref = cname_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cname_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* cname域名
*
*
* string Cname = 2;
* @param value The cname to set.
* @return This builder for chaining.
*/
public Builder setCname(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cname_ = value;
onChanged();
return this;
}
/**
*
* cname域名
*
*
* string Cname = 2;
* @return This builder for chaining.
*/
public Builder clearCname() {
cname_ = getDefaultInstance().getCname();
onChanged();
return this;
}
/**
*
* cname域名
*
*
* string Cname = 2;
* @param value The bytes for cname to set.
* @return This builder for chaining.
*/
public Builder setCnameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cname_ = value;
onChanged();
return this;
}
private java.lang.Object configStatus_ = "";
/**
*
*配置状态
*
*
* string ConfigStatus = 3;
* @return The configStatus.
*/
public java.lang.String getConfigStatus() {
java.lang.Object ref = configStatus_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
configStatus_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*配置状态
*
*
* string ConfigStatus = 3;
* @return The bytes for configStatus.
*/
public com.google.protobuf.ByteString
getConfigStatusBytes() {
java.lang.Object ref = configStatus_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*配置状态
*
*
* string ConfigStatus = 3;
* @param value The configStatus to set.
* @return This builder for chaining.
*/
public Builder setConfigStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
configStatus_ = value;
onChanged();
return this;
}
/**
*
*配置状态
*
*
* string ConfigStatus = 3;
* @return This builder for chaining.
*/
public Builder clearConfigStatus() {
configStatus_ = getDefaultInstance().getConfigStatus();
onChanged();
return this;
}
/**
*
*配置状态
*
*
* string ConfigStatus = 3;
* @param value The bytes for configStatus to set.
* @return This builder for chaining.
*/
public Builder setConfigStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
configStatus_ = value;
onChanged();
return this;
}
private java.lang.Object cnameStatus_ = "";
/**
*
*解析状态
*
*
* string CnameStatus = 4;
* @return The cnameStatus.
*/
public java.lang.String getCnameStatus() {
java.lang.Object ref = cnameStatus_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cnameStatus_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*解析状态
*
*
* string CnameStatus = 4;
* @return The bytes for cnameStatus.
*/
public com.google.protobuf.ByteString
getCnameStatusBytes() {
java.lang.Object ref = cnameStatus_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cnameStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*解析状态
*
*
* string CnameStatus = 4;
* @param value The cnameStatus to set.
* @return This builder for chaining.
*/
public Builder setCnameStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cnameStatus_ = value;
onChanged();
return this;
}
/**
*
*解析状态
*
*
* string CnameStatus = 4;
* @return This builder for chaining.
*/
public Builder clearCnameStatus() {
cnameStatus_ = getDefaultInstance().getCnameStatus();
onChanged();
return this;
}
/**
*
*解析状态
*
*
* string CnameStatus = 4;
* @param value The bytes for cnameStatus to set.
* @return This builder for chaining.
*/
public Builder setCnameStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cnameStatus_ = value;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
*
*是否开启点播调度
*
*
* string Status = 5;
* @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*是否开启点播调度
*
*
* string Status = 5;
* @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*是否开启点播调度
*
*
* string Status = 5;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
return this;
}
/**
*
*是否开启点播调度
*
*
* string Status = 5;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
/**
*
*是否开启点播调度
*
*
* string Status = 5;
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
status_ = value;
onChanged();
return this;
}
private com.volcengine.service.vod.model.business.VodDomainCertificateInfo certificate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodDomainCertificateInfo, com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder, com.volcengine.service.vod.model.business.VodDomainCertificateInfoOrBuilder> certificateBuilder_;
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
* @return Whether the certificate field is set.
*/
public boolean hasCertificate() {
return certificateBuilder_ != null || certificate_ != null;
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
* @return The certificate.
*/
public com.volcengine.service.vod.model.business.VodDomainCertificateInfo getCertificate() {
if (certificateBuilder_ == null) {
return certificate_ == null ? com.volcengine.service.vod.model.business.VodDomainCertificateInfo.getDefaultInstance() : certificate_;
} else {
return certificateBuilder_.getMessage();
}
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
public Builder setCertificate(com.volcengine.service.vod.model.business.VodDomainCertificateInfo value) {
if (certificateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
certificate_ = value;
onChanged();
} else {
certificateBuilder_.setMessage(value);
}
return this;
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
public Builder setCertificate(
com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder builderForValue) {
if (certificateBuilder_ == null) {
certificate_ = builderForValue.build();
onChanged();
} else {
certificateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
public Builder mergeCertificate(com.volcengine.service.vod.model.business.VodDomainCertificateInfo value) {
if (certificateBuilder_ == null) {
if (certificate_ != null) {
certificate_ =
com.volcengine.service.vod.model.business.VodDomainCertificateInfo.newBuilder(certificate_).mergeFrom(value).buildPartial();
} else {
certificate_ = value;
}
onChanged();
} else {
certificateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
public Builder clearCertificate() {
if (certificateBuilder_ == null) {
certificate_ = null;
onChanged();
} else {
certificate_ = null;
certificateBuilder_ = null;
}
return this;
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
public com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder getCertificateBuilder() {
onChanged();
return getCertificateFieldBuilder().getBuilder();
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
public com.volcengine.service.vod.model.business.VodDomainCertificateInfoOrBuilder getCertificateOrBuilder() {
if (certificateBuilder_ != null) {
return certificateBuilder_.getMessageOrBuilder();
} else {
return certificate_ == null ?
com.volcengine.service.vod.model.business.VodDomainCertificateInfo.getDefaultInstance() : certificate_;
}
}
/**
*
*证书
*
*
* .Volcengine.Vod.Models.Business.VodDomainCertificateInfo Certificate = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodDomainCertificateInfo, com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder, com.volcengine.service.vod.model.business.VodDomainCertificateInfoOrBuilder>
getCertificateFieldBuilder() {
if (certificateBuilder_ == null) {
certificateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodDomainCertificateInfo, com.volcengine.service.vod.model.business.VodDomainCertificateInfo.Builder, com.volcengine.service.vod.model.business.VodDomainCertificateInfoOrBuilder>(
getCertificate(),
getParentForChildren(),
isClean());
certificate_ = null;
}
return certificateBuilder_;
}
private java.lang.Object createTime_ = "";
/**
*
*创建时间
*
*
* string CreateTime = 7;
* @return The createTime.
*/
public java.lang.String getCreateTime() {
java.lang.Object ref = createTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
createTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*创建时间
*
*
* string CreateTime = 7;
* @return The bytes for createTime.
*/
public com.google.protobuf.ByteString
getCreateTimeBytes() {
java.lang.Object ref = createTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
createTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*创建时间
*
*
* string CreateTime = 7;
* @param value The createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
return this;
}
/**
*
*创建时间
*
*
* string CreateTime = 7;
* @return This builder for chaining.
*/
public Builder clearCreateTime() {
createTime_ = getDefaultInstance().getCreateTime();
onChanged();
return this;
}
/**
*
*创建时间
*
*
* string CreateTime = 7;
* @param value The bytes for createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
createTime_ = value;
onChanged();
return this;
}
private java.lang.Object updateTime_ = "";
/**
*
*更新时间
*
*
* string UpdateTime = 8;
* @return The updateTime.
*/
public java.lang.String getUpdateTime() {
java.lang.Object ref = updateTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
updateTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*更新时间
*
*
* string UpdateTime = 8;
* @return The bytes for updateTime.
*/
public com.google.protobuf.ByteString
getUpdateTimeBytes() {
java.lang.Object ref = updateTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
updateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*更新时间
*
*
* string UpdateTime = 8;
* @param value The updateTime to set.
* @return This builder for chaining.
*/
public Builder setUpdateTime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
updateTime_ = value;
onChanged();
return this;
}
/**
*
*更新时间
*
*
* string UpdateTime = 8;
* @return This builder for chaining.
*/
public Builder clearUpdateTime() {
updateTime_ = getDefaultInstance().getUpdateTime();
onChanged();
return this;
}
/**
*
*更新时间
*
*
* string UpdateTime = 8;
* @param value The bytes for updateTime to set.
* @return This builder for chaining.
*/
public Builder setUpdateTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
updateTime_ = value;
onChanged();
return this;
}
private java.lang.Object region_ = "";
/**
*
*加速区域,cn:国内,overseas:海外,global:全球
*
*
* string Region = 9;
* @return The region.
*/
public java.lang.String getRegion() {
java.lang.Object ref = region_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
region_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*加速区域,cn:国内,overseas:海外,global:全球
*
*
* string Region = 9;
* @return The bytes for region.
*/
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*加速区域,cn:国内,overseas:海外,global:全球
*
*
* string Region = 9;
* @param value The region to set.
* @return This builder for chaining.
*/
public Builder setRegion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
region_ = value;
onChanged();
return this;
}
/**
*
*加速区域,cn:国内,overseas:海外,global:全球
*
*
* string Region = 9;
* @return This builder for chaining.
*/
public Builder clearRegion() {
region_ = getDefaultInstance().getRegion();
onChanged();
return this;
}
/**
*
*加速区域,cn:国内,overseas:海外,global:全球
*
*
* string Region = 9;
* @param value The bytes for region to set.
* @return This builder for chaining.
*/
public Builder setRegionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
region_ = value;
onChanged();
return this;
}
private java.util.List sources_ =
java.util.Collections.emptyList();
private void ensureSourcesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
sources_ = new java.util.ArrayList(sources_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodDomainSourceInfo, com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder, com.volcengine.service.vod.model.business.VodDomainSourceInfoOrBuilder> sourcesBuilder_;
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public java.util.List getSourcesList() {
if (sourcesBuilder_ == null) {
return java.util.Collections.unmodifiableList(sources_);
} else {
return sourcesBuilder_.getMessageList();
}
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public int getSourcesCount() {
if (sourcesBuilder_ == null) {
return sources_.size();
} else {
return sourcesBuilder_.getCount();
}
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public com.volcengine.service.vod.model.business.VodDomainSourceInfo getSources(int index) {
if (sourcesBuilder_ == null) {
return sources_.get(index);
} else {
return sourcesBuilder_.getMessage(index);
}
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder setSources(
int index, com.volcengine.service.vod.model.business.VodDomainSourceInfo value) {
if (sourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.set(index, value);
onChanged();
} else {
sourcesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder setSources(
int index, com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder builderForValue) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.set(index, builderForValue.build());
onChanged();
} else {
sourcesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder addSources(com.volcengine.service.vod.model.business.VodDomainSourceInfo value) {
if (sourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.add(value);
onChanged();
} else {
sourcesBuilder_.addMessage(value);
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder addSources(
int index, com.volcengine.service.vod.model.business.VodDomainSourceInfo value) {
if (sourcesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSourcesIsMutable();
sources_.add(index, value);
onChanged();
} else {
sourcesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder addSources(
com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder builderForValue) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.add(builderForValue.build());
onChanged();
} else {
sourcesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder addSources(
int index, com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder builderForValue) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.add(index, builderForValue.build());
onChanged();
} else {
sourcesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder addAllSources(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodDomainSourceInfo> values) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, sources_);
onChanged();
} else {
sourcesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder clearSources() {
if (sourcesBuilder_ == null) {
sources_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
sourcesBuilder_.clear();
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public Builder removeSources(int index) {
if (sourcesBuilder_ == null) {
ensureSourcesIsMutable();
sources_.remove(index);
onChanged();
} else {
sourcesBuilder_.remove(index);
}
return this;
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder getSourcesBuilder(
int index) {
return getSourcesFieldBuilder().getBuilder(index);
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public com.volcengine.service.vod.model.business.VodDomainSourceInfoOrBuilder getSourcesOrBuilder(
int index) {
if (sourcesBuilder_ == null) {
return sources_.get(index); } else {
return sourcesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodDomainSourceInfoOrBuilder>
getSourcesOrBuilderList() {
if (sourcesBuilder_ != null) {
return sourcesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sources_);
}
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder addSourcesBuilder() {
return getSourcesFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodDomainSourceInfo.getDefaultInstance());
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder addSourcesBuilder(
int index) {
return getSourcesFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodDomainSourceInfo.getDefaultInstance());
}
/**
*
* 源站信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodDomainSourceInfo Sources = 10;
*/
public java.util.List
getSourcesBuilderList() {
return getSourcesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodDomainSourceInfo, com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder, com.volcengine.service.vod.model.business.VodDomainSourceInfoOrBuilder>
getSourcesFieldBuilder() {
if (sourcesBuilder_ == null) {
sourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodDomainSourceInfo, com.volcengine.service.vod.model.business.VodDomainSourceInfo.Builder, com.volcengine.service.vod.model.business.VodDomainSourceInfoOrBuilder>(
sources_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
sources_ = null;
}
return sourcesBuilder_;
}
private java.lang.Object lockStatus_ = "";
/**
*
*是否锁定,可否配置
*
*
* string LockStatus = 11;
* @return The lockStatus.
*/
public java.lang.String getLockStatus() {
java.lang.Object ref = lockStatus_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lockStatus_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*是否锁定,可否配置
*
*
* string LockStatus = 11;
* @return The bytes for lockStatus.
*/
public com.google.protobuf.ByteString
getLockStatusBytes() {
java.lang.Object ref = lockStatus_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lockStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*是否锁定,可否配置
*
*
* string LockStatus = 11;
* @param value The lockStatus to set.
* @return This builder for chaining.
*/
public Builder setLockStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
lockStatus_ = value;
onChanged();
return this;
}
/**
*
*是否锁定,可否配置
*
*
* string LockStatus = 11;
* @return This builder for chaining.
*/
public Builder clearLockStatus() {
lockStatus_ = getDefaultInstance().getLockStatus();
onChanged();
return this;
}
/**
*
*是否锁定,可否配置
*
*
* string LockStatus = 11;
* @param value The bytes for lockStatus to set.
* @return This builder for chaining.
*/
public Builder setLockStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
lockStatus_ = value;
onChanged();
return this;
}
private java.lang.Object cdnStatus_ = "";
/**
*
*在CDN侧是否启用停用
*
*
* string CdnStatus = 12;
* @return The cdnStatus.
*/
public java.lang.String getCdnStatus() {
java.lang.Object ref = cdnStatus_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cdnStatus_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*在CDN侧是否启用停用
*
*
* string CdnStatus = 12;
* @return The bytes for cdnStatus.
*/
public com.google.protobuf.ByteString
getCdnStatusBytes() {
java.lang.Object ref = cdnStatus_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cdnStatus_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*在CDN侧是否启用停用
*
*
* string CdnStatus = 12;
* @param value The cdnStatus to set.
* @return This builder for chaining.
*/
public Builder setCdnStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cdnStatus_ = value;
onChanged();
return this;
}
/**
*
*在CDN侧是否启用停用
*
*
* string CdnStatus = 12;
* @return This builder for chaining.
*/
public Builder clearCdnStatus() {
cdnStatus_ = getDefaultInstance().getCdnStatus();
onChanged();
return this;
}
/**
*
*在CDN侧是否启用停用
*
*
* string CdnStatus = 12;
* @param value The bytes for cdnStatus to set.
* @return This builder for chaining.
*/
public Builder setCdnStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cdnStatus_ = 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.VodDomainoInfo)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodDomainoInfo)
private static final com.volcengine.service.vod.model.business.VodDomainoInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodDomainoInfo();
}
public static com.volcengine.service.vod.model.business.VodDomainoInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodDomainoInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodDomainoInfo(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.VodDomainoInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy