Skip to content

Commit af3f588

Browse files
committed
1 parent 492f9fc commit af3f588

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

cs3/app/registry/v1beta1/resources_pb.js

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.toObject = function(includeInstance,
504504
proto.cs3.app.registry.v1beta1.ProviderInfo.toObject, includeInstance),
505505
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
506506
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)
508509
};
509510

510511
if (includeInstance) {
@@ -571,6 +572,10 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.deserializeBinaryFromReader = functi
571572
var value = /** @type {string} */ (reader.readString());
572573
msg.setIcon(value);
573574
break;
575+
case 8:
576+
var value = /** @type {boolean} */ (reader.readBool());
577+
msg.setAllowCreation(value);
578+
break;
574579
default:
575580
reader.skipField();
576581
break;
@@ -651,6 +656,13 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.serializeBinaryToWriter = function(m
651656
f
652657
);
653658
}
659+
f = message.getAllowCreation();
660+
if (f) {
661+
writer.writeBool(
662+
8,
663+
f
664+
);
665+
}
654666
};
655667

656668

@@ -819,4 +831,22 @@ proto.cs3.app.registry.v1beta1.MimeTypeInfo.prototype.setIcon = function(value)
819831
};
820832

821833

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+
822852
goog.object.extend(exports, proto.cs3.app.registry.v1beta1);

0 commit comments

Comments
 (0)