com.volcengine.service.vod.model.business.Condition 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.Condition}
*/
public final class Condition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.Condition)
ConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Condition.newBuilder() to construct.
private Condition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Condition() {
resRange_ = "";
longResRange_ = "";
durationRange_ = "";
fpsRange_ = "";
bitrateRange_ = "";
audioBitrateRange_ = "";
fileType_ = "";
vQScoreRange_ = "";
videoDurationRange_ = "";
audioDurationRange_ = "";
userCondition_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Condition();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Condition(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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();
resRange_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
longResRange_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
durationRange_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
fpsRange_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
bitrateRange_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
audioBitrateRange_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
fileType_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
vQScoreRange_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
videoDurationRange_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
audioDurationRange_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
userCondition_ = 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 {
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_Condition_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_Condition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.Condition.class, com.volcengine.service.vod.model.business.Condition.Builder.class);
}
public static final int RESRANGE_FIELD_NUMBER = 1;
private volatile java.lang.Object resRange_;
/**
* string ResRange = 1;
* @return The resRange.
*/
@java.lang.Override
public java.lang.String getResRange() {
java.lang.Object ref = resRange_;
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();
resRange_ = s;
return s;
}
}
/**
* string ResRange = 1;
* @return The bytes for resRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResRangeBytes() {
java.lang.Object ref = resRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LONGRESRANGE_FIELD_NUMBER = 2;
private volatile java.lang.Object longResRange_;
/**
* string LongResRange = 2;
* @return The longResRange.
*/
@java.lang.Override
public java.lang.String getLongResRange() {
java.lang.Object ref = longResRange_;
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();
longResRange_ = s;
return s;
}
}
/**
* string LongResRange = 2;
* @return The bytes for longResRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLongResRangeBytes() {
java.lang.Object ref = longResRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
longResRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DURATIONRANGE_FIELD_NUMBER = 3;
private volatile java.lang.Object durationRange_;
/**
* string DurationRange = 3;
* @return The durationRange.
*/
@java.lang.Override
public java.lang.String getDurationRange() {
java.lang.Object ref = durationRange_;
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();
durationRange_ = s;
return s;
}
}
/**
* string DurationRange = 3;
* @return The bytes for durationRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDurationRangeBytes() {
java.lang.Object ref = durationRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
durationRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FPSRANGE_FIELD_NUMBER = 4;
private volatile java.lang.Object fpsRange_;
/**
* string FpsRange = 4;
* @return The fpsRange.
*/
@java.lang.Override
public java.lang.String getFpsRange() {
java.lang.Object ref = fpsRange_;
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();
fpsRange_ = s;
return s;
}
}
/**
* string FpsRange = 4;
* @return The bytes for fpsRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFpsRangeBytes() {
java.lang.Object ref = fpsRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fpsRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BITRATERANGE_FIELD_NUMBER = 5;
private volatile java.lang.Object bitrateRange_;
/**
* string BitrateRange = 5;
* @return The bitrateRange.
*/
@java.lang.Override
public java.lang.String getBitrateRange() {
java.lang.Object ref = bitrateRange_;
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();
bitrateRange_ = s;
return s;
}
}
/**
* string BitrateRange = 5;
* @return The bytes for bitrateRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBitrateRangeBytes() {
java.lang.Object ref = bitrateRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bitrateRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AUDIOBITRATERANGE_FIELD_NUMBER = 6;
private volatile java.lang.Object audioBitrateRange_;
/**
* string AudioBitrateRange = 6;
* @return The audioBitrateRange.
*/
@java.lang.Override
public java.lang.String getAudioBitrateRange() {
java.lang.Object ref = audioBitrateRange_;
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();
audioBitrateRange_ = s;
return s;
}
}
/**
* string AudioBitrateRange = 6;
* @return The bytes for audioBitrateRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAudioBitrateRangeBytes() {
java.lang.Object ref = audioBitrateRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
audioBitrateRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILETYPE_FIELD_NUMBER = 7;
private volatile java.lang.Object fileType_;
/**
* string FileType = 7;
* @return The fileType.
*/
@java.lang.Override
public java.lang.String getFileType() {
java.lang.Object ref = fileType_;
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();
fileType_ = s;
return s;
}
}
/**
* string FileType = 7;
* @return The bytes for fileType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFileTypeBytes() {
java.lang.Object ref = fileType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VQSCORERANGE_FIELD_NUMBER = 8;
private volatile java.lang.Object vQScoreRange_;
/**
* string VQScoreRange = 8;
* @return The vQScoreRange.
*/
@java.lang.Override
public java.lang.String getVQScoreRange() {
java.lang.Object ref = vQScoreRange_;
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();
vQScoreRange_ = s;
return s;
}
}
/**
* string VQScoreRange = 8;
* @return The bytes for vQScoreRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVQScoreRangeBytes() {
java.lang.Object ref = vQScoreRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vQScoreRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VIDEODURATIONRANGE_FIELD_NUMBER = 9;
private volatile java.lang.Object videoDurationRange_;
/**
* string VideoDurationRange = 9;
* @return The videoDurationRange.
*/
@java.lang.Override
public java.lang.String getVideoDurationRange() {
java.lang.Object ref = videoDurationRange_;
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();
videoDurationRange_ = s;
return s;
}
}
/**
* string VideoDurationRange = 9;
* @return The bytes for videoDurationRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVideoDurationRangeBytes() {
java.lang.Object ref = videoDurationRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
videoDurationRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AUDIODURATIONRANGE_FIELD_NUMBER = 10;
private volatile java.lang.Object audioDurationRange_;
/**
* string AudioDurationRange = 10;
* @return The audioDurationRange.
*/
@java.lang.Override
public java.lang.String getAudioDurationRange() {
java.lang.Object ref = audioDurationRange_;
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();
audioDurationRange_ = s;
return s;
}
}
/**
* string AudioDurationRange = 10;
* @return The bytes for audioDurationRange.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAudioDurationRangeBytes() {
java.lang.Object ref = audioDurationRange_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
audioDurationRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USERCONDITION_FIELD_NUMBER = 11;
private volatile java.lang.Object userCondition_;
/**
* string UserCondition = 11;
* @return The userCondition.
*/
@java.lang.Override
public java.lang.String getUserCondition() {
java.lang.Object ref = userCondition_;
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();
userCondition_ = s;
return s;
}
}
/**
* string UserCondition = 11;
* @return The bytes for userCondition.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserConditionBytes() {
java.lang.Object ref = userCondition_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userCondition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(resRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(longResRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, longResRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(durationRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, durationRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fpsRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fpsRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bitrateRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, bitrateRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioBitrateRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, audioBitrateRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, fileType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vQScoreRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, vQScoreRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(videoDurationRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, videoDurationRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioDurationRange_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, audioDurationRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userCondition_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, userCondition_);
}
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(resRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(longResRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, longResRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(durationRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, durationRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fpsRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fpsRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bitrateRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, bitrateRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioBitrateRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, audioBitrateRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, fileType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vQScoreRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, vQScoreRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(videoDurationRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, videoDurationRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audioDurationRange_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, audioDurationRange_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userCondition_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, userCondition_);
}
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.Condition)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.Condition other = (com.volcengine.service.vod.model.business.Condition) obj;
if (!getResRange()
.equals(other.getResRange())) return false;
if (!getLongResRange()
.equals(other.getLongResRange())) return false;
if (!getDurationRange()
.equals(other.getDurationRange())) return false;
if (!getFpsRange()
.equals(other.getFpsRange())) return false;
if (!getBitrateRange()
.equals(other.getBitrateRange())) return false;
if (!getAudioBitrateRange()
.equals(other.getAudioBitrateRange())) return false;
if (!getFileType()
.equals(other.getFileType())) return false;
if (!getVQScoreRange()
.equals(other.getVQScoreRange())) return false;
if (!getVideoDurationRange()
.equals(other.getVideoDurationRange())) return false;
if (!getAudioDurationRange()
.equals(other.getAudioDurationRange())) return false;
if (!getUserCondition()
.equals(other.getUserCondition())) 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) + RESRANGE_FIELD_NUMBER;
hash = (53 * hash) + getResRange().hashCode();
hash = (37 * hash) + LONGRESRANGE_FIELD_NUMBER;
hash = (53 * hash) + getLongResRange().hashCode();
hash = (37 * hash) + DURATIONRANGE_FIELD_NUMBER;
hash = (53 * hash) + getDurationRange().hashCode();
hash = (37 * hash) + FPSRANGE_FIELD_NUMBER;
hash = (53 * hash) + getFpsRange().hashCode();
hash = (37 * hash) + BITRATERANGE_FIELD_NUMBER;
hash = (53 * hash) + getBitrateRange().hashCode();
hash = (37 * hash) + AUDIOBITRATERANGE_FIELD_NUMBER;
hash = (53 * hash) + getAudioBitrateRange().hashCode();
hash = (37 * hash) + FILETYPE_FIELD_NUMBER;
hash = (53 * hash) + getFileType().hashCode();
hash = (37 * hash) + VQSCORERANGE_FIELD_NUMBER;
hash = (53 * hash) + getVQScoreRange().hashCode();
hash = (37 * hash) + VIDEODURATIONRANGE_FIELD_NUMBER;
hash = (53 * hash) + getVideoDurationRange().hashCode();
hash = (37 * hash) + AUDIODURATIONRANGE_FIELD_NUMBER;
hash = (53 * hash) + getAudioDurationRange().hashCode();
hash = (37 * hash) + USERCONDITION_FIELD_NUMBER;
hash = (53 * hash) + getUserCondition().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.Condition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Condition 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.Condition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Condition 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.Condition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Condition 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.Condition 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.Condition 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.Condition 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.Condition 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.Condition 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.Condition 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.Condition 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.Condition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.Condition)
com.volcengine.service.vod.model.business.ConditionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_Condition_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_Condition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.Condition.class, com.volcengine.service.vod.model.business.Condition.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.Condition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
resRange_ = "";
longResRange_ = "";
durationRange_ = "";
fpsRange_ = "";
bitrateRange_ = "";
audioBitrateRange_ = "";
fileType_ = "";
vQScoreRange_ = "";
videoDurationRange_ = "";
audioDurationRange_ = "";
userCondition_ = "";
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_Condition_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Condition getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.Condition.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Condition build() {
com.volcengine.service.vod.model.business.Condition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Condition buildPartial() {
com.volcengine.service.vod.model.business.Condition result = new com.volcengine.service.vod.model.business.Condition(this);
result.resRange_ = resRange_;
result.longResRange_ = longResRange_;
result.durationRange_ = durationRange_;
result.fpsRange_ = fpsRange_;
result.bitrateRange_ = bitrateRange_;
result.audioBitrateRange_ = audioBitrateRange_;
result.fileType_ = fileType_;
result.vQScoreRange_ = vQScoreRange_;
result.videoDurationRange_ = videoDurationRange_;
result.audioDurationRange_ = audioDurationRange_;
result.userCondition_ = userCondition_;
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.Condition) {
return mergeFrom((com.volcengine.service.vod.model.business.Condition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.Condition other) {
if (other == com.volcengine.service.vod.model.business.Condition.getDefaultInstance()) return this;
if (!other.getResRange().isEmpty()) {
resRange_ = other.resRange_;
onChanged();
}
if (!other.getLongResRange().isEmpty()) {
longResRange_ = other.longResRange_;
onChanged();
}
if (!other.getDurationRange().isEmpty()) {
durationRange_ = other.durationRange_;
onChanged();
}
if (!other.getFpsRange().isEmpty()) {
fpsRange_ = other.fpsRange_;
onChanged();
}
if (!other.getBitrateRange().isEmpty()) {
bitrateRange_ = other.bitrateRange_;
onChanged();
}
if (!other.getAudioBitrateRange().isEmpty()) {
audioBitrateRange_ = other.audioBitrateRange_;
onChanged();
}
if (!other.getFileType().isEmpty()) {
fileType_ = other.fileType_;
onChanged();
}
if (!other.getVQScoreRange().isEmpty()) {
vQScoreRange_ = other.vQScoreRange_;
onChanged();
}
if (!other.getVideoDurationRange().isEmpty()) {
videoDurationRange_ = other.videoDurationRange_;
onChanged();
}
if (!other.getAudioDurationRange().isEmpty()) {
audioDurationRange_ = other.audioDurationRange_;
onChanged();
}
if (!other.getUserCondition().isEmpty()) {
userCondition_ = other.userCondition_;
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.Condition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.Condition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object resRange_ = "";
/**
* string ResRange = 1;
* @return The resRange.
*/
public java.lang.String getResRange() {
java.lang.Object ref = resRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
resRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ResRange = 1;
* @return The bytes for resRange.
*/
public com.google.protobuf.ByteString
getResRangeBytes() {
java.lang.Object ref = resRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ResRange = 1;
* @param value The resRange to set.
* @return This builder for chaining.
*/
public Builder setResRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
resRange_ = value;
onChanged();
return this;
}
/**
* string ResRange = 1;
* @return This builder for chaining.
*/
public Builder clearResRange() {
resRange_ = getDefaultInstance().getResRange();
onChanged();
return this;
}
/**
* string ResRange = 1;
* @param value The bytes for resRange to set.
* @return This builder for chaining.
*/
public Builder setResRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
resRange_ = value;
onChanged();
return this;
}
private java.lang.Object longResRange_ = "";
/**
* string LongResRange = 2;
* @return The longResRange.
*/
public java.lang.String getLongResRange() {
java.lang.Object ref = longResRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
longResRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string LongResRange = 2;
* @return The bytes for longResRange.
*/
public com.google.protobuf.ByteString
getLongResRangeBytes() {
java.lang.Object ref = longResRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
longResRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string LongResRange = 2;
* @param value The longResRange to set.
* @return This builder for chaining.
*/
public Builder setLongResRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
longResRange_ = value;
onChanged();
return this;
}
/**
* string LongResRange = 2;
* @return This builder for chaining.
*/
public Builder clearLongResRange() {
longResRange_ = getDefaultInstance().getLongResRange();
onChanged();
return this;
}
/**
* string LongResRange = 2;
* @param value The bytes for longResRange to set.
* @return This builder for chaining.
*/
public Builder setLongResRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
longResRange_ = value;
onChanged();
return this;
}
private java.lang.Object durationRange_ = "";
/**
* string DurationRange = 3;
* @return The durationRange.
*/
public java.lang.String getDurationRange() {
java.lang.Object ref = durationRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
durationRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string DurationRange = 3;
* @return The bytes for durationRange.
*/
public com.google.protobuf.ByteString
getDurationRangeBytes() {
java.lang.Object ref = durationRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
durationRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string DurationRange = 3;
* @param value The durationRange to set.
* @return This builder for chaining.
*/
public Builder setDurationRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
durationRange_ = value;
onChanged();
return this;
}
/**
* string DurationRange = 3;
* @return This builder for chaining.
*/
public Builder clearDurationRange() {
durationRange_ = getDefaultInstance().getDurationRange();
onChanged();
return this;
}
/**
* string DurationRange = 3;
* @param value The bytes for durationRange to set.
* @return This builder for chaining.
*/
public Builder setDurationRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
durationRange_ = value;
onChanged();
return this;
}
private java.lang.Object fpsRange_ = "";
/**
* string FpsRange = 4;
* @return The fpsRange.
*/
public java.lang.String getFpsRange() {
java.lang.Object ref = fpsRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fpsRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string FpsRange = 4;
* @return The bytes for fpsRange.
*/
public com.google.protobuf.ByteString
getFpsRangeBytes() {
java.lang.Object ref = fpsRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fpsRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string FpsRange = 4;
* @param value The fpsRange to set.
* @return This builder for chaining.
*/
public Builder setFpsRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fpsRange_ = value;
onChanged();
return this;
}
/**
* string FpsRange = 4;
* @return This builder for chaining.
*/
public Builder clearFpsRange() {
fpsRange_ = getDefaultInstance().getFpsRange();
onChanged();
return this;
}
/**
* string FpsRange = 4;
* @param value The bytes for fpsRange to set.
* @return This builder for chaining.
*/
public Builder setFpsRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fpsRange_ = value;
onChanged();
return this;
}
private java.lang.Object bitrateRange_ = "";
/**
* string BitrateRange = 5;
* @return The bitrateRange.
*/
public java.lang.String getBitrateRange() {
java.lang.Object ref = bitrateRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bitrateRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string BitrateRange = 5;
* @return The bytes for bitrateRange.
*/
public com.google.protobuf.ByteString
getBitrateRangeBytes() {
java.lang.Object ref = bitrateRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bitrateRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string BitrateRange = 5;
* @param value The bitrateRange to set.
* @return This builder for chaining.
*/
public Builder setBitrateRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitrateRange_ = value;
onChanged();
return this;
}
/**
* string BitrateRange = 5;
* @return This builder for chaining.
*/
public Builder clearBitrateRange() {
bitrateRange_ = getDefaultInstance().getBitrateRange();
onChanged();
return this;
}
/**
* string BitrateRange = 5;
* @param value The bytes for bitrateRange to set.
* @return This builder for chaining.
*/
public Builder setBitrateRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bitrateRange_ = value;
onChanged();
return this;
}
private java.lang.Object audioBitrateRange_ = "";
/**
* string AudioBitrateRange = 6;
* @return The audioBitrateRange.
*/
public java.lang.String getAudioBitrateRange() {
java.lang.Object ref = audioBitrateRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
audioBitrateRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string AudioBitrateRange = 6;
* @return The bytes for audioBitrateRange.
*/
public com.google.protobuf.ByteString
getAudioBitrateRangeBytes() {
java.lang.Object ref = audioBitrateRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
audioBitrateRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string AudioBitrateRange = 6;
* @param value The audioBitrateRange to set.
* @return This builder for chaining.
*/
public Builder setAudioBitrateRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
audioBitrateRange_ = value;
onChanged();
return this;
}
/**
* string AudioBitrateRange = 6;
* @return This builder for chaining.
*/
public Builder clearAudioBitrateRange() {
audioBitrateRange_ = getDefaultInstance().getAudioBitrateRange();
onChanged();
return this;
}
/**
* string AudioBitrateRange = 6;
* @param value The bytes for audioBitrateRange to set.
* @return This builder for chaining.
*/
public Builder setAudioBitrateRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
audioBitrateRange_ = value;
onChanged();
return this;
}
private java.lang.Object fileType_ = "";
/**
* string FileType = 7;
* @return The fileType.
*/
public java.lang.String getFileType() {
java.lang.Object ref = fileType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string FileType = 7;
* @return The bytes for fileType.
*/
public com.google.protobuf.ByteString
getFileTypeBytes() {
java.lang.Object ref = fileType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string FileType = 7;
* @param value The fileType to set.
* @return This builder for chaining.
*/
public Builder setFileType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileType_ = value;
onChanged();
return this;
}
/**
* string FileType = 7;
* @return This builder for chaining.
*/
public Builder clearFileType() {
fileType_ = getDefaultInstance().getFileType();
onChanged();
return this;
}
/**
* string FileType = 7;
* @param value The bytes for fileType to set.
* @return This builder for chaining.
*/
public Builder setFileTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileType_ = value;
onChanged();
return this;
}
private java.lang.Object vQScoreRange_ = "";
/**
* string VQScoreRange = 8;
* @return The vQScoreRange.
*/
public java.lang.String getVQScoreRange() {
java.lang.Object ref = vQScoreRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vQScoreRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string VQScoreRange = 8;
* @return The bytes for vQScoreRange.
*/
public com.google.protobuf.ByteString
getVQScoreRangeBytes() {
java.lang.Object ref = vQScoreRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vQScoreRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string VQScoreRange = 8;
* @param value The vQScoreRange to set.
* @return This builder for chaining.
*/
public Builder setVQScoreRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vQScoreRange_ = value;
onChanged();
return this;
}
/**
* string VQScoreRange = 8;
* @return This builder for chaining.
*/
public Builder clearVQScoreRange() {
vQScoreRange_ = getDefaultInstance().getVQScoreRange();
onChanged();
return this;
}
/**
* string VQScoreRange = 8;
* @param value The bytes for vQScoreRange to set.
* @return This builder for chaining.
*/
public Builder setVQScoreRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vQScoreRange_ = value;
onChanged();
return this;
}
private java.lang.Object videoDurationRange_ = "";
/**
* string VideoDurationRange = 9;
* @return The videoDurationRange.
*/
public java.lang.String getVideoDurationRange() {
java.lang.Object ref = videoDurationRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
videoDurationRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string VideoDurationRange = 9;
* @return The bytes for videoDurationRange.
*/
public com.google.protobuf.ByteString
getVideoDurationRangeBytes() {
java.lang.Object ref = videoDurationRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
videoDurationRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string VideoDurationRange = 9;
* @param value The videoDurationRange to set.
* @return This builder for chaining.
*/
public Builder setVideoDurationRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
videoDurationRange_ = value;
onChanged();
return this;
}
/**
* string VideoDurationRange = 9;
* @return This builder for chaining.
*/
public Builder clearVideoDurationRange() {
videoDurationRange_ = getDefaultInstance().getVideoDurationRange();
onChanged();
return this;
}
/**
* string VideoDurationRange = 9;
* @param value The bytes for videoDurationRange to set.
* @return This builder for chaining.
*/
public Builder setVideoDurationRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
videoDurationRange_ = value;
onChanged();
return this;
}
private java.lang.Object audioDurationRange_ = "";
/**
* string AudioDurationRange = 10;
* @return The audioDurationRange.
*/
public java.lang.String getAudioDurationRange() {
java.lang.Object ref = audioDurationRange_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
audioDurationRange_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string AudioDurationRange = 10;
* @return The bytes for audioDurationRange.
*/
public com.google.protobuf.ByteString
getAudioDurationRangeBytes() {
java.lang.Object ref = audioDurationRange_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
audioDurationRange_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string AudioDurationRange = 10;
* @param value The audioDurationRange to set.
* @return This builder for chaining.
*/
public Builder setAudioDurationRange(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
audioDurationRange_ = value;
onChanged();
return this;
}
/**
* string AudioDurationRange = 10;
* @return This builder for chaining.
*/
public Builder clearAudioDurationRange() {
audioDurationRange_ = getDefaultInstance().getAudioDurationRange();
onChanged();
return this;
}
/**
* string AudioDurationRange = 10;
* @param value The bytes for audioDurationRange to set.
* @return This builder for chaining.
*/
public Builder setAudioDurationRangeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
audioDurationRange_ = value;
onChanged();
return this;
}
private java.lang.Object userCondition_ = "";
/**
* string UserCondition = 11;
* @return The userCondition.
*/
public java.lang.String getUserCondition() {
java.lang.Object ref = userCondition_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
userCondition_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string UserCondition = 11;
* @return The bytes for userCondition.
*/
public com.google.protobuf.ByteString
getUserConditionBytes() {
java.lang.Object ref = userCondition_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userCondition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string UserCondition = 11;
* @param value The userCondition to set.
* @return This builder for chaining.
*/
public Builder setUserCondition(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
userCondition_ = value;
onChanged();
return this;
}
/**
* string UserCondition = 11;
* @return This builder for chaining.
*/
public Builder clearUserCondition() {
userCondition_ = getDefaultInstance().getUserCondition();
onChanged();
return this;
}
/**
* string UserCondition = 11;
* @param value The bytes for userCondition to set.
* @return This builder for chaining.
*/
public Builder setUserConditionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
userCondition_ = 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.Condition)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.Condition)
private static final com.volcengine.service.vod.model.business.Condition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.Condition();
}
public static com.volcengine.service.vod.model.business.Condition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Condition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Condition(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.Condition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy