com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest 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/request/request_vod.proto
package com.volcengine.service.vod.model.request;
/**
* Protobuf type {@code Volcengine.Vod.Models.Request.VodGetMLFramesForAuditRequest}
*/
public final class VodGetMLFramesForAuditRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodGetMLFramesForAuditRequest)
VodGetMLFramesForAuditRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodGetMLFramesForAuditRequest.newBuilder() to construct.
private VodGetMLFramesForAuditRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodGetMLFramesForAuditRequest() {
vid_ = "";
strategy_ = "";
frameOpt_ = "";
frameFps_ = "";
numberOfFrames_ = "";
cutTimeMills_ = "";
needFirstFrame_ = "";
needLastFrame_ = "";
startTimeMill_ = "";
endTimeMill_ = "";
minNumberOfFrames_ = "";
maxNumberOfFrames_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodGetMLFramesForAuditRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodGetMLFramesForAuditRequest(
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();
vid_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
strategy_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
frameOpt_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
frameFps_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
numberOfFrames_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
cutTimeMills_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
needFirstFrame_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
needLastFrame_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
startTimeMill_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
endTimeMill_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
minNumberOfFrames_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
maxNumberOfFrames_ = 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.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodGetMLFramesForAuditRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodGetMLFramesForAuditRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest.class, com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest.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 STRATEGY_FIELD_NUMBER = 2;
private volatile java.lang.Object strategy_;
/**
*
*审核帧模板信息中的Strategy,抽帧策略
*
*
* string Strategy = 2;
* @return The strategy.
*/
@java.lang.Override
public java.lang.String getStrategy() {
java.lang.Object ref = strategy_;
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();
strategy_ = s;
return s;
}
}
/**
*
*审核帧模板信息中的Strategy,抽帧策略
*
*
* string Strategy = 2;
* @return The bytes for strategy.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStrategyBytes() {
java.lang.Object ref = strategy_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
strategy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FRAMEOPT_FIELD_NUMBER = 3;
private volatile java.lang.Object frameOpt_;
/**
*
*抽帧方式,参考VodFrameExtractingOptionForAudit
*
*
* string FrameOpt = 3;
* @return The frameOpt.
*/
@java.lang.Override
public java.lang.String getFrameOpt() {
java.lang.Object ref = frameOpt_;
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();
frameOpt_ = s;
return s;
}
}
/**
*
*抽帧方式,参考VodFrameExtractingOptionForAudit
*
*
* string FrameOpt = 3;
* @return The bytes for frameOpt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFrameOptBytes() {
java.lang.Object ref = frameOpt_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
frameOpt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FRAMEFPS_FIELD_NUMBER = 4;
private volatile java.lang.Object frameFps_;
/**
*
*抽帧方式选择Fps或FpsLimitNumberOfFrames时生效,表示抽帧的帧率,生效时需要保证大于0
*
*
* string FrameFps = 4;
* @return The frameFps.
*/
@java.lang.Override
public java.lang.String getFrameFps() {
java.lang.Object ref = frameFps_;
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();
frameFps_ = s;
return s;
}
}
/**
*
*抽帧方式选择Fps或FpsLimitNumberOfFrames时生效,表示抽帧的帧率,生效时需要保证大于0
*
*
* string FrameFps = 4;
* @return The bytes for frameFps.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFrameFpsBytes() {
java.lang.Object ref = frameFps_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
frameFps_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUMBEROFFRAMES_FIELD_NUMBER = 5;
private volatile java.lang.Object numberOfFrames_;
/**
*
*抽帧方式选择NumberOfFrames时生效,表示需要多少帧,生效时需要保证大于0
*
*
* string NumberOfFrames = 5;
* @return The numberOfFrames.
*/
@java.lang.Override
public java.lang.String getNumberOfFrames() {
java.lang.Object ref = numberOfFrames_;
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();
numberOfFrames_ = s;
return s;
}
}
/**
*
*抽帧方式选择NumberOfFrames时生效,表示需要多少帧,生效时需要保证大于0
*
*
* string NumberOfFrames = 5;
* @return The bytes for numberOfFrames.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNumberOfFramesBytes() {
java.lang.Object ref = numberOfFrames_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
numberOfFrames_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CUTTIMEMILLS_FIELD_NUMBER = 6;
private volatile java.lang.Object cutTimeMills_;
/**
*
*抽帧方式选择CutTimes时生效,逗号分割,表示需要获取的帧的时间戳(ms)列表,生效时需要保证数组不为空
*
*
* string CutTimeMills = 6;
* @return The cutTimeMills.
*/
@java.lang.Override
public java.lang.String getCutTimeMills() {
java.lang.Object ref = cutTimeMills_;
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();
cutTimeMills_ = s;
return s;
}
}
/**
*
*抽帧方式选择CutTimes时生效,逗号分割,表示需要获取的帧的时间戳(ms)列表,生效时需要保证数组不为空
*
*
* string CutTimeMills = 6;
* @return The bytes for cutTimeMills.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCutTimeMillsBytes() {
java.lang.Object ref = cutTimeMills_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cutTimeMills_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEEDFIRSTFRAME_FIELD_NUMBER = 7;
private volatile java.lang.Object needFirstFrame_;
/**
*
*需要首帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedFirstFrame = 7;
* @return The needFirstFrame.
*/
@java.lang.Override
public java.lang.String getNeedFirstFrame() {
java.lang.Object ref = needFirstFrame_;
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();
needFirstFrame_ = s;
return s;
}
}
/**
*
*需要首帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedFirstFrame = 7;
* @return The bytes for needFirstFrame.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNeedFirstFrameBytes() {
java.lang.Object ref = needFirstFrame_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needFirstFrame_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEEDLASTFRAME_FIELD_NUMBER = 8;
private volatile java.lang.Object needLastFrame_;
/**
*
*需要尾帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedLastFrame = 8;
* @return The needLastFrame.
*/
@java.lang.Override
public java.lang.String getNeedLastFrame() {
java.lang.Object ref = needLastFrame_;
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();
needLastFrame_ = s;
return s;
}
}
/**
*
*需要尾帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedLastFrame = 8;
* @return The bytes for needLastFrame.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNeedLastFrameBytes() {
java.lang.Object ref = needLastFrame_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needLastFrame_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STARTTIMEMILL_FIELD_NUMBER = 9;
private volatile java.lang.Object startTimeMill_;
/**
*
*从视频的第几秒开始抽帧,单位:ms
*
*
* string StartTimeMill = 9;
* @return The startTimeMill.
*/
@java.lang.Override
public java.lang.String getStartTimeMill() {
java.lang.Object ref = startTimeMill_;
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();
startTimeMill_ = s;
return s;
}
}
/**
*
*从视频的第几秒开始抽帧,单位:ms
*
*
* string StartTimeMill = 9;
* @return The bytes for startTimeMill.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStartTimeMillBytes() {
java.lang.Object ref = startTimeMill_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startTimeMill_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDTIMEMILL_FIELD_NUMBER = 10;
private volatile java.lang.Object endTimeMill_;
/**
*
*从视频的第几秒结束抽帧,单位:ms
*
*
* string EndTimeMill = 10;
* @return The endTimeMill.
*/
@java.lang.Override
public java.lang.String getEndTimeMill() {
java.lang.Object ref = endTimeMill_;
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();
endTimeMill_ = s;
return s;
}
}
/**
*
*从视频的第几秒结束抽帧,单位:ms
*
*
* string EndTimeMill = 10;
* @return The bytes for endTimeMill.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndTimeMillBytes() {
java.lang.Object ref = endTimeMill_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTimeMill_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MINNUMBEROFFRAMES_FIELD_NUMBER = 11;
private volatile java.lang.Object minNumberOfFrames_;
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最小帧数,为0表示不限制
*
*
* string MinNumberOfFrames = 11;
* @return The minNumberOfFrames.
*/
@java.lang.Override
public java.lang.String getMinNumberOfFrames() {
java.lang.Object ref = minNumberOfFrames_;
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();
minNumberOfFrames_ = s;
return s;
}
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最小帧数,为0表示不限制
*
*
* string MinNumberOfFrames = 11;
* @return The bytes for minNumberOfFrames.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMinNumberOfFramesBytes() {
java.lang.Object ref = minNumberOfFrames_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minNumberOfFrames_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAXNUMBEROFFRAMES_FIELD_NUMBER = 12;
private volatile java.lang.Object maxNumberOfFrames_;
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最大帧数,为0表示不限制
*
*
* string MaxNumberOfFrames = 12;
* @return The maxNumberOfFrames.
*/
@java.lang.Override
public java.lang.String getMaxNumberOfFrames() {
java.lang.Object ref = maxNumberOfFrames_;
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();
maxNumberOfFrames_ = s;
return s;
}
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最大帧数,为0表示不限制
*
*
* string MaxNumberOfFrames = 12;
* @return The bytes for maxNumberOfFrames.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMaxNumberOfFramesBytes() {
java.lang.Object ref = maxNumberOfFrames_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maxNumberOfFrames_ = 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(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(strategy_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, strategy_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frameOpt_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, frameOpt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frameFps_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, frameFps_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(numberOfFrames_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, numberOfFrames_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cutTimeMills_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, cutTimeMills_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needFirstFrame_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, needFirstFrame_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needLastFrame_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, needLastFrame_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTimeMill_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, startTimeMill_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTimeMill_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, endTimeMill_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minNumberOfFrames_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, minNumberOfFrames_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maxNumberOfFrames_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, maxNumberOfFrames_);
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(strategy_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, strategy_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frameOpt_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, frameOpt_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(frameFps_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, frameFps_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(numberOfFrames_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, numberOfFrames_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cutTimeMills_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, cutTimeMills_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needFirstFrame_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, needFirstFrame_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needLastFrame_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, needLastFrame_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTimeMill_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, startTimeMill_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTimeMill_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, endTimeMill_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minNumberOfFrames_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, minNumberOfFrames_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maxNumberOfFrames_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, maxNumberOfFrames_);
}
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.request.VodGetMLFramesForAuditRequest)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest other = (com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest) obj;
if (!getVid()
.equals(other.getVid())) return false;
if (!getStrategy()
.equals(other.getStrategy())) return false;
if (!getFrameOpt()
.equals(other.getFrameOpt())) return false;
if (!getFrameFps()
.equals(other.getFrameFps())) return false;
if (!getNumberOfFrames()
.equals(other.getNumberOfFrames())) return false;
if (!getCutTimeMills()
.equals(other.getCutTimeMills())) return false;
if (!getNeedFirstFrame()
.equals(other.getNeedFirstFrame())) return false;
if (!getNeedLastFrame()
.equals(other.getNeedLastFrame())) return false;
if (!getStartTimeMill()
.equals(other.getStartTimeMill())) return false;
if (!getEndTimeMill()
.equals(other.getEndTimeMill())) return false;
if (!getMinNumberOfFrames()
.equals(other.getMinNumberOfFrames())) return false;
if (!getMaxNumberOfFrames()
.equals(other.getMaxNumberOfFrames())) 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();
hash = (37 * hash) + STRATEGY_FIELD_NUMBER;
hash = (53 * hash) + getStrategy().hashCode();
hash = (37 * hash) + FRAMEOPT_FIELD_NUMBER;
hash = (53 * hash) + getFrameOpt().hashCode();
hash = (37 * hash) + FRAMEFPS_FIELD_NUMBER;
hash = (53 * hash) + getFrameFps().hashCode();
hash = (37 * hash) + NUMBEROFFRAMES_FIELD_NUMBER;
hash = (53 * hash) + getNumberOfFrames().hashCode();
hash = (37 * hash) + CUTTIMEMILLS_FIELD_NUMBER;
hash = (53 * hash) + getCutTimeMills().hashCode();
hash = (37 * hash) + NEEDFIRSTFRAME_FIELD_NUMBER;
hash = (53 * hash) + getNeedFirstFrame().hashCode();
hash = (37 * hash) + NEEDLASTFRAME_FIELD_NUMBER;
hash = (53 * hash) + getNeedLastFrame().hashCode();
hash = (37 * hash) + STARTTIMEMILL_FIELD_NUMBER;
hash = (53 * hash) + getStartTimeMill().hashCode();
hash = (37 * hash) + ENDTIMEMILL_FIELD_NUMBER;
hash = (53 * hash) + getEndTimeMill().hashCode();
hash = (37 * hash) + MINNUMBEROFFRAMES_FIELD_NUMBER;
hash = (53 * hash) + getMinNumberOfFrames().hashCode();
hash = (37 * hash) + MAXNUMBEROFFRAMES_FIELD_NUMBER;
hash = (53 * hash) + getMaxNumberOfFrames().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest 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.request.VodGetMLFramesForAuditRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest 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.request.VodGetMLFramesForAuditRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest 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.request.VodGetMLFramesForAuditRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest 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.request.VodGetMLFramesForAuditRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest 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.request.VodGetMLFramesForAuditRequest 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.request.VodGetMLFramesForAuditRequest 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.request.VodGetMLFramesForAuditRequest 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.Request.VodGetMLFramesForAuditRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodGetMLFramesForAuditRequest)
com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodGetMLFramesForAuditRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodGetMLFramesForAuditRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest.class, com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest.Builder.class);
}
// Construct using com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest.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();
vid_ = "";
strategy_ = "";
frameOpt_ = "";
frameFps_ = "";
numberOfFrames_ = "";
cutTimeMills_ = "";
needFirstFrame_ = "";
needLastFrame_ = "";
startTimeMill_ = "";
endTimeMill_ = "";
minNumberOfFrames_ = "";
maxNumberOfFrames_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodGetMLFramesForAuditRequest_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest getDefaultInstanceForType() {
return com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest build() {
com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest buildPartial() {
com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest result = new com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest(this);
result.vid_ = vid_;
result.strategy_ = strategy_;
result.frameOpt_ = frameOpt_;
result.frameFps_ = frameFps_;
result.numberOfFrames_ = numberOfFrames_;
result.cutTimeMills_ = cutTimeMills_;
result.needFirstFrame_ = needFirstFrame_;
result.needLastFrame_ = needLastFrame_;
result.startTimeMill_ = startTimeMill_;
result.endTimeMill_ = endTimeMill_;
result.minNumberOfFrames_ = minNumberOfFrames_;
result.maxNumberOfFrames_ = maxNumberOfFrames_;
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.request.VodGetMLFramesForAuditRequest) {
return mergeFrom((com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest other) {
if (other == com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest.getDefaultInstance()) return this;
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (!other.getStrategy().isEmpty()) {
strategy_ = other.strategy_;
onChanged();
}
if (!other.getFrameOpt().isEmpty()) {
frameOpt_ = other.frameOpt_;
onChanged();
}
if (!other.getFrameFps().isEmpty()) {
frameFps_ = other.frameFps_;
onChanged();
}
if (!other.getNumberOfFrames().isEmpty()) {
numberOfFrames_ = other.numberOfFrames_;
onChanged();
}
if (!other.getCutTimeMills().isEmpty()) {
cutTimeMills_ = other.cutTimeMills_;
onChanged();
}
if (!other.getNeedFirstFrame().isEmpty()) {
needFirstFrame_ = other.needFirstFrame_;
onChanged();
}
if (!other.getNeedLastFrame().isEmpty()) {
needLastFrame_ = other.needLastFrame_;
onChanged();
}
if (!other.getStartTimeMill().isEmpty()) {
startTimeMill_ = other.startTimeMill_;
onChanged();
}
if (!other.getEndTimeMill().isEmpty()) {
endTimeMill_ = other.endTimeMill_;
onChanged();
}
if (!other.getMinNumberOfFrames().isEmpty()) {
minNumberOfFrames_ = other.minNumberOfFrames_;
onChanged();
}
if (!other.getMaxNumberOfFrames().isEmpty()) {
maxNumberOfFrames_ = other.maxNumberOfFrames_;
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.request.VodGetMLFramesForAuditRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
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 java.lang.Object strategy_ = "";
/**
*
*审核帧模板信息中的Strategy,抽帧策略
*
*
* string Strategy = 2;
* @return The strategy.
*/
public java.lang.String getStrategy() {
java.lang.Object ref = strategy_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
strategy_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*审核帧模板信息中的Strategy,抽帧策略
*
*
* string Strategy = 2;
* @return The bytes for strategy.
*/
public com.google.protobuf.ByteString
getStrategyBytes() {
java.lang.Object ref = strategy_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
strategy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*审核帧模板信息中的Strategy,抽帧策略
*
*
* string Strategy = 2;
* @param value The strategy to set.
* @return This builder for chaining.
*/
public Builder setStrategy(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
strategy_ = value;
onChanged();
return this;
}
/**
*
*审核帧模板信息中的Strategy,抽帧策略
*
*
* string Strategy = 2;
* @return This builder for chaining.
*/
public Builder clearStrategy() {
strategy_ = getDefaultInstance().getStrategy();
onChanged();
return this;
}
/**
*
*审核帧模板信息中的Strategy,抽帧策略
*
*
* string Strategy = 2;
* @param value The bytes for strategy to set.
* @return This builder for chaining.
*/
public Builder setStrategyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
strategy_ = value;
onChanged();
return this;
}
private java.lang.Object frameOpt_ = "";
/**
*
*抽帧方式,参考VodFrameExtractingOptionForAudit
*
*
* string FrameOpt = 3;
* @return The frameOpt.
*/
public java.lang.String getFrameOpt() {
java.lang.Object ref = frameOpt_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
frameOpt_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*抽帧方式,参考VodFrameExtractingOptionForAudit
*
*
* string FrameOpt = 3;
* @return The bytes for frameOpt.
*/
public com.google.protobuf.ByteString
getFrameOptBytes() {
java.lang.Object ref = frameOpt_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
frameOpt_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*抽帧方式,参考VodFrameExtractingOptionForAudit
*
*
* string FrameOpt = 3;
* @param value The frameOpt to set.
* @return This builder for chaining.
*/
public Builder setFrameOpt(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
frameOpt_ = value;
onChanged();
return this;
}
/**
*
*抽帧方式,参考VodFrameExtractingOptionForAudit
*
*
* string FrameOpt = 3;
* @return This builder for chaining.
*/
public Builder clearFrameOpt() {
frameOpt_ = getDefaultInstance().getFrameOpt();
onChanged();
return this;
}
/**
*
*抽帧方式,参考VodFrameExtractingOptionForAudit
*
*
* string FrameOpt = 3;
* @param value The bytes for frameOpt to set.
* @return This builder for chaining.
*/
public Builder setFrameOptBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
frameOpt_ = value;
onChanged();
return this;
}
private java.lang.Object frameFps_ = "";
/**
*
*抽帧方式选择Fps或FpsLimitNumberOfFrames时生效,表示抽帧的帧率,生效时需要保证大于0
*
*
* string FrameFps = 4;
* @return The frameFps.
*/
public java.lang.String getFrameFps() {
java.lang.Object ref = frameFps_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
frameFps_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*抽帧方式选择Fps或FpsLimitNumberOfFrames时生效,表示抽帧的帧率,生效时需要保证大于0
*
*
* string FrameFps = 4;
* @return The bytes for frameFps.
*/
public com.google.protobuf.ByteString
getFrameFpsBytes() {
java.lang.Object ref = frameFps_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
frameFps_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*抽帧方式选择Fps或FpsLimitNumberOfFrames时生效,表示抽帧的帧率,生效时需要保证大于0
*
*
* string FrameFps = 4;
* @param value The frameFps to set.
* @return This builder for chaining.
*/
public Builder setFrameFps(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
frameFps_ = value;
onChanged();
return this;
}
/**
*
*抽帧方式选择Fps或FpsLimitNumberOfFrames时生效,表示抽帧的帧率,生效时需要保证大于0
*
*
* string FrameFps = 4;
* @return This builder for chaining.
*/
public Builder clearFrameFps() {
frameFps_ = getDefaultInstance().getFrameFps();
onChanged();
return this;
}
/**
*
*抽帧方式选择Fps或FpsLimitNumberOfFrames时生效,表示抽帧的帧率,生效时需要保证大于0
*
*
* string FrameFps = 4;
* @param value The bytes for frameFps to set.
* @return This builder for chaining.
*/
public Builder setFrameFpsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
frameFps_ = value;
onChanged();
return this;
}
private java.lang.Object numberOfFrames_ = "";
/**
*
*抽帧方式选择NumberOfFrames时生效,表示需要多少帧,生效时需要保证大于0
*
*
* string NumberOfFrames = 5;
* @return The numberOfFrames.
*/
public java.lang.String getNumberOfFrames() {
java.lang.Object ref = numberOfFrames_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
numberOfFrames_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*抽帧方式选择NumberOfFrames时生效,表示需要多少帧,生效时需要保证大于0
*
*
* string NumberOfFrames = 5;
* @return The bytes for numberOfFrames.
*/
public com.google.protobuf.ByteString
getNumberOfFramesBytes() {
java.lang.Object ref = numberOfFrames_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
numberOfFrames_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*抽帧方式选择NumberOfFrames时生效,表示需要多少帧,生效时需要保证大于0
*
*
* string NumberOfFrames = 5;
* @param value The numberOfFrames to set.
* @return This builder for chaining.
*/
public Builder setNumberOfFrames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
numberOfFrames_ = value;
onChanged();
return this;
}
/**
*
*抽帧方式选择NumberOfFrames时生效,表示需要多少帧,生效时需要保证大于0
*
*
* string NumberOfFrames = 5;
* @return This builder for chaining.
*/
public Builder clearNumberOfFrames() {
numberOfFrames_ = getDefaultInstance().getNumberOfFrames();
onChanged();
return this;
}
/**
*
*抽帧方式选择NumberOfFrames时生效,表示需要多少帧,生效时需要保证大于0
*
*
* string NumberOfFrames = 5;
* @param value The bytes for numberOfFrames to set.
* @return This builder for chaining.
*/
public Builder setNumberOfFramesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
numberOfFrames_ = value;
onChanged();
return this;
}
private java.lang.Object cutTimeMills_ = "";
/**
*
*抽帧方式选择CutTimes时生效,逗号分割,表示需要获取的帧的时间戳(ms)列表,生效时需要保证数组不为空
*
*
* string CutTimeMills = 6;
* @return The cutTimeMills.
*/
public java.lang.String getCutTimeMills() {
java.lang.Object ref = cutTimeMills_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cutTimeMills_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*抽帧方式选择CutTimes时生效,逗号分割,表示需要获取的帧的时间戳(ms)列表,生效时需要保证数组不为空
*
*
* string CutTimeMills = 6;
* @return The bytes for cutTimeMills.
*/
public com.google.protobuf.ByteString
getCutTimeMillsBytes() {
java.lang.Object ref = cutTimeMills_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cutTimeMills_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*抽帧方式选择CutTimes时生效,逗号分割,表示需要获取的帧的时间戳(ms)列表,生效时需要保证数组不为空
*
*
* string CutTimeMills = 6;
* @param value The cutTimeMills to set.
* @return This builder for chaining.
*/
public Builder setCutTimeMills(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cutTimeMills_ = value;
onChanged();
return this;
}
/**
*
*抽帧方式选择CutTimes时生效,逗号分割,表示需要获取的帧的时间戳(ms)列表,生效时需要保证数组不为空
*
*
* string CutTimeMills = 6;
* @return This builder for chaining.
*/
public Builder clearCutTimeMills() {
cutTimeMills_ = getDefaultInstance().getCutTimeMills();
onChanged();
return this;
}
/**
*
*抽帧方式选择CutTimes时生效,逗号分割,表示需要获取的帧的时间戳(ms)列表,生效时需要保证数组不为空
*
*
* string CutTimeMills = 6;
* @param value The bytes for cutTimeMills to set.
* @return This builder for chaining.
*/
public Builder setCutTimeMillsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cutTimeMills_ = value;
onChanged();
return this;
}
private java.lang.Object needFirstFrame_ = "";
/**
*
*需要首帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedFirstFrame = 7;
* @return The needFirstFrame.
*/
public java.lang.String getNeedFirstFrame() {
java.lang.Object ref = needFirstFrame_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
needFirstFrame_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*需要首帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedFirstFrame = 7;
* @return The bytes for needFirstFrame.
*/
public com.google.protobuf.ByteString
getNeedFirstFrameBytes() {
java.lang.Object ref = needFirstFrame_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needFirstFrame_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*需要首帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedFirstFrame = 7;
* @param value The needFirstFrame to set.
* @return This builder for chaining.
*/
public Builder setNeedFirstFrame(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
needFirstFrame_ = value;
onChanged();
return this;
}
/**
*
*需要首帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedFirstFrame = 7;
* @return This builder for chaining.
*/
public Builder clearNeedFirstFrame() {
needFirstFrame_ = getDefaultInstance().getNeedFirstFrame();
onChanged();
return this;
}
/**
*
*需要首帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedFirstFrame = 7;
* @param value The bytes for needFirstFrame to set.
* @return This builder for chaining.
*/
public Builder setNeedFirstFrameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
needFirstFrame_ = value;
onChanged();
return this;
}
private java.lang.Object needLastFrame_ = "";
/**
*
*需要尾帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedLastFrame = 8;
* @return The needLastFrame.
*/
public java.lang.String getNeedLastFrame() {
java.lang.Object ref = needLastFrame_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
needLastFrame_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*需要尾帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedLastFrame = 8;
* @return The bytes for needLastFrame.
*/
public com.google.protobuf.ByteString
getNeedLastFrameBytes() {
java.lang.Object ref = needLastFrame_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needLastFrame_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*需要尾帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedLastFrame = 8;
* @param value The needLastFrame to set.
* @return This builder for chaining.
*/
public Builder setNeedLastFrame(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
needLastFrame_ = value;
onChanged();
return this;
}
/**
*
*需要尾帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedLastFrame = 8;
* @return This builder for chaining.
*/
public Builder clearNeedLastFrame() {
needLastFrame_ = getDefaultInstance().getNeedLastFrame();
onChanged();
return this;
}
/**
*
*需要尾帧, 默认0,支持设置: 0-否,1-是
*
*
* string NeedLastFrame = 8;
* @param value The bytes for needLastFrame to set.
* @return This builder for chaining.
*/
public Builder setNeedLastFrameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
needLastFrame_ = value;
onChanged();
return this;
}
private java.lang.Object startTimeMill_ = "";
/**
*
*从视频的第几秒开始抽帧,单位:ms
*
*
* string StartTimeMill = 9;
* @return The startTimeMill.
*/
public java.lang.String getStartTimeMill() {
java.lang.Object ref = startTimeMill_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startTimeMill_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*从视频的第几秒开始抽帧,单位:ms
*
*
* string StartTimeMill = 9;
* @return The bytes for startTimeMill.
*/
public com.google.protobuf.ByteString
getStartTimeMillBytes() {
java.lang.Object ref = startTimeMill_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startTimeMill_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*从视频的第几秒开始抽帧,单位:ms
*
*
* string StartTimeMill = 9;
* @param value The startTimeMill to set.
* @return This builder for chaining.
*/
public Builder setStartTimeMill(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startTimeMill_ = value;
onChanged();
return this;
}
/**
*
*从视频的第几秒开始抽帧,单位:ms
*
*
* string StartTimeMill = 9;
* @return This builder for chaining.
*/
public Builder clearStartTimeMill() {
startTimeMill_ = getDefaultInstance().getStartTimeMill();
onChanged();
return this;
}
/**
*
*从视频的第几秒开始抽帧,单位:ms
*
*
* string StartTimeMill = 9;
* @param value The bytes for startTimeMill to set.
* @return This builder for chaining.
*/
public Builder setStartTimeMillBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startTimeMill_ = value;
onChanged();
return this;
}
private java.lang.Object endTimeMill_ = "";
/**
*
*从视频的第几秒结束抽帧,单位:ms
*
*
* string EndTimeMill = 10;
* @return The endTimeMill.
*/
public java.lang.String getEndTimeMill() {
java.lang.Object ref = endTimeMill_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endTimeMill_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*从视频的第几秒结束抽帧,单位:ms
*
*
* string EndTimeMill = 10;
* @return The bytes for endTimeMill.
*/
public com.google.protobuf.ByteString
getEndTimeMillBytes() {
java.lang.Object ref = endTimeMill_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTimeMill_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*从视频的第几秒结束抽帧,单位:ms
*
*
* string EndTimeMill = 10;
* @param value The endTimeMill to set.
* @return This builder for chaining.
*/
public Builder setEndTimeMill(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endTimeMill_ = value;
onChanged();
return this;
}
/**
*
*从视频的第几秒结束抽帧,单位:ms
*
*
* string EndTimeMill = 10;
* @return This builder for chaining.
*/
public Builder clearEndTimeMill() {
endTimeMill_ = getDefaultInstance().getEndTimeMill();
onChanged();
return this;
}
/**
*
*从视频的第几秒结束抽帧,单位:ms
*
*
* string EndTimeMill = 10;
* @param value The bytes for endTimeMill to set.
* @return This builder for chaining.
*/
public Builder setEndTimeMillBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endTimeMill_ = value;
onChanged();
return this;
}
private java.lang.Object minNumberOfFrames_ = "";
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最小帧数,为0表示不限制
*
*
* string MinNumberOfFrames = 11;
* @return The minNumberOfFrames.
*/
public java.lang.String getMinNumberOfFrames() {
java.lang.Object ref = minNumberOfFrames_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
minNumberOfFrames_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最小帧数,为0表示不限制
*
*
* string MinNumberOfFrames = 11;
* @return The bytes for minNumberOfFrames.
*/
public com.google.protobuf.ByteString
getMinNumberOfFramesBytes() {
java.lang.Object ref = minNumberOfFrames_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minNumberOfFrames_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最小帧数,为0表示不限制
*
*
* string MinNumberOfFrames = 11;
* @param value The minNumberOfFrames to set.
* @return This builder for chaining.
*/
public Builder setMinNumberOfFrames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
minNumberOfFrames_ = value;
onChanged();
return this;
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最小帧数,为0表示不限制
*
*
* string MinNumberOfFrames = 11;
* @return This builder for chaining.
*/
public Builder clearMinNumberOfFrames() {
minNumberOfFrames_ = getDefaultInstance().getMinNumberOfFrames();
onChanged();
return this;
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最小帧数,为0表示不限制
*
*
* string MinNumberOfFrames = 11;
* @param value The bytes for minNumberOfFrames to set.
* @return This builder for chaining.
*/
public Builder setMinNumberOfFramesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
minNumberOfFrames_ = value;
onChanged();
return this;
}
private java.lang.Object maxNumberOfFrames_ = "";
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最大帧数,为0表示不限制
*
*
* string MaxNumberOfFrames = 12;
* @return The maxNumberOfFrames.
*/
public java.lang.String getMaxNumberOfFrames() {
java.lang.Object ref = maxNumberOfFrames_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
maxNumberOfFrames_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最大帧数,为0表示不限制
*
*
* string MaxNumberOfFrames = 12;
* @return The bytes for maxNumberOfFrames.
*/
public com.google.protobuf.ByteString
getMaxNumberOfFramesBytes() {
java.lang.Object ref = maxNumberOfFrames_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maxNumberOfFrames_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最大帧数,为0表示不限制
*
*
* string MaxNumberOfFrames = 12;
* @param value The maxNumberOfFrames to set.
* @return This builder for chaining.
*/
public Builder setMaxNumberOfFrames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
maxNumberOfFrames_ = value;
onChanged();
return this;
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最大帧数,为0表示不限制
*
*
* string MaxNumberOfFrames = 12;
* @return This builder for chaining.
*/
public Builder clearMaxNumberOfFrames() {
maxNumberOfFrames_ = getDefaultInstance().getMaxNumberOfFrames();
onChanged();
return this;
}
/**
*
*抽帧方式选择FpsLimitNumberOfFrames时生效,表示限制的最大帧数,为0表示不限制
*
*
* string MaxNumberOfFrames = 12;
* @param value The bytes for maxNumberOfFrames to set.
* @return This builder for chaining.
*/
public Builder setMaxNumberOfFramesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
maxNumberOfFrames_ = 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.Request.VodGetMLFramesForAuditRequest)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodGetMLFramesForAuditRequest)
private static final com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest();
}
public static com.volcengine.service.vod.model.request.VodGetMLFramesForAuditRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodGetMLFramesForAuditRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodGetMLFramesForAuditRequest(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.request.VodGetMLFramesForAuditRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy