update proto

This commit is contained in:
Hiroshi Horie
2022-03-04 18:56:39 +09:00
parent 0577302793
commit 118526596e
3 changed files with 33 additions and 18 deletions
+21
View File
@@ -1310,6 +1310,11 @@ class JoinResponse extends $pb.GeneratedMessage {
? ''
: 'clientConfiguration',
subBuilder: $0.ClientConfiguration.create)
..aOS(
9,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'serverRegion')
..hasRequiredFields = false;
JoinResponse._() : super();
@@ -1322,6 +1327,7 @@ class JoinResponse extends $pb.GeneratedMessage {
$core.bool? subscriberPrimary,
$core.String? alternativeUrl,
$0.ClientConfiguration? clientConfiguration,
$core.String? serverRegion,
}) {
final _result = create();
if (room != null) {
@@ -1348,6 +1354,9 @@ class JoinResponse extends $pb.GeneratedMessage {
if (clientConfiguration != null) {
_result.clientConfiguration = clientConfiguration;
}
if (serverRegion != null) {
_result.serverRegion = serverRegion;
}
return _result;
}
factory JoinResponse.fromBuffer($core.List<$core.int> i,
@@ -1460,6 +1469,18 @@ class JoinResponse extends $pb.GeneratedMessage {
void clearClientConfiguration() => clearField(8);
@$pb.TagNumber(8)
$0.ClientConfiguration ensureClientConfiguration() => $_ensure(7);
@$pb.TagNumber(9)
$core.String get serverRegion => $_getSZ(8);
@$pb.TagNumber(9)
set serverRegion($core.String v) {
$_setString(8, v);
}
@$pb.TagNumber(9)
$core.bool hasServerRegion() => $_has(8);
@$pb.TagNumber(9)
void clearServerRegion() => clearField(9);
}
class TrackPublishedResponse extends $pb.GeneratedMessage {
+2 -1
View File
@@ -437,12 +437,13 @@ const JoinResponse$json = const {
'6': '.livekit.ClientConfiguration',
'10': 'clientConfiguration'
},
const {'1': 'server_region', '3': 9, '4': 1, '5': 9, '10': 'serverRegion'},
],
};
/// Descriptor for `JoinResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List joinResponseDescriptor = $convert.base64Decode(
'CgxKb2luUmVzcG9uc2USIQoEcm9vbRgBIAEoCzINLmxpdmVraXQuUm9vb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3VyYXRpb25SE2NsaWVudENvbmZpZ3VyYXRpb24SIwoNc2VydmVyX3JlZ2lvbhgJIAEoCVIMc2VydmVyUmVnaW9u');
@$core.Deprecated('Use trackPublishedResponseDescriptor instead')
const TrackPublishedResponse$json = const {
'1': 'TrackPublishedResponse',