Skip to content

Commit

Permalink
fixup: Re-generate GRPC bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Nov 14, 2023
1 parent d2ab324 commit ca71245
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
68 changes: 34 additions & 34 deletions agentapi/dart/lib/src/agentapi.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,19 @@ class SubscriptionInfo extends $pb.GeneratedMessage {
factory SubscriptionInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static const $core.Map<$core.int, SubscriptionInfo_SubscriptionType> _SubscriptionInfo_SubscriptionTypeByTag = {
3 : SubscriptionInfo_SubscriptionType.none,
4 : SubscriptionInfo_SubscriptionType.user,
5 : SubscriptionInfo_SubscriptionType.organization,
6 : SubscriptionInfo_SubscriptionType.microsoftStore,
2 : SubscriptionInfo_SubscriptionType.none,
3 : SubscriptionInfo_SubscriptionType.user,
4 : SubscriptionInfo_SubscriptionType.organization,
5 : SubscriptionInfo_SubscriptionType.microsoftStore,
0 : SubscriptionInfo_SubscriptionType.notSet
};
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscriptionInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'agentapi'), createEmptyInstance: create)
..oo(0, [3, 4, 5, 6])
..oo(0, [2, 3, 4, 5])
..aOS(1, _omitFieldNames ? '' : 'productId', protoName: 'productId')
..aOM<Empty>(3, _omitFieldNames ? '' : 'none', subBuilder: Empty.create)
..aOM<Empty>(4, _omitFieldNames ? '' : 'user', subBuilder: Empty.create)
..aOM<Empty>(5, _omitFieldNames ? '' : 'organization', subBuilder: Empty.create)
..aOM<Empty>(6, _omitFieldNames ? '' : 'microsoftStore', protoName: 'microsoftStore', subBuilder: Empty.create)
..aOM<Empty>(2, _omitFieldNames ? '' : 'none', subBuilder: Empty.create)
..aOM<Empty>(3, _omitFieldNames ? '' : 'user', subBuilder: Empty.create)
..aOM<Empty>(4, _omitFieldNames ? '' : 'organization', subBuilder: Empty.create)
..aOM<Empty>(5, _omitFieldNames ? '' : 'microsoftStore', protoName: 'microsoftStore', subBuilder: Empty.create)
..hasRequiredFields = false
;

Expand Down Expand Up @@ -183,48 +183,48 @@ class SubscriptionInfo extends $pb.GeneratedMessage {
@$pb.TagNumber(1)
void clearProductId() => clearField(1);

@$pb.TagNumber(3)
@$pb.TagNumber(2)
Empty get none => $_getN(1);
@$pb.TagNumber(2)
set none(Empty v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasNone() => $_has(1);
@$pb.TagNumber(2)
void clearNone() => clearField(2);
@$pb.TagNumber(2)
Empty ensureNone() => $_ensure(1);

@$pb.TagNumber(3)
set none(Empty v) { setField(3, v); }
Empty get user => $_getN(2);
@$pb.TagNumber(3)
$core.bool hasNone() => $_has(1);
set user(Empty v) { setField(3, v); }
@$pb.TagNumber(3)
void clearNone() => clearField(3);
$core.bool hasUser() => $_has(2);
@$pb.TagNumber(3)
Empty ensureNone() => $_ensure(1);
void clearUser() => clearField(3);
@$pb.TagNumber(3)
Empty ensureUser() => $_ensure(2);

@$pb.TagNumber(4)
Empty get user => $_getN(2);
Empty get organization => $_getN(3);
@$pb.TagNumber(4)
set user(Empty v) { setField(4, v); }
set organization(Empty v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasUser() => $_has(2);
$core.bool hasOrganization() => $_has(3);
@$pb.TagNumber(4)
void clearUser() => clearField(4);
void clearOrganization() => clearField(4);
@$pb.TagNumber(4)
Empty ensureUser() => $_ensure(2);
Empty ensureOrganization() => $_ensure(3);

@$pb.TagNumber(5)
Empty get organization => $_getN(3);
Empty get microsoftStore => $_getN(4);
@$pb.TagNumber(5)
set organization(Empty v) { setField(5, v); }
set microsoftStore(Empty v) { setField(5, v); }
@$pb.TagNumber(5)
$core.bool hasOrganization() => $_has(3);
$core.bool hasMicrosoftStore() => $_has(4);
@$pb.TagNumber(5)
void clearOrganization() => clearField(5);
void clearMicrosoftStore() => clearField(5);
@$pb.TagNumber(5)
Empty ensureOrganization() => $_ensure(3);

@$pb.TagNumber(6)
Empty get microsoftStore => $_getN(4);
@$pb.TagNumber(6)
set microsoftStore(Empty v) { setField(6, v); }
@$pb.TagNumber(6)
$core.bool hasMicrosoftStore() => $_has(4);
@$pb.TagNumber(6)
void clearMicrosoftStore() => clearField(6);
@$pb.TagNumber(6)
Empty ensureMicrosoftStore() => $_ensure(4);
}

Expand Down
14 changes: 7 additions & 7 deletions agentapi/dart/lib/src/agentapi.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ const SubscriptionInfo$json = {
'1': 'SubscriptionInfo',
'2': [
{'1': 'productId', '3': 1, '4': 1, '5': 9, '10': 'productId'},
{'1': 'none', '3': 3, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'none'},
{'1': 'user', '3': 4, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'user'},
{'1': 'organization', '3': 5, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'organization'},
{'1': 'microsoftStore', '3': 6, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'microsoftStore'},
{'1': 'none', '3': 2, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'none'},
{'1': 'user', '3': 3, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'user'},
{'1': 'organization', '3': 4, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'organization'},
{'1': 'microsoftStore', '3': 5, '4': 1, '5': 11, '6': '.agentapi.Empty', '9': 0, '10': 'microsoftStore'},
],
'8': [
{'1': 'subscriptionType'},
Expand All @@ -52,9 +52,9 @@ const SubscriptionInfo$json = {
/// Descriptor for `SubscriptionInfo`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List subscriptionInfoDescriptor = $convert.base64Decode(
'ChBTdWJzY3JpcHRpb25JbmZvEhwKCXByb2R1Y3RJZBgBIAEoCVIJcHJvZHVjdElkEiUKBG5vbm'
'UYAyABKAsyDy5hZ2VudGFwaS5FbXB0eUgAUgRub25lEiUKBHVzZXIYBCABKAsyDy5hZ2VudGFw'
'aS5FbXB0eUgAUgR1c2VyEjUKDG9yZ2FuaXphdGlvbhgFIAEoCzIPLmFnZW50YXBpLkVtcHR5SA'
'BSDG9yZ2FuaXphdGlvbhI5Cg5taWNyb3NvZnRTdG9yZRgGIAEoCzIPLmFnZW50YXBpLkVtcHR5'
'UYAiABKAsyDy5hZ2VudGFwaS5FbXB0eUgAUgRub25lEiUKBHVzZXIYAyABKAsyDy5hZ2VudGFw'
'aS5FbXB0eUgAUgR1c2VyEjUKDG9yZ2FuaXphdGlvbhgEIAEoCzIPLmFnZW50YXBpLkVtcHR5SA'
'BSDG9yZ2FuaXphdGlvbhI5Cg5taWNyb3NvZnRTdG9yZRgFIAEoCzIPLmFnZW50YXBpLkVtcHR5'
'SABSDm1pY3Jvc29mdFN0b3JlQhIKEHN1YnNjcmlwdGlvblR5cGU=');

@$core.Deprecated('Use distroInfoDescriptor instead')
Expand Down
18 changes: 9 additions & 9 deletions agentapi/go/agentapi.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca71245

Please sign in to comment.