diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java index 1bcf9b0f1..10ec68426 100644 --- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java +++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java @@ -278,6 +278,26 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB } public static final int TRACK_ID_FIELD_NUMBER = 5; + /** + * + * + *
+ * Streaming mode ONLY. + * In streaming mode, we do not know the end time of a tracked object + * before it is completed. Hence, there is no VideoSegment info returned. + * Instead, we provide a unique identifiable integer track_id so that + * the customers can correlate the results of the ongoing + * ObjectTrackAnnotation of the same track_id over time. + *+ * + *
int64 track_id = 5;
+ *
+ * @return Whether the trackId field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrackId() {
+ return trackInfoCase_ == 5;
+ }
/**
*
*
@@ -1228,6 +1248,25 @@ public com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrB
return segmentBuilder_;
}
+ /**
+ *
+ *
+ * + * Streaming mode ONLY. + * In streaming mode, we do not know the end time of a tracked object + * before it is completed. Hence, there is no VideoSegment info returned. + * Instead, we provide a unique identifiable integer track_id so that + * the customers can correlate the results of the ongoing + * ObjectTrackAnnotation of the same track_id over time. + *+ * + *
int64 track_id = 5;
+ *
+ * @return Whether the trackId field is set.
+ */
+ public boolean hasTrackId() {
+ return trackInfoCase_ == 5;
+ }
/**
*
*
diff --git a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java
index aea584607..c30434169 100644
--- a/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotationOrBuilder.java
@@ -61,6 +61,23 @@ public interface ObjectTrackingAnnotationOrBuilder
*/
com.google.cloud.videointelligence.v1.VideoSegmentOrBuilder getSegmentOrBuilder();
+ /**
+ *
+ *
+ * + * Streaming mode ONLY. + * In streaming mode, we do not know the end time of a tracked object + * before it is completed. Hence, there is no VideoSegment info returned. + * Instead, we provide a unique identifiable integer track_id so that + * the customers can correlate the results of the ongoing + * ObjectTrackAnnotation of the same track_id over time. + *+ * + *
int64 track_id = 5;
+ *
+ * @return Whether the trackId field is set.
+ */
+ boolean hasTrackId();
/**
*
*
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java
index 24bb61458..ddab390a2 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java
@@ -272,6 +272,26 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSeg
}
public static final int TRACK_ID_FIELD_NUMBER = 5;
+ /**
+ *
+ *
+ * + * Streaming mode ONLY. + * In streaming mode, we do not know the end time of a tracked object + * before it is completed. Hence, there is no VideoSegment info returned. + * Instead, we provide a unique identifiable integer track_id so that + * the customers can correlate the results of the ongoing + * ObjectTrackAnnotation of the same track_id over time. + *+ * + *
int64 track_id = 5;
+ *
+ * @return Whether the trackId field is set.
+ */
+ @java.lang.Override
+ public boolean hasTrackId() {
+ return trackInfoCase_ == 5;
+ }
/**
*
*
@@ -1166,6 +1186,25 @@ public com.google.cloud.videointelligence.v1p3beta1.VideoSegment.Builder getSegm
return segmentBuilder_;
}
+ /**
+ *
+ *
+ * + * Streaming mode ONLY. + * In streaming mode, we do not know the end time of a tracked object + * before it is completed. Hence, there is no VideoSegment info returned. + * Instead, we provide a unique identifiable integer track_id so that + * the customers can correlate the results of the ongoing + * ObjectTrackAnnotation of the same track_id over time. + *+ * + *
int64 track_id = 5;
+ *
+ * @return Whether the trackId field is set.
+ */
+ public boolean hasTrackId() {
+ return trackInfoCase_ == 5;
+ }
/**
*
*
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java
index 5408961d0..f2e40d9d7 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotationOrBuilder.java
@@ -61,6 +61,23 @@ public interface ObjectTrackingAnnotationOrBuilder
*/
com.google.cloud.videointelligence.v1p3beta1.VideoSegmentOrBuilder getSegmentOrBuilder();
+ /**
+ *
+ *
+ * + * Streaming mode ONLY. + * In streaming mode, we do not know the end time of a tracked object + * before it is completed. Hence, there is no VideoSegment info returned. + * Instead, we provide a unique identifiable integer track_id so that + * the customers can correlate the results of the ongoing + * ObjectTrackAnnotation of the same track_id over time. + *+ * + *
int64 track_id = 5;
+ *
+ * @return Whether the trackId field is set.
+ */
+ boolean hasTrackId();
/**
*
*
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java
index 5c964019c..ab6df0307 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequest.java
@@ -241,6 +241,27 @@ public com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig getVide
}
public static final int INPUT_CONTENT_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * The video data to be annotated. Chunks of video data are sequentially + * sent in `StreamingAnnotateVideoRequest` messages. Except the initial + * `StreamingAnnotateVideoRequest` message containing only + * `video_config`, all subsequent `AnnotateStreamingVideoRequest` + * messages must only contain `input_content` field. + * Note: as with all bytes fields, protobuffers use a pure binary + * representation (not base64). + *+ * + *
bytes input_content = 2;
+ *
+ * @return Whether the inputContent field is set.
+ */
+ @java.lang.Override
+ public boolean hasInputContent() {
+ return streamingRequestCase_ == 2;
+ }
/**
*
*
@@ -918,6 +939,26 @@ public Builder clearVideoConfig() {
return videoConfigBuilder_;
}
+ /**
+ *
+ *
+ * + * The video data to be annotated. Chunks of video data are sequentially + * sent in `StreamingAnnotateVideoRequest` messages. Except the initial + * `StreamingAnnotateVideoRequest` message containing only + * `video_config`, all subsequent `AnnotateStreamingVideoRequest` + * messages must only contain `input_content` field. + * Note: as with all bytes fields, protobuffers use a pure binary + * representation (not base64). + *+ * + *
bytes input_content = 2;
+ *
+ * @return Whether the inputContent field is set.
+ */
+ public boolean hasInputContent() {
+ return streamingRequestCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java
index a70fd823c..b1398edba 100644
--- a/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java
+++ b/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingAnnotateVideoRequestOrBuilder.java
@@ -65,6 +65,24 @@ public interface StreamingAnnotateVideoRequestOrBuilder
com.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfigOrBuilder
getVideoConfigOrBuilder();
+ /**
+ *
+ *
+ * + * The video data to be annotated. Chunks of video data are sequentially + * sent in `StreamingAnnotateVideoRequest` messages. Except the initial + * `StreamingAnnotateVideoRequest` message containing only + * `video_config`, all subsequent `AnnotateStreamingVideoRequest` + * messages must only contain `input_content` field. + * Note: as with all bytes fields, protobuffers use a pure binary + * representation (not base64). + *+ * + *
bytes input_content = 2;
+ *
+ * @return Whether the inputContent field is set.
+ */
+ boolean hasInputContent();
/**
*
*
diff --git a/synth.metadata b/synth.metadata
index 4ab8f73d5..d09ebafc4 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-video-intelligence.git",
- "sha": "8c96195993cc93a98df0cb4bd8cbf18b0e35fd11"
+ "sha": "ad49e34ef594efd8d00a0b737e0ce598eecc9804"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
- "internalRef": "358516065"
+ "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
+ "internalRef": "359781040"
}
},
{