Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 95aa623

Browse files
feat: field ObjectTrackingAnnotation.segment moved into oneof, added track_id (#897)
* chore(bazel): update version of Protobuf to v3.20.1 PiperOrigin-RevId: 444328399 Source-Link: googleapis/googleapis@c7ca416 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat!: field ObjectTrackingAnnotation.segment moved into oneof, added track_id PiperOrigin-RevId: 445061085 Source-Link: googleapis/googleapis@0506e19 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5796d5155df9a378c0fd8d97c06f7d7170765670 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTc5NmQ1MTU1ZGY5YTM3OGMwZmQ4ZDk3YzA2ZjdkNzE3MDc2NTY3MCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a7c27de commit 95aa623

File tree

168 files changed

+1199
-516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+1199
-516
lines changed

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoProgress.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ private AnnotateVideoProgress(
9898
}
9999
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
100100
throw e.setUnfinishedMessage(this);
101+
} catch (com.google.protobuf.UninitializedMessageException e) {
102+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
101103
} catch (java.io.IOException e) {
102104
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
103105
} finally {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ private AnnotateVideoRequest(
154154
}
155155
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
156156
throw e.setUnfinishedMessage(this);
157+
} catch (com.google.protobuf.UninitializedMessageException e) {
158+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
157159
} catch (java.io.IOException e) {
158160
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
159161
} finally {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/AnnotateVideoResponse.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ private AnnotateVideoResponse(
9898
}
9999
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
100100
throw e.setUnfinishedMessage(this);
101+
} catch (com.google.protobuf.UninitializedMessageException e) {
102+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
101103
} catch (java.io.IOException e) {
102104
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
103105
} finally {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedAttribute.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ private DetectedAttribute(
101101
}
102102
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
103103
throw e.setUnfinishedMessage(this);
104+
} catch (com.google.protobuf.UninitializedMessageException e) {
105+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
104106
} catch (java.io.IOException e) {
105107
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
106108
} finally {
@@ -261,7 +263,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
261263
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
262264
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
263265
}
264-
if (confidence_ != 0F) {
266+
if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
265267
output.writeFloat(2, confidence_);
266268
}
267269
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
@@ -279,7 +281,7 @@ public int getSerializedSize() {
279281
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
280282
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
281283
}
282-
if (confidence_ != 0F) {
284+
if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
283285
size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, confidence_);
284286
}
285287
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/DetectedLandmark.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ private DetectedLandmark(
111111
}
112112
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
113113
throw e.setUnfinishedMessage(this);
114+
} catch (com.google.protobuf.UninitializedMessageException e) {
115+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
114116
} catch (java.io.IOException e) {
115117
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
116118
} finally {
@@ -272,7 +274,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
272274
if (point_ != null) {
273275
output.writeMessage(2, getPoint());
274276
}
275-
if (confidence_ != 0F) {
277+
if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
276278
output.writeFloat(3, confidence_);
277279
}
278280
unknownFields.writeTo(output);
@@ -290,7 +292,7 @@ public int getSerializedSize() {
290292
if (point_ != null) {
291293
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPoint());
292294
}
293-
if (confidence_ != 0F) {
295+
if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
294296
size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, confidence_);
295297
}
296298
size += unknownFields.getSerializedSize();

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/Entity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ private Entity(
104104
}
105105
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
106106
throw e.setUnfinishedMessage(this);
107+
} catch (com.google.protobuf.UninitializedMessageException e) {
108+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
107109
} catch (java.io.IOException e) {
108110
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
109111
} finally {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentAnnotation.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ private ExplicitContentAnnotation(
106106
}
107107
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
108108
throw e.setUnfinishedMessage(this);
109+
} catch (com.google.protobuf.UninitializedMessageException e) {
110+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
109111
} catch (java.io.IOException e) {
110112
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
111113
} finally {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentDetectionConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ private ExplicitContentDetectionConfig(
8989
}
9090
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
9191
throw e.setUnfinishedMessage(this);
92+
} catch (com.google.protobuf.UninitializedMessageException e) {
93+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
9294
} catch (java.io.IOException e) {
9395
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
9496
} finally {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ExplicitContentFrame.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ private ExplicitContentFrame(
103103
}
104104
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
105105
throw e.setUnfinishedMessage(this);
106+
} catch (com.google.protobuf.UninitializedMessageException e) {
107+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
106108
} catch (java.io.IOException e) {
107109
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
108110
} finally {

proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/FaceAnnotation.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ private FaceAnnotation(
115115
}
116116
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
117117
throw e.setUnfinishedMessage(this);
118+
} catch (com.google.protobuf.UninitializedMessageException e) {
119+
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
118120
} catch (java.io.IOException e) {
119121
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
120122
} finally {

0 commit comments

Comments
 (0)