Update protobuf definitions: 2431d438
By allanger
Commit link: 2431d438e5
Pipeline link: https://ci.badhouseplants.net/repos/34/pipeline/63
This commit is contained in:
@@ -1,90 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from options/v1/options_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
class AuthOptions extends $pb.GeneratedMessage {
|
||||
factory AuthOptions({
|
||||
$core.bool? auth,
|
||||
}) {
|
||||
final result = create();
|
||||
if (auth != null) result.auth = auth;
|
||||
return result;
|
||||
}
|
||||
|
||||
AuthOptions._();
|
||||
|
||||
factory AuthOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory AuthOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'AuthOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'options.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOB(1, _omitFieldNames ? '' : 'auth')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AuthOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AuthOptions copyWith(void Function(AuthOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as AuthOptions))
|
||||
as AuthOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AuthOptions create() => AuthOptions._();
|
||||
@$core.override
|
||||
AuthOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AuthOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<AuthOptions>(create);
|
||||
static AuthOptions? _defaultInstance;
|
||||
|
||||
/// When set to false, the auth interceptor will be skiped on the backend
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool get auth => $_getBF(0);
|
||||
@$pb.TagNumber(1)
|
||||
set auth($core.bool value) => $_setBool(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasAuth() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearAuth() => $_clearField(1);
|
||||
}
|
||||
|
||||
class Options_v1 {
|
||||
static final authOptions = $pb.Extension<AuthOptions>(
|
||||
_omitMessageNames ? '' : 'google.protobuf.MethodOptions',
|
||||
_omitFieldNames ? '' : 'authOptions',
|
||||
50001,
|
||||
$pb.PbFieldType.OM,
|
||||
defaultOrMaker: AuthOptions.getDefault,
|
||||
subBuilder: AuthOptions.create);
|
||||
static void registerAllExtensions($pb.ExtensionRegistry registry) {
|
||||
registry.add(authOptions);
|
||||
}
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
@@ -1,11 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from options/v1/options_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
@@ -1,28 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from options/v1/options_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use authOptionsDescriptor instead')
|
||||
const AuthOptions$json = {
|
||||
'1': 'AuthOptions',
|
||||
'2': [
|
||||
{'1': 'auth', '3': 1, '4': 1, '5': 8, '10': 'auth'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `AuthOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List authOptionsDescriptor =
|
||||
$convert.base64Decode('CgtBdXRoT3B0aW9ucxISCgRhdXRoGAEgASgIUgRhdXRo');
|
||||
Reference in New Issue
Block a user