diff --git a/api_version.lock b/api_version.lock index 30101ec0e..cda4221cb 100644 --- a/api_version.lock +++ b/api_version.lock @@ -1 +1 @@ -v0.1.504 +v0.1.521 diff --git a/core/sdk/src/main/gen/com/viam/common/v1/Common.java b/core/sdk/src/main/gen/com/viam/common/v1/Common.java index 47744ee7a..31dc7d88f 100644 --- a/core/sdk/src/main/gen/com/viam/common/v1/Common.java +++ b/core/sdk/src/main/gen/com/viam/common/v1/Common.java @@ -11237,6 +11237,62 @@ public interface GetKinematicsResponseOrBuilder extends * @return The kinematicsData. */ com.google.protobuf.ByteString getKinematicsData(); + + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + int getMeshesByUrdfFilepathCount(); + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + boolean containsMeshesByUrdfFilepath( + java.lang.String key); + /** + * Use {@link #getMeshesByUrdfFilepathMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getMeshesByUrdfFilepath(); + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + java.util.Map + getMeshesByUrdfFilepathMap(); + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + + /* nullable */ +com.viam.common.v1.Common.Mesh getMeshesByUrdfFilepathOrDefault( + java.lang.String key, + /* nullable */ +com.viam.common.v1.Common.Mesh defaultValue); + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + + com.viam.common.v1.Common.Mesh getMeshesByUrdfFilepathOrThrow( + java.lang.String key); } /** * Protobuf type {@code viam.common.v1.GetKinematicsResponse} @@ -11355,6 +11411,121 @@ private void clearKinematicsData() { kinematicsData_ = getDefaultInstance().getKinematicsData(); } + public static final int MESHES_BY_URDF_FILEPATH_FIELD_NUMBER = 3; + private static final class MeshesByUrdfFilepathDefaultEntryHolder { + static final com.google.protobuf.MapEntryLite< + java.lang.String, com.viam.common.v1.Common.Mesh> defaultEntry = + com.google.protobuf.MapEntryLite + .newDefaultInstance( + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.viam.common.v1.Common.Mesh.getDefaultInstance()); + } + private com.google.protobuf.MapFieldLite< + java.lang.String, com.viam.common.v1.Common.Mesh> meshesByUrdfFilepath_ = + com.google.protobuf.MapFieldLite.emptyMapField(); + private com.google.protobuf.MapFieldLite + internalGetMeshesByUrdfFilepath() { + return meshesByUrdfFilepath_; + } + private com.google.protobuf.MapFieldLite + internalGetMutableMeshesByUrdfFilepath() { + if (!meshesByUrdfFilepath_.isMutable()) { + meshesByUrdfFilepath_ = meshesByUrdfFilepath_.mutableCopy(); + } + return meshesByUrdfFilepath_; + } + @java.lang.Override + + public int getMeshesByUrdfFilepathCount() { + return internalGetMeshesByUrdfFilepath().size(); + } + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + + public boolean containsMeshesByUrdfFilepath( + java.lang.String key) { + java.lang.Class keyClass = key.getClass(); + return internalGetMeshesByUrdfFilepath().containsKey(key); + } + /** + * Use {@link #getMeshesByUrdfFilepathMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getMeshesByUrdfFilepath() { + return getMeshesByUrdfFilepathMap(); + } + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + + public java.util.Map getMeshesByUrdfFilepathMap() { + return java.util.Collections.unmodifiableMap( + internalGetMeshesByUrdfFilepath()); + } + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + + public /* nullable */ +com.viam.common.v1.Common.Mesh getMeshesByUrdfFilepathOrDefault( + java.lang.String key, + /* nullable */ +com.viam.common.v1.Common.Mesh defaultValue) { + java.lang.Class keyClass = key.getClass(); + java.util.Map map = + internalGetMeshesByUrdfFilepath(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + + public com.viam.common.v1.Common.Mesh getMeshesByUrdfFilepathOrThrow( + java.lang.String key) { + java.lang.Class keyClass = key.getClass(); + java.util.Map map = + internalGetMeshesByUrdfFilepath(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + /** + *
+     * Map of URDF mesh file paths to mesh data
+     * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + private java.util.Map + getMutableMeshesByUrdfFilepathMap() { + return internalGetMutableMeshesByUrdfFilepath(); + } + public static com.viam.common.v1.Common.GetKinematicsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -11563,6 +11734,134 @@ public Builder clearKinematicsData() { return this; } + @java.lang.Override + + public int getMeshesByUrdfFilepathCount() { + return instance.getMeshesByUrdfFilepathMap().size(); + } + /** + *
+       * Map of URDF mesh file paths to mesh data
+       * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + + public boolean containsMeshesByUrdfFilepath( + java.lang.String key) { + java.lang.Class keyClass = key.getClass(); + return instance.getMeshesByUrdfFilepathMap().containsKey(key); + } + + public Builder clearMeshesByUrdfFilepath() { + copyOnWrite(); + instance.getMutableMeshesByUrdfFilepathMap().clear(); + return this; + } + /** + *
+       * Map of URDF mesh file paths to mesh data
+       * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + + public Builder removeMeshesByUrdfFilepath( + java.lang.String key) { + java.lang.Class keyClass = key.getClass(); + copyOnWrite(); + instance.getMutableMeshesByUrdfFilepathMap().remove(key); + return this; + } + /** + * Use {@link #getMeshesByUrdfFilepathMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getMeshesByUrdfFilepath() { + return getMeshesByUrdfFilepathMap(); + } + /** + *
+       * Map of URDF mesh file paths to mesh data
+       * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + public java.util.Map getMeshesByUrdfFilepathMap() { + return java.util.Collections.unmodifiableMap( + instance.getMeshesByUrdfFilepathMap()); + } + /** + *
+       * Map of URDF mesh file paths to mesh data
+       * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + + public /* nullable */ +com.viam.common.v1.Common.Mesh getMeshesByUrdfFilepathOrDefault( + java.lang.String key, + /* nullable */ +com.viam.common.v1.Common.Mesh defaultValue) { + java.lang.Class keyClass = key.getClass(); + java.util.Map map = + instance.getMeshesByUrdfFilepathMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Map of URDF mesh file paths to mesh data
+       * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + @java.lang.Override + + public com.viam.common.v1.Common.Mesh getMeshesByUrdfFilepathOrThrow( + java.lang.String key) { + java.lang.Class keyClass = key.getClass(); + java.util.Map map = + instance.getMeshesByUrdfFilepathMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + /** + *
+       * Map of URDF mesh file paths to mesh data
+       * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + public Builder putMeshesByUrdfFilepath( + java.lang.String key, + com.viam.common.v1.Common.Mesh value) { + java.lang.Class keyClass = key.getClass(); + java.lang.Class valueClass = value.getClass(); + copyOnWrite(); + instance.getMutableMeshesByUrdfFilepathMap().put(key, value); + return this; + } + /** + *
+       * Map of URDF mesh file paths to mesh data
+       * 
+ * + * map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; + */ + public Builder putAllMeshesByUrdfFilepath( + java.util.Map values) { + copyOnWrite(); + instance.getMutableMeshesByUrdfFilepathMap().putAll(values); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.common.v1.GetKinematicsResponse) } @java.lang.Override @@ -11581,9 +11880,12 @@ protected final java.lang.Object dynamicMethod( java.lang.Object[] objects = new java.lang.Object[] { "format_", "kinematicsData_", + "meshesByUrdfFilepath_", + MeshesByUrdfFilepathDefaultEntryHolder.defaultEntry, }; java.lang.String info = - "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\f\u0002\n"; + "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0001\u0000\u0000\u0001\f\u0002\n\u0003" + + "2"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/gen/com/viam/component/arm/v1/Arm.java b/core/sdk/src/main/gen/com/viam/component/arm/v1/Arm.java index 4bed6aaab..3ccd06dd9 100644 --- a/core/sdk/src/main/gen/com/viam/component/arm/v1/Arm.java +++ b/core/sdk/src/main/gen/com/viam/component/arm/v1/Arm.java @@ -6693,7 +6693,8 @@ public interface MoveOptionsOrBuilder extends /** *
-     * Maximum allowable velocity of an arm joint, in degrees per second
+     * Maximum allowable velocity of an arm joint, in degrees per second.
+     * Ignored when max_vel_degs_per_sec_joints is set.
      * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6702,7 +6703,8 @@ public interface MoveOptionsOrBuilder extends boolean hasMaxVelDegsPerSec(); /** *
-     * Maximum allowable velocity of an arm joint, in degrees per second
+     * Maximum allowable velocity of an arm joint, in degrees per second.
+     * Ignored when max_vel_degs_per_sec_joints is set.
      * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6712,7 +6714,8 @@ public interface MoveOptionsOrBuilder extends /** *
-     * Maximum allowable acceleration of an arm joint, in degrees per second squared
+     * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+     * ignored when max_acc_degs_per_sec2_joints is set.
      * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -6721,13 +6724,72 @@ public interface MoveOptionsOrBuilder extends boolean hasMaxAccDegsPerSec2(); /** *
-     * Maximum allowable acceleration of an arm joint, in degrees per second squared
+     * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+     * ignored when max_acc_degs_per_sec2_joints is set.
      * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; * @return The maxAccDegsPerSec2. */ double getMaxAccDegsPerSec2(); + + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @return A list containing the maxVelDegsPerSecJoints. + */ + java.util.List getMaxVelDegsPerSecJointsList(); + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @return The count of maxVelDegsPerSecJoints. + */ + int getMaxVelDegsPerSecJointsCount(); + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param index The index of the element to return. + * @return The maxVelDegsPerSecJoints at the given index. + */ + double getMaxVelDegsPerSecJoints(int index); + + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @return A list containing the maxAccDegsPerSec2Joints. + */ + java.util.List getMaxAccDegsPerSec2JointsList(); + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @return The count of maxAccDegsPerSec2Joints. + */ + int getMaxAccDegsPerSec2JointsCount(); + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param index The index of the element to return. + * @return The maxAccDegsPerSec2Joints at the given index. + */ + double getMaxAccDegsPerSec2Joints(int index); } /** * Protobuf type {@code viam.component.arm.v1.MoveOptions} @@ -6738,13 +6800,16 @@ public static final class MoveOptions extends // @@protoc_insertion_point(message_implements:viam.component.arm.v1.MoveOptions) MoveOptionsOrBuilder { private MoveOptions() { + maxVelDegsPerSecJoints_ = emptyDoubleList(); + maxAccDegsPerSec2Joints_ = emptyDoubleList(); } private int bitField0_; public static final int MAX_VEL_DEGS_PER_SEC_FIELD_NUMBER = 1; private double maxVelDegsPerSec_; /** *
-     * Maximum allowable velocity of an arm joint, in degrees per second
+     * Maximum allowable velocity of an arm joint, in degrees per second.
+     * Ignored when max_vel_degs_per_sec_joints is set.
      * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6756,7 +6821,8 @@ public boolean hasMaxVelDegsPerSec() { } /** *
-     * Maximum allowable velocity of an arm joint, in degrees per second
+     * Maximum allowable velocity of an arm joint, in degrees per second.
+     * Ignored when max_vel_degs_per_sec_joints is set.
      * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6768,7 +6834,8 @@ public double getMaxVelDegsPerSec() { } /** *
-     * Maximum allowable velocity of an arm joint, in degrees per second
+     * Maximum allowable velocity of an arm joint, in degrees per second.
+     * Ignored when max_vel_degs_per_sec_joints is set.
      * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6780,7 +6847,8 @@ private void setMaxVelDegsPerSec(double value) { } /** *
-     * Maximum allowable velocity of an arm joint, in degrees per second
+     * Maximum allowable velocity of an arm joint, in degrees per second.
+     * Ignored when max_vel_degs_per_sec_joints is set.
      * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6794,7 +6862,8 @@ private void clearMaxVelDegsPerSec() { private double maxAccDegsPerSec2_; /** *
-     * Maximum allowable acceleration of an arm joint, in degrees per second squared
+     * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+     * ignored when max_acc_degs_per_sec2_joints is set.
      * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -6806,7 +6875,8 @@ public boolean hasMaxAccDegsPerSec2() { } /** *
-     * Maximum allowable acceleration of an arm joint, in degrees per second squared
+     * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+     * ignored when max_acc_degs_per_sec2_joints is set.
      * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -6818,7 +6888,8 @@ public double getMaxAccDegsPerSec2() { } /** *
-     * Maximum allowable acceleration of an arm joint, in degrees per second squared
+     * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+     * ignored when max_acc_degs_per_sec2_joints is set.
      * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -6830,7 +6901,8 @@ private void setMaxAccDegsPerSec2(double value) { } /** *
-     * Maximum allowable acceleration of an arm joint, in degrees per second squared
+     * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+     * ignored when max_acc_degs_per_sec2_joints is set.
      * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -6840,6 +6912,204 @@ private void clearMaxAccDegsPerSec2() { maxAccDegsPerSec2_ = 0D; } + public static final int MAX_VEL_DEGS_PER_SEC_JOINTS_FIELD_NUMBER = 3; + private com.google.protobuf.Internal.DoubleList maxVelDegsPerSecJoints_; + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @return A list containing the maxVelDegsPerSecJoints. + */ + @java.lang.Override + public java.util.List + getMaxVelDegsPerSecJointsList() { + return maxVelDegsPerSecJoints_; + } + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @return The count of maxVelDegsPerSecJoints. + */ + @java.lang.Override + public int getMaxVelDegsPerSecJointsCount() { + return maxVelDegsPerSecJoints_.size(); + } + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param index The index of the element to return. + * @return The maxVelDegsPerSecJoints at the given index. + */ + @java.lang.Override + public double getMaxVelDegsPerSecJoints(int index) { + return maxVelDegsPerSecJoints_.getDouble(index); + } + private int maxVelDegsPerSecJointsMemoizedSerializedSize = -1; + private void ensureMaxVelDegsPerSecJointsIsMutable() { + com.google.protobuf.Internal.DoubleList tmp = maxVelDegsPerSecJoints_; + if (!tmp.isModifiable()) { + maxVelDegsPerSecJoints_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param index The index to set the value at. + * @param value The maxVelDegsPerSecJoints to set. + */ + private void setMaxVelDegsPerSecJoints( + int index, double value) { + ensureMaxVelDegsPerSecJointsIsMutable(); + maxVelDegsPerSecJoints_.setDouble(index, value); + } + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param value The maxVelDegsPerSecJoints to add. + */ + private void addMaxVelDegsPerSecJoints(double value) { + ensureMaxVelDegsPerSecJointsIsMutable(); + maxVelDegsPerSecJoints_.addDouble(value); + } + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param values The maxVelDegsPerSecJoints to add. + */ + private void addAllMaxVelDegsPerSecJoints( + java.lang.Iterable values) { + ensureMaxVelDegsPerSecJointsIsMutable(); + com.google.protobuf.AbstractMessageLite.addAll( + values, maxVelDegsPerSecJoints_); + } + /** + *
+     * Per-joint maximum velocity in degrees per second.
+     * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + */ + private void clearMaxVelDegsPerSecJoints() { + maxVelDegsPerSecJoints_ = emptyDoubleList(); + } + + public static final int MAX_ACC_DEGS_PER_SEC2_JOINTS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.DoubleList maxAccDegsPerSec2Joints_; + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @return A list containing the maxAccDegsPerSec2Joints. + */ + @java.lang.Override + public java.util.List + getMaxAccDegsPerSec2JointsList() { + return maxAccDegsPerSec2Joints_; + } + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @return The count of maxAccDegsPerSec2Joints. + */ + @java.lang.Override + public int getMaxAccDegsPerSec2JointsCount() { + return maxAccDegsPerSec2Joints_.size(); + } + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param index The index of the element to return. + * @return The maxAccDegsPerSec2Joints at the given index. + */ + @java.lang.Override + public double getMaxAccDegsPerSec2Joints(int index) { + return maxAccDegsPerSec2Joints_.getDouble(index); + } + private int maxAccDegsPerSec2JointsMemoizedSerializedSize = -1; + private void ensureMaxAccDegsPerSec2JointsIsMutable() { + com.google.protobuf.Internal.DoubleList tmp = maxAccDegsPerSec2Joints_; + if (!tmp.isModifiable()) { + maxAccDegsPerSec2Joints_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param index The index to set the value at. + * @param value The maxAccDegsPerSec2Joints to set. + */ + private void setMaxAccDegsPerSec2Joints( + int index, double value) { + ensureMaxAccDegsPerSec2JointsIsMutable(); + maxAccDegsPerSec2Joints_.setDouble(index, value); + } + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param value The maxAccDegsPerSec2Joints to add. + */ + private void addMaxAccDegsPerSec2Joints(double value) { + ensureMaxAccDegsPerSec2JointsIsMutable(); + maxAccDegsPerSec2Joints_.addDouble(value); + } + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param values The maxAccDegsPerSec2Joints to add. + */ + private void addAllMaxAccDegsPerSec2Joints( + java.lang.Iterable values) { + ensureMaxAccDegsPerSec2JointsIsMutable(); + com.google.protobuf.AbstractMessageLite.addAll( + values, maxAccDegsPerSec2Joints_); + } + /** + *
+     * Per-joint maximum acceleration in degrees per second squared.
+     * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + */ + private void clearMaxAccDegsPerSec2Joints() { + maxAccDegsPerSec2Joints_ = emptyDoubleList(); + } + public static com.viam.component.arm.v1.Arm.MoveOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6939,7 +7209,8 @@ private Builder() { /** *
-       * Maximum allowable velocity of an arm joint, in degrees per second
+       * Maximum allowable velocity of an arm joint, in degrees per second.
+       * Ignored when max_vel_degs_per_sec_joints is set.
        * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6951,7 +7222,8 @@ public boolean hasMaxVelDegsPerSec() { } /** *
-       * Maximum allowable velocity of an arm joint, in degrees per second
+       * Maximum allowable velocity of an arm joint, in degrees per second.
+       * Ignored when max_vel_degs_per_sec_joints is set.
        * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6963,7 +7235,8 @@ public double getMaxVelDegsPerSec() { } /** *
-       * Maximum allowable velocity of an arm joint, in degrees per second
+       * Maximum allowable velocity of an arm joint, in degrees per second.
+       * Ignored when max_vel_degs_per_sec_joints is set.
        * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6977,7 +7250,8 @@ public Builder setMaxVelDegsPerSec(double value) { } /** *
-       * Maximum allowable velocity of an arm joint, in degrees per second
+       * Maximum allowable velocity of an arm joint, in degrees per second.
+       * Ignored when max_vel_degs_per_sec_joints is set.
        * 
* * optional double max_vel_degs_per_sec = 1 [json_name = "maxVelDegsPerSec"]; @@ -6991,7 +7265,8 @@ public Builder clearMaxVelDegsPerSec() { /** *
-       * Maximum allowable acceleration of an arm joint, in degrees per second squared
+       * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+       * ignored when max_acc_degs_per_sec2_joints is set.
        * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -7003,7 +7278,8 @@ public boolean hasMaxAccDegsPerSec2() { } /** *
-       * Maximum allowable acceleration of an arm joint, in degrees per second squared
+       * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+       * ignored when max_acc_degs_per_sec2_joints is set.
        * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -7015,7 +7291,8 @@ public double getMaxAccDegsPerSec2() { } /** *
-       * Maximum allowable acceleration of an arm joint, in degrees per second squared
+       * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+       * ignored when max_acc_degs_per_sec2_joints is set.
        * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -7029,7 +7306,8 @@ public Builder setMaxAccDegsPerSec2(double value) { } /** *
-       * Maximum allowable acceleration of an arm joint, in degrees per second squared
+       * Maximum allowable acceleration of an arm joint, in degrees per second squared.
+       * ignored when max_acc_degs_per_sec2_joints is set.
        * 
* * optional double max_acc_degs_per_sec2 = 2 [json_name = "maxAccDegsPerSec2"]; @@ -7041,6 +7319,200 @@ public Builder clearMaxAccDegsPerSec2() { return this; } + /** + *
+       * Per-joint maximum velocity in degrees per second.
+       * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @return A list containing the maxVelDegsPerSecJoints. + */ + @java.lang.Override + public java.util.List + getMaxVelDegsPerSecJointsList() { + return java.util.Collections.unmodifiableList( + instance.getMaxVelDegsPerSecJointsList()); + } + /** + *
+       * Per-joint maximum velocity in degrees per second.
+       * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @return The count of maxVelDegsPerSecJoints. + */ + @java.lang.Override + public int getMaxVelDegsPerSecJointsCount() { + return instance.getMaxVelDegsPerSecJointsCount(); + } + /** + *
+       * Per-joint maximum velocity in degrees per second.
+       * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param index The index of the element to return. + * @return The maxVelDegsPerSecJoints at the given index. + */ + @java.lang.Override + public double getMaxVelDegsPerSecJoints(int index) { + return instance.getMaxVelDegsPerSecJoints(index); + } + /** + *
+       * Per-joint maximum velocity in degrees per second.
+       * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param value The maxVelDegsPerSecJoints to set. + * @return This builder for chaining. + */ + public Builder setMaxVelDegsPerSecJoints( + int index, double value) { + copyOnWrite(); + instance.setMaxVelDegsPerSecJoints(index, value); + return this; + } + /** + *
+       * Per-joint maximum velocity in degrees per second.
+       * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param value The maxVelDegsPerSecJoints to add. + * @return This builder for chaining. + */ + public Builder addMaxVelDegsPerSecJoints(double value) { + copyOnWrite(); + instance.addMaxVelDegsPerSecJoints(value); + return this; + } + /** + *
+       * Per-joint maximum velocity in degrees per second.
+       * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @param values The maxVelDegsPerSecJoints to add. + * @return This builder for chaining. + */ + public Builder addAllMaxVelDegsPerSecJoints( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllMaxVelDegsPerSecJoints(values); + return this; + } + /** + *
+       * Per-joint maximum velocity in degrees per second.
+       * 
+ * + * repeated double max_vel_degs_per_sec_joints = 3 [json_name = "maxVelDegsPerSecJoints"]; + * @return This builder for chaining. + */ + public Builder clearMaxVelDegsPerSecJoints() { + copyOnWrite(); + instance.clearMaxVelDegsPerSecJoints(); + return this; + } + + /** + *
+       * Per-joint maximum acceleration in degrees per second squared.
+       * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @return A list containing the maxAccDegsPerSec2Joints. + */ + @java.lang.Override + public java.util.List + getMaxAccDegsPerSec2JointsList() { + return java.util.Collections.unmodifiableList( + instance.getMaxAccDegsPerSec2JointsList()); + } + /** + *
+       * Per-joint maximum acceleration in degrees per second squared.
+       * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @return The count of maxAccDegsPerSec2Joints. + */ + @java.lang.Override + public int getMaxAccDegsPerSec2JointsCount() { + return instance.getMaxAccDegsPerSec2JointsCount(); + } + /** + *
+       * Per-joint maximum acceleration in degrees per second squared.
+       * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param index The index of the element to return. + * @return The maxAccDegsPerSec2Joints at the given index. + */ + @java.lang.Override + public double getMaxAccDegsPerSec2Joints(int index) { + return instance.getMaxAccDegsPerSec2Joints(index); + } + /** + *
+       * Per-joint maximum acceleration in degrees per second squared.
+       * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param value The maxAccDegsPerSec2Joints to set. + * @return This builder for chaining. + */ + public Builder setMaxAccDegsPerSec2Joints( + int index, double value) { + copyOnWrite(); + instance.setMaxAccDegsPerSec2Joints(index, value); + return this; + } + /** + *
+       * Per-joint maximum acceleration in degrees per second squared.
+       * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param value The maxAccDegsPerSec2Joints to add. + * @return This builder for chaining. + */ + public Builder addMaxAccDegsPerSec2Joints(double value) { + copyOnWrite(); + instance.addMaxAccDegsPerSec2Joints(value); + return this; + } + /** + *
+       * Per-joint maximum acceleration in degrees per second squared.
+       * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @param values The maxAccDegsPerSec2Joints to add. + * @return This builder for chaining. + */ + public Builder addAllMaxAccDegsPerSec2Joints( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllMaxAccDegsPerSec2Joints(values); + return this; + } + /** + *
+       * Per-joint maximum acceleration in degrees per second squared.
+       * 
+ * + * repeated double max_acc_degs_per_sec2_joints = 4 [json_name = "maxAccDegsPerSec2Joints"]; + * @return This builder for chaining. + */ + public Builder clearMaxAccDegsPerSec2Joints() { + copyOnWrite(); + instance.clearMaxAccDegsPerSec2Joints(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.component.arm.v1.MoveOptions) } @java.lang.Override @@ -7060,10 +7532,12 @@ protected final java.lang.Object dynamicMethod( "bitField0_", "maxVelDegsPerSec_", "maxAccDegsPerSec2_", + "maxVelDegsPerSecJoints_", + "maxAccDegsPerSec2Joints_", }; java.lang.String info = - "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1000\u0000\u0002" + - "\u1000\u0001"; + "\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0002\u0000\u0001\u1000\u0000\u0002" + + "\u1000\u0001\u0003#\u0004#"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/gen/com/viam/component/audioinput/v1/AudioInputServiceGrpc.java b/core/sdk/src/main/gen/com/viam/component/audioinput/v1/AudioInputServiceGrpc.java deleted file mode 100644 index 7a1d5fe75..000000000 --- a/core/sdk/src/main/gen/com/viam/component/audioinput/v1/AudioInputServiceGrpc.java +++ /dev/null @@ -1,624 +0,0 @@ -package com.viam.component.audioinput.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * An AudioInputService services all audio inputs associated with a robot
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.68.1)", - comments = "Source: component/audioinput/v1/audioinput.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AudioInputServiceGrpc { - - private AudioInputServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = "viam.component.audioinput.v1.AudioInputService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getChunksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Chunks", - requestType = com.viam.component.audioinput.v1.Audioinput.ChunksRequest.class, - responseType = com.viam.component.audioinput.v1.Audioinput.ChunksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getChunksMethod() { - io.grpc.MethodDescriptor getChunksMethod; - if ((getChunksMethod = AudioInputServiceGrpc.getChunksMethod) == null) { - synchronized (AudioInputServiceGrpc.class) { - if ((getChunksMethod = AudioInputServiceGrpc.getChunksMethod) == null) { - AudioInputServiceGrpc.getChunksMethod = getChunksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Chunks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.component.audioinput.v1.Audioinput.ChunksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.component.audioinput.v1.Audioinput.ChunksResponse.getDefaultInstance())) - .build(); - } - } - } - return getChunksMethod; - } - - private static volatile io.grpc.MethodDescriptor getPropertiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Properties", - requestType = com.viam.component.audioinput.v1.Audioinput.PropertiesRequest.class, - responseType = com.viam.component.audioinput.v1.Audioinput.PropertiesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPropertiesMethod() { - io.grpc.MethodDescriptor getPropertiesMethod; - if ((getPropertiesMethod = AudioInputServiceGrpc.getPropertiesMethod) == null) { - synchronized (AudioInputServiceGrpc.class) { - if ((getPropertiesMethod = AudioInputServiceGrpc.getPropertiesMethod) == null) { - AudioInputServiceGrpc.getPropertiesMethod = getPropertiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Properties")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.component.audioinput.v1.Audioinput.PropertiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.component.audioinput.v1.Audioinput.PropertiesResponse.getDefaultInstance())) - .build(); - } - } - } - return getPropertiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getRecordMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Record", - requestType = com.viam.component.audioinput.v1.Audioinput.RecordRequest.class, - responseType = com.google.api.HttpBody.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRecordMethod() { - io.grpc.MethodDescriptor getRecordMethod; - if ((getRecordMethod = AudioInputServiceGrpc.getRecordMethod) == null) { - synchronized (AudioInputServiceGrpc.class) { - if ((getRecordMethod = AudioInputServiceGrpc.getRecordMethod) == null) { - AudioInputServiceGrpc.getRecordMethod = getRecordMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Record")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.component.audioinput.v1.Audioinput.RecordRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.google.api.HttpBody.getDefaultInstance())) - .build(); - } - } - } - return getRecordMethod; - } - - private static volatile io.grpc.MethodDescriptor getDoCommandMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DoCommand", - requestType = com.viam.common.v1.Common.DoCommandRequest.class, - responseType = com.viam.common.v1.Common.DoCommandResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDoCommandMethod() { - io.grpc.MethodDescriptor getDoCommandMethod; - if ((getDoCommandMethod = AudioInputServiceGrpc.getDoCommandMethod) == null) { - synchronized (AudioInputServiceGrpc.class) { - if ((getDoCommandMethod = AudioInputServiceGrpc.getDoCommandMethod) == null) { - AudioInputServiceGrpc.getDoCommandMethod = getDoCommandMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DoCommand")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.common.v1.Common.DoCommandRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.common.v1.Common.DoCommandResponse.getDefaultInstance())) - .build(); - } - } - } - return getDoCommandMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetGeometriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetGeometries", - requestType = com.viam.common.v1.Common.GetGeometriesRequest.class, - responseType = com.viam.common.v1.Common.GetGeometriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetGeometriesMethod() { - io.grpc.MethodDescriptor getGetGeometriesMethod; - if ((getGetGeometriesMethod = AudioInputServiceGrpc.getGetGeometriesMethod) == null) { - synchronized (AudioInputServiceGrpc.class) { - if ((getGetGeometriesMethod = AudioInputServiceGrpc.getGetGeometriesMethod) == null) { - AudioInputServiceGrpc.getGetGeometriesMethod = getGetGeometriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetGeometries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.common.v1.Common.GetGeometriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( - com.viam.common.v1.Common.GetGeometriesResponse.getDefaultInstance())) - .build(); - } - } - } - return getGetGeometriesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AudioInputServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AudioInputServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AudioInputServiceStub(channel, callOptions); - } - }; - return AudioInputServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AudioInputServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AudioInputServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AudioInputServiceBlockingStub(channel, callOptions); - } - }; - return AudioInputServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AudioInputServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AudioInputServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AudioInputServiceFutureStub(channel, callOptions); - } - }; - return AudioInputServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * An AudioInputService services all audio inputs associated with a robot
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Chunks returns audio chunks forever from an audio input of the underlying robot.
-     * 
- */ - default void chunks(com.viam.component.audioinput.v1.Audioinput.ChunksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChunksMethod(), responseObserver); - } - - /** - *
-     * Properties returns properties of an audio input of the underlying robot.
-     * 
- */ - default void properties(com.viam.component.audioinput.v1.Audioinput.PropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPropertiesMethod(), responseObserver); - } - - /** - *
-     * Record records audio from an audio input of the underlying robot
-     * to an HTTP response. A specific MIME type cannot be requested and may not necessarily
-     * be the same one returned each time.
-     * 
- */ - default void record(com.viam.component.audioinput.v1.Audioinput.RecordRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRecordMethod(), responseObserver); - } - - /** - *
-     * DoCommand sends/receives arbitrary commands
-     * 
- */ - default void doCommand(com.viam.common.v1.Common.DoCommandRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDoCommandMethod(), responseObserver); - } - - /** - *
-     * GetGeometries returns the geometries of the component in their current configuration
-     * 
- */ - default void getGeometries(com.viam.common.v1.Common.GetGeometriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGeometriesMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AudioInputService. - *
-   * An AudioInputService services all audio inputs associated with a robot
-   * 
- */ - public static abstract class AudioInputServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AudioInputServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AudioInputService. - *
-   * An AudioInputService services all audio inputs associated with a robot
-   * 
- */ - public static final class AudioInputServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AudioInputServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AudioInputServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AudioInputServiceStub(channel, callOptions); - } - - /** - *
-     * Chunks returns audio chunks forever from an audio input of the underlying robot.
-     * 
- */ - public void chunks(com.viam.component.audioinput.v1.Audioinput.ChunksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getChunksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Properties returns properties of an audio input of the underlying robot.
-     * 
- */ - public void properties(com.viam.component.audioinput.v1.Audioinput.PropertiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPropertiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Record records audio from an audio input of the underlying robot
-     * to an HTTP response. A specific MIME type cannot be requested and may not necessarily
-     * be the same one returned each time.
-     * 
- */ - public void record(com.viam.component.audioinput.v1.Audioinput.RecordRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRecordMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * DoCommand sends/receives arbitrary commands
-     * 
- */ - public void doCommand(com.viam.common.v1.Common.DoCommandRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDoCommandMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * GetGeometries returns the geometries of the component in their current configuration
-     * 
- */ - public void getGeometries(com.viam.common.v1.Common.GetGeometriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetGeometriesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AudioInputService. - *
-   * An AudioInputService services all audio inputs associated with a robot
-   * 
- */ - public static final class AudioInputServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AudioInputServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AudioInputServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AudioInputServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Chunks returns audio chunks forever from an audio input of the underlying robot.
-     * 
- */ - public java.util.Iterator chunks( - com.viam.component.audioinput.v1.Audioinput.ChunksRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getChunksMethod(), getCallOptions(), request); - } - - /** - *
-     * Properties returns properties of an audio input of the underlying robot.
-     * 
- */ - public com.viam.component.audioinput.v1.Audioinput.PropertiesResponse properties(com.viam.component.audioinput.v1.Audioinput.PropertiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPropertiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Record records audio from an audio input of the underlying robot
-     * to an HTTP response. A specific MIME type cannot be requested and may not necessarily
-     * be the same one returned each time.
-     * 
- */ - public com.google.api.HttpBody record(com.viam.component.audioinput.v1.Audioinput.RecordRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRecordMethod(), getCallOptions(), request); - } - - /** - *
-     * DoCommand sends/receives arbitrary commands
-     * 
- */ - public com.viam.common.v1.Common.DoCommandResponse doCommand(com.viam.common.v1.Common.DoCommandRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDoCommandMethod(), getCallOptions(), request); - } - - /** - *
-     * GetGeometries returns the geometries of the component in their current configuration
-     * 
- */ - public com.viam.common.v1.Common.GetGeometriesResponse getGeometries(com.viam.common.v1.Common.GetGeometriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetGeometriesMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AudioInputService. - *
-   * An AudioInputService services all audio inputs associated with a robot
-   * 
- */ - public static final class AudioInputServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AudioInputServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AudioInputServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AudioInputServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Properties returns properties of an audio input of the underlying robot.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture properties( - com.viam.component.audioinput.v1.Audioinput.PropertiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPropertiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Record records audio from an audio input of the underlying robot
-     * to an HTTP response. A specific MIME type cannot be requested and may not necessarily
-     * be the same one returned each time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture record( - com.viam.component.audioinput.v1.Audioinput.RecordRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRecordMethod(), getCallOptions()), request); - } - - /** - *
-     * DoCommand sends/receives arbitrary commands
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture doCommand( - com.viam.common.v1.Common.DoCommandRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDoCommandMethod(), getCallOptions()), request); - } - - /** - *
-     * GetGeometries returns the geometries of the component in their current configuration
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getGeometries( - com.viam.common.v1.Common.GetGeometriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetGeometriesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CHUNKS = 0; - private static final int METHODID_PROPERTIES = 1; - private static final int METHODID_RECORD = 2; - private static final int METHODID_DO_COMMAND = 3; - private static final int METHODID_GET_GEOMETRIES = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CHUNKS: - serviceImpl.chunks((com.viam.component.audioinput.v1.Audioinput.ChunksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROPERTIES: - serviceImpl.properties((com.viam.component.audioinput.v1.Audioinput.PropertiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RECORD: - serviceImpl.record((com.viam.component.audioinput.v1.Audioinput.RecordRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DO_COMMAND: - serviceImpl.doCommand((com.viam.common.v1.Common.DoCommandRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_GEOMETRIES: - serviceImpl.getGeometries((com.viam.common.v1.Common.GetGeometriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getChunksMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.viam.component.audioinput.v1.Audioinput.ChunksRequest, - com.viam.component.audioinput.v1.Audioinput.ChunksResponse>( - service, METHODID_CHUNKS))) - .addMethod( - getPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.viam.component.audioinput.v1.Audioinput.PropertiesRequest, - com.viam.component.audioinput.v1.Audioinput.PropertiesResponse>( - service, METHODID_PROPERTIES))) - .addMethod( - getRecordMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.viam.component.audioinput.v1.Audioinput.RecordRequest, - com.google.api.HttpBody>( - service, METHODID_RECORD))) - .addMethod( - getDoCommandMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.viam.common.v1.Common.DoCommandRequest, - com.viam.common.v1.Common.DoCommandResponse>( - service, METHODID_DO_COMMAND))) - .addMethod( - getGetGeometriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.viam.common.v1.Common.GetGeometriesRequest, - com.viam.common.v1.Common.GetGeometriesResponse>( - service, METHODID_GET_GEOMETRIES))) - .build(); - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AudioInputServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .addMethod(getChunksMethod()) - .addMethod(getPropertiesMethod()) - .addMethod(getRecordMethod()) - .addMethod(getDoCommandMethod()) - .addMethod(getGetGeometriesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/core/sdk/src/main/gen/com/viam/component/audioinput/v1/Audioinput.java b/core/sdk/src/main/gen/com/viam/component/audioinput/v1/Audioinput.java deleted file mode 100644 index dd4bc51c7..000000000 --- a/core/sdk/src/main/gen/com/viam/component/audioinput/v1/Audioinput.java +++ /dev/null @@ -1,3355 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: component/audioinput/v1/audioinput.proto -// Protobuf Java Version: 4.28.3 - -package com.viam.component.audioinput.v1; - -public final class Audioinput { - private Audioinput() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - /** - * Protobuf enum {@code viam.component.audioinput.v1.SampleFormat} - */ - public enum SampleFormat - implements com.google.protobuf.Internal.EnumLite { - /** - * SAMPLE_FORMAT_UNSPECIFIED = 0; - */ - SAMPLE_FORMAT_UNSPECIFIED(0), - /** - * SAMPLE_FORMAT_INT16_INTERLEAVED = 1; - */ - SAMPLE_FORMAT_INT16_INTERLEAVED(1), - /** - * SAMPLE_FORMAT_FLOAT32_INTERLEAVED = 2; - */ - SAMPLE_FORMAT_FLOAT32_INTERLEAVED(2), - UNRECOGNIZED(-1), - ; - - /** - * SAMPLE_FORMAT_UNSPECIFIED = 0; - */ - public static final int SAMPLE_FORMAT_UNSPECIFIED_VALUE = 0; - /** - * SAMPLE_FORMAT_INT16_INTERLEAVED = 1; - */ - public static final int SAMPLE_FORMAT_INT16_INTERLEAVED_VALUE = 1; - /** - * SAMPLE_FORMAT_FLOAT32_INTERLEAVED = 2; - */ - public static final int SAMPLE_FORMAT_FLOAT32_INTERLEAVED_VALUE = 2; - - - @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 SampleFormat valueOf(int value) { - return forNumber(value); - } - - public static SampleFormat forNumber(int value) { - switch (value) { - case 0: return SAMPLE_FORMAT_UNSPECIFIED; - case 1: return SAMPLE_FORMAT_INT16_INTERLEAVED; - case 2: return SAMPLE_FORMAT_FLOAT32_INTERLEAVED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - SampleFormat> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - @java.lang.Override - public SampleFormat findValueByNumber(int number) { - return SampleFormat.forNumber(number); - } - }; - - public static com.google.protobuf.Internal.EnumVerifier - internalGetVerifier() { - return SampleFormatVerifier.INSTANCE; - } - - private static final class SampleFormatVerifier implements - com.google.protobuf.Internal.EnumVerifier { - static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new SampleFormatVerifier(); - @java.lang.Override - public boolean isInRange(int number) { - return SampleFormat.forNumber(number) != null; - } - }; - - private final int value; - - private SampleFormat(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:viam.component.audioinput.v1.SampleFormat) - } - - public interface RecordRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.component.audioinput.v1.RecordRequest) - com.google.protobuf.MessageLiteOrBuilder { - - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - java.lang.String getName(); - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - * @return Whether the duration field is set. - */ - boolean hasDuration(); - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - * @return The duration. - */ - com.google.protobuf.Duration getDuration(); - } - /** - * Protobuf type {@code viam.component.audioinput.v1.RecordRequest} - */ - public static final class RecordRequest extends - com.google.protobuf.GeneratedMessageLite< - RecordRequest, RecordRequest.Builder> implements - // @@protoc_insertion_point(message_implements:viam.component.audioinput.v1.RecordRequest) - RecordRequestOrBuilder { - private RecordRequest() { - name_ = ""; - } - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - private java.lang.String name_; - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - return name_; - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - return com.google.protobuf.ByteString.copyFromUtf8(name_); - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @param value The name to set. - */ - private void setName( - java.lang.String value) { - java.lang.Class valueClass = value.getClass(); - - name_ = value; - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - */ - private void clearName() { - - name_ = getDefaultInstance().getName(); - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @param value The bytes for name to set. - */ - private void setNameBytes( - com.google.protobuf.ByteString value) { - checkByteStringIsUtf8(value); - name_ = value.toStringUtf8(); - - } - - public static final int DURATION_FIELD_NUMBER = 2; - private com.google.protobuf.Duration duration_; - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - @java.lang.Override - public boolean hasDuration() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - @java.lang.Override - public com.google.protobuf.Duration getDuration() { - return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - private void setDuration(com.google.protobuf.Duration value) { - value.getClass(); - duration_ = value; - bitField0_ |= 0x00000001; - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - @java.lang.SuppressWarnings({"ReferenceEquality"}) - private void mergeDuration(com.google.protobuf.Duration value) { - value.getClass(); - if (duration_ != null && - duration_ != com.google.protobuf.Duration.getDefaultInstance()) { - duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); - } else { - duration_ = value; - } - bitField0_ |= 0x00000001; - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - private void clearDuration() { duration_ = null; - bitField0_ = (bitField0_ & ~0x00000001); - } - - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest 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 com.viam.component.audioinput.v1.Audioinput.RecordRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest 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 com.viam.component.audioinput.v1.Audioinput.RecordRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest 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 com.viam.component.audioinput.v1.Audioinput.RecordRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest 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 com.viam.component.audioinput.v1.Audioinput.RecordRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input); - } - - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); - } - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest 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(com.viam.component.audioinput.v1.Audioinput.RecordRequest prototype) { - return DEFAULT_INSTANCE.createBuilder(prototype); - } - - /** - * Protobuf type {@code viam.component.audioinput.v1.RecordRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.viam.component.audioinput.v1.Audioinput.RecordRequest, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.component.audioinput.v1.RecordRequest) - com.viam.component.audioinput.v1.Audioinput.RecordRequestOrBuilder { - // Construct using com.viam.component.audioinput.v1.Audioinput.RecordRequest.newBuilder() - private Builder() { - super(DEFAULT_INSTANCE); - } - - - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - return instance.getName(); - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - return instance.getNameBytes(); - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - copyOnWrite(); - instance.setName(value); - return this; - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return This builder for chaining. - */ - public Builder clearName() { - copyOnWrite(); - instance.clearName(); - return this; - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - copyOnWrite(); - instance.setNameBytes(value); - return this; - } - - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - @java.lang.Override - public boolean hasDuration() { - return instance.hasDuration(); - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - @java.lang.Override - public com.google.protobuf.Duration getDuration() { - return instance.getDuration(); - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - public Builder setDuration(com.google.protobuf.Duration value) { - copyOnWrite(); - instance.setDuration(value); - return this; - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { - copyOnWrite(); - instance.setDuration(builderForValue.build()); - return this; - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - public Builder mergeDuration(com.google.protobuf.Duration value) { - copyOnWrite(); - instance.mergeDuration(value); - return this; - } - /** - * .google.protobuf.Duration duration = 2 [json_name = "duration"]; - */ - public Builder clearDuration() { copyOnWrite(); - instance.clearDuration(); - return this; - } - - // @@protoc_insertion_point(builder_scope:viam.component.audioinput.v1.RecordRequest) - } - @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 com.viam.component.audioinput.v1.Audioinput.RecordRequest(); - } - case NEW_BUILDER: { - return new Builder(); - } - case BUILD_MESSAGE_INFO: { - java.lang.Object[] objects = new java.lang.Object[] { - "bitField0_", - "name_", - "duration_", - }; - java.lang.String info = - "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u1009" + - "\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 (com.viam.component.audioinput.v1.Audioinput.RecordRequest.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.component.audioinput.v1.RecordRequest) - private static final com.viam.component.audioinput.v1.Audioinput.RecordRequest DEFAULT_INSTANCE; - static { - RecordRequest defaultInstance = new RecordRequest(); - // New instances are implicitly immutable so no need to make - // immutable. - DEFAULT_INSTANCE = defaultInstance; - com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( - RecordRequest.class, defaultInstance); - } - - public static com.viam.component.audioinput.v1.Audioinput.RecordRequest 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 AudioChunkInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.component.audioinput.v1.AudioChunkInfo) - com.google.protobuf.MessageLiteOrBuilder { - - /** - *
-     * Actual sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @return The enum numeric value on the wire for sampleFormat. - */ - int getSampleFormatValue(); - /** - *
-     * Actual sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @return The sampleFormat. - */ - com.viam.component.audioinput.v1.Audioinput.SampleFormat getSampleFormat(); - - /** - * uint32 channels = 2 [json_name = "channels"]; - * @return The channels. - */ - int getChannels(); - - /** - * int64 sampling_rate = 3 [json_name = "samplingRate"]; - * @return The samplingRate. - */ - long getSamplingRate(); - } - /** - * Protobuf type {@code viam.component.audioinput.v1.AudioChunkInfo} - */ - public static final class AudioChunkInfo extends - com.google.protobuf.GeneratedMessageLite< - AudioChunkInfo, AudioChunkInfo.Builder> implements - // @@protoc_insertion_point(message_implements:viam.component.audioinput.v1.AudioChunkInfo) - AudioChunkInfoOrBuilder { - private AudioChunkInfo() { - } - public static final int SAMPLE_FORMAT_FIELD_NUMBER = 1; - private int sampleFormat_; - /** - *
-     * Actual sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @return The enum numeric value on the wire for sampleFormat. - */ - @java.lang.Override - public int getSampleFormatValue() { - return sampleFormat_; - } - /** - *
-     * Actual sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @return The sampleFormat. - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.SampleFormat getSampleFormat() { - com.viam.component.audioinput.v1.Audioinput.SampleFormat result = com.viam.component.audioinput.v1.Audioinput.SampleFormat.forNumber(sampleFormat_); - return result == null ? com.viam.component.audioinput.v1.Audioinput.SampleFormat.UNRECOGNIZED : result; - } - /** - *
-     * Actual sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @param value The enum numeric value on the wire for sampleFormat to set. - */ - private void setSampleFormatValue(int value) { - sampleFormat_ = value; - } - /** - *
-     * Actual sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @param value The sampleFormat to set. - */ - private void setSampleFormat(com.viam.component.audioinput.v1.Audioinput.SampleFormat value) { - sampleFormat_ = value.getNumber(); - - } - /** - *
-     * Actual sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - */ - private void clearSampleFormat() { - - sampleFormat_ = 0; - } - - public static final int CHANNELS_FIELD_NUMBER = 2; - private int channels_; - /** - * uint32 channels = 2 [json_name = "channels"]; - * @return The channels. - */ - @java.lang.Override - public int getChannels() { - return channels_; - } - /** - * uint32 channels = 2 [json_name = "channels"]; - * @param value The channels to set. - */ - private void setChannels(int value) { - - channels_ = value; - } - /** - * uint32 channels = 2 [json_name = "channels"]; - */ - private void clearChannels() { - - channels_ = 0; - } - - public static final int SAMPLING_RATE_FIELD_NUMBER = 3; - private long samplingRate_; - /** - * int64 sampling_rate = 3 [json_name = "samplingRate"]; - * @return The samplingRate. - */ - @java.lang.Override - public long getSamplingRate() { - return samplingRate_; - } - /** - * int64 sampling_rate = 3 [json_name = "samplingRate"]; - * @param value The samplingRate to set. - */ - private void setSamplingRate(long value) { - - samplingRate_ = value; - } - /** - * int64 sampling_rate = 3 [json_name = "samplingRate"]; - */ - private void clearSamplingRate() { - - samplingRate_ = 0L; - } - - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo 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 com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo 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 com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo 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 com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo 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 com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input); - } - - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo 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(com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo prototype) { - return DEFAULT_INSTANCE.createBuilder(prototype); - } - - /** - * Protobuf type {@code viam.component.audioinput.v1.AudioChunkInfo} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.component.audioinput.v1.AudioChunkInfo) - com.viam.component.audioinput.v1.Audioinput.AudioChunkInfoOrBuilder { - // Construct using com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo.newBuilder() - private Builder() { - super(DEFAULT_INSTANCE); - } - - - /** - *
-       * Actual sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @return The enum numeric value on the wire for sampleFormat. - */ - @java.lang.Override - public int getSampleFormatValue() { - return instance.getSampleFormatValue(); - } - /** - *
-       * Actual sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @param value The sampleFormat to set. - * @return This builder for chaining. - */ - public Builder setSampleFormatValue(int value) { - copyOnWrite(); - instance.setSampleFormatValue(value); - return this; - } - /** - *
-       * Actual sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @return The sampleFormat. - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.SampleFormat getSampleFormat() { - return instance.getSampleFormat(); - } - /** - *
-       * Actual sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @param value The enum numeric value on the wire for sampleFormat to set. - * @return This builder for chaining. - */ - public Builder setSampleFormat(com.viam.component.audioinput.v1.Audioinput.SampleFormat value) { - copyOnWrite(); - instance.setSampleFormat(value); - return this; - } - /** - *
-       * Actual sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 1 [json_name = "sampleFormat"]; - * @return This builder for chaining. - */ - public Builder clearSampleFormat() { - copyOnWrite(); - instance.clearSampleFormat(); - return this; - } - - /** - * uint32 channels = 2 [json_name = "channels"]; - * @return The channels. - */ - @java.lang.Override - public int getChannels() { - return instance.getChannels(); - } - /** - * uint32 channels = 2 [json_name = "channels"]; - * @param value The channels to set. - * @return This builder for chaining. - */ - public Builder setChannels(int value) { - copyOnWrite(); - instance.setChannels(value); - return this; - } - /** - * uint32 channels = 2 [json_name = "channels"]; - * @return This builder for chaining. - */ - public Builder clearChannels() { - copyOnWrite(); - instance.clearChannels(); - return this; - } - - /** - * int64 sampling_rate = 3 [json_name = "samplingRate"]; - * @return The samplingRate. - */ - @java.lang.Override - public long getSamplingRate() { - return instance.getSamplingRate(); - } - /** - * int64 sampling_rate = 3 [json_name = "samplingRate"]; - * @param value The samplingRate to set. - * @return This builder for chaining. - */ - public Builder setSamplingRate(long value) { - copyOnWrite(); - instance.setSamplingRate(value); - return this; - } - /** - * int64 sampling_rate = 3 [json_name = "samplingRate"]; - * @return This builder for chaining. - */ - public Builder clearSamplingRate() { - copyOnWrite(); - instance.clearSamplingRate(); - return this; - } - - // @@protoc_insertion_point(builder_scope:viam.component.audioinput.v1.AudioChunkInfo) - } - @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 com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo(); - } - case NEW_BUILDER: { - return new Builder(); - } - case BUILD_MESSAGE_INFO: { - java.lang.Object[] objects = new java.lang.Object[] { - "sampleFormat_", - "channels_", - "samplingRate_", - }; - java.lang.String info = - "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\f\u0002\u000b" + - "\u0003\u0002"; - 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 (com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo.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.component.audioinput.v1.AudioChunkInfo) - private static final com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo DEFAULT_INSTANCE; - static { - AudioChunkInfo defaultInstance = new AudioChunkInfo(); - // New instances are implicitly immutable so no need to make - // immutable. - DEFAULT_INSTANCE = defaultInstance; - com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( - AudioChunkInfo.class, defaultInstance); - } - - public static com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo 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 AudioChunkOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.component.audioinput.v1.AudioChunk) - com.google.protobuf.MessageLiteOrBuilder { - - /** - *
-     * Data is PCM data that is organized according to the sample format
-     * along with its possible interleaving. Data in each format is
-     * Little Endian.
-     * 
- * - * bytes data = 1 [json_name = "data"]; - * @return The data. - */ - com.google.protobuf.ByteString getData(); - - /** - *
-     * Length is the number of samples
-     * 
- * - * uint32 length = 2 [json_name = "length"]; - * @return The length. - */ - int getLength(); - } - /** - * Protobuf type {@code viam.component.audioinput.v1.AudioChunk} - */ - public static final class AudioChunk extends - com.google.protobuf.GeneratedMessageLite< - AudioChunk, AudioChunk.Builder> implements - // @@protoc_insertion_point(message_implements:viam.component.audioinput.v1.AudioChunk) - AudioChunkOrBuilder { - private AudioChunk() { - data_ = com.google.protobuf.ByteString.EMPTY; - } - public static final int DATA_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString data_; - /** - *
-     * Data is PCM data that is organized according to the sample format
-     * along with its possible interleaving. Data in each format is
-     * Little Endian.
-     * 
- * - * bytes data = 1 [json_name = "data"]; - * @return The data. - */ - @java.lang.Override - public com.google.protobuf.ByteString getData() { - return data_; - } - /** - *
-     * Data is PCM data that is organized according to the sample format
-     * along with its possible interleaving. Data in each format is
-     * Little Endian.
-     * 
- * - * bytes data = 1 [json_name = "data"]; - * @param value The data to set. - */ - private void setData(com.google.protobuf.ByteString value) { - java.lang.Class valueClass = value.getClass(); - - data_ = value; - } - /** - *
-     * Data is PCM data that is organized according to the sample format
-     * along with its possible interleaving. Data in each format is
-     * Little Endian.
-     * 
- * - * bytes data = 1 [json_name = "data"]; - */ - private void clearData() { - - data_ = getDefaultInstance().getData(); - } - - public static final int LENGTH_FIELD_NUMBER = 2; - private int length_; - /** - *
-     * Length is the number of samples
-     * 
- * - * uint32 length = 2 [json_name = "length"]; - * @return The length. - */ - @java.lang.Override - public int getLength() { - return length_; - } - /** - *
-     * Length is the number of samples
-     * 
- * - * uint32 length = 2 [json_name = "length"]; - * @param value The length to set. - */ - private void setLength(int value) { - - length_ = value; - } - /** - *
-     * Length is the number of samples
-     * 
- * - * uint32 length = 2 [json_name = "length"]; - */ - private void clearLength() { - - length_ = 0; - } - - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk 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 com.viam.component.audioinput.v1.Audioinput.AudioChunk parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk 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 com.viam.component.audioinput.v1.Audioinput.AudioChunk parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk 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 com.viam.component.audioinput.v1.Audioinput.AudioChunk parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk 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 com.viam.component.audioinput.v1.Audioinput.AudioChunk parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input); - } - - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk 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(com.viam.component.audioinput.v1.Audioinput.AudioChunk prototype) { - return DEFAULT_INSTANCE.createBuilder(prototype); - } - - /** - * Protobuf type {@code viam.component.audioinput.v1.AudioChunk} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.viam.component.audioinput.v1.Audioinput.AudioChunk, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.component.audioinput.v1.AudioChunk) - com.viam.component.audioinput.v1.Audioinput.AudioChunkOrBuilder { - // Construct using com.viam.component.audioinput.v1.Audioinput.AudioChunk.newBuilder() - private Builder() { - super(DEFAULT_INSTANCE); - } - - - /** - *
-       * Data is PCM data that is organized according to the sample format
-       * along with its possible interleaving. Data in each format is
-       * Little Endian.
-       * 
- * - * bytes data = 1 [json_name = "data"]; - * @return The data. - */ - @java.lang.Override - public com.google.protobuf.ByteString getData() { - return instance.getData(); - } - /** - *
-       * Data is PCM data that is organized according to the sample format
-       * along with its possible interleaving. Data in each format is
-       * Little Endian.
-       * 
- * - * bytes data = 1 [json_name = "data"]; - * @param value The data to set. - * @return This builder for chaining. - */ - public Builder setData(com.google.protobuf.ByteString value) { - copyOnWrite(); - instance.setData(value); - return this; - } - /** - *
-       * Data is PCM data that is organized according to the sample format
-       * along with its possible interleaving. Data in each format is
-       * Little Endian.
-       * 
- * - * bytes data = 1 [json_name = "data"]; - * @return This builder for chaining. - */ - public Builder clearData() { - copyOnWrite(); - instance.clearData(); - return this; - } - - /** - *
-       * Length is the number of samples
-       * 
- * - * uint32 length = 2 [json_name = "length"]; - * @return The length. - */ - @java.lang.Override - public int getLength() { - return instance.getLength(); - } - /** - *
-       * Length is the number of samples
-       * 
- * - * uint32 length = 2 [json_name = "length"]; - * @param value The length to set. - * @return This builder for chaining. - */ - public Builder setLength(int value) { - copyOnWrite(); - instance.setLength(value); - return this; - } - /** - *
-       * Length is the number of samples
-       * 
- * - * uint32 length = 2 [json_name = "length"]; - * @return This builder for chaining. - */ - public Builder clearLength() { - copyOnWrite(); - instance.clearLength(); - return this; - } - - // @@protoc_insertion_point(builder_scope:viam.component.audioinput.v1.AudioChunk) - } - @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 com.viam.component.audioinput.v1.Audioinput.AudioChunk(); - } - case NEW_BUILDER: { - return new Builder(); - } - case BUILD_MESSAGE_INFO: { - java.lang.Object[] objects = new java.lang.Object[] { - "data_", - "length_", - }; - java.lang.String info = - "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\n\u0002\u000b" + - ""; - 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 (com.viam.component.audioinput.v1.Audioinput.AudioChunk.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.component.audioinput.v1.AudioChunk) - private static final com.viam.component.audioinput.v1.Audioinput.AudioChunk DEFAULT_INSTANCE; - static { - AudioChunk defaultInstance = new AudioChunk(); - // New instances are implicitly immutable so no need to make - // immutable. - DEFAULT_INSTANCE = defaultInstance; - com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( - AudioChunk.class, defaultInstance); - } - - public static com.viam.component.audioinput.v1.Audioinput.AudioChunk 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 ChunksRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.component.audioinput.v1.ChunksRequest) - com.google.protobuf.MessageLiteOrBuilder { - - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - java.lang.String getName(); - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-     * Requested sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @return The enum numeric value on the wire for sampleFormat. - */ - int getSampleFormatValue(); - /** - *
-     * Requested sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @return The sampleFormat. - */ - com.viam.component.audioinput.v1.Audioinput.SampleFormat getSampleFormat(); - } - /** - * Protobuf type {@code viam.component.audioinput.v1.ChunksRequest} - */ - public static final class ChunksRequest extends - com.google.protobuf.GeneratedMessageLite< - ChunksRequest, ChunksRequest.Builder> implements - // @@protoc_insertion_point(message_implements:viam.component.audioinput.v1.ChunksRequest) - ChunksRequestOrBuilder { - private ChunksRequest() { - name_ = ""; - } - public static final int NAME_FIELD_NUMBER = 1; - private java.lang.String name_; - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - return name_; - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - return com.google.protobuf.ByteString.copyFromUtf8(name_); - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @param value The name to set. - */ - private void setName( - java.lang.String value) { - java.lang.Class valueClass = value.getClass(); - - name_ = value; - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - */ - private void clearName() { - - name_ = getDefaultInstance().getName(); - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @param value The bytes for name to set. - */ - private void setNameBytes( - com.google.protobuf.ByteString value) { - checkByteStringIsUtf8(value); - name_ = value.toStringUtf8(); - - } - - public static final int SAMPLE_FORMAT_FIELD_NUMBER = 2; - private int sampleFormat_; - /** - *
-     * Requested sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @return The enum numeric value on the wire for sampleFormat. - */ - @java.lang.Override - public int getSampleFormatValue() { - return sampleFormat_; - } - /** - *
-     * Requested sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @return The sampleFormat. - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.SampleFormat getSampleFormat() { - com.viam.component.audioinput.v1.Audioinput.SampleFormat result = com.viam.component.audioinput.v1.Audioinput.SampleFormat.forNumber(sampleFormat_); - return result == null ? com.viam.component.audioinput.v1.Audioinput.SampleFormat.UNRECOGNIZED : result; - } - /** - *
-     * Requested sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @param value The enum numeric value on the wire for sampleFormat to set. - */ - private void setSampleFormatValue(int value) { - sampleFormat_ = value; - } - /** - *
-     * Requested sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @param value The sampleFormat to set. - */ - private void setSampleFormat(com.viam.component.audioinput.v1.Audioinput.SampleFormat value) { - sampleFormat_ = value.getNumber(); - - } - /** - *
-     * Requested sample encoding format of the response
-     * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - */ - private void clearSampleFormat() { - - sampleFormat_ = 0; - } - - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest 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 com.viam.component.audioinput.v1.Audioinput.ChunksRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest 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 com.viam.component.audioinput.v1.Audioinput.ChunksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest 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 com.viam.component.audioinput.v1.Audioinput.ChunksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest 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 com.viam.component.audioinput.v1.Audioinput.ChunksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input); - } - - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest 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(com.viam.component.audioinput.v1.Audioinput.ChunksRequest prototype) { - return DEFAULT_INSTANCE.createBuilder(prototype); - } - - /** - * Protobuf type {@code viam.component.audioinput.v1.ChunksRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.viam.component.audioinput.v1.Audioinput.ChunksRequest, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.component.audioinput.v1.ChunksRequest) - com.viam.component.audioinput.v1.Audioinput.ChunksRequestOrBuilder { - // Construct using com.viam.component.audioinput.v1.Audioinput.ChunksRequest.newBuilder() - private Builder() { - super(DEFAULT_INSTANCE); - } - - - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - return instance.getName(); - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - return instance.getNameBytes(); - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - copyOnWrite(); - instance.setName(value); - return this; - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return This builder for chaining. - */ - public Builder clearName() { - copyOnWrite(); - instance.clearName(); - return this; - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - copyOnWrite(); - instance.setNameBytes(value); - return this; - } - - /** - *
-       * Requested sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @return The enum numeric value on the wire for sampleFormat. - */ - @java.lang.Override - public int getSampleFormatValue() { - return instance.getSampleFormatValue(); - } - /** - *
-       * Requested sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @param value The sampleFormat to set. - * @return This builder for chaining. - */ - public Builder setSampleFormatValue(int value) { - copyOnWrite(); - instance.setSampleFormatValue(value); - return this; - } - /** - *
-       * Requested sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @return The sampleFormat. - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.SampleFormat getSampleFormat() { - return instance.getSampleFormat(); - } - /** - *
-       * Requested sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @param value The enum numeric value on the wire for sampleFormat to set. - * @return This builder for chaining. - */ - public Builder setSampleFormat(com.viam.component.audioinput.v1.Audioinput.SampleFormat value) { - copyOnWrite(); - instance.setSampleFormat(value); - return this; - } - /** - *
-       * Requested sample encoding format of the response
-       * 
- * - * .viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"]; - * @return This builder for chaining. - */ - public Builder clearSampleFormat() { - copyOnWrite(); - instance.clearSampleFormat(); - return this; - } - - // @@protoc_insertion_point(builder_scope:viam.component.audioinput.v1.ChunksRequest) - } - @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 com.viam.component.audioinput.v1.Audioinput.ChunksRequest(); - } - case NEW_BUILDER: { - return new Builder(); - } - case BUILD_MESSAGE_INFO: { - java.lang.Object[] objects = new java.lang.Object[] { - "name_", - "sampleFormat_", - }; - java.lang.String info = - "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\f" + - ""; - 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 (com.viam.component.audioinput.v1.Audioinput.ChunksRequest.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.component.audioinput.v1.ChunksRequest) - private static final com.viam.component.audioinput.v1.Audioinput.ChunksRequest DEFAULT_INSTANCE; - static { - ChunksRequest defaultInstance = new ChunksRequest(); - // New instances are implicitly immutable so no need to make - // immutable. - DEFAULT_INSTANCE = defaultInstance; - com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( - ChunksRequest.class, defaultInstance); - } - - public static com.viam.component.audioinput.v1.Audioinput.ChunksRequest 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 ChunksResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.component.audioinput.v1.ChunksResponse) - com.google.protobuf.MessageLiteOrBuilder { - - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - * @return Whether the info field is set. - */ - boolean hasInfo(); - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - * @return The info. - */ - com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo getInfo(); - - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - * @return Whether the chunk field is set. - */ - boolean hasChunk(); - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - * @return The chunk. - */ - com.viam.component.audioinput.v1.Audioinput.AudioChunk getChunk(); - - public com.viam.component.audioinput.v1.Audioinput.ChunksResponse.TypeCase getTypeCase(); - } - /** - * Protobuf type {@code viam.component.audioinput.v1.ChunksResponse} - */ - public static final class ChunksResponse extends - com.google.protobuf.GeneratedMessageLite< - ChunksResponse, ChunksResponse.Builder> implements - // @@protoc_insertion_point(message_implements:viam.component.audioinput.v1.ChunksResponse) - ChunksResponseOrBuilder { - private ChunksResponse() { - } - private int typeCase_ = 0; - private java.lang.Object type_; - public enum TypeCase { - INFO(1), - CHUNK(2), - TYPE_NOT_SET(0); - private final int value; - private TypeCase(int value) { - this.value = value; - } - /** - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TypeCase valueOf(int value) { - return forNumber(value); - } - - public static TypeCase forNumber(int value) { - switch (value) { - case 1: return INFO; - case 2: return CHUNK; - case 0: return TYPE_NOT_SET; - default: return null; - } - } - public int getNumber() { - return this.value; - } - }; - - @java.lang.Override - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); - } - - private void clearType() { - typeCase_ = 0; - type_ = null; - } - - public static final int INFO_FIELD_NUMBER = 1; - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - @java.lang.Override - public boolean hasInfo() { - return typeCase_ == 1; - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo getInfo() { - if (typeCase_ == 1) { - return (com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo) type_; - } - return com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo.getDefaultInstance(); - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - private void setInfo(com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo value) { - value.getClass(); - type_ = value; - typeCase_ = 1; - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - private void mergeInfo(com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo value) { - value.getClass(); - if (typeCase_ == 1 && - type_ != com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo.getDefaultInstance()) { - type_ = com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo.newBuilder((com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - typeCase_ = 1; - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - private void clearInfo() { - if (typeCase_ == 1) { - typeCase_ = 0; - type_ = null; - } - } - - public static final int CHUNK_FIELD_NUMBER = 2; - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - @java.lang.Override - public boolean hasChunk() { - return typeCase_ == 2; - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.AudioChunk getChunk() { - if (typeCase_ == 2) { - return (com.viam.component.audioinput.v1.Audioinput.AudioChunk) type_; - } - return com.viam.component.audioinput.v1.Audioinput.AudioChunk.getDefaultInstance(); - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - private void setChunk(com.viam.component.audioinput.v1.Audioinput.AudioChunk value) { - value.getClass(); - type_ = value; - typeCase_ = 2; - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - private void mergeChunk(com.viam.component.audioinput.v1.Audioinput.AudioChunk value) { - value.getClass(); - if (typeCase_ == 2 && - type_ != com.viam.component.audioinput.v1.Audioinput.AudioChunk.getDefaultInstance()) { - type_ = com.viam.component.audioinput.v1.Audioinput.AudioChunk.newBuilder((com.viam.component.audioinput.v1.Audioinput.AudioChunk) type_) - .mergeFrom(value).buildPartial(); - } else { - type_ = value; - } - typeCase_ = 2; - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - private void clearChunk() { - if (typeCase_ == 2) { - typeCase_ = 0; - type_ = null; - } - } - - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse 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 com.viam.component.audioinput.v1.Audioinput.ChunksResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse 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 com.viam.component.audioinput.v1.Audioinput.ChunksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse 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 com.viam.component.audioinput.v1.Audioinput.ChunksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse 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 com.viam.component.audioinput.v1.Audioinput.ChunksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input); - } - - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse 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(com.viam.component.audioinput.v1.Audioinput.ChunksResponse prototype) { - return DEFAULT_INSTANCE.createBuilder(prototype); - } - - /** - * Protobuf type {@code viam.component.audioinput.v1.ChunksResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.viam.component.audioinput.v1.Audioinput.ChunksResponse, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.component.audioinput.v1.ChunksResponse) - com.viam.component.audioinput.v1.Audioinput.ChunksResponseOrBuilder { - // Construct using com.viam.component.audioinput.v1.Audioinput.ChunksResponse.newBuilder() - private Builder() { - super(DEFAULT_INSTANCE); - } - - @java.lang.Override - public TypeCase - getTypeCase() { - return instance.getTypeCase(); - } - - public Builder clearType() { - copyOnWrite(); - instance.clearType(); - return this; - } - - - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - @java.lang.Override - public boolean hasInfo() { - return instance.hasInfo(); - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo getInfo() { - return instance.getInfo(); - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - public Builder setInfo(com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo value) { - copyOnWrite(); - instance.setInfo(value); - return this; - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - public Builder setInfo( - com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo.Builder builderForValue) { - copyOnWrite(); - instance.setInfo(builderForValue.build()); - return this; - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - public Builder mergeInfo(com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo value) { - copyOnWrite(); - instance.mergeInfo(value); - return this; - } - /** - * .viam.component.audioinput.v1.AudioChunkInfo info = 1 [json_name = "info"]; - */ - public Builder clearInfo() { - copyOnWrite(); - instance.clearInfo(); - return this; - } - - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - @java.lang.Override - public boolean hasChunk() { - return instance.hasChunk(); - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - @java.lang.Override - public com.viam.component.audioinput.v1.Audioinput.AudioChunk getChunk() { - return instance.getChunk(); - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - public Builder setChunk(com.viam.component.audioinput.v1.Audioinput.AudioChunk value) { - copyOnWrite(); - instance.setChunk(value); - return this; - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - public Builder setChunk( - com.viam.component.audioinput.v1.Audioinput.AudioChunk.Builder builderForValue) { - copyOnWrite(); - instance.setChunk(builderForValue.build()); - return this; - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - public Builder mergeChunk(com.viam.component.audioinput.v1.Audioinput.AudioChunk value) { - copyOnWrite(); - instance.mergeChunk(value); - return this; - } - /** - * .viam.component.audioinput.v1.AudioChunk chunk = 2 [json_name = "chunk"]; - */ - public Builder clearChunk() { - copyOnWrite(); - instance.clearChunk(); - return this; - } - - // @@protoc_insertion_point(builder_scope:viam.component.audioinput.v1.ChunksResponse) - } - @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 com.viam.component.audioinput.v1.Audioinput.ChunksResponse(); - } - case NEW_BUILDER: { - return new Builder(); - } - case BUILD_MESSAGE_INFO: { - java.lang.Object[] objects = new java.lang.Object[] { - "type_", - "typeCase_", - com.viam.component.audioinput.v1.Audioinput.AudioChunkInfo.class, - com.viam.component.audioinput.v1.Audioinput.AudioChunk.class, - }; - java.lang.String info = - "\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" + - "\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 (com.viam.component.audioinput.v1.Audioinput.ChunksResponse.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.component.audioinput.v1.ChunksResponse) - private static final com.viam.component.audioinput.v1.Audioinput.ChunksResponse DEFAULT_INSTANCE; - static { - ChunksResponse defaultInstance = new ChunksResponse(); - // New instances are implicitly immutable so no need to make - // immutable. - DEFAULT_INSTANCE = defaultInstance; - com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( - ChunksResponse.class, defaultInstance); - } - - public static com.viam.component.audioinput.v1.Audioinput.ChunksResponse 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 PropertiesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.component.audioinput.v1.PropertiesRequest) - com.google.protobuf.MessageLiteOrBuilder { - - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - java.lang.String getName(); - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - } - /** - * Protobuf type {@code viam.component.audioinput.v1.PropertiesRequest} - */ - public static final class PropertiesRequest extends - com.google.protobuf.GeneratedMessageLite< - PropertiesRequest, PropertiesRequest.Builder> implements - // @@protoc_insertion_point(message_implements:viam.component.audioinput.v1.PropertiesRequest) - PropertiesRequestOrBuilder { - private PropertiesRequest() { - name_ = ""; - } - public static final int NAME_FIELD_NUMBER = 1; - private java.lang.String name_; - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - return name_; - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - return com.google.protobuf.ByteString.copyFromUtf8(name_); - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @param value The name to set. - */ - private void setName( - java.lang.String value) { - java.lang.Class valueClass = value.getClass(); - - name_ = value; - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - */ - private void clearName() { - - name_ = getDefaultInstance().getName(); - } - /** - *
-     * Name of an audio input
-     * 
- * - * string name = 1 [json_name = "name"]; - * @param value The bytes for name to set. - */ - private void setNameBytes( - com.google.protobuf.ByteString value) { - checkByteStringIsUtf8(value); - name_ = value.toStringUtf8(); - - } - - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest 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 com.viam.component.audioinput.v1.Audioinput.PropertiesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest 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 com.viam.component.audioinput.v1.Audioinput.PropertiesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest 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 com.viam.component.audioinput.v1.Audioinput.PropertiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest 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 com.viam.component.audioinput.v1.Audioinput.PropertiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input); - } - - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest 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(com.viam.component.audioinput.v1.Audioinput.PropertiesRequest prototype) { - return DEFAULT_INSTANCE.createBuilder(prototype); - } - - /** - * Protobuf type {@code viam.component.audioinput.v1.PropertiesRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.viam.component.audioinput.v1.Audioinput.PropertiesRequest, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.component.audioinput.v1.PropertiesRequest) - com.viam.component.audioinput.v1.Audioinput.PropertiesRequestOrBuilder { - // Construct using com.viam.component.audioinput.v1.Audioinput.PropertiesRequest.newBuilder() - private Builder() { - super(DEFAULT_INSTANCE); - } - - - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - return instance.getName(); - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - return instance.getNameBytes(); - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - copyOnWrite(); - instance.setName(value); - return this; - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @return This builder for chaining. - */ - public Builder clearName() { - copyOnWrite(); - instance.clearName(); - return this; - } - /** - *
-       * Name of an audio input
-       * 
- * - * string name = 1 [json_name = "name"]; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - copyOnWrite(); - instance.setNameBytes(value); - return this; - } - - // @@protoc_insertion_point(builder_scope:viam.component.audioinput.v1.PropertiesRequest) - } - @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 com.viam.component.audioinput.v1.Audioinput.PropertiesRequest(); - } - case NEW_BUILDER: { - return new Builder(); - } - case BUILD_MESSAGE_INFO: { - java.lang.Object[] objects = new java.lang.Object[] { - "name_", - }; - java.lang.String info = - "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208"; - 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 (com.viam.component.audioinput.v1.Audioinput.PropertiesRequest.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.component.audioinput.v1.PropertiesRequest) - private static final com.viam.component.audioinput.v1.Audioinput.PropertiesRequest DEFAULT_INSTANCE; - static { - PropertiesRequest defaultInstance = new PropertiesRequest(); - // New instances are implicitly immutable so no need to make - // immutable. - DEFAULT_INSTANCE = defaultInstance; - com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( - PropertiesRequest.class, defaultInstance); - } - - public static com.viam.component.audioinput.v1.Audioinput.PropertiesRequest 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 PropertiesResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.component.audioinput.v1.PropertiesResponse) - com.google.protobuf.MessageLiteOrBuilder { - - /** - * uint32 channel_count = 1 [json_name = "channelCount"]; - * @return The channelCount. - */ - int getChannelCount(); - - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - * @return Whether the latency field is set. - */ - boolean hasLatency(); - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - * @return The latency. - */ - com.google.protobuf.Duration getLatency(); - - /** - * uint32 sample_rate = 3 [json_name = "sampleRate"]; - * @return The sampleRate. - */ - int getSampleRate(); - - /** - * uint32 sample_size = 4 [json_name = "sampleSize"]; - * @return The sampleSize. - */ - int getSampleSize(); - - /** - * bool is_big_endian = 5 [json_name = "isBigEndian"]; - * @return The isBigEndian. - */ - boolean getIsBigEndian(); - - /** - * bool is_float = 6 [json_name = "isFloat"]; - * @return The isFloat. - */ - boolean getIsFloat(); - - /** - * bool is_interleaved = 7 [json_name = "isInterleaved"]; - * @return The isInterleaved. - */ - boolean getIsInterleaved(); - } - /** - * Protobuf type {@code viam.component.audioinput.v1.PropertiesResponse} - */ - public static final class PropertiesResponse extends - com.google.protobuf.GeneratedMessageLite< - PropertiesResponse, PropertiesResponse.Builder> implements - // @@protoc_insertion_point(message_implements:viam.component.audioinput.v1.PropertiesResponse) - PropertiesResponseOrBuilder { - private PropertiesResponse() { - } - private int bitField0_; - public static final int CHANNEL_COUNT_FIELD_NUMBER = 1; - private int channelCount_; - /** - * uint32 channel_count = 1 [json_name = "channelCount"]; - * @return The channelCount. - */ - @java.lang.Override - public int getChannelCount() { - return channelCount_; - } - /** - * uint32 channel_count = 1 [json_name = "channelCount"]; - * @param value The channelCount to set. - */ - private void setChannelCount(int value) { - - channelCount_ = value; - } - /** - * uint32 channel_count = 1 [json_name = "channelCount"]; - */ - private void clearChannelCount() { - - channelCount_ = 0; - } - - public static final int LATENCY_FIELD_NUMBER = 2; - private com.google.protobuf.Duration latency_; - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - @java.lang.Override - public boolean hasLatency() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - @java.lang.Override - public com.google.protobuf.Duration getLatency() { - return latency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : latency_; - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - private void setLatency(com.google.protobuf.Duration value) { - value.getClass(); - latency_ = value; - bitField0_ |= 0x00000001; - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - @java.lang.SuppressWarnings({"ReferenceEquality"}) - private void mergeLatency(com.google.protobuf.Duration value) { - value.getClass(); - if (latency_ != null && - latency_ != com.google.protobuf.Duration.getDefaultInstance()) { - latency_ = - com.google.protobuf.Duration.newBuilder(latency_).mergeFrom(value).buildPartial(); - } else { - latency_ = value; - } - bitField0_ |= 0x00000001; - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - private void clearLatency() { latency_ = null; - bitField0_ = (bitField0_ & ~0x00000001); - } - - public static final int SAMPLE_RATE_FIELD_NUMBER = 3; - private int sampleRate_; - /** - * uint32 sample_rate = 3 [json_name = "sampleRate"]; - * @return The sampleRate. - */ - @java.lang.Override - public int getSampleRate() { - return sampleRate_; - } - /** - * uint32 sample_rate = 3 [json_name = "sampleRate"]; - * @param value The sampleRate to set. - */ - private void setSampleRate(int value) { - - sampleRate_ = value; - } - /** - * uint32 sample_rate = 3 [json_name = "sampleRate"]; - */ - private void clearSampleRate() { - - sampleRate_ = 0; - } - - public static final int SAMPLE_SIZE_FIELD_NUMBER = 4; - private int sampleSize_; - /** - * uint32 sample_size = 4 [json_name = "sampleSize"]; - * @return The sampleSize. - */ - @java.lang.Override - public int getSampleSize() { - return sampleSize_; - } - /** - * uint32 sample_size = 4 [json_name = "sampleSize"]; - * @param value The sampleSize to set. - */ - private void setSampleSize(int value) { - - sampleSize_ = value; - } - /** - * uint32 sample_size = 4 [json_name = "sampleSize"]; - */ - private void clearSampleSize() { - - sampleSize_ = 0; - } - - public static final int IS_BIG_ENDIAN_FIELD_NUMBER = 5; - private boolean isBigEndian_; - /** - * bool is_big_endian = 5 [json_name = "isBigEndian"]; - * @return The isBigEndian. - */ - @java.lang.Override - public boolean getIsBigEndian() { - return isBigEndian_; - } - /** - * bool is_big_endian = 5 [json_name = "isBigEndian"]; - * @param value The isBigEndian to set. - */ - private void setIsBigEndian(boolean value) { - - isBigEndian_ = value; - } - /** - * bool is_big_endian = 5 [json_name = "isBigEndian"]; - */ - private void clearIsBigEndian() { - - isBigEndian_ = false; - } - - public static final int IS_FLOAT_FIELD_NUMBER = 6; - private boolean isFloat_; - /** - * bool is_float = 6 [json_name = "isFloat"]; - * @return The isFloat. - */ - @java.lang.Override - public boolean getIsFloat() { - return isFloat_; - } - /** - * bool is_float = 6 [json_name = "isFloat"]; - * @param value The isFloat to set. - */ - private void setIsFloat(boolean value) { - - isFloat_ = value; - } - /** - * bool is_float = 6 [json_name = "isFloat"]; - */ - private void clearIsFloat() { - - isFloat_ = false; - } - - public static final int IS_INTERLEAVED_FIELD_NUMBER = 7; - private boolean isInterleaved_; - /** - * bool is_interleaved = 7 [json_name = "isInterleaved"]; - * @return The isInterleaved. - */ - @java.lang.Override - public boolean getIsInterleaved() { - return isInterleaved_; - } - /** - * bool is_interleaved = 7 [json_name = "isInterleaved"]; - * @param value The isInterleaved to set. - */ - private void setIsInterleaved(boolean value) { - - isInterleaved_ = value; - } - /** - * bool is_interleaved = 7 [json_name = "isInterleaved"]; - */ - private void clearIsInterleaved() { - - isInterleaved_ = false; - } - - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse 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 com.viam.component.audioinput.v1.Audioinput.PropertiesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse 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 com.viam.component.audioinput.v1.Audioinput.PropertiesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, data); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse 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 com.viam.component.audioinput.v1.Audioinput.PropertiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse 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 com.viam.component.audioinput.v1.Audioinput.PropertiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input); - } - - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageLite.parseFrom( - DEFAULT_INSTANCE, input); - } - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse 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(com.viam.component.audioinput.v1.Audioinput.PropertiesResponse prototype) { - return DEFAULT_INSTANCE.createBuilder(prototype); - } - - /** - * Protobuf type {@code viam.component.audioinput.v1.PropertiesResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - com.viam.component.audioinput.v1.Audioinput.PropertiesResponse, Builder> implements - // @@protoc_insertion_point(builder_implements:viam.component.audioinput.v1.PropertiesResponse) - com.viam.component.audioinput.v1.Audioinput.PropertiesResponseOrBuilder { - // Construct using com.viam.component.audioinput.v1.Audioinput.PropertiesResponse.newBuilder() - private Builder() { - super(DEFAULT_INSTANCE); - } - - - /** - * uint32 channel_count = 1 [json_name = "channelCount"]; - * @return The channelCount. - */ - @java.lang.Override - public int getChannelCount() { - return instance.getChannelCount(); - } - /** - * uint32 channel_count = 1 [json_name = "channelCount"]; - * @param value The channelCount to set. - * @return This builder for chaining. - */ - public Builder setChannelCount(int value) { - copyOnWrite(); - instance.setChannelCount(value); - return this; - } - /** - * uint32 channel_count = 1 [json_name = "channelCount"]; - * @return This builder for chaining. - */ - public Builder clearChannelCount() { - copyOnWrite(); - instance.clearChannelCount(); - return this; - } - - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - @java.lang.Override - public boolean hasLatency() { - return instance.hasLatency(); - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - @java.lang.Override - public com.google.protobuf.Duration getLatency() { - return instance.getLatency(); - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - public Builder setLatency(com.google.protobuf.Duration value) { - copyOnWrite(); - instance.setLatency(value); - return this; - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - public Builder setLatency( - com.google.protobuf.Duration.Builder builderForValue) { - copyOnWrite(); - instance.setLatency(builderForValue.build()); - return this; - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - public Builder mergeLatency(com.google.protobuf.Duration value) { - copyOnWrite(); - instance.mergeLatency(value); - return this; - } - /** - * .google.protobuf.Duration latency = 2 [json_name = "latency"]; - */ - public Builder clearLatency() { copyOnWrite(); - instance.clearLatency(); - return this; - } - - /** - * uint32 sample_rate = 3 [json_name = "sampleRate"]; - * @return The sampleRate. - */ - @java.lang.Override - public int getSampleRate() { - return instance.getSampleRate(); - } - /** - * uint32 sample_rate = 3 [json_name = "sampleRate"]; - * @param value The sampleRate to set. - * @return This builder for chaining. - */ - public Builder setSampleRate(int value) { - copyOnWrite(); - instance.setSampleRate(value); - return this; - } - /** - * uint32 sample_rate = 3 [json_name = "sampleRate"]; - * @return This builder for chaining. - */ - public Builder clearSampleRate() { - copyOnWrite(); - instance.clearSampleRate(); - return this; - } - - /** - * uint32 sample_size = 4 [json_name = "sampleSize"]; - * @return The sampleSize. - */ - @java.lang.Override - public int getSampleSize() { - return instance.getSampleSize(); - } - /** - * uint32 sample_size = 4 [json_name = "sampleSize"]; - * @param value The sampleSize to set. - * @return This builder for chaining. - */ - public Builder setSampleSize(int value) { - copyOnWrite(); - instance.setSampleSize(value); - return this; - } - /** - * uint32 sample_size = 4 [json_name = "sampleSize"]; - * @return This builder for chaining. - */ - public Builder clearSampleSize() { - copyOnWrite(); - instance.clearSampleSize(); - return this; - } - - /** - * bool is_big_endian = 5 [json_name = "isBigEndian"]; - * @return The isBigEndian. - */ - @java.lang.Override - public boolean getIsBigEndian() { - return instance.getIsBigEndian(); - } - /** - * bool is_big_endian = 5 [json_name = "isBigEndian"]; - * @param value The isBigEndian to set. - * @return This builder for chaining. - */ - public Builder setIsBigEndian(boolean value) { - copyOnWrite(); - instance.setIsBigEndian(value); - return this; - } - /** - * bool is_big_endian = 5 [json_name = "isBigEndian"]; - * @return This builder for chaining. - */ - public Builder clearIsBigEndian() { - copyOnWrite(); - instance.clearIsBigEndian(); - return this; - } - - /** - * bool is_float = 6 [json_name = "isFloat"]; - * @return The isFloat. - */ - @java.lang.Override - public boolean getIsFloat() { - return instance.getIsFloat(); - } - /** - * bool is_float = 6 [json_name = "isFloat"]; - * @param value The isFloat to set. - * @return This builder for chaining. - */ - public Builder setIsFloat(boolean value) { - copyOnWrite(); - instance.setIsFloat(value); - return this; - } - /** - * bool is_float = 6 [json_name = "isFloat"]; - * @return This builder for chaining. - */ - public Builder clearIsFloat() { - copyOnWrite(); - instance.clearIsFloat(); - return this; - } - - /** - * bool is_interleaved = 7 [json_name = "isInterleaved"]; - * @return The isInterleaved. - */ - @java.lang.Override - public boolean getIsInterleaved() { - return instance.getIsInterleaved(); - } - /** - * bool is_interleaved = 7 [json_name = "isInterleaved"]; - * @param value The isInterleaved to set. - * @return This builder for chaining. - */ - public Builder setIsInterleaved(boolean value) { - copyOnWrite(); - instance.setIsInterleaved(value); - return this; - } - /** - * bool is_interleaved = 7 [json_name = "isInterleaved"]; - * @return This builder for chaining. - */ - public Builder clearIsInterleaved() { - copyOnWrite(); - instance.clearIsInterleaved(); - return this; - } - - // @@protoc_insertion_point(builder_scope:viam.component.audioinput.v1.PropertiesResponse) - } - @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 com.viam.component.audioinput.v1.Audioinput.PropertiesResponse(); - } - case NEW_BUILDER: { - return new Builder(); - } - case BUILD_MESSAGE_INFO: { - java.lang.Object[] objects = new java.lang.Object[] { - "bitField0_", - "channelCount_", - "latency_", - "sampleRate_", - "sampleSize_", - "isBigEndian_", - "isFloat_", - "isInterleaved_", - }; - java.lang.String info = - "\u0000\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u000b\u0002\u1009" + - "\u0000\u0003\u000b\u0004\u000b\u0005\u0007\u0006\u0007\u0007\u0007"; - 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 (com.viam.component.audioinput.v1.Audioinput.PropertiesResponse.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.component.audioinput.v1.PropertiesResponse) - private static final com.viam.component.audioinput.v1.Audioinput.PropertiesResponse DEFAULT_INSTANCE; - static { - PropertiesResponse defaultInstance = new PropertiesResponse(); - // New instances are implicitly immutable so no need to make - // immutable. - DEFAULT_INSTANCE = defaultInstance; - com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( - PropertiesResponse.class, defaultInstance); - } - - public static com.viam.component.audioinput.v1.Audioinput.PropertiesResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static volatile com.google.protobuf.Parser PARSER; - - public static com.google.protobuf.Parser parser() { - return DEFAULT_INSTANCE.getParserForType(); - } - } - - - static { - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 c1b8cff87..1207fd71d 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 @@ -27465,6 +27465,17 @@ public interface AddBoundingBoxToImageByIDRequestOrBuilder extends * @return The yMaxNormalized. */ double getYMaxNormalized(); + + /** + * optional double confidence = 9 [json_name = "confidence"]; + * @return Whether the confidence field is set. + */ + boolean hasConfidence(); + /** + * optional double confidence = 9 [json_name = "confidence"]; + * @return The confidence. + */ + double getConfidence(); } /** *
@@ -27728,6 +27739,40 @@ private void clearYMaxNormalized() {
       yMaxNormalized_ = 0D;
     }
 
+    public static final int CONFIDENCE_FIELD_NUMBER = 9;
+    private double confidence_;
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @return Whether the confidence field is set.
+     */
+    @java.lang.Override
+    public boolean hasConfidence() {
+      return ((bitField0_ & 0x00000002) != 0);
+    }
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @return The confidence.
+     */
+    @java.lang.Override
+    public double getConfidence() {
+      return confidence_;
+    }
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @param value The confidence to set.
+     */
+    private void setConfidence(double value) {
+      bitField0_ |= 0x00000002;
+      confidence_ = value;
+    }
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     */
+    private void clearConfidence() {
+      bitField0_ = (bitField0_ & ~0x00000002);
+      confidence_ = 0D;
+    }
+
     public static viam.app.data.v1.Data.AddBoundingBoxToImageByIDRequest parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
@@ -28087,6 +28132,42 @@ public Builder clearYMaxNormalized() {
         return this;
       }
 
+      /**
+       * optional double confidence = 9 [json_name = "confidence"];
+       * @return Whether the confidence field is set.
+       */
+      @java.lang.Override
+      public boolean hasConfidence() {
+        return instance.hasConfidence();
+      }
+      /**
+       * optional double confidence = 9 [json_name = "confidence"];
+       * @return The confidence.
+       */
+      @java.lang.Override
+      public double getConfidence() {
+        return instance.getConfidence();
+      }
+      /**
+       * optional double confidence = 9 [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;
+      }
+      /**
+       * optional double confidence = 9 [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.AddBoundingBoxToImageByIDRequest)
     }
     @java.lang.Override
@@ -28111,10 +28192,11 @@ protected final java.lang.Object dynamicMethod(
               "yMaxNormalized_",
               "binaryId_",
               "binaryDataId_",
+              "confidence_",
             };
             java.lang.String info =
-                "\u0000\u0007\u0000\u0001\u0002\b\u0007\u0000\u0000\u0000\u0002\u0208\u0003\u0000" +
-                "\u0004\u0000\u0005\u0000\u0006\u0000\u0007\u1009\u0000\b\u0208";
+                "\u0000\b\u0000\u0001\u0002\t\b\u0000\u0000\u0000\u0002\u0208\u0003\u0000\u0004\u0000" +
+                "\u0005\u0000\u0006\u0000\u0007\u1009\u0000\b\u0208\t\u1000\u0001";
             return newMessageInfo(DEFAULT_INSTANCE, info, objects);
         }
         // fall through
@@ -28478,14 +28560,14 @@ public interface RemoveBoundingBoxFromImageByIDRequestOrBuilder extends
     /**
      * .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId", deprecated = true];
      * @deprecated viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest.binary_id is deprecated.
-     *     See app/data/v1/data.proto;l=566
+     *     See app/data/v1/data.proto;l=567
      * @return Whether the binaryId field is set.
      */
     @java.lang.Deprecated boolean hasBinaryId();
     /**
      * .viam.app.data.v1.BinaryID binary_id = 3 [json_name = "binaryId", deprecated = true];
      * @deprecated viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest.binary_id is deprecated.
-     *     See app/data/v1/data.proto;l=566
+     *     See app/data/v1/data.proto;l=567
      * @return The binaryId.
      */
     @java.lang.Deprecated viam.app.data.v1.Data.BinaryID getBinaryId();
