@@ -504,7 +504,8 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.toObject = function(includeInstance,
504
504
proto . cs3 . app . registry . v1beta1 . ProviderInfo . toObject , includeInstance ) ,
505
505
name : jspb . Message . getFieldWithDefault ( msg , 5 , "" ) ,
506
506
description : jspb . Message . getFieldWithDefault ( msg , 6 , "" ) ,
507
- icon : jspb . Message . getFieldWithDefault ( msg , 7 , "" )
507
+ icon : jspb . Message . getFieldWithDefault ( msg , 7 , "" ) ,
508
+ allowCreation : jspb . Message . getBooleanFieldWithDefault ( msg , 8 , false )
508
509
} ;
509
510
510
511
if ( includeInstance ) {
@@ -571,6 +572,10 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.deserializeBinaryFromReader = functi
571
572
var value = /** @type {string } */ ( reader . readString ( ) ) ;
572
573
msg . setIcon ( value ) ;
573
574
break ;
575
+ case 8 :
576
+ var value = /** @type {boolean } */ ( reader . readBool ( ) ) ;
577
+ msg . setAllowCreation ( value ) ;
578
+ break ;
574
579
default :
575
580
reader . skipField ( ) ;
576
581
break ;
@@ -651,6 +656,13 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.serializeBinaryToWriter = function(m
651
656
f
652
657
) ;
653
658
}
659
+ f = message . getAllowCreation ( ) ;
660
+ if ( f ) {
661
+ writer . writeBool (
662
+ 8 ,
663
+ f
664
+ ) ;
665
+ }
654
666
} ;
655
667
656
668
@@ -819,4 +831,22 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.prototype.setIcon = function(value)
819
831
} ;
820
832
821
833
834
+ /**
835
+ * optional bool allow_creation = 8;
836
+ * @return {boolean }
837
+ */
838
+ proto . cs3 . app . registry . v1beta1 . MimeTypeInfo . prototype . getAllowCreation = function ( ) {
839
+ return /** @type {boolean } */ ( jspb . Message . getBooleanFieldWithDefault ( this , 8 , false ) ) ;
840
+ } ;
841
+
842
+
843
+ /**
844
+ * @param {boolean } value
845
+ * @return {!proto.cs3.app.registry.v1beta1.MimeTypeInfo } returns this
846
+ */
847
+ proto . cs3 . app . registry . v1beta1 . MimeTypeInfo . prototype . setAllowCreation = function ( value ) {
848
+ return jspb . Message . setProto3BooleanField ( this , 8 , value ) ;
849
+ } ;
850
+
851
+
822
852
goog . object . extend ( exports , proto . cs3 . app . registry . v1beta1 ) ;
0 commit comments