@@ -1393,7 +1393,9 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.toObject = function(includeInst
13931393 lastModified : ( f = msg . getLastModified ( ) ) && google_protobuf_timestamp_pb . Timestamp . toObject ( includeInstance , f ) ,
13941394 syncedModelId : jspb . Message . getFieldWithDefault ( msg , 5 , "" ) ,
13951395 id : jspb . Message . getFieldWithDefault ( msg , 7 , "" ) ,
1396- errorStatus : ( f = msg . getErrorStatus ( ) ) && google_rpc_status_pb . Status . toObject ( includeInstance , f )
1396+ errorStatus : ( f = msg . getErrorStatus ( ) ) && google_rpc_status_pb . Status . toObject ( includeInstance , f ) ,
1397+ trainingStarted : ( f = msg . getTrainingStarted ( ) ) && google_protobuf_timestamp_pb . Timestamp . toObject ( includeInstance , f ) ,
1398+ trainingEnded : ( f = msg . getTrainingEnded ( ) ) && google_protobuf_timestamp_pb . Timestamp . toObject ( includeInstance , f )
13971399 } ;
13981400
13991401 if ( includeInstance ) {
@@ -1462,6 +1464,16 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.deserializeBinaryFromReader = f
14621464 reader . readMessage ( value , google_rpc_status_pb . Status . deserializeBinaryFromReader ) ;
14631465 msg . setErrorStatus ( value ) ;
14641466 break ;
1467+ case 9 :
1468+ var value = new google_protobuf_timestamp_pb . Timestamp ;
1469+ reader . readMessage ( value , google_protobuf_timestamp_pb . Timestamp . deserializeBinaryFromReader ) ;
1470+ msg . setTrainingStarted ( value ) ;
1471+ break ;
1472+ case 10 :
1473+ var value = new google_protobuf_timestamp_pb . Timestamp ;
1474+ reader . readMessage ( value , google_protobuf_timestamp_pb . Timestamp . deserializeBinaryFromReader ) ;
1475+ msg . setTrainingEnded ( value ) ;
1476+ break ;
14651477 default :
14661478 reader . skipField ( ) ;
14671479 break ;
@@ -1544,6 +1556,22 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.serializeBinaryToWriter = funct
15441556 google_rpc_status_pb . Status . serializeBinaryToWriter
15451557 ) ;
15461558 }
1559+ f = message . getTrainingStarted ( ) ;
1560+ if ( f != null ) {
1561+ writer . writeMessage (
1562+ 9 ,
1563+ f ,
1564+ google_protobuf_timestamp_pb . Timestamp . serializeBinaryToWriter
1565+ ) ;
1566+ }
1567+ f = message . getTrainingEnded ( ) ;
1568+ if ( f != null ) {
1569+ writer . writeMessage (
1570+ 10 ,
1571+ f ,
1572+ google_protobuf_timestamp_pb . Timestamp . serializeBinaryToWriter
1573+ ) ;
1574+ }
15471575} ;
15481576
15491577
@@ -1749,6 +1777,80 @@ proto.viam.app.mltraining.v1.TrainingJobMetadata.prototype.hasErrorStatus = func
17491777} ;
17501778
17511779
1780+ /**
1781+ * optional google.protobuf.Timestamp training_started = 9;
1782+ * @return {?proto.google.protobuf.Timestamp }
1783+ */
1784+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . getTrainingStarted = function ( ) {
1785+ return /** @type {?proto.google.protobuf.Timestamp } */ (
1786+ jspb . Message . getWrapperField ( this , google_protobuf_timestamp_pb . Timestamp , 9 ) ) ;
1787+ } ;
1788+
1789+
1790+ /**
1791+ * @param {?proto.google.protobuf.Timestamp|undefined } value
1792+ * @return {!proto.viam.app.mltraining.v1.TrainingJobMetadata } returns this
1793+ */
1794+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . setTrainingStarted = function ( value ) {
1795+ return jspb . Message . setWrapperField ( this , 9 , value ) ;
1796+ } ;
1797+
1798+
1799+ /**
1800+ * Clears the message field making it undefined.
1801+ * @return {!proto.viam.app.mltraining.v1.TrainingJobMetadata } returns this
1802+ */
1803+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . clearTrainingStarted = function ( ) {
1804+ return this . setTrainingStarted ( undefined ) ;
1805+ } ;
1806+
1807+
1808+ /**
1809+ * Returns whether this field is set.
1810+ * @return {boolean }
1811+ */
1812+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . hasTrainingStarted = function ( ) {
1813+ return jspb . Message . getField ( this , 9 ) != null ;
1814+ } ;
1815+
1816+
1817+ /**
1818+ * optional google.protobuf.Timestamp training_ended = 10;
1819+ * @return {?proto.google.protobuf.Timestamp }
1820+ */
1821+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . getTrainingEnded = function ( ) {
1822+ return /** @type {?proto.google.protobuf.Timestamp } */ (
1823+ jspb . Message . getWrapperField ( this , google_protobuf_timestamp_pb . Timestamp , 10 ) ) ;
1824+ } ;
1825+
1826+
1827+ /**
1828+ * @param {?proto.google.protobuf.Timestamp|undefined } value
1829+ * @return {!proto.viam.app.mltraining.v1.TrainingJobMetadata } returns this
1830+ */
1831+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . setTrainingEnded = function ( value ) {
1832+ return jspb . Message . setWrapperField ( this , 10 , value ) ;
1833+ } ;
1834+
1835+
1836+ /**
1837+ * Clears the message field making it undefined.
1838+ * @return {!proto.viam.app.mltraining.v1.TrainingJobMetadata } returns this
1839+ */
1840+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . clearTrainingEnded = function ( ) {
1841+ return this . setTrainingEnded ( undefined ) ;
1842+ } ;
1843+
1844+
1845+ /**
1846+ * Returns whether this field is set.
1847+ * @return {boolean }
1848+ */
1849+ proto . viam . app . mltraining . v1 . TrainingJobMetadata . prototype . hasTrainingEnded = function ( ) {
1850+ return jspb . Message . getField ( this , 10 ) != null ;
1851+ } ;
1852+
1853+
17521854
17531855
17541856
0 commit comments