com.volcengine.service.vod.model.business.TranscodeResult 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_workflow.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.TranscodeResult}
*/
public final class TranscodeResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.TranscodeResult)
TranscodeResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use TranscodeResult.newBuilder() to construct.
private TranscodeResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TranscodeResult() {
vid_ = "";
categoryTags_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TranscodeResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TranscodeResult(
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();
vid_ = s;
break;
}
case 18: {
com.volcengine.service.vod.model.business.Inspection.Builder subBuilder = null;
if (inspection_ != null) {
subBuilder = inspection_.toBuilder();
}
inspection_ = input.readMessage(com.volcengine.service.vod.model.business.Inspection.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inspection_);
inspection_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
categoryTags_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
categoryTags_.add(
input.readMessage(com.volcengine.service.vod.model.business.CategoryTagInfo.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)) {
categoryTags_ = java.util.Collections.unmodifiableList(categoryTags_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.TranscodeResult.class, com.volcengine.service.vod.model.business.TranscodeResult.Builder.class);
}
public static final int VID_FIELD_NUMBER = 1;
private volatile java.lang.Object vid_;
/**
*
*视频id,为请求值
*
*
* string Vid = 1;
* @return The vid.
*/
@java.lang.Override
public java.lang.String getVid() {
java.lang.Object ref = vid_;
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();
vid_ = s;
return s;
}
}
/**
*
*视频id,为请求值
*
*
* string Vid = 1;
* @return The bytes for vid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSPECTION_FIELD_NUMBER = 2;
private com.volcengine.service.vod.model.business.Inspection inspection_;
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
* @return Whether the inspection field is set.
*/
@java.lang.Override
public boolean hasInspection() {
return inspection_ != null;
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
* @return The inspection.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.Inspection getInspection() {
return inspection_ == null ? com.volcengine.service.vod.model.business.Inspection.getDefaultInstance() : inspection_;
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.InspectionOrBuilder getInspectionOrBuilder() {
return getInspection();
}
public static final int CATEGORYTAGS_FIELD_NUMBER = 3;
private java.util.List categoryTags_;
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
@java.lang.Override
public java.util.List getCategoryTagsList() {
return categoryTags_;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.CategoryTagInfoOrBuilder>
getCategoryTagsOrBuilderList() {
return categoryTags_;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
@java.lang.Override
public int getCategoryTagsCount() {
return categoryTags_.size();
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.CategoryTagInfo getCategoryTags(int index) {
return categoryTags_.get(index);
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.CategoryTagInfoOrBuilder getCategoryTagsOrBuilder(
int index) {
return categoryTags_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vid_);
}
if (inspection_ != null) {
output.writeMessage(2, getInspection());
}
for (int i = 0; i < categoryTags_.size(); i++) {
output.writeMessage(3, categoryTags_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vid_);
}
if (inspection_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getInspection());
}
for (int i = 0; i < categoryTags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, categoryTags_.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.TranscodeResult)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.TranscodeResult other = (com.volcengine.service.vod.model.business.TranscodeResult) obj;
if (!getVid()
.equals(other.getVid())) return false;
if (hasInspection() != other.hasInspection()) return false;
if (hasInspection()) {
if (!getInspection()
.equals(other.getInspection())) return false;
}
if (!getCategoryTagsList()
.equals(other.getCategoryTagsList())) 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) + VID_FIELD_NUMBER;
hash = (53 * hash) + getVid().hashCode();
if (hasInspection()) {
hash = (37 * hash) + INSPECTION_FIELD_NUMBER;
hash = (53 * hash) + getInspection().hashCode();
}
if (getCategoryTagsCount() > 0) {
hash = (37 * hash) + CATEGORYTAGS_FIELD_NUMBER;
hash = (53 * hash) + getCategoryTagsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.TranscodeResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.TranscodeResult 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.TranscodeResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.TranscodeResult 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.TranscodeResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.TranscodeResult 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.TranscodeResult 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.TranscodeResult 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.TranscodeResult 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.TranscodeResult 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.TranscodeResult 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.TranscodeResult 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.TranscodeResult 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.TranscodeResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.TranscodeResult)
com.volcengine.service.vod.model.business.TranscodeResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.TranscodeResult.class, com.volcengine.service.vod.model.business.TranscodeResult.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.TranscodeResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCategoryTagsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
vid_ = "";
if (inspectionBuilder_ == null) {
inspection_ = null;
} else {
inspection_ = null;
inspectionBuilder_ = null;
}
if (categoryTagsBuilder_ == null) {
categoryTags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
categoryTagsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TranscodeResult_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeResult getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.TranscodeResult.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeResult build() {
com.volcengine.service.vod.model.business.TranscodeResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeResult buildPartial() {
com.volcengine.service.vod.model.business.TranscodeResult result = new com.volcengine.service.vod.model.business.TranscodeResult(this);
int from_bitField0_ = bitField0_;
result.vid_ = vid_;
if (inspectionBuilder_ == null) {
result.inspection_ = inspection_;
} else {
result.inspection_ = inspectionBuilder_.build();
}
if (categoryTagsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
categoryTags_ = java.util.Collections.unmodifiableList(categoryTags_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.categoryTags_ = categoryTags_;
} else {
result.categoryTags_ = categoryTagsBuilder_.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.TranscodeResult) {
return mergeFrom((com.volcengine.service.vod.model.business.TranscodeResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.TranscodeResult other) {
if (other == com.volcengine.service.vod.model.business.TranscodeResult.getDefaultInstance()) return this;
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (other.hasInspection()) {
mergeInspection(other.getInspection());
}
if (categoryTagsBuilder_ == null) {
if (!other.categoryTags_.isEmpty()) {
if (categoryTags_.isEmpty()) {
categoryTags_ = other.categoryTags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCategoryTagsIsMutable();
categoryTags_.addAll(other.categoryTags_);
}
onChanged();
}
} else {
if (!other.categoryTags_.isEmpty()) {
if (categoryTagsBuilder_.isEmpty()) {
categoryTagsBuilder_.dispose();
categoryTagsBuilder_ = null;
categoryTags_ = other.categoryTags_;
bitField0_ = (bitField0_ & ~0x00000001);
categoryTagsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCategoryTagsFieldBuilder() : null;
} else {
categoryTagsBuilder_.addAllMessages(other.categoryTags_);
}
}
}
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.TranscodeResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.TranscodeResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object vid_ = "";
/**
*
*视频id,为请求值
*
*
* string Vid = 1;
* @return The vid.
*/
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*视频id,为请求值
*
*
* string Vid = 1;
* @return The bytes for vid.
*/
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*视频id,为请求值
*
*
* string Vid = 1;
* @param value The vid to set.
* @return This builder for chaining.
*/
public Builder setVid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vid_ = value;
onChanged();
return this;
}
/**
*
*视频id,为请求值
*
*
* string Vid = 1;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
*
*视频id,为请求值
*
*
* string Vid = 1;
* @param value The bytes for vid to set.
* @return This builder for chaining.
*/
public Builder setVidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vid_ = value;
onChanged();
return this;
}
private com.volcengine.service.vod.model.business.Inspection inspection_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.Inspection, com.volcengine.service.vod.model.business.Inspection.Builder, com.volcengine.service.vod.model.business.InspectionOrBuilder> inspectionBuilder_;
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
* @return Whether the inspection field is set.
*/
public boolean hasInspection() {
return inspectionBuilder_ != null || inspection_ != null;
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
* @return The inspection.
*/
public com.volcengine.service.vod.model.business.Inspection getInspection() {
if (inspectionBuilder_ == null) {
return inspection_ == null ? com.volcengine.service.vod.model.business.Inspection.getDefaultInstance() : inspection_;
} else {
return inspectionBuilder_.getMessage();
}
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
public Builder setInspection(com.volcengine.service.vod.model.business.Inspection value) {
if (inspectionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inspection_ = value;
onChanged();
} else {
inspectionBuilder_.setMessage(value);
}
return this;
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
public Builder setInspection(
com.volcengine.service.vod.model.business.Inspection.Builder builderForValue) {
if (inspectionBuilder_ == null) {
inspection_ = builderForValue.build();
onChanged();
} else {
inspectionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
public Builder mergeInspection(com.volcengine.service.vod.model.business.Inspection value) {
if (inspectionBuilder_ == null) {
if (inspection_ != null) {
inspection_ =
com.volcengine.service.vod.model.business.Inspection.newBuilder(inspection_).mergeFrom(value).buildPartial();
} else {
inspection_ = value;
}
onChanged();
} else {
inspectionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
public Builder clearInspection() {
if (inspectionBuilder_ == null) {
inspection_ = null;
onChanged();
} else {
inspection_ = null;
inspectionBuilder_ = null;
}
return this;
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
public com.volcengine.service.vod.model.business.Inspection.Builder getInspectionBuilder() {
onChanged();
return getInspectionFieldBuilder().getBuilder();
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
public com.volcengine.service.vod.model.business.InspectionOrBuilder getInspectionOrBuilder() {
if (inspectionBuilder_ != null) {
return inspectionBuilder_.getMessageOrBuilder();
} else {
return inspection_ == null ?
com.volcengine.service.vod.model.business.Inspection.getDefaultInstance() : inspection_;
}
}
/**
*
* 片源检测结果
*
*
* .Volcengine.Vod.Models.Business.Inspection Inspection = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.Inspection, com.volcengine.service.vod.model.business.Inspection.Builder, com.volcengine.service.vod.model.business.InspectionOrBuilder>
getInspectionFieldBuilder() {
if (inspectionBuilder_ == null) {
inspectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.Inspection, com.volcengine.service.vod.model.business.Inspection.Builder, com.volcengine.service.vod.model.business.InspectionOrBuilder>(
getInspection(),
getParentForChildren(),
isClean());
inspection_ = null;
}
return inspectionBuilder_;
}
private java.util.List categoryTags_ =
java.util.Collections.emptyList();
private void ensureCategoryTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
categoryTags_ = new java.util.ArrayList(categoryTags_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.CategoryTagInfo, com.volcengine.service.vod.model.business.CategoryTagInfo.Builder, com.volcengine.service.vod.model.business.CategoryTagInfoOrBuilder> categoryTagsBuilder_;
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public java.util.List getCategoryTagsList() {
if (categoryTagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(categoryTags_);
} else {
return categoryTagsBuilder_.getMessageList();
}
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public int getCategoryTagsCount() {
if (categoryTagsBuilder_ == null) {
return categoryTags_.size();
} else {
return categoryTagsBuilder_.getCount();
}
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public com.volcengine.service.vod.model.business.CategoryTagInfo getCategoryTags(int index) {
if (categoryTagsBuilder_ == null) {
return categoryTags_.get(index);
} else {
return categoryTagsBuilder_.getMessage(index);
}
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder setCategoryTags(
int index, com.volcengine.service.vod.model.business.CategoryTagInfo value) {
if (categoryTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCategoryTagsIsMutable();
categoryTags_.set(index, value);
onChanged();
} else {
categoryTagsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder setCategoryTags(
int index, com.volcengine.service.vod.model.business.CategoryTagInfo.Builder builderForValue) {
if (categoryTagsBuilder_ == null) {
ensureCategoryTagsIsMutable();
categoryTags_.set(index, builderForValue.build());
onChanged();
} else {
categoryTagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder addCategoryTags(com.volcengine.service.vod.model.business.CategoryTagInfo value) {
if (categoryTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCategoryTagsIsMutable();
categoryTags_.add(value);
onChanged();
} else {
categoryTagsBuilder_.addMessage(value);
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder addCategoryTags(
int index, com.volcengine.service.vod.model.business.CategoryTagInfo value) {
if (categoryTagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCategoryTagsIsMutable();
categoryTags_.add(index, value);
onChanged();
} else {
categoryTagsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder addCategoryTags(
com.volcengine.service.vod.model.business.CategoryTagInfo.Builder builderForValue) {
if (categoryTagsBuilder_ == null) {
ensureCategoryTagsIsMutable();
categoryTags_.add(builderForValue.build());
onChanged();
} else {
categoryTagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder addCategoryTags(
int index, com.volcengine.service.vod.model.business.CategoryTagInfo.Builder builderForValue) {
if (categoryTagsBuilder_ == null) {
ensureCategoryTagsIsMutable();
categoryTags_.add(index, builderForValue.build());
onChanged();
} else {
categoryTagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder addAllCategoryTags(
java.lang.Iterable extends com.volcengine.service.vod.model.business.CategoryTagInfo> values) {
if (categoryTagsBuilder_ == null) {
ensureCategoryTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, categoryTags_);
onChanged();
} else {
categoryTagsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder clearCategoryTags() {
if (categoryTagsBuilder_ == null) {
categoryTags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
categoryTagsBuilder_.clear();
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public Builder removeCategoryTags(int index) {
if (categoryTagsBuilder_ == null) {
ensureCategoryTagsIsMutable();
categoryTags_.remove(index);
onChanged();
} else {
categoryTagsBuilder_.remove(index);
}
return this;
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public com.volcengine.service.vod.model.business.CategoryTagInfo.Builder getCategoryTagsBuilder(
int index) {
return getCategoryTagsFieldBuilder().getBuilder(index);
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public com.volcengine.service.vod.model.business.CategoryTagInfoOrBuilder getCategoryTagsOrBuilder(
int index) {
if (categoryTagsBuilder_ == null) {
return categoryTags_.get(index); } else {
return categoryTagsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public java.util.List extends com.volcengine.service.vod.model.business.CategoryTagInfoOrBuilder>
getCategoryTagsOrBuilderList() {
if (categoryTagsBuilder_ != null) {
return categoryTagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(categoryTags_);
}
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public com.volcengine.service.vod.model.business.CategoryTagInfo.Builder addCategoryTagsBuilder() {
return getCategoryTagsFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.CategoryTagInfo.getDefaultInstance());
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public com.volcengine.service.vod.model.business.CategoryTagInfo.Builder addCategoryTagsBuilder(
int index) {
return getCategoryTagsFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.CategoryTagInfo.getDefaultInstance());
}
/**
*
* 视频分类结果
*
*
* repeated .Volcengine.Vod.Models.Business.CategoryTagInfo CategoryTags = 3;
*/
public java.util.List
getCategoryTagsBuilderList() {
return getCategoryTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.CategoryTagInfo, com.volcengine.service.vod.model.business.CategoryTagInfo.Builder, com.volcengine.service.vod.model.business.CategoryTagInfoOrBuilder>
getCategoryTagsFieldBuilder() {
if (categoryTagsBuilder_ == null) {
categoryTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.CategoryTagInfo, com.volcengine.service.vod.model.business.CategoryTagInfo.Builder, com.volcengine.service.vod.model.business.CategoryTagInfoOrBuilder>(
categoryTags_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
categoryTags_ = null;
}
return categoryTagsBuilder_;
}
@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.TranscodeResult)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.TranscodeResult)
private static final com.volcengine.service.vod.model.business.TranscodeResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.TranscodeResult();
}
public static com.volcengine.service.vod.model.business.TranscodeResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TranscodeResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TranscodeResult(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.TranscodeResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy