diff --git a/api_version.lock b/api_version.lock index a2a1e2437..9093f1fcf 100644 --- a/api_version.lock +++ b/api_version.lock @@ -1 +1 @@ -v0.1.357 +v0.1.360 diff --git a/core/sdk/src/main/gen/com/google/api/PythonSettings.java b/core/sdk/src/main/gen/com/google/api/PythonSettings.java index 1568cf10e..c23bc5af4 100644 --- a/core/sdk/src/main/gen/com/google/api/PythonSettings.java +++ b/core/sdk/src/main/gen/com/google/api/PythonSettings.java @@ -35,6 +35,19 @@ public interface ExperimentalFeaturesOrBuilder extends * @return The restAsyncIoEnabled. */ boolean getRestAsyncIoEnabled(); + + /** + *
+     * Enables generation of protobuf code using new types that are more
+     * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+     * enabled by default 1 month after launching the feature in preview
+     * packages.
+     * 
+ * + * bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"]; + * @return The protobufPythonicTypesEnabled. + */ + boolean getProtobufPythonicTypesEnabled(); } /** *
@@ -99,6 +112,53 @@ private void clearRestAsyncIoEnabled() {
       restAsyncIoEnabled_ = false;
     }
 
+    public static final int PROTOBUF_PYTHONIC_TYPES_ENABLED_FIELD_NUMBER = 2;
+    private boolean protobufPythonicTypesEnabled_;
+    /**
+     * 
+     * Enables generation of protobuf code using new types that are more
+     * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+     * enabled by default 1 month after launching the feature in preview
+     * packages.
+     * 
+ * + * bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"]; + * @return The protobufPythonicTypesEnabled. + */ + @java.lang.Override + public boolean getProtobufPythonicTypesEnabled() { + return protobufPythonicTypesEnabled_; + } + /** + *
+     * Enables generation of protobuf code using new types that are more
+     * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+     * enabled by default 1 month after launching the feature in preview
+     * packages.
+     * 
+ * + * bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"]; + * @param value The protobufPythonicTypesEnabled to set. + */ + private void setProtobufPythonicTypesEnabled(boolean value) { + + protobufPythonicTypesEnabled_ = value; + } + /** + *
+     * Enables generation of protobuf code using new types that are more
+     * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+     * enabled by default 1 month after launching the feature in preview
+     * packages.
+     * 
+ * + * bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"]; + */ + private void clearProtobufPythonicTypesEnabled() { + + protobufPythonicTypesEnabled_ = false; + } + public static com.google.api.PythonSettings.ExperimentalFeatures parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -251,6 +311,55 @@ public Builder clearRestAsyncIoEnabled() { return this; } + /** + *
+       * Enables generation of protobuf code using new types that are more
+       * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+       * enabled by default 1 month after launching the feature in preview
+       * packages.
+       * 
+ * + * bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"]; + * @return The protobufPythonicTypesEnabled. + */ + @java.lang.Override + public boolean getProtobufPythonicTypesEnabled() { + return instance.getProtobufPythonicTypesEnabled(); + } + /** + *
+       * Enables generation of protobuf code using new types that are more
+       * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+       * enabled by default 1 month after launching the feature in preview
+       * packages.
+       * 
+ * + * bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"]; + * @param value The protobufPythonicTypesEnabled to set. + * @return This builder for chaining. + */ + public Builder setProtobufPythonicTypesEnabled(boolean value) { + copyOnWrite(); + instance.setProtobufPythonicTypesEnabled(value); + return this; + } + /** + *
+       * Enables generation of protobuf code using new types that are more
+       * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
+       * enabled by default 1 month after launching the feature in preview
+       * packages.
+       * 
+ * + * bool protobuf_pythonic_types_enabled = 2 [json_name = "protobufPythonicTypesEnabled"]; + * @return This builder for chaining. + */ + public Builder clearProtobufPythonicTypesEnabled() { + copyOnWrite(); + instance.clearProtobufPythonicTypesEnabled(); + return this; + } + // @@protoc_insertion_point(builder_scope:google.api.PythonSettings.ExperimentalFeatures) } @java.lang.Override @@ -268,9 +377,11 @@ protected final java.lang.Object dynamicMethod( case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "restAsyncIoEnabled_", + "protobufPythonicTypesEnabled_", }; java.lang.String info = - "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0007"; + "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0007\u0002\u0007" + + ""; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/gen/com/viam/robot/v1/Robot.java b/core/sdk/src/main/gen/com/viam/robot/v1/Robot.java index 4f750c8cf..64f0620b0 100644 --- a/core/sdk/src/main/gen/com/viam/robot/v1/Robot.java +++ b/core/sdk/src/main/gen/com/viam/robot/v1/Robot.java @@ -15770,7 +15770,7 @@ public interface GetCloudMetadataResponseOrBuilder extends * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @return The robotPartId. */ @java.lang.Deprecated java.lang.String getRobotPartId(); @@ -15781,7 +15781,7 @@ public interface GetCloudMetadataResponseOrBuilder extends * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @return The bytes for robotPartId. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -15859,7 +15859,7 @@ private GetCloudMetadataResponse() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @return The robotPartId. */ @java.lang.Override @@ -15873,7 +15873,7 @@ private GetCloudMetadataResponse() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @return The bytes for robotPartId. */ @java.lang.Override @@ -15888,7 +15888,7 @@ private GetCloudMetadataResponse() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @param value The robotPartId to set. */ private void setRobotPartId( @@ -15904,7 +15904,7 @@ private void setRobotPartId( * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 */ private void clearRobotPartId() { @@ -15917,7 +15917,7 @@ private void clearRobotPartId() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @param value The bytes for robotPartId to set. */ private void setRobotPartIdBytes( @@ -16219,7 +16219,7 @@ private Builder() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @return The robotPartId. */ @java.lang.Override @@ -16233,7 +16233,7 @@ private Builder() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @return The bytes for robotPartId. */ @java.lang.Override @@ -16248,7 +16248,7 @@ private Builder() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @param value The robotPartId to set. * @return This builder for chaining. */ @@ -16265,7 +16265,7 @@ private Builder() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearRobotPartId() { @@ -16280,7 +16280,7 @@ private Builder() { * * string robot_part_id = 1 [json_name = "robotPartId", deprecated = true]; * @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. - * See robot/v1/robot.proto;l=357 + * See robot/v1/robot.proto;l=315 * @param value The bytes for robotPartId to set. * @return This builder for chaining. */ diff --git a/core/sdk/src/main/gen/com/viam/service/sensors/v1/Sensors.java b/core/sdk/src/main/gen/com/viam/service/sensors/v1/Sensors.java index 4175fe207..54e62af62 100644 --- a/core/sdk/src/main/gen/com/viam/service/sensors/v1/Sensors.java +++ b/core/sdk/src/main/gen/com/viam/service/sensors/v1/Sensors.java @@ -17,14 +17,14 @@ public static void registerAllExtensions( /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @return The name. */ @java.lang.Deprecated java.lang.String getName(); /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @return The bytes for name. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -37,7 +37,7 @@ public static void registerAllExtensions( * * .google.protobuf.Struct extra = 99 [json_name = "extra", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.extra is deprecated. - * See service/sensors/v1/sensors.proto;l=45 + * See service/sensors/v1/sensors.proto;l=39 * @return Whether the extra field is set. */ @java.lang.Deprecated boolean hasExtra(); @@ -48,7 +48,7 @@ public static void registerAllExtensions( * * .google.protobuf.Struct extra = 99 [json_name = "extra", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.extra is deprecated. - * See service/sensors/v1/sensors.proto;l=45 + * See service/sensors/v1/sensors.proto;l=39 * @return The extra. */ @java.lang.Deprecated com.google.protobuf.Struct getExtra(); @@ -74,7 +74,7 @@ private GetSensorsRequest() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @return The name. */ @java.lang.Override @@ -84,7 +84,7 @@ private GetSensorsRequest() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @return The bytes for name. */ @java.lang.Override @@ -95,7 +95,7 @@ private GetSensorsRequest() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @param value The name to set. */ private void setName( @@ -107,7 +107,7 @@ private void setName( /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 */ private void clearName() { @@ -116,7 +116,7 @@ private void clearName() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @param value The bytes for name to set. */ private void setNameBytes( @@ -296,7 +296,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @return The name. */ @java.lang.Override @@ -306,7 +306,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @return The bytes for name. */ @java.lang.Override @@ -317,7 +317,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @param value The name to set. * @return This builder for chaining. */ @@ -330,7 +330,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearName() { @@ -341,7 +341,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetSensorsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=43 + * See service/sensors/v1/sensors.proto;l=37 * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -904,14 +904,14 @@ public static com.google.protobuf.Parser parser() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @return The name. */ @java.lang.Deprecated java.lang.String getName(); /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @return The bytes for name. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -938,7 +938,7 @@ public static com.google.protobuf.Parser parser() { * * .google.protobuf.Struct extra = 99 [json_name = "extra", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.extra is deprecated. - * See service/sensors/v1/sensors.proto;l=58 + * See service/sensors/v1/sensors.proto;l=52 * @return Whether the extra field is set. */ @java.lang.Deprecated boolean hasExtra(); @@ -949,7 +949,7 @@ public static com.google.protobuf.Parser parser() { * * .google.protobuf.Struct extra = 99 [json_name = "extra", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.extra is deprecated. - * See service/sensors/v1/sensors.proto;l=58 + * See service/sensors/v1/sensors.proto;l=52 * @return The extra. */ @java.lang.Deprecated com.google.protobuf.Struct getExtra(); @@ -972,7 +972,7 @@ private GetReadingsRequest() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @return The name. */ @java.lang.Override @@ -982,7 +982,7 @@ private GetReadingsRequest() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @return The bytes for name. */ @java.lang.Override @@ -993,7 +993,7 @@ private GetReadingsRequest() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @param value The name to set. */ private void setName( @@ -1005,7 +1005,7 @@ private void setName( /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 */ private void clearName() { @@ -1014,7 +1014,7 @@ private void clearName() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @param value The bytes for name to set. */ private void setNameBytes( @@ -1284,7 +1284,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @return The name. */ @java.lang.Override @@ -1294,7 +1294,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @return The bytes for name. */ @java.lang.Override @@ -1305,7 +1305,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @param value The name to set. * @return This builder for chaining. */ @@ -1318,7 +1318,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearName() { @@ -1329,7 +1329,7 @@ private Builder() { /** * string name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.GetReadingsRequest.name is deprecated. - * See service/sensors/v1/sensors.proto;l=55 + * See service/sensors/v1/sensors.proto;l=49 * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -1599,14 +1599,14 @@ public static com.google.protobuf.Parser parser() { /** * .viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.Readings.name is deprecated. - * See service/sensors/v1/sensors.proto;l=63 + * See service/sensors/v1/sensors.proto;l=57 * @return Whether the name field is set. */ @java.lang.Deprecated boolean hasName(); /** * .viam.common.v1.ResourceName name = 1 [json_name = "name", deprecated = true]; * @deprecated viam.service.sensors.v1.Readings.name is deprecated. - * See service/sensors/v1/sensors.proto;l=63 + * See service/sensors/v1/sensors.proto;l=57 * @return The name. */ @java.lang.Deprecated com.viam.common.v1.Common.ResourceName getName(); diff --git a/core/sdk/src/main/gen/viam/app/data/v1/Data.java b/core/sdk/src/main/gen/viam/app/data/v1/Data.java index 02d75e2de..5d8b1bfe9 100644 --- a/core/sdk/src/main/gen/viam/app/data/v1/Data.java +++ b/core/sdk/src/main/gen/viam/app/data/v1/Data.java @@ -12813,6 +12813,25 @@ public interface BoundingBoxOrBuilder extends * @return The yMaxNormalized. */ double getYMaxNormalized(); + + /** + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @return Whether the confidence field is set. + */ + boolean hasConfidence(); + /** + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @return The confidence. + */ + double getConfidence(); } /** *
@@ -12831,6 +12850,7 @@ private BoundingBox() {
       id_ = "";
       label_ = "";
     }
+    private int bitField0_;
     public static final int ID_FIELD_NUMBER = 1;
     private java.lang.String id_;
     /**
@@ -13029,6 +13049,56 @@ private void clearYMaxNormalized() {
       yMaxNormalized_ = 0D;
     }
 
+    public static final int CONFIDENCE_FIELD_NUMBER = 7;
+    private double confidence_;
+    /**
+     * 
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @return Whether the confidence field is set. + */ + @java.lang.Override + public boolean hasConfidence() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @return The confidence. + */ + @java.lang.Override + public double getConfidence() { + return confidence_; + } + /** + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @param value The confidence to set. + */ + private void setConfidence(double value) { + bitField0_ |= 0x00000001; + confidence_ = value; + } + /** + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + */ + private void clearConfidence() { + bitField0_ = (bitField0_ & ~0x00000001); + confidence_ = 0D; + } + public static viam.app.data.v1.Data.BoundingBox parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13341,6 +13411,58 @@ public Builder clearYMaxNormalized() { return this; } + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @return Whether the confidence field is set. + */ + @java.lang.Override + public boolean hasConfidence() { + return instance.hasConfidence(); + } + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @return The confidence. + */ + @java.lang.Override + public double getConfidence() { + return instance.getConfidence(); + } + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @param value The confidence to set. + * @return This builder for chaining. + */ + public Builder setConfidence(double value) { + copyOnWrite(); + instance.setConfidence(value); + return this; + } + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 7 [json_name = "confidence"]; + * @return This builder for chaining. + */ + public Builder clearConfidence() { + copyOnWrite(); + instance.clearConfidence(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.data.v1.BoundingBox) } @java.lang.Override @@ -13357,16 +13479,18 @@ protected final java.lang.Object dynamicMethod( } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { + "bitField0_", "id_", "label_", "xMinNormalized_", "yMinNormalized_", "xMaxNormalized_", "yMaxNormalized_", + "confidence_", }; java.lang.String info = - "\u0000\u0006\u0000\u0000\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + - "\u0003\u0000\u0004\u0000\u0005\u0000\u0006\u0000"; + "\u0000\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + + "\u0003\u0000\u0004\u0000\u0005\u0000\u0006\u0000\u0007\u1000\u0000"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -13421,177 +13545,198 @@ public static com.google.protobuf.Parser parser() { } } - public interface AnnotationsOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.app.data.v1.Annotations) + public interface ClassificationOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.data.v1.Classification) com.google.protobuf.MessageLiteOrBuilder { /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @return The label. */ - java.util.List - getBboxesList(); + java.lang.String getLabel(); /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @return The bytes for label. */ - viam.app.data.v1.Data.BoundingBox getBboxes(int index); + com.google.protobuf.ByteString + getLabelBytes(); + /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @return Whether the confidence field is set. */ - int getBboxesCount(); + boolean hasConfidence(); + /** + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @return The confidence. + */ + double getConfidence(); } /** *
-   * Annotations are data annotations used for machine learning.
+   * Classification represents a confidence score with a label.
    * 
* - * Protobuf type {@code viam.app.data.v1.Annotations} + * Protobuf type {@code viam.app.data.v1.Classification} */ - public static final class Annotations extends + public static final class Classification extends com.google.protobuf.GeneratedMessageLite< - Annotations, Annotations.Builder> implements - // @@protoc_insertion_point(message_implements:viam.app.data.v1.Annotations) - AnnotationsOrBuilder { - private Annotations() { - bboxes_ = emptyProtobufList(); + Classification, Classification.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.data.v1.Classification) + ClassificationOrBuilder { + private Classification() { + label_ = ""; } - public static final int BBOXES_FIELD_NUMBER = 1; - private com.google.protobuf.Internal.ProtobufList bboxes_; + private int bitField0_; + public static final int LABEL_FIELD_NUMBER = 1; + private java.lang.String label_; /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @return The label. */ @java.lang.Override - public java.util.List getBboxesList() { - return bboxes_; - } - /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; - */ - public java.util.List - getBboxesOrBuilderList() { - return bboxes_; + public java.lang.String getLabel() { + return label_; } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @return The bytes for label. */ @java.lang.Override - public int getBboxesCount() { - return bboxes_.size(); + public com.google.protobuf.ByteString + getLabelBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(label_); } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @param value The label to set. */ - @java.lang.Override - public viam.app.data.v1.Data.BoundingBox getBboxes(int index) { - return bboxes_.get(index); + private void setLabel( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + label_ = value; } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; */ - public viam.app.data.v1.Data.BoundingBoxOrBuilder getBboxesOrBuilder( - int index) { - return bboxes_.get(index); - } - private void ensureBboxesIsMutable() { - com.google.protobuf.Internal.ProtobufList tmp = bboxes_; - if (!tmp.isModifiable()) { - bboxes_ = - com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); - } - } + private void clearLabel() { - /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; - */ - private void setBboxes( - int index, viam.app.data.v1.Data.BoundingBox value) { - value.getClass(); - ensureBboxesIsMutable(); - bboxes_.set(index, value); + label_ = getDefaultInstance().getLabel(); } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @param value The bytes for label to set. */ - private void addBboxes(viam.app.data.v1.Data.BoundingBox value) { - value.getClass(); - ensureBboxesIsMutable(); - bboxes_.add(value); + private void setLabelBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + label_ = value.toStringUtf8(); + } + + public static final int CONFIDENCE_FIELD_NUMBER = 2; + private double confidence_; /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @return Whether the confidence field is set. */ - private void addBboxes( - int index, viam.app.data.v1.Data.BoundingBox value) { - value.getClass(); - ensureBboxesIsMutable(); - bboxes_.add(index, value); + @java.lang.Override + public boolean hasConfidence() { + return ((bitField0_ & 0x00000001) != 0); } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @return The confidence. */ - private void addAllBboxes( - java.lang.Iterable values) { - ensureBboxesIsMutable(); - com.google.protobuf.AbstractMessageLite.addAll( - values, bboxes_); + @java.lang.Override + public double getConfidence() { + return confidence_; } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @param value The confidence to set. */ - private void clearBboxes() { - bboxes_ = emptyProtobufList(); + private void setConfidence(double value) { + bitField0_ |= 0x00000001; + confidence_ = value; } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + *
+     * confidence is an optional range from 0 - 1
+     * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; */ - private void removeBboxes(int index) { - ensureBboxesIsMutable(); - bboxes_.remove(index); + private void clearConfidence() { + bitField0_ = (bitField0_ & ~0x00000001); + confidence_ = 0D; } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static viam.app.data.v1.Data.Annotations parseFrom(byte[] data) + public static viam.app.data.v1.Data.Classification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } - public static viam.app.data.v1.Data.Annotations parseFrom(java.io.InputStream input) + public static viam.app.data.v1.Data.Classification parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13599,24 +13744,24 @@ public static viam.app.data.v1.Data.Annotations parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } - public static viam.app.data.v1.Data.Annotations parseDelimitedFrom(java.io.InputStream input) + public static viam.app.data.v1.Data.Classification parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } - public static viam.app.data.v1.Data.Annotations parseDelimitedFrom( + public static viam.app.data.v1.Data.Classification parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } - public static viam.app.data.v1.Data.Annotations parseFrom( + public static viam.app.data.v1.Data.Classification parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13627,54 +13772,569 @@ public static viam.app.data.v1.Data.Annotations parseFrom( public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } - public static Builder newBuilder(viam.app.data.v1.Data.Annotations prototype) { + public static Builder newBuilder(viam.app.data.v1.Data.Classification prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** *
-     * Annotations are data annotations used for machine learning.
+     * Classification represents a confidence score with a label.
      * 
* - * Protobuf type {@code viam.app.data.v1.Annotations} + * Protobuf type {@code viam.app.data.v1.Classification} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - viam.app.data.v1.Data.Annotations, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.app.data.v1.Annotations) - viam.app.data.v1.Data.AnnotationsOrBuilder { - // Construct using viam.app.data.v1.Data.Annotations.newBuilder() + viam.app.data.v1.Data.Classification, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.data.v1.Classification) + viam.app.data.v1.Data.ClassificationOrBuilder { + // Construct using viam.app.data.v1.Data.Classification.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @return The label. */ @java.lang.Override - public java.util.List getBboxesList() { - return java.util.Collections.unmodifiableList( - instance.getBboxesList()); + public java.lang.String getLabel() { + return instance.getLabel(); } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; - */ - @java.lang.Override - public int getBboxesCount() { - return instance.getBboxesCount(); - }/** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @return The bytes for label. */ @java.lang.Override - public viam.app.data.v1.Data.BoundingBox getBboxes(int index) { - return instance.getBboxes(index); + public com.google.protobuf.ByteString + getLabelBytes() { + return instance.getLabelBytes(); } /** - * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + * string label = 1 [json_name = "label"]; + * @param value The label to set. + * @return This builder for chaining. */ - public Builder setBboxes( - int index, viam.app.data.v1.Data.BoundingBox value) { + public Builder setLabel( + java.lang.String value) { + copyOnWrite(); + instance.setLabel(value); + return this; + } + /** + * string label = 1 [json_name = "label"]; + * @return This builder for chaining. + */ + public Builder clearLabel() { + copyOnWrite(); + instance.clearLabel(); + return this; + } + /** + * string label = 1 [json_name = "label"]; + * @param value The bytes for label to set. + * @return This builder for chaining. + */ + public Builder setLabelBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setLabelBytes(value); + return this; + } + + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @return Whether the confidence field is set. + */ + @java.lang.Override + public boolean hasConfidence() { + return instance.hasConfidence(); + } + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @return The confidence. + */ + @java.lang.Override + public double getConfidence() { + return instance.getConfidence(); + } + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @param value The confidence to set. + * @return This builder for chaining. + */ + public Builder setConfidence(double value) { + copyOnWrite(); + instance.setConfidence(value); + return this; + } + /** + *
+       * confidence is an optional range from 0 - 1
+       * 
+ * + * optional double confidence = 2 [json_name = "confidence"]; + * @return This builder for chaining. + */ + public Builder clearConfidence() { + copyOnWrite(); + instance.clearConfidence(); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.data.v1.Classification) + } + @java.lang.Override + @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) + protected final java.lang.Object dynamicMethod( + com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, + java.lang.Object arg0, java.lang.Object arg1) { + switch (method) { + case NEW_MUTABLE_INSTANCE: { + return new viam.app.data.v1.Data.Classification(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "bitField0_", + "label_", + "confidence_", + }; + java.lang.String info = + "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u1000" + + "\u0000"; + return newMessageInfo(DEFAULT_INSTANCE, info, objects); + } + // fall through + case GET_DEFAULT_INSTANCE: { + return DEFAULT_INSTANCE; + } + case GET_PARSER: { + com.google.protobuf.Parser parser = PARSER; + if (parser == null) { + synchronized (viam.app.data.v1.Data.Classification.class) { + parser = PARSER; + if (parser == null) { + parser = + new DefaultInstanceBasedParser( + DEFAULT_INSTANCE); + PARSER = parser; + } + } + } + return parser; + } + case GET_MEMOIZED_IS_INITIALIZED: { + return (byte) 1; + } + case SET_MEMOIZED_IS_INITIALIZED: { + return null; + } + } + throw new UnsupportedOperationException(); + } + + + // @@protoc_insertion_point(class_scope:viam.app.data.v1.Classification) + private static final viam.app.data.v1.Data.Classification DEFAULT_INSTANCE; + static { + Classification defaultInstance = new Classification(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + Classification.class, defaultInstance); + } + + public static viam.app.data.v1.Data.Classification getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static volatile com.google.protobuf.Parser PARSER; + + public static com.google.protobuf.Parser parser() { + return DEFAULT_INSTANCE.getParserForType(); + } + } + + public interface AnnotationsOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.data.v1.Annotations) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + java.util.List + getBboxesList(); + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + viam.app.data.v1.Data.BoundingBox getBboxes(int index); + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + int getBboxesCount(); + + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + java.util.List + getClassificationsList(); + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + viam.app.data.v1.Data.Classification getClassifications(int index); + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + int getClassificationsCount(); + } + /** + *
+   * Annotations are data annotations used for machine learning.
+   * 
+ * + * Protobuf type {@code viam.app.data.v1.Annotations} + */ + public static final class Annotations extends + com.google.protobuf.GeneratedMessageLite< + Annotations, Annotations.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.data.v1.Annotations) + AnnotationsOrBuilder { + private Annotations() { + bboxes_ = emptyProtobufList(); + classifications_ = emptyProtobufList(); + } + public static final int BBOXES_FIELD_NUMBER = 1; + private com.google.protobuf.Internal.ProtobufList bboxes_; + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + @java.lang.Override + public java.util.List getBboxesList() { + return bboxes_; + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + public java.util.List + getBboxesOrBuilderList() { + return bboxes_; + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + @java.lang.Override + public int getBboxesCount() { + return bboxes_.size(); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + @java.lang.Override + public viam.app.data.v1.Data.BoundingBox getBboxes(int index) { + return bboxes_.get(index); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + public viam.app.data.v1.Data.BoundingBoxOrBuilder getBboxesOrBuilder( + int index) { + return bboxes_.get(index); + } + private void ensureBboxesIsMutable() { + com.google.protobuf.Internal.ProtobufList tmp = bboxes_; + if (!tmp.isModifiable()) { + bboxes_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + private void setBboxes( + int index, viam.app.data.v1.Data.BoundingBox value) { + value.getClass(); + ensureBboxesIsMutable(); + bboxes_.set(index, value); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + private void addBboxes(viam.app.data.v1.Data.BoundingBox value) { + value.getClass(); + ensureBboxesIsMutable(); + bboxes_.add(value); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + private void addBboxes( + int index, viam.app.data.v1.Data.BoundingBox value) { + value.getClass(); + ensureBboxesIsMutable(); + bboxes_.add(index, value); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + private void addAllBboxes( + java.lang.Iterable values) { + ensureBboxesIsMutable(); + com.google.protobuf.AbstractMessageLite.addAll( + values, bboxes_); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + private void clearBboxes() { + bboxes_ = emptyProtobufList(); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + private void removeBboxes(int index) { + ensureBboxesIsMutable(); + bboxes_.remove(index); + } + + public static final int CLASSIFICATIONS_FIELD_NUMBER = 2; + private com.google.protobuf.Internal.ProtobufList classifications_; + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + @java.lang.Override + public java.util.List getClassificationsList() { + return classifications_; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public java.util.List + getClassificationsOrBuilderList() { + return classifications_; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + @java.lang.Override + public int getClassificationsCount() { + return classifications_.size(); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + @java.lang.Override + public viam.app.data.v1.Data.Classification getClassifications(int index) { + return classifications_.get(index); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public viam.app.data.v1.Data.ClassificationOrBuilder getClassificationsOrBuilder( + int index) { + return classifications_.get(index); + } + private void ensureClassificationsIsMutable() { + com.google.protobuf.Internal.ProtobufList tmp = classifications_; + if (!tmp.isModifiable()) { + classifications_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + private void setClassifications( + int index, viam.app.data.v1.Data.Classification value) { + value.getClass(); + ensureClassificationsIsMutable(); + classifications_.set(index, value); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + private void addClassifications(viam.app.data.v1.Data.Classification value) { + value.getClass(); + ensureClassificationsIsMutable(); + classifications_.add(value); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + private void addClassifications( + int index, viam.app.data.v1.Data.Classification value) { + value.getClass(); + ensureClassificationsIsMutable(); + classifications_.add(index, value); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + private void addAllClassifications( + java.lang.Iterable values) { + ensureClassificationsIsMutable(); + com.google.protobuf.AbstractMessageLite.addAll( + values, classifications_); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + private void clearClassifications() { + classifications_ = emptyProtobufList(); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + private void removeClassifications(int index) { + ensureClassificationsIsMutable(); + classifications_.remove(index); + } + + public static viam.app.data.v1.Data.Annotations parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.data.v1.Data.Annotations parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static viam.app.data.v1.Data.Annotations parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.data.v1.Data.Annotations parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static viam.app.data.v1.Data.Annotations parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.data.v1.Data.Annotations parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static viam.app.data.v1.Data.Annotations parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.data.v1.Data.Annotations parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + + public static viam.app.data.v1.Data.Annotations parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.data.v1.Data.Annotations parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.data.v1.Data.Annotations parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.data.v1.Data.Annotations parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + + public static Builder newBuilder() { + return (Builder) DEFAULT_INSTANCE.createBuilder(); + } + public static Builder newBuilder(viam.app.data.v1.Data.Annotations prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + *
+     * Annotations are data annotations used for machine learning.
+     * 
+ * + * Protobuf type {@code viam.app.data.v1.Annotations} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.data.v1.Data.Annotations, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.data.v1.Annotations) + viam.app.data.v1.Data.AnnotationsOrBuilder { + // Construct using viam.app.data.v1.Data.Annotations.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + @java.lang.Override + public java.util.List getBboxesList() { + return java.util.Collections.unmodifiableList( + instance.getBboxesList()); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + @java.lang.Override + public int getBboxesCount() { + return instance.getBboxesCount(); + }/** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + @java.lang.Override + public viam.app.data.v1.Data.BoundingBox getBboxes(int index) { + return instance.getBboxes(index); + } + /** + * repeated .viam.app.data.v1.BoundingBox bboxes = 1 [json_name = "bboxes"]; + */ + public Builder setBboxes( + int index, viam.app.data.v1.Data.BoundingBox value) { copyOnWrite(); instance.setBboxes(index, value); return this; @@ -13751,6 +14411,108 @@ public Builder removeBboxes(int index) { return this; } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + @java.lang.Override + public java.util.List getClassificationsList() { + return java.util.Collections.unmodifiableList( + instance.getClassificationsList()); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + @java.lang.Override + public int getClassificationsCount() { + return instance.getClassificationsCount(); + }/** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + @java.lang.Override + public viam.app.data.v1.Data.Classification getClassifications(int index) { + return instance.getClassifications(index); + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder setClassifications( + int index, viam.app.data.v1.Data.Classification value) { + copyOnWrite(); + instance.setClassifications(index, value); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder setClassifications( + int index, viam.app.data.v1.Data.Classification.Builder builderForValue) { + copyOnWrite(); + instance.setClassifications(index, + builderForValue.build()); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder addClassifications(viam.app.data.v1.Data.Classification value) { + copyOnWrite(); + instance.addClassifications(value); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder addClassifications( + int index, viam.app.data.v1.Data.Classification value) { + copyOnWrite(); + instance.addClassifications(index, value); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder addClassifications( + viam.app.data.v1.Data.Classification.Builder builderForValue) { + copyOnWrite(); + instance.addClassifications(builderForValue.build()); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder addClassifications( + int index, viam.app.data.v1.Data.Classification.Builder builderForValue) { + copyOnWrite(); + instance.addClassifications(index, + builderForValue.build()); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder addAllClassifications( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllClassifications(values); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder clearClassifications() { + copyOnWrite(); + instance.clearClassifications(); + return this; + } + /** + * repeated .viam.app.data.v1.Classification classifications = 2 [json_name = "classifications"]; + */ + public Builder removeClassifications(int index) { + copyOnWrite(); + instance.removeClassifications(index); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.data.v1.Annotations) } @java.lang.Override @@ -13769,9 +14531,12 @@ protected final java.lang.Object dynamicMethod( java.lang.Object[] objects = new java.lang.Object[] { "bboxes_", viam.app.data.v1.Data.BoundingBox.class, + "classifications_", + viam.app.data.v1.Data.Classification.class, }; java.lang.String info = - "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b"; + "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0002\u0000\u0001\u001b\u0002\u001b" + + ""; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/gen/viam/app/datasync/v1/DataSync.java b/core/sdk/src/main/gen/viam/app/datasync/v1/DataSync.java index 6dcaebdb8..50ac86200 100644 --- a/core/sdk/src/main/gen/viam/app/datasync/v1/DataSync.java +++ b/core/sdk/src/main/gen/viam/app/datasync/v1/DataSync.java @@ -10,6 +10,113 @@ private DataSync() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } + /** + * Protobuf enum {@code viam.app.datasync.v1.MimeType} + */ + public enum MimeType + implements com.google.protobuf.Internal.EnumLite { + /** + * MIME_TYPE_UNSPECIFIED = 0; + */ + MIME_TYPE_UNSPECIFIED(0), + /** + * MIME_TYPE_IMAGE_JPEG = 1; + */ + MIME_TYPE_IMAGE_JPEG(1), + /** + * MIME_TYPE_IMAGE_PNG = 2; + */ + MIME_TYPE_IMAGE_PNG(2), + /** + * MIME_TYPE_APPLICATION_PCD = 3; + */ + MIME_TYPE_APPLICATION_PCD(3), + UNRECOGNIZED(-1), + ; + + /** + * MIME_TYPE_UNSPECIFIED = 0; + */ + public static final int MIME_TYPE_UNSPECIFIED_VALUE = 0; + /** + * MIME_TYPE_IMAGE_JPEG = 1; + */ + public static final int MIME_TYPE_IMAGE_JPEG_VALUE = 1; + /** + * MIME_TYPE_IMAGE_PNG = 2; + */ + public static final int MIME_TYPE_IMAGE_PNG_VALUE = 2; + /** + * MIME_TYPE_APPLICATION_PCD = 3; + */ + public static final int MIME_TYPE_APPLICATION_PCD_VALUE = 3; + + + @java.lang.Override + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MimeType valueOf(int value) { + return forNumber(value); + } + + public static MimeType forNumber(int value) { + switch (value) { + case 0: return MIME_TYPE_UNSPECIFIED; + case 1: return MIME_TYPE_IMAGE_JPEG; + case 2: return MIME_TYPE_IMAGE_PNG; + case 3: return MIME_TYPE_APPLICATION_PCD; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + MimeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + @java.lang.Override + public MimeType findValueByNumber(int number) { + return MimeType.forNumber(number); + } + }; + + public static com.google.protobuf.Internal.EnumVerifier + internalGetVerifier() { + return MimeTypeVerifier.INSTANCE; + } + + private static final class MimeTypeVerifier implements + com.google.protobuf.Internal.EnumVerifier { + static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new MimeTypeVerifier(); + @java.lang.Override + public boolean isInRange(int number) { + return MimeType.forNumber(number) != null; + } + }; + + private final int value; + + private MimeType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:viam.app.datasync.v1.MimeType) + } + /** *
    * DataType specifies the type of data uploaded.
@@ -2489,10 +2596,33 @@ public interface SensorMetadataOrBuilder extends
      * @return The timeReceived.
      */
     com.google.protobuf.Timestamp getTimeReceived();
+
+    /**
+     * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
+     * @return The enum numeric value on the wire for mimeType.
+     */
+    int getMimeTypeValue();
+    /**
+     * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"];
+     * @return The mimeType.
+     */
+    viam.app.datasync.v1.DataSync.MimeType getMimeType();
+
+    /**
+     * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
+     * @return Whether the annotations field is set.
+     */
+    boolean hasAnnotations();
+    /**
+     * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"];
+     * @return The annotations.
+     */
+    viam.app.data.v1.Data.Annotations getAnnotations();
   }
   /**
    * 
-   * SensorMetadata contains the time the sensor data was requested and was received.
+   * SensorMetadata contains the time the sensor data was requested and was
+   * received.
    * 
* * Protobuf type {@code viam.app.datasync.v1.SensorMetadata} @@ -2597,6 +2727,94 @@ private void mergeTimeReceived(com.google.protobuf.Timestamp value) { bitField0_ = (bitField0_ & ~0x00000002); } + public static final int MIME_TYPE_FIELD_NUMBER = 3; + private int mimeType_; + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @return The enum numeric value on the wire for mimeType. + */ + @java.lang.Override + public int getMimeTypeValue() { + return mimeType_; + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @return The mimeType. + */ + @java.lang.Override + public viam.app.datasync.v1.DataSync.MimeType getMimeType() { + viam.app.datasync.v1.DataSync.MimeType result = viam.app.datasync.v1.DataSync.MimeType.forNumber(mimeType_); + return result == null ? viam.app.datasync.v1.DataSync.MimeType.UNRECOGNIZED : result; + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @param value The enum numeric value on the wire for mimeType to set. + */ + private void setMimeTypeValue(int value) { + mimeType_ = value; + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @param value The mimeType to set. + */ + private void setMimeType(viam.app.datasync.v1.DataSync.MimeType value) { + mimeType_ = value.getNumber(); + + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + */ + private void clearMimeType() { + + mimeType_ = 0; + } + + public static final int ANNOTATIONS_FIELD_NUMBER = 4; + private viam.app.data.v1.Data.Annotations annotations_; + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + @java.lang.Override + public boolean hasAnnotations() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + @java.lang.Override + public viam.app.data.v1.Data.Annotations getAnnotations() { + return annotations_ == null ? viam.app.data.v1.Data.Annotations.getDefaultInstance() : annotations_; + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + private void setAnnotations(viam.app.data.v1.Data.Annotations value) { + value.getClass(); + annotations_ = value; + bitField0_ |= 0x00000004; + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + @java.lang.SuppressWarnings({"ReferenceEquality"}) + private void mergeAnnotations(viam.app.data.v1.Data.Annotations value) { + value.getClass(); + if (annotations_ != null && + annotations_ != viam.app.data.v1.Data.Annotations.getDefaultInstance()) { + annotations_ = + viam.app.data.v1.Data.Annotations.newBuilder(annotations_).mergeFrom(value).buildPartial(); + } else { + annotations_ = value; + } + bitField0_ |= 0x00000004; + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + private void clearAnnotations() { annotations_ = null; + bitField0_ = (bitField0_ & ~0x00000004); + } + public static viam.app.datasync.v1.DataSync.SensorMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -2682,7 +2900,8 @@ public static Builder newBuilder(viam.app.datasync.v1.DataSync.SensorMetadata pr /** *
-     * SensorMetadata contains the time the sensor data was requested and was received.
+     * SensorMetadata contains the time the sensor data was requested and was
+     * received.
      * 
* * Protobuf type {@code viam.app.datasync.v1.SensorMetadata} @@ -2792,6 +3011,99 @@ public Builder mergeTimeReceived(com.google.protobuf.Timestamp value) { return this; } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @return The enum numeric value on the wire for mimeType. + */ + @java.lang.Override + public int getMimeTypeValue() { + return instance.getMimeTypeValue(); + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @param value The mimeType to set. + * @return This builder for chaining. + */ + public Builder setMimeTypeValue(int value) { + copyOnWrite(); + instance.setMimeTypeValue(value); + return this; + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @return The mimeType. + */ + @java.lang.Override + public viam.app.datasync.v1.DataSync.MimeType getMimeType() { + return instance.getMimeType(); + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @param value The enum numeric value on the wire for mimeType to set. + * @return This builder for chaining. + */ + public Builder setMimeType(viam.app.datasync.v1.DataSync.MimeType value) { + copyOnWrite(); + instance.setMimeType(value); + return this; + } + /** + * .viam.app.datasync.v1.MimeType mime_type = 3 [json_name = "mimeType"]; + * @return This builder for chaining. + */ + public Builder clearMimeType() { + copyOnWrite(); + instance.clearMimeType(); + return this; + } + + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + @java.lang.Override + public boolean hasAnnotations() { + return instance.hasAnnotations(); + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + @java.lang.Override + public viam.app.data.v1.Data.Annotations getAnnotations() { + return instance.getAnnotations(); + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + public Builder setAnnotations(viam.app.data.v1.Data.Annotations value) { + copyOnWrite(); + instance.setAnnotations(value); + return this; + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + public Builder setAnnotations( + viam.app.data.v1.Data.Annotations.Builder builderForValue) { + copyOnWrite(); + instance.setAnnotations(builderForValue.build()); + return this; + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + public Builder mergeAnnotations(viam.app.data.v1.Data.Annotations value) { + copyOnWrite(); + instance.mergeAnnotations(value); + return this; + } + /** + * .viam.app.data.v1.Annotations annotations = 4 [json_name = "annotations"]; + */ + public Builder clearAnnotations() { copyOnWrite(); + instance.clearAnnotations(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.datasync.v1.SensorMetadata) } @java.lang.Override @@ -2811,10 +3123,12 @@ protected final java.lang.Object dynamicMethod( "bitField0_", "timeRequested_", "timeReceived_", + "mimeType_", + "annotations_", }; java.lang.String info = - "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" + - "\u1009\u0001"; + "\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u1009\u0000\u0002" + + "\u1009\u0001\u0003\f\u0004\u1009\u0002"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/gen/viam/app/v1/App.java b/core/sdk/src/main/gen/viam/app/v1/App.java index 65be755ea..a3ba68048 100644 --- a/core/sdk/src/main/gen/viam/app/v1/App.java +++ b/core/sdk/src/main/gen/viam/app/v1/App.java @@ -17336,18 +17336,6 @@ public interface UpdateBillingServiceRequestOrBuilder extends * @return The billingAddress. */ viam.app.v1.App.BillingAddress getBillingAddress(); - - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @return The billingSupportEmail. - */ - java.lang.String getBillingSupportEmail(); - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @return The bytes for billingSupportEmail. - */ - com.google.protobuf.ByteString - getBillingSupportEmailBytes(); } /** * Protobuf type {@code viam.app.v1.UpdateBillingServiceRequest} @@ -17359,7 +17347,6 @@ public static final class UpdateBillingServiceRequest extends UpdateBillingServiceRequestOrBuilder { private UpdateBillingServiceRequest() { orgId_ = ""; - billingSupportEmail_ = ""; } private int bitField0_; public static final int ORG_ID_FIELD_NUMBER = 1; @@ -17455,53 +17442,6 @@ private void mergeBillingAddress(viam.app.v1.App.BillingAddress value) { bitField0_ = (bitField0_ & ~0x00000001); } - public static final int BILLING_SUPPORT_EMAIL_FIELD_NUMBER = 3; - private java.lang.String billingSupportEmail_; - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @return The billingSupportEmail. - */ - @java.lang.Override - public java.lang.String getBillingSupportEmail() { - return billingSupportEmail_; - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @return The bytes for billingSupportEmail. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getBillingSupportEmailBytes() { - return com.google.protobuf.ByteString.copyFromUtf8(billingSupportEmail_); - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @param value The billingSupportEmail to set. - */ - private void setBillingSupportEmail( - java.lang.String value) { - java.lang.Class valueClass = value.getClass(); - - billingSupportEmail_ = value; - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - */ - private void clearBillingSupportEmail() { - - billingSupportEmail_ = getDefaultInstance().getBillingSupportEmail(); - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @param value The bytes for billingSupportEmail to set. - */ - private void setBillingSupportEmailBytes( - com.google.protobuf.ByteString value) { - checkByteStringIsUtf8(value); - billingSupportEmail_ = value.toStringUtf8(); - - } - public static viam.app.v1.App.UpdateBillingServiceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -17695,55 +17635,6 @@ public Builder mergeBillingAddress(viam.app.v1.App.BillingAddress value) { return this; } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @return The billingSupportEmail. - */ - @java.lang.Override - public java.lang.String getBillingSupportEmail() { - return instance.getBillingSupportEmail(); - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @return The bytes for billingSupportEmail. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getBillingSupportEmailBytes() { - return instance.getBillingSupportEmailBytes(); - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @param value The billingSupportEmail to set. - * @return This builder for chaining. - */ - public Builder setBillingSupportEmail( - java.lang.String value) { - copyOnWrite(); - instance.setBillingSupportEmail(value); - return this; - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @return This builder for chaining. - */ - public Builder clearBillingSupportEmail() { - copyOnWrite(); - instance.clearBillingSupportEmail(); - return this; - } - /** - * string billing_support_email = 3 [json_name = "billingSupportEmail"]; - * @param value The bytes for billingSupportEmail to set. - * @return This builder for chaining. - */ - public Builder setBillingSupportEmailBytes( - com.google.protobuf.ByteString value) { - copyOnWrite(); - instance.setBillingSupportEmailBytes(value); - return this; - } - // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateBillingServiceRequest) } @java.lang.Override @@ -17763,11 +17654,10 @@ protected final java.lang.Object dynamicMethod( "bitField0_", "orgId_", "billingAddress_", - "billingSupportEmail_", }; java.lang.String info = - "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u1009" + - "\u0000\u0003\u0208"; + "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u1009" + + "\u0000"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -20609,7 +20499,7 @@ public interface LocationAuthOrBuilder extends * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @return The secret. */ @java.lang.Deprecated java.lang.String getSecret(); @@ -20620,7 +20510,7 @@ public interface LocationAuthOrBuilder extends * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @return The bytes for secret. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -20694,7 +20584,7 @@ private LocationAuth() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @return The secret. */ @java.lang.Override @@ -20708,7 +20598,7 @@ private LocationAuth() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @return The bytes for secret. */ @java.lang.Override @@ -20723,7 +20613,7 @@ private LocationAuth() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @param value The secret to set. */ private void setSecret( @@ -20739,7 +20629,7 @@ private void setSecret( * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 */ private void clearSecret() { @@ -20752,7 +20642,7 @@ private void clearSecret() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @param value The bytes for secret to set. */ private void setSecretBytes( @@ -21071,7 +20961,7 @@ private Builder() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @return The secret. */ @java.lang.Override @@ -21085,7 +20975,7 @@ private Builder() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @return The bytes for secret. */ @java.lang.Override @@ -21100,7 +20990,7 @@ private Builder() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @param value The secret to set. * @return This builder for chaining. */ @@ -21117,7 +21007,7 @@ private Builder() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSecret() { @@ -21132,7 +21022,7 @@ private Builder() { * * string secret = 1 [json_name = "secret", deprecated = true]; * @deprecated viam.app.v1.LocationAuth.secret is deprecated. - * See app/v1/app.proto;l=491 + * See app/v1/app.proto;l=490 * @param value The bytes for secret to set. * @return This builder for chaining. */ @@ -35678,7 +35568,7 @@ public interface GetRobotPartLogsRequestOrBuilder extends * * bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; * @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. - * See app/v1/app.proto;l=696 + * See app/v1/app.proto;l=695 * @return The errorsOnly. */ @java.lang.Deprecated boolean getErrorsOnly(); @@ -35880,7 +35770,7 @@ private void setIdBytes( * * bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; * @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. - * See app/v1/app.proto;l=696 + * See app/v1/app.proto;l=695 * @return The errorsOnly. */ @java.lang.Override @@ -35894,7 +35784,7 @@ private void setIdBytes( * * bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; * @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. - * See app/v1/app.proto;l=696 + * See app/v1/app.proto;l=695 * @param value The errorsOnly to set. */ private void setErrorsOnly(boolean value) { @@ -35908,7 +35798,7 @@ private void setErrorsOnly(boolean value) { * * bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; * @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. - * See app/v1/app.proto;l=696 + * See app/v1/app.proto;l=695 */ private void clearErrorsOnly() { @@ -36488,7 +36378,7 @@ public Builder setIdBytes( * * bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; * @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. - * See app/v1/app.proto;l=696 + * See app/v1/app.proto;l=695 * @return The errorsOnly. */ @java.lang.Override @@ -36502,7 +36392,7 @@ public Builder setIdBytes( * * bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; * @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. - * See app/v1/app.proto;l=696 + * See app/v1/app.proto;l=695 * @param value The errorsOnly to set. * @return This builder for chaining. */ @@ -36518,7 +36408,7 @@ public Builder setIdBytes( * * bool errors_only = 2 [json_name = "errorsOnly", deprecated = true]; * @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. - * See app/v1/app.proto;l=696 + * See app/v1/app.proto;l=695 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearErrorsOnly() { diff --git a/core/sdk/src/main/resources/protofds/viam.api b/core/sdk/src/main/resources/protofds/viam.api index 0d0f091e3..d06e09b0c 100644 Binary files a/core/sdk/src/main/resources/protofds/viam.api and b/core/sdk/src/main/resources/protofds/viam.api differ