diff --git a/core/sdk/src/main/gen/viam/app/mltraining/v1/MlTraining.java b/core/sdk/src/main/gen/viam/app/mltraining/v1/MlTraining.java index 57b48db83..b21afbe7e 100644 --- a/core/sdk/src/main/gen/viam/app/mltraining/v1/MlTraining.java +++ b/core/sdk/src/main/gen/viam/app/mltraining/v1/MlTraining.java @@ -4117,17 +4117,6 @@ public interface TrainingJobMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:viam.app.mltraining.v1.TrainingJobMetadata) com.google.protobuf.MessageLiteOrBuilder { - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - * @return Whether the request field is set. - */ - boolean hasRequest(); - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - * @return The request. - */ - viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest getRequest(); - /** * string id = 7 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; * @return The id. @@ -4363,52 +4352,6 @@ private TrainingJobMetadata() { tags_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList(); } private int bitField0_; - public static final int REQUEST_FIELD_NUMBER = 1; - private viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest request_; - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - @java.lang.Override - public boolean hasRequest() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - @java.lang.Override - public viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest getRequest() { - return request_ == null ? viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest.getDefaultInstance() : request_; - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - private void setRequest(viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest value) { - value.getClass(); - request_ = value; - bitField0_ |= 0x00000001; - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - @java.lang.SuppressWarnings({"ReferenceEquality"}) - private void mergeRequest(viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest value) { - value.getClass(); - if (request_ != null && - request_ != viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest.getDefaultInstance()) { - request_ = - viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest.newBuilder(request_).mergeFrom(value).buildPartial(); - } else { - request_ = value; - } - bitField0_ |= 0x00000001; - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - private void clearRequest() { request_ = null; - bitField0_ = (bitField0_ & ~0x00000001); - } - public static final int ID_FIELD_NUMBER = 7; private java.lang.String id_; /** @@ -4897,7 +4840,7 @@ private void clearStatus() { */ @java.lang.Override public boolean hasErrorStatus() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000001) != 0); } /** * .google.rpc.Status error_status = 8 [json_name = "errorStatus", (.tagger.v1.tags) = "bson:\"error_status\" json:\"error_status\""]; @@ -4912,7 +4855,7 @@ public com.google.rpc.Status getErrorStatus() { private void setErrorStatus(com.google.rpc.Status value) { value.getClass(); errorStatus_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } /** * .google.rpc.Status error_status = 8 [json_name = "errorStatus", (.tagger.v1.tags) = "bson:\"error_status\" json:\"error_status\""]; @@ -4927,13 +4870,13 @@ private void mergeErrorStatus(com.google.rpc.Status value) { } else { errorStatus_ = value; } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } /** * .google.rpc.Status error_status = 8 [json_name = "errorStatus", (.tagger.v1.tags) = "bson:\"error_status\" json:\"error_status\""]; */ private void clearErrorStatus() { errorStatus_ = null; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } public static final int CREATED_ON_FIELD_NUMBER = 3; @@ -4943,7 +4886,7 @@ private void mergeErrorStatus(com.google.rpc.Status value) { */ @java.lang.Override public boolean hasCreatedOn() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\" json:\"created_on\""]; @@ -4958,7 +4901,7 @@ public com.google.protobuf.Timestamp getCreatedOn() { private void setCreatedOn(com.google.protobuf.Timestamp value) { value.getClass(); createdOn_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } /** * .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\" json:\"created_on\""]; @@ -4973,13 +4916,13 @@ private void mergeCreatedOn(com.google.protobuf.Timestamp value) { } else { createdOn_ = value; } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; } /** * .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\" json:\"created_on\""]; */ private void clearCreatedOn() { createdOn_ = null; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); } public static final int LAST_MODIFIED_FIELD_NUMBER = 4; @@ -4989,7 +4932,7 @@ private void mergeCreatedOn(com.google.protobuf.Timestamp value) { */ @java.lang.Override public boolean hasLastModified() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * .google.protobuf.Timestamp last_modified = 4 [json_name = "lastModified", (.tagger.v1.tags) = "bson:\"last_modified\" json:\"last_modified\""]; @@ -5004,7 +4947,7 @@ public com.google.protobuf.Timestamp getLastModified() { private void setLastModified(com.google.protobuf.Timestamp value) { value.getClass(); lastModified_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; } /** * .google.protobuf.Timestamp last_modified = 4 [json_name = "lastModified", (.tagger.v1.tags) = "bson:\"last_modified\" json:\"last_modified\""]; @@ -5019,13 +4962,13 @@ private void mergeLastModified(com.google.protobuf.Timestamp value) { } else { lastModified_ = value; } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; } /** * .google.protobuf.Timestamp last_modified = 4 [json_name = "lastModified", (.tagger.v1.tags) = "bson:\"last_modified\" json:\"last_modified\""]; */ private void clearLastModified() { lastModified_ = null; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); } public static final int TRAINING_STARTED_FIELD_NUMBER = 9; @@ -5035,7 +4978,7 @@ private void mergeLastModified(com.google.protobuf.Timestamp value) { */ @java.lang.Override public boolean hasTrainingStarted() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * .google.protobuf.Timestamp training_started = 9 [json_name = "trainingStarted", (.tagger.v1.tags) = "bson:\"training_started\" json:\"training_started\""]; @@ -5050,7 +4993,7 @@ public com.google.protobuf.Timestamp getTrainingStarted() { private void setTrainingStarted(com.google.protobuf.Timestamp value) { value.getClass(); trainingStarted_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; } /** * .google.protobuf.Timestamp training_started = 9 [json_name = "trainingStarted", (.tagger.v1.tags) = "bson:\"training_started\" json:\"training_started\""]; @@ -5065,13 +5008,13 @@ private void mergeTrainingStarted(com.google.protobuf.Timestamp value) { } else { trainingStarted_ = value; } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000008; } /** * .google.protobuf.Timestamp training_started = 9 [json_name = "trainingStarted", (.tagger.v1.tags) = "bson:\"training_started\" json:\"training_started\""]; */ private void clearTrainingStarted() { trainingStarted_ = null; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000008); } public static final int TRAINING_ENDED_FIELD_NUMBER = 10; @@ -5081,7 +5024,7 @@ private void mergeTrainingStarted(com.google.protobuf.Timestamp value) { */ @java.lang.Override public boolean hasTrainingEnded() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * .google.protobuf.Timestamp training_ended = 10 [json_name = "trainingEnded", (.tagger.v1.tags) = "bson:\"training_ended\" json:\"training_ended\""]; @@ -5096,7 +5039,7 @@ public com.google.protobuf.Timestamp getTrainingEnded() { private void setTrainingEnded(com.google.protobuf.Timestamp value) { value.getClass(); trainingEnded_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; } /** * .google.protobuf.Timestamp training_ended = 10 [json_name = "trainingEnded", (.tagger.v1.tags) = "bson:\"training_ended\" json:\"training_ended\""]; @@ -5111,13 +5054,13 @@ private void mergeTrainingEnded(com.google.protobuf.Timestamp value) { } else { trainingEnded_ = value; } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000010; } /** * .google.protobuf.Timestamp training_ended = 10 [json_name = "trainingEnded", (.tagger.v1.tags) = "bson:\"training_ended\" json:\"training_ended\""]; */ private void clearTrainingEnded() { trainingEnded_ = null; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000010); } public static final int SYNCED_MODEL_ID_FIELD_NUMBER = 5; @@ -5357,53 +5300,6 @@ private Builder() { } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - @java.lang.Override - public boolean hasRequest() { - return instance.hasRequest(); - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - @java.lang.Override - public viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest getRequest() { - return instance.getRequest(); - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - public Builder setRequest(viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest value) { - copyOnWrite(); - instance.setRequest(value); - return this; - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - public Builder setRequest( - viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest.Builder builderForValue) { - copyOnWrite(); - instance.setRequest(builderForValue.build()); - return this; - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - public Builder mergeRequest(viam.app.mltraining.v1.MlTraining.SubmitTrainingJobRequest value) { - copyOnWrite(); - instance.mergeRequest(value); - return this; - } - /** - * .viam.app.mltraining.v1.SubmitTrainingJobRequest request = 1 [json_name = "request", (.tagger.v1.tags) = "bson:\"request\" json:\"request\""]; - */ - public Builder clearRequest() { copyOnWrite(); - instance.clearRequest(); - return this; - } - /** * string id = 7 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""]; * @return The id. @@ -6306,7 +6202,6 @@ protected final java.lang.Object dynamicMethod( case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", - "request_", "status_", "createdOn_", "lastModified_", @@ -6327,10 +6222,10 @@ protected final java.lang.Object dynamicMethod( "registryItemVersion_", }; java.lang.String info = - "\u0000\u0013\u0000\u0001\u0001\u0014\u0013\u0000\u0001\u0000\u0001\u1009\u0000\u0002" + - "\f\u0003\u1009\u0002\u0004\u1009\u0003\u0005\u0208\u0007\u0208\b\u1009\u0001\t\u1009" + - "\u0004\n\u1009\u0005\u000b\u0208\f\u0208\r\u0208\u000e\u0208\u000f\f\u0010\u021a" + - "\u0011\f\u0012\u0007\u0013\u0208\u0014\u0208"; + "\u0000\u0012\u0000\u0001\u0002\u0014\u0012\u0000\u0001\u0000\u0002\f\u0003\u1009" + + "\u0001\u0004\u1009\u0002\u0005\u0208\u0007\u0208\b\u1009\u0000\t\u1009\u0003\n\u1009" + + "\u0004\u000b\u0208\f\u0208\r\u0208\u000e\u0208\u000f\f\u0010\u021a\u0011\f\u0012" + + "\u0007\u0013\u0208\u0014\u0208"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through diff --git a/core/sdk/src/main/resources/protofds/viam.api b/core/sdk/src/main/resources/protofds/viam.api index 96c33f519..413800b53 100644 Binary files a/core/sdk/src/main/resources/protofds/viam.api and b/core/sdk/src/main/resources/protofds/viam.api differ