@@ -29184,14 +29266,14 @@ public interface UpdateBoundingBoxRequestOrBuilder extends
     /**
      * .viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId", deprecated = true];
      * @deprecated viam.app.data.v1.UpdateBoundingBoxRequest.binary_id is deprecated.
-     *     See app/data/v1/data.proto;l=578
+     *     See app/data/v1/data.proto;l=579
      * @return Whether the binaryId field is set.
      */
     @java.lang.Deprecated boolean hasBinaryId();
     /**
      * .viam.app.data.v1.BinaryID binary_id = 1 [json_name = "binaryId", deprecated = true];
      * @deprecated viam.app.data.v1.UpdateBoundingBoxRequest.binary_id is deprecated.
-     *     See app/data/v1/data.proto;l=578
+     *     See app/data/v1/data.proto;l=579
      * @return The binaryId.
      */
     @java.lang.Deprecated viam.app.data.v1.Data.BinaryID getBinaryId();
@@ -29280,6 +29362,17 @@ public interface UpdateBoundingBoxRequestOrBuilder extends
      * @return The yMaxNormalized.
      */
     double getYMaxNormalized();
+
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @return Whether the confidence field is set.
+     */
+    boolean hasConfidence();
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @return The confidence.
+     */
+    double getConfidence();
   }
   /**
    * 
@@ -29630,6 +29723,40 @@ private void clearYMaxNormalized() {
       yMaxNormalized_ = 0D;
     }
 
+    public static final int CONFIDENCE_FIELD_NUMBER = 9;
+    private double confidence_;
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @return Whether the confidence field is set.
+     */
+    @java.lang.Override
+    public boolean hasConfidence() {
+      return ((bitField0_ & 0x00000040) != 0);
+    }
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @return The confidence.
+     */
+    @java.lang.Override
+    public double getConfidence() {
+      return confidence_;
+    }
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     * @param value The confidence to set.
+     */
+    private void setConfidence(double value) {
+      bitField0_ |= 0x00000040;
+      confidence_ = value;
+    }
+    /**
+     * optional double confidence = 9 [json_name = "confidence"];
+     */
+    private void clearConfidence() {
+      bitField0_ = (bitField0_ & ~0x00000040);
+      confidence_ = 0D;
+    }
+
     public static viam.app.data.v1.Data.UpdateBoundingBoxRequest parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
@@ -30077,6 +30204,42 @@ public Builder clearYMaxNormalized() {
         return this;
       }
 
+      /**
+       * optional double confidence = 9 [json_name = "confidence"];
+       * @return Whether the confidence field is set.
+       */
+      @java.lang.Override
+      public boolean hasConfidence() {
+        return instance.hasConfidence();
+      }
+      /**
+       * optional double confidence = 9 [json_name = "confidence"];
+       * @return The confidence.
+       */
+      @java.lang.Override
+      public double getConfidence() {
+        return instance.getConfidence();
+      }
+      /**
+       * optional double confidence = 9 [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;
+      }
+      /**
+       * optional double confidence = 9 [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.UpdateBoundingBoxRequest)
     }
     @java.lang.Override
@@ -30102,11 +30265,12 @@ protected final java.lang.Object dynamicMethod(
               "xMaxNormalized_",
               "yMaxNormalized_",
               "binaryDataId_",
+              "confidence_",
             };
             java.lang.String info =
-                "\u0000\b\u0000\u0001\u0001\b\b\u0000\u0000\u0000\u0001\u1009\u0000\u0002\u0208\u0003" +
+                "\u0000\t\u0000\u0001\u0001\t\t\u0000\u0000\u0000\u0001\u1009\u0000\u0002\u0208\u0003" +
                 "\u1208\u0001\u0004\u1000\u0002\u0005\u1000\u0003\u0006\u1000\u0004\u0007\u1000\u0005" +
-                "\b\u0208";
+                "\b\u0208\t\u1000\u0006";
             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 c10d203c2..4359c2525 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
@@ -4446,18 +4446,6 @@ public interface UploadMetadataOrBuilder extends
      */
     viam.app.datasync.v1.DataSync.DataType getType();
 
-    /**
-     * string file_name = 7 [json_name = "fileName"];
-     * @return The fileName.
-     */
-    java.lang.String getFileName();
-    /**
-     * string file_name = 7 [json_name = "fileName"];
-     * @return The bytes for fileName.
-     */
-    com.google.protobuf.ByteString
-        getFileNameBytes();
-
     /**
      * map<string, .google.protobuf.Any> method_parameters = 8 [json_name = "methodParameters"];
      */
@@ -4494,6 +4482,18 @@ com.google.protobuf.Any getMethodParametersOrDefault(
     com.google.protobuf.Any getMethodParametersOrThrow(
         java.lang.String key);
 
+    /**
+     * string file_name = 7 [json_name = "fileName"];
+     * @return The fileName.
+     */
+    java.lang.String getFileName();
+    /**
+     * string file_name = 7 [json_name = "fileName"];
+     * @return The bytes for fileName.
+     */
+    com.google.protobuf.ByteString
+        getFileNameBytes();
+
     /**
      * string file_extension = 9 [json_name = "fileExtension"];
      * @return The fileExtension.
@@ -4506,6 +4506,28 @@ com.google.protobuf.Any getMethodParametersOrThrow(
     com.google.protobuf.ByteString
         getFileExtensionBytes();
 
+    /**
+     * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+     * @return Whether the fileCreateTime field is set.
+     */
+    boolean hasFileCreateTime();
+    /**
+     * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+     * @return The fileCreateTime.
+     */
+    com.google.protobuf.Timestamp getFileCreateTime();
+
+    /**
+     * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+     * @return Whether the fileModifyTime field is set.
+     */
+    boolean hasFileModifyTime();
+    /**
+     * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+     * @return The fileModifyTime.
+     */
+    com.google.protobuf.Timestamp getFileModifyTime();
+
     /**
      * repeated string tags = 10 [json_name = "tags"];
      * @return A list containing the tags.
@@ -4555,6 +4577,18 @@ com.google.protobuf.Any getMethodParametersOrThrow(
      */
     com.google.protobuf.ByteString
         getDatasetIdsBytes(int index);
+
+    /**
+     * string mime_type = 13 [json_name = "mimeType"];
+     * @return The mimeType.
+     */
+    java.lang.String getMimeType();
+    /**
+     * string mime_type = 13 [json_name = "mimeType"];
+     * @return The bytes for mimeType.
+     */
+    com.google.protobuf.ByteString
+        getMimeTypeBytes();
   }
   /**
    * 
@@ -4577,7 +4611,9 @@ private UploadMetadata() {
       fileExtension_ = "";
       tags_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
       datasetIds_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
+      mimeType_ = "";
     }
+    private int bitField0_;
     public static final int PART_ID_FIELD_NUMBER = 1;
     private java.lang.String partId_;
     /**
@@ -4808,53 +4844,6 @@ private void clearType() {
       type_ = 0;
     }
 
-    public static final int FILE_NAME_FIELD_NUMBER = 7;
-    private java.lang.String fileName_;
-    /**
-     * string file_name = 7 [json_name = "fileName"];
-     * @return The fileName.
-     */
-    @java.lang.Override
-    public java.lang.String getFileName() {
-      return fileName_;
-    }
-    /**
-     * string file_name = 7 [json_name = "fileName"];
-     * @return The bytes for fileName.
-     */
-    @java.lang.Override
-    public com.google.protobuf.ByteString
-        getFileNameBytes() {
-      return com.google.protobuf.ByteString.copyFromUtf8(fileName_);
-    }
-    /**
-     * string file_name = 7 [json_name = "fileName"];
-     * @param value The fileName to set.
-     */
-    private void setFileName(
-        java.lang.String value) {
-      java.lang.Class valueClass = value.getClass();
-  
-      fileName_ = value;
-    }
-    /**
-     * string file_name = 7 [json_name = "fileName"];
-     */
-    private void clearFileName() {
-
-      fileName_ = getDefaultInstance().getFileName();
-    }
-    /**
-     * string file_name = 7 [json_name = "fileName"];
-     * @param value The bytes for fileName to set.
-     */
-    private void setFileNameBytes(
-        com.google.protobuf.ByteString value) {
-      checkByteStringIsUtf8(value);
-      fileName_ = value.toStringUtf8();
-
-    }
-
     public static final int METHOD_PARAMETERS_FIELD_NUMBER = 8;
     private static final class MethodParametersDefaultEntryHolder {
       static final com.google.protobuf.MapEntryLite<
@@ -4950,6 +4939,53 @@ public com.google.protobuf.Any getMethodParametersOrThrow(
       return internalGetMutableMethodParameters();
     }
 
+    public static final int FILE_NAME_FIELD_NUMBER = 7;
+    private java.lang.String fileName_;
+    /**
+     * string file_name = 7 [json_name = "fileName"];
+     * @return The fileName.
+     */
+    @java.lang.Override
+    public java.lang.String getFileName() {
+      return fileName_;
+    }
+    /**
+     * string file_name = 7 [json_name = "fileName"];
+     * @return The bytes for fileName.
+     */
+    @java.lang.Override
+    public com.google.protobuf.ByteString
+        getFileNameBytes() {
+      return com.google.protobuf.ByteString.copyFromUtf8(fileName_);
+    }
+    /**
+     * string file_name = 7 [json_name = "fileName"];
+     * @param value The fileName to set.
+     */
+    private void setFileName(
+        java.lang.String value) {
+      java.lang.Class valueClass = value.getClass();
+  
+      fileName_ = value;
+    }
+    /**
+     * string file_name = 7 [json_name = "fileName"];
+     */
+    private void clearFileName() {
+
+      fileName_ = getDefaultInstance().getFileName();
+    }
+    /**
+     * string file_name = 7 [json_name = "fileName"];
+     * @param value The bytes for fileName to set.
+     */
+    private void setFileNameBytes(
+        com.google.protobuf.ByteString value) {
+      checkByteStringIsUtf8(value);
+      fileName_ = value.toStringUtf8();
+
+    }
+
     public static final int FILE_EXTENSION_FIELD_NUMBER = 9;
     private java.lang.String fileExtension_;
     /**
@@ -4997,6 +5033,98 @@ private void setFileExtensionBytes(
 
     }
 
+    public static final int FILE_CREATE_TIME_FIELD_NUMBER = 14;
+    private com.google.protobuf.Timestamp fileCreateTime_;
+    /**
+     * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+     */
+    @java.lang.Override
+    public boolean hasFileCreateTime() {
+      return ((bitField0_ & 0x00000001) != 0);
+    }
+    /**
+     * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+     */
+    @java.lang.Override
+    public com.google.protobuf.Timestamp getFileCreateTime() {
+      return fileCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : fileCreateTime_;
+    }
+    /**
+     * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+     */
+    private void setFileCreateTime(com.google.protobuf.Timestamp value) {
+      value.getClass();
+  fileCreateTime_ = value;
+      bitField0_ |= 0x00000001;
+      }
+    /**
+     * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+     */
+    @java.lang.SuppressWarnings({"ReferenceEquality"})
+    private void mergeFileCreateTime(com.google.protobuf.Timestamp value) {
+      value.getClass();
+  if (fileCreateTime_ != null &&
+          fileCreateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        fileCreateTime_ =
+          com.google.protobuf.Timestamp.newBuilder(fileCreateTime_).mergeFrom(value).buildPartial();
+      } else {
+        fileCreateTime_ = value;
+      }
+      bitField0_ |= 0x00000001;
+    }
+    /**
+     * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+     */
+    private void clearFileCreateTime() {  fileCreateTime_ = null;
+      bitField0_ = (bitField0_ & ~0x00000001);
+    }
+
+    public static final int FILE_MODIFY_TIME_FIELD_NUMBER = 15;
+    private com.google.protobuf.Timestamp fileModifyTime_;
+    /**
+     * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+     */
+    @java.lang.Override
+    public boolean hasFileModifyTime() {
+      return ((bitField0_ & 0x00000002) != 0);
+    }
+    /**
+     * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+     */
+    @java.lang.Override
+    public com.google.protobuf.Timestamp getFileModifyTime() {
+      return fileModifyTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : fileModifyTime_;
+    }
+    /**
+     * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+     */
+    private void setFileModifyTime(com.google.protobuf.Timestamp value) {
+      value.getClass();
+  fileModifyTime_ = value;
+      bitField0_ |= 0x00000002;
+      }
+    /**
+     * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+     */
+    @java.lang.SuppressWarnings({"ReferenceEquality"})
+    private void mergeFileModifyTime(com.google.protobuf.Timestamp value) {
+      value.getClass();
+  if (fileModifyTime_ != null &&
+          fileModifyTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        fileModifyTime_ =
+          com.google.protobuf.Timestamp.newBuilder(fileModifyTime_).mergeFrom(value).buildPartial();
+      } else {
+        fileModifyTime_ = value;
+      }
+      bitField0_ |= 0x00000002;
+    }
+    /**
+     * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+     */
+    private void clearFileModifyTime() {  fileModifyTime_ = null;
+      bitField0_ = (bitField0_ & ~0x00000002);
+    }
+
     public static final int TAGS_FIELD_NUMBER = 10;
     private com.google.protobuf.Internal.ProtobufList tags_;
     /**
@@ -5183,6 +5311,53 @@ private void addDatasetIdsBytes(
       datasetIds_.add(value.toStringUtf8());
     }
 
+    public static final int MIME_TYPE_FIELD_NUMBER = 13;
+    private java.lang.String mimeType_;
+    /**
+     * string mime_type = 13 [json_name = "mimeType"];
+     * @return The mimeType.
+     */
+    @java.lang.Override
+    public java.lang.String getMimeType() {
+      return mimeType_;
+    }
+    /**
+     * string mime_type = 13 [json_name = "mimeType"];
+     * @return The bytes for mimeType.
+     */
+    @java.lang.Override
+    public com.google.protobuf.ByteString
+        getMimeTypeBytes() {
+      return com.google.protobuf.ByteString.copyFromUtf8(mimeType_);
+    }
+    /**
+     * string mime_type = 13 [json_name = "mimeType"];
+     * @param value The mimeType to set.
+     */
+    private void setMimeType(
+        java.lang.String value) {
+      java.lang.Class valueClass = value.getClass();
+  
+      mimeType_ = value;
+    }
+    /**
+     * string mime_type = 13 [json_name = "mimeType"];
+     */
+    private void clearMimeType() {
+
+      mimeType_ = getDefaultInstance().getMimeType();
+    }
+    /**
+     * string mime_type = 13 [json_name = "mimeType"];
+     * @param value The bytes for mimeType to set.
+     */
+    private void setMimeTypeBytes(
+        com.google.protobuf.ByteString value) {
+      checkByteStringIsUtf8(value);
+      mimeType_ = value.toStringUtf8();
+
+    }
+
     public static viam.app.datasync.v1.DataSync.UploadMetadata parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
@@ -5526,55 +5701,6 @@ public Builder clearType() {
         return this;
       }
 
-      /**
-       * string file_name = 7 [json_name = "fileName"];
-       * @return The fileName.
-       */
-      @java.lang.Override
-      public java.lang.String getFileName() {
-        return instance.getFileName();
-      }
-      /**
-       * string file_name = 7 [json_name = "fileName"];
-       * @return The bytes for fileName.
-       */
-      @java.lang.Override
-      public com.google.protobuf.ByteString
-          getFileNameBytes() {
-        return instance.getFileNameBytes();
-      }
-      /**
-       * string file_name = 7 [json_name = "fileName"];
-       * @param value The fileName to set.
-       * @return This builder for chaining.
-       */
-      public Builder setFileName(
-          java.lang.String value) {
-        copyOnWrite();
-        instance.setFileName(value);
-        return this;
-      }
-      /**
-       * string file_name = 7 [json_name = "fileName"];
-       * @return This builder for chaining.
-       */
-      public Builder clearFileName() {
-        copyOnWrite();
-        instance.clearFileName();
-        return this;
-      }
-      /**
-       * string file_name = 7 [json_name = "fileName"];
-       * @param value The bytes for fileName to set.
-       * @return This builder for chaining.
-       */
-      public Builder setFileNameBytes(
-          com.google.protobuf.ByteString value) {
-        copyOnWrite();
-        instance.setFileNameBytes(value);
-        return this;
-      }
-
       @java.lang.Override
 
       public int getMethodParametersCount() {
@@ -5675,6 +5801,55 @@ public Builder putAllMethodParameters(
         return this;
       }
 
+      /**
+       * string file_name = 7 [json_name = "fileName"];
+       * @return The fileName.
+       */
+      @java.lang.Override
+      public java.lang.String getFileName() {
+        return instance.getFileName();
+      }
+      /**
+       * string file_name = 7 [json_name = "fileName"];
+       * @return The bytes for fileName.
+       */
+      @java.lang.Override
+      public com.google.protobuf.ByteString
+          getFileNameBytes() {
+        return instance.getFileNameBytes();
+      }
+      /**
+       * string file_name = 7 [json_name = "fileName"];
+       * @param value The fileName to set.
+       * @return This builder for chaining.
+       */
+      public Builder setFileName(
+          java.lang.String value) {
+        copyOnWrite();
+        instance.setFileName(value);
+        return this;
+      }
+      /**
+       * string file_name = 7 [json_name = "fileName"];
+       * @return This builder for chaining.
+       */
+      public Builder clearFileName() {
+        copyOnWrite();
+        instance.clearFileName();
+        return this;
+      }
+      /**
+       * string file_name = 7 [json_name = "fileName"];
+       * @param value The bytes for fileName to set.
+       * @return This builder for chaining.
+       */
+      public Builder setFileNameBytes(
+          com.google.protobuf.ByteString value) {
+        copyOnWrite();
+        instance.setFileNameBytes(value);
+        return this;
+      }
+
       /**
        * string file_extension = 9 [json_name = "fileExtension"];
        * @return The fileExtension.
@@ -5724,6 +5899,100 @@ public Builder setFileExtensionBytes(
         return this;
       }
 
+      /**
+       * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+       */
+      @java.lang.Override
+      public boolean hasFileCreateTime() {
+        return instance.hasFileCreateTime();
+      }
+      /**
+       * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+       */
+      @java.lang.Override
+      public com.google.protobuf.Timestamp getFileCreateTime() {
+        return instance.getFileCreateTime();
+      }
+      /**
+       * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+       */
+      public Builder setFileCreateTime(com.google.protobuf.Timestamp value) {
+        copyOnWrite();
+        instance.setFileCreateTime(value);
+        return this;
+        }
+      /**
+       * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+       */
+      public Builder setFileCreateTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
+        copyOnWrite();
+        instance.setFileCreateTime(builderForValue.build());
+        return this;
+      }
+      /**
+       * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+       */
+      public Builder mergeFileCreateTime(com.google.protobuf.Timestamp value) {
+        copyOnWrite();
+        instance.mergeFileCreateTime(value);
+        return this;
+      }
+      /**
+       * .google.protobuf.Timestamp file_create_time = 14 [json_name = "fileCreateTime"];
+       */
+      public Builder clearFileCreateTime() {  copyOnWrite();
+        instance.clearFileCreateTime();
+        return this;
+      }
+
+      /**
+       * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+       */
+      @java.lang.Override
+      public boolean hasFileModifyTime() {
+        return instance.hasFileModifyTime();
+      }
+      /**
+       * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+       */
+      @java.lang.Override
+      public com.google.protobuf.Timestamp getFileModifyTime() {
+        return instance.getFileModifyTime();
+      }
+      /**
+       * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+       */
+      public Builder setFileModifyTime(com.google.protobuf.Timestamp value) {
+        copyOnWrite();
+        instance.setFileModifyTime(value);
+        return this;
+        }
+      /**
+       * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+       */
+      public Builder setFileModifyTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
+        copyOnWrite();
+        instance.setFileModifyTime(builderForValue.build());
+        return this;
+      }
+      /**
+       * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+       */
+      public Builder mergeFileModifyTime(com.google.protobuf.Timestamp value) {
+        copyOnWrite();
+        instance.mergeFileModifyTime(value);
+        return this;
+      }
+      /**
+       * .google.protobuf.Timestamp file_modify_time = 15 [json_name = "fileModifyTime"];
+       */
+      public Builder clearFileModifyTime() {  copyOnWrite();
+        instance.clearFileModifyTime();
+        return this;
+      }
+
       /**
        * repeated string tags = 10 [json_name = "tags"];
        * @return A list containing the tags.
@@ -5908,6 +6177,55 @@ public Builder addDatasetIdsBytes(
         return this;
       }
 
+      /**
+       * string mime_type = 13 [json_name = "mimeType"];
+       * @return The mimeType.
+       */
+      @java.lang.Override
+      public java.lang.String getMimeType() {
+        return instance.getMimeType();
+      }
+      /**
+       * string mime_type = 13 [json_name = "mimeType"];
+       * @return The bytes for mimeType.
+       */
+      @java.lang.Override
+      public com.google.protobuf.ByteString
+          getMimeTypeBytes() {
+        return instance.getMimeTypeBytes();
+      }
+      /**
+       * string mime_type = 13 [json_name = "mimeType"];
+       * @param value The mimeType to set.
+       * @return This builder for chaining.
+       */
+      public Builder setMimeType(
+          java.lang.String value) {
+        copyOnWrite();
+        instance.setMimeType(value);
+        return this;
+      }
+      /**
+       * string mime_type = 13 [json_name = "mimeType"];
+       * @return This builder for chaining.
+       */
+      public Builder clearMimeType() {
+        copyOnWrite();
+        instance.clearMimeType();
+        return this;
+      }
+      /**
+       * string mime_type = 13 [json_name = "mimeType"];
+       * @param value The bytes for mimeType to set.
+       * @return This builder for chaining.
+       */
+      public Builder setMimeTypeBytes(
+          com.google.protobuf.ByteString value) {
+        copyOnWrite();
+        instance.setMimeTypeBytes(value);
+        return this;
+      }
+
       // @@protoc_insertion_point(builder_scope:viam.app.datasync.v1.UploadMetadata)
     }
     @java.lang.Override
@@ -5924,6 +6242,7 @@ protected final java.lang.Object dynamicMethod(
         }
         case BUILD_MESSAGE_INFO: {
             java.lang.Object[] objects = new java.lang.Object[] {
+              "bitField0_",
               "partId_",
               "componentType_",
               "componentName_",
@@ -5935,10 +6254,14 @@ protected final java.lang.Object dynamicMethod(
               "fileExtension_",
               "tags_",
               "datasetIds_",
+              "mimeType_",
+              "fileCreateTime_",
+              "fileModifyTime_",
             };
             java.lang.String info =
-                "\u0000\n\u0000\u0000\u0001\f\n\u0001\u0002\u0000\u0001\u0208\u0002\u0208\u0003\u0208" +
-                "\u0005\u0208\u0006\f\u0007\u0208\b2\t\u0208\n\u021a\f\u021a";
+                "\u0000\r\u0000\u0001\u0001\u000f\r\u0001\u0002\u0000\u0001\u0208\u0002\u0208\u0003" +
+                "\u0208\u0005\u0208\u0006\f\u0007\u0208\b2\t\u0208\n\u021a\f\u021a\r\u0208\u000e\u1009" +
+                "\u0000\u000f\u1009\u0001";
             return newMessageInfo(DEFAULT_INSTANCE, info, objects);
         }
         // fall through
diff --git a/core/sdk/src/main/gen/viam/app/v1/AppOuterClass.java b/core/sdk/src/main/gen/viam/app/v1/AppOuterClass.java
index 01683572e..e2c761901 100644
--- a/core/sdk/src/main/gen/viam/app/v1/AppOuterClass.java
+++ b/core/sdk/src/main/gen/viam/app/v1/AppOuterClass.java
@@ -456,6 +456,227 @@ private FragmentErrorType(int value) {
     // @@protoc_insertion_point(enum_scope:viam.app.v1.FragmentErrorType)
   }
 
+  /**
+   * Protobuf enum {@code viam.app.v1.ModuleSourceType}
+   */
+  public enum ModuleSourceType
+      implements com.google.protobuf.Internal.EnumLite {
+    /**
+     * MODULE_SOURCE_TYPE_UNSPECIFIED = 0;
+     */
+    MODULE_SOURCE_TYPE_UNSPECIFIED(0),
+    /**
+     * 
+     * Module source code is stored externally, such as in github.
+     * 
+ * + * MODULE_SOURCE_TYPE_EXTERNAL = 1; + */ + MODULE_SOURCE_TYPE_EXTERNAL(1), + /** + *
+     * Module source code is versioned and managed within Viam.
+     * 
+ * + * MODULE_SOURCE_TYPE_VIAM_HOSTED = 2; + */ + MODULE_SOURCE_TYPE_VIAM_HOSTED(2), + UNRECOGNIZED(-1), + ; + + /** + * MODULE_SOURCE_TYPE_UNSPECIFIED = 0; + */ + public static final int MODULE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+     * Module source code is stored externally, such as in github.
+     * 
+ * + * MODULE_SOURCE_TYPE_EXTERNAL = 1; + */ + public static final int MODULE_SOURCE_TYPE_EXTERNAL_VALUE = 1; + /** + *
+     * Module source code is versioned and managed within Viam.
+     * 
+ * + * MODULE_SOURCE_TYPE_VIAM_HOSTED = 2; + */ + public static final int MODULE_SOURCE_TYPE_VIAM_HOSTED_VALUE = 2; + + + @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 ModuleSourceType valueOf(int value) { + return forNumber(value); + } + + public static ModuleSourceType forNumber(int value) { + switch (value) { + case 0: return MODULE_SOURCE_TYPE_UNSPECIFIED; + case 1: return MODULE_SOURCE_TYPE_EXTERNAL; + case 2: return MODULE_SOURCE_TYPE_VIAM_HOSTED; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ModuleSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + @java.lang.Override + public ModuleSourceType findValueByNumber(int number) { + return ModuleSourceType.forNumber(number); + } + }; + + public static com.google.protobuf.Internal.EnumVerifier + internalGetVerifier() { + return ModuleSourceTypeVerifier.INSTANCE; + } + + private static final class ModuleSourceTypeVerifier implements + com.google.protobuf.Internal.EnumVerifier { + static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ModuleSourceTypeVerifier(); + @java.lang.Override + public boolean isInRange(int number) { + return ModuleSourceType.forNumber(number) != null; + } + }; + + private final int value; + + private ModuleSourceType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:viam.app.v1.ModuleSourceType) + } + + /** + * Protobuf enum {@code viam.app.v1.ModuleLanguage} + */ + public enum ModuleLanguage + implements com.google.protobuf.Internal.EnumLite { + /** + * MODULE_LANGUAGE_UNSPECIFIED = 0; + */ + MODULE_LANGUAGE_UNSPECIFIED(0), + /** + * MODULE_LANGUAGE_GOLANG = 1; + */ + MODULE_LANGUAGE_GOLANG(1), + /** + * MODULE_LANGUAGE_PYTHON = 2; + */ + MODULE_LANGUAGE_PYTHON(2), + /** + * MODULE_LANGUAGE_CPP = 3; + */ + MODULE_LANGUAGE_CPP(3), + UNRECOGNIZED(-1), + ; + + /** + * MODULE_LANGUAGE_UNSPECIFIED = 0; + */ + public static final int MODULE_LANGUAGE_UNSPECIFIED_VALUE = 0; + /** + * MODULE_LANGUAGE_GOLANG = 1; + */ + public static final int MODULE_LANGUAGE_GOLANG_VALUE = 1; + /** + * MODULE_LANGUAGE_PYTHON = 2; + */ + public static final int MODULE_LANGUAGE_PYTHON_VALUE = 2; + /** + * MODULE_LANGUAGE_CPP = 3; + */ + public static final int MODULE_LANGUAGE_CPP_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 ModuleLanguage valueOf(int value) { + return forNumber(value); + } + + public static ModuleLanguage forNumber(int value) { + switch (value) { + case 0: return MODULE_LANGUAGE_UNSPECIFIED; + case 1: return MODULE_LANGUAGE_GOLANG; + case 2: return MODULE_LANGUAGE_PYTHON; + case 3: return MODULE_LANGUAGE_CPP; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ModuleLanguage> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + @java.lang.Override + public ModuleLanguage findValueByNumber(int number) { + return ModuleLanguage.forNumber(number); + } + }; + + public static com.google.protobuf.Internal.EnumVerifier + internalGetVerifier() { + return ModuleLanguageVerifier.INSTANCE; + } + + private static final class ModuleLanguageVerifier implements + com.google.protobuf.Internal.EnumVerifier { + static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ModuleLanguageVerifier(); + @java.lang.Override + public boolean isInRange(int number) { + return ModuleLanguage.forNumber(number) != null; + } + }; + + private final int value; + + private ModuleLanguage(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:viam.app.v1.ModuleLanguage) + } + /** * Protobuf enum {@code viam.app.v1.RegistryItemStatus} */ @@ -5850,6 +6071,17 @@ public interface OrganizationOrBuilder extends */ com.google.protobuf.ByteString getCidBytes(); + + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + * @return Whether the defaultFragments field is set. + */ + boolean hasDefaultFragments(); + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + * @return The defaultFragments. + */ + viam.app.v1.AppOuterClass.FragmentImportList getDefaultFragments(); } /** * Protobuf type {@code viam.app.v1.Organization} @@ -6181,6 +6413,52 @@ private void setCidBytes( bitField0_ |= 0x00000002; } + public static final int DEFAULT_FRAGMENTS_FIELD_NUMBER = 7; + private viam.app.v1.AppOuterClass.FragmentImportList defaultFragments_; + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + @java.lang.Override + public boolean hasDefaultFragments() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.FragmentImportList getDefaultFragments() { + return defaultFragments_ == null ? viam.app.v1.AppOuterClass.FragmentImportList.getDefaultInstance() : defaultFragments_; + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + private void setDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { + value.getClass(); + defaultFragments_ = value; + bitField0_ |= 0x00000004; + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + @java.lang.SuppressWarnings({"ReferenceEquality"}) + private void mergeDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { + value.getClass(); + if (defaultFragments_ != null && + defaultFragments_ != viam.app.v1.AppOuterClass.FragmentImportList.getDefaultInstance()) { + defaultFragments_ = + viam.app.v1.AppOuterClass.FragmentImportList.newBuilder(defaultFragments_).mergeFrom(value).buildPartial(); + } else { + defaultFragments_ = value; + } + bitField0_ |= 0x00000004; + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + private void clearDefaultFragments() { defaultFragments_ = null; + bitField0_ = (bitField0_ & ~0x00000004); + } + public static viam.app.v1.AppOuterClass.Organization parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6603,6 +6881,53 @@ public Builder setCidBytes( return this; } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + @java.lang.Override + public boolean hasDefaultFragments() { + return instance.hasDefaultFragments(); + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.FragmentImportList getDefaultFragments() { + return instance.getDefaultFragments(); + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + public Builder setDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { + copyOnWrite(); + instance.setDefaultFragments(value); + return this; + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + public Builder setDefaultFragments( + viam.app.v1.AppOuterClass.FragmentImportList.Builder builderForValue) { + copyOnWrite(); + instance.setDefaultFragments(builderForValue.build()); + return this; + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + public Builder mergeDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { + copyOnWrite(); + instance.mergeDefaultFragments(value); + return this; + } + /** + * optional .viam.app.v1.FragmentImportList default_fragments = 7 [json_name = "defaultFragments"]; + */ + public Builder clearDefaultFragments() { copyOnWrite(); + instance.clearDefaultFragments(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.v1.Organization) } @java.lang.Override @@ -6626,10 +6951,11 @@ protected final java.lang.Object dynamicMethod( "publicNamespace_", "defaultRegion_", "cid_", + "defaultFragments_", }; java.lang.String info = - "\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + - "\u0003\u1009\u0000\u0004\u0208\u0005\u0208\u0006\u1208\u0001"; + "\u0000\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + + "\u0003\u1009\u0000\u0004\u0208\u0005\u0208\u0006\u1208\u0001\u0007\u1009\u0002"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -10455,18 +10781,18 @@ public interface FragmentImportListOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ java.util.List - getImportsList(); + getFragmentsList(); /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - viam.app.v1.AppOuterClass.FragmentImport getImports(int index); + viam.app.v1.AppOuterClass.FragmentImport getFragments(int index); /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - int getImportsCount(); + int getFragmentsCount(); } /** * Protobuf type {@code viam.app.v1.FragmentImportList} @@ -10477,100 +10803,100 @@ public static final class FragmentImportList extends // @@protoc_insertion_point(message_implements:viam.app.v1.FragmentImportList) FragmentImportListOrBuilder { private FragmentImportList() { - imports_ = emptyProtobufList(); + fragments_ = emptyProtobufList(); } - public static final int IMPORTS_FIELD_NUMBER = 1; - private com.google.protobuf.Internal.ProtobufList imports_; + public static final int FRAGMENTS_FIELD_NUMBER = 1; + private com.google.protobuf.Internal.ProtobufList fragments_; /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ @java.lang.Override - public java.util.List getImportsList() { - return imports_; + public java.util.List getFragmentsList() { + return fragments_; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ public java.util.List - getImportsOrBuilderList() { - return imports_; + getFragmentsOrBuilderList() { + return fragments_; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ @java.lang.Override - public int getImportsCount() { - return imports_.size(); + public int getFragmentsCount() { + return fragments_.size(); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ @java.lang.Override - public viam.app.v1.AppOuterClass.FragmentImport getImports(int index) { - return imports_.get(index); + public viam.app.v1.AppOuterClass.FragmentImport getFragments(int index) { + return fragments_.get(index); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public viam.app.v1.AppOuterClass.FragmentImportOrBuilder getImportsOrBuilder( + public viam.app.v1.AppOuterClass.FragmentImportOrBuilder getFragmentsOrBuilder( int index) { - return imports_.get(index); + return fragments_.get(index); } - private void ensureImportsIsMutable() { - com.google.protobuf.Internal.ProtobufList tmp = imports_; + private void ensureFragmentsIsMutable() { + com.google.protobuf.Internal.ProtobufList tmp = fragments_; if (!tmp.isModifiable()) { - imports_ = + fragments_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - private void setImports( + private void setFragments( int index, viam.app.v1.AppOuterClass.FragmentImport value) { value.getClass(); - ensureImportsIsMutable(); - imports_.set(index, value); + ensureFragmentsIsMutable(); + fragments_.set(index, value); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - private void addImports(viam.app.v1.AppOuterClass.FragmentImport value) { + private void addFragments(viam.app.v1.AppOuterClass.FragmentImport value) { value.getClass(); - ensureImportsIsMutable(); - imports_.add(value); + ensureFragmentsIsMutable(); + fragments_.add(value); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - private void addImports( + private void addFragments( int index, viam.app.v1.AppOuterClass.FragmentImport value) { value.getClass(); - ensureImportsIsMutable(); - imports_.add(index, value); + ensureFragmentsIsMutable(); + fragments_.add(index, value); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - private void addAllImports( + private void addAllFragments( java.lang.Iterable values) { - ensureImportsIsMutable(); + ensureFragmentsIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( - values, imports_); + values, fragments_); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - private void clearImports() { - imports_ = emptyProtobufList(); + private void clearFragments() { + fragments_ = emptyProtobufList(); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - private void removeImports(int index) { - ensureImportsIsMutable(); - imports_.remove(index); + private void removeFragments(int index) { + ensureFragmentsIsMutable(); + fragments_.remove(index); } public static viam.app.v1.AppOuterClass.FragmentImportList parseFrom( @@ -10671,104 +10997,104 @@ private Builder() { /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ @java.lang.Override - public java.util.List getImportsList() { + public java.util.List getFragmentsList() { return java.util.Collections.unmodifiableList( - instance.getImportsList()); + instance.getFragmentsList()); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ @java.lang.Override - public int getImportsCount() { - return instance.getImportsCount(); + public int getFragmentsCount() { + return instance.getFragmentsCount(); }/** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ @java.lang.Override - public viam.app.v1.AppOuterClass.FragmentImport getImports(int index) { - return instance.getImports(index); + public viam.app.v1.AppOuterClass.FragmentImport getFragments(int index) { + return instance.getFragments(index); } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder setImports( + public Builder setFragments( int index, viam.app.v1.AppOuterClass.FragmentImport value) { copyOnWrite(); - instance.setImports(index, value); + instance.setFragments(index, value); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder setImports( + public Builder setFragments( int index, viam.app.v1.AppOuterClass.FragmentImport.Builder builderForValue) { copyOnWrite(); - instance.setImports(index, + instance.setFragments(index, builderForValue.build()); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder addImports(viam.app.v1.AppOuterClass.FragmentImport value) { + public Builder addFragments(viam.app.v1.AppOuterClass.FragmentImport value) { copyOnWrite(); - instance.addImports(value); + instance.addFragments(value); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder addImports( + public Builder addFragments( int index, viam.app.v1.AppOuterClass.FragmentImport value) { copyOnWrite(); - instance.addImports(index, value); + instance.addFragments(index, value); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder addImports( + public Builder addFragments( viam.app.v1.AppOuterClass.FragmentImport.Builder builderForValue) { copyOnWrite(); - instance.addImports(builderForValue.build()); + instance.addFragments(builderForValue.build()); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder addImports( + public Builder addFragments( int index, viam.app.v1.AppOuterClass.FragmentImport.Builder builderForValue) { copyOnWrite(); - instance.addImports(index, + instance.addFragments(index, builderForValue.build()); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder addAllImports( + public Builder addAllFragments( java.lang.Iterable values) { copyOnWrite(); - instance.addAllImports(values); + instance.addAllFragments(values); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder clearImports() { + public Builder clearFragments() { copyOnWrite(); - instance.clearImports(); + instance.clearFragments(); return this; } /** - * repeated .viam.app.v1.FragmentImport imports = 1 [json_name = "imports"]; + * repeated .viam.app.v1.FragmentImport fragments = 1 [json_name = "fragments"]; */ - public Builder removeImports(int index) { + public Builder removeFragments(int index) { copyOnWrite(); - instance.removeImports(index); + instance.removeFragments(index); return this; } @@ -10788,7 +11114,7 @@ protected final java.lang.Object dynamicMethod( } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { - "imports_", + "fragments_", viam.app.v1.AppOuterClass.FragmentImport.class, }; java.lang.String info = @@ -10944,15 +11270,15 @@ public interface UpdateOrganizationRequestOrBuilder extends getCidBytes(); /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; - * @return Whether the fragmentImports field is set. + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; + * @return Whether the defaultFragments field is set. */ - boolean hasFragmentImports(); + boolean hasDefaultFragments(); /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; - * @return The fragmentImports. + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; + * @return The defaultFragments. */ - viam.app.v1.AppOuterClass.FragmentImportList getFragmentImports(); + viam.app.v1.AppOuterClass.FragmentImportList getDefaultFragments(); } /** * Protobuf type {@code viam.app.v1.UpdateOrganizationRequest} @@ -11261,49 +11587,49 @@ private void setCidBytes( bitField0_ |= 0x00000008; } - public static final int FRAGMENT_IMPORTS_FIELD_NUMBER = 6; - private viam.app.v1.AppOuterClass.FragmentImportList fragmentImports_; + public static final int DEFAULT_FRAGMENTS_FIELD_NUMBER = 6; + private viam.app.v1.AppOuterClass.FragmentImportList defaultFragments_; /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ @java.lang.Override - public boolean hasFragmentImports() { + public boolean hasDefaultFragments() { return ((bitField0_ & 0x00000010) != 0); } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ @java.lang.Override - public viam.app.v1.AppOuterClass.FragmentImportList getFragmentImports() { - return fragmentImports_ == null ? viam.app.v1.AppOuterClass.FragmentImportList.getDefaultInstance() : fragmentImports_; + public viam.app.v1.AppOuterClass.FragmentImportList getDefaultFragments() { + return defaultFragments_ == null ? viam.app.v1.AppOuterClass.FragmentImportList.getDefaultInstance() : defaultFragments_; } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ - private void setFragmentImports(viam.app.v1.AppOuterClass.FragmentImportList value) { + private void setDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { value.getClass(); - fragmentImports_ = value; + defaultFragments_ = value; bitField0_ |= 0x00000010; } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) - private void mergeFragmentImports(viam.app.v1.AppOuterClass.FragmentImportList value) { + private void mergeDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { value.getClass(); - if (fragmentImports_ != null && - fragmentImports_ != viam.app.v1.AppOuterClass.FragmentImportList.getDefaultInstance()) { - fragmentImports_ = - viam.app.v1.AppOuterClass.FragmentImportList.newBuilder(fragmentImports_).mergeFrom(value).buildPartial(); + if (defaultFragments_ != null && + defaultFragments_ != viam.app.v1.AppOuterClass.FragmentImportList.getDefaultInstance()) { + defaultFragments_ = + viam.app.v1.AppOuterClass.FragmentImportList.newBuilder(defaultFragments_).mergeFrom(value).buildPartial(); } else { - fragmentImports_ = value; + defaultFragments_ = value; } bitField0_ |= 0x00000010; } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ - private void clearFragmentImports() { fragmentImports_ = null; + private void clearDefaultFragments() { defaultFragments_ = null; bitField0_ = (bitField0_ & ~0x00000010); } @@ -11706,49 +12032,49 @@ public Builder setCidBytes( } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ @java.lang.Override - public boolean hasFragmentImports() { - return instance.hasFragmentImports(); + public boolean hasDefaultFragments() { + return instance.hasDefaultFragments(); } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ @java.lang.Override - public viam.app.v1.AppOuterClass.FragmentImportList getFragmentImports() { - return instance.getFragmentImports(); + public viam.app.v1.AppOuterClass.FragmentImportList getDefaultFragments() { + return instance.getDefaultFragments(); } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ - public Builder setFragmentImports(viam.app.v1.AppOuterClass.FragmentImportList value) { + public Builder setDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { copyOnWrite(); - instance.setFragmentImports(value); + instance.setDefaultFragments(value); return this; } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ - public Builder setFragmentImports( + public Builder setDefaultFragments( viam.app.v1.AppOuterClass.FragmentImportList.Builder builderForValue) { copyOnWrite(); - instance.setFragmentImports(builderForValue.build()); + instance.setDefaultFragments(builderForValue.build()); return this; } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ - public Builder mergeFragmentImports(viam.app.v1.AppOuterClass.FragmentImportList value) { + public Builder mergeDefaultFragments(viam.app.v1.AppOuterClass.FragmentImportList value) { copyOnWrite(); - instance.mergeFragmentImports(value); + instance.mergeDefaultFragments(value); return this; } /** - * optional .viam.app.v1.FragmentImportList fragment_imports = 6 [json_name = "fragmentImports"]; + * optional .viam.app.v1.FragmentImportList default_fragments = 6 [json_name = "defaultFragments"]; */ - public Builder clearFragmentImports() { copyOnWrite(); - instance.clearFragmentImports(); + public Builder clearDefaultFragments() { copyOnWrite(); + instance.clearDefaultFragments(); return this; } @@ -11774,7 +12100,7 @@ protected final java.lang.Object dynamicMethod( "publicNamespace_", "region_", "cid_", - "fragmentImports_", + "defaultFragments_", }; java.lang.String info = "\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u1208" + @@ -25206,7 +25532,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=621 + * See app/v1/app.proto;l=622 * @return The secret. */ @java.lang.Deprecated java.lang.String getSecret(); @@ -25217,7 +25543,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=621 + * See app/v1/app.proto;l=622 * @return The bytes for secret. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -25291,7 +25617,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=621 + * See app/v1/app.proto;l=622 * @return The secret. */ @java.lang.Override @@ -25305,7 +25631,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=621 + * See app/v1/app.proto;l=622 * @return The bytes for secret. */ @java.lang.Override @@ -25320,7 +25646,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=621 + * See app/v1/app.proto;l=622 * @param value The secret to set. */ private void setSecret( @@ -25336,7 +25662,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=621 + * See app/v1/app.proto;l=622 */ private void clearSecret() { @@ -25349,7 +25675,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=621 + * See app/v1/app.proto;l=622 * @param value The bytes for secret to set. */ private void setSecretBytes( @@ -25668,7 +25994,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=621 + * See app/v1/app.proto;l=622 * @return The secret. */ @java.lang.Override @@ -25682,7 +26008,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=621 + * See app/v1/app.proto;l=622 * @return The bytes for secret. */ @java.lang.Override @@ -25697,7 +26023,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=621 + * See app/v1/app.proto;l=622 * @param value The secret to set. * @return This builder for chaining. */ @@ -25714,7 +26040,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=621 + * See app/v1/app.proto;l=622 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSecret() { @@ -25729,7 +26055,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=621 + * See app/v1/app.proto;l=622 * @param value The bytes for secret to set. * @return This builder for chaining. */ @@ -42298,7 +42624,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=852 + * See app/v1/app.proto;l=853 * @return The errorsOnly. */ @java.lang.Deprecated boolean getErrorsOnly(); @@ -42511,7 +42837,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=852 + * See app/v1/app.proto;l=853 * @return The errorsOnly. */ @java.lang.Override @@ -42525,7 +42851,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=852 + * See app/v1/app.proto;l=853 * @param value The errorsOnly to set. */ private void setErrorsOnly(boolean value) { @@ -42539,7 +42865,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=852 + * See app/v1/app.proto;l=853 */ private void clearErrorsOnly() { @@ -43153,7 +43479,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=852 + * See app/v1/app.proto;l=853 * @return The errorsOnly. */ @java.lang.Override @@ -43167,7 +43493,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=852 + * See app/v1/app.proto;l=853 * @param value The errorsOnly to set. * @return This builder for chaining. */ @@ -43183,7 +43509,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=852 + * See app/v1/app.proto;l=853 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearErrorsOnly() { @@ -88501,6 +88827,62 @@ public interface ModuleMetadataOrBuilder extends * repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; */ int getAppsCount(); + + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return Whether the sourceType field is set. + */ + boolean hasSourceType(); + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return The enum numeric value on the wire for sourceType. + */ + int getSourceTypeValue(); + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return The sourceType. + */ + viam.app.v1.AppOuterClass.ModuleSourceType getSourceType(); + + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return Whether the language field is set. + */ + boolean hasLanguage(); + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return The enum numeric value on the wire for language. + */ + int getLanguageValue(); + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return The language. + */ + viam.app.v1.AppOuterClass.ModuleLanguage getLanguage(); } /** * Protobuf type {@code viam.app.v1.ModuleMetadata} @@ -89169,6 +89551,154 @@ private void removeApps(int index) { apps_.remove(index); } + public static final int SOURCE_TYPE_FIELD_NUMBER = 7; + private int sourceType_; + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return Whether the sourceType field is set. + */ + @java.lang.Override + public boolean hasSourceType() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return The sourceType. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleSourceType getSourceType() { + viam.app.v1.AppOuterClass.ModuleSourceType result = viam.app.v1.AppOuterClass.ModuleSourceType.forNumber(sourceType_); + return result == null ? viam.app.v1.AppOuterClass.ModuleSourceType.UNRECOGNIZED : result; + } + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @param value The enum numeric value on the wire for sourceType to set. + */ + private void setSourceTypeValue(int value) { + bitField0_ |= 0x00000004; sourceType_ = value; + } + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @param value The sourceType to set. + */ + private void setSourceType(viam.app.v1.AppOuterClass.ModuleSourceType value) { + sourceType_ = value.getNumber(); + bitField0_ |= 0x00000004; + } + /** + *
+     * Determines the type of module, either a registry module or an inline module.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + */ + private void clearSourceType() { + bitField0_ = (bitField0_ & ~0x00000004); + sourceType_ = 0; + } + + public static final int LANGUAGE_FIELD_NUMBER = 8; + private int language_; + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return Whether the language field is set. + */ + @java.lang.Override + public boolean hasLanguage() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return The enum numeric value on the wire for language. + */ + @java.lang.Override + public int getLanguageValue() { + return language_; + } + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return The language. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleLanguage getLanguage() { + viam.app.v1.AppOuterClass.ModuleLanguage result = viam.app.v1.AppOuterClass.ModuleLanguage.forNumber(language_); + return result == null ? viam.app.v1.AppOuterClass.ModuleLanguage.UNRECOGNIZED : result; + } + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @param value The enum numeric value on the wire for language to set. + */ + private void setLanguageValue(int value) { + bitField0_ |= 0x00000008; language_ = value; + } + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @param value The language to set. + */ + private void setLanguage(viam.app.v1.AppOuterClass.ModuleLanguage value) { + language_ = value.getNumber(); + bitField0_ |= 0x00000008; + } + /** + *
+     * Specifies the language that the module is written in.
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + */ + private void clearLanguage() { + bitField0_ = (bitField0_ & ~0x00000008); + language_ = 0; + } + public static viam.app.v1.AppOuterClass.ModuleMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -89959,6 +90489,162 @@ public Builder removeApps(int index) { return this; } + /** + *
+       * Determines the type of module, either a registry module or an inline module.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return Whether the sourceType field is set. + */ + @java.lang.Override + public boolean hasSourceType() { + return instance.hasSourceType(); + } + /** + *
+       * Determines the type of module, either a registry module or an inline module.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return instance.getSourceTypeValue(); + } + /** + *
+       * Determines the type of module, either a registry module or an inline module.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @param value The sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceTypeValue(int value) { + copyOnWrite(); + instance.setSourceTypeValue(value); + return this; + } + /** + *
+       * Determines the type of module, either a registry module or an inline module.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return The sourceType. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleSourceType getSourceType() { + return instance.getSourceType(); + } + /** + *
+       * Determines the type of module, either a registry module or an inline module.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @param value The enum numeric value on the wire for sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceType(viam.app.v1.AppOuterClass.ModuleSourceType value) { + copyOnWrite(); + instance.setSourceType(value); + return this; + } + /** + *
+       * Determines the type of module, either a registry module or an inline module.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 7 [json_name = "sourceType"]; + * @return This builder for chaining. + */ + public Builder clearSourceType() { + copyOnWrite(); + instance.clearSourceType(); + return this; + } + + /** + *
+       * Specifies the language that the module is written in.
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return Whether the language field is set. + */ + @java.lang.Override + public boolean hasLanguage() { + return instance.hasLanguage(); + } + /** + *
+       * Specifies the language that the module is written in.
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return The enum numeric value on the wire for language. + */ + @java.lang.Override + public int getLanguageValue() { + return instance.getLanguageValue(); + } + /** + *
+       * Specifies the language that the module is written in.
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @param value The language to set. + * @return This builder for chaining. + */ + public Builder setLanguageValue(int value) { + copyOnWrite(); + instance.setLanguageValue(value); + return this; + } + /** + *
+       * Specifies the language that the module is written in.
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return The language. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleLanguage getLanguage() { + return instance.getLanguage(); + } + /** + *
+       * Specifies the language that the module is written in.
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @param value The enum numeric value on the wire for language to set. + * @return This builder for chaining. + */ + public Builder setLanguage(viam.app.v1.AppOuterClass.ModuleLanguage value) { + copyOnWrite(); + instance.setLanguage(value); + return this; + } + /** + *
+       * Specifies the language that the module is written in.
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 8 [json_name = "language"]; + * @return This builder for chaining. + */ + public Builder clearLanguage() { + copyOnWrite(); + instance.clearLanguage(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.v1.ModuleMetadata) } @java.lang.Override @@ -89985,10 +90671,13 @@ protected final java.lang.Object dynamicMethod( "markdownDescription_", "apps_", viam.app.v1.AppOuterClass.App.class, + "sourceType_", + "language_", }; java.lang.String info = - "\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0003\u0000\u0001\u001b\u0002\u001b" + - "\u0003\u0208\u0004\u1208\u0000\u0005\u1208\u0001\u0006\u001b"; + "\u0000\b\u0000\u0001\u0001\b\b\u0000\u0003\u0000\u0001\u001b\u0002\u001b\u0003\u0208" + + "\u0004\u1208\u0000\u0005\u1208\u0001\u0006\u001b\u0007\u100c\u0002\b\u100c\u0003" + + ""; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -90043,6 +90732,408 @@ public static com.google.protobuf.Parser parser() { } } + public interface MLModelVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.MLModelVersion) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * string version = 1 [json_name = "version"]; + * @return The version. + */ + java.lang.String getVersion(); + /** + * string version = 1 [json_name = "version"]; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + * @return Whether the createdOn field is set. + */ + boolean hasCreatedOn(); + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + * @return The createdOn. + */ + com.google.protobuf.Timestamp getCreatedOn(); + } + /** + * Protobuf type {@code viam.app.v1.MLModelVersion} + */ + public static final class MLModelVersion extends + com.google.protobuf.GeneratedMessageLite< + MLModelVersion, MLModelVersion.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.MLModelVersion) + MLModelVersionOrBuilder { + private MLModelVersion() { + version_ = ""; + } + private int bitField0_; + public static final int VERSION_FIELD_NUMBER = 1; + private java.lang.String version_; + /** + * string version = 1 [json_name = "version"]; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + return version_; + } + /** + * string version = 1 [json_name = "version"]; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(version_); + } + /** + * string version = 1 [json_name = "version"]; + * @param value The version to set. + */ + private void setVersion( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + version_ = value; + } + /** + * string version = 1 [json_name = "version"]; + */ + private void clearVersion() { + + version_ = getDefaultInstance().getVersion(); + } + /** + * string version = 1 [json_name = "version"]; + * @param value The bytes for version to set. + */ + private void setVersionBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + version_ = value.toStringUtf8(); + + } + + public static final int CREATED_ON_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp createdOn_; + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + @java.lang.Override + public boolean hasCreatedOn() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreatedOn() { + return createdOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdOn_; + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + private void setCreatedOn(com.google.protobuf.Timestamp value) { + value.getClass(); + createdOn_ = value; + bitField0_ |= 0x00000001; + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + @java.lang.SuppressWarnings({"ReferenceEquality"}) + private void mergeCreatedOn(com.google.protobuf.Timestamp value) { + value.getClass(); + if (createdOn_ != null && + createdOn_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + createdOn_ = + com.google.protobuf.Timestamp.newBuilder(createdOn_).mergeFrom(value).buildPartial(); + } else { + createdOn_ = value; + } + bitField0_ |= 0x00000001; + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + private void clearCreatedOn() { createdOn_ = null; + bitField0_ = (bitField0_ & ~0x00000001); + } + + public static viam.app.v1.AppOuterClass.MLModelVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.AppOuterClass.MLModelVersion 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.v1.AppOuterClass.MLModelVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.AppOuterClass.MLModelVersion 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.v1.AppOuterClass.MLModelVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.AppOuterClass.MLModelVersion 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.v1.AppOuterClass.MLModelVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.AppOuterClass.MLModelVersion 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.v1.AppOuterClass.MLModelVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.AppOuterClass.MLModelVersion parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.AppOuterClass.MLModelVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.AppOuterClass.MLModelVersion 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.v1.AppOuterClass.MLModelVersion prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + * Protobuf type {@code viam.app.v1.MLModelVersion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.AppOuterClass.MLModelVersion, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.MLModelVersion) + viam.app.v1.AppOuterClass.MLModelVersionOrBuilder { + // Construct using viam.app.v1.AppOuterClass.MLModelVersion.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * string version = 1 [json_name = "version"]; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + return instance.getVersion(); + } + /** + * string version = 1 [json_name = "version"]; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + return instance.getVersionBytes(); + } + /** + * string version = 1 [json_name = "version"]; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + copyOnWrite(); + instance.setVersion(value); + return this; + } + /** + * string version = 1 [json_name = "version"]; + * @return This builder for chaining. + */ + public Builder clearVersion() { + copyOnWrite(); + instance.clearVersion(); + return this; + } + /** + * string version = 1 [json_name = "version"]; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setVersionBytes(value); + return this; + } + + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + @java.lang.Override + public boolean hasCreatedOn() { + return instance.hasCreatedOn(); + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreatedOn() { + return instance.getCreatedOn(); + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + public Builder setCreatedOn(com.google.protobuf.Timestamp value) { + copyOnWrite(); + instance.setCreatedOn(value); + return this; + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + public Builder setCreatedOn( + com.google.protobuf.Timestamp.Builder builderForValue) { + copyOnWrite(); + instance.setCreatedOn(builderForValue.build()); + return this; + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + public Builder mergeCreatedOn(com.google.protobuf.Timestamp value) { + copyOnWrite(); + instance.mergeCreatedOn(value); + return this; + } + /** + * .google.protobuf.Timestamp created_on = 2 [json_name = "createdOn"]; + */ + public Builder clearCreatedOn() { copyOnWrite(); + instance.clearCreatedOn(); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.v1.MLModelVersion) + } + @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.v1.AppOuterClass.MLModelVersion(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "bitField0_", + "version_", + "createdOn_", + }; + java.lang.String info = + "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u1009" + + "\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.v1.AppOuterClass.MLModelVersion.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.v1.MLModelVersion) + private static final viam.app.v1.AppOuterClass.MLModelVersion DEFAULT_INSTANCE; + static { + MLModelVersion defaultInstance = new MLModelVersion(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + MLModelVersion.class, defaultInstance); + } + + public static viam.app.v1.AppOuterClass.MLModelVersion 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 MLModelMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:viam.app.v1.MLModelMetadata) com.google.protobuf.MessageLiteOrBuilder { @@ -90052,40 +91143,48 @@ public interface MLModelMetadataOrBuilder extends * A list of package versions for a ML model *
* - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @return A list containing the versions. */ - java.util.List + @java.lang.Deprecated java.util.List getVersionsList(); /** *
      * A list of package versions for a ML model
      * 
* - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @return The count of versions. */ - int getVersionsCount(); + @java.lang.Deprecated int getVersionsCount(); /** *
      * A list of package versions for a ML model
      * 
* - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index of the element to return. * @return The versions at the given index. */ - java.lang.String getVersions(int index); + @java.lang.Deprecated java.lang.String getVersions(int index); /** *
      * A list of package versions for a ML model
      * 
* - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index of the element to return. * @return The versions at the given index. */ - com.google.protobuf.ByteString + @java.lang.Deprecated com.google.protobuf.ByteString getVersionsBytes(int index); /** @@ -90109,6 +91208,20 @@ public interface MLModelMetadataOrBuilder extends * @return The modelFramework. */ viam.app.mltraining.v1.MlTraining.ModelFramework getModelFramework(); + + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + java.util.List + getDetailedVersionsList(); + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + viam.app.v1.AppOuterClass.MLModelVersion getDetailedVersions(int index); + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + int getDetailedVersionsCount(); } /** * Protobuf type {@code viam.app.v1.MLModelMetadata} @@ -90120,6 +91233,7 @@ public static final class MLModelMetadata extends MLModelMetadataOrBuilder { private MLModelMetadata() { versions_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); + detailedVersions_ = emptyProtobufList(); } public static final int VERSIONS_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList versions_; @@ -90128,11 +91242,13 @@ private MLModelMetadata() { * A list of package versions for a ML model *
* - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @return A list containing the versions. */ @java.lang.Override - public java.util.List getVersionsList() { + @java.lang.Deprecated public java.util.List getVersionsList() { return versions_; } /** @@ -90140,11 +91256,13 @@ public java.util.List getVersionsList() { * A list of package versions for a ML model *
* - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @return The count of versions. */ @java.lang.Override - public int getVersionsCount() { + @java.lang.Deprecated public int getVersionsCount() { return versions_.size(); } /** @@ -90152,12 +91270,14 @@ public int getVersionsCount() { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index of the element to return. * @return The versions at the given index. */ @java.lang.Override - public java.lang.String getVersions(int index) { + @java.lang.Deprecated public java.lang.String getVersions(int index) { return versions_.get(index); } /** @@ -90165,12 +91285,14 @@ public java.lang.String getVersions(int index) { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index of the value to return. * @return The bytes of the versions at the given index. */ @java.lang.Override - public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getVersionsBytes(int index) { return com.google.protobuf.ByteString.copyFromUtf8( versions_.get(index)); @@ -90187,7 +91309,9 @@ private void ensureVersionsIsMutable() { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index to set the value at. * @param value The versions to set. */ @@ -90202,7 +91326,9 @@ private void setVersions( * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param value The versions to add. */ private void addVersions( @@ -90216,7 +91342,9 @@ private void addVersions( * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param values The versions to add. */ private void addAllVersions( @@ -90230,7 +91358,9 @@ private void addAllVersions( * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 */ private void clearVersions() { versions_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); @@ -90240,7 +91370,9 @@ private void clearVersions() { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param value The bytes of the versions to add. */ private void addVersionsBytes( @@ -90334,6 +91466,100 @@ private void clearModelFramework() { modelFramework_ = 0; } + public static final int DETAILED_VERSIONS_FIELD_NUMBER = 4; + private com.google.protobuf.Internal.ProtobufList detailedVersions_; + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + @java.lang.Override + public java.util.List getDetailedVersionsList() { + return detailedVersions_; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public java.util.List + getDetailedVersionsOrBuilderList() { + return detailedVersions_; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + @java.lang.Override + public int getDetailedVersionsCount() { + return detailedVersions_.size(); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.MLModelVersion getDetailedVersions(int index) { + return detailedVersions_.get(index); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public viam.app.v1.AppOuterClass.MLModelVersionOrBuilder getDetailedVersionsOrBuilder( + int index) { + return detailedVersions_.get(index); + } + private void ensureDetailedVersionsIsMutable() { + com.google.protobuf.Internal.ProtobufList tmp = detailedVersions_; + if (!tmp.isModifiable()) { + detailedVersions_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + private void setDetailedVersions( + int index, viam.app.v1.AppOuterClass.MLModelVersion value) { + value.getClass(); + ensureDetailedVersionsIsMutable(); + detailedVersions_.set(index, value); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + private void addDetailedVersions(viam.app.v1.AppOuterClass.MLModelVersion value) { + value.getClass(); + ensureDetailedVersionsIsMutable(); + detailedVersions_.add(value); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + private void addDetailedVersions( + int index, viam.app.v1.AppOuterClass.MLModelVersion value) { + value.getClass(); + ensureDetailedVersionsIsMutable(); + detailedVersions_.add(index, value); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + private void addAllDetailedVersions( + java.lang.Iterable values) { + ensureDetailedVersionsIsMutable(); + com.google.protobuf.AbstractMessageLite.addAll( + values, detailedVersions_); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + private void clearDetailedVersions() { + detailedVersions_ = emptyProtobufList(); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + private void removeDetailedVersions(int index) { + ensureDetailedVersionsIsMutable(); + detailedVersions_.remove(index); + } + public static viam.app.v1.AppOuterClass.MLModelMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -90436,11 +91662,13 @@ private Builder() { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @return A list containing the versions. */ @java.lang.Override - public java.util.List + @java.lang.Deprecated public java.util.List getVersionsList() { return java.util.Collections.unmodifiableList( instance.getVersionsList()); @@ -90450,11 +91678,13 @@ private Builder() { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @return The count of versions. */ @java.lang.Override - public int getVersionsCount() { + @java.lang.Deprecated public int getVersionsCount() { return instance.getVersionsCount(); } /** @@ -90462,12 +91692,14 @@ public int getVersionsCount() { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index of the element to return. * @return The versions at the given index. */ @java.lang.Override - public java.lang.String getVersions(int index) { + @java.lang.Deprecated public java.lang.String getVersions(int index) { return instance.getVersions(index); } /** @@ -90475,12 +91707,14 @@ public java.lang.String getVersions(int index) { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index of the value to return. * @return The bytes of the versions at the given index. */ @java.lang.Override - public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getVersionsBytes(int index) { return instance.getVersionsBytes(index); } @@ -90489,12 +91723,14 @@ public java.lang.String getVersions(int index) { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param index The index to set the value at. * @param value The versions to set. * @return This builder for chaining. */ - public Builder setVersions( + @java.lang.Deprecated public Builder setVersions( int index, java.lang.String value) { copyOnWrite(); instance.setVersions(index, value); @@ -90505,11 +91741,13 @@ public Builder setVersions( * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param value The versions to add. * @return This builder for chaining. */ - public Builder addVersions( + @java.lang.Deprecated public Builder addVersions( java.lang.String value) { copyOnWrite(); instance.addVersions(value); @@ -90520,11 +91758,13 @@ public Builder addVersions( * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param values The versions to add. * @return This builder for chaining. */ - public Builder addAllVersions( + @java.lang.Deprecated public Builder addAllVersions( java.lang.Iterable values) { copyOnWrite(); instance.addAllVersions(values); @@ -90535,10 +91775,12 @@ public Builder addAllVersions( * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @return This builder for chaining. */ - public Builder clearVersions() { + @java.lang.Deprecated public Builder clearVersions() { copyOnWrite(); instance.clearVersions(); return this; @@ -90548,11 +91790,13 @@ public Builder clearVersions() { * A list of package versions for a ML model * * - * repeated string versions = 1 [json_name = "versions"]; + * repeated string versions = 1 [json_name = "versions", deprecated = true]; + * @deprecated viam.app.v1.MLModelMetadata.versions is deprecated. + * See app/v1/app.proto;l=1403 * @param value The bytes of the versions to add. * @return This builder for chaining. */ - public Builder addVersionsBytes( + @java.lang.Deprecated public Builder addVersionsBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.addVersionsBytes(value); @@ -90651,6 +91895,108 @@ public Builder clearModelFramework() { return this; } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + @java.lang.Override + public java.util.List getDetailedVersionsList() { + return java.util.Collections.unmodifiableList( + instance.getDetailedVersionsList()); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + @java.lang.Override + public int getDetailedVersionsCount() { + return instance.getDetailedVersionsCount(); + }/** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.MLModelVersion getDetailedVersions(int index) { + return instance.getDetailedVersions(index); + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder setDetailedVersions( + int index, viam.app.v1.AppOuterClass.MLModelVersion value) { + copyOnWrite(); + instance.setDetailedVersions(index, value); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder setDetailedVersions( + int index, viam.app.v1.AppOuterClass.MLModelVersion.Builder builderForValue) { + copyOnWrite(); + instance.setDetailedVersions(index, + builderForValue.build()); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder addDetailedVersions(viam.app.v1.AppOuterClass.MLModelVersion value) { + copyOnWrite(); + instance.addDetailedVersions(value); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder addDetailedVersions( + int index, viam.app.v1.AppOuterClass.MLModelVersion value) { + copyOnWrite(); + instance.addDetailedVersions(index, value); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder addDetailedVersions( + viam.app.v1.AppOuterClass.MLModelVersion.Builder builderForValue) { + copyOnWrite(); + instance.addDetailedVersions(builderForValue.build()); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder addDetailedVersions( + int index, viam.app.v1.AppOuterClass.MLModelVersion.Builder builderForValue) { + copyOnWrite(); + instance.addDetailedVersions(index, + builderForValue.build()); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder addAllDetailedVersions( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllDetailedVersions(values); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder clearDetailedVersions() { + copyOnWrite(); + instance.clearDetailedVersions(); + return this; + } + /** + * repeated .viam.app.v1.MLModelVersion detailed_versions = 4 [json_name = "detailedVersions"]; + */ + public Builder removeDetailedVersions(int index) { + copyOnWrite(); + instance.removeDetailedVersions(index); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.v1.MLModelMetadata) } @java.lang.Override @@ -90670,10 +92016,12 @@ protected final java.lang.Object dynamicMethod( "versions_", "modelType_", "modelFramework_", + "detailedVersions_", + viam.app.v1.AppOuterClass.MLModelVersion.class, }; java.lang.String info = - "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0001\u0000\u0001\u021a\u0002\f" + - "\u0003\f"; + "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0002\u0000\u0001\u021a\u0002\f" + + "\u0003\f\u0004\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -97596,6 +98944,64 @@ public interface ListRegistryItemsRequestOrBuilder extends * @return The includeMarkdownDocumentation. */ boolean getIncludeMarkdownDocumentation(); + + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return A list containing the moduleSourceTypes. + */ + java.util.List getModuleSourceTypesList(); + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return The count of moduleSourceTypes. + */ + int getModuleSourceTypesCount(); + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index of the element to return. + * @return The moduleSourceTypes at the given index. + */ + viam.app.v1.AppOuterClass.ModuleSourceType getModuleSourceTypes(int index); + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return A list containing the enum numeric values on the wire for moduleSourceTypes. + */ + java.util.List + getModuleSourceTypesValueList(); + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of moduleSourceTypes at the given index. + */ + int getModuleSourceTypesValue(int index); + + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return A list containing the moduleLanguages. + */ + java.util.List getModuleLanguagesList(); + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return The count of moduleLanguages. + */ + int getModuleLanguagesCount(); + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index of the element to return. + * @return The moduleLanguages at the given index. + */ + viam.app.v1.AppOuterClass.ModuleLanguage getModuleLanguages(int index); + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return A list containing the enum numeric values on the wire for moduleLanguages. + */ + java.util.List + getModuleLanguagesValueList(); + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of moduleLanguages at the given index. + */ + int getModuleLanguagesValue(int index); } /** * Protobuf type {@code viam.app.v1.ListRegistryItemsRequest} @@ -97614,6 +99020,8 @@ private ListRegistryItemsRequest() { searchTerm_ = ""; pageToken_ = ""; publicNamespaces_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); + moduleSourceTypes_ = emptyIntList(); + moduleLanguages_ = emptyIntList(); } private int bitField0_; public static final int ORGANIZATION_ID_FIELD_NUMBER = 1; @@ -98454,6 +99862,268 @@ private void clearIncludeMarkdownDocumentation() { includeMarkdownDocumentation_ = false; } + public static final int MODULE_SOURCE_TYPES_FIELD_NUMBER = 10; + private com.google.protobuf.Internal.IntList moduleSourceTypes_; + private static final com.google.protobuf.Internal.IntListAdapter.IntConverter< + viam.app.v1.AppOuterClass.ModuleSourceType> moduleSourceTypes_converter_ = + new com.google.protobuf.Internal.IntListAdapter.IntConverter< + viam.app.v1.AppOuterClass.ModuleSourceType>() { + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleSourceType convert(int from) { + viam.app.v1.AppOuterClass.ModuleSourceType result = viam.app.v1.AppOuterClass.ModuleSourceType.forNumber(from); + return result == null ? viam.app.v1.AppOuterClass.ModuleSourceType.UNRECOGNIZED : result; + } + }; + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return A list containing the moduleSourceTypes. + */ + @java.lang.Override + public java.util.List getModuleSourceTypesList() { + return new com.google.protobuf.Internal.IntListAdapter< + viam.app.v1.AppOuterClass.ModuleSourceType>(moduleSourceTypes_, moduleSourceTypes_converter_); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return The count of moduleSourceTypes. + */ + @java.lang.Override + public int getModuleSourceTypesCount() { + return moduleSourceTypes_.size(); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index of the element to return. + * @return The moduleSourceTypes at the given index. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleSourceType getModuleSourceTypes(int index) { + viam.app.v1.AppOuterClass.ModuleSourceType result = viam.app.v1.AppOuterClass.ModuleSourceType.forNumber(moduleSourceTypes_.getInt(index)); + return result == null ? viam.app.v1.AppOuterClass.ModuleSourceType.UNRECOGNIZED : result; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return A list containing the enum numeric values on the wire for moduleSourceTypes. + */ + @java.lang.Override + public java.util.List + getModuleSourceTypesValueList() { + return moduleSourceTypes_; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of moduleSourceTypes at the given index. + */ + @java.lang.Override + public int getModuleSourceTypesValue(int index) { + return moduleSourceTypes_.getInt(index); + } + private int moduleSourceTypesMemoizedSerializedSize; + private void ensureModuleSourceTypesIsMutable() { + com.google.protobuf.Internal.IntList tmp = moduleSourceTypes_; + if (!tmp.isModifiable()) { + moduleSourceTypes_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index to set the value at. + * @param value The moduleSourceTypes to set. + */ + private void setModuleSourceTypes( + int index, viam.app.v1.AppOuterClass.ModuleSourceType value) { + value.getClass(); + ensureModuleSourceTypesIsMutable(); + moduleSourceTypes_.setInt(index, value.getNumber()); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param value The moduleSourceTypes to add. + */ + private void addModuleSourceTypes(viam.app.v1.AppOuterClass.ModuleSourceType value) { + value.getClass(); + ensureModuleSourceTypesIsMutable(); + moduleSourceTypes_.addInt(value.getNumber()); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param values The moduleSourceTypes to add. + */ + private void addAllModuleSourceTypes( + java.lang.Iterable values) { + ensureModuleSourceTypesIsMutable(); + for (viam.app.v1.AppOuterClass.ModuleSourceType value : values) { + moduleSourceTypes_.addInt(value.getNumber()); + } + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + */ + private void clearModuleSourceTypes() { + moduleSourceTypes_ = emptyIntList(); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param value The enum numeric value on the wire for moduleSourceTypes to set. + */ + private void setModuleSourceTypesValue( + int index, int value) { + ensureModuleSourceTypesIsMutable(); + moduleSourceTypes_.setInt(index, value); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param value The enum numeric value on the wire for moduleSourceTypes to add. + */ + private void addModuleSourceTypesValue(int value) { + ensureModuleSourceTypesIsMutable(); + moduleSourceTypes_.addInt(value); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param values The enum numeric values on the wire for moduleSourceTypes to add. + */ + private void addAllModuleSourceTypesValue( + java.lang.Iterable values) { + ensureModuleSourceTypesIsMutable(); + for (int value : values) { + moduleSourceTypes_.addInt(value); + } + } + + public static final int MODULE_LANGUAGES_FIELD_NUMBER = 11; + private com.google.protobuf.Internal.IntList moduleLanguages_; + private static final com.google.protobuf.Internal.IntListAdapter.IntConverter< + viam.app.v1.AppOuterClass.ModuleLanguage> moduleLanguages_converter_ = + new com.google.protobuf.Internal.IntListAdapter.IntConverter< + viam.app.v1.AppOuterClass.ModuleLanguage>() { + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleLanguage convert(int from) { + viam.app.v1.AppOuterClass.ModuleLanguage result = viam.app.v1.AppOuterClass.ModuleLanguage.forNumber(from); + return result == null ? viam.app.v1.AppOuterClass.ModuleLanguage.UNRECOGNIZED : result; + } + }; + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return A list containing the moduleLanguages. + */ + @java.lang.Override + public java.util.List getModuleLanguagesList() { + return new com.google.protobuf.Internal.IntListAdapter< + viam.app.v1.AppOuterClass.ModuleLanguage>(moduleLanguages_, moduleLanguages_converter_); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return The count of moduleLanguages. + */ + @java.lang.Override + public int getModuleLanguagesCount() { + return moduleLanguages_.size(); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index of the element to return. + * @return The moduleLanguages at the given index. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleLanguage getModuleLanguages(int index) { + viam.app.v1.AppOuterClass.ModuleLanguage result = viam.app.v1.AppOuterClass.ModuleLanguage.forNumber(moduleLanguages_.getInt(index)); + return result == null ? viam.app.v1.AppOuterClass.ModuleLanguage.UNRECOGNIZED : result; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return A list containing the enum numeric values on the wire for moduleLanguages. + */ + @java.lang.Override + public java.util.List + getModuleLanguagesValueList() { + return moduleLanguages_; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of moduleLanguages at the given index. + */ + @java.lang.Override + public int getModuleLanguagesValue(int index) { + return moduleLanguages_.getInt(index); + } + private int moduleLanguagesMemoizedSerializedSize; + private void ensureModuleLanguagesIsMutable() { + com.google.protobuf.Internal.IntList tmp = moduleLanguages_; + if (!tmp.isModifiable()) { + moduleLanguages_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index to set the value at. + * @param value The moduleLanguages to set. + */ + private void setModuleLanguages( + int index, viam.app.v1.AppOuterClass.ModuleLanguage value) { + value.getClass(); + ensureModuleLanguagesIsMutable(); + moduleLanguages_.setInt(index, value.getNumber()); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param value The moduleLanguages to add. + */ + private void addModuleLanguages(viam.app.v1.AppOuterClass.ModuleLanguage value) { + value.getClass(); + ensureModuleLanguagesIsMutable(); + moduleLanguages_.addInt(value.getNumber()); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param values The moduleLanguages to add. + */ + private void addAllModuleLanguages( + java.lang.Iterable values) { + ensureModuleLanguagesIsMutable(); + for (viam.app.v1.AppOuterClass.ModuleLanguage value : values) { + moduleLanguages_.addInt(value.getNumber()); + } + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + */ + private void clearModuleLanguages() { + moduleLanguages_ = emptyIntList(); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param value The enum numeric value on the wire for moduleLanguages to set. + */ + private void setModuleLanguagesValue( + int index, int value) { + ensureModuleLanguagesIsMutable(); + moduleLanguages_.setInt(index, value); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param value The enum numeric value on the wire for moduleLanguages to add. + */ + private void addModuleLanguagesValue(int value) { + ensureModuleLanguagesIsMutable(); + moduleLanguages_.addInt(value); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param values The enum numeric values on the wire for moduleLanguages to add. + */ + private void addAllModuleLanguagesValue( + java.lang.Iterable values) { + ensureModuleLanguagesIsMutable(); + for (int value : values) { + moduleLanguages_.addInt(value); + } + } + public static viam.app.v1.AppOuterClass.ListRegistryItemsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -99359,6 +101029,244 @@ public Builder clearIncludeMarkdownDocumentation() { return this; } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return A list containing the moduleSourceTypes. + */ + @java.lang.Override + public java.util.List getModuleSourceTypesList() { + return instance.getModuleSourceTypesList(); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return The count of moduleSourceTypes. + */ + @java.lang.Override + public int getModuleSourceTypesCount() { + return instance.getModuleSourceTypesCount(); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index of the element to return. + * @return The moduleSourceTypes at the given index. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleSourceType getModuleSourceTypes(int index) { + return instance.getModuleSourceTypes(index); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index to set the value at. + * @param value The moduleSourceTypes to set. + * @return This builder for chaining. + */ + public Builder setModuleSourceTypes( + int index, viam.app.v1.AppOuterClass.ModuleSourceType value) { + copyOnWrite(); + instance.setModuleSourceTypes(index, value); + return this; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param value The moduleSourceTypes to add. + * @return This builder for chaining. + */ + public Builder addModuleSourceTypes(viam.app.v1.AppOuterClass.ModuleSourceType value) { + copyOnWrite(); + instance.addModuleSourceTypes(value); + return this; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param values The moduleSourceTypes to add. + * @return This builder for chaining. + */ + public Builder addAllModuleSourceTypes( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllModuleSourceTypes(values); return this; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return This builder for chaining. + */ + public Builder clearModuleSourceTypes() { + copyOnWrite(); + instance.clearModuleSourceTypes(); + return this; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @return A list containing the enum numeric values on the wire for moduleSourceTypes. + */ + @java.lang.Override + public java.util.List + getModuleSourceTypesValueList() { + return java.util.Collections.unmodifiableList( + instance.getModuleSourceTypesValueList()); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of moduleSourceTypes at the given index. + */ + @java.lang.Override + public int getModuleSourceTypesValue(int index) { + return instance.getModuleSourceTypesValue(index); + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for moduleSourceTypes to set. + * @return This builder for chaining. + */ + public Builder setModuleSourceTypesValue( + int index, int value) { + copyOnWrite(); + instance.setModuleSourceTypesValue(index, value); + return this; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param value The enum numeric value on the wire for moduleSourceTypes to add. + * @return This builder for chaining. + */ + public Builder addModuleSourceTypesValue(int value) { + copyOnWrite(); + instance.addModuleSourceTypesValue(value); + return this; + } + /** + * repeated .viam.app.v1.ModuleSourceType module_source_types = 10 [json_name = "moduleSourceTypes"]; + * @param values The enum numeric values on the wire for moduleSourceTypes to add. + * @return This builder for chaining. + */ + public Builder addAllModuleSourceTypesValue( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllModuleSourceTypesValue(values); + return this; + } + + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return A list containing the moduleLanguages. + */ + @java.lang.Override + public java.util.List getModuleLanguagesList() { + return instance.getModuleLanguagesList(); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return The count of moduleLanguages. + */ + @java.lang.Override + public int getModuleLanguagesCount() { + return instance.getModuleLanguagesCount(); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index of the element to return. + * @return The moduleLanguages at the given index. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleLanguage getModuleLanguages(int index) { + return instance.getModuleLanguages(index); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index to set the value at. + * @param value The moduleLanguages to set. + * @return This builder for chaining. + */ + public Builder setModuleLanguages( + int index, viam.app.v1.AppOuterClass.ModuleLanguage value) { + copyOnWrite(); + instance.setModuleLanguages(index, value); + return this; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param value The moduleLanguages to add. + * @return This builder for chaining. + */ + public Builder addModuleLanguages(viam.app.v1.AppOuterClass.ModuleLanguage value) { + copyOnWrite(); + instance.addModuleLanguages(value); + return this; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param values The moduleLanguages to add. + * @return This builder for chaining. + */ + public Builder addAllModuleLanguages( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllModuleLanguages(values); return this; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return This builder for chaining. + */ + public Builder clearModuleLanguages() { + copyOnWrite(); + instance.clearModuleLanguages(); + return this; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @return A list containing the enum numeric values on the wire for moduleLanguages. + */ + @java.lang.Override + public java.util.List + getModuleLanguagesValueList() { + return java.util.Collections.unmodifiableList( + instance.getModuleLanguagesValueList()); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of moduleLanguages at the given index. + */ + @java.lang.Override + public int getModuleLanguagesValue(int index) { + return instance.getModuleLanguagesValue(index); + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for moduleLanguages to set. + * @return This builder for chaining. + */ + public Builder setModuleLanguagesValue( + int index, int value) { + copyOnWrite(); + instance.setModuleLanguagesValue(index, value); + return this; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param value The enum numeric value on the wire for moduleLanguages to add. + * @return This builder for chaining. + */ + public Builder addModuleLanguagesValue(int value) { + copyOnWrite(); + instance.addModuleLanguagesValue(value); + return this; + } + /** + * repeated .viam.app.v1.ModuleLanguage module_languages = 11 [json_name = "moduleLanguages"]; + * @param values The enum numeric values on the wire for moduleLanguages to add. + * @return This builder for chaining. + */ + public Builder addAllModuleLanguagesValue( + java.lang.Iterable values) { + copyOnWrite(); + instance.addAllModuleLanguagesValue(values); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.v1.ListRegistryItemsRequest) } @java.lang.Override @@ -99385,10 +101293,13 @@ protected final java.lang.Object dynamicMethod( "pageToken_", "publicNamespaces_", "includeMarkdownDocumentation_", + "moduleSourceTypes_", + "moduleLanguages_", }; java.lang.String info = - "\u0000\t\u0000\u0001\u0001\t\t\u0000\u0005\u0000\u0001\u1208\u0000\u0002,\u0003," + - "\u0004\u021a\u0005,\u0006\u1208\u0001\u0007\u1208\u0002\b\u021a\t\u1007\u0003"; + "\u0000\u000b\u0000\u0001\u0001\u000b\u000b\u0000\u0007\u0000\u0001\u1208\u0000\u0002" + + ",\u0003,\u0004\u021a\u0005,\u0006\u1208\u0001\u0007\u1208\u0002\b\u021a\t\u1007\u0003" + + "\n,\u000b,"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -106366,6 +108277,62 @@ public interface UpdateModuleMetadataOrBuilder extends * repeated .viam.app.v1.App apps = 3 [json_name = "apps"]; */ int getAppsCount(); + + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return Whether the sourceType field is set. + */ + boolean hasSourceType(); + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return The enum numeric value on the wire for sourceType. + */ + int getSourceTypeValue(); + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return The sourceType. + */ + viam.app.v1.AppOuterClass.ModuleSourceType getSourceType(); + + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return Whether the language field is set. + */ + boolean hasLanguage(); + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return The enum numeric value on the wire for language. + */ + int getLanguageValue(); + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return The language. + */ + viam.app.v1.AppOuterClass.ModuleLanguage getLanguage(); } /** * Protobuf type {@code viam.app.v1.UpdateModuleMetadata} @@ -106380,6 +108347,7 @@ private UpdateModuleMetadata() { entrypoint_ = ""; apps_ = emptyProtobufList(); } + private int bitField0_; public static final int MODELS_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList models_; /** @@ -106723,6 +108691,154 @@ private void removeApps(int index) { apps_.remove(index); } + public static final int SOURCE_TYPE_FIELD_NUMBER = 4; + private int sourceType_; + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return Whether the sourceType field is set. + */ + @java.lang.Override + public boolean hasSourceType() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return sourceType_; + } + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return The sourceType. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleSourceType getSourceType() { + viam.app.v1.AppOuterClass.ModuleSourceType result = viam.app.v1.AppOuterClass.ModuleSourceType.forNumber(sourceType_); + return result == null ? viam.app.v1.AppOuterClass.ModuleSourceType.UNRECOGNIZED : result; + } + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @param value The enum numeric value on the wire for sourceType to set. + */ + private void setSourceTypeValue(int value) { + bitField0_ |= 0x00000001; sourceType_ = value; + } + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @param value The sourceType to set. + */ + private void setSourceType(viam.app.v1.AppOuterClass.ModuleSourceType value) { + sourceType_ = value.getNumber(); + bitField0_ |= 0x00000001; + } + /** + *
+     * Determines where the source code of module is managed, either externally or hosted by viam.
+     * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + */ + private void clearSourceType() { + bitField0_ = (bitField0_ & ~0x00000001); + sourceType_ = 0; + } + + public static final int LANGUAGE_FIELD_NUMBER = 5; + private int language_; + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return Whether the language field is set. + */ + @java.lang.Override + public boolean hasLanguage() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return The enum numeric value on the wire for language. + */ + @java.lang.Override + public int getLanguageValue() { + return language_; + } + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return The language. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleLanguage getLanguage() { + viam.app.v1.AppOuterClass.ModuleLanguage result = viam.app.v1.AppOuterClass.ModuleLanguage.forNumber(language_); + return result == null ? viam.app.v1.AppOuterClass.ModuleLanguage.UNRECOGNIZED : result; + } + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @param value The enum numeric value on the wire for language to set. + */ + private void setLanguageValue(int value) { + bitField0_ |= 0x00000002; language_ = value; + } + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @param value The language to set. + */ + private void setLanguage(viam.app.v1.AppOuterClass.ModuleLanguage value) { + language_ = value.getNumber(); + bitField0_ |= 0x00000002; + } + /** + *
+     * The language the module is written in
+     * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + */ + private void clearLanguage() { + bitField0_ = (bitField0_ & ~0x00000002); + language_ = 0; + } + public static viam.app.v1.AppOuterClass.UpdateModuleMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -107189,6 +109305,162 @@ public Builder removeApps(int index) { return this; } + /** + *
+       * Determines where the source code of module is managed, either externally or hosted by viam.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return Whether the sourceType field is set. + */ + @java.lang.Override + public boolean hasSourceType() { + return instance.hasSourceType(); + } + /** + *
+       * Determines where the source code of module is managed, either externally or hosted by viam.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return The enum numeric value on the wire for sourceType. + */ + @java.lang.Override + public int getSourceTypeValue() { + return instance.getSourceTypeValue(); + } + /** + *
+       * Determines where the source code of module is managed, either externally or hosted by viam.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @param value The sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceTypeValue(int value) { + copyOnWrite(); + instance.setSourceTypeValue(value); + return this; + } + /** + *
+       * Determines where the source code of module is managed, either externally or hosted by viam.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return The sourceType. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleSourceType getSourceType() { + return instance.getSourceType(); + } + /** + *
+       * Determines where the source code of module is managed, either externally or hosted by viam.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @param value The enum numeric value on the wire for sourceType to set. + * @return This builder for chaining. + */ + public Builder setSourceType(viam.app.v1.AppOuterClass.ModuleSourceType value) { + copyOnWrite(); + instance.setSourceType(value); + return this; + } + /** + *
+       * Determines where the source code of module is managed, either externally or hosted by viam.
+       * 
+ * + * optional .viam.app.v1.ModuleSourceType source_type = 4 [json_name = "sourceType"]; + * @return This builder for chaining. + */ + public Builder clearSourceType() { + copyOnWrite(); + instance.clearSourceType(); + return this; + } + + /** + *
+       * The language the module is written in
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return Whether the language field is set. + */ + @java.lang.Override + public boolean hasLanguage() { + return instance.hasLanguage(); + } + /** + *
+       * The language the module is written in
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return The enum numeric value on the wire for language. + */ + @java.lang.Override + public int getLanguageValue() { + return instance.getLanguageValue(); + } + /** + *
+       * The language the module is written in
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @param value The language to set. + * @return This builder for chaining. + */ + public Builder setLanguageValue(int value) { + copyOnWrite(); + instance.setLanguageValue(value); + return this; + } + /** + *
+       * The language the module is written in
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return The language. + */ + @java.lang.Override + public viam.app.v1.AppOuterClass.ModuleLanguage getLanguage() { + return instance.getLanguage(); + } + /** + *
+       * The language the module is written in
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @param value The enum numeric value on the wire for language to set. + * @return This builder for chaining. + */ + public Builder setLanguage(viam.app.v1.AppOuterClass.ModuleLanguage value) { + copyOnWrite(); + instance.setLanguage(value); + return this; + } + /** + *
+       * The language the module is written in
+       * 
+ * + * optional .viam.app.v1.ModuleLanguage language = 5 [json_name = "language"]; + * @return This builder for chaining. + */ + public Builder clearLanguage() { + copyOnWrite(); + instance.clearLanguage(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateModuleMetadata) } @java.lang.Override @@ -107205,15 +109477,18 @@ protected final java.lang.Object dynamicMethod( } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { + "bitField0_", "models_", viam.app.v1.AppOuterClass.Model.class, "entrypoint_", "apps_", viam.app.v1.AppOuterClass.App.class, + "sourceType_", + "language_", }; java.lang.String info = - "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0002\u0000\u0001\u001b\u0002\u0208" + - "\u0003\u001b"; + "\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0002\u0000\u0001\u001b\u0002\u0208" + + "\u0003\u001b\u0004\u100c\u0000\u0005\u100c\u0001"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -127378,6 +129653,12 @@ public interface GetAppContentResponseOrBuilder extends * @return The appType. */ viam.app.v1.AppOuterClass.AppType getAppType(); + + /** + * bool public = 4 [json_name = "public"]; + * @return The public. + */ + boolean getPublic(); } /** * Protobuf type {@code viam.app.v1.GetAppContentResponse} @@ -127527,6 +129808,32 @@ private void clearAppType() { appType_ = 0; } + public static final int PUBLIC_FIELD_NUMBER = 4; + private boolean public_; + /** + * bool public = 4 [json_name = "public"]; + * @return The public. + */ + @java.lang.Override + public boolean getPublic() { + return public_; + } + /** + * bool public = 4 [json_name = "public"]; + * @param value The public to set. + */ + private void setPublic(boolean value) { + + public_ = value; + } + /** + * bool public = 4 [json_name = "public"]; + */ + private void clearPublic() { + + public_ = false; + } + public static viam.app.v1.AppOuterClass.GetAppContentResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -127768,6 +130075,34 @@ public Builder clearAppType() { return this; } + /** + * bool public = 4 [json_name = "public"]; + * @return The public. + */ + @java.lang.Override + public boolean getPublic() { + return instance.getPublic(); + } + /** + * bool public = 4 [json_name = "public"]; + * @param value The public to set. + * @return This builder for chaining. + */ + public Builder setPublic(boolean value) { + copyOnWrite(); + instance.setPublic(value); + return this; + } + /** + * bool public = 4 [json_name = "public"]; + * @return This builder for chaining. + */ + public Builder clearPublic() { + copyOnWrite(); + instance.clearPublic(); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.v1.GetAppContentResponse) } @java.lang.Override @@ -127787,10 +130122,11 @@ protected final java.lang.Object dynamicMethod( "blobPath_", "entrypoint_", "appType_", + "public_", }; java.lang.String info = - "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + - "\u0003\f"; + "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + + "\u0003\f\u0004\u0007"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/gen/viam/app/v1/Billing.java b/core/sdk/src/main/gen/viam/app/v1/Billing.java index cacd371ec..1e780156b 100644 --- a/core/sdk/src/main/gen/viam/app/v1/Billing.java +++ b/core/sdk/src/main/gen/viam/app/v1/Billing.java @@ -4628,7 +4628,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends * * double cloud_storage_usage_cost = 3 [json_name = "cloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=125 + * See app/v1/billing.proto;l=131 * @return The cloudStorageUsageCost. */ @java.lang.Deprecated double getCloudStorageUsageCost(); @@ -4636,7 +4636,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double data_upload_usage_cost = 4 [json_name = "dataUploadUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_upload_usage_cost is deprecated. - * See app/v1/billing.proto;l=126 + * See app/v1/billing.proto;l=132 * @return The dataUploadUsageCost. */ @java.lang.Deprecated double getDataUploadUsageCost(); @@ -4644,7 +4644,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double data_egres_usage_cost = 5 [json_name = "dataEgresUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_egres_usage_cost is deprecated. - * See app/v1/billing.proto;l=127 + * See app/v1/billing.proto;l=133 * @return The dataEgresUsageCost. */ @java.lang.Deprecated double getDataEgresUsageCost(); @@ -4652,7 +4652,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double remote_control_usage_cost = 6 [json_name = "remoteControlUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.remote_control_usage_cost is deprecated. - * See app/v1/billing.proto;l=128 + * See app/v1/billing.proto;l=134 * @return The remoteControlUsageCost. */ @java.lang.Deprecated double getRemoteControlUsageCost(); @@ -4660,7 +4660,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double standard_compute_usage_cost = 7 [json_name = "standardComputeUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.standard_compute_usage_cost is deprecated. - * See app/v1/billing.proto;l=129 + * See app/v1/billing.proto;l=135 * @return The standardComputeUsageCost. */ @java.lang.Deprecated double getStandardComputeUsageCost(); @@ -4668,7 +4668,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double discount_amount = 8 [json_name = "discountAmount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.discount_amount is deprecated. - * See app/v1/billing.proto;l=130 + * See app/v1/billing.proto;l=136 * @return The discountAmount. */ @java.lang.Deprecated double getDiscountAmount(); @@ -4676,7 +4676,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double total_usage_with_discount = 9 [json_name = "totalUsageWithDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_with_discount is deprecated. - * See app/v1/billing.proto;l=131 + * See app/v1/billing.proto;l=137 * @return The totalUsageWithDiscount. */ @java.lang.Deprecated double getTotalUsageWithDiscount(); @@ -4684,7 +4684,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double total_usage_without_discount = 10 [json_name = "totalUsageWithoutDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_without_discount is deprecated. - * See app/v1/billing.proto;l=132 + * See app/v1/billing.proto;l=138 * @return The totalUsageWithoutDiscount. */ @java.lang.Deprecated double getTotalUsageWithoutDiscount(); @@ -4692,7 +4692,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double per_machine_usage_cost = 11 [json_name = "perMachineUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.per_machine_usage_cost is deprecated. - * See app/v1/billing.proto;l=133 + * See app/v1/billing.proto;l=139 * @return The perMachineUsageCost. */ @java.lang.Deprecated double getPerMachineUsageCost(); @@ -4700,7 +4700,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double binary_data_cloud_storage_usage_cost = 12 [json_name = "binaryDataCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.binary_data_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=134 + * See app/v1/billing.proto;l=140 * @return The binaryDataCloudStorageUsageCost. */ @java.lang.Deprecated double getBinaryDataCloudStorageUsageCost(); @@ -4708,7 +4708,7 @@ public interface GetCurrentMonthUsageResponseOrBuilder extends /** * double other_cloud_storage_usage_cost = 13 [json_name = "otherCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.other_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=135 + * See app/v1/billing.proto;l=141 * @return The otherCloudStorageUsageCost. */ @java.lang.Deprecated double getOtherCloudStorageUsageCost(); @@ -4946,7 +4946,7 @@ private void clearSubtotal() { * * double cloud_storage_usage_cost = 3 [json_name = "cloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=125 + * See app/v1/billing.proto;l=131 * @return The cloudStorageUsageCost. */ @java.lang.Override @@ -4960,7 +4960,7 @@ private void clearSubtotal() { * * double cloud_storage_usage_cost = 3 [json_name = "cloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=125 + * See app/v1/billing.proto;l=131 * @param value The cloudStorageUsageCost to set. */ private void setCloudStorageUsageCost(double value) { @@ -4974,7 +4974,7 @@ private void setCloudStorageUsageCost(double value) { * * double cloud_storage_usage_cost = 3 [json_name = "cloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=125 + * See app/v1/billing.proto;l=131 */ private void clearCloudStorageUsageCost() { @@ -4986,7 +4986,7 @@ private void clearCloudStorageUsageCost() { /** * double data_upload_usage_cost = 4 [json_name = "dataUploadUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_upload_usage_cost is deprecated. - * See app/v1/billing.proto;l=126 + * See app/v1/billing.proto;l=132 * @return The dataUploadUsageCost. */ @java.lang.Override @@ -4996,7 +4996,7 @@ private void clearCloudStorageUsageCost() { /** * double data_upload_usage_cost = 4 [json_name = "dataUploadUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_upload_usage_cost is deprecated. - * See app/v1/billing.proto;l=126 + * See app/v1/billing.proto;l=132 * @param value The dataUploadUsageCost to set. */ private void setDataUploadUsageCost(double value) { @@ -5006,7 +5006,7 @@ private void setDataUploadUsageCost(double value) { /** * double data_upload_usage_cost = 4 [json_name = "dataUploadUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_upload_usage_cost is deprecated. - * See app/v1/billing.proto;l=126 + * See app/v1/billing.proto;l=132 */ private void clearDataUploadUsageCost() { @@ -5018,7 +5018,7 @@ private void clearDataUploadUsageCost() { /** * double data_egres_usage_cost = 5 [json_name = "dataEgresUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_egres_usage_cost is deprecated. - * See app/v1/billing.proto;l=127 + * See app/v1/billing.proto;l=133 * @return The dataEgresUsageCost. */ @java.lang.Override @@ -5028,7 +5028,7 @@ private void clearDataUploadUsageCost() { /** * double data_egres_usage_cost = 5 [json_name = "dataEgresUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_egres_usage_cost is deprecated. - * See app/v1/billing.proto;l=127 + * See app/v1/billing.proto;l=133 * @param value The dataEgresUsageCost to set. */ private void setDataEgresUsageCost(double value) { @@ -5038,7 +5038,7 @@ private void setDataEgresUsageCost(double value) { /** * double data_egres_usage_cost = 5 [json_name = "dataEgresUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_egres_usage_cost is deprecated. - * See app/v1/billing.proto;l=127 + * See app/v1/billing.proto;l=133 */ private void clearDataEgresUsageCost() { @@ -5050,7 +5050,7 @@ private void clearDataEgresUsageCost() { /** * double remote_control_usage_cost = 6 [json_name = "remoteControlUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.remote_control_usage_cost is deprecated. - * See app/v1/billing.proto;l=128 + * See app/v1/billing.proto;l=134 * @return The remoteControlUsageCost. */ @java.lang.Override @@ -5060,7 +5060,7 @@ private void clearDataEgresUsageCost() { /** * double remote_control_usage_cost = 6 [json_name = "remoteControlUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.remote_control_usage_cost is deprecated. - * See app/v1/billing.proto;l=128 + * See app/v1/billing.proto;l=134 * @param value The remoteControlUsageCost to set. */ private void setRemoteControlUsageCost(double value) { @@ -5070,7 +5070,7 @@ private void setRemoteControlUsageCost(double value) { /** * double remote_control_usage_cost = 6 [json_name = "remoteControlUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.remote_control_usage_cost is deprecated. - * See app/v1/billing.proto;l=128 + * See app/v1/billing.proto;l=134 */ private void clearRemoteControlUsageCost() { @@ -5082,7 +5082,7 @@ private void clearRemoteControlUsageCost() { /** * double standard_compute_usage_cost = 7 [json_name = "standardComputeUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.standard_compute_usage_cost is deprecated. - * See app/v1/billing.proto;l=129 + * See app/v1/billing.proto;l=135 * @return The standardComputeUsageCost. */ @java.lang.Override @@ -5092,7 +5092,7 @@ private void clearRemoteControlUsageCost() { /** * double standard_compute_usage_cost = 7 [json_name = "standardComputeUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.standard_compute_usage_cost is deprecated. - * See app/v1/billing.proto;l=129 + * See app/v1/billing.proto;l=135 * @param value The standardComputeUsageCost to set. */ private void setStandardComputeUsageCost(double value) { @@ -5102,7 +5102,7 @@ private void setStandardComputeUsageCost(double value) { /** * double standard_compute_usage_cost = 7 [json_name = "standardComputeUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.standard_compute_usage_cost is deprecated. - * See app/v1/billing.proto;l=129 + * See app/v1/billing.proto;l=135 */ private void clearStandardComputeUsageCost() { @@ -5114,7 +5114,7 @@ private void clearStandardComputeUsageCost() { /** * double discount_amount = 8 [json_name = "discountAmount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.discount_amount is deprecated. - * See app/v1/billing.proto;l=130 + * See app/v1/billing.proto;l=136 * @return The discountAmount. */ @java.lang.Override @@ -5124,7 +5124,7 @@ private void clearStandardComputeUsageCost() { /** * double discount_amount = 8 [json_name = "discountAmount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.discount_amount is deprecated. - * See app/v1/billing.proto;l=130 + * See app/v1/billing.proto;l=136 * @param value The discountAmount to set. */ private void setDiscountAmount(double value) { @@ -5134,7 +5134,7 @@ private void setDiscountAmount(double value) { /** * double discount_amount = 8 [json_name = "discountAmount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.discount_amount is deprecated. - * See app/v1/billing.proto;l=130 + * See app/v1/billing.proto;l=136 */ private void clearDiscountAmount() { @@ -5146,7 +5146,7 @@ private void clearDiscountAmount() { /** * double total_usage_with_discount = 9 [json_name = "totalUsageWithDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_with_discount is deprecated. - * See app/v1/billing.proto;l=131 + * See app/v1/billing.proto;l=137 * @return The totalUsageWithDiscount. */ @java.lang.Override @@ -5156,7 +5156,7 @@ private void clearDiscountAmount() { /** * double total_usage_with_discount = 9 [json_name = "totalUsageWithDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_with_discount is deprecated. - * See app/v1/billing.proto;l=131 + * See app/v1/billing.proto;l=137 * @param value The totalUsageWithDiscount to set. */ private void setTotalUsageWithDiscount(double value) { @@ -5166,7 +5166,7 @@ private void setTotalUsageWithDiscount(double value) { /** * double total_usage_with_discount = 9 [json_name = "totalUsageWithDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_with_discount is deprecated. - * See app/v1/billing.proto;l=131 + * See app/v1/billing.proto;l=137 */ private void clearTotalUsageWithDiscount() { @@ -5178,7 +5178,7 @@ private void clearTotalUsageWithDiscount() { /** * double total_usage_without_discount = 10 [json_name = "totalUsageWithoutDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_without_discount is deprecated. - * See app/v1/billing.proto;l=132 + * See app/v1/billing.proto;l=138 * @return The totalUsageWithoutDiscount. */ @java.lang.Override @@ -5188,7 +5188,7 @@ private void clearTotalUsageWithDiscount() { /** * double total_usage_without_discount = 10 [json_name = "totalUsageWithoutDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_without_discount is deprecated. - * See app/v1/billing.proto;l=132 + * See app/v1/billing.proto;l=138 * @param value The totalUsageWithoutDiscount to set. */ private void setTotalUsageWithoutDiscount(double value) { @@ -5198,7 +5198,7 @@ private void setTotalUsageWithoutDiscount(double value) { /** * double total_usage_without_discount = 10 [json_name = "totalUsageWithoutDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_without_discount is deprecated. - * See app/v1/billing.proto;l=132 + * See app/v1/billing.proto;l=138 */ private void clearTotalUsageWithoutDiscount() { @@ -5210,7 +5210,7 @@ private void clearTotalUsageWithoutDiscount() { /** * double per_machine_usage_cost = 11 [json_name = "perMachineUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.per_machine_usage_cost is deprecated. - * See app/v1/billing.proto;l=133 + * See app/v1/billing.proto;l=139 * @return The perMachineUsageCost. */ @java.lang.Override @@ -5220,7 +5220,7 @@ private void clearTotalUsageWithoutDiscount() { /** * double per_machine_usage_cost = 11 [json_name = "perMachineUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.per_machine_usage_cost is deprecated. - * See app/v1/billing.proto;l=133 + * See app/v1/billing.proto;l=139 * @param value The perMachineUsageCost to set. */ private void setPerMachineUsageCost(double value) { @@ -5230,7 +5230,7 @@ private void setPerMachineUsageCost(double value) { /** * double per_machine_usage_cost = 11 [json_name = "perMachineUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.per_machine_usage_cost is deprecated. - * See app/v1/billing.proto;l=133 + * See app/v1/billing.proto;l=139 */ private void clearPerMachineUsageCost() { @@ -5242,7 +5242,7 @@ private void clearPerMachineUsageCost() { /** * double binary_data_cloud_storage_usage_cost = 12 [json_name = "binaryDataCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.binary_data_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=134 + * See app/v1/billing.proto;l=140 * @return The binaryDataCloudStorageUsageCost. */ @java.lang.Override @@ -5252,7 +5252,7 @@ private void clearPerMachineUsageCost() { /** * double binary_data_cloud_storage_usage_cost = 12 [json_name = "binaryDataCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.binary_data_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=134 + * See app/v1/billing.proto;l=140 * @param value The binaryDataCloudStorageUsageCost to set. */ private void setBinaryDataCloudStorageUsageCost(double value) { @@ -5262,7 +5262,7 @@ private void setBinaryDataCloudStorageUsageCost(double value) { /** * double binary_data_cloud_storage_usage_cost = 12 [json_name = "binaryDataCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.binary_data_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=134 + * See app/v1/billing.proto;l=140 */ private void clearBinaryDataCloudStorageUsageCost() { @@ -5274,7 +5274,7 @@ private void clearBinaryDataCloudStorageUsageCost() { /** * double other_cloud_storage_usage_cost = 13 [json_name = "otherCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.other_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=135 + * See app/v1/billing.proto;l=141 * @return The otherCloudStorageUsageCost. */ @java.lang.Override @@ -5284,7 +5284,7 @@ private void clearBinaryDataCloudStorageUsageCost() { /** * double other_cloud_storage_usage_cost = 13 [json_name = "otherCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.other_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=135 + * See app/v1/billing.proto;l=141 * @param value The otherCloudStorageUsageCost to set. */ private void setOtherCloudStorageUsageCost(double value) { @@ -5294,7 +5294,7 @@ private void setOtherCloudStorageUsageCost(double value) { /** * double other_cloud_storage_usage_cost = 13 [json_name = "otherCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.other_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=135 + * See app/v1/billing.proto;l=141 */ private void clearOtherCloudStorageUsageCost() { @@ -5629,7 +5629,7 @@ public Builder clearSubtotal() { * * double cloud_storage_usage_cost = 3 [json_name = "cloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=125 + * See app/v1/billing.proto;l=131 * @return The cloudStorageUsageCost. */ @java.lang.Override @@ -5643,7 +5643,7 @@ public Builder clearSubtotal() { * * double cloud_storage_usage_cost = 3 [json_name = "cloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=125 + * See app/v1/billing.proto;l=131 * @param value The cloudStorageUsageCost to set. * @return This builder for chaining. */ @@ -5659,7 +5659,7 @@ public Builder clearSubtotal() { * * double cloud_storage_usage_cost = 3 [json_name = "cloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=125 + * See app/v1/billing.proto;l=131 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearCloudStorageUsageCost() { @@ -5671,7 +5671,7 @@ public Builder clearSubtotal() { /** * double data_upload_usage_cost = 4 [json_name = "dataUploadUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_upload_usage_cost is deprecated. - * See app/v1/billing.proto;l=126 + * See app/v1/billing.proto;l=132 * @return The dataUploadUsageCost. */ @java.lang.Override @@ -5681,7 +5681,7 @@ public Builder clearSubtotal() { /** * double data_upload_usage_cost = 4 [json_name = "dataUploadUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_upload_usage_cost is deprecated. - * See app/v1/billing.proto;l=126 + * See app/v1/billing.proto;l=132 * @param value The dataUploadUsageCost to set. * @return This builder for chaining. */ @@ -5693,7 +5693,7 @@ public Builder clearSubtotal() { /** * double data_upload_usage_cost = 4 [json_name = "dataUploadUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_upload_usage_cost is deprecated. - * See app/v1/billing.proto;l=126 + * See app/v1/billing.proto;l=132 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearDataUploadUsageCost() { @@ -5705,7 +5705,7 @@ public Builder clearSubtotal() { /** * double data_egres_usage_cost = 5 [json_name = "dataEgresUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_egres_usage_cost is deprecated. - * See app/v1/billing.proto;l=127 + * See app/v1/billing.proto;l=133 * @return The dataEgresUsageCost. */ @java.lang.Override @@ -5715,7 +5715,7 @@ public Builder clearSubtotal() { /** * double data_egres_usage_cost = 5 [json_name = "dataEgresUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_egres_usage_cost is deprecated. - * See app/v1/billing.proto;l=127 + * See app/v1/billing.proto;l=133 * @param value The dataEgresUsageCost to set. * @return This builder for chaining. */ @@ -5727,7 +5727,7 @@ public Builder clearSubtotal() { /** * double data_egres_usage_cost = 5 [json_name = "dataEgresUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.data_egres_usage_cost is deprecated. - * See app/v1/billing.proto;l=127 + * See app/v1/billing.proto;l=133 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearDataEgresUsageCost() { @@ -5739,7 +5739,7 @@ public Builder clearSubtotal() { /** * double remote_control_usage_cost = 6 [json_name = "remoteControlUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.remote_control_usage_cost is deprecated. - * See app/v1/billing.proto;l=128 + * See app/v1/billing.proto;l=134 * @return The remoteControlUsageCost. */ @java.lang.Override @@ -5749,7 +5749,7 @@ public Builder clearSubtotal() { /** * double remote_control_usage_cost = 6 [json_name = "remoteControlUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.remote_control_usage_cost is deprecated. - * See app/v1/billing.proto;l=128 + * See app/v1/billing.proto;l=134 * @param value The remoteControlUsageCost to set. * @return This builder for chaining. */ @@ -5761,7 +5761,7 @@ public Builder clearSubtotal() { /** * double remote_control_usage_cost = 6 [json_name = "remoteControlUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.remote_control_usage_cost is deprecated. - * See app/v1/billing.proto;l=128 + * See app/v1/billing.proto;l=134 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearRemoteControlUsageCost() { @@ -5773,7 +5773,7 @@ public Builder clearSubtotal() { /** * double standard_compute_usage_cost = 7 [json_name = "standardComputeUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.standard_compute_usage_cost is deprecated. - * See app/v1/billing.proto;l=129 + * See app/v1/billing.proto;l=135 * @return The standardComputeUsageCost. */ @java.lang.Override @@ -5783,7 +5783,7 @@ public Builder clearSubtotal() { /** * double standard_compute_usage_cost = 7 [json_name = "standardComputeUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.standard_compute_usage_cost is deprecated. - * See app/v1/billing.proto;l=129 + * See app/v1/billing.proto;l=135 * @param value The standardComputeUsageCost to set. * @return This builder for chaining. */ @@ -5795,7 +5795,7 @@ public Builder clearSubtotal() { /** * double standard_compute_usage_cost = 7 [json_name = "standardComputeUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.standard_compute_usage_cost is deprecated. - * See app/v1/billing.proto;l=129 + * See app/v1/billing.proto;l=135 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearStandardComputeUsageCost() { @@ -5807,7 +5807,7 @@ public Builder clearSubtotal() { /** * double discount_amount = 8 [json_name = "discountAmount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.discount_amount is deprecated. - * See app/v1/billing.proto;l=130 + * See app/v1/billing.proto;l=136 * @return The discountAmount. */ @java.lang.Override @@ -5817,7 +5817,7 @@ public Builder clearSubtotal() { /** * double discount_amount = 8 [json_name = "discountAmount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.discount_amount is deprecated. - * See app/v1/billing.proto;l=130 + * See app/v1/billing.proto;l=136 * @param value The discountAmount to set. * @return This builder for chaining. */ @@ -5829,7 +5829,7 @@ public Builder clearSubtotal() { /** * double discount_amount = 8 [json_name = "discountAmount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.discount_amount is deprecated. - * See app/v1/billing.proto;l=130 + * See app/v1/billing.proto;l=136 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearDiscountAmount() { @@ -5841,7 +5841,7 @@ public Builder clearSubtotal() { /** * double total_usage_with_discount = 9 [json_name = "totalUsageWithDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_with_discount is deprecated. - * See app/v1/billing.proto;l=131 + * See app/v1/billing.proto;l=137 * @return The totalUsageWithDiscount. */ @java.lang.Override @@ -5851,7 +5851,7 @@ public Builder clearSubtotal() { /** * double total_usage_with_discount = 9 [json_name = "totalUsageWithDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_with_discount is deprecated. - * See app/v1/billing.proto;l=131 + * See app/v1/billing.proto;l=137 * @param value The totalUsageWithDiscount to set. * @return This builder for chaining. */ @@ -5863,7 +5863,7 @@ public Builder clearSubtotal() { /** * double total_usage_with_discount = 9 [json_name = "totalUsageWithDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_with_discount is deprecated. - * See app/v1/billing.proto;l=131 + * See app/v1/billing.proto;l=137 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTotalUsageWithDiscount() { @@ -5875,7 +5875,7 @@ public Builder clearSubtotal() { /** * double total_usage_without_discount = 10 [json_name = "totalUsageWithoutDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_without_discount is deprecated. - * See app/v1/billing.proto;l=132 + * See app/v1/billing.proto;l=138 * @return The totalUsageWithoutDiscount. */ @java.lang.Override @@ -5885,7 +5885,7 @@ public Builder clearSubtotal() { /** * double total_usage_without_discount = 10 [json_name = "totalUsageWithoutDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_without_discount is deprecated. - * See app/v1/billing.proto;l=132 + * See app/v1/billing.proto;l=138 * @param value The totalUsageWithoutDiscount to set. * @return This builder for chaining. */ @@ -5897,7 +5897,7 @@ public Builder clearSubtotal() { /** * double total_usage_without_discount = 10 [json_name = "totalUsageWithoutDiscount", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.total_usage_without_discount is deprecated. - * See app/v1/billing.proto;l=132 + * See app/v1/billing.proto;l=138 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTotalUsageWithoutDiscount() { @@ -5909,7 +5909,7 @@ public Builder clearSubtotal() { /** * double per_machine_usage_cost = 11 [json_name = "perMachineUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.per_machine_usage_cost is deprecated. - * See app/v1/billing.proto;l=133 + * See app/v1/billing.proto;l=139 * @return The perMachineUsageCost. */ @java.lang.Override @@ -5919,7 +5919,7 @@ public Builder clearSubtotal() { /** * double per_machine_usage_cost = 11 [json_name = "perMachineUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.per_machine_usage_cost is deprecated. - * See app/v1/billing.proto;l=133 + * See app/v1/billing.proto;l=139 * @param value The perMachineUsageCost to set. * @return This builder for chaining. */ @@ -5931,7 +5931,7 @@ public Builder clearSubtotal() { /** * double per_machine_usage_cost = 11 [json_name = "perMachineUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.per_machine_usage_cost is deprecated. - * See app/v1/billing.proto;l=133 + * See app/v1/billing.proto;l=139 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPerMachineUsageCost() { @@ -5943,7 +5943,7 @@ public Builder clearSubtotal() { /** * double binary_data_cloud_storage_usage_cost = 12 [json_name = "binaryDataCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.binary_data_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=134 + * See app/v1/billing.proto;l=140 * @return The binaryDataCloudStorageUsageCost. */ @java.lang.Override @@ -5953,7 +5953,7 @@ public Builder clearSubtotal() { /** * double binary_data_cloud_storage_usage_cost = 12 [json_name = "binaryDataCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.binary_data_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=134 + * See app/v1/billing.proto;l=140 * @param value The binaryDataCloudStorageUsageCost to set. * @return This builder for chaining. */ @@ -5965,7 +5965,7 @@ public Builder clearSubtotal() { /** * double binary_data_cloud_storage_usage_cost = 12 [json_name = "binaryDataCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.binary_data_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=134 + * See app/v1/billing.proto;l=140 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearBinaryDataCloudStorageUsageCost() { @@ -5977,7 +5977,7 @@ public Builder clearSubtotal() { /** * double other_cloud_storage_usage_cost = 13 [json_name = "otherCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.other_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=135 + * See app/v1/billing.proto;l=141 * @return The otherCloudStorageUsageCost. */ @java.lang.Override @@ -5987,7 +5987,7 @@ public Builder clearSubtotal() { /** * double other_cloud_storage_usage_cost = 13 [json_name = "otherCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.other_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=135 + * See app/v1/billing.proto;l=141 * @param value The otherCloudStorageUsageCost to set. * @return This builder for chaining. */ @@ -5999,7 +5999,7 @@ public Builder clearSubtotal() { /** * double other_cloud_storage_usage_cost = 13 [json_name = "otherCloudStorageUsageCost", deprecated = true]; * @deprecated viam.app.v1.GetCurrentMonthUsageResponse.other_cloud_storage_usage_cost is deprecated. - * See app/v1/billing.proto;l=135 + * See app/v1/billing.proto;l=141 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearOtherCloudStorageUsageCost() { @@ -10585,204 +10585,2419 @@ public static com.google.protobuf.Parser } } - public interface CreateInvoiceAndChargeImmediatelyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest) + public interface GetLocationBillingOrganizationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.GetLocationBillingOrganizationRequest) com.google.protobuf.MessageLiteOrBuilder { /** - * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; - * @return The orgIdToCharge. - */ - java.lang.String getOrgIdToCharge(); - /** - * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; - * @return The bytes for orgIdToCharge. - */ - com.google.protobuf.ByteString - getOrgIdToChargeBytes(); - - /** - * double amount = 2 [json_name = "amount"]; - * @return The amount. - */ - double getAmount(); - - /** - * optional string description = 3 [json_name = "description"]; - * @return Whether the description field is set. - */ - boolean hasDescription(); - /** - * optional string description = 3 [json_name = "description"]; - * @return The description. - */ - java.lang.String getDescription(); - /** - * optional string description = 3 [json_name = "description"]; - * @return The bytes for description. - */ - com.google.protobuf.ByteString - getDescriptionBytes(); - - /** - * optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"]; - * @return Whether the orgIdForBranding field is set. - */ - boolean hasOrgIdForBranding(); - /** - * optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"]; - * @return The orgIdForBranding. + * string location_id = 1 [json_name = "locationId"]; + * @return The locationId. */ - java.lang.String getOrgIdForBranding(); + java.lang.String getLocationId(); /** - * optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"]; - * @return The bytes for orgIdForBranding. + * string location_id = 1 [json_name = "locationId"]; + * @return The bytes for locationId. */ com.google.protobuf.ByteString - getOrgIdForBrandingBytes(); - - /** - * bool disable_email = 5 [json_name = "disableEmail"]; - * @return The disableEmail. - */ - boolean getDisableEmail(); + getLocationIdBytes(); } /** - * Protobuf type {@code viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest} + * Protobuf type {@code viam.app.v1.GetLocationBillingOrganizationRequest} */ - public static final class CreateInvoiceAndChargeImmediatelyRequest extends + public static final class GetLocationBillingOrganizationRequest extends com.google.protobuf.GeneratedMessageLite< - CreateInvoiceAndChargeImmediatelyRequest, CreateInvoiceAndChargeImmediatelyRequest.Builder> implements - // @@protoc_insertion_point(message_implements:viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest) - CreateInvoiceAndChargeImmediatelyRequestOrBuilder { - private CreateInvoiceAndChargeImmediatelyRequest() { - orgIdToCharge_ = ""; - description_ = ""; - orgIdForBranding_ = ""; + GetLocationBillingOrganizationRequest, GetLocationBillingOrganizationRequest.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.GetLocationBillingOrganizationRequest) + GetLocationBillingOrganizationRequestOrBuilder { + private GetLocationBillingOrganizationRequest() { + locationId_ = ""; } - private int bitField0_; - public static final int ORG_ID_TO_CHARGE_FIELD_NUMBER = 1; - private java.lang.String orgIdToCharge_; + public static final int LOCATION_ID_FIELD_NUMBER = 1; + private java.lang.String locationId_; /** - * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; - * @return The orgIdToCharge. + * string location_id = 1 [json_name = "locationId"]; + * @return The locationId. */ @java.lang.Override - public java.lang.String getOrgIdToCharge() { - return orgIdToCharge_; + public java.lang.String getLocationId() { + return locationId_; } /** - * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; - * @return The bytes for orgIdToCharge. + * string location_id = 1 [json_name = "locationId"]; + * @return The bytes for locationId. */ @java.lang.Override public com.google.protobuf.ByteString - getOrgIdToChargeBytes() { - return com.google.protobuf.ByteString.copyFromUtf8(orgIdToCharge_); + getLocationIdBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(locationId_); } /** - * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; - * @param value The orgIdToCharge to set. + * string location_id = 1 [json_name = "locationId"]; + * @param value The locationId to set. */ - private void setOrgIdToCharge( + private void setLocationId( java.lang.String value) { java.lang.Class valueClass = value.getClass(); - orgIdToCharge_ = value; + locationId_ = value; } /** - * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * string location_id = 1 [json_name = "locationId"]; */ - private void clearOrgIdToCharge() { + private void clearLocationId() { - orgIdToCharge_ = getDefaultInstance().getOrgIdToCharge(); + locationId_ = getDefaultInstance().getLocationId(); } /** - * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; - * @param value The bytes for orgIdToCharge to set. + * string location_id = 1 [json_name = "locationId"]; + * @param value The bytes for locationId to set. */ - private void setOrgIdToChargeBytes( + private void setLocationIdBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); - orgIdToCharge_ = value.toStringUtf8(); + locationId_ = value.toStringUtf8(); } - public static final int AMOUNT_FIELD_NUMBER = 2; - private double amount_; - /** - * double amount = 2 [json_name = "amount"]; - * @return The amount. - */ - @java.lang.Override - public double getAmount() { - return amount_; + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); } - /** - * double amount = 2 [json_name = "amount"]; - * @param value The amount to set. - */ - private void setAmount(double value) { - - amount_ = value; + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest 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); } - /** - * double amount = 2 [json_name = "amount"]; - */ - private void clearAmount() { - - amount_ = 0D; + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); } - - public static final int DESCRIPTION_FIELD_NUMBER = 3; - private java.lang.String description_; - /** - * optional string description = 3 [json_name = "description"]; - * @return Whether the description field is set. - */ - @java.lang.Override - public boolean hasDescription() { - return ((bitField0_ & 0x00000001) != 0); + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest 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); } - /** - * optional string description = 3 [json_name = "description"]; - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - return description_; + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); } - /** - * optional string description = 3 [json_name = "description"]; - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { - return com.google.protobuf.ByteString.copyFromUtf8(description_); + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); } - /** - * optional string description = 3 [json_name = "description"]; - * @param value The description to set. - */ - private void setDescription( - java.lang.String value) { - java.lang.Class valueClass = value.getClass(); - bitField0_ |= 0x00000001; - description_ = value; + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); } - /** - * optional string description = 3 [json_name = "description"]; - */ - private void clearDescription() { - bitField0_ = (bitField0_ & ~0x00000001); - description_ = getDefaultInstance().getDescription(); + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); } - /** - * optional string description = 3 [json_name = "description"]; - * @param value The bytes for description to set. - */ - private void setDescriptionBytes( + + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest 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.v1.Billing.GetLocationBillingOrganizationRequest prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + * Protobuf type {@code viam.app.v1.GetLocationBillingOrganizationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.Billing.GetLocationBillingOrganizationRequest, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.GetLocationBillingOrganizationRequest) + viam.app.v1.Billing.GetLocationBillingOrganizationRequestOrBuilder { + // Construct using viam.app.v1.Billing.GetLocationBillingOrganizationRequest.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The locationId. + */ + @java.lang.Override + public java.lang.String getLocationId() { + return instance.getLocationId(); + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The bytes for locationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLocationIdBytes() { + return instance.getLocationIdBytes(); + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @param value The locationId to set. + * @return This builder for chaining. + */ + public Builder setLocationId( + java.lang.String value) { + copyOnWrite(); + instance.setLocationId(value); + return this; + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @return This builder for chaining. + */ + public Builder clearLocationId() { + copyOnWrite(); + instance.clearLocationId(); + return this; + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @param value The bytes for locationId to set. + * @return This builder for chaining. + */ + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setLocationIdBytes(value); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.v1.GetLocationBillingOrganizationRequest) + } + @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.v1.Billing.GetLocationBillingOrganizationRequest(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "locationId_", + }; + java.lang.String info = + "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208"; + 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.v1.Billing.GetLocationBillingOrganizationRequest.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.v1.GetLocationBillingOrganizationRequest) + private static final viam.app.v1.Billing.GetLocationBillingOrganizationRequest DEFAULT_INSTANCE; + static { + GetLocationBillingOrganizationRequest defaultInstance = new GetLocationBillingOrganizationRequest(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + GetLocationBillingOrganizationRequest.class, defaultInstance); + } + + public static viam.app.v1.Billing.GetLocationBillingOrganizationRequest 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 GetLocationBillingOrganizationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.GetLocationBillingOrganizationResponse) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @return The billingOrganizationId. + */ + java.lang.String getBillingOrganizationId(); + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @return The bytes for billingOrganizationId. + */ + com.google.protobuf.ByteString + getBillingOrganizationIdBytes(); + } + /** + * Protobuf type {@code viam.app.v1.GetLocationBillingOrganizationResponse} + */ + public static final class GetLocationBillingOrganizationResponse extends + com.google.protobuf.GeneratedMessageLite< + GetLocationBillingOrganizationResponse, GetLocationBillingOrganizationResponse.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.GetLocationBillingOrganizationResponse) + GetLocationBillingOrganizationResponseOrBuilder { + private GetLocationBillingOrganizationResponse() { + billingOrganizationId_ = ""; + } + public static final int BILLING_ORGANIZATION_ID_FIELD_NUMBER = 1; + private java.lang.String billingOrganizationId_; + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @return The billingOrganizationId. + */ + @java.lang.Override + public java.lang.String getBillingOrganizationId() { + return billingOrganizationId_; + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @return The bytes for billingOrganizationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBillingOrganizationIdBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(billingOrganizationId_); + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @param value The billingOrganizationId to set. + */ + private void setBillingOrganizationId( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + billingOrganizationId_ = value; + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + */ + private void clearBillingOrganizationId() { + + billingOrganizationId_ = getDefaultInstance().getBillingOrganizationId(); + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @param value The bytes for billingOrganizationId to set. + */ + private void setBillingOrganizationIdBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + billingOrganizationId_ = value.toStringUtf8(); + + } + + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse 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.v1.Billing.GetLocationBillingOrganizationResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse 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.v1.Billing.GetLocationBillingOrganizationResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse 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.v1.Billing.GetLocationBillingOrganizationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse 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.v1.Billing.GetLocationBillingOrganizationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse 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.v1.Billing.GetLocationBillingOrganizationResponse prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + * Protobuf type {@code viam.app.v1.GetLocationBillingOrganizationResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.Billing.GetLocationBillingOrganizationResponse, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.GetLocationBillingOrganizationResponse) + viam.app.v1.Billing.GetLocationBillingOrganizationResponseOrBuilder { + // Construct using viam.app.v1.Billing.GetLocationBillingOrganizationResponse.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @return The billingOrganizationId. + */ + @java.lang.Override + public java.lang.String getBillingOrganizationId() { + return instance.getBillingOrganizationId(); + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @return The bytes for billingOrganizationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBillingOrganizationIdBytes() { + return instance.getBillingOrganizationIdBytes(); + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @param value The billingOrganizationId to set. + * @return This builder for chaining. + */ + public Builder setBillingOrganizationId( + java.lang.String value) { + copyOnWrite(); + instance.setBillingOrganizationId(value); + return this; + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @return This builder for chaining. + */ + public Builder clearBillingOrganizationId() { + copyOnWrite(); + instance.clearBillingOrganizationId(); + return this; + } + /** + * string billing_organization_id = 1 [json_name = "billingOrganizationId"]; + * @param value The bytes for billingOrganizationId to set. + * @return This builder for chaining. + */ + public Builder setBillingOrganizationIdBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setBillingOrganizationIdBytes(value); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.v1.GetLocationBillingOrganizationResponse) + } + @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.v1.Billing.GetLocationBillingOrganizationResponse(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "billingOrganizationId_", + }; + java.lang.String info = + "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208"; + 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.v1.Billing.GetLocationBillingOrganizationResponse.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.v1.GetLocationBillingOrganizationResponse) + private static final viam.app.v1.Billing.GetLocationBillingOrganizationResponse DEFAULT_INSTANCE; + static { + GetLocationBillingOrganizationResponse defaultInstance = new GetLocationBillingOrganizationResponse(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + GetLocationBillingOrganizationResponse.class, defaultInstance); + } + + public static viam.app.v1.Billing.GetLocationBillingOrganizationResponse 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 UpdateLocationBillingOrganizationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.UpdateLocationBillingOrganizationRequest) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The locationId. + */ + java.lang.String getLocationId(); + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The bytes for locationId. + */ + com.google.protobuf.ByteString + getLocationIdBytes(); + + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @return The billingOrganizationId. + */ + java.lang.String getBillingOrganizationId(); + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @return The bytes for billingOrganizationId. + */ + com.google.protobuf.ByteString + getBillingOrganizationIdBytes(); + } + /** + * Protobuf type {@code viam.app.v1.UpdateLocationBillingOrganizationRequest} + */ + public static final class UpdateLocationBillingOrganizationRequest extends + com.google.protobuf.GeneratedMessageLite< + UpdateLocationBillingOrganizationRequest, UpdateLocationBillingOrganizationRequest.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.UpdateLocationBillingOrganizationRequest) + UpdateLocationBillingOrganizationRequestOrBuilder { + private UpdateLocationBillingOrganizationRequest() { + locationId_ = ""; + billingOrganizationId_ = ""; + } + public static final int LOCATION_ID_FIELD_NUMBER = 1; + private java.lang.String locationId_; + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The locationId. + */ + @java.lang.Override + public java.lang.String getLocationId() { + return locationId_; + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The bytes for locationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLocationIdBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(locationId_); + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @param value The locationId to set. + */ + private void setLocationId( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + locationId_ = value; + } + /** + * string location_id = 1 [json_name = "locationId"]; + */ + private void clearLocationId() { + + locationId_ = getDefaultInstance().getLocationId(); + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @param value The bytes for locationId to set. + */ + private void setLocationIdBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + locationId_ = value.toStringUtf8(); + + } + + public static final int BILLING_ORGANIZATION_ID_FIELD_NUMBER = 2; + private java.lang.String billingOrganizationId_; + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @return The billingOrganizationId. + */ + @java.lang.Override + public java.lang.String getBillingOrganizationId() { + return billingOrganizationId_; + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @return The bytes for billingOrganizationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBillingOrganizationIdBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(billingOrganizationId_); + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @param value The billingOrganizationId to set. + */ + private void setBillingOrganizationId( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + billingOrganizationId_ = value; + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + */ + private void clearBillingOrganizationId() { + + billingOrganizationId_ = getDefaultInstance().getBillingOrganizationId(); + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @param value The bytes for billingOrganizationId to set. + */ + private void setBillingOrganizationIdBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + billingOrganizationId_ = value.toStringUtf8(); + + } + + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest 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.v1.Billing.UpdateLocationBillingOrganizationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest 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.v1.Billing.UpdateLocationBillingOrganizationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest 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.v1.Billing.UpdateLocationBillingOrganizationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest 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.v1.Billing.UpdateLocationBillingOrganizationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest 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.v1.Billing.UpdateLocationBillingOrganizationRequest prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + * Protobuf type {@code viam.app.v1.UpdateLocationBillingOrganizationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.UpdateLocationBillingOrganizationRequest) + viam.app.v1.Billing.UpdateLocationBillingOrganizationRequestOrBuilder { + // Construct using viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The locationId. + */ + @java.lang.Override + public java.lang.String getLocationId() { + return instance.getLocationId(); + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @return The bytes for locationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLocationIdBytes() { + return instance.getLocationIdBytes(); + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @param value The locationId to set. + * @return This builder for chaining. + */ + public Builder setLocationId( + java.lang.String value) { + copyOnWrite(); + instance.setLocationId(value); + return this; + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @return This builder for chaining. + */ + public Builder clearLocationId() { + copyOnWrite(); + instance.clearLocationId(); + return this; + } + /** + * string location_id = 1 [json_name = "locationId"]; + * @param value The bytes for locationId to set. + * @return This builder for chaining. + */ + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setLocationIdBytes(value); + return this; + } + + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @return The billingOrganizationId. + */ + @java.lang.Override + public java.lang.String getBillingOrganizationId() { + return instance.getBillingOrganizationId(); + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @return The bytes for billingOrganizationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBillingOrganizationIdBytes() { + return instance.getBillingOrganizationIdBytes(); + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @param value The billingOrganizationId to set. + * @return This builder for chaining. + */ + public Builder setBillingOrganizationId( + java.lang.String value) { + copyOnWrite(); + instance.setBillingOrganizationId(value); + return this; + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @return This builder for chaining. + */ + public Builder clearBillingOrganizationId() { + copyOnWrite(); + instance.clearBillingOrganizationId(); + return this; + } + /** + * string billing_organization_id = 2 [json_name = "billingOrganizationId"]; + * @param value The bytes for billingOrganizationId to set. + * @return This builder for chaining. + */ + public Builder setBillingOrganizationIdBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setBillingOrganizationIdBytes(value); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateLocationBillingOrganizationRequest) + } + @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.v1.Billing.UpdateLocationBillingOrganizationRequest(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "locationId_", + "billingOrganizationId_", + }; + java.lang.String info = + "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + + ""; + 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.v1.Billing.UpdateLocationBillingOrganizationRequest.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.v1.UpdateLocationBillingOrganizationRequest) + private static final viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest DEFAULT_INSTANCE; + static { + UpdateLocationBillingOrganizationRequest defaultInstance = new UpdateLocationBillingOrganizationRequest(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + UpdateLocationBillingOrganizationRequest.class, defaultInstance); + } + + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest 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 UpdateLocationBillingOrganizationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.UpdateLocationBillingOrganizationResponse) + com.google.protobuf.MessageLiteOrBuilder { + } + /** + * Protobuf type {@code viam.app.v1.UpdateLocationBillingOrganizationResponse} + */ + public static final class UpdateLocationBillingOrganizationResponse extends + com.google.protobuf.GeneratedMessageLite< + UpdateLocationBillingOrganizationResponse, UpdateLocationBillingOrganizationResponse.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.UpdateLocationBillingOrganizationResponse) + UpdateLocationBillingOrganizationResponseOrBuilder { + private UpdateLocationBillingOrganizationResponse() { + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse 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.v1.Billing.UpdateLocationBillingOrganizationResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse 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.v1.Billing.UpdateLocationBillingOrganizationResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse 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.v1.Billing.UpdateLocationBillingOrganizationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse 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.v1.Billing.UpdateLocationBillingOrganizationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse 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.v1.Billing.UpdateLocationBillingOrganizationResponse prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + * Protobuf type {@code viam.app.v1.UpdateLocationBillingOrganizationResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.UpdateLocationBillingOrganizationResponse) + viam.app.v1.Billing.UpdateLocationBillingOrganizationResponseOrBuilder { + // Construct using viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateLocationBillingOrganizationResponse) + } + @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.v1.Billing.UpdateLocationBillingOrganizationResponse(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = null;java.lang.String info = + "\u0000\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.v1.Billing.UpdateLocationBillingOrganizationResponse.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.v1.UpdateLocationBillingOrganizationResponse) + private static final viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse DEFAULT_INSTANCE; + static { + UpdateLocationBillingOrganizationResponse defaultInstance = new UpdateLocationBillingOrganizationResponse(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + UpdateLocationBillingOrganizationResponse.class, defaultInstance); + } + + public static viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse 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 ChargeOrganizationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.ChargeOrganizationRequest) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The orgIdToCharge. + */ + java.lang.String getOrgIdToCharge(); + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The bytes for orgIdToCharge. + */ + com.google.protobuf.ByteString + getOrgIdToChargeBytes(); + + /** + * optional string description = 2 [json_name = "description"]; + * @return Whether the description field is set. + */ + boolean hasDescription(); + /** + * optional string description = 2 [json_name = "description"]; + * @return The description. + */ + java.lang.String getDescription(); + /** + * optional string description = 2 [json_name = "description"]; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + * double subtotal = 3 [json_name = "subtotal"]; + * @return The subtotal. + */ + double getSubtotal(); + + /** + * double tax = 4 [json_name = "tax"]; + * @return The tax. + */ + double getTax(); + + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return Whether the orgIdForBranding field is set. + */ + boolean hasOrgIdForBranding(); + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return The orgIdForBranding. + */ + java.lang.String getOrgIdForBranding(); + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return The bytes for orgIdForBranding. + */ + com.google.protobuf.ByteString + getOrgIdForBrandingBytes(); + + /** + * bool disable_confirmation_email = 6 [json_name = "disableConfirmationEmail"]; + * @return The disableConfirmationEmail. + */ + boolean getDisableConfirmationEmail(); + } + /** + * Protobuf type {@code viam.app.v1.ChargeOrganizationRequest} + */ + public static final class ChargeOrganizationRequest extends + com.google.protobuf.GeneratedMessageLite< + ChargeOrganizationRequest, ChargeOrganizationRequest.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.ChargeOrganizationRequest) + ChargeOrganizationRequestOrBuilder { + private ChargeOrganizationRequest() { + orgIdToCharge_ = ""; + description_ = ""; + orgIdForBranding_ = ""; + } + private int bitField0_; + public static final int ORG_ID_TO_CHARGE_FIELD_NUMBER = 1; + private java.lang.String orgIdToCharge_; + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The orgIdToCharge. + */ + @java.lang.Override + public java.lang.String getOrgIdToCharge() { + return orgIdToCharge_; + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The bytes for orgIdToCharge. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrgIdToChargeBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(orgIdToCharge_); + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @param value The orgIdToCharge to set. + */ + private void setOrgIdToCharge( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + orgIdToCharge_ = value; + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + */ + private void clearOrgIdToCharge() { + + orgIdToCharge_ = getDefaultInstance().getOrgIdToCharge(); + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @param value The bytes for orgIdToCharge to set. + */ + private void setOrgIdToChargeBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + orgIdToCharge_ = value.toStringUtf8(); + + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private java.lang.String description_; + /** + * optional string description = 2 [json_name = "description"]; + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string description = 2 [json_name = "description"]; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + return description_; + } + /** + * optional string description = 2 [json_name = "description"]; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(description_); + } + /** + * optional string description = 2 [json_name = "description"]; + * @param value The description to set. + */ + private void setDescription( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + bitField0_ |= 0x00000001; + description_ = value; + } + /** + * optional string description = 2 [json_name = "description"]; + */ + private void clearDescription() { + bitField0_ = (bitField0_ & ~0x00000001); + description_ = getDefaultInstance().getDescription(); + } + /** + * optional string description = 2 [json_name = "description"]; + * @param value The bytes for description to set. + */ + private void setDescriptionBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + description_ = value.toStringUtf8(); + bitField0_ |= 0x00000001; + } + + public static final int SUBTOTAL_FIELD_NUMBER = 3; + private double subtotal_; + /** + * double subtotal = 3 [json_name = "subtotal"]; + * @return The subtotal. + */ + @java.lang.Override + public double getSubtotal() { + return subtotal_; + } + /** + * double subtotal = 3 [json_name = "subtotal"]; + * @param value The subtotal to set. + */ + private void setSubtotal(double value) { + + subtotal_ = value; + } + /** + * double subtotal = 3 [json_name = "subtotal"]; + */ + private void clearSubtotal() { + + subtotal_ = 0D; + } + + public static final int TAX_FIELD_NUMBER = 4; + private double tax_; + /** + * double tax = 4 [json_name = "tax"]; + * @return The tax. + */ + @java.lang.Override + public double getTax() { + return tax_; + } + /** + * double tax = 4 [json_name = "tax"]; + * @param value The tax to set. + */ + private void setTax(double value) { + + tax_ = value; + } + /** + * double tax = 4 [json_name = "tax"]; + */ + private void clearTax() { + + tax_ = 0D; + } + + public static final int ORG_ID_FOR_BRANDING_FIELD_NUMBER = 5; + private java.lang.String orgIdForBranding_; + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return Whether the orgIdForBranding field is set. + */ + @java.lang.Override + public boolean hasOrgIdForBranding() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return The orgIdForBranding. + */ + @java.lang.Override + public java.lang.String getOrgIdForBranding() { + return orgIdForBranding_; + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return The bytes for orgIdForBranding. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrgIdForBrandingBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(orgIdForBranding_); + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @param value The orgIdForBranding to set. + */ + private void setOrgIdForBranding( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + bitField0_ |= 0x00000002; + orgIdForBranding_ = value; + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + */ + private void clearOrgIdForBranding() { + bitField0_ = (bitField0_ & ~0x00000002); + orgIdForBranding_ = getDefaultInstance().getOrgIdForBranding(); + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @param value The bytes for orgIdForBranding to set. + */ + private void setOrgIdForBrandingBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + orgIdForBranding_ = value.toStringUtf8(); + bitField0_ |= 0x00000002; + } + + public static final int DISABLE_CONFIRMATION_EMAIL_FIELD_NUMBER = 6; + private boolean disableConfirmationEmail_; + /** + * bool disable_confirmation_email = 6 [json_name = "disableConfirmationEmail"]; + * @return The disableConfirmationEmail. + */ + @java.lang.Override + public boolean getDisableConfirmationEmail() { + return disableConfirmationEmail_; + } + /** + * bool disable_confirmation_email = 6 [json_name = "disableConfirmationEmail"]; + * @param value The disableConfirmationEmail to set. + */ + private void setDisableConfirmationEmail(boolean value) { + + disableConfirmationEmail_ = value; + } + /** + * bool disable_confirmation_email = 6 [json_name = "disableConfirmationEmail"]; + */ + private void clearDisableConfirmationEmail() { + + disableConfirmationEmail_ = false; + } + + public static viam.app.v1.Billing.ChargeOrganizationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.ChargeOrganizationRequest 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.v1.Billing.ChargeOrganizationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.ChargeOrganizationRequest 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.v1.Billing.ChargeOrganizationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.ChargeOrganizationRequest 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.v1.Billing.ChargeOrganizationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.ChargeOrganizationRequest 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.v1.Billing.ChargeOrganizationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.Billing.ChargeOrganizationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.Billing.ChargeOrganizationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.ChargeOrganizationRequest 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.v1.Billing.ChargeOrganizationRequest prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + * Protobuf type {@code viam.app.v1.ChargeOrganizationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.Billing.ChargeOrganizationRequest, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.ChargeOrganizationRequest) + viam.app.v1.Billing.ChargeOrganizationRequestOrBuilder { + // Construct using viam.app.v1.Billing.ChargeOrganizationRequest.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The orgIdToCharge. + */ + @java.lang.Override + public java.lang.String getOrgIdToCharge() { + return instance.getOrgIdToCharge(); + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The bytes for orgIdToCharge. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrgIdToChargeBytes() { + return instance.getOrgIdToChargeBytes(); + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @param value The orgIdToCharge to set. + * @return This builder for chaining. + */ + public Builder setOrgIdToCharge( + java.lang.String value) { + copyOnWrite(); + instance.setOrgIdToCharge(value); + return this; + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return This builder for chaining. + */ + public Builder clearOrgIdToCharge() { + copyOnWrite(); + instance.clearOrgIdToCharge(); + return this; + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @param value The bytes for orgIdToCharge to set. + * @return This builder for chaining. + */ + public Builder setOrgIdToChargeBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setOrgIdToChargeBytes(value); + return this; + } + + /** + * optional string description = 2 [json_name = "description"]; + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return instance.hasDescription(); + } + /** + * optional string description = 2 [json_name = "description"]; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + return instance.getDescription(); + } + /** + * optional string description = 2 [json_name = "description"]; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + return instance.getDescriptionBytes(); + } + /** + * optional string description = 2 [json_name = "description"]; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + copyOnWrite(); + instance.setDescription(value); + return this; + } + /** + * optional string description = 2 [json_name = "description"]; + * @return This builder for chaining. + */ + public Builder clearDescription() { + copyOnWrite(); + instance.clearDescription(); + return this; + } + /** + * optional string description = 2 [json_name = "description"]; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setDescriptionBytes(value); + return this; + } + + /** + * double subtotal = 3 [json_name = "subtotal"]; + * @return The subtotal. + */ + @java.lang.Override + public double getSubtotal() { + return instance.getSubtotal(); + } + /** + * double subtotal = 3 [json_name = "subtotal"]; + * @param value The subtotal to set. + * @return This builder for chaining. + */ + public Builder setSubtotal(double value) { + copyOnWrite(); + instance.setSubtotal(value); + return this; + } + /** + * double subtotal = 3 [json_name = "subtotal"]; + * @return This builder for chaining. + */ + public Builder clearSubtotal() { + copyOnWrite(); + instance.clearSubtotal(); + return this; + } + + /** + * double tax = 4 [json_name = "tax"]; + * @return The tax. + */ + @java.lang.Override + public double getTax() { + return instance.getTax(); + } + /** + * double tax = 4 [json_name = "tax"]; + * @param value The tax to set. + * @return This builder for chaining. + */ + public Builder setTax(double value) { + copyOnWrite(); + instance.setTax(value); + return this; + } + /** + * double tax = 4 [json_name = "tax"]; + * @return This builder for chaining. + */ + public Builder clearTax() { + copyOnWrite(); + instance.clearTax(); + return this; + } + + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return Whether the orgIdForBranding field is set. + */ + @java.lang.Override + public boolean hasOrgIdForBranding() { + return instance.hasOrgIdForBranding(); + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return The orgIdForBranding. + */ + @java.lang.Override + public java.lang.String getOrgIdForBranding() { + return instance.getOrgIdForBranding(); + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return The bytes for orgIdForBranding. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrgIdForBrandingBytes() { + return instance.getOrgIdForBrandingBytes(); + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @param value The orgIdForBranding to set. + * @return This builder for chaining. + */ + public Builder setOrgIdForBranding( + java.lang.String value) { + copyOnWrite(); + instance.setOrgIdForBranding(value); + return this; + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @return This builder for chaining. + */ + public Builder clearOrgIdForBranding() { + copyOnWrite(); + instance.clearOrgIdForBranding(); + return this; + } + /** + * optional string org_id_for_branding = 5 [json_name = "orgIdForBranding"]; + * @param value The bytes for orgIdForBranding to set. + * @return This builder for chaining. + */ + public Builder setOrgIdForBrandingBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setOrgIdForBrandingBytes(value); + return this; + } + + /** + * bool disable_confirmation_email = 6 [json_name = "disableConfirmationEmail"]; + * @return The disableConfirmationEmail. + */ + @java.lang.Override + public boolean getDisableConfirmationEmail() { + return instance.getDisableConfirmationEmail(); + } + /** + * bool disable_confirmation_email = 6 [json_name = "disableConfirmationEmail"]; + * @param value The disableConfirmationEmail to set. + * @return This builder for chaining. + */ + public Builder setDisableConfirmationEmail(boolean value) { + copyOnWrite(); + instance.setDisableConfirmationEmail(value); + return this; + } + /** + * bool disable_confirmation_email = 6 [json_name = "disableConfirmationEmail"]; + * @return This builder for chaining. + */ + public Builder clearDisableConfirmationEmail() { + copyOnWrite(); + instance.clearDisableConfirmationEmail(); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.v1.ChargeOrganizationRequest) + } + @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.v1.Billing.ChargeOrganizationRequest(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "bitField0_", + "orgIdToCharge_", + "description_", + "subtotal_", + "tax_", + "orgIdForBranding_", + "disableConfirmationEmail_", + }; + java.lang.String info = + "\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u1208" + + "\u0000\u0003\u0000\u0004\u0000\u0005\u1208\u0001\u0006\u0007"; + 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.v1.Billing.ChargeOrganizationRequest.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.v1.ChargeOrganizationRequest) + private static final viam.app.v1.Billing.ChargeOrganizationRequest DEFAULT_INSTANCE; + static { + ChargeOrganizationRequest defaultInstance = new ChargeOrganizationRequest(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + ChargeOrganizationRequest.class, defaultInstance); + } + + public static viam.app.v1.Billing.ChargeOrganizationRequest 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 ChargeOrganizationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.ChargeOrganizationResponse) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @return The invoiceId. + */ + java.lang.String getInvoiceId(); + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @return The bytes for invoiceId. + */ + com.google.protobuf.ByteString + getInvoiceIdBytes(); + } + /** + * Protobuf type {@code viam.app.v1.ChargeOrganizationResponse} + */ + public static final class ChargeOrganizationResponse extends + com.google.protobuf.GeneratedMessageLite< + ChargeOrganizationResponse, ChargeOrganizationResponse.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.ChargeOrganizationResponse) + ChargeOrganizationResponseOrBuilder { + private ChargeOrganizationResponse() { + invoiceId_ = ""; + } + public static final int INVOICE_ID_FIELD_NUMBER = 1; + private java.lang.String invoiceId_; + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @return The invoiceId. + */ + @java.lang.Override + public java.lang.String getInvoiceId() { + return invoiceId_; + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @return The bytes for invoiceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvoiceIdBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(invoiceId_); + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @param value The invoiceId to set. + */ + private void setInvoiceId( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + invoiceId_ = value; + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + */ + private void clearInvoiceId() { + + invoiceId_ = getDefaultInstance().getInvoiceId(); + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @param value The bytes for invoiceId to set. + */ + private void setInvoiceIdBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + invoiceId_ = value.toStringUtf8(); + + } + + public static viam.app.v1.Billing.ChargeOrganizationResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.ChargeOrganizationResponse 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.v1.Billing.ChargeOrganizationResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.ChargeOrganizationResponse 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.v1.Billing.ChargeOrganizationResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Billing.ChargeOrganizationResponse 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.v1.Billing.ChargeOrganizationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.ChargeOrganizationResponse 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.v1.Billing.ChargeOrganizationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.Billing.ChargeOrganizationResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.Billing.ChargeOrganizationResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Billing.ChargeOrganizationResponse 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.v1.Billing.ChargeOrganizationResponse prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + * Protobuf type {@code viam.app.v1.ChargeOrganizationResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.Billing.ChargeOrganizationResponse, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.ChargeOrganizationResponse) + viam.app.v1.Billing.ChargeOrganizationResponseOrBuilder { + // Construct using viam.app.v1.Billing.ChargeOrganizationResponse.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @return The invoiceId. + */ + @java.lang.Override + public java.lang.String getInvoiceId() { + return instance.getInvoiceId(); + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @return The bytes for invoiceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInvoiceIdBytes() { + return instance.getInvoiceIdBytes(); + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @param value The invoiceId to set. + * @return This builder for chaining. + */ + public Builder setInvoiceId( + java.lang.String value) { + copyOnWrite(); + instance.setInvoiceId(value); + return this; + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @return This builder for chaining. + */ + public Builder clearInvoiceId() { + copyOnWrite(); + instance.clearInvoiceId(); + return this; + } + /** + * string invoice_id = 1 [json_name = "invoiceId"]; + * @param value The bytes for invoiceId to set. + * @return This builder for chaining. + */ + public Builder setInvoiceIdBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setInvoiceIdBytes(value); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.v1.ChargeOrganizationResponse) + } + @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.v1.Billing.ChargeOrganizationResponse(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "invoiceId_", + }; + java.lang.String info = + "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208"; + 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.v1.Billing.ChargeOrganizationResponse.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.v1.ChargeOrganizationResponse) + private static final viam.app.v1.Billing.ChargeOrganizationResponse DEFAULT_INSTANCE; + static { + ChargeOrganizationResponse defaultInstance = new ChargeOrganizationResponse(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + ChargeOrganizationResponse.class, defaultInstance); + } + + public static viam.app.v1.Billing.ChargeOrganizationResponse 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 CreateInvoiceAndChargeImmediatelyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The orgIdToCharge. + */ + java.lang.String getOrgIdToCharge(); + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The bytes for orgIdToCharge. + */ + com.google.protobuf.ByteString + getOrgIdToChargeBytes(); + + /** + * double amount = 2 [json_name = "amount"]; + * @return The amount. + */ + double getAmount(); + + /** + * optional string description = 3 [json_name = "description"]; + * @return Whether the description field is set. + */ + boolean hasDescription(); + /** + * optional string description = 3 [json_name = "description"]; + * @return The description. + */ + java.lang.String getDescription(); + /** + * optional string description = 3 [json_name = "description"]; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + * optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"]; + * @return Whether the orgIdForBranding field is set. + */ + boolean hasOrgIdForBranding(); + /** + * optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"]; + * @return The orgIdForBranding. + */ + java.lang.String getOrgIdForBranding(); + /** + * optional string org_id_for_branding = 4 [json_name = "orgIdForBranding"]; + * @return The bytes for orgIdForBranding. + */ + com.google.protobuf.ByteString + getOrgIdForBrandingBytes(); + + /** + * bool disable_email = 5 [json_name = "disableEmail"]; + * @return The disableEmail. + */ + boolean getDisableEmail(); + } + /** + *
+   * Deprecated: Use ChargeOrganizationRequest instead
+   * 
+ * + * Protobuf type {@code viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest} + */ + public static final class CreateInvoiceAndChargeImmediatelyRequest extends + com.google.protobuf.GeneratedMessageLite< + CreateInvoiceAndChargeImmediatelyRequest, CreateInvoiceAndChargeImmediatelyRequest.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest) + CreateInvoiceAndChargeImmediatelyRequestOrBuilder { + private CreateInvoiceAndChargeImmediatelyRequest() { + orgIdToCharge_ = ""; + description_ = ""; + orgIdForBranding_ = ""; + } + private int bitField0_; + public static final int ORG_ID_TO_CHARGE_FIELD_NUMBER = 1; + private java.lang.String orgIdToCharge_; + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The orgIdToCharge. + */ + @java.lang.Override + public java.lang.String getOrgIdToCharge() { + return orgIdToCharge_; + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @return The bytes for orgIdToCharge. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrgIdToChargeBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(orgIdToCharge_); + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @param value The orgIdToCharge to set. + */ + private void setOrgIdToCharge( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + + orgIdToCharge_ = value; + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + */ + private void clearOrgIdToCharge() { + + orgIdToCharge_ = getDefaultInstance().getOrgIdToCharge(); + } + /** + * string org_id_to_charge = 1 [json_name = "orgIdToCharge"]; + * @param value The bytes for orgIdToCharge to set. + */ + private void setOrgIdToChargeBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + orgIdToCharge_ = value.toStringUtf8(); + + } + + public static final int AMOUNT_FIELD_NUMBER = 2; + private double amount_; + /** + * double amount = 2 [json_name = "amount"]; + * @return The amount. + */ + @java.lang.Override + public double getAmount() { + return amount_; + } + /** + * double amount = 2 [json_name = "amount"]; + * @param value The amount to set. + */ + private void setAmount(double value) { + + amount_ = value; + } + /** + * double amount = 2 [json_name = "amount"]; + */ + private void clearAmount() { + + amount_ = 0D; + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + private java.lang.String description_; + /** + * optional string description = 3 [json_name = "description"]; + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string description = 3 [json_name = "description"]; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + return description_; + } + /** + * optional string description = 3 [json_name = "description"]; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(description_); + } + /** + * optional string description = 3 [json_name = "description"]; + * @param value The description to set. + */ + private void setDescription( + java.lang.String value) { + java.lang.Class valueClass = value.getClass(); + bitField0_ |= 0x00000001; + description_ = value; + } + /** + * optional string description = 3 [json_name = "description"]; + */ + private void clearDescription() { + bitField0_ = (bitField0_ & ~0x00000001); + description_ = getDefaultInstance().getDescription(); + } + /** + * optional string description = 3 [json_name = "description"]; + * @param value The bytes for description to set. + */ + private void setDescriptionBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); description_ = value.toStringUtf8(); @@ -10954,6 +13169,10 @@ public static Builder newBuilder(viam.app.v1.Billing.CreateInvoiceAndChargeImmed } /** + *
+     * Deprecated: Use ChargeOrganizationRequest instead
+     * 
+ * * Protobuf type {@code viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest} */ public static final class Builder extends @@ -11283,6 +13502,10 @@ public interface CreateInvoiceAndChargeImmediatelyResponseOrBuilder extends getInvoiceIdBytes(); } /** + *
+   * Deprecated: Use ChargeOrganizationResponse instead
+   * 
+ * * Protobuf type {@code viam.app.v1.CreateInvoiceAndChargeImmediatelyResponse} */ public static final class CreateInvoiceAndChargeImmediatelyResponse extends @@ -11424,6 +13647,10 @@ public static Builder newBuilder(viam.app.v1.Billing.CreateInvoiceAndChargeImmed } /** + *
+     * Deprecated: Use ChargeOrganizationResponse instead
+     * 
+ * * Protobuf type {@code viam.app.v1.CreateInvoiceAndChargeImmediatelyResponse} */ public static final class Builder extends diff --git a/core/sdk/src/main/gen/viam/app/v1/BillingServiceGrpc.java b/core/sdk/src/main/gen/viam/app/v1/BillingServiceGrpc.java index 4d0446025..34ac72405 100644 --- a/core/sdk/src/main/gen/viam/app/v1/BillingServiceGrpc.java +++ b/core/sdk/src/main/gen/viam/app/v1/BillingServiceGrpc.java @@ -225,6 +225,96 @@ viam.app.v1.Billing.UpdateOrganizationBillingTierResponse> getUpdateOrganization return getUpdateOrganizationBillingTierMethod; } + private static volatile io.grpc.MethodDescriptor getGetLocationBillingOrganizationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetLocationBillingOrganization", + requestType = viam.app.v1.Billing.GetLocationBillingOrganizationRequest.class, + responseType = viam.app.v1.Billing.GetLocationBillingOrganizationResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetLocationBillingOrganizationMethod() { + io.grpc.MethodDescriptor getGetLocationBillingOrganizationMethod; + if ((getGetLocationBillingOrganizationMethod = BillingServiceGrpc.getGetLocationBillingOrganizationMethod) == null) { + synchronized (BillingServiceGrpc.class) { + if ((getGetLocationBillingOrganizationMethod = BillingServiceGrpc.getGetLocationBillingOrganizationMethod) == null) { + BillingServiceGrpc.getGetLocationBillingOrganizationMethod = getGetLocationBillingOrganizationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetLocationBillingOrganization")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( + viam.app.v1.Billing.GetLocationBillingOrganizationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( + viam.app.v1.Billing.GetLocationBillingOrganizationResponse.getDefaultInstance())) + .build(); + } + } + } + return getGetLocationBillingOrganizationMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateLocationBillingOrganizationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateLocationBillingOrganization", + requestType = viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest.class, + responseType = viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateLocationBillingOrganizationMethod() { + io.grpc.MethodDescriptor getUpdateLocationBillingOrganizationMethod; + if ((getUpdateLocationBillingOrganizationMethod = BillingServiceGrpc.getUpdateLocationBillingOrganizationMethod) == null) { + synchronized (BillingServiceGrpc.class) { + if ((getUpdateLocationBillingOrganizationMethod = BillingServiceGrpc.getUpdateLocationBillingOrganizationMethod) == null) { + BillingServiceGrpc.getUpdateLocationBillingOrganizationMethod = getUpdateLocationBillingOrganizationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateLocationBillingOrganization")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( + viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( + viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse.getDefaultInstance())) + .build(); + } + } + } + return getUpdateLocationBillingOrganizationMethod; + } + + private static volatile io.grpc.MethodDescriptor getChargeOrganizationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ChargeOrganization", + requestType = viam.app.v1.Billing.ChargeOrganizationRequest.class, + responseType = viam.app.v1.Billing.ChargeOrganizationResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getChargeOrganizationMethod() { + io.grpc.MethodDescriptor getChargeOrganizationMethod; + if ((getChargeOrganizationMethod = BillingServiceGrpc.getChargeOrganizationMethod) == null) { + synchronized (BillingServiceGrpc.class) { + if ((getChargeOrganizationMethod = BillingServiceGrpc.getChargeOrganizationMethod) == null) { + BillingServiceGrpc.getChargeOrganizationMethod = getChargeOrganizationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChargeOrganization")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( + viam.app.v1.Billing.ChargeOrganizationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller( + viam.app.v1.Billing.ChargeOrganizationResponse.getDefaultInstance())) + .build(); + } + } + } + return getChargeOrganizationMethod; + } + private static volatile io.grpc.MethodDescriptor getCreateInvoiceAndChargeImmediatelyMethod; @@ -375,7 +465,37 @@ default void updateOrganizationBillingTier(viam.app.v1.Billing.UpdateOrganizatio /** *
-     * Directly create a flat fee invoice for an organization and charge on the spot
+     * Get the billing organization for a location
+     * 
+ */ + default void getLocationBillingOrganization(viam.app.v1.Billing.GetLocationBillingOrganizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetLocationBillingOrganizationMethod(), responseObserver); + } + + /** + *
+     * Update the billing organization for a location
+     * 
+ */ + default void updateLocationBillingOrganization(viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateLocationBillingOrganizationMethod(), responseObserver); + } + + /** + *
+     * Charge an organization on the spot
+     * 
+ */ + default void chargeOrganization(viam.app.v1.Billing.ChargeOrganizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChargeOrganizationMethod(), responseObserver); + } + + /** + *
+     * Deprecated: Use ChargeOrganization instead
      * 
*/ default void createInvoiceAndChargeImmediately(viam.app.v1.Billing.CreateInvoiceAndChargeImmediatelyRequest request, @@ -490,7 +610,40 @@ public void updateOrganizationBillingTier(viam.app.v1.Billing.UpdateOrganization /** *
-     * Directly create a flat fee invoice for an organization and charge on the spot
+     * Get the billing organization for a location
+     * 
+ */ + public void getLocationBillingOrganization(viam.app.v1.Billing.GetLocationBillingOrganizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetLocationBillingOrganizationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Update the billing organization for a location
+     * 
+ */ + public void updateLocationBillingOrganization(viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateLocationBillingOrganizationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Charge an organization on the spot
+     * 
+ */ + public void chargeOrganization(viam.app.v1.Billing.ChargeOrganizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getChargeOrganizationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deprecated: Use ChargeOrganization instead
      * 
*/ public void createInvoiceAndChargeImmediately(viam.app.v1.Billing.CreateInvoiceAndChargeImmediatelyRequest request, @@ -589,7 +742,37 @@ public viam.app.v1.Billing.UpdateOrganizationBillingTierResponse updateOrganizat /** *
-     * Directly create a flat fee invoice for an organization and charge on the spot
+     * Get the billing organization for a location
+     * 
+ */ + public viam.app.v1.Billing.GetLocationBillingOrganizationResponse getLocationBillingOrganization(viam.app.v1.Billing.GetLocationBillingOrganizationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetLocationBillingOrganizationMethod(), getCallOptions(), request); + } + + /** + *
+     * Update the billing organization for a location
+     * 
+ */ + public viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse updateLocationBillingOrganization(viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateLocationBillingOrganizationMethod(), getCallOptions(), request); + } + + /** + *
+     * Charge an organization on the spot
+     * 
+ */ + public viam.app.v1.Billing.ChargeOrganizationResponse chargeOrganization(viam.app.v1.Billing.ChargeOrganizationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getChargeOrganizationMethod(), getCallOptions(), request); + } + + /** + *
+     * Deprecated: Use ChargeOrganization instead
      * 
*/ public viam.app.v1.Billing.CreateInvoiceAndChargeImmediatelyResponse createInvoiceAndChargeImmediately(viam.app.v1.Billing.CreateInvoiceAndChargeImmediatelyRequest request) { @@ -682,7 +865,40 @@ public com.google.common.util.concurrent.ListenableFuture - * Directly create a flat fee invoice for an organization and charge on the spot + * Get the billing organization for a location + * + */ + public com.google.common.util.concurrent.ListenableFuture getLocationBillingOrganization( + viam.app.v1.Billing.GetLocationBillingOrganizationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetLocationBillingOrganizationMethod(), getCallOptions()), request); + } + + /** + *
+     * Update the billing organization for a location
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateLocationBillingOrganization( + viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateLocationBillingOrganizationMethod(), getCallOptions()), request); + } + + /** + *
+     * Charge an organization on the spot
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture chargeOrganization( + viam.app.v1.Billing.ChargeOrganizationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getChargeOrganizationMethod(), getCallOptions()), request); + } + + /** + *
+     * Deprecated: Use ChargeOrganization instead
      * 
*/ public com.google.common.util.concurrent.ListenableFuture createInvoiceAndChargeImmediately( @@ -699,7 +915,10 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -746,6 +965,18 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.updateOrganizationBillingTier((viam.app.v1.Billing.UpdateOrganizationBillingTierRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_GET_LOCATION_BILLING_ORGANIZATION: + serviceImpl.getLocationBillingOrganization((viam.app.v1.Billing.GetLocationBillingOrganizationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_LOCATION_BILLING_ORGANIZATION: + serviceImpl.updateLocationBillingOrganization((viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHARGE_ORGANIZATION: + serviceImpl.chargeOrganization((viam.app.v1.Billing.ChargeOrganizationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_CREATE_INVOICE_AND_CHARGE_IMMEDIATELY: serviceImpl.createInvoiceAndChargeImmediately((viam.app.v1.Billing.CreateInvoiceAndChargeImmediatelyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); @@ -817,6 +1048,27 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser viam.app.v1.Billing.UpdateOrganizationBillingTierRequest, viam.app.v1.Billing.UpdateOrganizationBillingTierResponse>( service, METHODID_UPDATE_ORGANIZATION_BILLING_TIER))) + .addMethod( + getGetLocationBillingOrganizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + viam.app.v1.Billing.GetLocationBillingOrganizationRequest, + viam.app.v1.Billing.GetLocationBillingOrganizationResponse>( + service, METHODID_GET_LOCATION_BILLING_ORGANIZATION))) + .addMethod( + getUpdateLocationBillingOrganizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + viam.app.v1.Billing.UpdateLocationBillingOrganizationRequest, + viam.app.v1.Billing.UpdateLocationBillingOrganizationResponse>( + service, METHODID_UPDATE_LOCATION_BILLING_ORGANIZATION))) + .addMethod( + getChargeOrganizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + viam.app.v1.Billing.ChargeOrganizationRequest, + viam.app.v1.Billing.ChargeOrganizationResponse>( + service, METHODID_CHARGE_ORGANIZATION))) .addMethod( getCreateInvoiceAndChargeImmediatelyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -843,6 +1095,9 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getSendPaymentRequiredEmailMethod()) .addMethod(getGetAvailableBillingTiersMethod()) .addMethod(getUpdateOrganizationBillingTierMethod()) + .addMethod(getGetLocationBillingOrganizationMethod()) + .addMethod(getUpdateLocationBillingOrganizationMethod()) + .addMethod(getChargeOrganizationMethod()) .addMethod(getCreateInvoiceAndChargeImmediatelyMethod()) .build(); } diff --git a/core/sdk/src/main/gen/viam/provisioning/v1/Provisioning.java b/core/sdk/src/main/gen/viam/provisioning/v1/Provisioning.java index b98c10ff3..87cd8bd2d 100644 --- a/core/sdk/src/main/gen/viam/provisioning/v1/Provisioning.java +++ b/core/sdk/src/main/gen/viam/provisioning/v1/Provisioning.java @@ -4463,6 +4463,17 @@ public interface CloudConfigOrBuilder extends */ com.google.protobuf.ByteString getAppAddressBytes(); + + /** + * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"]; + * @return Whether the apiKey field is set. + */ + boolean hasApiKey(); + /** + * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"]; + * @return The apiKey. + */ + viam.provisioning.v1.Provisioning.APIKey getApiKey(); } /** *
@@ -4481,6 +4492,7 @@ private CloudConfig() {
       secret_ = "";
       appAddress_ = "";
     }
+    private int bitField0_;
     public static final int ID_FIELD_NUMBER = 1;
     private java.lang.String id_;
     /**
@@ -4662,6 +4674,52 @@ private void setAppAddressBytes(
 
     }
 
+    public static final int API_KEY_FIELD_NUMBER = 4;
+    private viam.provisioning.v1.Provisioning.APIKey apiKey_;
+    /**
+     * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+     */
+    @java.lang.Override
+    public boolean hasApiKey() {
+      return ((bitField0_ & 0x00000001) != 0);
+    }
+    /**
+     * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+     */
+    @java.lang.Override
+    public viam.provisioning.v1.Provisioning.APIKey getApiKey() {
+      return apiKey_ == null ? viam.provisioning.v1.Provisioning.APIKey.getDefaultInstance() : apiKey_;
+    }
+    /**
+     * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+     */
+    private void setApiKey(viam.provisioning.v1.Provisioning.APIKey value) {
+      value.getClass();
+  apiKey_ = value;
+      bitField0_ |= 0x00000001;
+      }
+    /**
+     * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+     */
+    @java.lang.SuppressWarnings({"ReferenceEquality"})
+    private void mergeApiKey(viam.provisioning.v1.Provisioning.APIKey value) {
+      value.getClass();
+  if (apiKey_ != null &&
+          apiKey_ != viam.provisioning.v1.Provisioning.APIKey.getDefaultInstance()) {
+        apiKey_ =
+          viam.provisioning.v1.Provisioning.APIKey.newBuilder(apiKey_).mergeFrom(value).buildPartial();
+      } else {
+        apiKey_ = value;
+      }
+      bitField0_ |= 0x00000001;
+    }
+    /**
+     * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+     */
+    private void clearApiKey() {  apiKey_ = null;
+      bitField0_ = (bitField0_ & ~0x00000001);
+    }
+
     public static viam.provisioning.v1.Provisioning.CloudConfig parseFrom(
         java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
@@ -4950,6 +5008,53 @@ public Builder setAppAddressBytes(
         return this;
       }
 
+      /**
+       * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+       */
+      @java.lang.Override
+      public boolean hasApiKey() {
+        return instance.hasApiKey();
+      }
+      /**
+       * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+       */
+      @java.lang.Override
+      public viam.provisioning.v1.Provisioning.APIKey getApiKey() {
+        return instance.getApiKey();
+      }
+      /**
+       * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+       */
+      public Builder setApiKey(viam.provisioning.v1.Provisioning.APIKey value) {
+        copyOnWrite();
+        instance.setApiKey(value);
+        return this;
+        }
+      /**
+       * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+       */
+      public Builder setApiKey(
+          viam.provisioning.v1.Provisioning.APIKey.Builder builderForValue) {
+        copyOnWrite();
+        instance.setApiKey(builderForValue.build());
+        return this;
+      }
+      /**
+       * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+       */
+      public Builder mergeApiKey(viam.provisioning.v1.Provisioning.APIKey value) {
+        copyOnWrite();
+        instance.mergeApiKey(value);
+        return this;
+      }
+      /**
+       * .viam.provisioning.v1.APIKey api_key = 4 [json_name = "apiKey"];
+       */
+      public Builder clearApiKey() {  copyOnWrite();
+        instance.clearApiKey();
+        return this;
+      }
+
       // @@protoc_insertion_point(builder_scope:viam.provisioning.v1.CloudConfig)
     }
     @java.lang.Override
@@ -4966,13 +5071,15 @@ protected final java.lang.Object dynamicMethod(
         }
         case BUILD_MESSAGE_INFO: {
             java.lang.Object[] objects = new java.lang.Object[] {
+              "bitField0_",
               "id_",
               "secret_",
               "appAddress_",
+              "apiKey_",
             };
             java.lang.String info =
-                "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
-                "\u0003\u0208";
+                "\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
+                "\u0003\u0208\u0004\u1009\u0000";
             return newMessageInfo(DEFAULT_INSTANCE, info, objects);
         }
         // fall through
@@ -5027,6 +5134,411 @@ public static com.google.protobuf.Parser parser() {
     }
   }
 
+  public interface APIKeyOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:viam.provisioning.v1.APIKey)
+      com.google.protobuf.MessageLiteOrBuilder {
+
+    /**
+     * string id = 1 [json_name = "id"];
+     * @return The id.
+     */
+    java.lang.String getId();
+    /**
+     * string id = 1 [json_name = "id"];
+     * @return The bytes for id.
+     */
+    com.google.protobuf.ByteString
+        getIdBytes();
+
+    /**
+     * string key = 2 [json_name = "key"];
+     * @return The key.
+     */
+    java.lang.String getKey();
+    /**
+     * string key = 2 [json_name = "key"];
+     * @return The bytes for key.
+     */
+    com.google.protobuf.ByteString
+        getKeyBytes();
+  }
+  /**
+   * Protobuf type {@code viam.provisioning.v1.APIKey}
+   */
+  public  static final class APIKey extends
+      com.google.protobuf.GeneratedMessageLite<
+          APIKey, APIKey.Builder> implements
+      // @@protoc_insertion_point(message_implements:viam.provisioning.v1.APIKey)
+      APIKeyOrBuilder {
+    private APIKey() {
+      id_ = "";
+      key_ = "";
+    }
+    public static final int ID_FIELD_NUMBER = 1;
+    private java.lang.String id_;
+    /**
+     * string id = 1 [json_name = "id"];
+     * @return The id.
+     */
+    @java.lang.Override
+    public java.lang.String getId() {
+      return id_;
+    }
+    /**
+     * string id = 1 [json_name = "id"];
+     * @return The bytes for id.
+     */
+    @java.lang.Override
+    public com.google.protobuf.ByteString
+        getIdBytes() {
+      return com.google.protobuf.ByteString.copyFromUtf8(id_);
+    }
+    /**
+     * string id = 1 [json_name = "id"];
+     * @param value The id to set.
+     */
+    private void setId(
+        java.lang.String value) {
+      java.lang.Class valueClass = value.getClass();
+  
+      id_ = value;
+    }
+    /**
+     * string id = 1 [json_name = "id"];
+     */
+    private void clearId() {
+
+      id_ = getDefaultInstance().getId();
+    }
+    /**
+     * string id = 1 [json_name = "id"];
+     * @param value The bytes for id to set.
+     */
+    private void setIdBytes(
+        com.google.protobuf.ByteString value) {
+      checkByteStringIsUtf8(value);
+      id_ = value.toStringUtf8();
+
+    }
+
+    public static final int KEY_FIELD_NUMBER = 2;
+    private java.lang.String key_;
+    /**
+     * string key = 2 [json_name = "key"];
+     * @return The key.
+     */
+    @java.lang.Override
+    public java.lang.String getKey() {
+      return key_;
+    }
+    /**
+     * string key = 2 [json_name = "key"];
+     * @return The bytes for key.
+     */
+    @java.lang.Override
+    public com.google.protobuf.ByteString
+        getKeyBytes() {
+      return com.google.protobuf.ByteString.copyFromUtf8(key_);
+    }
+    /**
+     * string key = 2 [json_name = "key"];
+     * @param value The key to set.
+     */
+    private void setKey(
+        java.lang.String value) {
+      java.lang.Class valueClass = value.getClass();
+  
+      key_ = value;
+    }
+    /**
+     * string key = 2 [json_name = "key"];
+     */
+    private void clearKey() {
+
+      key_ = getDefaultInstance().getKey();
+    }
+    /**
+     * string key = 2 [json_name = "key"];
+     * @param value The bytes for key to set.
+     */
+    private void setKeyBytes(
+        com.google.protobuf.ByteString value) {
+      checkByteStringIsUtf8(value);
+      key_ = value.toStringUtf8();
+
+    }
+
+    public static viam.provisioning.v1.Provisioning.APIKey parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return com.google.protobuf.GeneratedMessageLite.parseFrom(
+          DEFAULT_INSTANCE, data);
+    }
+    public static viam.provisioning.v1.Provisioning.APIKey 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.provisioning.v1.Provisioning.APIKey parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return com.google.protobuf.GeneratedMessageLite.parseFrom(
+          DEFAULT_INSTANCE, data);
+    }
+    public static viam.provisioning.v1.Provisioning.APIKey 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.provisioning.v1.Provisioning.APIKey parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return com.google.protobuf.GeneratedMessageLite.parseFrom(
+          DEFAULT_INSTANCE, data);
+    }
+    public static viam.provisioning.v1.Provisioning.APIKey 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.provisioning.v1.Provisioning.APIKey parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageLite.parseFrom(
+          DEFAULT_INSTANCE, input);
+    }
+    public static viam.provisioning.v1.Provisioning.APIKey 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.provisioning.v1.Provisioning.APIKey parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
+    }
+
+    public static viam.provisioning.v1.Provisioning.APIKey parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
+    }
+    public static viam.provisioning.v1.Provisioning.APIKey parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageLite.parseFrom(
+          DEFAULT_INSTANCE, input);
+    }
+    public static viam.provisioning.v1.Provisioning.APIKey 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.provisioning.v1.Provisioning.APIKey prototype) {
+      return DEFAULT_INSTANCE.createBuilder(prototype);
+    }
+
+    /**
+     * Protobuf type {@code viam.provisioning.v1.APIKey}
+     */
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageLite.Builder<
+          viam.provisioning.v1.Provisioning.APIKey, Builder> implements
+        // @@protoc_insertion_point(builder_implements:viam.provisioning.v1.APIKey)
+        viam.provisioning.v1.Provisioning.APIKeyOrBuilder {
+      // Construct using viam.provisioning.v1.Provisioning.APIKey.newBuilder()
+      private Builder() {
+        super(DEFAULT_INSTANCE);
+      }
+
+
+      /**
+       * string id = 1 [json_name = "id"];
+       * @return The id.
+       */
+      @java.lang.Override
+      public java.lang.String getId() {
+        return instance.getId();
+      }
+      /**
+       * string id = 1 [json_name = "id"];
+       * @return The bytes for id.
+       */
+      @java.lang.Override
+      public com.google.protobuf.ByteString
+          getIdBytes() {
+        return instance.getIdBytes();
+      }
+      /**
+       * string id = 1 [json_name = "id"];
+       * @param value The id to set.
+       * @return This builder for chaining.
+       */
+      public Builder setId(
+          java.lang.String value) {
+        copyOnWrite();
+        instance.setId(value);
+        return this;
+      }
+      /**
+       * string id = 1 [json_name = "id"];
+       * @return This builder for chaining.
+       */
+      public Builder clearId() {
+        copyOnWrite();
+        instance.clearId();
+        return this;
+      }
+      /**
+       * string id = 1 [json_name = "id"];
+       * @param value The bytes for id to set.
+       * @return This builder for chaining.
+       */
+      public Builder setIdBytes(
+          com.google.protobuf.ByteString value) {
+        copyOnWrite();
+        instance.setIdBytes(value);
+        return this;
+      }
+
+      /**
+       * string key = 2 [json_name = "key"];
+       * @return The key.
+       */
+      @java.lang.Override
+      public java.lang.String getKey() {
+        return instance.getKey();
+      }
+      /**
+       * string key = 2 [json_name = "key"];
+       * @return The bytes for key.
+       */
+      @java.lang.Override
+      public com.google.protobuf.ByteString
+          getKeyBytes() {
+        return instance.getKeyBytes();
+      }
+      /**
+       * string key = 2 [json_name = "key"];
+       * @param value The key to set.
+       * @return This builder for chaining.
+       */
+      public Builder setKey(
+          java.lang.String value) {
+        copyOnWrite();
+        instance.setKey(value);
+        return this;
+      }
+      /**
+       * string key = 2 [json_name = "key"];
+       * @return This builder for chaining.
+       */
+      public Builder clearKey() {
+        copyOnWrite();
+        instance.clearKey();
+        return this;
+      }
+      /**
+       * string key = 2 [json_name = "key"];
+       * @param value The bytes for key to set.
+       * @return This builder for chaining.
+       */
+      public Builder setKeyBytes(
+          com.google.protobuf.ByteString value) {
+        copyOnWrite();
+        instance.setKeyBytes(value);
+        return this;
+      }
+
+      // @@protoc_insertion_point(builder_scope:viam.provisioning.v1.APIKey)
+    }
+    @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.provisioning.v1.Provisioning.APIKey();
+        }
+        case NEW_BUILDER: {
+          return new Builder();
+        }
+        case BUILD_MESSAGE_INFO: {
+            java.lang.Object[] objects = new java.lang.Object[] {
+              "id_",
+              "key_",
+            };
+            java.lang.String info =
+                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
+                "";
+            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.provisioning.v1.Provisioning.APIKey.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.provisioning.v1.APIKey)
+    private static final viam.provisioning.v1.Provisioning.APIKey DEFAULT_INSTANCE;
+    static {
+      APIKey defaultInstance = new APIKey();
+      // New instances are implicitly immutable so no need to make
+      // immutable.
+      DEFAULT_INSTANCE = defaultInstance;
+      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
+        APIKey.class, defaultInstance);
+    }
+
+    public static viam.provisioning.v1.Provisioning.APIKey getDefaultInstance() {
+      return DEFAULT_INSTANCE;
+    }
+
+    private static volatile com.google.protobuf.Parser PARSER;
+
+    public static com.google.protobuf.Parser parser() {
+      return DEFAULT_INSTANCE.getParserForType();
+    }
+  }
+
 
   static {
   }
diff --git a/core/sdk/src/main/resources/protofds/viam.api b/core/sdk/src/main/resources/protofds/viam.api
index c22ea02de..29d1c9434 100644
Binary files a/core/sdk/src/main/resources/protofds/viam.api and b/core/sdk/src/main/resources/protofds/viam.api differ