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

com.google.photos.library.v1.proto.VideoProcessingStatus Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/photos/library/v1/photos_library.proto

package com.google.photos.library.v1.proto;

/**
 *
 *
 * 
 * Processing status of a video being uploaded to Google Photos.
 * 
* * Protobuf enum {@code google.photos.library.v1.VideoProcessingStatus} */ public enum VideoProcessingStatus implements com.google.protobuf.ProtocolMessageEnum { /** * * *
   * Video processing status is unknown.
   * 
* * UNSPECIFIED = 0; */ UNSPECIFIED(0), /** * * *
   * Video is being processed. The user sees an icon for this
   * video in the Google Photos app; however, it isn't playable yet.
   * 
* * PROCESSING = 1; */ PROCESSING(1), /** * * *
   * Video processing is complete and it is now ready for viewing.
   * 
* * READY = 2; */ READY(2), /** * * *
   * Something has gone wrong and the video has failed to process.
   * 
* * FAILED = 3; */ FAILED(3), UNRECOGNIZED(-1), ; /** * * *
   * Video processing status is unknown.
   * 
* * UNSPECIFIED = 0; */ public static final int UNSPECIFIED_VALUE = 0; /** * * *
   * Video is being processed. The user sees an icon for this
   * video in the Google Photos app; however, it isn't playable yet.
   * 
* * PROCESSING = 1; */ public static final int PROCESSING_VALUE = 1; /** * * *
   * Video processing is complete and it is now ready for viewing.
   * 
* * READY = 2; */ public static final int READY_VALUE = 2; /** * * *
   * Something has gone wrong and the video has failed to process.
   * 
* * FAILED = 3; */ public static final int FAILED_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static VideoProcessingStatus valueOf(int value) { return forNumber(value); } public static VideoProcessingStatus forNumber(int value) { switch (value) { case 0: return UNSPECIFIED; case 1: return PROCESSING; case 2: return READY; case 3: return FAILED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public VideoProcessingStatus findValueByNumber(int number) { return VideoProcessingStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { 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.google.photos.library.v1.proto.LibraryServiceProto.getDescriptor() .getEnumTypes() .get(0); } private static final VideoProcessingStatus[] VALUES = values(); public static VideoProcessingStatus 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 VideoProcessingStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:google.photos.library.v1.VideoProcessingStatus) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy