From 26af45ae8cbe40ac8ecced2ba7553ec0ee39794c Mon Sep 17 00:00:00 2001 From: viambot Date: Mon, 23 Sep 2024 16:51:00 +0000 Subject: [PATCH] [WORKFLOW] Updating protos from viamrobotics/api, commit: f5b39485abc27722ddc26603760ae477369a6202 --- api_version.lock | 2 +- .../com/viam/component/camera/v1/Camera.java | 126 +++++++++++++++++- core/sdk/src/main/resources/protofds/viam.api | Bin 522341 -> 522521 bytes 3 files changed, 125 insertions(+), 3 deletions(-) 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 406195bb37f161f22776e16544f2c8d668b5f2c1..1f2c649d771ecd31d7ef7df6e61364ea1d6c7b39 100644 GIT binary patch delta 1421 zcmYL}yH6BR6vpS=ox3}8XJ=uD1r|jZ(D;h0Ap{$>(ZAujRKJ;_tce`wiJ)iZ3Gg_(YaNcUW4~@AWEmtyUc#yi%)<4wj`)2gOSvT`+QRhAXC(Yx z1OE9tqeHhxs<-^BC{?Ta+Rf*Z{x)&lvoybCo;pbtKO~hN|?&aPLuJ1NI5EFDx^-6)r62~Dq(o$42docLZJ#|R0T52 z(kUiUpflukBob9-sB@1l;&|CvGG4_+9AwUtYZcT9RB^b$Ep)2sTl1JpwBbzJsW7Sf^_APZ!>u|tNFsJW;PY6KHo3+F}xxC;(tx%~|^=brzS`98w%6*m9cgIYtFg z$OL8MHL|0HKyDrE8nv~@WuewnHUkziVY%V;l;wukQxvPPK_Yq{t}uZ@CMd7O2HBxGCs$1E+F$0S)IC>0?&DiMARx2 zTp=S@NaSvjeJOf?(6HU&2gvg;@R+tq^yvFSp*hIt%K!v*zAxfa5h@hgPpiC1Xg_713Mkt3uxdJ69 zvLY)OMV4h8=SDe@@*jX`s1Ty!_zU=Ec2--s_-5Yk9pAq3n|~8O{!F~6Q=Qc_b^cL& zonxOL^uNuC5zf|G^!ul%^!<6^P=Dr`c%60s-jvxuSk_rYv)NKK{a#f2<>w+Cptt?| zFU5GKmXnOjz+NTm9g*~8hD!?gDmeo(CpnkQ3iukaap_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