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.VodPlaylistInfo Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/business/vod_media.proto
package com.byteplus.service.vod.model.business;
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.VodPlaylistInfo}
*/
public final class VodPlaylistInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodPlaylistInfo)
VodPlaylistInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodPlaylistInfo.newBuilder() to construct.
private VodPlaylistInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private VodPlaylistInfo() {
id_ = "";
name_ = "";
format_ = "";
codec_ = "";
definition_ = "";
startTime_ = "";
endTime_ = "";
cycles_ = "";
videoInfos_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodPlaylistInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodPlaylistInfo(
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();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
format_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
codec_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
definition_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
startTime_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
endTime_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
cycles_ = s;
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
videoInfos_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
videoInfos_.add(
input.readMessage(com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.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)) {
videoInfos_ = java.util.Collections.unmodifiableList(videoInfos_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodPlaylistInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodPlaylistInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodPlaylistInfo.class, com.byteplus.service.vod.model.business.VodPlaylistInfo.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
* string Id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
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();
id_ = s;
return s;
}
}
/**
* string Id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string Name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* string Name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FORMAT_FIELD_NUMBER = 3;
private volatile java.lang.Object format_;
/**
* string Format = 3;
* @return The format.
*/
@java.lang.Override
public java.lang.String getFormat() {
java.lang.Object ref = format_;
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();
format_ = s;
return s;
}
}
/**
* string Format = 3;
* @return The bytes for format.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CODEC_FIELD_NUMBER = 4;
private volatile java.lang.Object codec_;
/**
* string Codec = 4;
* @return The codec.
*/
@java.lang.Override
public java.lang.String getCodec() {
java.lang.Object ref = codec_;
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();
codec_ = s;
return s;
}
}
/**
* string Codec = 4;
* @return The bytes for codec.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCodecBytes() {
java.lang.Object ref = codec_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codec_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFINITION_FIELD_NUMBER = 5;
private volatile java.lang.Object definition_;
/**
* string Definition = 5;
* @return The definition.
*/
@java.lang.Override
public java.lang.String getDefinition() {
java.lang.Object ref = definition_;
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();
definition_ = s;
return s;
}
}
/**
* string Definition = 5;
* @return The bytes for definition.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefinitionBytes() {
java.lang.Object ref = definition_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
definition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STARTTIME_FIELD_NUMBER = 6;
private volatile java.lang.Object startTime_;
/**
* string StartTime = 6;
* @return The startTime.
*/
@java.lang.Override
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
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();
startTime_ = s;
return s;
}
}
/**
* string StartTime = 6;
* @return The bytes for startTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStartTimeBytes() {
java.lang.Object ref = startTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDTIME_FIELD_NUMBER = 7;
private volatile java.lang.Object endTime_;
/**
* string EndTime = 7;
* @return The endTime.
*/
@java.lang.Override
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
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();
endTime_ = s;
return s;
}
}
/**
* string EndTime = 7;
* @return The bytes for endTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndTimeBytes() {
java.lang.Object ref = endTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CYCLES_FIELD_NUMBER = 8;
private volatile java.lang.Object cycles_;
/**
* string Cycles = 8;
* @return The cycles.
*/
@java.lang.Override
public java.lang.String getCycles() {
java.lang.Object ref = cycles_;
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();
cycles_ = s;
return s;
}
}
/**
* string Cycles = 8;
* @return The bytes for cycles.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCyclesBytes() {
java.lang.Object ref = cycles_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cycles_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VIDEOINFOS_FIELD_NUMBER = 9;
private java.util.List videoInfos_;
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
@java.lang.Override
public java.util.List getVideoInfosList() {
return videoInfos_;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
@java.lang.Override
public java.util.List
getVideoInfosOrBuilderList() {
return videoInfos_;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
@java.lang.Override
public int getVideoInfosCount() {
return videoInfos_.size();
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodPlaylistVideoInfo getVideoInfos(int index) {
return videoInfos_.get(index);
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodPlaylistVideoInfoOrBuilder getVideoInfosOrBuilder(
int index) {
return videoInfos_.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(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, format_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, codec_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, definition_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, startTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, endTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cycles_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cycles_);
}
for (int i = 0; i < videoInfos_.size(); i++) {
output.writeMessage(9, videoInfos_.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(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, format_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, codec_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, definition_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, startTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, endTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cycles_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, cycles_);
}
for (int i = 0; i < videoInfos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, videoInfos_.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.VodPlaylistInfo)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.VodPlaylistInfo other = (com.byteplus.service.vod.model.business.VodPlaylistInfo) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getFormat()
.equals(other.getFormat())) return false;
if (!getCodec()
.equals(other.getCodec())) return false;
if (!getDefinition()
.equals(other.getDefinition())) return false;
if (!getStartTime()
.equals(other.getStartTime())) return false;
if (!getEndTime()
.equals(other.getEndTime())) return false;
if (!getCycles()
.equals(other.getCycles())) return false;
if (!getVideoInfosList()
.equals(other.getVideoInfosList())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
hash = (37 * hash) + CODEC_FIELD_NUMBER;
hash = (53 * hash) + getCodec().hashCode();
hash = (37 * hash) + DEFINITION_FIELD_NUMBER;
hash = (53 * hash) + getDefinition().hashCode();
hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime().hashCode();
hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime().hashCode();
hash = (37 * hash) + CYCLES_FIELD_NUMBER;
hash = (53 * hash) + getCycles().hashCode();
if (getVideoInfosCount() > 0) {
hash = (37 * hash) + VIDEOINFOS_FIELD_NUMBER;
hash = (53 * hash) + getVideoInfosList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.VodPlaylistInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodPlaylistInfo 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.VodPlaylistInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodPlaylistInfo 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.VodPlaylistInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodPlaylistInfo 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.VodPlaylistInfo 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.VodPlaylistInfo 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.VodPlaylistInfo 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.VodPlaylistInfo 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.VodPlaylistInfo 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.VodPlaylistInfo 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.VodPlaylistInfo 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.VodPlaylistInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodPlaylistInfo)
com.byteplus.service.vod.model.business.VodPlaylistInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodPlaylistInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodPlaylistInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodPlaylistInfo.class, com.byteplus.service.vod.model.business.VodPlaylistInfo.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.VodPlaylistInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getVideoInfosFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
id_ = "";
name_ = "";
format_ = "";
codec_ = "";
definition_ = "";
startTime_ = "";
endTime_ = "";
cycles_ = "";
if (videoInfosBuilder_ == null) {
videoInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
videoInfosBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodPlaylistInfo_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodPlaylistInfo getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.VodPlaylistInfo.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodPlaylistInfo build() {
com.byteplus.service.vod.model.business.VodPlaylistInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodPlaylistInfo buildPartial() {
com.byteplus.service.vod.model.business.VodPlaylistInfo result = new com.byteplus.service.vod.model.business.VodPlaylistInfo(this);
int from_bitField0_ = bitField0_;
result.id_ = id_;
result.name_ = name_;
result.format_ = format_;
result.codec_ = codec_;
result.definition_ = definition_;
result.startTime_ = startTime_;
result.endTime_ = endTime_;
result.cycles_ = cycles_;
if (videoInfosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
videoInfos_ = java.util.Collections.unmodifiableList(videoInfos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.videoInfos_ = videoInfos_;
} else {
result.videoInfos_ = videoInfosBuilder_.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.VodPlaylistInfo) {
return mergeFrom((com.byteplus.service.vod.model.business.VodPlaylistInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.VodPlaylistInfo other) {
if (other == com.byteplus.service.vod.model.business.VodPlaylistInfo.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getFormat().isEmpty()) {
format_ = other.format_;
onChanged();
}
if (!other.getCodec().isEmpty()) {
codec_ = other.codec_;
onChanged();
}
if (!other.getDefinition().isEmpty()) {
definition_ = other.definition_;
onChanged();
}
if (!other.getStartTime().isEmpty()) {
startTime_ = other.startTime_;
onChanged();
}
if (!other.getEndTime().isEmpty()) {
endTime_ = other.endTime_;
onChanged();
}
if (!other.getCycles().isEmpty()) {
cycles_ = other.cycles_;
onChanged();
}
if (videoInfosBuilder_ == null) {
if (!other.videoInfos_.isEmpty()) {
if (videoInfos_.isEmpty()) {
videoInfos_ = other.videoInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureVideoInfosIsMutable();
videoInfos_.addAll(other.videoInfos_);
}
onChanged();
}
} else {
if (!other.videoInfos_.isEmpty()) {
if (videoInfosBuilder_.isEmpty()) {
videoInfosBuilder_.dispose();
videoInfosBuilder_ = null;
videoInfos_ = other.videoInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
videoInfosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getVideoInfosFieldBuilder() : null;
} else {
videoInfosBuilder_.addAllMessages(other.videoInfos_);
}
}
}
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.VodPlaylistInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.VodPlaylistInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* string Id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string Id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string Id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string Name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string Name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string Name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object format_ = "";
/**
* string Format = 3;
* @return The format.
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
format_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Format = 3;
* @return The bytes for format.
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Format = 3;
* @param value The format to set.
* @return This builder for chaining.
*/
public Builder setFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
return this;
}
/**
* string Format = 3;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
* string Format = 3;
* @param value The bytes for format to set.
* @return This builder for chaining.
*/
public Builder setFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
format_ = value;
onChanged();
return this;
}
private java.lang.Object codec_ = "";
/**
* string Codec = 4;
* @return The codec.
*/
public java.lang.String getCodec() {
java.lang.Object ref = codec_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
codec_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Codec = 4;
* @return The bytes for codec.
*/
public com.google.protobuf.ByteString
getCodecBytes() {
java.lang.Object ref = codec_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codec_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Codec = 4;
* @param value The codec to set.
* @return This builder for chaining.
*/
public Builder setCodec(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
codec_ = value;
onChanged();
return this;
}
/**
* string Codec = 4;
* @return This builder for chaining.
*/
public Builder clearCodec() {
codec_ = getDefaultInstance().getCodec();
onChanged();
return this;
}
/**
* string Codec = 4;
* @param value The bytes for codec to set.
* @return This builder for chaining.
*/
public Builder setCodecBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
codec_ = value;
onChanged();
return this;
}
private java.lang.Object definition_ = "";
/**
* string Definition = 5;
* @return The definition.
*/
public java.lang.String getDefinition() {
java.lang.Object ref = definition_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
definition_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Definition = 5;
* @return The bytes for definition.
*/
public com.google.protobuf.ByteString
getDefinitionBytes() {
java.lang.Object ref = definition_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
definition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Definition = 5;
* @param value The definition to set.
* @return This builder for chaining.
*/
public Builder setDefinition(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
definition_ = value;
onChanged();
return this;
}
/**
* string Definition = 5;
* @return This builder for chaining.
*/
public Builder clearDefinition() {
definition_ = getDefaultInstance().getDefinition();
onChanged();
return this;
}
/**
* string Definition = 5;
* @param value The bytes for definition to set.
* @return This builder for chaining.
*/
public Builder setDefinitionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
definition_ = value;
onChanged();
return this;
}
private java.lang.Object startTime_ = "";
/**
* string StartTime = 6;
* @return The startTime.
*/
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string StartTime = 6;
* @return The bytes for startTime.
*/
public com.google.protobuf.ByteString
getStartTimeBytes() {
java.lang.Object ref = startTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string StartTime = 6;
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startTime_ = value;
onChanged();
return this;
}
/**
* string StartTime = 6;
* @return This builder for chaining.
*/
public Builder clearStartTime() {
startTime_ = getDefaultInstance().getStartTime();
onChanged();
return this;
}
/**
* string StartTime = 6;
* @param value The bytes for startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startTime_ = value;
onChanged();
return this;
}
private java.lang.Object endTime_ = "";
/**
* string EndTime = 7;
* @return The endTime.
*/
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string EndTime = 7;
* @return The bytes for endTime.
*/
public com.google.protobuf.ByteString
getEndTimeBytes() {
java.lang.Object ref = endTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string EndTime = 7;
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endTime_ = value;
onChanged();
return this;
}
/**
* string EndTime = 7;
* @return This builder for chaining.
*/
public Builder clearEndTime() {
endTime_ = getDefaultInstance().getEndTime();
onChanged();
return this;
}
/**
* string EndTime = 7;
* @param value The bytes for endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endTime_ = value;
onChanged();
return this;
}
private java.lang.Object cycles_ = "";
/**
* string Cycles = 8;
* @return The cycles.
*/
public java.lang.String getCycles() {
java.lang.Object ref = cycles_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cycles_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Cycles = 8;
* @return The bytes for cycles.
*/
public com.google.protobuf.ByteString
getCyclesBytes() {
java.lang.Object ref = cycles_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cycles_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Cycles = 8;
* @param value The cycles to set.
* @return This builder for chaining.
*/
public Builder setCycles(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cycles_ = value;
onChanged();
return this;
}
/**
* string Cycles = 8;
* @return This builder for chaining.
*/
public Builder clearCycles() {
cycles_ = getDefaultInstance().getCycles();
onChanged();
return this;
}
/**
* string Cycles = 8;
* @param value The bytes for cycles to set.
* @return This builder for chaining.
*/
public Builder setCyclesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cycles_ = value;
onChanged();
return this;
}
private java.util.List videoInfos_ =
java.util.Collections.emptyList();
private void ensureVideoInfosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
videoInfos_ = new java.util.ArrayList(videoInfos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodPlaylistVideoInfo, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder, com.byteplus.service.vod.model.business.VodPlaylistVideoInfoOrBuilder> videoInfosBuilder_;
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public java.util.List getVideoInfosList() {
if (videoInfosBuilder_ == null) {
return java.util.Collections.unmodifiableList(videoInfos_);
} else {
return videoInfosBuilder_.getMessageList();
}
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public int getVideoInfosCount() {
if (videoInfosBuilder_ == null) {
return videoInfos_.size();
} else {
return videoInfosBuilder_.getCount();
}
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public com.byteplus.service.vod.model.business.VodPlaylistVideoInfo getVideoInfos(int index) {
if (videoInfosBuilder_ == null) {
return videoInfos_.get(index);
} else {
return videoInfosBuilder_.getMessage(index);
}
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder setVideoInfos(
int index, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo value) {
if (videoInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVideoInfosIsMutable();
videoInfos_.set(index, value);
onChanged();
} else {
videoInfosBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder setVideoInfos(
int index, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder builderForValue) {
if (videoInfosBuilder_ == null) {
ensureVideoInfosIsMutable();
videoInfos_.set(index, builderForValue.build());
onChanged();
} else {
videoInfosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder addVideoInfos(com.byteplus.service.vod.model.business.VodPlaylistVideoInfo value) {
if (videoInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVideoInfosIsMutable();
videoInfos_.add(value);
onChanged();
} else {
videoInfosBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder addVideoInfos(
int index, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo value) {
if (videoInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVideoInfosIsMutable();
videoInfos_.add(index, value);
onChanged();
} else {
videoInfosBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder addVideoInfos(
com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder builderForValue) {
if (videoInfosBuilder_ == null) {
ensureVideoInfosIsMutable();
videoInfos_.add(builderForValue.build());
onChanged();
} else {
videoInfosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder addVideoInfos(
int index, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder builderForValue) {
if (videoInfosBuilder_ == null) {
ensureVideoInfosIsMutable();
videoInfos_.add(index, builderForValue.build());
onChanged();
} else {
videoInfosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder addAllVideoInfos(
java.lang.Iterable values) {
if (videoInfosBuilder_ == null) {
ensureVideoInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, videoInfos_);
onChanged();
} else {
videoInfosBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder clearVideoInfos() {
if (videoInfosBuilder_ == null) {
videoInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
videoInfosBuilder_.clear();
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public Builder removeVideoInfos(int index) {
if (videoInfosBuilder_ == null) {
ensureVideoInfosIsMutable();
videoInfos_.remove(index);
onChanged();
} else {
videoInfosBuilder_.remove(index);
}
return this;
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder getVideoInfosBuilder(
int index) {
return getVideoInfosFieldBuilder().getBuilder(index);
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public com.byteplus.service.vod.model.business.VodPlaylistVideoInfoOrBuilder getVideoInfosOrBuilder(
int index) {
if (videoInfosBuilder_ == null) {
return videoInfos_.get(index); } else {
return videoInfosBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public java.util.List
getVideoInfosOrBuilderList() {
if (videoInfosBuilder_ != null) {
return videoInfosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(videoInfos_);
}
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder addVideoInfosBuilder() {
return getVideoInfosFieldBuilder().addBuilder(
com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.getDefaultInstance());
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder addVideoInfosBuilder(
int index) {
return getVideoInfosFieldBuilder().addBuilder(
index, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.getDefaultInstance());
}
/**
* repeated .Byteplus.Vod.Models.Business.VodPlaylistVideoInfo VideoInfos = 9;
*/
public java.util.List
getVideoInfosBuilderList() {
return getVideoInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodPlaylistVideoInfo, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder, com.byteplus.service.vod.model.business.VodPlaylistVideoInfoOrBuilder>
getVideoInfosFieldBuilder() {
if (videoInfosBuilder_ == null) {
videoInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodPlaylistVideoInfo, com.byteplus.service.vod.model.business.VodPlaylistVideoInfo.Builder, com.byteplus.service.vod.model.business.VodPlaylistVideoInfoOrBuilder>(
videoInfos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
videoInfos_ = null;
}
return videoInfosBuilder_;
}
@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.VodPlaylistInfo)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodPlaylistInfo)
private static final com.byteplus.service.vod.model.business.VodPlaylistInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodPlaylistInfo();
}
public static com.byteplus.service.vod.model.business.VodPlaylistInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodPlaylistInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodPlaylistInfo(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.VodPlaylistInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}