Skip to content
Permalink
Browse files
feat(v1p3beta1): added support for streaming automl action recognition (
#155)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/b94bacd6-05ee-45c2-be4d-b0f667030fab/targets

PiperOrigin-RevId: 312101156
Source-Link: googleapis/googleapis@d1a9f02
PiperOrigin-RevId: 312088359
Source-Link: googleapis/googleapis@5a90d46
  • Loading branch information
yoshi-automation committed Jun 3, 2020
1 parent b84f421 commit bb96360f3630e27843143748663e49224cb6f2bc
Showing with 3,056 additions and 1,810 deletions.
  1. +7 −7 ...rc/main/java/com/google/cloud/videointelligence/v1/stub/VideoIntelligenceServiceStubSettings.java
  2. +1 −1 ...in/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java
  3. +6 −6 ...ce/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceClient.java
  4. +2 −2 ...d-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/package-info.java
  5. +5 −5 ...main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceGrpc.java
  6. +5 −5 ...eta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceGrpc.java
  7. +106 −85 ...ce-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequest.java
  8. +30 −24 ...ta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/AnnotateVideoRequestOrBuilder.java
  9. +7 −7 ...gence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttribute.java
  10. +2 −2 ...3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedAttributeOrBuilder.java
  11. +7 −7 ...igence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmark.java
  12. +2 −2 ...p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/DetectedLandmarkOrBuilder.java
  13. +7 −7 ...deo-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Entity.java
  14. +2 −2 ...ligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/EntityOrBuilder.java
  15. +8 −8 ...nce-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfig.java
  16. +2 −2 ...eta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/FaceDetectionConfigOrBuilder.java
  17. +1 −1 ...eo-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Feature.java
  18. +69 −69 ...ligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotation.java
  19. +15 −15 ...1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelAnnotationOrBuilder.java
  20. +24 −24 ...ce-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfig.java
  21. +6 −6 ...ta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionConfigOrBuilder.java
  22. +1 −1 ...ence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/LabelDetectionMode.java
  23. +1 −1 ...intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/Likelihood.java
  24. +589 −589 ...1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java
  25. +56 −56 ...src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java
  26. +23 −23 ...p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotation.java
  27. +5 −5 ...rc/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionAnnotationOrBuilder.java
  28. +20 −20 ...e-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfig.java
  29. +5 −5 ...a1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/PersonDetectionConfigOrBuilder.java
  30. +46 −46 ...eta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternative.java
  31. +10 −10 ...main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechRecognitionAlternativeOrBuilder.java
  32. +4 −4 ...p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java
  33. +1 −1 ...rc/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfigOrBuilder.java
  34. +28 −28 ...a1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponse.java
  35. +8 −8 ...in/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoResponseOrBuilder.java
  36. +679 −0 ...ain/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfig.java
  37. +52 −0 ...com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlActionRecognitionConfigOrBuilder.java
  38. +14 −7 ...c/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfig.java
  39. +4 −2 ...va/com/google/cloud/videointelligence/v1p3beta1/StreamingAutomlClassificationConfigOrBuilder.java
  40. +23 −1 ...igence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingFeature.java
  41. +70 −70 ...-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfig.java
  42. +20 −20 ...1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingStorageConfigOrBuilder.java
  43. +505 −127 ...ce-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfig.java
  44. +68 −25 ...ta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoConfigOrBuilder.java
  45. +26 −26 ...v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgress.java
  46. +7 −7 .../src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationProgressOrBuilder.java
  47. +53 −53 ...-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResults.java
  48. +12 −12 ...1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoAnnotationResultsOrBuilder.java
  49. +173 −154 ...ta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java
  50. +237 −220 ...igence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto
  51. +2 −2 synth.metadata
@@ -209,12 +209,12 @@ protected VideoIntelligenceServiceStubSettings(Builder settingsBuilder) throws I
RetrySettings settings = null;
settings =
RetrySettings.newBuilder()
.setInitialRetryDelay(Duration.ofMillis(100L))
.setRetryDelayMultiplier(1.3)
.setMaxRetryDelay(Duration.ofMillis(60000L))
.setInitialRpcTimeout(Duration.ofMillis(20000L))
.setInitialRetryDelay(Duration.ofMillis(1000L))
.setRetryDelayMultiplier(2.5)
.setMaxRetryDelay(Duration.ofMillis(120000L))
.setInitialRpcTimeout(Duration.ofMillis(120000L))
.setRpcTimeoutMultiplier(1.0)
.setMaxRpcTimeout(Duration.ofMillis(20000L))
.setMaxRpcTimeout(Duration.ofMillis(120000L))
.setTotalTimeout(Duration.ofMillis(600000L))
.build();
definitions.put("default", settings);
@@ -251,14 +251,14 @@ private static Builder initDefaults(Builder builder) {

builder
.annotateVideoSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
builder
.annotateVideoOperationSettings()
.setInitialCallSettings(
UnaryCallSettings
.<AnnotateVideoRequest, OperationSnapshot>newUnaryCallSettingsBuilder()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"))
.build())
.setResponseTransformer(
@@ -26,7 +26,7 @@

// AUTO-GENERATED DOCUMENTATION AND SERVICE
/**
* Service Description: Service that implements streaming Google Cloud Video Intelligence API.
* Service Description: Service that implements streaming 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:
@@ -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:
*
@@ -39,7 +39,7 @@
* ======================================= StreamingVideoIntelligenceServiceClient
* =======================================
*
* <p>Service Description: Service that implements streaming Google Cloud Video Intelligence API.
* <p>Service Description: Service that implements streaming Video Intelligence API.
*
* <p>Sample for StreamingVideoIntelligenceServiceClient:
*
@@ -24,7 +24,7 @@
*
*
* <pre>
* Service that implements streaming Google Cloud Video Intelligence API.
* Service that implements streaming Video Intelligence API.
* </pre>
*/
@javax.annotation.Generated(
@@ -140,7 +140,7 @@ public StreamingVideoIntelligenceServiceFutureStub newStub(
*
*
* <pre>
* Service that implements streaming Google Cloud Video Intelligence API.
* Service that implements streaming Video Intelligence API.
* </pre>
*/
public abstract static class StreamingVideoIntelligenceServiceImplBase
@@ -182,7 +182,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
*
* <pre>
* Service that implements streaming Google Cloud Video Intelligence API.
* Service that implements streaming Video Intelligence API.
* </pre>
*/
public static final class StreamingVideoIntelligenceServiceStub
@@ -223,7 +223,7 @@ protected StreamingVideoIntelligenceServiceStub build(
*
*
* <pre>
* Service that implements streaming Google Cloud Video Intelligence API.
* Service that implements streaming Video Intelligence API.
* </pre>
*/
public static final class StreamingVideoIntelligenceServiceBlockingStub
@@ -244,7 +244,7 @@ protected StreamingVideoIntelligenceServiceBlockingStub build(
*
*
* <pre>
* Service that implements streaming Google Cloud Video Intelligence API.
* Service that implements streaming Video Intelligence API.
* </pre>
*/
public static final class StreamingVideoIntelligenceServiceFutureStub
@@ -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

0 comments on commit bb96360

Please sign in to comment.