@juzi/wechaty-grpc 1.0.89 → 1.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/out/google/api/health_check/v1/health_check_grpc_pb.js +1 -1
- package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +2 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb.js +26 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +53 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.js +416 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb.d.ts +48 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb.js +390 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +48 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +73 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +34 -1
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/cjs/proto/wechaty/puppet/room-member.proto +9 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet.proto +7 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +5 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/google/api/health_check/v1/health_check_grpc_pb.js +1 -1
- package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +2 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb.js +26 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +53 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.js +416 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb.d.ts +48 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb.js +390 -0
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
- package/dist/esm/out/wechaty/puppet.openapi.yaml +48 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +73 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +34 -1
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/esm/proto/wechaty/puppet/room-member.proto +9 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +1 -0
- package/dist/esm/proto/wechaty/puppet.proto +7 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +5 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/google/api/health_check/v1/health_check_grpc_pb.js +1 -1
- package/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +2 -0
- package/out/protoc-gen-openapiv2/options/annotations_pb.js +26 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +53 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.js +416 -0
- package/out/wechaty/puppet/room-member_pb.d.ts +48 -0
- package/out/wechaty/puppet/room-member_pb.js +390 -0
- package/out/wechaty/puppet/room_pb.d.ts +6 -0
- package/out/wechaty/puppet/room_pb.js +58 -2
- package/out/wechaty/puppet.openapi.yaml +48 -1
- package/out/wechaty/puppet.swagger.json +73 -1
- package/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/out/wechaty/puppet_grpc_pb.js +34 -1
- package/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/out/wechaty/puppet_pb_service.js +40 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -18,6 +18,7 @@ var global = (function() { return this || window || global || self || Function('
|
|
|
18
18
|
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
20
20
|
goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Contact', null, global);
|
|
21
|
+
goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema', null, global);
|
|
21
22
|
goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation', null, global);
|
|
22
23
|
goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.Header', null, global);
|
|
23
24
|
goog.exportSymbol('proto.grpc.gateway.protoc_gen_openapiv2.options.HeaderParameter', null, global);
|
|
@@ -273,6 +274,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
273
274
|
*/
|
|
274
275
|
proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.Schema';
|
|
275
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* Generated by JsPbCodeGenerator.
|
|
279
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
280
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
281
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
282
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
283
|
+
* valid.
|
|
284
|
+
* @extends {jspb.Message}
|
|
285
|
+
* @constructor
|
|
286
|
+
*/
|
|
287
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema = function(opt_data) {
|
|
288
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
289
|
+
};
|
|
290
|
+
goog.inherits(proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema, jspb.Message);
|
|
291
|
+
if (goog.DEBUG && !COMPILED) {
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
* @override
|
|
295
|
+
*/
|
|
296
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.displayName = 'proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema';
|
|
297
|
+
}
|
|
276
298
|
/**
|
|
277
299
|
* Generated by JsPbCodeGenerator.
|
|
278
300
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3867,6 +3889,400 @@ proto.grpc.gateway.protoc_gen_openapiv2.options.Schema.prototype.setExample = fu
|
|
|
3867
3889
|
|
|
3868
3890
|
|
|
3869
3891
|
|
|
3892
|
+
|
|
3893
|
+
|
|
3894
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3895
|
+
/**
|
|
3896
|
+
* Creates an object representation of this proto.
|
|
3897
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3898
|
+
* Optional fields that are not set will be set to undefined.
|
|
3899
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3900
|
+
* For the list of reserved names please see:
|
|
3901
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3902
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3903
|
+
* JSPB instance for transitional soy proto support:
|
|
3904
|
+
* http://goto/soy-param-migration
|
|
3905
|
+
* @return {!Object}
|
|
3906
|
+
*/
|
|
3907
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.toObject = function(opt_includeInstance) {
|
|
3908
|
+
return proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.toObject(opt_includeInstance, this);
|
|
3909
|
+
};
|
|
3910
|
+
|
|
3911
|
+
|
|
3912
|
+
/**
|
|
3913
|
+
* Static version of the {@see toObject} method.
|
|
3914
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3915
|
+
* the JSPB instance for transitional soy proto support:
|
|
3916
|
+
* http://goto/soy-param-migration
|
|
3917
|
+
* @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} msg The msg instance to transform.
|
|
3918
|
+
* @return {!Object}
|
|
3919
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3920
|
+
*/
|
|
3921
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.toObject = function(includeInstance, msg) {
|
|
3922
|
+
var f, obj = {
|
|
3923
|
+
description: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3924
|
+
pb_default: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3925
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3926
|
+
required: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
3927
|
+
readOnly: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
3928
|
+
externalDocs: (f = msg.getExternalDocs()) && proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.toObject(includeInstance, f),
|
|
3929
|
+
example: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3930
|
+
ref: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3931
|
+
extensionsMap: (f = msg.getExtensionsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : []
|
|
3932
|
+
};
|
|
3933
|
+
|
|
3934
|
+
if (includeInstance) {
|
|
3935
|
+
obj.$jspbMessageInstance = msg;
|
|
3936
|
+
}
|
|
3937
|
+
return obj;
|
|
3938
|
+
};
|
|
3939
|
+
}
|
|
3940
|
+
|
|
3941
|
+
|
|
3942
|
+
/**
|
|
3943
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3944
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3945
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema}
|
|
3946
|
+
*/
|
|
3947
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.deserializeBinary = function(bytes) {
|
|
3948
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3949
|
+
var msg = new proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema;
|
|
3950
|
+
return proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.deserializeBinaryFromReader(msg, reader);
|
|
3951
|
+
};
|
|
3952
|
+
|
|
3953
|
+
|
|
3954
|
+
/**
|
|
3955
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3956
|
+
* given reader into the given message object.
|
|
3957
|
+
* @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} msg The message object to deserialize into.
|
|
3958
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3959
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema}
|
|
3960
|
+
*/
|
|
3961
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.deserializeBinaryFromReader = function(msg, reader) {
|
|
3962
|
+
while (reader.nextField()) {
|
|
3963
|
+
if (reader.isEndGroup()) {
|
|
3964
|
+
break;
|
|
3965
|
+
}
|
|
3966
|
+
var field = reader.getFieldNumber();
|
|
3967
|
+
switch (field) {
|
|
3968
|
+
case 1:
|
|
3969
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3970
|
+
msg.setDescription(value);
|
|
3971
|
+
break;
|
|
3972
|
+
case 2:
|
|
3973
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3974
|
+
msg.setDefault(value);
|
|
3975
|
+
break;
|
|
3976
|
+
case 3:
|
|
3977
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3978
|
+
msg.setTitle(value);
|
|
3979
|
+
break;
|
|
3980
|
+
case 4:
|
|
3981
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3982
|
+
msg.setRequired(value);
|
|
3983
|
+
break;
|
|
3984
|
+
case 5:
|
|
3985
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3986
|
+
msg.setReadOnly(value);
|
|
3987
|
+
break;
|
|
3988
|
+
case 6:
|
|
3989
|
+
var value = new proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation;
|
|
3990
|
+
reader.readMessage(value,proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.deserializeBinaryFromReader);
|
|
3991
|
+
msg.setExternalDocs(value);
|
|
3992
|
+
break;
|
|
3993
|
+
case 7:
|
|
3994
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3995
|
+
msg.setExample(value);
|
|
3996
|
+
break;
|
|
3997
|
+
case 8:
|
|
3998
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3999
|
+
msg.setRef(value);
|
|
4000
|
+
break;
|
|
4001
|
+
case 9:
|
|
4002
|
+
var value = msg.getExtensionsMap();
|
|
4003
|
+
reader.readMessage(value, function(message, reader) {
|
|
4004
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value());
|
|
4005
|
+
});
|
|
4006
|
+
break;
|
|
4007
|
+
default:
|
|
4008
|
+
reader.skipField();
|
|
4009
|
+
break;
|
|
4010
|
+
}
|
|
4011
|
+
}
|
|
4012
|
+
return msg;
|
|
4013
|
+
};
|
|
4014
|
+
|
|
4015
|
+
|
|
4016
|
+
/**
|
|
4017
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4018
|
+
* @return {!Uint8Array}
|
|
4019
|
+
*/
|
|
4020
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.serializeBinary = function() {
|
|
4021
|
+
var writer = new jspb.BinaryWriter();
|
|
4022
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.serializeBinaryToWriter(this, writer);
|
|
4023
|
+
return writer.getResultBuffer();
|
|
4024
|
+
};
|
|
4025
|
+
|
|
4026
|
+
|
|
4027
|
+
/**
|
|
4028
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4029
|
+
* format), writing to the given BinaryWriter.
|
|
4030
|
+
* @param {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} message
|
|
4031
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4032
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4033
|
+
*/
|
|
4034
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.serializeBinaryToWriter = function(message, writer) {
|
|
4035
|
+
var f = undefined;
|
|
4036
|
+
f = message.getDescription();
|
|
4037
|
+
if (f.length > 0) {
|
|
4038
|
+
writer.writeString(
|
|
4039
|
+
1,
|
|
4040
|
+
f
|
|
4041
|
+
);
|
|
4042
|
+
}
|
|
4043
|
+
f = message.getDefault();
|
|
4044
|
+
if (f.length > 0) {
|
|
4045
|
+
writer.writeString(
|
|
4046
|
+
2,
|
|
4047
|
+
f
|
|
4048
|
+
);
|
|
4049
|
+
}
|
|
4050
|
+
f = message.getTitle();
|
|
4051
|
+
if (f.length > 0) {
|
|
4052
|
+
writer.writeString(
|
|
4053
|
+
3,
|
|
4054
|
+
f
|
|
4055
|
+
);
|
|
4056
|
+
}
|
|
4057
|
+
f = message.getRequired();
|
|
4058
|
+
if (f) {
|
|
4059
|
+
writer.writeBool(
|
|
4060
|
+
4,
|
|
4061
|
+
f
|
|
4062
|
+
);
|
|
4063
|
+
}
|
|
4064
|
+
f = message.getReadOnly();
|
|
4065
|
+
if (f) {
|
|
4066
|
+
writer.writeBool(
|
|
4067
|
+
5,
|
|
4068
|
+
f
|
|
4069
|
+
);
|
|
4070
|
+
}
|
|
4071
|
+
f = message.getExternalDocs();
|
|
4072
|
+
if (f != null) {
|
|
4073
|
+
writer.writeMessage(
|
|
4074
|
+
6,
|
|
4075
|
+
f,
|
|
4076
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation.serializeBinaryToWriter
|
|
4077
|
+
);
|
|
4078
|
+
}
|
|
4079
|
+
f = message.getExample();
|
|
4080
|
+
if (f.length > 0) {
|
|
4081
|
+
writer.writeString(
|
|
4082
|
+
7,
|
|
4083
|
+
f
|
|
4084
|
+
);
|
|
4085
|
+
}
|
|
4086
|
+
f = message.getRef();
|
|
4087
|
+
if (f.length > 0) {
|
|
4088
|
+
writer.writeString(
|
|
4089
|
+
8,
|
|
4090
|
+
f
|
|
4091
|
+
);
|
|
4092
|
+
}
|
|
4093
|
+
f = message.getExtensionsMap(true);
|
|
4094
|
+
if (f && f.getLength() > 0) {
|
|
4095
|
+
f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter);
|
|
4096
|
+
}
|
|
4097
|
+
};
|
|
4098
|
+
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* optional string description = 1;
|
|
4102
|
+
* @return {string}
|
|
4103
|
+
*/
|
|
4104
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getDescription = function() {
|
|
4105
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4106
|
+
};
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
/**
|
|
4110
|
+
* @param {string} value
|
|
4111
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4112
|
+
*/
|
|
4113
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setDescription = function(value) {
|
|
4114
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* optional string default = 2;
|
|
4120
|
+
* @return {string}
|
|
4121
|
+
*/
|
|
4122
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getDefault = function() {
|
|
4123
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4124
|
+
};
|
|
4125
|
+
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* @param {string} value
|
|
4129
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4130
|
+
*/
|
|
4131
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setDefault = function(value) {
|
|
4132
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4133
|
+
};
|
|
4134
|
+
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* optional string title = 3;
|
|
4138
|
+
* @return {string}
|
|
4139
|
+
*/
|
|
4140
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getTitle = function() {
|
|
4141
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4142
|
+
};
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
/**
|
|
4146
|
+
* @param {string} value
|
|
4147
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4148
|
+
*/
|
|
4149
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setTitle = function(value) {
|
|
4150
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4151
|
+
};
|
|
4152
|
+
|
|
4153
|
+
|
|
4154
|
+
/**
|
|
4155
|
+
* optional bool required = 4;
|
|
4156
|
+
* @return {boolean}
|
|
4157
|
+
*/
|
|
4158
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getRequired = function() {
|
|
4159
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
4160
|
+
};
|
|
4161
|
+
|
|
4162
|
+
|
|
4163
|
+
/**
|
|
4164
|
+
* @param {boolean} value
|
|
4165
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4166
|
+
*/
|
|
4167
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setRequired = function(value) {
|
|
4168
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
4169
|
+
};
|
|
4170
|
+
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* optional bool read_only = 5;
|
|
4174
|
+
* @return {boolean}
|
|
4175
|
+
*/
|
|
4176
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getReadOnly = function() {
|
|
4177
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
4178
|
+
};
|
|
4179
|
+
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* @param {boolean} value
|
|
4183
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4184
|
+
*/
|
|
4185
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setReadOnly = function(value) {
|
|
4186
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
4187
|
+
};
|
|
4188
|
+
|
|
4189
|
+
|
|
4190
|
+
/**
|
|
4191
|
+
* optional ExternalDocumentation external_docs = 6;
|
|
4192
|
+
* @return {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation}
|
|
4193
|
+
*/
|
|
4194
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getExternalDocs = function() {
|
|
4195
|
+
return /** @type{?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation} */ (
|
|
4196
|
+
jspb.Message.getWrapperField(this, proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation, 6));
|
|
4197
|
+
};
|
|
4198
|
+
|
|
4199
|
+
|
|
4200
|
+
/**
|
|
4201
|
+
* @param {?proto.grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation|undefined} value
|
|
4202
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4203
|
+
*/
|
|
4204
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setExternalDocs = function(value) {
|
|
4205
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
4206
|
+
};
|
|
4207
|
+
|
|
4208
|
+
|
|
4209
|
+
/**
|
|
4210
|
+
* Clears the message field making it undefined.
|
|
4211
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4212
|
+
*/
|
|
4213
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.clearExternalDocs = function() {
|
|
4214
|
+
return this.setExternalDocs(undefined);
|
|
4215
|
+
};
|
|
4216
|
+
|
|
4217
|
+
|
|
4218
|
+
/**
|
|
4219
|
+
* Returns whether this field is set.
|
|
4220
|
+
* @return {boolean}
|
|
4221
|
+
*/
|
|
4222
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.hasExternalDocs = function() {
|
|
4223
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4224
|
+
};
|
|
4225
|
+
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* optional string example = 7;
|
|
4229
|
+
* @return {string}
|
|
4230
|
+
*/
|
|
4231
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getExample = function() {
|
|
4232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4233
|
+
};
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
/**
|
|
4237
|
+
* @param {string} value
|
|
4238
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4239
|
+
*/
|
|
4240
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setExample = function(value) {
|
|
4241
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4242
|
+
};
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
/**
|
|
4246
|
+
* optional string ref = 8;
|
|
4247
|
+
* @return {string}
|
|
4248
|
+
*/
|
|
4249
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getRef = function() {
|
|
4250
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4251
|
+
};
|
|
4252
|
+
|
|
4253
|
+
|
|
4254
|
+
/**
|
|
4255
|
+
* @param {string} value
|
|
4256
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4257
|
+
*/
|
|
4258
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.setRef = function(value) {
|
|
4259
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4260
|
+
};
|
|
4261
|
+
|
|
4262
|
+
|
|
4263
|
+
/**
|
|
4264
|
+
* map<string, google.protobuf.Value> extensions = 9;
|
|
4265
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
4266
|
+
* empty, instead returning `undefined`
|
|
4267
|
+
* @return {!jspb.Map<string,!proto.google.protobuf.Value>}
|
|
4268
|
+
*/
|
|
4269
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.getExtensionsMap = function(opt_noLazyCreate) {
|
|
4270
|
+
return /** @type {!jspb.Map<string,!proto.google.protobuf.Value>} */ (
|
|
4271
|
+
jspb.Message.getMapField(this, 9, opt_noLazyCreate,
|
|
4272
|
+
proto.google.protobuf.Value));
|
|
4273
|
+
};
|
|
4274
|
+
|
|
4275
|
+
|
|
4276
|
+
/**
|
|
4277
|
+
* Clears values from the map. The map will be non-null.
|
|
4278
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema} returns this
|
|
4279
|
+
*/
|
|
4280
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.EnumSchema.prototype.clearExtensionsMap = function() {
|
|
4281
|
+
this.getExtensionsMap().clear();
|
|
4282
|
+
return this;};
|
|
4283
|
+
|
|
4284
|
+
|
|
4285
|
+
|
|
3870
4286
|
/**
|
|
3871
4287
|
* List of repeated fields within this message type.
|
|
3872
4288
|
* @private {!Array<number>}
|
|
@@ -117,6 +117,54 @@ export namespace RoomMemberListResponse {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
export class BatchRoomMemberPayloadRequest extends jspb.Message {
|
|
121
|
+
getId(): string;
|
|
122
|
+
setId(value: string): void;
|
|
123
|
+
|
|
124
|
+
clearMemberIdsList(): void;
|
|
125
|
+
getMemberIdsList(): Array<string>;
|
|
126
|
+
setMemberIdsList(value: Array<string>): void;
|
|
127
|
+
addMemberIds(value: string, index?: number): string;
|
|
128
|
+
|
|
129
|
+
serializeBinary(): Uint8Array;
|
|
130
|
+
toObject(includeInstance?: boolean): BatchRoomMemberPayloadRequest.AsObject;
|
|
131
|
+
static toObject(includeInstance: boolean, msg: BatchRoomMemberPayloadRequest): BatchRoomMemberPayloadRequest.AsObject;
|
|
132
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
133
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
134
|
+
static serializeBinaryToWriter(message: BatchRoomMemberPayloadRequest, writer: jspb.BinaryWriter): void;
|
|
135
|
+
static deserializeBinary(bytes: Uint8Array): BatchRoomMemberPayloadRequest;
|
|
136
|
+
static deserializeBinaryFromReader(message: BatchRoomMemberPayloadRequest, reader: jspb.BinaryReader): BatchRoomMemberPayloadRequest;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export namespace BatchRoomMemberPayloadRequest {
|
|
140
|
+
export type AsObject = {
|
|
141
|
+
id: string,
|
|
142
|
+
memberIdsList: Array<string>,
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export class BatchRoomMemberPayloadResponse extends jspb.Message {
|
|
147
|
+
clearMembersList(): void;
|
|
148
|
+
getMembersList(): Array<RoomMemberPayloadResponse>;
|
|
149
|
+
setMembersList(value: Array<RoomMemberPayloadResponse>): void;
|
|
150
|
+
addMembers(value?: RoomMemberPayloadResponse, index?: number): RoomMemberPayloadResponse;
|
|
151
|
+
|
|
152
|
+
serializeBinary(): Uint8Array;
|
|
153
|
+
toObject(includeInstance?: boolean): BatchRoomMemberPayloadResponse.AsObject;
|
|
154
|
+
static toObject(includeInstance: boolean, msg: BatchRoomMemberPayloadResponse): BatchRoomMemberPayloadResponse.AsObject;
|
|
155
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
156
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
157
|
+
static serializeBinaryToWriter(message: BatchRoomMemberPayloadResponse, writer: jspb.BinaryWriter): void;
|
|
158
|
+
static deserializeBinary(bytes: Uint8Array): BatchRoomMemberPayloadResponse;
|
|
159
|
+
static deserializeBinaryFromReader(message: BatchRoomMemberPayloadResponse, reader: jspb.BinaryReader): BatchRoomMemberPayloadResponse;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export namespace BatchRoomMemberPayloadResponse {
|
|
163
|
+
export type AsObject = {
|
|
164
|
+
membersList: Array<RoomMemberPayloadResponse.AsObject>,
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
120
168
|
export interface RoomMemberJoinSceneTypeMap {
|
|
121
169
|
ROOM_MEMBER_JOIN_SCENE_TYPE_UNKNOWN: 0;
|
|
122
170
|
ROOM_MEMBER_JOIN_SCENE_TYPE_ADD: 1;
|