com.volcengine.service.vod.model.business.VodGetMediaListData 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_media.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.VodGetMediaListData}
*/
public final class VodGetMediaListData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodGetMediaListData)
VodGetMediaListDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodGetMediaListData.newBuilder() to construct.
private VodGetMediaListData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodGetMediaListData() {
spaceName_ = "";
mediaInfoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodGetMediaListData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodGetMediaListData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
spaceName_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
mediaInfoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
mediaInfoList_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodMediaInfo.parser(), extensionRegistry));
break;
}
case 24: {
totalCount_ = input.readInt32();
break;
}
case 32: {
offset_ = input.readInt32();
break;
}
case 40: {
pageSize_ = input.readInt32();
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)) {
mediaInfoList_ = java.util.Collections.unmodifiableList(mediaInfoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetMediaListData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetMediaListData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodGetMediaListData.class, com.volcengine.service.vod.model.business.VodGetMediaListData.Builder.class);
}
public static final int SPACENAME_FIELD_NUMBER = 1;
private volatile java.lang.Object spaceName_;
/**
*
*空间名
*
*
* string SpaceName = 1;
* @return The spaceName.
*/
@java.lang.Override
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spaceName_ = s;
return s;
}
}
/**
*
*空间名
*
*
* string SpaceName = 1;
* @return The bytes for spaceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MEDIAINFOLIST_FIELD_NUMBER = 2;
private java.util.List mediaInfoList_;
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
@java.lang.Override
public java.util.List getMediaInfoListList() {
return mediaInfoList_;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder>
getMediaInfoListOrBuilderList() {
return mediaInfoList_;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
@java.lang.Override
public int getMediaInfoListCount() {
return mediaInfoList_.size();
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodMediaInfo getMediaInfoList(int index) {
return mediaInfoList_.get(index);
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder getMediaInfoListOrBuilder(
int index) {
return mediaInfoList_.get(index);
}
public static final int TOTALCOUNT_FIELD_NUMBER = 3;
private int totalCount_;
/**
*
*符合条件的结果总数
*
*
* int32 TotalCount = 3;
* @return The totalCount.
*/
@java.lang.Override
public int getTotalCount() {
return totalCount_;
}
public static final int OFFSET_FIELD_NUMBER = 4;
private int offset_;
/**
*
*数据偏移量
*
*
* int32 Offset = 4;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
public static final int PAGESIZE_FIELD_NUMBER = 5;
private int pageSize_;
/**
*
*分页大小
*
*
* int32 PageSize = 5;
* @return The pageSize.
*/
@java.lang.Override
public int getPageSize() {
return pageSize_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceName_);
}
for (int i = 0; i < mediaInfoList_.size(); i++) {
output.writeMessage(2, mediaInfoList_.get(i));
}
if (totalCount_ != 0) {
output.writeInt32(3, totalCount_);
}
if (offset_ != 0) {
output.writeInt32(4, offset_);
}
if (pageSize_ != 0) {
output.writeInt32(5, pageSize_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, spaceName_);
}
for (int i = 0; i < mediaInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, mediaInfoList_.get(i));
}
if (totalCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, totalCount_);
}
if (offset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, offset_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, pageSize_);
}
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.VodGetMediaListData)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodGetMediaListData other = (com.volcengine.service.vod.model.business.VodGetMediaListData) obj;
if (!getSpaceName()
.equals(other.getSpaceName())) return false;
if (!getMediaInfoListList()
.equals(other.getMediaInfoListList())) return false;
if (getTotalCount()
!= other.getTotalCount()) return false;
if (getOffset()
!= other.getOffset()) return false;
if (getPageSize()
!= other.getPageSize()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SPACENAME_FIELD_NUMBER;
hash = (53 * hash) + getSpaceName().hashCode();
if (getMediaInfoListCount() > 0) {
hash = (37 * hash) + MEDIAINFOLIST_FIELD_NUMBER;
hash = (53 * hash) + getMediaInfoListList().hashCode();
}
hash = (37 * hash) + TOTALCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getTotalCount();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getOffset();
hash = (37 * hash) + PAGESIZE_FIELD_NUMBER;
hash = (53 * hash) + getPageSize();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodGetMediaListData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodGetMediaListData 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.VodGetMediaListData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodGetMediaListData 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.VodGetMediaListData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodGetMediaListData 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.VodGetMediaListData 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.VodGetMediaListData 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.VodGetMediaListData 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.VodGetMediaListData 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.VodGetMediaListData 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.VodGetMediaListData 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.VodGetMediaListData 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.VodGetMediaListData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodGetMediaListData)
com.volcengine.service.vod.model.business.VodGetMediaListDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetMediaListData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetMediaListData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodGetMediaListData.class, com.volcengine.service.vod.model.business.VodGetMediaListData.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodGetMediaListData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getMediaInfoListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
spaceName_ = "";
if (mediaInfoListBuilder_ == null) {
mediaInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
mediaInfoListBuilder_.clear();
}
totalCount_ = 0;
offset_ = 0;
pageSize_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetMediaListData_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodGetMediaListData getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodGetMediaListData.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodGetMediaListData build() {
com.volcengine.service.vod.model.business.VodGetMediaListData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodGetMediaListData buildPartial() {
com.volcengine.service.vod.model.business.VodGetMediaListData result = new com.volcengine.service.vod.model.business.VodGetMediaListData(this);
int from_bitField0_ = bitField0_;
result.spaceName_ = spaceName_;
if (mediaInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
mediaInfoList_ = java.util.Collections.unmodifiableList(mediaInfoList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.mediaInfoList_ = mediaInfoList_;
} else {
result.mediaInfoList_ = mediaInfoListBuilder_.build();
}
result.totalCount_ = totalCount_;
result.offset_ = offset_;
result.pageSize_ = pageSize_;
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.VodGetMediaListData) {
return mergeFrom((com.volcengine.service.vod.model.business.VodGetMediaListData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodGetMediaListData other) {
if (other == com.volcengine.service.vod.model.business.VodGetMediaListData.getDefaultInstance()) return this;
if (!other.getSpaceName().isEmpty()) {
spaceName_ = other.spaceName_;
onChanged();
}
if (mediaInfoListBuilder_ == null) {
if (!other.mediaInfoList_.isEmpty()) {
if (mediaInfoList_.isEmpty()) {
mediaInfoList_ = other.mediaInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMediaInfoListIsMutable();
mediaInfoList_.addAll(other.mediaInfoList_);
}
onChanged();
}
} else {
if (!other.mediaInfoList_.isEmpty()) {
if (mediaInfoListBuilder_.isEmpty()) {
mediaInfoListBuilder_.dispose();
mediaInfoListBuilder_ = null;
mediaInfoList_ = other.mediaInfoList_;
bitField0_ = (bitField0_ & ~0x00000001);
mediaInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMediaInfoListFieldBuilder() : null;
} else {
mediaInfoListBuilder_.addAllMessages(other.mediaInfoList_);
}
}
}
if (other.getTotalCount() != 0) {
setTotalCount(other.getTotalCount());
}
if (other.getOffset() != 0) {
setOffset(other.getOffset());
}
if (other.getPageSize() != 0) {
setPageSize(other.getPageSize());
}
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.VodGetMediaListData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodGetMediaListData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object spaceName_ = "";
/**
*
*空间名
*
*
* string SpaceName = 1;
* @return The spaceName.
*/
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spaceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*空间名
*
*
* string SpaceName = 1;
* @return The bytes for spaceName.
*/
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*空间名
*
*
* string SpaceName = 1;
* @param value The spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spaceName_ = value;
onChanged();
return this;
}
/**
*
*空间名
*
*
* string SpaceName = 1;
* @return This builder for chaining.
*/
public Builder clearSpaceName() {
spaceName_ = getDefaultInstance().getSpaceName();
onChanged();
return this;
}
/**
*
*空间名
*
*
* string SpaceName = 1;
* @param value The bytes for spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spaceName_ = value;
onChanged();
return this;
}
private java.util.List mediaInfoList_ =
java.util.Collections.emptyList();
private void ensureMediaInfoListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
mediaInfoList_ = new java.util.ArrayList(mediaInfoList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodMediaInfo, com.volcengine.service.vod.model.business.VodMediaInfo.Builder, com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder> mediaInfoListBuilder_;
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public java.util.List getMediaInfoListList() {
if (mediaInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(mediaInfoList_);
} else {
return mediaInfoListBuilder_.getMessageList();
}
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public int getMediaInfoListCount() {
if (mediaInfoListBuilder_ == null) {
return mediaInfoList_.size();
} else {
return mediaInfoListBuilder_.getCount();
}
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public com.volcengine.service.vod.model.business.VodMediaInfo getMediaInfoList(int index) {
if (mediaInfoListBuilder_ == null) {
return mediaInfoList_.get(index);
} else {
return mediaInfoListBuilder_.getMessage(index);
}
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder setMediaInfoList(
int index, com.volcengine.service.vod.model.business.VodMediaInfo value) {
if (mediaInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMediaInfoListIsMutable();
mediaInfoList_.set(index, value);
onChanged();
} else {
mediaInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder setMediaInfoList(
int index, com.volcengine.service.vod.model.business.VodMediaInfo.Builder builderForValue) {
if (mediaInfoListBuilder_ == null) {
ensureMediaInfoListIsMutable();
mediaInfoList_.set(index, builderForValue.build());
onChanged();
} else {
mediaInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder addMediaInfoList(com.volcengine.service.vod.model.business.VodMediaInfo value) {
if (mediaInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMediaInfoListIsMutable();
mediaInfoList_.add(value);
onChanged();
} else {
mediaInfoListBuilder_.addMessage(value);
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder addMediaInfoList(
int index, com.volcengine.service.vod.model.business.VodMediaInfo value) {
if (mediaInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMediaInfoListIsMutable();
mediaInfoList_.add(index, value);
onChanged();
} else {
mediaInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder addMediaInfoList(
com.volcengine.service.vod.model.business.VodMediaInfo.Builder builderForValue) {
if (mediaInfoListBuilder_ == null) {
ensureMediaInfoListIsMutable();
mediaInfoList_.add(builderForValue.build());
onChanged();
} else {
mediaInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder addMediaInfoList(
int index, com.volcengine.service.vod.model.business.VodMediaInfo.Builder builderForValue) {
if (mediaInfoListBuilder_ == null) {
ensureMediaInfoListIsMutable();
mediaInfoList_.add(index, builderForValue.build());
onChanged();
} else {
mediaInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder addAllMediaInfoList(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodMediaInfo> values) {
if (mediaInfoListBuilder_ == null) {
ensureMediaInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mediaInfoList_);
onChanged();
} else {
mediaInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder clearMediaInfoList() {
if (mediaInfoListBuilder_ == null) {
mediaInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
mediaInfoListBuilder_.clear();
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public Builder removeMediaInfoList(int index) {
if (mediaInfoListBuilder_ == null) {
ensureMediaInfoListIsMutable();
mediaInfoList_.remove(index);
onChanged();
} else {
mediaInfoListBuilder_.remove(index);
}
return this;
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public com.volcengine.service.vod.model.business.VodMediaInfo.Builder getMediaInfoListBuilder(
int index) {
return getMediaInfoListFieldBuilder().getBuilder(index);
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder getMediaInfoListOrBuilder(
int index) {
if (mediaInfoListBuilder_ == null) {
return mediaInfoList_.get(index); } else {
return mediaInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder>
getMediaInfoListOrBuilderList() {
if (mediaInfoListBuilder_ != null) {
return mediaInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(mediaInfoList_);
}
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public com.volcengine.service.vod.model.business.VodMediaInfo.Builder addMediaInfoListBuilder() {
return getMediaInfoListFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodMediaInfo.getDefaultInstance());
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public com.volcengine.service.vod.model.business.VodMediaInfo.Builder addMediaInfoListBuilder(
int index) {
return getMediaInfoListFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodMediaInfo.getDefaultInstance());
}
/**
*
*视频信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodMediaInfo MediaInfoList = 2;
*/
public java.util.List
getMediaInfoListBuilderList() {
return getMediaInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodMediaInfo, com.volcengine.service.vod.model.business.VodMediaInfo.Builder, com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder>
getMediaInfoListFieldBuilder() {
if (mediaInfoListBuilder_ == null) {
mediaInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodMediaInfo, com.volcengine.service.vod.model.business.VodMediaInfo.Builder, com.volcengine.service.vod.model.business.VodMediaInfoOrBuilder>(
mediaInfoList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
mediaInfoList_ = null;
}
return mediaInfoListBuilder_;
}
private int totalCount_ ;
/**
*
*符合条件的结果总数
*
*
* int32 TotalCount = 3;
* @return The totalCount.
*/
@java.lang.Override
public int getTotalCount() {
return totalCount_;
}
/**
*
*符合条件的结果总数
*
*
* int32 TotalCount = 3;
* @param value The totalCount to set.
* @return This builder for chaining.
*/
public Builder setTotalCount(int value) {
totalCount_ = value;
onChanged();
return this;
}
/**
*
*符合条件的结果总数
*
*
* int32 TotalCount = 3;
* @return This builder for chaining.
*/
public Builder clearTotalCount() {
totalCount_ = 0;
onChanged();
return this;
}
private int offset_ ;
/**
*
*数据偏移量
*
*
* int32 Offset = 4;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
/**
*
*数据偏移量
*
*
* int32 Offset = 4;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(int value) {
offset_ = value;
onChanged();
return this;
}
/**
*
*数据偏移量
*
*
* int32 Offset = 4;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0;
onChanged();
return this;
}
private int pageSize_ ;
/**
*
*分页大小
*
*
* int32 PageSize = 5;
* @return The pageSize.
*/
@java.lang.Override
public int getPageSize() {
return pageSize_;
}
/**
*
*分页大小
*
*
* int32 PageSize = 5;
* @param value The pageSize to set.
* @return This builder for chaining.
*/
public Builder setPageSize(int value) {
pageSize_ = value;
onChanged();
return this;
}
/**
*
*分页大小
*
*
* int32 PageSize = 5;
* @return This builder for chaining.
*/
public Builder clearPageSize() {
pageSize_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Volcengine.Vod.Models.Business.VodGetMediaListData)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodGetMediaListData)
private static final com.volcengine.service.vod.model.business.VodGetMediaListData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodGetMediaListData();
}
public static com.volcengine.service.vod.model.business.VodGetMediaListData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodGetMediaListData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodGetMediaListData(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.VodGetMediaListData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy