com.volcengine.service.vod.model.business.CandidateUploadAddresses 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_upload.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.CandidateUploadAddresses}
*/
public final class CandidateUploadAddresses extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.CandidateUploadAddresses)
CandidateUploadAddressesOrBuilder {
private static final long serialVersionUID = 0L;
// Use CandidateUploadAddresses.newBuilder() to construct.
private CandidateUploadAddresses(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CandidateUploadAddresses() {
mainUploadAddresses_ = java.util.Collections.emptyList();
backupUploadAddresses_ = java.util.Collections.emptyList();
fallbackUploadAddresses_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CandidateUploadAddresses();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CandidateUploadAddresses(
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
mainUploadAddresses_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
mainUploadAddresses_.add(
input.readMessage(com.volcengine.service.vod.model.business.UploadAddress.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
backupUploadAddresses_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
backupUploadAddresses_.add(
input.readMessage(com.volcengine.service.vod.model.business.UploadAddress.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
fallbackUploadAddresses_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
fallbackUploadAddresses_.add(
input.readMessage(com.volcengine.service.vod.model.business.UploadAddress.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)) {
mainUploadAddresses_ = java.util.Collections.unmodifiableList(mainUploadAddresses_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
backupUploadAddresses_ = java.util.Collections.unmodifiableList(backupUploadAddresses_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
fallbackUploadAddresses_ = java.util.Collections.unmodifiableList(fallbackUploadAddresses_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_CandidateUploadAddresses_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_CandidateUploadAddresses_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.CandidateUploadAddresses.class, com.volcengine.service.vod.model.business.CandidateUploadAddresses.Builder.class);
}
public static final int MAINUPLOADADDRESSES_FIELD_NUMBER = 1;
private java.util.List mainUploadAddresses_;
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
@java.lang.Override
public java.util.List getMainUploadAddressesList() {
return mainUploadAddresses_;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getMainUploadAddressesOrBuilderList() {
return mainUploadAddresses_;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
@java.lang.Override
public int getMainUploadAddressesCount() {
return mainUploadAddresses_.size();
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.UploadAddress getMainUploadAddresses(int index) {
return mainUploadAddresses_.get(index);
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.UploadAddressOrBuilder getMainUploadAddressesOrBuilder(
int index) {
return mainUploadAddresses_.get(index);
}
public static final int BACKUPUPLOADADDRESSES_FIELD_NUMBER = 2;
private java.util.List backupUploadAddresses_;
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
@java.lang.Override
public java.util.List getBackupUploadAddressesList() {
return backupUploadAddresses_;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getBackupUploadAddressesOrBuilderList() {
return backupUploadAddresses_;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
@java.lang.Override
public int getBackupUploadAddressesCount() {
return backupUploadAddresses_.size();
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.UploadAddress getBackupUploadAddresses(int index) {
return backupUploadAddresses_.get(index);
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.UploadAddressOrBuilder getBackupUploadAddressesOrBuilder(
int index) {
return backupUploadAddresses_.get(index);
}
public static final int FALLBACKUPLOADADDRESSES_FIELD_NUMBER = 3;
private java.util.List fallbackUploadAddresses_;
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
@java.lang.Override
public java.util.List getFallbackUploadAddressesList() {
return fallbackUploadAddresses_;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getFallbackUploadAddressesOrBuilderList() {
return fallbackUploadAddresses_;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
@java.lang.Override
public int getFallbackUploadAddressesCount() {
return fallbackUploadAddresses_.size();
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.UploadAddress getFallbackUploadAddresses(int index) {
return fallbackUploadAddresses_.get(index);
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.UploadAddressOrBuilder getFallbackUploadAddressesOrBuilder(
int index) {
return fallbackUploadAddresses_.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 {
for (int i = 0; i < mainUploadAddresses_.size(); i++) {
output.writeMessage(1, mainUploadAddresses_.get(i));
}
for (int i = 0; i < backupUploadAddresses_.size(); i++) {
output.writeMessage(2, backupUploadAddresses_.get(i));
}
for (int i = 0; i < fallbackUploadAddresses_.size(); i++) {
output.writeMessage(3, fallbackUploadAddresses_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < mainUploadAddresses_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, mainUploadAddresses_.get(i));
}
for (int i = 0; i < backupUploadAddresses_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, backupUploadAddresses_.get(i));
}
for (int i = 0; i < fallbackUploadAddresses_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, fallbackUploadAddresses_.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.business.CandidateUploadAddresses)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.CandidateUploadAddresses other = (com.volcengine.service.vod.model.business.CandidateUploadAddresses) obj;
if (!getMainUploadAddressesList()
.equals(other.getMainUploadAddressesList())) return false;
if (!getBackupUploadAddressesList()
.equals(other.getBackupUploadAddressesList())) return false;
if (!getFallbackUploadAddressesList()
.equals(other.getFallbackUploadAddressesList())) 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();
if (getMainUploadAddressesCount() > 0) {
hash = (37 * hash) + MAINUPLOADADDRESSES_FIELD_NUMBER;
hash = (53 * hash) + getMainUploadAddressesList().hashCode();
}
if (getBackupUploadAddressesCount() > 0) {
hash = (37 * hash) + BACKUPUPLOADADDRESSES_FIELD_NUMBER;
hash = (53 * hash) + getBackupUploadAddressesList().hashCode();
}
if (getFallbackUploadAddressesCount() > 0) {
hash = (37 * hash) + FALLBACKUPLOADADDRESSES_FIELD_NUMBER;
hash = (53 * hash) + getFallbackUploadAddressesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.CandidateUploadAddresses parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.CandidateUploadAddresses 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.CandidateUploadAddresses parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.CandidateUploadAddresses 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.CandidateUploadAddresses parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.CandidateUploadAddresses 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.CandidateUploadAddresses 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.CandidateUploadAddresses 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.CandidateUploadAddresses 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.CandidateUploadAddresses 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.CandidateUploadAddresses 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.CandidateUploadAddresses 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.CandidateUploadAddresses 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.CandidateUploadAddresses}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.CandidateUploadAddresses)
com.volcengine.service.vod.model.business.CandidateUploadAddressesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_CandidateUploadAddresses_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_CandidateUploadAddresses_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.CandidateUploadAddresses.class, com.volcengine.service.vod.model.business.CandidateUploadAddresses.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.CandidateUploadAddresses.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMainUploadAddressesFieldBuilder();
getBackupUploadAddressesFieldBuilder();
getFallbackUploadAddressesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (mainUploadAddressesBuilder_ == null) {
mainUploadAddresses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
mainUploadAddressesBuilder_.clear();
}
if (backupUploadAddressesBuilder_ == null) {
backupUploadAddresses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
backupUploadAddressesBuilder_.clear();
}
if (fallbackUploadAddressesBuilder_ == null) {
fallbackUploadAddresses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
fallbackUploadAddressesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_CandidateUploadAddresses_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.CandidateUploadAddresses getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.CandidateUploadAddresses.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.CandidateUploadAddresses build() {
com.volcengine.service.vod.model.business.CandidateUploadAddresses result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.CandidateUploadAddresses buildPartial() {
com.volcengine.service.vod.model.business.CandidateUploadAddresses result = new com.volcengine.service.vod.model.business.CandidateUploadAddresses(this);
int from_bitField0_ = bitField0_;
if (mainUploadAddressesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
mainUploadAddresses_ = java.util.Collections.unmodifiableList(mainUploadAddresses_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.mainUploadAddresses_ = mainUploadAddresses_;
} else {
result.mainUploadAddresses_ = mainUploadAddressesBuilder_.build();
}
if (backupUploadAddressesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
backupUploadAddresses_ = java.util.Collections.unmodifiableList(backupUploadAddresses_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.backupUploadAddresses_ = backupUploadAddresses_;
} else {
result.backupUploadAddresses_ = backupUploadAddressesBuilder_.build();
}
if (fallbackUploadAddressesBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
fallbackUploadAddresses_ = java.util.Collections.unmodifiableList(fallbackUploadAddresses_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.fallbackUploadAddresses_ = fallbackUploadAddresses_;
} else {
result.fallbackUploadAddresses_ = fallbackUploadAddressesBuilder_.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.business.CandidateUploadAddresses) {
return mergeFrom((com.volcengine.service.vod.model.business.CandidateUploadAddresses)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.CandidateUploadAddresses other) {
if (other == com.volcengine.service.vod.model.business.CandidateUploadAddresses.getDefaultInstance()) return this;
if (mainUploadAddressesBuilder_ == null) {
if (!other.mainUploadAddresses_.isEmpty()) {
if (mainUploadAddresses_.isEmpty()) {
mainUploadAddresses_ = other.mainUploadAddresses_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.addAll(other.mainUploadAddresses_);
}
onChanged();
}
} else {
if (!other.mainUploadAddresses_.isEmpty()) {
if (mainUploadAddressesBuilder_.isEmpty()) {
mainUploadAddressesBuilder_.dispose();
mainUploadAddressesBuilder_ = null;
mainUploadAddresses_ = other.mainUploadAddresses_;
bitField0_ = (bitField0_ & ~0x00000001);
mainUploadAddressesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMainUploadAddressesFieldBuilder() : null;
} else {
mainUploadAddressesBuilder_.addAllMessages(other.mainUploadAddresses_);
}
}
}
if (backupUploadAddressesBuilder_ == null) {
if (!other.backupUploadAddresses_.isEmpty()) {
if (backupUploadAddresses_.isEmpty()) {
backupUploadAddresses_ = other.backupUploadAddresses_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.addAll(other.backupUploadAddresses_);
}
onChanged();
}
} else {
if (!other.backupUploadAddresses_.isEmpty()) {
if (backupUploadAddressesBuilder_.isEmpty()) {
backupUploadAddressesBuilder_.dispose();
backupUploadAddressesBuilder_ = null;
backupUploadAddresses_ = other.backupUploadAddresses_;
bitField0_ = (bitField0_ & ~0x00000002);
backupUploadAddressesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBackupUploadAddressesFieldBuilder() : null;
} else {
backupUploadAddressesBuilder_.addAllMessages(other.backupUploadAddresses_);
}
}
}
if (fallbackUploadAddressesBuilder_ == null) {
if (!other.fallbackUploadAddresses_.isEmpty()) {
if (fallbackUploadAddresses_.isEmpty()) {
fallbackUploadAddresses_ = other.fallbackUploadAddresses_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.addAll(other.fallbackUploadAddresses_);
}
onChanged();
}
} else {
if (!other.fallbackUploadAddresses_.isEmpty()) {
if (fallbackUploadAddressesBuilder_.isEmpty()) {
fallbackUploadAddressesBuilder_.dispose();
fallbackUploadAddressesBuilder_ = null;
fallbackUploadAddresses_ = other.fallbackUploadAddresses_;
bitField0_ = (bitField0_ & ~0x00000004);
fallbackUploadAddressesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFallbackUploadAddressesFieldBuilder() : null;
} else {
fallbackUploadAddressesBuilder_.addAllMessages(other.fallbackUploadAddresses_);
}
}
}
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.CandidateUploadAddresses parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.CandidateUploadAddresses) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List mainUploadAddresses_ =
java.util.Collections.emptyList();
private void ensureMainUploadAddressesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
mainUploadAddresses_ = new java.util.ArrayList(mainUploadAddresses_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder> mainUploadAddressesBuilder_;
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public java.util.List getMainUploadAddressesList() {
if (mainUploadAddressesBuilder_ == null) {
return java.util.Collections.unmodifiableList(mainUploadAddresses_);
} else {
return mainUploadAddressesBuilder_.getMessageList();
}
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public int getMainUploadAddressesCount() {
if (mainUploadAddressesBuilder_ == null) {
return mainUploadAddresses_.size();
} else {
return mainUploadAddressesBuilder_.getCount();
}
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public com.volcengine.service.vod.model.business.UploadAddress getMainUploadAddresses(int index) {
if (mainUploadAddressesBuilder_ == null) {
return mainUploadAddresses_.get(index);
} else {
return mainUploadAddressesBuilder_.getMessage(index);
}
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder setMainUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress value) {
if (mainUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.set(index, value);
onChanged();
} else {
mainUploadAddressesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder setMainUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (mainUploadAddressesBuilder_ == null) {
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.set(index, builderForValue.build());
onChanged();
} else {
mainUploadAddressesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder addMainUploadAddresses(com.volcengine.service.vod.model.business.UploadAddress value) {
if (mainUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.add(value);
onChanged();
} else {
mainUploadAddressesBuilder_.addMessage(value);
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder addMainUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress value) {
if (mainUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.add(index, value);
onChanged();
} else {
mainUploadAddressesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder addMainUploadAddresses(
com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (mainUploadAddressesBuilder_ == null) {
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.add(builderForValue.build());
onChanged();
} else {
mainUploadAddressesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder addMainUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (mainUploadAddressesBuilder_ == null) {
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.add(index, builderForValue.build());
onChanged();
} else {
mainUploadAddressesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder addAllMainUploadAddresses(
java.lang.Iterable extends com.volcengine.service.vod.model.business.UploadAddress> values) {
if (mainUploadAddressesBuilder_ == null) {
ensureMainUploadAddressesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mainUploadAddresses_);
onChanged();
} else {
mainUploadAddressesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder clearMainUploadAddresses() {
if (mainUploadAddressesBuilder_ == null) {
mainUploadAddresses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
mainUploadAddressesBuilder_.clear();
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public Builder removeMainUploadAddresses(int index) {
if (mainUploadAddressesBuilder_ == null) {
ensureMainUploadAddressesIsMutable();
mainUploadAddresses_.remove(index);
onChanged();
} else {
mainUploadAddressesBuilder_.remove(index);
}
return this;
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder getMainUploadAddressesBuilder(
int index) {
return getMainUploadAddressesFieldBuilder().getBuilder(index);
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public com.volcengine.service.vod.model.business.UploadAddressOrBuilder getMainUploadAddressesOrBuilder(
int index) {
if (mainUploadAddressesBuilder_ == null) {
return mainUploadAddresses_.get(index); } else {
return mainUploadAddressesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public java.util.List extends com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getMainUploadAddressesOrBuilderList() {
if (mainUploadAddressesBuilder_ != null) {
return mainUploadAddressesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(mainUploadAddresses_);
}
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder addMainUploadAddressesBuilder() {
return getMainUploadAddressesFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.UploadAddress.getDefaultInstance());
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder addMainUploadAddressesBuilder(
int index) {
return getMainUploadAddressesFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.UploadAddress.getDefaultInstance());
}
/**
*
* 1001 阶段返回返回主域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress MainUploadAddresses = 1;
*/
public java.util.List
getMainUploadAddressesBuilderList() {
return getMainUploadAddressesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getMainUploadAddressesFieldBuilder() {
if (mainUploadAddressesBuilder_ == null) {
mainUploadAddressesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder>(
mainUploadAddresses_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
mainUploadAddresses_ = null;
}
return mainUploadAddressesBuilder_;
}
private java.util.List backupUploadAddresses_ =
java.util.Collections.emptyList();
private void ensureBackupUploadAddressesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
backupUploadAddresses_ = new java.util.ArrayList(backupUploadAddresses_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder> backupUploadAddressesBuilder_;
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public java.util.List getBackupUploadAddressesList() {
if (backupUploadAddressesBuilder_ == null) {
return java.util.Collections.unmodifiableList(backupUploadAddresses_);
} else {
return backupUploadAddressesBuilder_.getMessageList();
}
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public int getBackupUploadAddressesCount() {
if (backupUploadAddressesBuilder_ == null) {
return backupUploadAddresses_.size();
} else {
return backupUploadAddressesBuilder_.getCount();
}
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public com.volcengine.service.vod.model.business.UploadAddress getBackupUploadAddresses(int index) {
if (backupUploadAddressesBuilder_ == null) {
return backupUploadAddresses_.get(index);
} else {
return backupUploadAddressesBuilder_.getMessage(index);
}
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder setBackupUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress value) {
if (backupUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.set(index, value);
onChanged();
} else {
backupUploadAddressesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder setBackupUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (backupUploadAddressesBuilder_ == null) {
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.set(index, builderForValue.build());
onChanged();
} else {
backupUploadAddressesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder addBackupUploadAddresses(com.volcengine.service.vod.model.business.UploadAddress value) {
if (backupUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.add(value);
onChanged();
} else {
backupUploadAddressesBuilder_.addMessage(value);
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder addBackupUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress value) {
if (backupUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.add(index, value);
onChanged();
} else {
backupUploadAddressesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder addBackupUploadAddresses(
com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (backupUploadAddressesBuilder_ == null) {
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.add(builderForValue.build());
onChanged();
} else {
backupUploadAddressesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder addBackupUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (backupUploadAddressesBuilder_ == null) {
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.add(index, builderForValue.build());
onChanged();
} else {
backupUploadAddressesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder addAllBackupUploadAddresses(
java.lang.Iterable extends com.volcengine.service.vod.model.business.UploadAddress> values) {
if (backupUploadAddressesBuilder_ == null) {
ensureBackupUploadAddressesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, backupUploadAddresses_);
onChanged();
} else {
backupUploadAddressesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder clearBackupUploadAddresses() {
if (backupUploadAddressesBuilder_ == null) {
backupUploadAddresses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
backupUploadAddressesBuilder_.clear();
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public Builder removeBackupUploadAddresses(int index) {
if (backupUploadAddressesBuilder_ == null) {
ensureBackupUploadAddressesIsMutable();
backupUploadAddresses_.remove(index);
onChanged();
} else {
backupUploadAddressesBuilder_.remove(index);
}
return this;
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder getBackupUploadAddressesBuilder(
int index) {
return getBackupUploadAddressesFieldBuilder().getBuilder(index);
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public com.volcengine.service.vod.model.business.UploadAddressOrBuilder getBackupUploadAddressesOrBuilder(
int index) {
if (backupUploadAddressesBuilder_ == null) {
return backupUploadAddresses_.get(index); } else {
return backupUploadAddressesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public java.util.List extends com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getBackupUploadAddressesOrBuilderList() {
if (backupUploadAddressesBuilder_ != null) {
return backupUploadAddressesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(backupUploadAddresses_);
}
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder addBackupUploadAddressesBuilder() {
return getBackupUploadAddressesFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.UploadAddress.getDefaultInstance());
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder addBackupUploadAddressesBuilder(
int index) {
return getBackupUploadAddressesFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.UploadAddress.getDefaultInstance());
}
/**
*
* 1001 阶段返回返回备选域名
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress BackupUploadAddresses = 2;
*/
public java.util.List
getBackupUploadAddressesBuilderList() {
return getBackupUploadAddressesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getBackupUploadAddressesFieldBuilder() {
if (backupUploadAddressesBuilder_ == null) {
backupUploadAddressesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder>(
backupUploadAddresses_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
backupUploadAddresses_ = null;
}
return backupUploadAddressesBuilder_;
}
private java.util.List fallbackUploadAddresses_ =
java.util.Collections.emptyList();
private void ensureFallbackUploadAddressesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
fallbackUploadAddresses_ = new java.util.ArrayList(fallbackUploadAddresses_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder> fallbackUploadAddressesBuilder_;
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public java.util.List getFallbackUploadAddressesList() {
if (fallbackUploadAddressesBuilder_ == null) {
return java.util.Collections.unmodifiableList(fallbackUploadAddresses_);
} else {
return fallbackUploadAddressesBuilder_.getMessageList();
}
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public int getFallbackUploadAddressesCount() {
if (fallbackUploadAddressesBuilder_ == null) {
return fallbackUploadAddresses_.size();
} else {
return fallbackUploadAddressesBuilder_.getCount();
}
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public com.volcengine.service.vod.model.business.UploadAddress getFallbackUploadAddresses(int index) {
if (fallbackUploadAddressesBuilder_ == null) {
return fallbackUploadAddresses_.get(index);
} else {
return fallbackUploadAddressesBuilder_.getMessage(index);
}
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder setFallbackUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress value) {
if (fallbackUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.set(index, value);
onChanged();
} else {
fallbackUploadAddressesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder setFallbackUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (fallbackUploadAddressesBuilder_ == null) {
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.set(index, builderForValue.build());
onChanged();
} else {
fallbackUploadAddressesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder addFallbackUploadAddresses(com.volcengine.service.vod.model.business.UploadAddress value) {
if (fallbackUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.add(value);
onChanged();
} else {
fallbackUploadAddressesBuilder_.addMessage(value);
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder addFallbackUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress value) {
if (fallbackUploadAddressesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.add(index, value);
onChanged();
} else {
fallbackUploadAddressesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder addFallbackUploadAddresses(
com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (fallbackUploadAddressesBuilder_ == null) {
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.add(builderForValue.build());
onChanged();
} else {
fallbackUploadAddressesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder addFallbackUploadAddresses(
int index, com.volcengine.service.vod.model.business.UploadAddress.Builder builderForValue) {
if (fallbackUploadAddressesBuilder_ == null) {
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.add(index, builderForValue.build());
onChanged();
} else {
fallbackUploadAddressesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder addAllFallbackUploadAddresses(
java.lang.Iterable extends com.volcengine.service.vod.model.business.UploadAddress> values) {
if (fallbackUploadAddressesBuilder_ == null) {
ensureFallbackUploadAddressesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fallbackUploadAddresses_);
onChanged();
} else {
fallbackUploadAddressesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder clearFallbackUploadAddresses() {
if (fallbackUploadAddressesBuilder_ == null) {
fallbackUploadAddresses_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
fallbackUploadAddressesBuilder_.clear();
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public Builder removeFallbackUploadAddresses(int index) {
if (fallbackUploadAddressesBuilder_ == null) {
ensureFallbackUploadAddressesIsMutable();
fallbackUploadAddresses_.remove(index);
onChanged();
} else {
fallbackUploadAddressesBuilder_.remove(index);
}
return this;
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder getFallbackUploadAddressesBuilder(
int index) {
return getFallbackUploadAddressesFieldBuilder().getBuilder(index);
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public com.volcengine.service.vod.model.business.UploadAddressOrBuilder getFallbackUploadAddressesOrBuilder(
int index) {
if (fallbackUploadAddressesBuilder_ == null) {
return fallbackUploadAddresses_.get(index); } else {
return fallbackUploadAddressesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public java.util.List extends com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getFallbackUploadAddressesOrBuilderList() {
if (fallbackUploadAddressesBuilder_ != null) {
return fallbackUploadAddressesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fallbackUploadAddresses_);
}
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder addFallbackUploadAddressesBuilder() {
return getFallbackUploadAddressesFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.UploadAddress.getDefaultInstance());
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public com.volcengine.service.vod.model.business.UploadAddress.Builder addFallbackUploadAddressesBuilder(
int index) {
return getFallbackUploadAddressesFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.UploadAddress.getDefaultInstance());
}
/**
*
* 1001 阶段返回返回容灾域名,为云下域名,其他域名不可用时作为兜底
*
*
* repeated .Volcengine.Vod.Models.Business.UploadAddress FallbackUploadAddresses = 3;
*/
public java.util.List
getFallbackUploadAddressesBuilderList() {
return getFallbackUploadAddressesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder>
getFallbackUploadAddressesFieldBuilder() {
if (fallbackUploadAddressesBuilder_ == null) {
fallbackUploadAddressesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.UploadAddress, com.volcengine.service.vod.model.business.UploadAddress.Builder, com.volcengine.service.vod.model.business.UploadAddressOrBuilder>(
fallbackUploadAddresses_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
fallbackUploadAddresses_ = null;
}
return fallbackUploadAddressesBuilder_;
}
@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.CandidateUploadAddresses)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.CandidateUploadAddresses)
private static final com.volcengine.service.vod.model.business.CandidateUploadAddresses DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.CandidateUploadAddresses();
}
public static com.volcengine.service.vod.model.business.CandidateUploadAddresses getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CandidateUploadAddresses parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CandidateUploadAddresses(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.CandidateUploadAddresses getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy