com.volcengine.service.vod.model.business.VodGetFileInfosData 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.VodGetFileInfosData}
*/
public final class VodGetFileInfosData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodGetFileInfosData)
VodGetFileInfosDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodGetFileInfosData.newBuilder() to construct.
private VodGetFileInfosData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodGetFileInfosData() {
fileInfos_ = java.util.Collections.emptyList();
notExistFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
notExistEncodedFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodGetFileInfosData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodGetFileInfosData(
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)) {
fileInfos_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
fileInfos_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodFileInfo.parser(), extensionRegistry));
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
notExistFileNames_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
notExistFileNames_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
notExistEncodedFileNames_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
notExistEncodedFileNames_.add(s);
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)) {
fileInfos_ = java.util.Collections.unmodifiableList(fileInfos_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
notExistFileNames_ = notExistFileNames_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
notExistEncodedFileNames_ = notExistEncodedFileNames_.getUnmodifiableView();
}
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_VodGetFileInfosData_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_VodGetFileInfosData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodGetFileInfosData.class, com.volcengine.service.vod.model.business.VodGetFileInfosData.Builder.class);
}
public static final int FILEINFOS_FIELD_NUMBER = 1;
private java.util.List fileInfos_;
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
@java.lang.Override
public java.util.List getFileInfosList() {
return fileInfos_;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodFileInfoOrBuilder>
getFileInfosOrBuilderList() {
return fileInfos_;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
@java.lang.Override
public int getFileInfosCount() {
return fileInfos_.size();
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodFileInfo getFileInfos(int index) {
return fileInfos_.get(index);
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodFileInfoOrBuilder getFileInfosOrBuilder(
int index) {
return fileInfos_.get(index);
}
public static final int NOTEXISTFILENAMES_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList notExistFileNames_;
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @return A list containing the notExistFileNames.
*/
public com.google.protobuf.ProtocolStringList
getNotExistFileNamesList() {
return notExistFileNames_;
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @return The count of notExistFileNames.
*/
public int getNotExistFileNamesCount() {
return notExistFileNames_.size();
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param index The index of the element to return.
* @return The notExistFileNames at the given index.
*/
public java.lang.String getNotExistFileNames(int index) {
return notExistFileNames_.get(index);
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param index The index of the value to return.
* @return The bytes of the notExistFileNames at the given index.
*/
public com.google.protobuf.ByteString
getNotExistFileNamesBytes(int index) {
return notExistFileNames_.getByteString(index);
}
public static final int NOTEXISTENCODEDFILENAMES_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList notExistEncodedFileNames_;
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @return A list containing the notExistEncodedFileNames.
*/
public com.google.protobuf.ProtocolStringList
getNotExistEncodedFileNamesList() {
return notExistEncodedFileNames_;
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @return The count of notExistEncodedFileNames.
*/
public int getNotExistEncodedFileNamesCount() {
return notExistEncodedFileNames_.size();
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param index The index of the element to return.
* @return The notExistEncodedFileNames at the given index.
*/
public java.lang.String getNotExistEncodedFileNames(int index) {
return notExistEncodedFileNames_.get(index);
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param index The index of the value to return.
* @return The bytes of the notExistEncodedFileNames at the given index.
*/
public com.google.protobuf.ByteString
getNotExistEncodedFileNamesBytes(int index) {
return notExistEncodedFileNames_.getByteString(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 < fileInfos_.size(); i++) {
output.writeMessage(1, fileInfos_.get(i));
}
for (int i = 0; i < notExistFileNames_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, notExistFileNames_.getRaw(i));
}
for (int i = 0; i < notExistEncodedFileNames_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, notExistEncodedFileNames_.getRaw(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 < fileInfos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, fileInfos_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < notExistFileNames_.size(); i++) {
dataSize += computeStringSizeNoTag(notExistFileNames_.getRaw(i));
}
size += dataSize;
size += 1 * getNotExistFileNamesList().size();
}
{
int dataSize = 0;
for (int i = 0; i < notExistEncodedFileNames_.size(); i++) {
dataSize += computeStringSizeNoTag(notExistEncodedFileNames_.getRaw(i));
}
size += dataSize;
size += 1 * getNotExistEncodedFileNamesList().size();
}
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.VodGetFileInfosData)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodGetFileInfosData other = (com.volcengine.service.vod.model.business.VodGetFileInfosData) obj;
if (!getFileInfosList()
.equals(other.getFileInfosList())) return false;
if (!getNotExistFileNamesList()
.equals(other.getNotExistFileNamesList())) return false;
if (!getNotExistEncodedFileNamesList()
.equals(other.getNotExistEncodedFileNamesList())) 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 (getFileInfosCount() > 0) {
hash = (37 * hash) + FILEINFOS_FIELD_NUMBER;
hash = (53 * hash) + getFileInfosList().hashCode();
}
if (getNotExistFileNamesCount() > 0) {
hash = (37 * hash) + NOTEXISTFILENAMES_FIELD_NUMBER;
hash = (53 * hash) + getNotExistFileNamesList().hashCode();
}
if (getNotExistEncodedFileNamesCount() > 0) {
hash = (37 * hash) + NOTEXISTENCODEDFILENAMES_FIELD_NUMBER;
hash = (53 * hash) + getNotExistEncodedFileNamesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodGetFileInfosData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodGetFileInfosData 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.VodGetFileInfosData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodGetFileInfosData 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.VodGetFileInfosData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodGetFileInfosData 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.VodGetFileInfosData 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.VodGetFileInfosData 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.VodGetFileInfosData 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.VodGetFileInfosData 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.VodGetFileInfosData 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.VodGetFileInfosData 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.VodGetFileInfosData 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.VodGetFileInfosData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodGetFileInfosData)
com.volcengine.service.vod.model.business.VodGetFileInfosDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodGetFileInfosData_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_VodGetFileInfosData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodGetFileInfosData.class, com.volcengine.service.vod.model.business.VodGetFileInfosData.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodGetFileInfosData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFileInfosFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (fileInfosBuilder_ == null) {
fileInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
fileInfosBuilder_.clear();
}
notExistFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
notExistEncodedFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
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_VodGetFileInfosData_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodGetFileInfosData getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodGetFileInfosData.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodGetFileInfosData build() {
com.volcengine.service.vod.model.business.VodGetFileInfosData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodGetFileInfosData buildPartial() {
com.volcengine.service.vod.model.business.VodGetFileInfosData result = new com.volcengine.service.vod.model.business.VodGetFileInfosData(this);
int from_bitField0_ = bitField0_;
if (fileInfosBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
fileInfos_ = java.util.Collections.unmodifiableList(fileInfos_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fileInfos_ = fileInfos_;
} else {
result.fileInfos_ = fileInfosBuilder_.build();
}
if (((bitField0_ & 0x00000002) != 0)) {
notExistFileNames_ = notExistFileNames_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.notExistFileNames_ = notExistFileNames_;
if (((bitField0_ & 0x00000004) != 0)) {
notExistEncodedFileNames_ = notExistEncodedFileNames_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.notExistEncodedFileNames_ = notExistEncodedFileNames_;
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.VodGetFileInfosData) {
return mergeFrom((com.volcengine.service.vod.model.business.VodGetFileInfosData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodGetFileInfosData other) {
if (other == com.volcengine.service.vod.model.business.VodGetFileInfosData.getDefaultInstance()) return this;
if (fileInfosBuilder_ == null) {
if (!other.fileInfos_.isEmpty()) {
if (fileInfos_.isEmpty()) {
fileInfos_ = other.fileInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFileInfosIsMutable();
fileInfos_.addAll(other.fileInfos_);
}
onChanged();
}
} else {
if (!other.fileInfos_.isEmpty()) {
if (fileInfosBuilder_.isEmpty()) {
fileInfosBuilder_.dispose();
fileInfosBuilder_ = null;
fileInfos_ = other.fileInfos_;
bitField0_ = (bitField0_ & ~0x00000001);
fileInfosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFileInfosFieldBuilder() : null;
} else {
fileInfosBuilder_.addAllMessages(other.fileInfos_);
}
}
}
if (!other.notExistFileNames_.isEmpty()) {
if (notExistFileNames_.isEmpty()) {
notExistFileNames_ = other.notExistFileNames_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureNotExistFileNamesIsMutable();
notExistFileNames_.addAll(other.notExistFileNames_);
}
onChanged();
}
if (!other.notExistEncodedFileNames_.isEmpty()) {
if (notExistEncodedFileNames_.isEmpty()) {
notExistEncodedFileNames_ = other.notExistEncodedFileNames_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureNotExistEncodedFileNamesIsMutable();
notExistEncodedFileNames_.addAll(other.notExistEncodedFileNames_);
}
onChanged();
}
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.VodGetFileInfosData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodGetFileInfosData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List fileInfos_ =
java.util.Collections.emptyList();
private void ensureFileInfosIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fileInfos_ = new java.util.ArrayList(fileInfos_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodFileInfo, com.volcengine.service.vod.model.business.VodFileInfo.Builder, com.volcengine.service.vod.model.business.VodFileInfoOrBuilder> fileInfosBuilder_;
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public java.util.List getFileInfosList() {
if (fileInfosBuilder_ == null) {
return java.util.Collections.unmodifiableList(fileInfos_);
} else {
return fileInfosBuilder_.getMessageList();
}
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public int getFileInfosCount() {
if (fileInfosBuilder_ == null) {
return fileInfos_.size();
} else {
return fileInfosBuilder_.getCount();
}
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodFileInfo getFileInfos(int index) {
if (fileInfosBuilder_ == null) {
return fileInfos_.get(index);
} else {
return fileInfosBuilder_.getMessage(index);
}
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder setFileInfos(
int index, com.volcengine.service.vod.model.business.VodFileInfo value) {
if (fileInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileInfosIsMutable();
fileInfos_.set(index, value);
onChanged();
} else {
fileInfosBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder setFileInfos(
int index, com.volcengine.service.vod.model.business.VodFileInfo.Builder builderForValue) {
if (fileInfosBuilder_ == null) {
ensureFileInfosIsMutable();
fileInfos_.set(index, builderForValue.build());
onChanged();
} else {
fileInfosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder addFileInfos(com.volcengine.service.vod.model.business.VodFileInfo value) {
if (fileInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileInfosIsMutable();
fileInfos_.add(value);
onChanged();
} else {
fileInfosBuilder_.addMessage(value);
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder addFileInfos(
int index, com.volcengine.service.vod.model.business.VodFileInfo value) {
if (fileInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileInfosIsMutable();
fileInfos_.add(index, value);
onChanged();
} else {
fileInfosBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder addFileInfos(
com.volcengine.service.vod.model.business.VodFileInfo.Builder builderForValue) {
if (fileInfosBuilder_ == null) {
ensureFileInfosIsMutable();
fileInfos_.add(builderForValue.build());
onChanged();
} else {
fileInfosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder addFileInfos(
int index, com.volcengine.service.vod.model.business.VodFileInfo.Builder builderForValue) {
if (fileInfosBuilder_ == null) {
ensureFileInfosIsMutable();
fileInfos_.add(index, builderForValue.build());
onChanged();
} else {
fileInfosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder addAllFileInfos(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodFileInfo> values) {
if (fileInfosBuilder_ == null) {
ensureFileInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fileInfos_);
onChanged();
} else {
fileInfosBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder clearFileInfos() {
if (fileInfosBuilder_ == null) {
fileInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
fileInfosBuilder_.clear();
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public Builder removeFileInfos(int index) {
if (fileInfosBuilder_ == null) {
ensureFileInfosIsMutable();
fileInfos_.remove(index);
onChanged();
} else {
fileInfosBuilder_.remove(index);
}
return this;
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodFileInfo.Builder getFileInfosBuilder(
int index) {
return getFileInfosFieldBuilder().getBuilder(index);
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodFileInfoOrBuilder getFileInfosOrBuilder(
int index) {
if (fileInfosBuilder_ == null) {
return fileInfos_.get(index); } else {
return fileInfosBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodFileInfoOrBuilder>
getFileInfosOrBuilderList() {
if (fileInfosBuilder_ != null) {
return fileInfosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fileInfos_);
}
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodFileInfo.Builder addFileInfosBuilder() {
return getFileInfosFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodFileInfo.getDefaultInstance());
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public com.volcengine.service.vod.model.business.VodFileInfo.Builder addFileInfosBuilder(
int index) {
return getFileInfosFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodFileInfo.getDefaultInstance());
}
/**
*
*文件信息
*
*
* repeated .Volcengine.Vod.Models.Business.VodFileInfo FileInfos = 1;
*/
public java.util.List
getFileInfosBuilderList() {
return getFileInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodFileInfo, com.volcengine.service.vod.model.business.VodFileInfo.Builder, com.volcengine.service.vod.model.business.VodFileInfoOrBuilder>
getFileInfosFieldBuilder() {
if (fileInfosBuilder_ == null) {
fileInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodFileInfo, com.volcengine.service.vod.model.business.VodFileInfo.Builder, com.volcengine.service.vod.model.business.VodFileInfoOrBuilder>(
fileInfos_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
fileInfos_ = null;
}
return fileInfosBuilder_;
}
private com.google.protobuf.LazyStringList notExistFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureNotExistFileNamesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
notExistFileNames_ = new com.google.protobuf.LazyStringArrayList(notExistFileNames_);
bitField0_ |= 0x00000002;
}
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @return A list containing the notExistFileNames.
*/
public com.google.protobuf.ProtocolStringList
getNotExistFileNamesList() {
return notExistFileNames_.getUnmodifiableView();
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @return The count of notExistFileNames.
*/
public int getNotExistFileNamesCount() {
return notExistFileNames_.size();
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param index The index of the element to return.
* @return The notExistFileNames at the given index.
*/
public java.lang.String getNotExistFileNames(int index) {
return notExistFileNames_.get(index);
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param index The index of the value to return.
* @return The bytes of the notExistFileNames at the given index.
*/
public com.google.protobuf.ByteString
getNotExistFileNamesBytes(int index) {
return notExistFileNames_.getByteString(index);
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param index The index to set the value at.
* @param value The notExistFileNames to set.
* @return This builder for chaining.
*/
public Builder setNotExistFileNames(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNotExistFileNamesIsMutable();
notExistFileNames_.set(index, value);
onChanged();
return this;
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param value The notExistFileNames to add.
* @return This builder for chaining.
*/
public Builder addNotExistFileNames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNotExistFileNamesIsMutable();
notExistFileNames_.add(value);
onChanged();
return this;
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param values The notExistFileNames to add.
* @return This builder for chaining.
*/
public Builder addAllNotExistFileNames(
java.lang.Iterable values) {
ensureNotExistFileNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, notExistFileNames_);
onChanged();
return this;
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @return This builder for chaining.
*/
public Builder clearNotExistFileNames() {
notExistFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
*不存在的文件
*
*
* repeated string NotExistFileNames = 2;
* @param value The bytes of the notExistFileNames to add.
* @return This builder for chaining.
*/
public Builder addNotExistFileNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureNotExistFileNamesIsMutable();
notExistFileNames_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList notExistEncodedFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureNotExistEncodedFileNamesIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
notExistEncodedFileNames_ = new com.google.protobuf.LazyStringArrayList(notExistEncodedFileNames_);
bitField0_ |= 0x00000004;
}
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @return A list containing the notExistEncodedFileNames.
*/
public com.google.protobuf.ProtocolStringList
getNotExistEncodedFileNamesList() {
return notExistEncodedFileNames_.getUnmodifiableView();
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @return The count of notExistEncodedFileNames.
*/
public int getNotExistEncodedFileNamesCount() {
return notExistEncodedFileNames_.size();
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param index The index of the element to return.
* @return The notExistEncodedFileNames at the given index.
*/
public java.lang.String getNotExistEncodedFileNames(int index) {
return notExistEncodedFileNames_.get(index);
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param index The index of the value to return.
* @return The bytes of the notExistEncodedFileNames at the given index.
*/
public com.google.protobuf.ByteString
getNotExistEncodedFileNamesBytes(int index) {
return notExistEncodedFileNames_.getByteString(index);
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param index The index to set the value at.
* @param value The notExistEncodedFileNames to set.
* @return This builder for chaining.
*/
public Builder setNotExistEncodedFileNames(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNotExistEncodedFileNamesIsMutable();
notExistEncodedFileNames_.set(index, value);
onChanged();
return this;
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param value The notExistEncodedFileNames to add.
* @return This builder for chaining.
*/
public Builder addNotExistEncodedFileNames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNotExistEncodedFileNamesIsMutable();
notExistEncodedFileNames_.add(value);
onChanged();
return this;
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param values The notExistEncodedFileNames to add.
* @return This builder for chaining.
*/
public Builder addAllNotExistEncodedFileNames(
java.lang.Iterable values) {
ensureNotExistEncodedFileNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, notExistEncodedFileNames_);
onChanged();
return this;
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @return This builder for chaining.
*/
public Builder clearNotExistEncodedFileNames() {
notExistEncodedFileNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
*不存在的文件(URL编码格式)
*
*
* repeated string NotExistEncodedFileNames = 3;
* @param value The bytes of the notExistEncodedFileNames to add.
* @return This builder for chaining.
*/
public Builder addNotExistEncodedFileNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureNotExistEncodedFileNamesIsMutable();
notExistEncodedFileNames_.add(value);
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.VodGetFileInfosData)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodGetFileInfosData)
private static final com.volcengine.service.vod.model.business.VodGetFileInfosData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodGetFileInfosData();
}
public static com.volcengine.service.vod.model.business.VodGetFileInfosData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodGetFileInfosData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodGetFileInfosData(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.VodGetFileInfosData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy