diff --git a/api_version.lock b/api_version.lock index ab4bbb54c..26ce53f62 100644 --- a/api_version.lock +++ b/api_version.lock @@ -1 +1 @@ -v0.1.339 +v0.1.340 diff --git a/core/sdk/src/main/gen/com/viam/component/camera/v1/Camera.java b/core/sdk/src/main/gen/com/viam/component/camera/v1/Camera.java index 013bcf134..0b49f739c 100644 --- a/core/sdk/src/main/gen/com/viam/component/camera/v1/Camera.java +++ b/core/sdk/src/main/gen/com/viam/component/camera/v1/Camera.java @@ -5001,6 +5001,25 @@ public interface GetPropertiesResponseOrBuilder extends */ com.google.protobuf.ByteString getMimeTypesBytes(int index); + + /** + *
+     * Optional camera frame rate for image capture timing
+     * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @return Whether the frameRate field is set. + */ + boolean hasFrameRate(); + /** + *
+     * Optional camera frame rate for image capture timing
+     * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @return The frameRate. + */ + float getFrameRate(); } /** * Protobuf type {@code viam.component.camera.v1.GetPropertiesResponse} @@ -5333,6 +5352,56 @@ private void addMimeTypesBytes( mimeTypes_.add(value.toStringUtf8()); } + public static final int FRAME_RATE_FIELD_NUMBER = 5; + private float frameRate_; + /** + *
+     * Optional camera frame rate for image capture timing
+     * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @return Whether the frameRate field is set. + */ + @java.lang.Override + public boolean hasFrameRate() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Optional camera frame rate for image capture timing
+     * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @return The frameRate. + */ + @java.lang.Override + public float getFrameRate() { + return frameRate_; + } + /** + *
+     * Optional camera frame rate for image capture timing
+     * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @param value The frameRate to set. + */ + private void setFrameRate(float value) { + bitField0_ |= 0x00000004; + frameRate_ = value; + } + /** + *
+     * Optional camera frame rate for image capture timing
+     * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + */ + private void clearFrameRate() { + bitField0_ = (bitField0_ & ~0x00000004); + frameRate_ = 0F; + } + public static com.viam.component.camera.v1.Camera.GetPropertiesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5764,6 +5833,58 @@ public Builder addMimeTypesBytes( return this; } + /** + *
+       * Optional camera frame rate for image capture timing
+       * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @return Whether the frameRate field is set. + */ + @java.lang.Override + public boolean hasFrameRate() { + return instance.hasFrameRate(); + } + /** + *
+       * Optional camera frame rate for image capture timing
+       * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @return The frameRate. + */ + @java.lang.Override + public float getFrameRate() { + return instance.getFrameRate(); + } + /** + *
+       * Optional camera frame rate for image capture timing
+       * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @param value The frameRate to set. + * @return This builder for chaining. + */ + public Builder setFrameRate(float value) { + copyOnWrite(); + instance.setFrameRate(value); + return this; + } + /** + *
+       * Optional camera frame rate for image capture timing
+       * 
+ * + * optional float frame_rate = 5 [json_name = "frameRate"]; + * @return This builder for chaining. + */ + public Builder clearFrameRate() { + copyOnWrite(); + instance.clearFrameRate(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.component.camera.v1.GetPropertiesResponse) } @java.lang.Override @@ -5785,10 +5906,11 @@ protected final java.lang.Object dynamicMethod( "intrinsicParameters_", "distortionParameters_", "mimeTypes_", + "frameRate_", }; java.lang.String info = - "\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0001\u0000\u0001\u0007\u0002\u1009" + - "\u0000\u0003\u1009\u0001\u0004\u021a"; + "\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0001\u0000\u0001\u0007\u0002\u1009" + + "\u0000\u0003\u1009\u0001\u0004\u021a\u0005\u1001\u0002"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/resources/protofds/viam.api b/core/sdk/src/main/resources/protofds/viam.api index 406195bb3..1f2c649d7 100644 Binary files a/core/sdk/src/main/resources/protofds/viam.api and b/core/sdk/src/main/resources/protofds/viam.api differ