Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.byteplus.service.vod.model.business.VodDomainInstanceInfos Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/business/vod_cdn.proto
package com.byteplus.service.vod.model.business;
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.VodDomainInstanceInfos}
*/
public final class VodDomainInstanceInfos extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodDomainInstanceInfos)
VodDomainInstanceInfosOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodDomainInstanceInfos.newBuilder() to construct.
private VodDomainInstanceInfos(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodDomainInstanceInfos() {
byteInstances_ = java.util.Collections.emptyList();
otherInstances_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodDomainInstanceInfos();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodDomainInstanceInfos(
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)) {
byteInstances_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
byteInstances_.add(
input.readMessage(com.byteplus.service.vod.model.business.VodDomainInstanceInfo.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
otherInstances_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
otherInstances_.add(
input.readMessage(com.byteplus.service.vod.model.business.VodDomainInstanceInfo.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)) {
byteInstances_ = java.util.Collections.unmodifiableList(byteInstances_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
otherInstances_ = java.util.Collections.unmodifiableList(otherInstances_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfos_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodDomainInstanceInfos.class, com.byteplus.service.vod.model.business.VodDomainInstanceInfos.Builder.class);
}
public static final int BYTEINSTANCES_FIELD_NUMBER = 1;
private java.util.List byteInstances_;
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
@java.lang.Override
public java.util.List getByteInstancesList() {
return byteInstances_;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
@java.lang.Override
public java.util.List extends com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>
getByteInstancesOrBuilderList() {
return byteInstances_;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
@java.lang.Override
public int getByteInstancesCount() {
return byteInstances_.size();
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo getByteInstances(int index) {
return byteInstances_.get(index);
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder getByteInstancesOrBuilder(
int index) {
return byteInstances_.get(index);
}
public static final int OTHERINSTANCES_FIELD_NUMBER = 2;
private java.util.List otherInstances_;
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
@java.lang.Override
public java.util.List getOtherInstancesList() {
return otherInstances_;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
@java.lang.Override
public java.util.List extends com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>
getOtherInstancesOrBuilderList() {
return otherInstances_;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
@java.lang.Override
public int getOtherInstancesCount() {
return otherInstances_.size();
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo getOtherInstances(int index) {
return otherInstances_.get(index);
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder getOtherInstancesOrBuilder(
int index) {
return otherInstances_.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 < byteInstances_.size(); i++) {
output.writeMessage(1, byteInstances_.get(i));
}
for (int i = 0; i < otherInstances_.size(); i++) {
output.writeMessage(2, otherInstances_.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 < byteInstances_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, byteInstances_.get(i));
}
for (int i = 0; i < otherInstances_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, otherInstances_.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.byteplus.service.vod.model.business.VodDomainInstanceInfos)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.VodDomainInstanceInfos other = (com.byteplus.service.vod.model.business.VodDomainInstanceInfos) obj;
if (!getByteInstancesList()
.equals(other.getByteInstancesList())) return false;
if (!getOtherInstancesList()
.equals(other.getOtherInstancesList())) 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 (getByteInstancesCount() > 0) {
hash = (37 * hash) + BYTEINSTANCES_FIELD_NUMBER;
hash = (53 * hash) + getByteInstancesList().hashCode();
}
if (getOtherInstancesCount() > 0) {
hash = (37 * hash) + OTHERINSTANCES_FIELD_NUMBER;
hash = (53 * hash) + getOtherInstancesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos 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.byteplus.service.vod.model.business.VodDomainInstanceInfos parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos 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.byteplus.service.vod.model.business.VodDomainInstanceInfos parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos 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.byteplus.service.vod.model.business.VodDomainInstanceInfos 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 Byteplus.Vod.Models.Business.VodDomainInstanceInfos}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodDomainInstanceInfos)
com.byteplus.service.vod.model.business.VodDomainInstanceInfosOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfos_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodDomainInstanceInfos.class, com.byteplus.service.vod.model.business.VodDomainInstanceInfos.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.VodDomainInstanceInfos.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getByteInstancesFieldBuilder();
getOtherInstancesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (byteInstancesBuilder_ == null) {
byteInstances_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
byteInstancesBuilder_.clear();
}
if (otherInstancesBuilder_ == null) {
otherInstances_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
otherInstancesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodDomainInstanceInfos_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDomainInstanceInfos getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.VodDomainInstanceInfos.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDomainInstanceInfos build() {
com.byteplus.service.vod.model.business.VodDomainInstanceInfos result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDomainInstanceInfos buildPartial() {
com.byteplus.service.vod.model.business.VodDomainInstanceInfos result = new com.byteplus.service.vod.model.business.VodDomainInstanceInfos(this);
int from_bitField0_ = bitField0_;
if (byteInstancesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
byteInstances_ = java.util.Collections.unmodifiableList(byteInstances_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.byteInstances_ = byteInstances_;
} else {
result.byteInstances_ = byteInstancesBuilder_.build();
}
if (otherInstancesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
otherInstances_ = java.util.Collections.unmodifiableList(otherInstances_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.otherInstances_ = otherInstances_;
} else {
result.otherInstances_ = otherInstancesBuilder_.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.byteplus.service.vod.model.business.VodDomainInstanceInfos) {
return mergeFrom((com.byteplus.service.vod.model.business.VodDomainInstanceInfos)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.VodDomainInstanceInfos other) {
if (other == com.byteplus.service.vod.model.business.VodDomainInstanceInfos.getDefaultInstance()) return this;
if (byteInstancesBuilder_ == null) {
if (!other.byteInstances_.isEmpty()) {
if (byteInstances_.isEmpty()) {
byteInstances_ = other.byteInstances_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureByteInstancesIsMutable();
byteInstances_.addAll(other.byteInstances_);
}
onChanged();
}
} else {
if (!other.byteInstances_.isEmpty()) {
if (byteInstancesBuilder_.isEmpty()) {
byteInstancesBuilder_.dispose();
byteInstancesBuilder_ = null;
byteInstances_ = other.byteInstances_;
bitField0_ = (bitField0_ & ~0x00000001);
byteInstancesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getByteInstancesFieldBuilder() : null;
} else {
byteInstancesBuilder_.addAllMessages(other.byteInstances_);
}
}
}
if (otherInstancesBuilder_ == null) {
if (!other.otherInstances_.isEmpty()) {
if (otherInstances_.isEmpty()) {
otherInstances_ = other.otherInstances_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOtherInstancesIsMutable();
otherInstances_.addAll(other.otherInstances_);
}
onChanged();
}
} else {
if (!other.otherInstances_.isEmpty()) {
if (otherInstancesBuilder_.isEmpty()) {
otherInstancesBuilder_.dispose();
otherInstancesBuilder_ = null;
otherInstances_ = other.otherInstances_;
bitField0_ = (bitField0_ & ~0x00000002);
otherInstancesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOtherInstancesFieldBuilder() : null;
} else {
otherInstancesBuilder_.addAllMessages(other.otherInstances_);
}
}
}
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.byteplus.service.vod.model.business.VodDomainInstanceInfos parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.VodDomainInstanceInfos) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List byteInstances_ =
java.util.Collections.emptyList();
private void ensureByteInstancesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
byteInstances_ = new java.util.ArrayList(byteInstances_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodDomainInstanceInfo, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder, com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder> byteInstancesBuilder_;
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public java.util.List getByteInstancesList() {
if (byteInstancesBuilder_ == null) {
return java.util.Collections.unmodifiableList(byteInstances_);
} else {
return byteInstancesBuilder_.getMessageList();
}
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public int getByteInstancesCount() {
if (byteInstancesBuilder_ == null) {
return byteInstances_.size();
} else {
return byteInstancesBuilder_.getCount();
}
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo getByteInstances(int index) {
if (byteInstancesBuilder_ == null) {
return byteInstances_.get(index);
} else {
return byteInstancesBuilder_.getMessage(index);
}
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder setByteInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo value) {
if (byteInstancesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureByteInstancesIsMutable();
byteInstances_.set(index, value);
onChanged();
} else {
byteInstancesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder setByteInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder builderForValue) {
if (byteInstancesBuilder_ == null) {
ensureByteInstancesIsMutable();
byteInstances_.set(index, builderForValue.build());
onChanged();
} else {
byteInstancesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder addByteInstances(com.byteplus.service.vod.model.business.VodDomainInstanceInfo value) {
if (byteInstancesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureByteInstancesIsMutable();
byteInstances_.add(value);
onChanged();
} else {
byteInstancesBuilder_.addMessage(value);
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder addByteInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo value) {
if (byteInstancesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureByteInstancesIsMutable();
byteInstances_.add(index, value);
onChanged();
} else {
byteInstancesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder addByteInstances(
com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder builderForValue) {
if (byteInstancesBuilder_ == null) {
ensureByteInstancesIsMutable();
byteInstances_.add(builderForValue.build());
onChanged();
} else {
byteInstancesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder addByteInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder builderForValue) {
if (byteInstancesBuilder_ == null) {
ensureByteInstancesIsMutable();
byteInstances_.add(index, builderForValue.build());
onChanged();
} else {
byteInstancesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder addAllByteInstances(
java.lang.Iterable extends com.byteplus.service.vod.model.business.VodDomainInstanceInfo> values) {
if (byteInstancesBuilder_ == null) {
ensureByteInstancesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, byteInstances_);
onChanged();
} else {
byteInstancesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder clearByteInstances() {
if (byteInstancesBuilder_ == null) {
byteInstances_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
byteInstancesBuilder_.clear();
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public Builder removeByteInstances(int index) {
if (byteInstancesBuilder_ == null) {
ensureByteInstancesIsMutable();
byteInstances_.remove(index);
onChanged();
} else {
byteInstancesBuilder_.remove(index);
}
return this;
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder getByteInstancesBuilder(
int index) {
return getByteInstancesFieldBuilder().getBuilder(index);
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder getByteInstancesOrBuilder(
int index) {
if (byteInstancesBuilder_ == null) {
return byteInstances_.get(index); } else {
return byteInstancesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public java.util.List extends com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>
getByteInstancesOrBuilderList() {
if (byteInstancesBuilder_ != null) {
return byteInstancesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(byteInstances_);
}
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder addByteInstancesBuilder() {
return getByteInstancesFieldBuilder().addBuilder(
com.byteplus.service.vod.model.business.VodDomainInstanceInfo.getDefaultInstance());
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder addByteInstancesBuilder(
int index) {
return getByteInstancesFieldBuilder().addBuilder(
index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.getDefaultInstance());
}
/**
*
* 点播源站实例列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo ByteInstances = 1;
*/
public java.util.List
getByteInstancesBuilderList() {
return getByteInstancesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodDomainInstanceInfo, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder, com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>
getByteInstancesFieldBuilder() {
if (byteInstancesBuilder_ == null) {
byteInstancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodDomainInstanceInfo, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder, com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>(
byteInstances_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
byteInstances_ = null;
}
return byteInstancesBuilder_;
}
private java.util.List otherInstances_ =
java.util.Collections.emptyList();
private void ensureOtherInstancesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
otherInstances_ = new java.util.ArrayList(otherInstances_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodDomainInstanceInfo, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder, com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder> otherInstancesBuilder_;
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public java.util.List getOtherInstancesList() {
if (otherInstancesBuilder_ == null) {
return java.util.Collections.unmodifiableList(otherInstances_);
} else {
return otherInstancesBuilder_.getMessageList();
}
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public int getOtherInstancesCount() {
if (otherInstancesBuilder_ == null) {
return otherInstances_.size();
} else {
return otherInstancesBuilder_.getCount();
}
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo getOtherInstances(int index) {
if (otherInstancesBuilder_ == null) {
return otherInstances_.get(index);
} else {
return otherInstancesBuilder_.getMessage(index);
}
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder setOtherInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo value) {
if (otherInstancesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherInstancesIsMutable();
otherInstances_.set(index, value);
onChanged();
} else {
otherInstancesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder setOtherInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder builderForValue) {
if (otherInstancesBuilder_ == null) {
ensureOtherInstancesIsMutable();
otherInstances_.set(index, builderForValue.build());
onChanged();
} else {
otherInstancesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder addOtherInstances(com.byteplus.service.vod.model.business.VodDomainInstanceInfo value) {
if (otherInstancesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherInstancesIsMutable();
otherInstances_.add(value);
onChanged();
} else {
otherInstancesBuilder_.addMessage(value);
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder addOtherInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo value) {
if (otherInstancesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherInstancesIsMutable();
otherInstances_.add(index, value);
onChanged();
} else {
otherInstancesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder addOtherInstances(
com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder builderForValue) {
if (otherInstancesBuilder_ == null) {
ensureOtherInstancesIsMutable();
otherInstances_.add(builderForValue.build());
onChanged();
} else {
otherInstancesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder addOtherInstances(
int index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder builderForValue) {
if (otherInstancesBuilder_ == null) {
ensureOtherInstancesIsMutable();
otherInstances_.add(index, builderForValue.build());
onChanged();
} else {
otherInstancesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder addAllOtherInstances(
java.lang.Iterable extends com.byteplus.service.vod.model.business.VodDomainInstanceInfo> values) {
if (otherInstancesBuilder_ == null) {
ensureOtherInstancesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, otherInstances_);
onChanged();
} else {
otherInstancesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder clearOtherInstances() {
if (otherInstancesBuilder_ == null) {
otherInstances_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
otherInstancesBuilder_.clear();
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public Builder removeOtherInstances(int index) {
if (otherInstancesBuilder_ == null) {
ensureOtherInstancesIsMutable();
otherInstances_.remove(index);
onChanged();
} else {
otherInstancesBuilder_.remove(index);
}
return this;
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder getOtherInstancesBuilder(
int index) {
return getOtherInstancesFieldBuilder().getBuilder(index);
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder getOtherInstancesOrBuilder(
int index) {
if (otherInstancesBuilder_ == null) {
return otherInstances_.get(index); } else {
return otherInstancesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public java.util.List extends com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>
getOtherInstancesOrBuilderList() {
if (otherInstancesBuilder_ != null) {
return otherInstancesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(otherInstances_);
}
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder addOtherInstancesBuilder() {
return getOtherInstancesFieldBuilder().addBuilder(
com.byteplus.service.vod.model.business.VodDomainInstanceInfo.getDefaultInstance());
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder addOtherInstancesBuilder(
int index) {
return getOtherInstancesFieldBuilder().addBuilder(
index, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.getDefaultInstance());
}
/**
*
* 第三方源站实力列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodDomainInstanceInfo OtherInstances = 2;
*/
public java.util.List
getOtherInstancesBuilderList() {
return getOtherInstancesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodDomainInstanceInfo, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder, com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>
getOtherInstancesFieldBuilder() {
if (otherInstancesBuilder_ == null) {
otherInstancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodDomainInstanceInfo, com.byteplus.service.vod.model.business.VodDomainInstanceInfo.Builder, com.byteplus.service.vod.model.business.VodDomainInstanceInfoOrBuilder>(
otherInstances_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
otherInstances_ = null;
}
return otherInstancesBuilder_;
}
@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:Byteplus.Vod.Models.Business.VodDomainInstanceInfos)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodDomainInstanceInfos)
private static final com.byteplus.service.vod.model.business.VodDomainInstanceInfos DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodDomainInstanceInfos();
}
public static com.byteplus.service.vod.model.business.VodDomainInstanceInfos getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodDomainInstanceInfos parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodDomainInstanceInfos(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.byteplus.service.vod.model.business.VodDomainInstanceInfos getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}