com.volcengine.service.vod.model.request.VodCreateDomainV3Request 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/request/request_vod.proto
package com.volcengine.service.vod.model.request;
/**
* Protobuf type {@code Volcengine.Vod.Models.Request.VodCreateDomainV3Request}
*/
public final class VodCreateDomainV3Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodCreateDomainV3Request)
VodCreateDomainV3RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodCreateDomainV3Request.newBuilder() to construct.
private VodCreateDomainV3Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodCreateDomainV3Request() {
spaceName_ = "";
domainType_ = "";
domain_ = "";
area_ = "";
bucketName_ = "";
origin_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodCreateDomainV3Request();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodCreateDomainV3Request(
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();
spaceName_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
domainType_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
domain_ = s;
break;
}
case 40: {
sourceStationType_ = input.readInt32();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
area_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
bucketName_ = s;
break;
}
case 82: {
com.volcengine.service.vod.model.business.IPv6.Builder subBuilder = null;
if (iPv6_ != null) {
subBuilder = iPv6_.toBuilder();
}
iPv6_ = input.readMessage(com.volcengine.service.vod.model.business.IPv6.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(iPv6_);
iPv6_ = subBuilder.buildPartial();
}
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
origin_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
origin_.add(
input.readMessage(com.volcengine.service.vod.model.business.CdnOriginRule.parser(), extensionRegistry));
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)) {
origin_ = java.util.Collections.unmodifiableList(origin_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodCreateDomainV3Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodCreateDomainV3Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodCreateDomainV3Request.class, com.volcengine.service.vod.model.request.VodCreateDomainV3Request.Builder.class);
}
public static final int SPACENAME_FIELD_NUMBER = 1;
private volatile java.lang.Object spaceName_;
/**
* string SpaceName = 1;
* @return The spaceName.
*/
@java.lang.Override
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
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();
spaceName_ = s;
return s;
}
}
/**
* string SpaceName = 1;
* @return The bytes for spaceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOMAINTYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object domainType_;
/**
* string DomainType = 2;
* @return The domainType.
*/
@java.lang.Override
public java.lang.String getDomainType() {
java.lang.Object ref = domainType_;
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();
domainType_ = s;
return s;
}
}
/**
* string DomainType = 2;
* @return The bytes for domainType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainTypeBytes() {
java.lang.Object ref = domainType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domainType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DOMAIN_FIELD_NUMBER = 3;
private volatile java.lang.Object domain_;
/**
*
* 域名
*
*
* string Domain = 3;
* @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 = 3;
* @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 SOURCESTATIONTYPE_FIELD_NUMBER = 5;
private int sourceStationType_;
/**
* int32 SourceStationType = 5;
* @return The sourceStationType.
*/
@java.lang.Override
public int getSourceStationType() {
return sourceStationType_;
}
public static final int AREA_FIELD_NUMBER = 8;
private volatile java.lang.Object area_;
/**
*
*地区
*
*
* string Area = 8;
* @return The area.
*/
@java.lang.Override
public java.lang.String getArea() {
java.lang.Object ref = area_;
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();
area_ = s;
return s;
}
}
/**
*
*地区
*
*
* string Area = 8;
* @return The bytes for area.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAreaBytes() {
java.lang.Object ref = area_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
area_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BUCKETNAME_FIELD_NUMBER = 9;
private volatile java.lang.Object bucketName_;
/**
*
*挂载tos 桶名称
*
*
* string BucketName = 9;
* @return The bucketName.
*/
@java.lang.Override
public java.lang.String getBucketName() {
java.lang.Object ref = bucketName_;
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();
bucketName_ = s;
return s;
}
}
/**
*
*挂载tos 桶名称
*
*
* string BucketName = 9;
* @return The bytes for bucketName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBucketNameBytes() {
java.lang.Object ref = bucketName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucketName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IPV6_FIELD_NUMBER = 10;
private com.volcengine.service.vod.model.business.IPv6 iPv6_;
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
* @return Whether the iPv6 field is set.
*/
@java.lang.Override
public boolean hasIPv6() {
return iPv6_ != null;
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
* @return The iPv6.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.IPv6 getIPv6() {
return iPv6_ == null ? com.volcengine.service.vod.model.business.IPv6.getDefaultInstance() : iPv6_;
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.IPv6OrBuilder getIPv6OrBuilder() {
return getIPv6();
}
public static final int ORIGIN_FIELD_NUMBER = 11;
private java.util.List origin_;
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
@java.lang.Override
public java.util.List getOriginList() {
return origin_;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.CdnOriginRuleOrBuilder>
getOriginOrBuilderList() {
return origin_;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
@java.lang.Override
public int getOriginCount() {
return origin_.size();
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.CdnOriginRule getOrigin(int index) {
return origin_.get(index);
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.CdnOriginRuleOrBuilder getOriginOrBuilder(
int index) {
return origin_.get(index);
}
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(spaceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domainType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, domain_);
}
if (sourceStationType_ != 0) {
output.writeInt32(5, sourceStationType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, area_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, bucketName_);
}
if (iPv6_ != null) {
output.writeMessage(10, getIPv6());
}
for (int i = 0; i < origin_.size(); i++) {
output.writeMessage(11, origin_.get(i));
}
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(spaceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domainType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domainType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, domain_);
}
if (sourceStationType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, sourceStationType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, area_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bucketName_);
}
if (iPv6_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getIPv6());
}
for (int i = 0; i < origin_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, origin_.get(i));
}
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.request.VodCreateDomainV3Request)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.request.VodCreateDomainV3Request other = (com.volcengine.service.vod.model.request.VodCreateDomainV3Request) obj;
if (!getSpaceName()
.equals(other.getSpaceName())) return false;
if (!getDomainType()
.equals(other.getDomainType())) return false;
if (!getDomain()
.equals(other.getDomain())) return false;
if (getSourceStationType()
!= other.getSourceStationType()) return false;
if (!getArea()
.equals(other.getArea())) return false;
if (!getBucketName()
.equals(other.getBucketName())) return false;
if (hasIPv6() != other.hasIPv6()) return false;
if (hasIPv6()) {
if (!getIPv6()
.equals(other.getIPv6())) return false;
}
if (!getOriginList()
.equals(other.getOriginList())) 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) + SPACENAME_FIELD_NUMBER;
hash = (53 * hash) + getSpaceName().hashCode();
hash = (37 * hash) + DOMAINTYPE_FIELD_NUMBER;
hash = (53 * hash) + getDomainType().hashCode();
hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
hash = (37 * hash) + SOURCESTATIONTYPE_FIELD_NUMBER;
hash = (53 * hash) + getSourceStationType();
hash = (37 * hash) + AREA_FIELD_NUMBER;
hash = (53 * hash) + getArea().hashCode();
hash = (37 * hash) + BUCKETNAME_FIELD_NUMBER;
hash = (53 * hash) + getBucketName().hashCode();
if (hasIPv6()) {
hash = (37 * hash) + IPV6_FIELD_NUMBER;
hash = (53 * hash) + getIPv6().hashCode();
}
if (getOriginCount() > 0) {
hash = (37 * hash) + ORIGIN_FIELD_NUMBER;
hash = (53 * hash) + getOriginList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.request.VodCreateDomainV3Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodCreateDomainV3Request 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.request.VodCreateDomainV3Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodCreateDomainV3Request 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.request.VodCreateDomainV3Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodCreateDomainV3Request 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.request.VodCreateDomainV3Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodCreateDomainV3Request 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.request.VodCreateDomainV3Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodCreateDomainV3Request 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.request.VodCreateDomainV3Request 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.request.VodCreateDomainV3Request 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.request.VodCreateDomainV3Request 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.Request.VodCreateDomainV3Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodCreateDomainV3Request)
com.volcengine.service.vod.model.request.VodCreateDomainV3RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodCreateDomainV3Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodCreateDomainV3Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodCreateDomainV3Request.class, com.volcengine.service.vod.model.request.VodCreateDomainV3Request.Builder.class);
}
// Construct using com.volcengine.service.vod.model.request.VodCreateDomainV3Request.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getOriginFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
spaceName_ = "";
domainType_ = "";
domain_ = "";
sourceStationType_ = 0;
area_ = "";
bucketName_ = "";
if (iPv6Builder_ == null) {
iPv6_ = null;
} else {
iPv6_ = null;
iPv6Builder_ = null;
}
if (originBuilder_ == null) {
origin_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
originBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodCreateDomainV3Request_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodCreateDomainV3Request getDefaultInstanceForType() {
return com.volcengine.service.vod.model.request.VodCreateDomainV3Request.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodCreateDomainV3Request build() {
com.volcengine.service.vod.model.request.VodCreateDomainV3Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodCreateDomainV3Request buildPartial() {
com.volcengine.service.vod.model.request.VodCreateDomainV3Request result = new com.volcengine.service.vod.model.request.VodCreateDomainV3Request(this);
int from_bitField0_ = bitField0_;
result.spaceName_ = spaceName_;
result.domainType_ = domainType_;
result.domain_ = domain_;
result.sourceStationType_ = sourceStationType_;
result.area_ = area_;
result.bucketName_ = bucketName_;
if (iPv6Builder_ == null) {
result.iPv6_ = iPv6_;
} else {
result.iPv6_ = iPv6Builder_.build();
}
if (originBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
origin_ = java.util.Collections.unmodifiableList(origin_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.origin_ = origin_;
} else {
result.origin_ = originBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.volcengine.service.vod.model.request.VodCreateDomainV3Request) {
return mergeFrom((com.volcengine.service.vod.model.request.VodCreateDomainV3Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.request.VodCreateDomainV3Request other) {
if (other == com.volcengine.service.vod.model.request.VodCreateDomainV3Request.getDefaultInstance()) return this;
if (!other.getSpaceName().isEmpty()) {
spaceName_ = other.spaceName_;
onChanged();
}
if (!other.getDomainType().isEmpty()) {
domainType_ = other.domainType_;
onChanged();
}
if (!other.getDomain().isEmpty()) {
domain_ = other.domain_;
onChanged();
}
if (other.getSourceStationType() != 0) {
setSourceStationType(other.getSourceStationType());
}
if (!other.getArea().isEmpty()) {
area_ = other.area_;
onChanged();
}
if (!other.getBucketName().isEmpty()) {
bucketName_ = other.bucketName_;
onChanged();
}
if (other.hasIPv6()) {
mergeIPv6(other.getIPv6());
}
if (originBuilder_ == null) {
if (!other.origin_.isEmpty()) {
if (origin_.isEmpty()) {
origin_ = other.origin_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureOriginIsMutable();
origin_.addAll(other.origin_);
}
onChanged();
}
} else {
if (!other.origin_.isEmpty()) {
if (originBuilder_.isEmpty()) {
originBuilder_.dispose();
originBuilder_ = null;
origin_ = other.origin_;
bitField0_ = (bitField0_ & ~0x00000001);
originBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOriginFieldBuilder() : null;
} else {
originBuilder_.addAllMessages(other.origin_);
}
}
}
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.request.VodCreateDomainV3Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.request.VodCreateDomainV3Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object spaceName_ = "";
/**
* string SpaceName = 1;
* @return The spaceName.
*/
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spaceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string SpaceName = 1;
* @return The bytes for spaceName.
*/
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string SpaceName = 1;
* @param value The spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spaceName_ = value;
onChanged();
return this;
}
/**
* string SpaceName = 1;
* @return This builder for chaining.
*/
public Builder clearSpaceName() {
spaceName_ = getDefaultInstance().getSpaceName();
onChanged();
return this;
}
/**
* string SpaceName = 1;
* @param value The bytes for spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spaceName_ = value;
onChanged();
return this;
}
private java.lang.Object domainType_ = "";
/**
* string DomainType = 2;
* @return The domainType.
*/
public java.lang.String getDomainType() {
java.lang.Object ref = domainType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domainType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string DomainType = 2;
* @return The bytes for domainType.
*/
public com.google.protobuf.ByteString
getDomainTypeBytes() {
java.lang.Object ref = domainType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domainType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string DomainType = 2;
* @param value The domainType to set.
* @return This builder for chaining.
*/
public Builder setDomainType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
domainType_ = value;
onChanged();
return this;
}
/**
* string DomainType = 2;
* @return This builder for chaining.
*/
public Builder clearDomainType() {
domainType_ = getDefaultInstance().getDomainType();
onChanged();
return this;
}
/**
* string DomainType = 2;
* @param value The bytes for domainType to set.
* @return This builder for chaining.
*/
public Builder setDomainTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
domainType_ = value;
onChanged();
return this;
}
private java.lang.Object domain_ = "";
/**
*
* 域名
*
*
* string Domain = 3;
* @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 = 3;
* @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 = 3;
* @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 = 3;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
/**
*
* 域名
*
*
* string Domain = 3;
* @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 int sourceStationType_ ;
/**
* int32 SourceStationType = 5;
* @return The sourceStationType.
*/
@java.lang.Override
public int getSourceStationType() {
return sourceStationType_;
}
/**
* int32 SourceStationType = 5;
* @param value The sourceStationType to set.
* @return This builder for chaining.
*/
public Builder setSourceStationType(int value) {
sourceStationType_ = value;
onChanged();
return this;
}
/**
* int32 SourceStationType = 5;
* @return This builder for chaining.
*/
public Builder clearSourceStationType() {
sourceStationType_ = 0;
onChanged();
return this;
}
private java.lang.Object area_ = "";
/**
*
*地区
*
*
* string Area = 8;
* @return The area.
*/
public java.lang.String getArea() {
java.lang.Object ref = area_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
area_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*地区
*
*
* string Area = 8;
* @return The bytes for area.
*/
public com.google.protobuf.ByteString
getAreaBytes() {
java.lang.Object ref = area_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
area_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*地区
*
*
* string Area = 8;
* @param value The area to set.
* @return This builder for chaining.
*/
public Builder setArea(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
area_ = value;
onChanged();
return this;
}
/**
*
*地区
*
*
* string Area = 8;
* @return This builder for chaining.
*/
public Builder clearArea() {
area_ = getDefaultInstance().getArea();
onChanged();
return this;
}
/**
*
*地区
*
*
* string Area = 8;
* @param value The bytes for area to set.
* @return This builder for chaining.
*/
public Builder setAreaBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
area_ = value;
onChanged();
return this;
}
private java.lang.Object bucketName_ = "";
/**
*
*挂载tos 桶名称
*
*
* string BucketName = 9;
* @return The bucketName.
*/
public java.lang.String getBucketName() {
java.lang.Object ref = bucketName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bucketName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*挂载tos 桶名称
*
*
* string BucketName = 9;
* @return The bytes for bucketName.
*/
public com.google.protobuf.ByteString
getBucketNameBytes() {
java.lang.Object ref = bucketName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucketName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*挂载tos 桶名称
*
*
* string BucketName = 9;
* @param value The bucketName to set.
* @return This builder for chaining.
*/
public Builder setBucketName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bucketName_ = value;
onChanged();
return this;
}
/**
*
*挂载tos 桶名称
*
*
* string BucketName = 9;
* @return This builder for chaining.
*/
public Builder clearBucketName() {
bucketName_ = getDefaultInstance().getBucketName();
onChanged();
return this;
}
/**
*
*挂载tos 桶名称
*
*
* string BucketName = 9;
* @param value The bytes for bucketName to set.
* @return This builder for chaining.
*/
public Builder setBucketNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bucketName_ = value;
onChanged();
return this;
}
private com.volcengine.service.vod.model.business.IPv6 iPv6_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.IPv6, com.volcengine.service.vod.model.business.IPv6.Builder, com.volcengine.service.vod.model.business.IPv6OrBuilder> iPv6Builder_;
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
* @return Whether the iPv6 field is set.
*/
public boolean hasIPv6() {
return iPv6Builder_ != null || iPv6_ != null;
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
* @return The iPv6.
*/
public com.volcengine.service.vod.model.business.IPv6 getIPv6() {
if (iPv6Builder_ == null) {
return iPv6_ == null ? com.volcengine.service.vod.model.business.IPv6.getDefaultInstance() : iPv6_;
} else {
return iPv6Builder_.getMessage();
}
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
public Builder setIPv6(com.volcengine.service.vod.model.business.IPv6 value) {
if (iPv6Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
iPv6_ = value;
onChanged();
} else {
iPv6Builder_.setMessage(value);
}
return this;
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
public Builder setIPv6(
com.volcengine.service.vod.model.business.IPv6.Builder builderForValue) {
if (iPv6Builder_ == null) {
iPv6_ = builderForValue.build();
onChanged();
} else {
iPv6Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
public Builder mergeIPv6(com.volcengine.service.vod.model.business.IPv6 value) {
if (iPv6Builder_ == null) {
if (iPv6_ != null) {
iPv6_ =
com.volcengine.service.vod.model.business.IPv6.newBuilder(iPv6_).mergeFrom(value).buildPartial();
} else {
iPv6_ = value;
}
onChanged();
} else {
iPv6Builder_.mergeFrom(value);
}
return this;
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
public Builder clearIPv6() {
if (iPv6Builder_ == null) {
iPv6_ = null;
onChanged();
} else {
iPv6_ = null;
iPv6Builder_ = null;
}
return this;
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
public com.volcengine.service.vod.model.business.IPv6.Builder getIPv6Builder() {
onChanged();
return getIPv6FieldBuilder().getBuilder();
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
public com.volcengine.service.vod.model.business.IPv6OrBuilder getIPv6OrBuilder() {
if (iPv6Builder_ != null) {
return iPv6Builder_.getMessageOrBuilder();
} else {
return iPv6_ == null ?
com.volcengine.service.vod.model.business.IPv6.getDefaultInstance() : iPv6_;
}
}
/**
*
* IPV6配置模块
*
*
* .Volcengine.Vod.Models.Business.IPv6 IPv6 = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.IPv6, com.volcengine.service.vod.model.business.IPv6.Builder, com.volcengine.service.vod.model.business.IPv6OrBuilder>
getIPv6FieldBuilder() {
if (iPv6Builder_ == null) {
iPv6Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.IPv6, com.volcengine.service.vod.model.business.IPv6.Builder, com.volcengine.service.vod.model.business.IPv6OrBuilder>(
getIPv6(),
getParentForChildren(),
isClean());
iPv6_ = null;
}
return iPv6Builder_;
}
private java.util.List origin_ =
java.util.Collections.emptyList();
private void ensureOriginIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
origin_ = new java.util.ArrayList(origin_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.CdnOriginRule, com.volcengine.service.vod.model.business.CdnOriginRule.Builder, com.volcengine.service.vod.model.business.CdnOriginRuleOrBuilder> originBuilder_;
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public java.util.List getOriginList() {
if (originBuilder_ == null) {
return java.util.Collections.unmodifiableList(origin_);
} else {
return originBuilder_.getMessageList();
}
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public int getOriginCount() {
if (originBuilder_ == null) {
return origin_.size();
} else {
return originBuilder_.getCount();
}
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public com.volcengine.service.vod.model.business.CdnOriginRule getOrigin(int index) {
if (originBuilder_ == null) {
return origin_.get(index);
} else {
return originBuilder_.getMessage(index);
}
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder setOrigin(
int index, com.volcengine.service.vod.model.business.CdnOriginRule value) {
if (originBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOriginIsMutable();
origin_.set(index, value);
onChanged();
} else {
originBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder setOrigin(
int index, com.volcengine.service.vod.model.business.CdnOriginRule.Builder builderForValue) {
if (originBuilder_ == null) {
ensureOriginIsMutable();
origin_.set(index, builderForValue.build());
onChanged();
} else {
originBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder addOrigin(com.volcengine.service.vod.model.business.CdnOriginRule value) {
if (originBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOriginIsMutable();
origin_.add(value);
onChanged();
} else {
originBuilder_.addMessage(value);
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder addOrigin(
int index, com.volcengine.service.vod.model.business.CdnOriginRule value) {
if (originBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOriginIsMutable();
origin_.add(index, value);
onChanged();
} else {
originBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder addOrigin(
com.volcengine.service.vod.model.business.CdnOriginRule.Builder builderForValue) {
if (originBuilder_ == null) {
ensureOriginIsMutable();
origin_.add(builderForValue.build());
onChanged();
} else {
originBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder addOrigin(
int index, com.volcengine.service.vod.model.business.CdnOriginRule.Builder builderForValue) {
if (originBuilder_ == null) {
ensureOriginIsMutable();
origin_.add(index, builderForValue.build());
onChanged();
} else {
originBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder addAllOrigin(
java.lang.Iterable extends com.volcengine.service.vod.model.business.CdnOriginRule> values) {
if (originBuilder_ == null) {
ensureOriginIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, origin_);
onChanged();
} else {
originBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder clearOrigin() {
if (originBuilder_ == null) {
origin_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
originBuilder_.clear();
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public Builder removeOrigin(int index) {
if (originBuilder_ == null) {
ensureOriginIsMutable();
origin_.remove(index);
onChanged();
} else {
originBuilder_.remove(index);
}
return this;
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public com.volcengine.service.vod.model.business.CdnOriginRule.Builder getOriginBuilder(
int index) {
return getOriginFieldBuilder().getBuilder(index);
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public com.volcengine.service.vod.model.business.CdnOriginRuleOrBuilder getOriginOrBuilder(
int index) {
if (originBuilder_ == null) {
return origin_.get(index); } else {
return originBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public java.util.List extends com.volcengine.service.vod.model.business.CdnOriginRuleOrBuilder>
getOriginOrBuilderList() {
if (originBuilder_ != null) {
return originBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(origin_);
}
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public com.volcengine.service.vod.model.business.CdnOriginRule.Builder addOriginBuilder() {
return getOriginFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.CdnOriginRule.getDefaultInstance());
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public com.volcengine.service.vod.model.business.CdnOriginRule.Builder addOriginBuilder(
int index) {
return getOriginFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.CdnOriginRule.getDefaultInstance());
}
/**
*
* 源站列表。在 SourceStationType 参数取值为
*
*
* repeated .Volcengine.Vod.Models.Business.CdnOriginRule Origin = 11;
*/
public java.util.List
getOriginBuilderList() {
return getOriginFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.CdnOriginRule, com.volcengine.service.vod.model.business.CdnOriginRule.Builder, com.volcengine.service.vod.model.business.CdnOriginRuleOrBuilder>
getOriginFieldBuilder() {
if (originBuilder_ == null) {
originBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.CdnOriginRule, com.volcengine.service.vod.model.business.CdnOriginRule.Builder, com.volcengine.service.vod.model.business.CdnOriginRuleOrBuilder>(
origin_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
origin_ = null;
}
return originBuilder_;
}
@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.Request.VodCreateDomainV3Request)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodCreateDomainV3Request)
private static final com.volcengine.service.vod.model.request.VodCreateDomainV3Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodCreateDomainV3Request();
}
public static com.volcengine.service.vod.model.request.VodCreateDomainV3Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodCreateDomainV3Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodCreateDomainV3Request(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.request.VodCreateDomainV3Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy