All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.byteplus.service.vod.model.business.VodFrameExtractingOptionForAudit Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: byteplus/vod/business/vod_media.proto

package com.byteplus.service.vod.model.business;

/**
 * 
 * 模型帧 抽帧选项
 * 
* * Protobuf enum {@code Byteplus.Vod.Models.Business.VodFrameExtractingOptionForAudit} */ public enum VodFrameExtractingOptionForAudit implements com.google.protobuf.ProtocolMessageEnum { /** *
   * 未定义的
   * 
* * UndefinedVodFrameExtractingOptionForAudit = 0; */ UndefinedVodFrameExtractingOptionForAudit(0), /** *
   * 根据帧率取帧
   * 
* * FpsVodFrameExtractingOptionForAudit = 1; */ FpsVodFrameExtractingOptionForAudit(1), /** *
   * 根据帧数取帧
   * 
* * NumberOfFramesVodFrameExtractingOptionForAudit = 2; */ NumberOfFramesVodFrameExtractingOptionForAudit(2), /** *
   * 根据时间戳取帧
   * 
* * CutTimesVodFrameExtractingOptionForAudit = 3; */ CutTimesVodFrameExtractingOptionForAudit(3), /** *
   * 根据Fps抽帧,并限制最大或最小帧数
   * 
* * FpsLimitNumberOfFramesVodFrameExtractingOptionForAudit = 4; */ FpsLimitNumberOfFramesVodFrameExtractingOptionForAudit(4), /** *
   * 只取首帧或尾帧
   * 
* * OnlyFirstLastFrameVodFrameExtractingOptionForAudit = 5; */ OnlyFirstLastFrameVodFrameExtractingOptionForAudit(5), UNRECOGNIZED(-1), ; /** *
   * 未定义的
   * 
* * UndefinedVodFrameExtractingOptionForAudit = 0; */ public static final int UndefinedVodFrameExtractingOptionForAudit_VALUE = 0; /** *
   * 根据帧率取帧
   * 
* * FpsVodFrameExtractingOptionForAudit = 1; */ public static final int FpsVodFrameExtractingOptionForAudit_VALUE = 1; /** *
   * 根据帧数取帧
   * 
* * NumberOfFramesVodFrameExtractingOptionForAudit = 2; */ public static final int NumberOfFramesVodFrameExtractingOptionForAudit_VALUE = 2; /** *
   * 根据时间戳取帧
   * 
* * CutTimesVodFrameExtractingOptionForAudit = 3; */ public static final int CutTimesVodFrameExtractingOptionForAudit_VALUE = 3; /** *
   * 根据Fps抽帧,并限制最大或最小帧数
   * 
* * FpsLimitNumberOfFramesVodFrameExtractingOptionForAudit = 4; */ public static final int FpsLimitNumberOfFramesVodFrameExtractingOptionForAudit_VALUE = 4; /** *
   * 只取首帧或尾帧
   * 
* * OnlyFirstLastFrameVodFrameExtractingOptionForAudit = 5; */ public static final int OnlyFirstLastFrameVodFrameExtractingOptionForAudit_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static VodFrameExtractingOptionForAudit valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static VodFrameExtractingOptionForAudit forNumber(int value) { switch (value) { case 0: return UndefinedVodFrameExtractingOptionForAudit; case 1: return FpsVodFrameExtractingOptionForAudit; case 2: return NumberOfFramesVodFrameExtractingOptionForAudit; case 3: return CutTimesVodFrameExtractingOptionForAudit; case 4: return FpsLimitNumberOfFramesVodFrameExtractingOptionForAudit; case 5: return OnlyFirstLastFrameVodFrameExtractingOptionForAudit; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< VodFrameExtractingOptionForAudit> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public VodFrameExtractingOptionForAudit findValueByNumber(int number) { return VodFrameExtractingOptionForAudit.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodMedia.getDescriptor().getEnumTypes().get(0); } private static final VodFrameExtractingOptionForAudit[] VALUES = values(); public static VodFrameExtractingOptionForAudit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private VodFrameExtractingOptionForAudit(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:Byteplus.Vod.Models.Business.VodFrameExtractingOptionForAudit) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy