video_classification.proto 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Copyright 2021 Google LLC
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. syntax = "proto3";
  15. package google.cloud.aiplatform.v1beta1.schema.predict.instance;
  16. option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance";
  17. option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "VideoClassificationPredictionInstanceProto";
  20. option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance";
  21. option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict\\Instance";
  22. option ruby_package = "Google::Cloud::AIPlatform::V1beta1::Schema::Predict::Instance";
  23. // Prediction input format for Video Classification.
  24. message VideoClassificationPredictionInstance {
  25. // The Google Cloud Storage location of the video on which to perform the
  26. // prediction.
  27. string content = 1;
  28. // The MIME type of the content of the video. Only the following are
  29. // supported: video/mp4 video/avi video/quicktime
  30. string mime_type = 2;
  31. // The beginning, inclusive, of the video's time segment on which to perform
  32. // the prediction. Expressed as a number of seconds as measured from the
  33. // start of the video, with "s" appended at the end. Fractions are allowed,
  34. // up to a microsecond precision.
  35. string time_segment_start = 3;
  36. // The end, exclusive, of the video's time segment on which to perform
  37. // the prediction. Expressed as a number of seconds as measured from the
  38. // start of the video, with "s" appended at the end. Fractions are allowed,
  39. // up to a microsecond precision, and "inf" or "Infinity" is allowed, which
  40. // means the end of the video.
  41. string time_segment_end = 4;
  42. }