com.volcengine.service.vod.model.business.OperateFileNames 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_object.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.OperateFileNames}
*/
public final class OperateFileNames extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.OperateFileNames)
OperateFileNamesOrBuilder {
private static final long serialVersionUID = 0L;
// Use OperateFileNames.newBuilder() to construct.
private OperateFileNames(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OperateFileNames() {
successFileNames_ = java.util.Collections.emptyList();
failedFileNames_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new OperateFileNames();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OperateFileNames(
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)) {
successFileNames_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
successFileNames_.add(
input.readMessage(com.volcengine.service.vod.model.business.FileNameTaskInfo.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
failedFileNames_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
failedFileNames_.add(
input.readMessage(com.volcengine.service.vod.model.business.FileNameTaskInfo.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)) {
successFileNames_ = java.util.Collections.unmodifiableList(successFileNames_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
failedFileNames_ = java.util.Collections.unmodifiableList(failedFileNames_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodObject.internal_static_Volcengine_Vod_Models_Business_OperateFileNames_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodObject.internal_static_Volcengine_Vod_Models_Business_OperateFileNames_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.OperateFileNames.class, com.volcengine.service.vod.model.business.OperateFileNames.Builder.class);
}
public static final int SUCCESSFILENAMES_FIELD_NUMBER = 1;
private java.util.List successFileNames_;
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
@java.lang.Override
public java.util.List getSuccessFileNamesList() {
return successFileNames_;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>
getSuccessFileNamesOrBuilderList() {
return successFileNames_;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
@java.lang.Override
public int getSuccessFileNamesCount() {
return successFileNames_.size();
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.FileNameTaskInfo getSuccessFileNames(int index) {
return successFileNames_.get(index);
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder getSuccessFileNamesOrBuilder(
int index) {
return successFileNames_.get(index);
}
public static final int FAILEDFILENAMES_FIELD_NUMBER = 2;
private java.util.List failedFileNames_;
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
@java.lang.Override
public java.util.List getFailedFileNamesList() {
return failedFileNames_;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>
getFailedFileNamesOrBuilderList() {
return failedFileNames_;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
@java.lang.Override
public int getFailedFileNamesCount() {
return failedFileNames_.size();
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.FileNameTaskInfo getFailedFileNames(int index) {
return failedFileNames_.get(index);
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder getFailedFileNamesOrBuilder(
int index) {
return failedFileNames_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < successFileNames_.size(); i++) {
output.writeMessage(1, successFileNames_.get(i));
}
for (int i = 0; i < failedFileNames_.size(); i++) {
output.writeMessage(2, failedFileNames_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < successFileNames_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, successFileNames_.get(i));
}
for (int i = 0; i < failedFileNames_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, failedFileNames_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.volcengine.service.vod.model.business.OperateFileNames)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.OperateFileNames other = (com.volcengine.service.vod.model.business.OperateFileNames) obj;
if (!getSuccessFileNamesList()
.equals(other.getSuccessFileNamesList())) return false;
if (!getFailedFileNamesList()
.equals(other.getFailedFileNamesList())) 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 (getSuccessFileNamesCount() > 0) {
hash = (37 * hash) + SUCCESSFILENAMES_FIELD_NUMBER;
hash = (53 * hash) + getSuccessFileNamesList().hashCode();
}
if (getFailedFileNamesCount() > 0) {
hash = (37 * hash) + FAILEDFILENAMES_FIELD_NUMBER;
hash = (53 * hash) + getFailedFileNamesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.OperateFileNames parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.OperateFileNames 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.OperateFileNames parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.OperateFileNames 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.OperateFileNames parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.OperateFileNames 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.OperateFileNames 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.OperateFileNames 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.OperateFileNames 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.OperateFileNames 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.OperateFileNames 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.OperateFileNames 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.OperateFileNames 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.OperateFileNames}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.OperateFileNames)
com.volcengine.service.vod.model.business.OperateFileNamesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodObject.internal_static_Volcengine_Vod_Models_Business_OperateFileNames_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodObject.internal_static_Volcengine_Vod_Models_Business_OperateFileNames_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.OperateFileNames.class, com.volcengine.service.vod.model.business.OperateFileNames.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.OperateFileNames.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSuccessFileNamesFieldBuilder();
getFailedFileNamesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (successFileNamesBuilder_ == null) {
successFileNames_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
successFileNamesBuilder_.clear();
}
if (failedFileNamesBuilder_ == null) {
failedFileNames_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
failedFileNamesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodObject.internal_static_Volcengine_Vod_Models_Business_OperateFileNames_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.OperateFileNames getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.OperateFileNames.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.OperateFileNames build() {
com.volcengine.service.vod.model.business.OperateFileNames result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.OperateFileNames buildPartial() {
com.volcengine.service.vod.model.business.OperateFileNames result = new com.volcengine.service.vod.model.business.OperateFileNames(this);
int from_bitField0_ = bitField0_;
if (successFileNamesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
successFileNames_ = java.util.Collections.unmodifiableList(successFileNames_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.successFileNames_ = successFileNames_;
} else {
result.successFileNames_ = successFileNamesBuilder_.build();
}
if (failedFileNamesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
failedFileNames_ = java.util.Collections.unmodifiableList(failedFileNames_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.failedFileNames_ = failedFileNames_;
} else {
result.failedFileNames_ = failedFileNamesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.volcengine.service.vod.model.business.OperateFileNames) {
return mergeFrom((com.volcengine.service.vod.model.business.OperateFileNames)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.OperateFileNames other) {
if (other == com.volcengine.service.vod.model.business.OperateFileNames.getDefaultInstance()) return this;
if (successFileNamesBuilder_ == null) {
if (!other.successFileNames_.isEmpty()) {
if (successFileNames_.isEmpty()) {
successFileNames_ = other.successFileNames_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSuccessFileNamesIsMutable();
successFileNames_.addAll(other.successFileNames_);
}
onChanged();
}
} else {
if (!other.successFileNames_.isEmpty()) {
if (successFileNamesBuilder_.isEmpty()) {
successFileNamesBuilder_.dispose();
successFileNamesBuilder_ = null;
successFileNames_ = other.successFileNames_;
bitField0_ = (bitField0_ & ~0x00000001);
successFileNamesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSuccessFileNamesFieldBuilder() : null;
} else {
successFileNamesBuilder_.addAllMessages(other.successFileNames_);
}
}
}
if (failedFileNamesBuilder_ == null) {
if (!other.failedFileNames_.isEmpty()) {
if (failedFileNames_.isEmpty()) {
failedFileNames_ = other.failedFileNames_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFailedFileNamesIsMutable();
failedFileNames_.addAll(other.failedFileNames_);
}
onChanged();
}
} else {
if (!other.failedFileNames_.isEmpty()) {
if (failedFileNamesBuilder_.isEmpty()) {
failedFileNamesBuilder_.dispose();
failedFileNamesBuilder_ = null;
failedFileNames_ = other.failedFileNames_;
bitField0_ = (bitField0_ & ~0x00000002);
failedFileNamesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFailedFileNamesFieldBuilder() : null;
} else {
failedFileNamesBuilder_.addAllMessages(other.failedFileNames_);
}
}
}
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.OperateFileNames parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.OperateFileNames) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List successFileNames_ =
java.util.Collections.emptyList();
private void ensureSuccessFileNamesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
successFileNames_ = new java.util.ArrayList(successFileNames_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.FileNameTaskInfo, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder, com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder> successFileNamesBuilder_;
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public java.util.List getSuccessFileNamesList() {
if (successFileNamesBuilder_ == null) {
return java.util.Collections.unmodifiableList(successFileNames_);
} else {
return successFileNamesBuilder_.getMessageList();
}
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public int getSuccessFileNamesCount() {
if (successFileNamesBuilder_ == null) {
return successFileNames_.size();
} else {
return successFileNamesBuilder_.getCount();
}
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo getSuccessFileNames(int index) {
if (successFileNamesBuilder_ == null) {
return successFileNames_.get(index);
} else {
return successFileNamesBuilder_.getMessage(index);
}
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder setSuccessFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo value) {
if (successFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuccessFileNamesIsMutable();
successFileNames_.set(index, value);
onChanged();
} else {
successFileNamesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder setSuccessFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder builderForValue) {
if (successFileNamesBuilder_ == null) {
ensureSuccessFileNamesIsMutable();
successFileNames_.set(index, builderForValue.build());
onChanged();
} else {
successFileNamesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder addSuccessFileNames(com.volcengine.service.vod.model.business.FileNameTaskInfo value) {
if (successFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuccessFileNamesIsMutable();
successFileNames_.add(value);
onChanged();
} else {
successFileNamesBuilder_.addMessage(value);
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder addSuccessFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo value) {
if (successFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuccessFileNamesIsMutable();
successFileNames_.add(index, value);
onChanged();
} else {
successFileNamesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder addSuccessFileNames(
com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder builderForValue) {
if (successFileNamesBuilder_ == null) {
ensureSuccessFileNamesIsMutable();
successFileNames_.add(builderForValue.build());
onChanged();
} else {
successFileNamesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder addSuccessFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder builderForValue) {
if (successFileNamesBuilder_ == null) {
ensureSuccessFileNamesIsMutable();
successFileNames_.add(index, builderForValue.build());
onChanged();
} else {
successFileNamesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder addAllSuccessFileNames(
java.lang.Iterable extends com.volcengine.service.vod.model.business.FileNameTaskInfo> values) {
if (successFileNamesBuilder_ == null) {
ensureSuccessFileNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, successFileNames_);
onChanged();
} else {
successFileNamesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder clearSuccessFileNames() {
if (successFileNamesBuilder_ == null) {
successFileNames_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
successFileNamesBuilder_.clear();
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public Builder removeSuccessFileNames(int index) {
if (successFileNamesBuilder_ == null) {
ensureSuccessFileNamesIsMutable();
successFileNames_.remove(index);
onChanged();
} else {
successFileNamesBuilder_.remove(index);
}
return this;
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder getSuccessFileNamesBuilder(
int index) {
return getSuccessFileNamesFieldBuilder().getBuilder(index);
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder getSuccessFileNamesOrBuilder(
int index) {
if (successFileNamesBuilder_ == null) {
return successFileNames_.get(index); } else {
return successFileNamesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public java.util.List extends com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>
getSuccessFileNamesOrBuilderList() {
if (successFileNamesBuilder_ != null) {
return successFileNamesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(successFileNames_);
}
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder addSuccessFileNamesBuilder() {
return getSuccessFileNamesFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.FileNameTaskInfo.getDefaultInstance());
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder addSuccessFileNamesBuilder(
int index) {
return getSuccessFileNamesFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.FileNameTaskInfo.getDefaultInstance());
}
/**
*
*成功任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo SuccessFileNames = 1;
*/
public java.util.List
getSuccessFileNamesBuilderList() {
return getSuccessFileNamesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.FileNameTaskInfo, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder, com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>
getSuccessFileNamesFieldBuilder() {
if (successFileNamesBuilder_ == null) {
successFileNamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.FileNameTaskInfo, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder, com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>(
successFileNames_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
successFileNames_ = null;
}
return successFileNamesBuilder_;
}
private java.util.List failedFileNames_ =
java.util.Collections.emptyList();
private void ensureFailedFileNamesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
failedFileNames_ = new java.util.ArrayList(failedFileNames_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.FileNameTaskInfo, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder, com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder> failedFileNamesBuilder_;
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public java.util.List getFailedFileNamesList() {
if (failedFileNamesBuilder_ == null) {
return java.util.Collections.unmodifiableList(failedFileNames_);
} else {
return failedFileNamesBuilder_.getMessageList();
}
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public int getFailedFileNamesCount() {
if (failedFileNamesBuilder_ == null) {
return failedFileNames_.size();
} else {
return failedFileNamesBuilder_.getCount();
}
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo getFailedFileNames(int index) {
if (failedFileNamesBuilder_ == null) {
return failedFileNames_.get(index);
} else {
return failedFileNamesBuilder_.getMessage(index);
}
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder setFailedFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo value) {
if (failedFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFailedFileNamesIsMutable();
failedFileNames_.set(index, value);
onChanged();
} else {
failedFileNamesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder setFailedFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder builderForValue) {
if (failedFileNamesBuilder_ == null) {
ensureFailedFileNamesIsMutable();
failedFileNames_.set(index, builderForValue.build());
onChanged();
} else {
failedFileNamesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder addFailedFileNames(com.volcengine.service.vod.model.business.FileNameTaskInfo value) {
if (failedFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFailedFileNamesIsMutable();
failedFileNames_.add(value);
onChanged();
} else {
failedFileNamesBuilder_.addMessage(value);
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder addFailedFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo value) {
if (failedFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFailedFileNamesIsMutable();
failedFileNames_.add(index, value);
onChanged();
} else {
failedFileNamesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder addFailedFileNames(
com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder builderForValue) {
if (failedFileNamesBuilder_ == null) {
ensureFailedFileNamesIsMutable();
failedFileNames_.add(builderForValue.build());
onChanged();
} else {
failedFileNamesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder addFailedFileNames(
int index, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder builderForValue) {
if (failedFileNamesBuilder_ == null) {
ensureFailedFileNamesIsMutable();
failedFileNames_.add(index, builderForValue.build());
onChanged();
} else {
failedFileNamesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder addAllFailedFileNames(
java.lang.Iterable extends com.volcengine.service.vod.model.business.FileNameTaskInfo> values) {
if (failedFileNamesBuilder_ == null) {
ensureFailedFileNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, failedFileNames_);
onChanged();
} else {
failedFileNamesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder clearFailedFileNames() {
if (failedFileNamesBuilder_ == null) {
failedFileNames_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
failedFileNamesBuilder_.clear();
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public Builder removeFailedFileNames(int index) {
if (failedFileNamesBuilder_ == null) {
ensureFailedFileNamesIsMutable();
failedFileNames_.remove(index);
onChanged();
} else {
failedFileNamesBuilder_.remove(index);
}
return this;
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder getFailedFileNamesBuilder(
int index) {
return getFailedFileNamesFieldBuilder().getBuilder(index);
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder getFailedFileNamesOrBuilder(
int index) {
if (failedFileNamesBuilder_ == null) {
return failedFileNames_.get(index); } else {
return failedFileNamesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public java.util.List extends com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>
getFailedFileNamesOrBuilderList() {
if (failedFileNamesBuilder_ != null) {
return failedFileNamesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(failedFileNames_);
}
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder addFailedFileNamesBuilder() {
return getFailedFileNamesFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.FileNameTaskInfo.getDefaultInstance());
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder addFailedFileNamesBuilder(
int index) {
return getFailedFileNamesFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.FileNameTaskInfo.getDefaultInstance());
}
/**
*
*失败任务列表
*
*
* repeated .Volcengine.Vod.Models.Business.FileNameTaskInfo FailedFileNames = 2;
*/
public java.util.List
getFailedFileNamesBuilderList() {
return getFailedFileNamesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.FileNameTaskInfo, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder, com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>
getFailedFileNamesFieldBuilder() {
if (failedFileNamesBuilder_ == null) {
failedFileNamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.FileNameTaskInfo, com.volcengine.service.vod.model.business.FileNameTaskInfo.Builder, com.volcengine.service.vod.model.business.FileNameTaskInfoOrBuilder>(
failedFileNames_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
failedFileNames_ = null;
}
return failedFileNamesBuilder_;
}
@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.OperateFileNames)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.OperateFileNames)
private static final com.volcengine.service.vod.model.business.OperateFileNames DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.OperateFileNames();
}
public static com.volcengine.service.vod.model.business.OperateFileNames getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public OperateFileNames parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OperateFileNames(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.OperateFileNames getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy