Skip to content
Permalink
Browse files
feat(v1): add PersonDetection and FaceDetection (#263)
PiperOrigin-RevId: 334093713

Source-Author: Google APIs <noreply@google.com>
Source-Date: Sun Sep 27 23:41:00 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: e7375a91e7942c562c61495a908f4f6d50b4ea3f
Source-Link: googleapis/googleapis@e7375a9
  • Loading branch information
yoshi-automation committed Sep 30, 2020
1 parent 8eb40c3 commit 4942fe4116ffbc654a48be999bae1b54e48798ee
Showing with 7,339 additions and 1,793 deletions.
  1. +6 −6 ...elligence/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceClient.java
  2. +1 −1 ...le-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/package-info.java
  3. +5 −5 ...lligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceGrpc.java
  4. +120 −99 ...deo-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java
  5. +34 −28 ...ligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequestOrBuilder.java
  6. +7 −7 ...-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java
  7. +2 −2 ...telligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttributeOrBuilder.java
  8. +7 −7 ...d-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java
  9. +2 −2 ...ntelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmarkOrBuilder.java
  10. +7 −7 ...oogle-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java
  11. +2 −2 ...ud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/EntityOrBuilder.java
  12. +179 −0 ...ntelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java
  13. +25 −0 ...ce-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotationOrBuilder.java
  14. +3 −2 ...oud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java
  15. +1 −0 ...-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotationOrBuilder.java
  16. +641 −0 ...-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotation.java
  17. +50 −0 ...ence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionAnnotationOrBuilder.java
  18. +98 −4 ...ideo-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfig.java
  19. +15 −1 ...lligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceDetectionConfigOrBuilder.java
  20. +3 −2 ...le-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrame.java
  21. +1 −0 ...video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceFrameOrBuilder.java
  22. +24 −2 ...ogle-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Feature.java
  23. +248 −69 ...ud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java
  24. +40 −15 ...intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotationOrBuilder.java
  25. +24 −24 ...deo-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfig.java
  26. +6 −6 ...ligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelDetectionConfigOrBuilder.java
  27. +179 −0 ...intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java
  28. +25 −0 ...nce-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java
  29. +1,136 −0 ...ntelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotation.java
  30. +102 −0 ...ce-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionAnnotationOrBuilder.java
  31. +747 −0 ...eo-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfig.java
  32. +69 −0 ...igence-v1/src/main/java/com/google/cloud/videointelligence/v1/PersonDetectionConfigOrBuilder.java
  33. +46 −46 ...lligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternative.java
  34. +10 −10 ...v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechRecognitionAlternativeOrBuilder.java
  35. +21 −21 ...ideo-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscription.java
  36. +16 −16 ...ntelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java
  37. +4 −4 ...ce-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfigOrBuilder.java
  38. +6 −6 ...lligence-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionOrBuilder.java
  39. +179 −0 ...oud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotation.java
  40. +25 −0 ...-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/TextAnnotationOrBuilder.java
  41. +26 −26 ...-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgress.java
  42. +7 −7 ...ence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationProgressOrBuilder.java
  43. +2,262 −1,055 ...o-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResults.java
  44. +167 −22 ...gence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoAnnotationResultsOrBuilder.java
  45. +298 −0 ...cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContext.java
  46. +39 −0 ...eo-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoContextOrBuilder.java
  47. +285 −229 ...ligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java
  48. +130 −56 ...d-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto
  49. +9 −4 synth.metadata
@@ -31,7 +31,7 @@

// AUTO-GENERATED DOCUMENTATION AND SERVICE
/**
* Service Description: Service that implements Google Cloud Video Intelligence API.
* Service Description: Service that implements the Video Intelligence API.
*
* <p>This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
@@ -185,15 +185,15 @@ public final OperationsClient getOperationsClient() {
* }
* </code></pre>
*
* @param inputUri Input video location. Currently, only [Google Cloud
* Storage](https://cloud.google.com/storage/) URIs are supported, which must be specified in
* @param inputUri Input video location. Currently, only [Cloud
* Storage](https://cloud.google.com/storage/) URIs are supported. URIs must be specified in
* the following format: `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more
* information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints). A
* video URI may include wildcards in `object-id`, and thus identify multiple videos.
* information, see [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
* To identify multiple videos, a video URI may include wildcards in the `object-id`.
* Supported wildcards: '&#42;' to match 0 or more characters; '?' to match 1 character. If
* unset, the input video should be embedded in the request as `input_content`. If set,
* `input_content` should be unset.
* `input_content` must be unset.
* @param features Required. Requested video annotation features.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -21,7 +21,7 @@
*
* <p>============================== VideoIntelligenceServiceClient ==============================
*
* <p>Service Description: Service that implements Google Cloud Video Intelligence API.
* <p>Service Description: Service that implements the Video Intelligence API.
*
* <p>Sample for VideoIntelligenceServiceClient:
*
@@ -26,7 +26,7 @@
*
*
* <pre>
* Service that implements Google Cloud Video Intelligence API.
* Service that implements the Video Intelligence API.
* </pre>
*/
@javax.annotation.Generated(
@@ -132,7 +132,7 @@ public VideoIntelligenceServiceFutureStub newStub(
*
*
* <pre>
* Service that implements Google Cloud Video Intelligence API.
* Service that implements the Video Intelligence API.
* </pre>
*/
public abstract static class VideoIntelligenceServiceImplBase implements io.grpc.BindableService {
@@ -170,7 +170,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
*
* <pre>
* Service that implements Google Cloud Video Intelligence API.
* Service that implements the Video Intelligence API.
* </pre>
*/
public static final class VideoIntelligenceServiceStub
@@ -209,7 +209,7 @@ public void annotateVideo(
*
*
* <pre>
* Service that implements Google Cloud Video Intelligence API.
* Service that implements the Video Intelligence API.
* </pre>
*/
public static final class VideoIntelligenceServiceBlockingStub
@@ -245,7 +245,7 @@ public com.google.longrunning.Operation annotateVideo(
*
*
* <pre>
* Service that implements Google Cloud Video Intelligence API.
* Service that implements the Video Intelligence API.
* </pre>
*/
public static final class VideoIntelligenceServiceFutureStub

Large diffs are not rendered by default.

@@ -28,15 +28,16 @@
*
* <pre>
* Input video location. Currently, only
* [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
* supported, which must be specified in the following format:
* [Cloud Storage](https://cloud.google.com/storage/) URIs are
* supported. URIs must be specified in the following format:
* `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
* [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
* A video URI may include wildcards in `object-id`, and thus identify
* multiple videos. Supported wildcards: '*' to match 0 or more characters;
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
* more information, see [Request
* URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify
* multiple videos, a video URI may include wildcards in the `object-id`.
* Supported wildcards: '*' to match 0 or more characters;
* '?' to match 1 character. If unset, the input video should be embedded
* in the request as `input_content`. If set, `input_content` should be unset.
* in the request as `input_content`. If set, `input_content` must be unset.
* </pre>
*
* <code>string input_uri = 1;</code>
@@ -49,15 +50,16 @@
*
* <pre>
* Input video location. Currently, only
* [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
* supported, which must be specified in the following format:
* [Cloud Storage](https://cloud.google.com/storage/) URIs are
* supported. URIs must be specified in the following format:
* `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
* [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
* A video URI may include wildcards in `object-id`, and thus identify
* multiple videos. Supported wildcards: '*' to match 0 or more characters;
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
* more information, see [Request
* URIs](https://cloud.google.com/storage/docs/request-endpoints). To identify
* multiple videos, a video URI may include wildcards in the `object-id`.
* Supported wildcards: '*' to match 0 or more characters;
* '?' to match 1 character. If unset, the input video should be embedded
* in the request as `input_content`. If set, `input_content` should be unset.
* in the request as `input_content`. If set, `input_content` must be unset.
* </pre>
*
* <code>string input_uri = 1;</code>
@@ -71,8 +73,8 @@
*
* <pre>
* The video data bytes.
* If unset, the input video(s) should be specified via `input_uri`.
* If set, `input_uri` should be unset.
* If unset, the input video(s) should be specified via the `input_uri`.
* If set, `input_uri` must be unset.
* </pre>
*
* <code>bytes input_content = 6;</code>
@@ -194,11 +196,12 @@
*
* <pre>
* Optional. Location where the output (in JSON format) should be stored.
* Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
* URIs are supported, which must be specified in the following format:
* Currently, only [Cloud Storage](https://cloud.google.com/storage/)
* URIs are supported. These must be specified in the following format:
* `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
* [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
* more information, see [Request
* URIs](https://cloud.google.com/storage/docs/request-endpoints).
* </pre>
*
* <code>string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -211,11 +214,12 @@
*
* <pre>
* Optional. Location where the output (in JSON format) should be stored.
* Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
* URIs are supported, which must be specified in the following format:
* Currently, only [Cloud Storage](https://cloud.google.com/storage/)
* URIs are supported. These must be specified in the following format:
* `gs://bucket-id/object-id` (other URI formats return
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
* [Request URIs](https://cloud.google.com/storage/docs/request-endpoints).
* [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
* more information, see [Request
* URIs](https://cloud.google.com/storage/docs/request-endpoints).
* </pre>
*
* <code>string output_uri = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -229,8 +233,9 @@
*
* <pre>
* Optional. Cloud region where annotation should take place. Supported cloud
* regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
* is specified, a region will be determined based on video file location.
* regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
* region is specified, the region will be determined based on video file
* location.
* </pre>
*
* <code>string location_id = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -243,8 +248,9 @@
*
* <pre>
* Optional. Cloud region where annotation should take place. Supported cloud
* regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
* is specified, a region will be determined based on video file location.
* regions are: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no
* region is specified, the region will be determined based on video file
* location.
* </pre>
*
* <code>string location_id = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@@ -130,7 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -154,7 +154,7 @@ public java.lang.String getName() {
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -600,7 +600,7 @@ public Builder mergeFrom(
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -623,7 +623,7 @@ public java.lang.String getName() {
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -646,7 +646,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -668,7 +668,7 @@ public Builder setName(java.lang.String value) {
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -686,7 +686,7 @@ public Builder clearName() {
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -27,7 +27,7 @@
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -40,7 +40,7 @@
*
*
* <pre>
* The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
* The name of the attribute, for example, glasses, dark_glasses, mouth_open.
* A full list of supported type names will be provided in the document.
* </pre>
*
@@ -140,7 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -163,7 +163,7 @@ public java.lang.String getName() {
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -621,7 +621,7 @@ public Builder mergeFrom(
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -643,7 +643,7 @@ public java.lang.String getName() {
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -665,7 +665,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -686,7 +686,7 @@ public Builder setName(java.lang.String value) {
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -703,7 +703,7 @@ public Builder clearName() {
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -27,7 +27,7 @@
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>
@@ -39,7 +39,7 @@
*
*
* <pre>
* The name of this landmark, i.e. left_hand, right_shoulder.
* The name of this landmark, for example, left_hand, right_shoulder.
* </pre>
*
* <code>string name = 1;</code>

0 comments on commit 4942fe4

Please sign in to comment.