diff --git a/lib/src/app/app.dart b/lib/src/app/app.dart index 35a2b84a4b5..fea1635218d 100644 --- a/lib/src/app/app.dart +++ b/lib/src/app/app.dart @@ -5,6 +5,7 @@ import '../gen/app/v1/app.pbgrpc.dart'; import '../gen/common/v1/common.pb.dart'; import '../utils.dart'; import 'permissions.dart'; +import 'package:google_protobuf/google/protobuf/struct.pb.dart'; typedef RobotPartLogPage = GetRobotPartLogsResponse; @@ -729,4 +730,102 @@ class AppClient { final request = CreateKeyFromExistingKeyAuthorizationsRequest()..id = id; return await _client.createKeyFromExistingKeyAuthorizations(request); } + + /// Retrieves user-defined [Metadata] for an organization. + /// + /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + Future getOrganizationMetadata(String id) async { + final request = GetOrganizationMetadataRequest()..organizationId = id; + return await _client.getOrganizationMetadata(request); + } + + // /// Updates user-defined [Metadata] for an organization. + // /// + // /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + // Future updateOrganizationMetadata(String id, Map data) async { + // final request = UpdateOrganizationMetadataRequest() + // ..organizationId = id + // ..data = _mapToStruct(data); + // await _client.updateOrganizationMetadata(request); + // } + + // /// Retrieves user-defined [Metadata] for a location. + // /// + // /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + // Future getLocationMetadata(String id) async { + // final request = GetLocationMetadataRequest()..locationId = id; + // return await _client.getLocationMetadata(request); + // } + + // /// Updates user-defined [Metadata] for a location. + // /// + // /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + // Future updateLocationMetadata(String id, Map data) async { + // final request = UpdateLocationMetadataRequest() + // ..locationId = id + // ..data = _mapToStruct(data); + // await _client.updateLocationMetadata(request); + // } + + // /// Retrieves user-defined [Metadata] for a robot. + // /// + // /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + // Future getRobotMetadata(String id) async { + // final request = GetRobotMetadataRequest()..id = id; + // return await _client.getRobotMetadata(request); + // } + + // /// Updates user-defined [Metadata] for a robot. + // /// + // /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + // Future updateRobotMetadata(String id, Map data) async { + // final request = UpdateRobotMetadataRequest() + // ..id = id + // ..data = _mapToStruct(data); + // await _client.updateRobotMetadata(request); + // } + + // /// Retrieves user-defined [Metadata] for a robot part. + // /// + // /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + // Future getRobotPartMetadata(String id) async { + // final request = GetRobotPartMetadataRequest()..id = id; + // return await _client.getRobotPartMetadata(request); + // } + + // /// Updates user-defined [Metadata] for a robot part. + // /// + // /// For more information, see [Fleet Management API](https://docs.viam.com/appendix/apis/fleet/). + // Future updateRobotPartMetadata(String id, Map data) async { + // final request = UpdateRobotPartMetadataRequest() + // ..id = id + // ..data = _mapToStruct(data); + // await _client.updateRobotPartMetadata(request); + // } + + /// Helper function to convert a Dart Map to a protobuf Struct. + Struct _mapToStruct(Map data) { + final struct = Struct(); + struct.fields.addAll(data.map((key, value) => MapEntry(key, _convertValue(value)))); + return struct; + } + + /// Helper function to convert Dart values to protobuf Values. + Value _convertValue(dynamic value) { + final val = Value(); + if (value is String) { + val.stringValue = value; + } else if (value is int) { + val.numberValue = value.toDouble(); + } else if (value is double) { + val.numberValue = value; + } else if (value is bool) { + val.boolValue = value; + } else if (value is List) { + val.listValue = ListValue()..values.addAll(value.map(_convertValue)); + } else if (value is Map) { + val.structValue = _mapToStruct(value); + } + return val; + } } diff --git a/lib/src/gen/app/agent/v1/agent.pb.dart b/lib/src/gen/app/agent/v1/agent.pb.dart deleted file mode 100644 index cc9036691c4..00000000000 --- a/lib/src/gen/app/agent/v1/agent.pb.dart +++ /dev/null @@ -1,672 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/agent/v1/agent.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/duration.pb.dart' as $45; -import '../../../google/protobuf/struct.pb.dart' as $46; -import 'agent.pbenum.dart'; - -export 'agent.pbenum.dart'; - -/// Device side -class DeviceAgentConfigRequest extends $pb.GeneratedMessage { - factory DeviceAgentConfigRequest({ - $core.String? id, - HostInfo? hostInfo, - @$core.Deprecated('This field is deprecated.') - $core.Map<$core.String, $core.String>? subsystemVersions, - VersionInfo? versionInfo, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (hostInfo != null) { - $result.hostInfo = hostInfo; - } - if (subsystemVersions != null) { - // ignore: deprecated_member_use_from_same_package - $result.subsystemVersions.addAll(subsystemVersions); - } - if (versionInfo != null) { - $result.versionInfo = versionInfo; - } - return $result; - } - DeviceAgentConfigRequest._() : super(); - factory DeviceAgentConfigRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeviceAgentConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeviceAgentConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.agent.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM(2, _omitFieldNames ? '' : 'hostInfo', subBuilder: HostInfo.create) - ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'subsystemVersions', entryClassName: 'DeviceAgentConfigRequest.SubsystemVersionsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('viam.app.agent.v1')) - ..aOM(4, _omitFieldNames ? '' : 'versionInfo', subBuilder: VersionInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeviceAgentConfigRequest clone() => DeviceAgentConfigRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeviceAgentConfigRequest copyWith(void Function(DeviceAgentConfigRequest) updates) => super.copyWith((message) => updates(message as DeviceAgentConfigRequest)) as DeviceAgentConfigRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeviceAgentConfigRequest create() => DeviceAgentConfigRequest._(); - DeviceAgentConfigRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeviceAgentConfigRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeviceAgentConfigRequest? _defaultInstance; - - /// robot partID - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// info about the host system - @$pb.TagNumber(2) - HostInfo get hostInfo => $_getN(1); - @$pb.TagNumber(2) - set hostInfo(HostInfo v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasHostInfo() => $_has(1); - @$pb.TagNumber(2) - void clearHostInfo() => clearField(2); - @$pb.TagNumber(2) - HostInfo ensureHostInfo() => $_ensure(1); - - /// current subsystems and versions - /// DEPRECATED in favor of version_info - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(3) - $core.Map<$core.String, $core.String> get subsystemVersions => $_getMap(2); - - /// Currently installed versions for agent and viam-server - @$pb.TagNumber(4) - VersionInfo get versionInfo => $_getN(3); - @$pb.TagNumber(4) - set versionInfo(VersionInfo v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasVersionInfo() => $_has(3); - @$pb.TagNumber(4) - void clearVersionInfo() => clearField(4); - @$pb.TagNumber(4) - VersionInfo ensureVersionInfo() => $_ensure(3); -} - -class DeviceAgentConfigResponse extends $pb.GeneratedMessage { - factory DeviceAgentConfigResponse({ - @$core.Deprecated('This field is deprecated.') - $core.Map<$core.String, DeviceSubsystemConfig>? subsystemConfigs, - $45.Duration? checkInterval, - UpdateInfo? agentUpdateInfo, - UpdateInfo? viamServerUpdateInfo, - $46.Struct? advancedSettings, - $46.Struct? networkConfiguration, - $46.Struct? additionalNetworks, - $46.Struct? systemConfiguration, - }) { - final $result = create(); - if (subsystemConfigs != null) { - // ignore: deprecated_member_use_from_same_package - $result.subsystemConfigs.addAll(subsystemConfigs); - } - if (checkInterval != null) { - $result.checkInterval = checkInterval; - } - if (agentUpdateInfo != null) { - $result.agentUpdateInfo = agentUpdateInfo; - } - if (viamServerUpdateInfo != null) { - $result.viamServerUpdateInfo = viamServerUpdateInfo; - } - if (advancedSettings != null) { - $result.advancedSettings = advancedSettings; - } - if (networkConfiguration != null) { - $result.networkConfiguration = networkConfiguration; - } - if (additionalNetworks != null) { - $result.additionalNetworks = additionalNetworks; - } - if (systemConfiguration != null) { - $result.systemConfiguration = systemConfiguration; - } - return $result; - } - DeviceAgentConfigResponse._() : super(); - factory DeviceAgentConfigResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeviceAgentConfigResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeviceAgentConfigResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.agent.v1'), createEmptyInstance: create) - ..m<$core.String, DeviceSubsystemConfig>(1, _omitFieldNames ? '' : 'subsystemConfigs', entryClassName: 'DeviceAgentConfigResponse.SubsystemConfigsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: DeviceSubsystemConfig.create, valueDefaultOrMaker: DeviceSubsystemConfig.getDefault, packageName: const $pb.PackageName('viam.app.agent.v1')) - ..aOM<$45.Duration>(2, _omitFieldNames ? '' : 'checkInterval', subBuilder: $45.Duration.create) - ..aOM(3, _omitFieldNames ? '' : 'agentUpdateInfo', subBuilder: UpdateInfo.create) - ..aOM(4, _omitFieldNames ? '' : 'viamServerUpdateInfo', subBuilder: UpdateInfo.create) - ..aOM<$46.Struct>(5, _omitFieldNames ? '' : 'advancedSettings', subBuilder: $46.Struct.create) - ..aOM<$46.Struct>(6, _omitFieldNames ? '' : 'networkConfiguration', subBuilder: $46.Struct.create) - ..aOM<$46.Struct>(7, _omitFieldNames ? '' : 'additionalNetworks', subBuilder: $46.Struct.create) - ..aOM<$46.Struct>(8, _omitFieldNames ? '' : 'systemConfiguration', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeviceAgentConfigResponse clone() => DeviceAgentConfigResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeviceAgentConfigResponse copyWith(void Function(DeviceAgentConfigResponse) updates) => super.copyWith((message) => updates(message as DeviceAgentConfigResponse)) as DeviceAgentConfigResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeviceAgentConfigResponse create() => DeviceAgentConfigResponse._(); - DeviceAgentConfigResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeviceAgentConfigResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeviceAgentConfigResponse? _defaultInstance; - - /// subsystems to be installed/configured/updated - /// note: previously installed subsystems will be removed from the system if removed from this list - /// DEPRECATED in favor of indidivual update_info and settings fields - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.Map<$core.String, DeviceSubsystemConfig> get subsystemConfigs => $_getMap(0); - - /// how often this request should be repeated - @$pb.TagNumber(2) - $45.Duration get checkInterval => $_getN(1); - @$pb.TagNumber(2) - set checkInterval($45.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCheckInterval() => $_has(1); - @$pb.TagNumber(2) - void clearCheckInterval() => clearField(2); - @$pb.TagNumber(2) - $45.Duration ensureCheckInterval() => $_ensure(1); - - /// update info for agent and viam-server, parsed/processed in App - @$pb.TagNumber(3) - UpdateInfo get agentUpdateInfo => $_getN(2); - @$pb.TagNumber(3) - set agentUpdateInfo(UpdateInfo v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasAgentUpdateInfo() => $_has(2); - @$pb.TagNumber(3) - void clearAgentUpdateInfo() => clearField(3); - @$pb.TagNumber(3) - UpdateInfo ensureAgentUpdateInfo() => $_ensure(2); - - @$pb.TagNumber(4) - UpdateInfo get viamServerUpdateInfo => $_getN(3); - @$pb.TagNumber(4) - set viamServerUpdateInfo(UpdateInfo v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasViamServerUpdateInfo() => $_has(3); - @$pb.TagNumber(4) - void clearViamServerUpdateInfo() => clearField(4); - @$pb.TagNumber(4) - UpdateInfo ensureViamServerUpdateInfo() => $_ensure(3); - - /// various settings that are passed directly to device Agent - @$pb.TagNumber(5) - $46.Struct get advancedSettings => $_getN(4); - @$pb.TagNumber(5) - set advancedSettings($46.Struct v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasAdvancedSettings() => $_has(4); - @$pb.TagNumber(5) - void clearAdvancedSettings() => clearField(5); - @$pb.TagNumber(5) - $46.Struct ensureAdvancedSettings() => $_ensure(4); - - @$pb.TagNumber(6) - $46.Struct get networkConfiguration => $_getN(5); - @$pb.TagNumber(6) - set networkConfiguration($46.Struct v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasNetworkConfiguration() => $_has(5); - @$pb.TagNumber(6) - void clearNetworkConfiguration() => clearField(6); - @$pb.TagNumber(6) - $46.Struct ensureNetworkConfiguration() => $_ensure(5); - - @$pb.TagNumber(7) - $46.Struct get additionalNetworks => $_getN(6); - @$pb.TagNumber(7) - set additionalNetworks($46.Struct v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasAdditionalNetworks() => $_has(6); - @$pb.TagNumber(7) - void clearAdditionalNetworks() => clearField(7); - @$pb.TagNumber(7) - $46.Struct ensureAdditionalNetworks() => $_ensure(6); - - @$pb.TagNumber(8) - $46.Struct get systemConfiguration => $_getN(7); - @$pb.TagNumber(8) - set systemConfiguration($46.Struct v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasSystemConfiguration() => $_has(7); - @$pb.TagNumber(8) - void clearSystemConfiguration() => clearField(8); - @$pb.TagNumber(8) - $46.Struct ensureSystemConfiguration() => $_ensure(7); -} - -/// DEPRECATED as of January 2025 -class DeviceSubsystemConfig extends $pb.GeneratedMessage { - factory DeviceSubsystemConfig({ - UpdateInfo? updateInfo, - $core.bool? disable, - $core.bool? forceRestart, - $46.Struct? attributes, - }) { - final $result = create(); - if (updateInfo != null) { - $result.updateInfo = updateInfo; - } - if (disable != null) { - $result.disable = disable; - } - if (forceRestart != null) { - $result.forceRestart = forceRestart; - } - if (attributes != null) { - $result.attributes = attributes; - } - return $result; - } - DeviceSubsystemConfig._() : super(); - factory DeviceSubsystemConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeviceSubsystemConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeviceSubsystemConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.agent.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'updateInfo', subBuilder: UpdateInfo.create) - ..aOB(2, _omitFieldNames ? '' : 'disable') - ..aOB(3, _omitFieldNames ? '' : 'forceRestart') - ..aOM<$46.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeviceSubsystemConfig clone() => DeviceSubsystemConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeviceSubsystemConfig copyWith(void Function(DeviceSubsystemConfig) updates) => super.copyWith((message) => updates(message as DeviceSubsystemConfig)) as DeviceSubsystemConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeviceSubsystemConfig create() => DeviceSubsystemConfig._(); - DeviceSubsystemConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeviceSubsystemConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeviceSubsystemConfig? _defaultInstance; - - /// data needed to download/validate the subsystem - @$pb.TagNumber(1) - UpdateInfo get updateInfo => $_getN(0); - @$pb.TagNumber(1) - set updateInfo(UpdateInfo v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasUpdateInfo() => $_has(0); - @$pb.TagNumber(1) - void clearUpdateInfo() => clearField(1); - @$pb.TagNumber(1) - UpdateInfo ensureUpdateInfo() => $_ensure(0); - - /// if this subsystem is disabled and should not be started by the agent - @$pb.TagNumber(2) - $core.bool get disable => $_getBF(1); - @$pb.TagNumber(2) - set disable($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasDisable() => $_has(1); - @$pb.TagNumber(2) - void clearDisable() => clearField(2); - - /// force_restart will restart the subsystem, even if no updates are available - @$pb.TagNumber(3) - $core.bool get forceRestart => $_getBF(2); - @$pb.TagNumber(3) - set forceRestart($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasForceRestart() => $_has(2); - @$pb.TagNumber(3) - void clearForceRestart() => clearField(3); - - /// arbitrary config sections - @$pb.TagNumber(4) - $46.Struct get attributes => $_getN(3); - @$pb.TagNumber(4) - set attributes($46.Struct v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasAttributes() => $_has(3); - @$pb.TagNumber(4) - void clearAttributes() => clearField(4); - @$pb.TagNumber(4) - $46.Struct ensureAttributes() => $_ensure(3); -} - -class VersionInfo extends $pb.GeneratedMessage { - factory VersionInfo({ - $core.String? agentRunning, - $core.String? agentInstalled, - $core.String? viamServerRunning, - $core.String? viamServerInstalled, - }) { - final $result = create(); - if (agentRunning != null) { - $result.agentRunning = agentRunning; - } - if (agentInstalled != null) { - $result.agentInstalled = agentInstalled; - } - if (viamServerRunning != null) { - $result.viamServerRunning = viamServerRunning; - } - if (viamServerInstalled != null) { - $result.viamServerInstalled = viamServerInstalled; - } - return $result; - } - VersionInfo._() : super(); - factory VersionInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory VersionInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VersionInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.agent.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'agentRunning') - ..aOS(2, _omitFieldNames ? '' : 'agentInstalled') - ..aOS(3, _omitFieldNames ? '' : 'viamServerRunning') - ..aOS(4, _omitFieldNames ? '' : 'viamServerInstalled') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - VersionInfo clone() => VersionInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VersionInfo copyWith(void Function(VersionInfo) updates) => super.copyWith((message) => updates(message as VersionInfo)) as VersionInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static VersionInfo create() => VersionInfo._(); - VersionInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static VersionInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static VersionInfo? _defaultInstance; - - /// the version of agent currently running and making the request - @$pb.TagNumber(1) - $core.String get agentRunning => $_getSZ(0); - @$pb.TagNumber(1) - set agentRunning($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasAgentRunning() => $_has(0); - @$pb.TagNumber(1) - void clearAgentRunning() => clearField(1); - - /// the version of agent installed (will run after restart if different) - @$pb.TagNumber(2) - $core.String get agentInstalled => $_getSZ(1); - @$pb.TagNumber(2) - set agentInstalled($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasAgentInstalled() => $_has(1); - @$pb.TagNumber(2) - void clearAgentInstalled() => clearField(2); - - /// the version of viam-server currently running - @$pb.TagNumber(3) - $core.String get viamServerRunning => $_getSZ(2); - @$pb.TagNumber(3) - set viamServerRunning($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasViamServerRunning() => $_has(2); - @$pb.TagNumber(3) - void clearViamServerRunning() => clearField(3); - - /// the version of viam-server installed (will run after restart if different) - @$pb.TagNumber(4) - $core.String get viamServerInstalled => $_getSZ(3); - @$pb.TagNumber(4) - set viamServerInstalled($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasViamServerInstalled() => $_has(3); - @$pb.TagNumber(4) - void clearViamServerInstalled() => clearField(4); -} - -class HostInfo extends $pb.GeneratedMessage { - factory HostInfo({ - $core.String? platform, - $core.String? distro, - $core.Iterable<$core.String>? tags, - }) { - final $result = create(); - if (platform != null) { - $result.platform = platform; - } - if (distro != null) { - $result.distro = distro; - } - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - HostInfo._() : super(); - factory HostInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HostInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HostInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.agent.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'platform') - ..aOS(2, _omitFieldNames ? '' : 'distro') - ..pPS(3, _omitFieldNames ? '' : 'tags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - HostInfo clone() => HostInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HostInfo copyWith(void Function(HostInfo) updates) => super.copyWith((message) => updates(message as HostInfo)) as HostInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static HostInfo create() => HostInfo._(); - HostInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static HostInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static HostInfo? _defaultInstance; - - /// platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64 - @$pb.TagNumber(1) - $core.String get platform => $_getSZ(0); - @$pb.TagNumber(1) - set platform($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPlatform() => $_has(0); - @$pb.TagNumber(1) - void clearPlatform() => clearField(1); - - /// ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11 - @$pb.TagNumber(2) - $core.String get distro => $_getSZ(1); - @$pb.TagNumber(2) - set distro($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDistro() => $_has(1); - @$pb.TagNumber(2) - void clearDistro() => clearField(2); - - /// additional tags for specific hardware or software that's present and may affect software selection - /// ex: "jetson", "rpi4", "systemd", etc. - @$pb.TagNumber(3) - $core.List<$core.String> get tags => $_getList(2); -} - -class UpdateInfo extends $pb.GeneratedMessage { - factory UpdateInfo({ - $core.String? filename, - $core.String? url, - $core.String? version, - $core.List<$core.int>? sha256, - PackageFormat? format, - }) { - final $result = create(); - if (filename != null) { - $result.filename = filename; - } - if (url != null) { - $result.url = url; - } - if (version != null) { - $result.version = version; - } - if (sha256 != null) { - $result.sha256 = sha256; - } - if (format != null) { - $result.format = format; - } - return $result; - } - UpdateInfo._() : super(); - factory UpdateInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.agent.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'filename') - ..aOS(2, _omitFieldNames ? '' : 'url') - ..aOS(3, _omitFieldNames ? '' : 'version') - ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'sha256', $pb.PbFieldType.OY) - ..e(5, _omitFieldNames ? '' : 'format', $pb.PbFieldType.OE, defaultOrMaker: PackageFormat.PACKAGE_FORMAT_UNSPECIFIED, valueOf: PackageFormat.valueOf, enumValues: PackageFormat.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateInfo clone() => UpdateInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateInfo copyWith(void Function(UpdateInfo) updates) => super.copyWith((message) => updates(message as UpdateInfo)) as UpdateInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateInfo create() => UpdateInfo._(); - UpdateInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateInfo? _defaultInstance; - - /// unpacked filename as it is expected on disk (regardless of url) - @$pb.TagNumber(1) - $core.String get filename => $_getSZ(0); - @$pb.TagNumber(1) - set filename($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFilename() => $_has(0); - @$pb.TagNumber(1) - void clearFilename() => clearField(1); - - /// url to download from - @$pb.TagNumber(2) - $core.String get url => $_getSZ(1); - @$pb.TagNumber(2) - set url($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasUrl() => $_has(1); - @$pb.TagNumber(2) - void clearUrl() => clearField(2); - - /// version expected at the url - @$pb.TagNumber(3) - $core.String get version => $_getSZ(2); - @$pb.TagNumber(3) - set version($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(3) - void clearVersion() => clearField(3); - - /// sha256 sum of file as downloaded - @$pb.TagNumber(4) - $core.List<$core.int> get sha256 => $_getN(3); - @$pb.TagNumber(4) - set sha256($core.List<$core.int> v) { $_setBytes(3, v); } - @$pb.TagNumber(4) - $core.bool hasSha256() => $_has(3); - @$pb.TagNumber(4) - void clearSha256() => clearField(4); - - /// determines if decompression or executable permissions are needed - @$pb.TagNumber(5) - PackageFormat get format => $_getN(4); - @$pb.TagNumber(5) - set format(PackageFormat v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasFormat() => $_has(4); - @$pb.TagNumber(5) - void clearFormat() => clearField(5); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/agent/v1/agent.pbenum.dart b/lib/src/gen/app/agent/v1/agent.pbenum.dart deleted file mode 100644 index e60ab6b1e5a..00000000000 --- a/lib/src/gen/app/agent/v1/agent.pbenum.dart +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/agent/v1/agent.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class PackageFormat extends $pb.ProtobufEnum { - static const PackageFormat PACKAGE_FORMAT_UNSPECIFIED = PackageFormat._(0, _omitEnumNames ? '' : 'PACKAGE_FORMAT_UNSPECIFIED'); - static const PackageFormat PACKAGE_FORMAT_RAW = PackageFormat._(1, _omitEnumNames ? '' : 'PACKAGE_FORMAT_RAW'); - static const PackageFormat PACKAGE_FORMAT_XZ = PackageFormat._(2, _omitEnumNames ? '' : 'PACKAGE_FORMAT_XZ'); - static const PackageFormat PACKAGE_FORMAT_EXECUTABLE = PackageFormat._(3, _omitEnumNames ? '' : 'PACKAGE_FORMAT_EXECUTABLE'); - static const PackageFormat PACKAGE_FORMAT_XZ_EXECUTABLE = PackageFormat._(4, _omitEnumNames ? '' : 'PACKAGE_FORMAT_XZ_EXECUTABLE'); - - static const $core.List values = [ - PACKAGE_FORMAT_UNSPECIFIED, - PACKAGE_FORMAT_RAW, - PACKAGE_FORMAT_XZ, - PACKAGE_FORMAT_EXECUTABLE, - PACKAGE_FORMAT_XZ_EXECUTABLE, - ]; - - static final $core.Map<$core.int, PackageFormat> _byValue = $pb.ProtobufEnum.initByValue(values); - static PackageFormat? valueOf($core.int value) => _byValue[value]; - - const PackageFormat._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/agent/v1/agent.pbgrpc.dart b/lib/src/gen/app/agent/v1/agent.pbgrpc.dart deleted file mode 100644 index 434c925f212..00000000000 --- a/lib/src/gen/app/agent/v1/agent.pbgrpc.dart +++ /dev/null @@ -1,59 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/agent/v1/agent.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'agent.pb.dart' as $0; - -export 'agent.pb.dart'; - -@$pb.GrpcServiceName('viam.app.agent.v1.AgentDeviceService') -class AgentDeviceServiceClient extends $grpc.Client { - static final _$deviceAgentConfig = $grpc.ClientMethod<$0.DeviceAgentConfigRequest, $0.DeviceAgentConfigResponse>( - '/viam.app.agent.v1.AgentDeviceService/DeviceAgentConfig', - ($0.DeviceAgentConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeviceAgentConfigResponse.fromBuffer(value)); - - AgentDeviceServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$0.DeviceAgentConfigResponse> deviceAgentConfig($0.DeviceAgentConfigRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deviceAgentConfig, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.agent.v1.AgentDeviceService') -abstract class AgentDeviceServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.agent.v1.AgentDeviceService'; - - AgentDeviceServiceBase() { - $addMethod($grpc.ServiceMethod<$0.DeviceAgentConfigRequest, $0.DeviceAgentConfigResponse>( - 'DeviceAgentConfig', - deviceAgentConfig_Pre, - false, - false, - ($core.List<$core.int> value) => $0.DeviceAgentConfigRequest.fromBuffer(value), - ($0.DeviceAgentConfigResponse value) => value.writeToBuffer())); - } - - $async.Future<$0.DeviceAgentConfigResponse> deviceAgentConfig_Pre($grpc.ServiceCall call, $async.Future<$0.DeviceAgentConfigRequest> request) async { - return deviceAgentConfig(call, await request); - } - - $async.Future<$0.DeviceAgentConfigResponse> deviceAgentConfig($grpc.ServiceCall call, $0.DeviceAgentConfigRequest request); -} diff --git a/lib/src/gen/app/agent/v1/agent.pbjson.dart b/lib/src/gen/app/agent/v1/agent.pbjson.dart deleted file mode 100644 index 2ea5a67aaf9..00000000000 --- a/lib/src/gen/app/agent/v1/agent.pbjson.dart +++ /dev/null @@ -1,196 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/agent/v1/agent.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use packageFormatDescriptor instead') -const PackageFormat$json = { - '1': 'PackageFormat', - '2': [ - {'1': 'PACKAGE_FORMAT_UNSPECIFIED', '2': 0}, - {'1': 'PACKAGE_FORMAT_RAW', '2': 1}, - {'1': 'PACKAGE_FORMAT_XZ', '2': 2}, - {'1': 'PACKAGE_FORMAT_EXECUTABLE', '2': 3}, - {'1': 'PACKAGE_FORMAT_XZ_EXECUTABLE', '2': 4}, - ], -}; - -/// Descriptor for `PackageFormat`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List packageFormatDescriptor = $convert.base64Decode( - 'Cg1QYWNrYWdlRm9ybWF0Eh4KGlBBQ0tBR0VfRk9STUFUX1VOU1BFQ0lGSUVEEAASFgoSUEFDS0' - 'FHRV9GT1JNQVRfUkFXEAESFQoRUEFDS0FHRV9GT1JNQVRfWFoQAhIdChlQQUNLQUdFX0ZPUk1B' - 'VF9FWEVDVVRBQkxFEAMSIAocUEFDS0FHRV9GT1JNQVRfWFpfRVhFQ1VUQUJMRRAE'); - -@$core.Deprecated('Use deviceAgentConfigRequestDescriptor instead') -const DeviceAgentConfigRequest$json = { - '1': 'DeviceAgentConfigRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'host_info', '3': 2, '4': 1, '5': 11, '6': '.viam.app.agent.v1.HostInfo', '10': 'hostInfo'}, - { - '1': 'subsystem_versions', - '3': 3, - '4': 3, - '5': 11, - '6': '.viam.app.agent.v1.DeviceAgentConfigRequest.SubsystemVersionsEntry', - '8': {'3': true}, - '10': 'subsystemVersions', - }, - {'1': 'version_info', '3': 4, '4': 1, '5': 11, '6': '.viam.app.agent.v1.VersionInfo', '10': 'versionInfo'}, - ], - '3': [DeviceAgentConfigRequest_SubsystemVersionsEntry$json], -}; - -@$core.Deprecated('Use deviceAgentConfigRequestDescriptor instead') -const DeviceAgentConfigRequest_SubsystemVersionsEntry$json = { - '1': 'SubsystemVersionsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `DeviceAgentConfigRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deviceAgentConfigRequestDescriptor = $convert.base64Decode( - 'ChhEZXZpY2VBZ2VudENvbmZpZ1JlcXVlc3QSDgoCaWQYASABKAlSAmlkEjgKCWhvc3RfaW5mbx' - 'gCIAEoCzIbLnZpYW0uYXBwLmFnZW50LnYxLkhvc3RJbmZvUghob3N0SW5mbxJ1ChJzdWJzeXN0' - 'ZW1fdmVyc2lvbnMYAyADKAsyQi52aWFtLmFwcC5hZ2VudC52MS5EZXZpY2VBZ2VudENvbmZpZ1' - 'JlcXVlc3QuU3Vic3lzdGVtVmVyc2lvbnNFbnRyeUICGAFSEXN1YnN5c3RlbVZlcnNpb25zEkEK' - 'DHZlcnNpb25faW5mbxgEIAEoCzIeLnZpYW0uYXBwLmFnZW50LnYxLlZlcnNpb25JbmZvUgt2ZX' - 'JzaW9uSW5mbxpEChZTdWJzeXN0ZW1WZXJzaW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQK' - 'BXZhbHVlGAIgASgJUgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use deviceAgentConfigResponseDescriptor instead') -const DeviceAgentConfigResponse$json = { - '1': 'DeviceAgentConfigResponse', - '2': [ - { - '1': 'subsystem_configs', - '3': 1, - '4': 3, - '5': 11, - '6': '.viam.app.agent.v1.DeviceAgentConfigResponse.SubsystemConfigsEntry', - '8': {'3': true}, - '10': 'subsystemConfigs', - }, - {'1': 'check_interval', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'checkInterval'}, - {'1': 'agent_update_info', '3': 3, '4': 1, '5': 11, '6': '.viam.app.agent.v1.UpdateInfo', '10': 'agentUpdateInfo'}, - {'1': 'viam_server_update_info', '3': 4, '4': 1, '5': 11, '6': '.viam.app.agent.v1.UpdateInfo', '10': 'viamServerUpdateInfo'}, - {'1': 'advanced_settings', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'advancedSettings'}, - {'1': 'network_configuration', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'networkConfiguration'}, - {'1': 'additional_networks', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'additionalNetworks'}, - {'1': 'system_configuration', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'systemConfiguration'}, - ], - '3': [DeviceAgentConfigResponse_SubsystemConfigsEntry$json], -}; - -@$core.Deprecated('Use deviceAgentConfigResponseDescriptor instead') -const DeviceAgentConfigResponse_SubsystemConfigsEntry$json = { - '1': 'SubsystemConfigsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.viam.app.agent.v1.DeviceSubsystemConfig', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `DeviceAgentConfigResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deviceAgentConfigResponseDescriptor = $convert.base64Decode( - 'ChlEZXZpY2VBZ2VudENvbmZpZ1Jlc3BvbnNlEnMKEXN1YnN5c3RlbV9jb25maWdzGAEgAygLMk' - 'IudmlhbS5hcHAuYWdlbnQudjEuRGV2aWNlQWdlbnRDb25maWdSZXNwb25zZS5TdWJzeXN0ZW1D' - 'b25maWdzRW50cnlCAhgBUhBzdWJzeXN0ZW1Db25maWdzEkAKDmNoZWNrX2ludGVydmFsGAIgAS' - 'gLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uUg1jaGVja0ludGVydmFsEkkKEWFnZW50X3Vw' - 'ZGF0ZV9pbmZvGAMgASgLMh0udmlhbS5hcHAuYWdlbnQudjEuVXBkYXRlSW5mb1IPYWdlbnRVcG' - 'RhdGVJbmZvElQKF3ZpYW1fc2VydmVyX3VwZGF0ZV9pbmZvGAQgASgLMh0udmlhbS5hcHAuYWdl' - 'bnQudjEuVXBkYXRlSW5mb1IUdmlhbVNlcnZlclVwZGF0ZUluZm8SRAoRYWR2YW5jZWRfc2V0dG' - 'luZ3MYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UhBhZHZhbmNlZFNldHRpbmdzEkwK' - 'FW5ldHdvcmtfY29uZmlndXJhdGlvbhgGIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSFG' - '5ldHdvcmtDb25maWd1cmF0aW9uEkgKE2FkZGl0aW9uYWxfbmV0d29ya3MYByABKAsyFy5nb29n' - 'bGUucHJvdG9idWYuU3RydWN0UhJhZGRpdGlvbmFsTmV0d29ya3MSSgoUc3lzdGVtX2NvbmZpZ3' - 'VyYXRpb24YCCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UhNzeXN0ZW1Db25maWd1cmF0' - 'aW9uGm0KFVN1YnN5c3RlbUNvbmZpZ3NFbnRyeRIQCgNrZXkYASABKAlSA2tleRI+CgV2YWx1ZR' - 'gCIAEoCzIoLnZpYW0uYXBwLmFnZW50LnYxLkRldmljZVN1YnN5c3RlbUNvbmZpZ1IFdmFsdWU6' - 'AjgB'); - -@$core.Deprecated('Use deviceSubsystemConfigDescriptor instead') -const DeviceSubsystemConfig$json = { - '1': 'DeviceSubsystemConfig', - '2': [ - {'1': 'update_info', '3': 1, '4': 1, '5': 11, '6': '.viam.app.agent.v1.UpdateInfo', '10': 'updateInfo'}, - {'1': 'disable', '3': 2, '4': 1, '5': 8, '10': 'disable'}, - {'1': 'force_restart', '3': 3, '4': 1, '5': 8, '10': 'forceRestart'}, - {'1': 'attributes', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'attributes'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `DeviceSubsystemConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deviceSubsystemConfigDescriptor = $convert.base64Decode( - 'ChVEZXZpY2VTdWJzeXN0ZW1Db25maWcSPgoLdXBkYXRlX2luZm8YASABKAsyHS52aWFtLmFwcC' - '5hZ2VudC52MS5VcGRhdGVJbmZvUgp1cGRhdGVJbmZvEhgKB2Rpc2FibGUYAiABKAhSB2Rpc2Fi' - 'bGUSIwoNZm9yY2VfcmVzdGFydBgDIAEoCFIMZm9yY2VSZXN0YXJ0EjcKCmF0dHJpYnV0ZXMYBC' - 'ABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgphdHRyaWJ1dGVzOgIYAQ=='); - -@$core.Deprecated('Use versionInfoDescriptor instead') -const VersionInfo$json = { - '1': 'VersionInfo', - '2': [ - {'1': 'agent_running', '3': 1, '4': 1, '5': 9, '10': 'agentRunning'}, - {'1': 'agent_installed', '3': 2, '4': 1, '5': 9, '10': 'agentInstalled'}, - {'1': 'viam_server_running', '3': 3, '4': 1, '5': 9, '10': 'viamServerRunning'}, - {'1': 'viam_server_installed', '3': 4, '4': 1, '5': 9, '10': 'viamServerInstalled'}, - ], -}; - -/// Descriptor for `VersionInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List versionInfoDescriptor = $convert.base64Decode( - 'CgtWZXJzaW9uSW5mbxIjCg1hZ2VudF9ydW5uaW5nGAEgASgJUgxhZ2VudFJ1bm5pbmcSJwoPYW' - 'dlbnRfaW5zdGFsbGVkGAIgASgJUg5hZ2VudEluc3RhbGxlZBIuChN2aWFtX3NlcnZlcl9ydW5u' - 'aW5nGAMgASgJUhF2aWFtU2VydmVyUnVubmluZxIyChV2aWFtX3NlcnZlcl9pbnN0YWxsZWQYBC' - 'ABKAlSE3ZpYW1TZXJ2ZXJJbnN0YWxsZWQ='); - -@$core.Deprecated('Use hostInfoDescriptor instead') -const HostInfo$json = { - '1': 'HostInfo', - '2': [ - {'1': 'platform', '3': 1, '4': 1, '5': 9, '10': 'platform'}, - {'1': 'distro', '3': 2, '4': 1, '5': 9, '10': 'distro'}, - {'1': 'tags', '3': 3, '4': 3, '5': 9, '10': 'tags'}, - ], -}; - -/// Descriptor for `HostInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List hostInfoDescriptor = $convert.base64Decode( - 'CghIb3N0SW5mbxIaCghwbGF0Zm9ybRgBIAEoCVIIcGxhdGZvcm0SFgoGZGlzdHJvGAIgASgJUg' - 'ZkaXN0cm8SEgoEdGFncxgDIAMoCVIEdGFncw=='); - -@$core.Deprecated('Use updateInfoDescriptor instead') -const UpdateInfo$json = { - '1': 'UpdateInfo', - '2': [ - {'1': 'filename', '3': 1, '4': 1, '5': 9, '10': 'filename'}, - {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, - {'1': 'version', '3': 3, '4': 1, '5': 9, '10': 'version'}, - {'1': 'sha256', '3': 4, '4': 1, '5': 12, '10': 'sha256'}, - {'1': 'format', '3': 5, '4': 1, '5': 14, '6': '.viam.app.agent.v1.PackageFormat', '10': 'format'}, - ], -}; - -/// Descriptor for `UpdateInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateInfoDescriptor = $convert.base64Decode( - 'CgpVcGRhdGVJbmZvEhoKCGZpbGVuYW1lGAEgASgJUghmaWxlbmFtZRIQCgN1cmwYAiABKAlSA3' - 'VybBIYCgd2ZXJzaW9uGAMgASgJUgd2ZXJzaW9uEhYKBnNoYTI1NhgEIAEoDFIGc2hhMjU2EjgK' - 'BmZvcm1hdBgFIAEoDjIgLnZpYW0uYXBwLmFnZW50LnYxLlBhY2thZ2VGb3JtYXRSBmZvcm1hdA' - '=='); - diff --git a/lib/src/gen/app/build/v1/build.pb.dart b/lib/src/gen/app/build/v1/build.pb.dart deleted file mode 100644 index 5473c2d07ae..00000000000 --- a/lib/src/gen/app/build/v1/build.pb.dart +++ /dev/null @@ -1,1424 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/build/v1/build.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import 'build.pbenum.dart'; - -export 'build.pbenum.dart'; - -class StartBuildRequest extends $pb.GeneratedMessage { - factory StartBuildRequest({ - $core.String? repo, - $core.String? ref, - $core.Iterable<$core.String>? platforms, - $core.String? moduleId, - $core.String? moduleVersion, - $core.String? token, - $core.String? workdir, - }) { - final $result = create(); - if (repo != null) { - $result.repo = repo; - } - if (ref != null) { - $result.ref = ref; - } - if (platforms != null) { - $result.platforms.addAll(platforms); - } - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (moduleVersion != null) { - $result.moduleVersion = moduleVersion; - } - if (token != null) { - $result.token = token; - } - if (workdir != null) { - $result.workdir = workdir; - } - return $result; - } - StartBuildRequest._() : super(); - factory StartBuildRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StartBuildRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartBuildRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'repo') - ..aOS(2, _omitFieldNames ? '' : 'ref') - ..pPS(3, _omitFieldNames ? '' : 'platforms') - ..aOS(4, _omitFieldNames ? '' : 'moduleId') - ..aOS(5, _omitFieldNames ? '' : 'moduleVersion') - ..aOS(6, _omitFieldNames ? '' : 'token') - ..aOS(7, _omitFieldNames ? '' : 'workdir') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StartBuildRequest clone() => StartBuildRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StartBuildRequest copyWith(void Function(StartBuildRequest) updates) => super.copyWith((message) => updates(message as StartBuildRequest)) as StartBuildRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartBuildRequest create() => StartBuildRequest._(); - StartBuildRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartBuildRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartBuildRequest? _defaultInstance; - - /// repo to build - @$pb.TagNumber(1) - $core.String get repo => $_getSZ(0); - @$pb.TagNumber(1) - set repo($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRepo() => $_has(0); - @$pb.TagNumber(1) - void clearRepo() => clearField(1); - - /// optional git ref; defaults to 'main' - @$pb.TagNumber(2) - $core.String get ref => $_getSZ(1); - @$pb.TagNumber(2) - set ref($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRef() => $_has(1); - @$pb.TagNumber(2) - void clearRef() => clearField(2); - - /// list of platforms to build - @$pb.TagNumber(3) - $core.List<$core.String> get platforms => $_getList(2); - - /// module_id as prefix:name pair - @$pb.TagNumber(4) - $core.String get moduleId => $_getSZ(3); - @$pb.TagNumber(4) - set moduleId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasModuleId() => $_has(3); - @$pb.TagNumber(4) - void clearModuleId() => clearField(4); - - /// version of the module to publish - /// must be valid semver2.0 string (ex: 1.2.3-rc0) - @$pb.TagNumber(5) - $core.String get moduleVersion => $_getSZ(4); - @$pb.TagNumber(5) - set moduleVersion($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasModuleVersion() => $_has(4); - @$pb.TagNumber(5) - void clearModuleVersion() => clearField(5); - - /// checkout token. provide this for private repos - @$pb.TagNumber(6) - $core.String get token => $_getSZ(5); - @$pb.TagNumber(6) - set token($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasToken() => $_has(5); - @$pb.TagNumber(6) - void clearToken() => clearField(6); - - /// optional working directory. defaults to repo root. - @$pb.TagNumber(7) - $core.String get workdir => $_getSZ(6); - @$pb.TagNumber(7) - set workdir($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasWorkdir() => $_has(6); - @$pb.TagNumber(7) - void clearWorkdir() => clearField(7); -} - -class StartBuildResponse extends $pb.GeneratedMessage { - factory StartBuildResponse({ - $core.String? buildId, - }) { - final $result = create(); - if (buildId != null) { - $result.buildId = buildId; - } - return $result; - } - StartBuildResponse._() : super(); - factory StartBuildResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StartBuildResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartBuildResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'buildId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StartBuildResponse clone() => StartBuildResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StartBuildResponse copyWith(void Function(StartBuildResponse) updates) => super.copyWith((message) => updates(message as StartBuildResponse)) as StartBuildResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartBuildResponse create() => StartBuildResponse._(); - StartBuildResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartBuildResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartBuildResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get buildId => $_getSZ(0); - @$pb.TagNumber(1) - set buildId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBuildId() => $_has(0); - @$pb.TagNumber(1) - void clearBuildId() => clearField(1); -} - -class GetLogsRequest extends $pb.GeneratedMessage { - factory GetLogsRequest({ - $core.String? buildId, - $core.String? platform, - }) { - final $result = create(); - if (buildId != null) { - $result.buildId = buildId; - } - if (platform != null) { - $result.platform = platform; - } - return $result; - } - GetLogsRequest._() : super(); - factory GetLogsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLogsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLogsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'buildId') - ..aOS(2, _omitFieldNames ? '' : 'platform') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLogsRequest clone() => GetLogsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLogsRequest copyWith(void Function(GetLogsRequest) updates) => super.copyWith((message) => updates(message as GetLogsRequest)) as GetLogsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLogsRequest create() => GetLogsRequest._(); - GetLogsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLogsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLogsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get buildId => $_getSZ(0); - @$pb.TagNumber(1) - set buildId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBuildId() => $_has(0); - @$pb.TagNumber(1) - void clearBuildId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get platform => $_getSZ(1); - @$pb.TagNumber(2) - set platform($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPlatform() => $_has(1); - @$pb.TagNumber(2) - void clearPlatform() => clearField(2); -} - -/// GetLogsResponse is a streaming endpoint that may have multiple messages that belong -/// to the same build_step if there are too many bytes to fit into a single gRPC -/// response. -class GetLogsResponse extends $pb.GeneratedMessage { - factory GetLogsResponse({ - $core.String? buildStep, - $core.String? data, - }) { - final $result = create(); - if (buildStep != null) { - $result.buildStep = buildStep; - } - if (data != null) { - $result.data = data; - } - return $result; - } - GetLogsResponse._() : super(); - factory GetLogsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLogsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLogsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'buildStep') - ..aOS(2, _omitFieldNames ? '' : 'data') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLogsResponse clone() => GetLogsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLogsResponse copyWith(void Function(GetLogsResponse) updates) => super.copyWith((message) => updates(message as GetLogsResponse)) as GetLogsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLogsResponse create() => GetLogsResponse._(); - GetLogsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLogsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLogsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get buildStep => $_getSZ(0); - @$pb.TagNumber(1) - set buildStep($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBuildStep() => $_has(0); - @$pb.TagNumber(1) - void clearBuildStep() => clearField(1); - - /// includes multiple lines delimited by \n\r - @$pb.TagNumber(2) - $core.String get data => $_getSZ(1); - @$pb.TagNumber(2) - set data($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); -} - -class JobInfo extends $pb.GeneratedMessage { - factory JobInfo({ - $core.String? buildId, - $core.String? platform, - $core.String? version, - JobStatus? status, - $47.Timestamp? startTime, - $47.Timestamp? endTime, - }) { - final $result = create(); - if (buildId != null) { - $result.buildId = buildId; - } - if (platform != null) { - $result.platform = platform; - } - if (version != null) { - $result.version = version; - } - if (status != null) { - $result.status = status; - } - if (startTime != null) { - $result.startTime = startTime; - } - if (endTime != null) { - $result.endTime = endTime; - } - return $result; - } - JobInfo._() : super(); - factory JobInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory JobInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JobInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'buildId') - ..aOS(2, _omitFieldNames ? '' : 'platform') - ..aOS(3, _omitFieldNames ? '' : 'version') - ..e(4, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: JobStatus.JOB_STATUS_UNSPECIFIED, valueOf: JobStatus.valueOf, enumValues: JobStatus.values) - ..aOM<$47.Timestamp>(5, _omitFieldNames ? '' : 'startTime', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(6, _omitFieldNames ? '' : 'endTime', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - JobInfo clone() => JobInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - JobInfo copyWith(void Function(JobInfo) updates) => super.copyWith((message) => updates(message as JobInfo)) as JobInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static JobInfo create() => JobInfo._(); - JobInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static JobInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static JobInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get buildId => $_getSZ(0); - @$pb.TagNumber(1) - set buildId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBuildId() => $_has(0); - @$pb.TagNumber(1) - void clearBuildId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get platform => $_getSZ(1); - @$pb.TagNumber(2) - set platform($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPlatform() => $_has(1); - @$pb.TagNumber(2) - void clearPlatform() => clearField(2); - - @$pb.TagNumber(3) - $core.String get version => $_getSZ(2); - @$pb.TagNumber(3) - set version($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(3) - void clearVersion() => clearField(3); - - @$pb.TagNumber(4) - JobStatus get status => $_getN(3); - @$pb.TagNumber(4) - set status(JobStatus v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasStatus() => $_has(3); - @$pb.TagNumber(4) - void clearStatus() => clearField(4); - - @$pb.TagNumber(5) - $47.Timestamp get startTime => $_getN(4); - @$pb.TagNumber(5) - set startTime($47.Timestamp v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasStartTime() => $_has(4); - @$pb.TagNumber(5) - void clearStartTime() => clearField(5); - @$pb.TagNumber(5) - $47.Timestamp ensureStartTime() => $_ensure(4); - - @$pb.TagNumber(6) - $47.Timestamp get endTime => $_getN(5); - @$pb.TagNumber(6) - set endTime($47.Timestamp v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasEndTime() => $_has(5); - @$pb.TagNumber(6) - void clearEndTime() => clearField(6); - @$pb.TagNumber(6) - $47.Timestamp ensureEndTime() => $_ensure(5); -} - -class ListJobsRequest extends $pb.GeneratedMessage { - factory ListJobsRequest({ - $core.String? moduleId, - $core.int? maxJobsLength, - $core.String? buildId, - }) { - final $result = create(); - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (maxJobsLength != null) { - $result.maxJobsLength = maxJobsLength; - } - if (buildId != null) { - $result.buildId = buildId; - } - return $result; - } - ListJobsRequest._() : super(); - factory ListJobsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListJobsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListJobsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'moduleId') - ..a<$core.int>(2, _omitFieldNames ? '' : 'maxJobsLength', $pb.PbFieldType.O3) - ..aOS(3, _omitFieldNames ? '' : 'buildId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListJobsRequest clone() => ListJobsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListJobsRequest copyWith(void Function(ListJobsRequest) updates) => super.copyWith((message) => updates(message as ListJobsRequest)) as ListJobsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListJobsRequest create() => ListJobsRequest._(); - ListJobsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListJobsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListJobsRequest? _defaultInstance; - - /// module_id as prefix:name pair - @$pb.TagNumber(1) - $core.String get moduleId => $_getSZ(0); - @$pb.TagNumber(1) - set moduleId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleId() => $_has(0); - @$pb.TagNumber(1) - void clearModuleId() => clearField(1); - - /// don't return more than max_jobs_length jobs - /// if not present, return all jobs. - @$pb.TagNumber(2) - $core.int get maxJobsLength => $_getIZ(1); - @$pb.TagNumber(2) - set maxJobsLength($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasMaxJobsLength() => $_has(1); - @$pb.TagNumber(2) - void clearMaxJobsLength() => clearField(2); - - /// only return jobs that match this build id - /// if not present, return all jobs. - @$pb.TagNumber(3) - $core.String get buildId => $_getSZ(2); - @$pb.TagNumber(3) - set buildId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasBuildId() => $_has(2); - @$pb.TagNumber(3) - void clearBuildId() => clearField(3); -} - -class ListJobsResponse extends $pb.GeneratedMessage { - factory ListJobsResponse({ - $core.Iterable? jobs, - }) { - final $result = create(); - if (jobs != null) { - $result.jobs.addAll(jobs); - } - return $result; - } - ListJobsResponse._() : super(); - factory ListJobsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListJobsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListJobsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'jobs', $pb.PbFieldType.PM, subBuilder: JobInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListJobsResponse clone() => ListJobsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListJobsResponse copyWith(void Function(ListJobsResponse) updates) => super.copyWith((message) => updates(message as ListJobsResponse)) as ListJobsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListJobsResponse create() => ListJobsResponse._(); - ListJobsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListJobsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListJobsResponse? _defaultInstance; - - /// jobs is ordered by (build start time, alphabetical platform). - @$pb.TagNumber(1) - $core.List get jobs => $_getList(0); -} - -class RepoLink extends $pb.GeneratedMessage { - factory RepoLink({ - $core.String? oauthAppLinkId, - $core.String? orgId, - $core.String? namespace, - $core.String? moduleName, - $core.String? repo, - $core.String? viamUser, - }) { - final $result = create(); - if (oauthAppLinkId != null) { - $result.oauthAppLinkId = oauthAppLinkId; - } - if (orgId != null) { - $result.orgId = orgId; - } - if (namespace != null) { - $result.namespace = namespace; - } - if (moduleName != null) { - $result.moduleName = moduleName; - } - if (repo != null) { - $result.repo = repo; - } - if (viamUser != null) { - $result.viamUser = viamUser; - } - return $result; - } - RepoLink._() : super(); - factory RepoLink.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RepoLink.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RepoLink', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'oauthAppLinkId') - ..aOS(2, _omitFieldNames ? '' : 'orgId') - ..aOS(3, _omitFieldNames ? '' : 'namespace') - ..aOS(4, _omitFieldNames ? '' : 'moduleName') - ..aOS(5, _omitFieldNames ? '' : 'repo') - ..aOS(6, _omitFieldNames ? '' : 'viamUser') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RepoLink clone() => RepoLink()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RepoLink copyWith(void Function(RepoLink) updates) => super.copyWith((message) => updates(message as RepoLink)) as RepoLink; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RepoLink create() => RepoLink._(); - RepoLink createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RepoLink getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RepoLink? _defaultInstance; - - /// viam internal ID which maps to an external oauth app - @$pb.TagNumber(1) - $core.String get oauthAppLinkId => $_getSZ(0); - @$pb.TagNumber(1) - set oauthAppLinkId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOauthAppLinkId() => $_has(0); - @$pb.TagNumber(1) - void clearOauthAppLinkId() => clearField(1); - - /// OrgID of the module - @$pb.TagNumber(2) - $core.String get orgId => $_getSZ(1); - @$pb.TagNumber(2) - set orgId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrgId() => $_has(1); - @$pb.TagNumber(2) - void clearOrgId() => clearField(2); - - /// Public namespace of the module. This is for user display in ListRepoLinksResponse. - /// It is ignored in LinkRepoRequest. - @$pb.TagNumber(3) - $core.String get namespace => $_getSZ(2); - @$pb.TagNumber(3) - set namespace($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasNamespace() => $_has(2); - @$pb.TagNumber(3) - void clearNamespace() => clearField(3); - - /// name of the module (just the name, not the dotted org:name form) - @$pb.TagNumber(4) - $core.String get moduleName => $_getSZ(3); - @$pb.TagNumber(4) - set moduleName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasModuleName() => $_has(3); - @$pb.TagNumber(4) - void clearModuleName() => clearField(4); - - /// git repo in owner/repository form - @$pb.TagNumber(5) - $core.String get repo => $_getSZ(4); - @$pb.TagNumber(5) - set repo($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasRepo() => $_has(4); - @$pb.TagNumber(5) - void clearRepo() => clearField(5); - - /// email of the viam user who created this - @$pb.TagNumber(6) - $core.String get viamUser => $_getSZ(5); - @$pb.TagNumber(6) - set viamUser($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasViamUser() => $_has(5); - @$pb.TagNumber(6) - void clearViamUser() => clearField(6); -} - -class LinkRepoRequest extends $pb.GeneratedMessage { - factory LinkRepoRequest({ - RepoLink? link, - }) { - final $result = create(); - if (link != null) { - $result.link = link; - } - return $result; - } - LinkRepoRequest._() : super(); - factory LinkRepoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LinkRepoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LinkRepoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'link', subBuilder: RepoLink.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LinkRepoRequest clone() => LinkRepoRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LinkRepoRequest copyWith(void Function(LinkRepoRequest) updates) => super.copyWith((message) => updates(message as LinkRepoRequest)) as LinkRepoRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LinkRepoRequest create() => LinkRepoRequest._(); - LinkRepoRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LinkRepoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LinkRepoRequest? _defaultInstance; - - @$pb.TagNumber(1) - RepoLink get link => $_getN(0); - @$pb.TagNumber(1) - set link(RepoLink v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLink() => $_has(0); - @$pb.TagNumber(1) - void clearLink() => clearField(1); - @$pb.TagNumber(1) - RepoLink ensureLink() => $_ensure(0); -} - -class LinkRepoResponse extends $pb.GeneratedMessage { - factory LinkRepoResponse({ - $core.String? repoLinkId, - }) { - final $result = create(); - if (repoLinkId != null) { - $result.repoLinkId = repoLinkId; - } - return $result; - } - LinkRepoResponse._() : super(); - factory LinkRepoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LinkRepoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LinkRepoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'repoLinkId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LinkRepoResponse clone() => LinkRepoResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LinkRepoResponse copyWith(void Function(LinkRepoResponse) updates) => super.copyWith((message) => updates(message as LinkRepoResponse)) as LinkRepoResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LinkRepoResponse create() => LinkRepoResponse._(); - LinkRepoResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LinkRepoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LinkRepoResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get repoLinkId => $_getSZ(0); - @$pb.TagNumber(1) - set repoLinkId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRepoLinkId() => $_has(0); - @$pb.TagNumber(1) - void clearRepoLinkId() => clearField(1); -} - -class UnlinkRepoRequest extends $pb.GeneratedMessage { - factory UnlinkRepoRequest({ - $core.String? repoLinkId, - }) { - final $result = create(); - if (repoLinkId != null) { - $result.repoLinkId = repoLinkId; - } - return $result; - } - UnlinkRepoRequest._() : super(); - factory UnlinkRepoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnlinkRepoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnlinkRepoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'repoLinkId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnlinkRepoRequest clone() => UnlinkRepoRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnlinkRepoRequest copyWith(void Function(UnlinkRepoRequest) updates) => super.copyWith((message) => updates(message as UnlinkRepoRequest)) as UnlinkRepoRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnlinkRepoRequest create() => UnlinkRepoRequest._(); - UnlinkRepoRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnlinkRepoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnlinkRepoRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get repoLinkId => $_getSZ(0); - @$pb.TagNumber(1) - set repoLinkId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRepoLinkId() => $_has(0); - @$pb.TagNumber(1) - void clearRepoLinkId() => clearField(1); -} - -class UnlinkRepoResponse extends $pb.GeneratedMessage { - factory UnlinkRepoResponse() => create(); - UnlinkRepoResponse._() : super(); - factory UnlinkRepoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnlinkRepoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnlinkRepoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnlinkRepoResponse clone() => UnlinkRepoResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnlinkRepoResponse copyWith(void Function(UnlinkRepoResponse) updates) => super.copyWith((message) => updates(message as UnlinkRepoResponse)) as UnlinkRepoResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnlinkRepoResponse create() => UnlinkRepoResponse._(); - UnlinkRepoResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnlinkRepoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnlinkRepoResponse? _defaultInstance; -} - -class ListRepoLinksRequest extends $pb.GeneratedMessage { - factory ListRepoLinksRequest() => create(); - ListRepoLinksRequest._() : super(); - factory ListRepoLinksRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListRepoLinksRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListRepoLinksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListRepoLinksRequest clone() => ListRepoLinksRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListRepoLinksRequest copyWith(void Function(ListRepoLinksRequest) updates) => super.copyWith((message) => updates(message as ListRepoLinksRequest)) as ListRepoLinksRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListRepoLinksRequest create() => ListRepoLinksRequest._(); - ListRepoLinksRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListRepoLinksRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListRepoLinksRequest? _defaultInstance; -} - -class ListRepoLinksResponse extends $pb.GeneratedMessage { - factory ListRepoLinksResponse({ - $core.Iterable? links, - }) { - final $result = create(); - if (links != null) { - $result.links.addAll(links); - } - return $result; - } - ListRepoLinksResponse._() : super(); - factory ListRepoLinksResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListRepoLinksResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListRepoLinksResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'links', $pb.PbFieldType.PM, subBuilder: RepoLink.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListRepoLinksResponse clone() => ListRepoLinksResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListRepoLinksResponse copyWith(void Function(ListRepoLinksResponse) updates) => super.copyWith((message) => updates(message as ListRepoLinksResponse)) as ListRepoLinksResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListRepoLinksResponse create() => ListRepoLinksResponse._(); - ListRepoLinksResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListRepoLinksResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListRepoLinksResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get links => $_getList(0); -} - -class ListAppLinksRequest extends $pb.GeneratedMessage { - factory ListAppLinksRequest() => create(); - ListAppLinksRequest._() : super(); - factory ListAppLinksRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListAppLinksRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListAppLinksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListAppLinksRequest clone() => ListAppLinksRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListAppLinksRequest copyWith(void Function(ListAppLinksRequest) updates) => super.copyWith((message) => updates(message as ListAppLinksRequest)) as ListAppLinksRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListAppLinksRequest create() => ListAppLinksRequest._(); - ListAppLinksRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListAppLinksRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListAppLinksRequest? _defaultInstance; -} - -/// represents a link between viam users / orgs and an external oauth app -class AppLink extends $pb.GeneratedMessage { - factory AppLink({ - $core.String? oauthAppLinkId, - $core.String? viamUser, - $core.String? externalUser, - $core.Iterable<$core.String>? orgIdOrNs, - }) { - final $result = create(); - if (oauthAppLinkId != null) { - $result.oauthAppLinkId = oauthAppLinkId; - } - if (viamUser != null) { - $result.viamUser = viamUser; - } - if (externalUser != null) { - $result.externalUser = externalUser; - } - if (orgIdOrNs != null) { - $result.orgIdOrNs.addAll(orgIdOrNs); - } - return $result; - } - AppLink._() : super(); - factory AppLink.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AppLink.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppLink', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'oauthAppLinkId') - ..aOS(2, _omitFieldNames ? '' : 'viamUser') - ..aOS(3, _omitFieldNames ? '' : 'externalUser') - ..pPS(4, _omitFieldNames ? '' : 'orgIdOrNs') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AppLink clone() => AppLink()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AppLink copyWith(void Function(AppLink) updates) => super.copyWith((message) => updates(message as AppLink)) as AppLink; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AppLink create() => AppLink._(); - AppLink createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AppLink getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AppLink? _defaultInstance; - - /// viam internal ID which maps to an external oauth app - @$pb.TagNumber(1) - $core.String get oauthAppLinkId => $_getSZ(0); - @$pb.TagNumber(1) - set oauthAppLinkId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOauthAppLinkId() => $_has(0); - @$pb.TagNumber(1) - void clearOauthAppLinkId() => clearField(1); - - /// email of the viam user that owns this - @$pb.TagNumber(2) - $core.String get viamUser => $_getSZ(1); - @$pb.TagNumber(2) - set viamUser($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasViamUser() => $_has(1); - @$pb.TagNumber(2) - void clearViamUser() => clearField(2); - - /// username of the external user who created this - @$pb.TagNumber(3) - $core.String get externalUser => $_getSZ(2); - @$pb.TagNumber(3) - set externalUser($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasExternalUser() => $_has(2); - @$pb.TagNumber(3) - void clearExternalUser() => clearField(3); - - /// list of org public namespace (where available) or org UUIDs attached to the external app - @$pb.TagNumber(4) - $core.List<$core.String> get orgIdOrNs => $_getList(3); -} - -class ListAppLinksResponse extends $pb.GeneratedMessage { - factory ListAppLinksResponse({ - $core.Iterable? links, - }) { - final $result = create(); - if (links != null) { - $result.links.addAll(links); - } - return $result; - } - ListAppLinksResponse._() : super(); - factory ListAppLinksResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListAppLinksResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListAppLinksResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'links', $pb.PbFieldType.PM, subBuilder: AppLink.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListAppLinksResponse clone() => ListAppLinksResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListAppLinksResponse copyWith(void Function(ListAppLinksResponse) updates) => super.copyWith((message) => updates(message as ListAppLinksResponse)) as ListAppLinksResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListAppLinksResponse create() => ListAppLinksResponse._(); - ListAppLinksResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListAppLinksResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListAppLinksResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get links => $_getList(0); -} - -class RemoveAppLinkRequest extends $pb.GeneratedMessage { - factory RemoveAppLinkRequest({ - $core.String? oauthAppLinkId, - }) { - final $result = create(); - if (oauthAppLinkId != null) { - $result.oauthAppLinkId = oauthAppLinkId; - } - return $result; - } - RemoveAppLinkRequest._() : super(); - factory RemoveAppLinkRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveAppLinkRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveAppLinkRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'oauthAppLinkId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveAppLinkRequest clone() => RemoveAppLinkRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveAppLinkRequest copyWith(void Function(RemoveAppLinkRequest) updates) => super.copyWith((message) => updates(message as RemoveAppLinkRequest)) as RemoveAppLinkRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveAppLinkRequest create() => RemoveAppLinkRequest._(); - RemoveAppLinkRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveAppLinkRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveAppLinkRequest? _defaultInstance; - - /// viam internal ID which maps to an external oauth app - @$pb.TagNumber(1) - $core.String get oauthAppLinkId => $_getSZ(0); - @$pb.TagNumber(1) - set oauthAppLinkId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOauthAppLinkId() => $_has(0); - @$pb.TagNumber(1) - void clearOauthAppLinkId() => clearField(1); -} - -class RemoveAppLinkResponse extends $pb.GeneratedMessage { - factory RemoveAppLinkResponse() => create(); - RemoveAppLinkResponse._() : super(); - factory RemoveAppLinkResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveAppLinkResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveAppLinkResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveAppLinkResponse clone() => RemoveAppLinkResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveAppLinkResponse copyWith(void Function(RemoveAppLinkResponse) updates) => super.copyWith((message) => updates(message as RemoveAppLinkResponse)) as RemoveAppLinkResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveAppLinkResponse create() => RemoveAppLinkResponse._(); - RemoveAppLinkResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveAppLinkResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveAppLinkResponse? _defaultInstance; -} - -class LinkOrgRequest extends $pb.GeneratedMessage { - factory LinkOrgRequest({ - $core.String? oauthAppLinkId, - $core.String? orgId, - }) { - final $result = create(); - if (oauthAppLinkId != null) { - $result.oauthAppLinkId = oauthAppLinkId; - } - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - LinkOrgRequest._() : super(); - factory LinkOrgRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LinkOrgRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LinkOrgRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'oauthAppLinkId') - ..aOS(2, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LinkOrgRequest clone() => LinkOrgRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LinkOrgRequest copyWith(void Function(LinkOrgRequest) updates) => super.copyWith((message) => updates(message as LinkOrgRequest)) as LinkOrgRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LinkOrgRequest create() => LinkOrgRequest._(); - LinkOrgRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LinkOrgRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LinkOrgRequest? _defaultInstance; - - /// viam internal ID which maps to an external oauth app - @$pb.TagNumber(1) - $core.String get oauthAppLinkId => $_getSZ(0); - @$pb.TagNumber(1) - set oauthAppLinkId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOauthAppLinkId() => $_has(0); - @$pb.TagNumber(1) - void clearOauthAppLinkId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get orgId => $_getSZ(1); - @$pb.TagNumber(2) - set orgId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrgId() => $_has(1); - @$pb.TagNumber(2) - void clearOrgId() => clearField(2); -} - -class LinkOrgResponse extends $pb.GeneratedMessage { - factory LinkOrgResponse() => create(); - LinkOrgResponse._() : super(); - factory LinkOrgResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LinkOrgResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LinkOrgResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LinkOrgResponse clone() => LinkOrgResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LinkOrgResponse copyWith(void Function(LinkOrgResponse) updates) => super.copyWith((message) => updates(message as LinkOrgResponse)) as LinkOrgResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LinkOrgResponse create() => LinkOrgResponse._(); - LinkOrgResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LinkOrgResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LinkOrgResponse? _defaultInstance; -} - -class UnlinkOrgRequest extends $pb.GeneratedMessage { - factory UnlinkOrgRequest({ - $core.String? oauthAppLinkId, - $core.String? orgId, - }) { - final $result = create(); - if (oauthAppLinkId != null) { - $result.oauthAppLinkId = oauthAppLinkId; - } - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - UnlinkOrgRequest._() : super(); - factory UnlinkOrgRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnlinkOrgRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnlinkOrgRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'oauthAppLinkId') - ..aOS(2, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnlinkOrgRequest clone() => UnlinkOrgRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnlinkOrgRequest copyWith(void Function(UnlinkOrgRequest) updates) => super.copyWith((message) => updates(message as UnlinkOrgRequest)) as UnlinkOrgRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnlinkOrgRequest create() => UnlinkOrgRequest._(); - UnlinkOrgRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnlinkOrgRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnlinkOrgRequest? _defaultInstance; - - /// viam internal ID which maps to an external oauth app - @$pb.TagNumber(1) - $core.String get oauthAppLinkId => $_getSZ(0); - @$pb.TagNumber(1) - set oauthAppLinkId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOauthAppLinkId() => $_has(0); - @$pb.TagNumber(1) - void clearOauthAppLinkId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get orgId => $_getSZ(1); - @$pb.TagNumber(2) - set orgId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrgId() => $_has(1); - @$pb.TagNumber(2) - void clearOrgId() => clearField(2); -} - -class UnlinkOrgResponse extends $pb.GeneratedMessage { - factory UnlinkOrgResponse() => create(); - UnlinkOrgResponse._() : super(); - factory UnlinkOrgResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnlinkOrgResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnlinkOrgResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.build.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnlinkOrgResponse clone() => UnlinkOrgResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnlinkOrgResponse copyWith(void Function(UnlinkOrgResponse) updates) => super.copyWith((message) => updates(message as UnlinkOrgResponse)) as UnlinkOrgResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnlinkOrgResponse create() => UnlinkOrgResponse._(); - UnlinkOrgResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnlinkOrgResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnlinkOrgResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/build/v1/build.pbenum.dart b/lib/src/gen/app/build/v1/build.pbenum.dart deleted file mode 100644 index d82a5f74012..00000000000 --- a/lib/src/gen/app/build/v1/build.pbenum.dart +++ /dev/null @@ -1,36 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/build/v1/build.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class JobStatus extends $pb.ProtobufEnum { - static const JobStatus JOB_STATUS_UNSPECIFIED = JobStatus._(0, _omitEnumNames ? '' : 'JOB_STATUS_UNSPECIFIED'); - static const JobStatus JOB_STATUS_IN_PROGRESS = JobStatus._(1, _omitEnumNames ? '' : 'JOB_STATUS_IN_PROGRESS'); - static const JobStatus JOB_STATUS_FAILED = JobStatus._(2, _omitEnumNames ? '' : 'JOB_STATUS_FAILED'); - static const JobStatus JOB_STATUS_DONE = JobStatus._(3, _omitEnumNames ? '' : 'JOB_STATUS_DONE'); - - static const $core.List values = [ - JOB_STATUS_UNSPECIFIED, - JOB_STATUS_IN_PROGRESS, - JOB_STATUS_FAILED, - JOB_STATUS_DONE, - ]; - - static final $core.Map<$core.int, JobStatus> _byValue = $pb.ProtobufEnum.initByValue(values); - static JobStatus? valueOf($core.int value) => _byValue[value]; - - const JobStatus._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/build/v1/build.pbgrpc.dart b/lib/src/gen/app/build/v1/build.pbgrpc.dart deleted file mode 100644 index ff69a65b0b1..00000000000 --- a/lib/src/gen/app/build/v1/build.pbgrpc.dart +++ /dev/null @@ -1,239 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/build/v1/build.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'build.pb.dart' as $1; - -export 'build.pb.dart'; - -@$pb.GrpcServiceName('viam.app.build.v1.BuildService') -class BuildServiceClient extends $grpc.Client { - static final _$startBuild = $grpc.ClientMethod<$1.StartBuildRequest, $1.StartBuildResponse>( - '/viam.app.build.v1.BuildService/StartBuild', - ($1.StartBuildRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.StartBuildResponse.fromBuffer(value)); - static final _$getLogs = $grpc.ClientMethod<$1.GetLogsRequest, $1.GetLogsResponse>( - '/viam.app.build.v1.BuildService/GetLogs', - ($1.GetLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetLogsResponse.fromBuffer(value)); - static final _$listJobs = $grpc.ClientMethod<$1.ListJobsRequest, $1.ListJobsResponse>( - '/viam.app.build.v1.BuildService/ListJobs', - ($1.ListJobsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListJobsResponse.fromBuffer(value)); - static final _$linkRepo = $grpc.ClientMethod<$1.LinkRepoRequest, $1.LinkRepoResponse>( - '/viam.app.build.v1.BuildService/LinkRepo', - ($1.LinkRepoRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.LinkRepoResponse.fromBuffer(value)); - static final _$unlinkRepo = $grpc.ClientMethod<$1.UnlinkRepoRequest, $1.UnlinkRepoResponse>( - '/viam.app.build.v1.BuildService/UnlinkRepo', - ($1.UnlinkRepoRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UnlinkRepoResponse.fromBuffer(value)); - static final _$listRepoLinks = $grpc.ClientMethod<$1.ListRepoLinksRequest, $1.ListRepoLinksResponse>( - '/viam.app.build.v1.BuildService/ListRepoLinks', - ($1.ListRepoLinksRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListRepoLinksResponse.fromBuffer(value)); - static final _$listAppLinks = $grpc.ClientMethod<$1.ListAppLinksRequest, $1.ListAppLinksResponse>( - '/viam.app.build.v1.BuildService/ListAppLinks', - ($1.ListAppLinksRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListAppLinksResponse.fromBuffer(value)); - static final _$removeAppLink = $grpc.ClientMethod<$1.RemoveAppLinkRequest, $1.RemoveAppLinkResponse>( - '/viam.app.build.v1.BuildService/RemoveAppLink', - ($1.RemoveAppLinkRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.RemoveAppLinkResponse.fromBuffer(value)); - static final _$linkOrg = $grpc.ClientMethod<$1.LinkOrgRequest, $1.LinkOrgResponse>( - '/viam.app.build.v1.BuildService/LinkOrg', - ($1.LinkOrgRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.LinkOrgResponse.fromBuffer(value)); - static final _$unlinkOrg = $grpc.ClientMethod<$1.UnlinkOrgRequest, $1.UnlinkOrgResponse>( - '/viam.app.build.v1.BuildService/UnlinkOrg', - ($1.UnlinkOrgRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UnlinkOrgResponse.fromBuffer(value)); - - BuildServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$1.StartBuildResponse> startBuild($1.StartBuildRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$startBuild, request, options: options); - } - - $grpc.ResponseStream<$1.GetLogsResponse> getLogs($1.GetLogsRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$getLogs, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$1.ListJobsResponse> listJobs($1.ListJobsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listJobs, request, options: options); - } - - $grpc.ResponseFuture<$1.LinkRepoResponse> linkRepo($1.LinkRepoRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$linkRepo, request, options: options); - } - - $grpc.ResponseFuture<$1.UnlinkRepoResponse> unlinkRepo($1.UnlinkRepoRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$unlinkRepo, request, options: options); - } - - $grpc.ResponseFuture<$1.ListRepoLinksResponse> listRepoLinks($1.ListRepoLinksRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listRepoLinks, request, options: options); - } - - $grpc.ResponseFuture<$1.ListAppLinksResponse> listAppLinks($1.ListAppLinksRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listAppLinks, request, options: options); - } - - $grpc.ResponseFuture<$1.RemoveAppLinkResponse> removeAppLink($1.RemoveAppLinkRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeAppLink, request, options: options); - } - - $grpc.ResponseFuture<$1.LinkOrgResponse> linkOrg($1.LinkOrgRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$linkOrg, request, options: options); - } - - $grpc.ResponseFuture<$1.UnlinkOrgResponse> unlinkOrg($1.UnlinkOrgRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$unlinkOrg, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.build.v1.BuildService') -abstract class BuildServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.build.v1.BuildService'; - - BuildServiceBase() { - $addMethod($grpc.ServiceMethod<$1.StartBuildRequest, $1.StartBuildResponse>( - 'StartBuild', - startBuild_Pre, - false, - false, - ($core.List<$core.int> value) => $1.StartBuildRequest.fromBuffer(value), - ($1.StartBuildResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetLogsRequest, $1.GetLogsResponse>( - 'GetLogs', - getLogs_Pre, - false, - true, - ($core.List<$core.int> value) => $1.GetLogsRequest.fromBuffer(value), - ($1.GetLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListJobsRequest, $1.ListJobsResponse>( - 'ListJobs', - listJobs_Pre, - false, - false, - ($core.List<$core.int> value) => $1.ListJobsRequest.fromBuffer(value), - ($1.ListJobsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.LinkRepoRequest, $1.LinkRepoResponse>( - 'LinkRepo', - linkRepo_Pre, - false, - false, - ($core.List<$core.int> value) => $1.LinkRepoRequest.fromBuffer(value), - ($1.LinkRepoResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UnlinkRepoRequest, $1.UnlinkRepoResponse>( - 'UnlinkRepo', - unlinkRepo_Pre, - false, - false, - ($core.List<$core.int> value) => $1.UnlinkRepoRequest.fromBuffer(value), - ($1.UnlinkRepoResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListRepoLinksRequest, $1.ListRepoLinksResponse>( - 'ListRepoLinks', - listRepoLinks_Pre, - false, - false, - ($core.List<$core.int> value) => $1.ListRepoLinksRequest.fromBuffer(value), - ($1.ListRepoLinksResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListAppLinksRequest, $1.ListAppLinksResponse>( - 'ListAppLinks', - listAppLinks_Pre, - false, - false, - ($core.List<$core.int> value) => $1.ListAppLinksRequest.fromBuffer(value), - ($1.ListAppLinksResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.RemoveAppLinkRequest, $1.RemoveAppLinkResponse>( - 'RemoveAppLink', - removeAppLink_Pre, - false, - false, - ($core.List<$core.int> value) => $1.RemoveAppLinkRequest.fromBuffer(value), - ($1.RemoveAppLinkResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.LinkOrgRequest, $1.LinkOrgResponse>( - 'LinkOrg', - linkOrg_Pre, - false, - false, - ($core.List<$core.int> value) => $1.LinkOrgRequest.fromBuffer(value), - ($1.LinkOrgResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UnlinkOrgRequest, $1.UnlinkOrgResponse>( - 'UnlinkOrg', - unlinkOrg_Pre, - false, - false, - ($core.List<$core.int> value) => $1.UnlinkOrgRequest.fromBuffer(value), - ($1.UnlinkOrgResponse value) => value.writeToBuffer())); - } - - $async.Future<$1.StartBuildResponse> startBuild_Pre($grpc.ServiceCall call, $async.Future<$1.StartBuildRequest> request) async { - return startBuild(call, await request); - } - - $async.Stream<$1.GetLogsResponse> getLogs_Pre($grpc.ServiceCall call, $async.Future<$1.GetLogsRequest> request) async* { - yield* getLogs(call, await request); - } - - $async.Future<$1.ListJobsResponse> listJobs_Pre($grpc.ServiceCall call, $async.Future<$1.ListJobsRequest> request) async { - return listJobs(call, await request); - } - - $async.Future<$1.LinkRepoResponse> linkRepo_Pre($grpc.ServiceCall call, $async.Future<$1.LinkRepoRequest> request) async { - return linkRepo(call, await request); - } - - $async.Future<$1.UnlinkRepoResponse> unlinkRepo_Pre($grpc.ServiceCall call, $async.Future<$1.UnlinkRepoRequest> request) async { - return unlinkRepo(call, await request); - } - - $async.Future<$1.ListRepoLinksResponse> listRepoLinks_Pre($grpc.ServiceCall call, $async.Future<$1.ListRepoLinksRequest> request) async { - return listRepoLinks(call, await request); - } - - $async.Future<$1.ListAppLinksResponse> listAppLinks_Pre($grpc.ServiceCall call, $async.Future<$1.ListAppLinksRequest> request) async { - return listAppLinks(call, await request); - } - - $async.Future<$1.RemoveAppLinkResponse> removeAppLink_Pre($grpc.ServiceCall call, $async.Future<$1.RemoveAppLinkRequest> request) async { - return removeAppLink(call, await request); - } - - $async.Future<$1.LinkOrgResponse> linkOrg_Pre($grpc.ServiceCall call, $async.Future<$1.LinkOrgRequest> request) async { - return linkOrg(call, await request); - } - - $async.Future<$1.UnlinkOrgResponse> unlinkOrg_Pre($grpc.ServiceCall call, $async.Future<$1.UnlinkOrgRequest> request) async { - return unlinkOrg(call, await request); - } - - $async.Future<$1.StartBuildResponse> startBuild($grpc.ServiceCall call, $1.StartBuildRequest request); - $async.Stream<$1.GetLogsResponse> getLogs($grpc.ServiceCall call, $1.GetLogsRequest request); - $async.Future<$1.ListJobsResponse> listJobs($grpc.ServiceCall call, $1.ListJobsRequest request); - $async.Future<$1.LinkRepoResponse> linkRepo($grpc.ServiceCall call, $1.LinkRepoRequest request); - $async.Future<$1.UnlinkRepoResponse> unlinkRepo($grpc.ServiceCall call, $1.UnlinkRepoRequest request); - $async.Future<$1.ListRepoLinksResponse> listRepoLinks($grpc.ServiceCall call, $1.ListRepoLinksRequest request); - $async.Future<$1.ListAppLinksResponse> listAppLinks($grpc.ServiceCall call, $1.ListAppLinksRequest request); - $async.Future<$1.RemoveAppLinkResponse> removeAppLink($grpc.ServiceCall call, $1.RemoveAppLinkRequest request); - $async.Future<$1.LinkOrgResponse> linkOrg($grpc.ServiceCall call, $1.LinkOrgRequest request); - $async.Future<$1.UnlinkOrgResponse> unlinkOrg($grpc.ServiceCall call, $1.UnlinkOrgRequest request); -} diff --git a/lib/src/gen/app/build/v1/build.pbjson.dart b/lib/src/gen/app/build/v1/build.pbjson.dart deleted file mode 100644 index a35232c56fc..00000000000 --- a/lib/src/gen/app/build/v1/build.pbjson.dart +++ /dev/null @@ -1,353 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/build/v1/build.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use jobStatusDescriptor instead') -const JobStatus$json = { - '1': 'JobStatus', - '2': [ - {'1': 'JOB_STATUS_UNSPECIFIED', '2': 0}, - {'1': 'JOB_STATUS_IN_PROGRESS', '2': 1}, - {'1': 'JOB_STATUS_FAILED', '2': 2}, - {'1': 'JOB_STATUS_DONE', '2': 3}, - ], -}; - -/// Descriptor for `JobStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List jobStatusDescriptor = $convert.base64Decode( - 'CglKb2JTdGF0dXMSGgoWSk9CX1NUQVRVU19VTlNQRUNJRklFRBAAEhoKFkpPQl9TVEFUVVNfSU' - '5fUFJPR1JFU1MQARIVChFKT0JfU1RBVFVTX0ZBSUxFRBACEhMKD0pPQl9TVEFUVVNfRE9ORRAD'); - -@$core.Deprecated('Use startBuildRequestDescriptor instead') -const StartBuildRequest$json = { - '1': 'StartBuildRequest', - '2': [ - {'1': 'repo', '3': 1, '4': 1, '5': 9, '10': 'repo'}, - {'1': 'ref', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'ref', '17': true}, - {'1': 'platforms', '3': 3, '4': 3, '5': 9, '10': 'platforms'}, - {'1': 'module_id', '3': 4, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'module_version', '3': 5, '4': 1, '5': 9, '10': 'moduleVersion'}, - {'1': 'token', '3': 6, '4': 1, '5': 9, '9': 1, '10': 'token', '17': true}, - {'1': 'workdir', '3': 7, '4': 1, '5': 9, '9': 2, '10': 'workdir', '17': true}, - ], - '8': [ - {'1': '_ref'}, - {'1': '_token'}, - {'1': '_workdir'}, - ], -}; - -/// Descriptor for `StartBuildRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startBuildRequestDescriptor = $convert.base64Decode( - 'ChFTdGFydEJ1aWxkUmVxdWVzdBISCgRyZXBvGAEgASgJUgRyZXBvEhUKA3JlZhgCIAEoCUgAUg' - 'NyZWaIAQESHAoJcGxhdGZvcm1zGAMgAygJUglwbGF0Zm9ybXMSGwoJbW9kdWxlX2lkGAQgASgJ' - 'Ughtb2R1bGVJZBIlCg5tb2R1bGVfdmVyc2lvbhgFIAEoCVINbW9kdWxlVmVyc2lvbhIZCgV0b2' - 'tlbhgGIAEoCUgBUgV0b2tlbogBARIdCgd3b3JrZGlyGAcgASgJSAJSB3dvcmtkaXKIAQFCBgoE' - 'X3JlZkIICgZfdG9rZW5CCgoIX3dvcmtkaXI='); - -@$core.Deprecated('Use startBuildResponseDescriptor instead') -const StartBuildResponse$json = { - '1': 'StartBuildResponse', - '2': [ - {'1': 'build_id', '3': 1, '4': 1, '5': 9, '10': 'buildId'}, - ], -}; - -/// Descriptor for `StartBuildResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startBuildResponseDescriptor = $convert.base64Decode( - 'ChJTdGFydEJ1aWxkUmVzcG9uc2USGQoIYnVpbGRfaWQYASABKAlSB2J1aWxkSWQ='); - -@$core.Deprecated('Use getLogsRequestDescriptor instead') -const GetLogsRequest$json = { - '1': 'GetLogsRequest', - '2': [ - {'1': 'build_id', '3': 1, '4': 1, '5': 9, '10': 'buildId'}, - {'1': 'platform', '3': 2, '4': 1, '5': 9, '10': 'platform'}, - ], -}; - -/// Descriptor for `GetLogsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLogsRequestDescriptor = $convert.base64Decode( - 'Cg5HZXRMb2dzUmVxdWVzdBIZCghidWlsZF9pZBgBIAEoCVIHYnVpbGRJZBIaCghwbGF0Zm9ybR' - 'gCIAEoCVIIcGxhdGZvcm0='); - -@$core.Deprecated('Use getLogsResponseDescriptor instead') -const GetLogsResponse$json = { - '1': 'GetLogsResponse', - '2': [ - {'1': 'build_step', '3': 1, '4': 1, '5': 9, '10': 'buildStep'}, - {'1': 'data', '3': 2, '4': 1, '5': 9, '10': 'data'}, - ], -}; - -/// Descriptor for `GetLogsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLogsResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRMb2dzUmVzcG9uc2USHQoKYnVpbGRfc3RlcBgBIAEoCVIJYnVpbGRTdGVwEhIKBGRhdG' - 'EYAiABKAlSBGRhdGE='); - -@$core.Deprecated('Use jobInfoDescriptor instead') -const JobInfo$json = { - '1': 'JobInfo', - '2': [ - {'1': 'build_id', '3': 1, '4': 1, '5': 9, '10': 'buildId'}, - {'1': 'platform', '3': 2, '4': 1, '5': 9, '10': 'platform'}, - {'1': 'version', '3': 3, '4': 1, '5': 9, '10': 'version'}, - {'1': 'status', '3': 4, '4': 1, '5': 14, '6': '.viam.app.build.v1.JobStatus', '10': 'status'}, - {'1': 'start_time', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, - {'1': 'end_time', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 0, '10': 'endTime', '17': true}, - ], - '8': [ - {'1': '_end_time'}, - ], -}; - -/// Descriptor for `JobInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List jobInfoDescriptor = $convert.base64Decode( - 'CgdKb2JJbmZvEhkKCGJ1aWxkX2lkGAEgASgJUgdidWlsZElkEhoKCHBsYXRmb3JtGAIgASgJUg' - 'hwbGF0Zm9ybRIYCgd2ZXJzaW9uGAMgASgJUgd2ZXJzaW9uEjQKBnN0YXR1cxgEIAEoDjIcLnZp' - 'YW0uYXBwLmJ1aWxkLnYxLkpvYlN0YXR1c1IGc3RhdHVzEjkKCnN0YXJ0X3RpbWUYBSABKAsyGi' - '5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUglzdGFydFRpbWUSOgoIZW5kX3RpbWUYBiABKAsy' - 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSABSB2VuZFRpbWWIAQFCCwoJX2VuZF90aW1l'); - -@$core.Deprecated('Use listJobsRequestDescriptor instead') -const ListJobsRequest$json = { - '1': 'ListJobsRequest', - '2': [ - {'1': 'module_id', '3': 1, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'max_jobs_length', '3': 2, '4': 1, '5': 5, '9': 0, '10': 'maxJobsLength', '17': true}, - {'1': 'build_id', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'buildId', '17': true}, - ], - '8': [ - {'1': '_max_jobs_length'}, - {'1': '_build_id'}, - ], -}; - -/// Descriptor for `ListJobsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listJobsRequestDescriptor = $convert.base64Decode( - 'Cg9MaXN0Sm9ic1JlcXVlc3QSGwoJbW9kdWxlX2lkGAEgASgJUghtb2R1bGVJZBIrCg9tYXhfam' - '9ic19sZW5ndGgYAiABKAVIAFINbWF4Sm9ic0xlbmd0aIgBARIeCghidWlsZF9pZBgDIAEoCUgB' - 'UgdidWlsZElkiAEBQhIKEF9tYXhfam9ic19sZW5ndGhCCwoJX2J1aWxkX2lk'); - -@$core.Deprecated('Use listJobsResponseDescriptor instead') -const ListJobsResponse$json = { - '1': 'ListJobsResponse', - '2': [ - {'1': 'jobs', '3': 1, '4': 3, '5': 11, '6': '.viam.app.build.v1.JobInfo', '10': 'jobs'}, - ], -}; - -/// Descriptor for `ListJobsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listJobsResponseDescriptor = $convert.base64Decode( - 'ChBMaXN0Sm9ic1Jlc3BvbnNlEi4KBGpvYnMYASADKAsyGi52aWFtLmFwcC5idWlsZC52MS5Kb2' - 'JJbmZvUgRqb2Jz'); - -@$core.Deprecated('Use repoLinkDescriptor instead') -const RepoLink$json = { - '1': 'RepoLink', - '2': [ - {'1': 'oauth_app_link_id', '3': 1, '4': 1, '5': 9, '10': 'oauthAppLinkId'}, - {'1': 'org_id', '3': 2, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'namespace', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'namespace', '17': true}, - {'1': 'module_name', '3': 4, '4': 1, '5': 9, '10': 'moduleName'}, - {'1': 'repo', '3': 5, '4': 1, '5': 9, '10': 'repo'}, - {'1': 'viam_user', '3': 6, '4': 1, '5': 9, '10': 'viamUser'}, - ], - '8': [ - {'1': '_namespace'}, - ], -}; - -/// Descriptor for `RepoLink`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List repoLinkDescriptor = $convert.base64Decode( - 'CghSZXBvTGluaxIpChFvYXV0aF9hcHBfbGlua19pZBgBIAEoCVIOb2F1dGhBcHBMaW5rSWQSFQ' - 'oGb3JnX2lkGAIgASgJUgVvcmdJZBIhCgluYW1lc3BhY2UYAyABKAlIAFIJbmFtZXNwYWNliAEB' - 'Eh8KC21vZHVsZV9uYW1lGAQgASgJUgptb2R1bGVOYW1lEhIKBHJlcG8YBSABKAlSBHJlcG8SGw' - 'oJdmlhbV91c2VyGAYgASgJUgh2aWFtVXNlckIMCgpfbmFtZXNwYWNl'); - -@$core.Deprecated('Use linkRepoRequestDescriptor instead') -const LinkRepoRequest$json = { - '1': 'LinkRepoRequest', - '2': [ - {'1': 'link', '3': 1, '4': 1, '5': 11, '6': '.viam.app.build.v1.RepoLink', '10': 'link'}, - ], -}; - -/// Descriptor for `LinkRepoRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List linkRepoRequestDescriptor = $convert.base64Decode( - 'Cg9MaW5rUmVwb1JlcXVlc3QSLwoEbGluaxgBIAEoCzIbLnZpYW0uYXBwLmJ1aWxkLnYxLlJlcG' - '9MaW5rUgRsaW5r'); - -@$core.Deprecated('Use linkRepoResponseDescriptor instead') -const LinkRepoResponse$json = { - '1': 'LinkRepoResponse', - '2': [ - {'1': 'repo_link_id', '3': 1, '4': 1, '5': 9, '10': 'repoLinkId'}, - ], -}; - -/// Descriptor for `LinkRepoResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List linkRepoResponseDescriptor = $convert.base64Decode( - 'ChBMaW5rUmVwb1Jlc3BvbnNlEiAKDHJlcG9fbGlua19pZBgBIAEoCVIKcmVwb0xpbmtJZA=='); - -@$core.Deprecated('Use unlinkRepoRequestDescriptor instead') -const UnlinkRepoRequest$json = { - '1': 'UnlinkRepoRequest', - '2': [ - {'1': 'repo_link_id', '3': 1, '4': 1, '5': 9, '10': 'repoLinkId'}, - ], -}; - -/// Descriptor for `UnlinkRepoRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unlinkRepoRequestDescriptor = $convert.base64Decode( - 'ChFVbmxpbmtSZXBvUmVxdWVzdBIgCgxyZXBvX2xpbmtfaWQYASABKAlSCnJlcG9MaW5rSWQ='); - -@$core.Deprecated('Use unlinkRepoResponseDescriptor instead') -const UnlinkRepoResponse$json = { - '1': 'UnlinkRepoResponse', -}; - -/// Descriptor for `UnlinkRepoResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unlinkRepoResponseDescriptor = $convert.base64Decode( - 'ChJVbmxpbmtSZXBvUmVzcG9uc2U='); - -@$core.Deprecated('Use listRepoLinksRequestDescriptor instead') -const ListRepoLinksRequest$json = { - '1': 'ListRepoLinksRequest', -}; - -/// Descriptor for `ListRepoLinksRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listRepoLinksRequestDescriptor = $convert.base64Decode( - 'ChRMaXN0UmVwb0xpbmtzUmVxdWVzdA=='); - -@$core.Deprecated('Use listRepoLinksResponseDescriptor instead') -const ListRepoLinksResponse$json = { - '1': 'ListRepoLinksResponse', - '2': [ - {'1': 'links', '3': 1, '4': 3, '5': 11, '6': '.viam.app.build.v1.RepoLink', '10': 'links'}, - ], -}; - -/// Descriptor for `ListRepoLinksResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listRepoLinksResponseDescriptor = $convert.base64Decode( - 'ChVMaXN0UmVwb0xpbmtzUmVzcG9uc2USMQoFbGlua3MYASADKAsyGy52aWFtLmFwcC5idWlsZC' - '52MS5SZXBvTGlua1IFbGlua3M='); - -@$core.Deprecated('Use listAppLinksRequestDescriptor instead') -const ListAppLinksRequest$json = { - '1': 'ListAppLinksRequest', -}; - -/// Descriptor for `ListAppLinksRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listAppLinksRequestDescriptor = $convert.base64Decode( - 'ChNMaXN0QXBwTGlua3NSZXF1ZXN0'); - -@$core.Deprecated('Use appLinkDescriptor instead') -const AppLink$json = { - '1': 'AppLink', - '2': [ - {'1': 'oauth_app_link_id', '3': 1, '4': 1, '5': 9, '10': 'oauthAppLinkId'}, - {'1': 'viam_user', '3': 2, '4': 1, '5': 9, '10': 'viamUser'}, - {'1': 'external_user', '3': 3, '4': 1, '5': 9, '10': 'externalUser'}, - {'1': 'org_id_or_ns', '3': 4, '4': 3, '5': 9, '10': 'orgIdOrNs'}, - ], -}; - -/// Descriptor for `AppLink`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List appLinkDescriptor = $convert.base64Decode( - 'CgdBcHBMaW5rEikKEW9hdXRoX2FwcF9saW5rX2lkGAEgASgJUg5vYXV0aEFwcExpbmtJZBIbCg' - 'l2aWFtX3VzZXIYAiABKAlSCHZpYW1Vc2VyEiMKDWV4dGVybmFsX3VzZXIYAyABKAlSDGV4dGVy' - 'bmFsVXNlchIfCgxvcmdfaWRfb3JfbnMYBCADKAlSCW9yZ0lkT3JOcw=='); - -@$core.Deprecated('Use listAppLinksResponseDescriptor instead') -const ListAppLinksResponse$json = { - '1': 'ListAppLinksResponse', - '2': [ - {'1': 'links', '3': 1, '4': 3, '5': 11, '6': '.viam.app.build.v1.AppLink', '10': 'links'}, - ], -}; - -/// Descriptor for `ListAppLinksResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listAppLinksResponseDescriptor = $convert.base64Decode( - 'ChRMaXN0QXBwTGlua3NSZXNwb25zZRIwCgVsaW5rcxgBIAMoCzIaLnZpYW0uYXBwLmJ1aWxkLn' - 'YxLkFwcExpbmtSBWxpbmtz'); - -@$core.Deprecated('Use removeAppLinkRequestDescriptor instead') -const RemoveAppLinkRequest$json = { - '1': 'RemoveAppLinkRequest', - '2': [ - {'1': 'oauth_app_link_id', '3': 1, '4': 1, '5': 9, '10': 'oauthAppLinkId'}, - ], -}; - -/// Descriptor for `RemoveAppLinkRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeAppLinkRequestDescriptor = $convert.base64Decode( - 'ChRSZW1vdmVBcHBMaW5rUmVxdWVzdBIpChFvYXV0aF9hcHBfbGlua19pZBgBIAEoCVIOb2F1dG' - 'hBcHBMaW5rSWQ='); - -@$core.Deprecated('Use removeAppLinkResponseDescriptor instead') -const RemoveAppLinkResponse$json = { - '1': 'RemoveAppLinkResponse', -}; - -/// Descriptor for `RemoveAppLinkResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeAppLinkResponseDescriptor = $convert.base64Decode( - 'ChVSZW1vdmVBcHBMaW5rUmVzcG9uc2U='); - -@$core.Deprecated('Use linkOrgRequestDescriptor instead') -const LinkOrgRequest$json = { - '1': 'LinkOrgRequest', - '2': [ - {'1': 'oauth_app_link_id', '3': 1, '4': 1, '5': 9, '10': 'oauthAppLinkId'}, - {'1': 'org_id', '3': 2, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `LinkOrgRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List linkOrgRequestDescriptor = $convert.base64Decode( - 'Cg5MaW5rT3JnUmVxdWVzdBIpChFvYXV0aF9hcHBfbGlua19pZBgBIAEoCVIOb2F1dGhBcHBMaW' - '5rSWQSFQoGb3JnX2lkGAIgASgJUgVvcmdJZA=='); - -@$core.Deprecated('Use linkOrgResponseDescriptor instead') -const LinkOrgResponse$json = { - '1': 'LinkOrgResponse', -}; - -/// Descriptor for `LinkOrgResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List linkOrgResponseDescriptor = $convert.base64Decode( - 'Cg9MaW5rT3JnUmVzcG9uc2U='); - -@$core.Deprecated('Use unlinkOrgRequestDescriptor instead') -const UnlinkOrgRequest$json = { - '1': 'UnlinkOrgRequest', - '2': [ - {'1': 'oauth_app_link_id', '3': 1, '4': 1, '5': 9, '10': 'oauthAppLinkId'}, - {'1': 'org_id', '3': 2, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `UnlinkOrgRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unlinkOrgRequestDescriptor = $convert.base64Decode( - 'ChBVbmxpbmtPcmdSZXF1ZXN0EikKEW9hdXRoX2FwcF9saW5rX2lkGAEgASgJUg5vYXV0aEFwcE' - 'xpbmtJZBIVCgZvcmdfaWQYAiABKAlSBW9yZ0lk'); - -@$core.Deprecated('Use unlinkOrgResponseDescriptor instead') -const UnlinkOrgResponse$json = { - '1': 'UnlinkOrgResponse', -}; - -/// Descriptor for `UnlinkOrgResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unlinkOrgResponseDescriptor = $convert.base64Decode( - 'ChFVbmxpbmtPcmdSZXNwb25zZQ=='); - diff --git a/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart b/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart deleted file mode 100644 index 3678ffbb268..00000000000 --- a/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart +++ /dev/null @@ -1,1276 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/cloudslam/v1/cloud_slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import 'cloud_slam.pbenum.dart'; - -export 'cloud_slam.pbenum.dart'; - -class StartMappingSessionRequest extends $pb.GeneratedMessage { - factory StartMappingSessionRequest({ - $core.String? slamVersion, - $core.String? viamServerVersion, - $core.String? mapName, - $core.String? organizationId, - $core.String? locationId, - $core.String? robotId, - CaptureInterval? captureInterval, - $core.Iterable? sensors, - $46.Struct? slamConfig, - $core.String? existingMapVersion, - Module? module, - }) { - final $result = create(); - if (slamVersion != null) { - $result.slamVersion = slamVersion; - } - if (viamServerVersion != null) { - $result.viamServerVersion = viamServerVersion; - } - if (mapName != null) { - $result.mapName = mapName; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (robotId != null) { - $result.robotId = robotId; - } - if (captureInterval != null) { - $result.captureInterval = captureInterval; - } - if (sensors != null) { - $result.sensors.addAll(sensors); - } - if (slamConfig != null) { - $result.slamConfig = slamConfig; - } - if (existingMapVersion != null) { - $result.existingMapVersion = existingMapVersion; - } - if (module != null) { - $result.module = module; - } - return $result; - } - StartMappingSessionRequest._() : super(); - factory StartMappingSessionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StartMappingSessionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartMappingSessionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'slamVersion') - ..aOS(2, _omitFieldNames ? '' : 'viamServerVersion') - ..aOS(3, _omitFieldNames ? '' : 'mapName') - ..aOS(4, _omitFieldNames ? '' : 'organizationId') - ..aOS(5, _omitFieldNames ? '' : 'locationId') - ..aOS(6, _omitFieldNames ? '' : 'robotId') - ..aOM(7, _omitFieldNames ? '' : 'captureInterval', subBuilder: CaptureInterval.create) - ..pc(8, _omitFieldNames ? '' : 'sensors', $pb.PbFieldType.PM, subBuilder: SensorInfo.create) - ..aOM<$46.Struct>(10, _omitFieldNames ? '' : 'slamConfig', subBuilder: $46.Struct.create) - ..aOS(11, _omitFieldNames ? '' : 'existingMapVersion') - ..aOM(12, _omitFieldNames ? '' : 'module', subBuilder: Module.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StartMappingSessionRequest clone() => StartMappingSessionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StartMappingSessionRequest copyWith(void Function(StartMappingSessionRequest) updates) => super.copyWith((message) => updates(message as StartMappingSessionRequest)) as StartMappingSessionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartMappingSessionRequest create() => StartMappingSessionRequest._(); - StartMappingSessionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartMappingSessionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartMappingSessionRequest? _defaultInstance; - - /// Version to use for slam, defaults stable - @$pb.TagNumber(1) - $core.String get slamVersion => $_getSZ(0); - @$pb.TagNumber(1) - set slamVersion($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSlamVersion() => $_has(0); - @$pb.TagNumber(1) - void clearSlamVersion() => clearField(1); - - /// Version to use for viam, defaults stable - @$pb.TagNumber(2) - $core.String get viamServerVersion => $_getSZ(1); - @$pb.TagNumber(2) - set viamServerVersion($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasViamServerVersion() => $_has(1); - @$pb.TagNumber(2) - void clearViamServerVersion() => clearField(2); - - @$pb.TagNumber(3) - $core.String get mapName => $_getSZ(2); - @$pb.TagNumber(3) - set mapName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasMapName() => $_has(2); - @$pb.TagNumber(3) - void clearMapName() => clearField(3); - - @$pb.TagNumber(4) - $core.String get organizationId => $_getSZ(3); - @$pb.TagNumber(4) - set organizationId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasOrganizationId() => $_has(3); - @$pb.TagNumber(4) - void clearOrganizationId() => clearField(4); - - @$pb.TagNumber(5) - $core.String get locationId => $_getSZ(4); - @$pb.TagNumber(5) - set locationId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasLocationId() => $_has(4); - @$pb.TagNumber(5) - void clearLocationId() => clearField(5); - - @$pb.TagNumber(6) - $core.String get robotId => $_getSZ(5); - @$pb.TagNumber(6) - set robotId($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasRobotId() => $_has(5); - @$pb.TagNumber(6) - void clearRobotId() => clearField(6); - - @$pb.TagNumber(7) - CaptureInterval get captureInterval => $_getN(6); - @$pb.TagNumber(7) - set captureInterval(CaptureInterval v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasCaptureInterval() => $_has(6); - @$pb.TagNumber(7) - void clearCaptureInterval() => clearField(7); - @$pb.TagNumber(7) - CaptureInterval ensureCaptureInterval() => $_ensure(6); - - @$pb.TagNumber(8) - $core.List get sensors => $_getList(7); - - @$pb.TagNumber(10) - $46.Struct get slamConfig => $_getN(8); - @$pb.TagNumber(10) - set slamConfig($46.Struct v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasSlamConfig() => $_has(8); - @$pb.TagNumber(10) - void clearSlamConfig() => clearField(10); - @$pb.TagNumber(10) - $46.Struct ensureSlamConfig() => $_ensure(8); - - @$pb.TagNumber(11) - $core.String get existingMapVersion => $_getSZ(9); - @$pb.TagNumber(11) - set existingMapVersion($core.String v) { $_setString(9, v); } - @$pb.TagNumber(11) - $core.bool hasExistingMapVersion() => $_has(9); - @$pb.TagNumber(11) - void clearExistingMapVersion() => clearField(11); - - @$pb.TagNumber(12) - Module get module => $_getN(10); - @$pb.TagNumber(12) - set module(Module v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasModule() => $_has(10); - @$pb.TagNumber(12) - void clearModule() => clearField(12); - @$pb.TagNumber(12) - Module ensureModule() => $_ensure(10); -} - -class Module extends $pb.GeneratedMessage { - factory Module({ - $core.String? name, - $core.String? moduleId, - $core.String? version, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (version != null) { - $result.version = version; - } - return $result; - } - Module._() : super(); - factory Module.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Module.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Module', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'moduleId') - ..aOS(4, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Module clone() => Module()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Module copyWith(void Function(Module) updates) => super.copyWith((message) => updates(message as Module)) as Module; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Module create() => Module._(); - Module createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Module getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Module? _defaultInstance; - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get moduleId => $_getSZ(1); - @$pb.TagNumber(3) - set moduleId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(3) - $core.bool hasModuleId() => $_has(1); - @$pb.TagNumber(3) - void clearModuleId() => clearField(3); - - @$pb.TagNumber(4) - $core.String get version => $_getSZ(2); - @$pb.TagNumber(4) - set version($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(4) - void clearVersion() => clearField(4); -} - -class SensorInfo extends $pb.GeneratedMessage { - factory SensorInfo({ - $core.String? sourceComponentName, - $core.String? type, - $core.String? dataFrequencyHz, - }) { - final $result = create(); - if (sourceComponentName != null) { - $result.sourceComponentName = sourceComponentName; - } - if (type != null) { - $result.type = type; - } - if (dataFrequencyHz != null) { - $result.dataFrequencyHz = dataFrequencyHz; - } - return $result; - } - SensorInfo._() : super(); - factory SensorInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SensorInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SensorInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sourceComponentName') - ..aOS(2, _omitFieldNames ? '' : 'type') - ..aOS(3, _omitFieldNames ? '' : 'dataFrequencyHz') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SensorInfo clone() => SensorInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SensorInfo copyWith(void Function(SensorInfo) updates) => super.copyWith((message) => updates(message as SensorInfo)) as SensorInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SensorInfo create() => SensorInfo._(); - SensorInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SensorInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SensorInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sourceComponentName => $_getSZ(0); - @$pb.TagNumber(1) - set sourceComponentName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSourceComponentName() => $_has(0); - @$pb.TagNumber(1) - void clearSourceComponentName() => clearField(1); - - /// type is the RDK component type - @$pb.TagNumber(2) - $core.String get type => $_getSZ(1); - @$pb.TagNumber(2) - set type($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasType() => $_has(1); - @$pb.TagNumber(2) - void clearType() => clearField(2); - - @$pb.TagNumber(3) - $core.String get dataFrequencyHz => $_getSZ(2); - @$pb.TagNumber(3) - set dataFrequencyHz($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDataFrequencyHz() => $_has(2); - @$pb.TagNumber(3) - void clearDataFrequencyHz() => clearField(3); -} - -class CaptureInterval extends $pb.GeneratedMessage { - factory CaptureInterval({ - $47.Timestamp? startTime, - $47.Timestamp? endTime, - }) { - final $result = create(); - if (startTime != null) { - $result.startTime = startTime; - } - if (endTime != null) { - $result.endTime = endTime; - } - return $result; - } - CaptureInterval._() : super(); - factory CaptureInterval.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CaptureInterval.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureInterval', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CaptureInterval clone() => CaptureInterval()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CaptureInterval copyWith(void Function(CaptureInterval) updates) => super.copyWith((message) => updates(message as CaptureInterval)) as CaptureInterval; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CaptureInterval create() => CaptureInterval._(); - CaptureInterval createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CaptureInterval getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CaptureInterval? _defaultInstance; - - @$pb.TagNumber(1) - $47.Timestamp get startTime => $_getN(0); - @$pb.TagNumber(1) - set startTime($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStartTime() => $_has(0); - @$pb.TagNumber(1) - void clearStartTime() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureStartTime() => $_ensure(0); - - /// if no end_time specified cloud slam will be run using live sensors - @$pb.TagNumber(2) - $47.Timestamp get endTime => $_getN(1); - @$pb.TagNumber(2) - set endTime($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEndTime() => $_has(1); - @$pb.TagNumber(2) - void clearEndTime() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureEndTime() => $_ensure(1); -} - -class StartMappingSessionResponse extends $pb.GeneratedMessage { - factory StartMappingSessionResponse({ - $core.String? sessionId, - }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - return $result; - } - StartMappingSessionResponse._() : super(); - factory StartMappingSessionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StartMappingSessionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartMappingSessionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sessionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StartMappingSessionResponse clone() => StartMappingSessionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StartMappingSessionResponse copyWith(void Function(StartMappingSessionResponse) updates) => super.copyWith((message) => updates(message as StartMappingSessionResponse)) as StartMappingSessionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartMappingSessionResponse create() => StartMappingSessionResponse._(); - StartMappingSessionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartMappingSessionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartMappingSessionResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sessionId => $_getSZ(0); - @$pb.TagNumber(1) - set sessionId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSessionId() => $_has(0); - @$pb.TagNumber(1) - void clearSessionId() => clearField(1); -} - -class GetActiveMappingSessionsForRobotRequest extends $pb.GeneratedMessage { - factory GetActiveMappingSessionsForRobotRequest({ - $core.String? robotId, - }) { - final $result = create(); - if (robotId != null) { - $result.robotId = robotId; - } - return $result; - } - GetActiveMappingSessionsForRobotRequest._() : super(); - factory GetActiveMappingSessionsForRobotRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetActiveMappingSessionsForRobotRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveMappingSessionsForRobotRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'robotId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetActiveMappingSessionsForRobotRequest clone() => GetActiveMappingSessionsForRobotRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetActiveMappingSessionsForRobotRequest copyWith(void Function(GetActiveMappingSessionsForRobotRequest) updates) => super.copyWith((message) => updates(message as GetActiveMappingSessionsForRobotRequest)) as GetActiveMappingSessionsForRobotRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetActiveMappingSessionsForRobotRequest create() => GetActiveMappingSessionsForRobotRequest._(); - GetActiveMappingSessionsForRobotRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetActiveMappingSessionsForRobotRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetActiveMappingSessionsForRobotRequest? _defaultInstance; - - /// assumes only one active mapping session on a robot - @$pb.TagNumber(1) - $core.String get robotId => $_getSZ(0); - @$pb.TagNumber(1) - set robotId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRobotId() => $_has(0); - @$pb.TagNumber(1) - void clearRobotId() => clearField(1); -} - -class GetActiveMappingSessionsForRobotResponse extends $pb.GeneratedMessage { - factory GetActiveMappingSessionsForRobotResponse({ - $core.String? sessionId, - }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - return $result; - } - GetActiveMappingSessionsForRobotResponse._() : super(); - factory GetActiveMappingSessionsForRobotResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetActiveMappingSessionsForRobotResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetActiveMappingSessionsForRobotResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sessionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetActiveMappingSessionsForRobotResponse clone() => GetActiveMappingSessionsForRobotResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetActiveMappingSessionsForRobotResponse copyWith(void Function(GetActiveMappingSessionsForRobotResponse) updates) => super.copyWith((message) => updates(message as GetActiveMappingSessionsForRobotResponse)) as GetActiveMappingSessionsForRobotResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetActiveMappingSessionsForRobotResponse create() => GetActiveMappingSessionsForRobotResponse._(); - GetActiveMappingSessionsForRobotResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetActiveMappingSessionsForRobotResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetActiveMappingSessionsForRobotResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sessionId => $_getSZ(0); - @$pb.TagNumber(1) - set sessionId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSessionId() => $_has(0); - @$pb.TagNumber(1) - void clearSessionId() => clearField(1); -} - -class GetMappingSessionPointCloudRequest extends $pb.GeneratedMessage { - factory GetMappingSessionPointCloudRequest({ - $core.String? sessionId, - }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - return $result; - } - GetMappingSessionPointCloudRequest._() : super(); - factory GetMappingSessionPointCloudRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMappingSessionPointCloudRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingSessionPointCloudRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sessionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMappingSessionPointCloudRequest clone() => GetMappingSessionPointCloudRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMappingSessionPointCloudRequest copyWith(void Function(GetMappingSessionPointCloudRequest) updates) => super.copyWith((message) => updates(message as GetMappingSessionPointCloudRequest)) as GetMappingSessionPointCloudRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMappingSessionPointCloudRequest create() => GetMappingSessionPointCloudRequest._(); - GetMappingSessionPointCloudRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetMappingSessionPointCloudRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetMappingSessionPointCloudRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sessionId => $_getSZ(0); - @$pb.TagNumber(1) - set sessionId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSessionId() => $_has(0); - @$pb.TagNumber(1) - void clearSessionId() => clearField(1); -} - -class GetMappingSessionPointCloudResponse extends $pb.GeneratedMessage { - factory GetMappingSessionPointCloudResponse({ - $core.String? mapUrl, - $15.Pose? pose, - }) { - final $result = create(); - if (mapUrl != null) { - $result.mapUrl = mapUrl; - } - if (pose != null) { - $result.pose = pose; - } - return $result; - } - GetMappingSessionPointCloudResponse._() : super(); - factory GetMappingSessionPointCloudResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMappingSessionPointCloudResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingSessionPointCloudResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'mapUrl') - ..aOM<$15.Pose>(2, _omitFieldNames ? '' : 'pose', subBuilder: $15.Pose.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMappingSessionPointCloudResponse clone() => GetMappingSessionPointCloudResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMappingSessionPointCloudResponse copyWith(void Function(GetMappingSessionPointCloudResponse) updates) => super.copyWith((message) => updates(message as GetMappingSessionPointCloudResponse)) as GetMappingSessionPointCloudResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMappingSessionPointCloudResponse create() => GetMappingSessionPointCloudResponse._(); - GetMappingSessionPointCloudResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetMappingSessionPointCloudResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetMappingSessionPointCloudResponse? _defaultInstance; - - /// url to the pointcloud map - @$pb.TagNumber(1) - $core.String get mapUrl => $_getSZ(0); - @$pb.TagNumber(1) - set mapUrl($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMapUrl() => $_has(0); - @$pb.TagNumber(1) - void clearMapUrl() => clearField(1); - - /// Current position within the SLAM Map - @$pb.TagNumber(2) - $15.Pose get pose => $_getN(1); - @$pb.TagNumber(2) - set pose($15.Pose v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPose() => $_has(1); - @$pb.TagNumber(2) - void clearPose() => clearField(2); - @$pb.TagNumber(2) - $15.Pose ensurePose() => $_ensure(1); -} - -class ListMappingSessionsRequest extends $pb.GeneratedMessage { - factory ListMappingSessionsRequest({ - $core.String? organizationId, - $core.String? locationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - ListMappingSessionsRequest._() : super(); - factory ListMappingSessionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListMappingSessionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListMappingSessionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListMappingSessionsRequest clone() => ListMappingSessionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListMappingSessionsRequest copyWith(void Function(ListMappingSessionsRequest) updates) => super.copyWith((message) => updates(message as ListMappingSessionsRequest)) as ListMappingSessionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListMappingSessionsRequest create() => ListMappingSessionsRequest._(); - ListMappingSessionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListMappingSessionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListMappingSessionsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get locationId => $_getSZ(1); - @$pb.TagNumber(2) - set locationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLocationId() => $_has(1); - @$pb.TagNumber(2) - void clearLocationId() => clearField(2); -} - -class ListMappingSessionsResponse extends $pb.GeneratedMessage { - factory ListMappingSessionsResponse({ - $core.Iterable? session, - }) { - final $result = create(); - if (session != null) { - $result.session.addAll(session); - } - return $result; - } - ListMappingSessionsResponse._() : super(); - factory ListMappingSessionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListMappingSessionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListMappingSessionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'session', $pb.PbFieldType.PM, subBuilder: MappingMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListMappingSessionsResponse clone() => ListMappingSessionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListMappingSessionsResponse copyWith(void Function(ListMappingSessionsResponse) updates) => super.copyWith((message) => updates(message as ListMappingSessionsResponse)) as ListMappingSessionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListMappingSessionsResponse create() => ListMappingSessionsResponse._(); - ListMappingSessionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListMappingSessionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListMappingSessionsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get session => $_getList(0); -} - -class StopMappingSessionRequest extends $pb.GeneratedMessage { - factory StopMappingSessionRequest({ - $core.String? sessionId, - }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - return $result; - } - StopMappingSessionRequest._() : super(); - factory StopMappingSessionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopMappingSessionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopMappingSessionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sessionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopMappingSessionRequest clone() => StopMappingSessionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopMappingSessionRequest copyWith(void Function(StopMappingSessionRequest) updates) => super.copyWith((message) => updates(message as StopMappingSessionRequest)) as StopMappingSessionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopMappingSessionRequest create() => StopMappingSessionRequest._(); - StopMappingSessionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopMappingSessionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopMappingSessionRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sessionId => $_getSZ(0); - @$pb.TagNumber(1) - set sessionId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSessionId() => $_has(0); - @$pb.TagNumber(1) - void clearSessionId() => clearField(1); -} - -class StopMappingSessionResponse extends $pb.GeneratedMessage { - factory StopMappingSessionResponse({ - $core.String? packageId, - $core.String? version, - }) { - final $result = create(); - if (packageId != null) { - $result.packageId = packageId; - } - if (version != null) { - $result.version = version; - } - return $result; - } - StopMappingSessionResponse._() : super(); - factory StopMappingSessionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopMappingSessionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopMappingSessionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'packageId') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopMappingSessionResponse clone() => StopMappingSessionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopMappingSessionResponse copyWith(void Function(StopMappingSessionResponse) updates) => super.copyWith((message) => updates(message as StopMappingSessionResponse)) as StopMappingSessionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopMappingSessionResponse create() => StopMappingSessionResponse._(); - StopMappingSessionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopMappingSessionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopMappingSessionResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get packageId => $_getSZ(0); - @$pb.TagNumber(1) - set packageId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPackageId() => $_has(0); - @$pb.TagNumber(1) - void clearPackageId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); -} - -class GetMappingSessionMetadataByIDRequest extends $pb.GeneratedMessage { - factory GetMappingSessionMetadataByIDRequest({ - $core.String? sessionId, - }) { - final $result = create(); - if (sessionId != null) { - $result.sessionId = sessionId; - } - return $result; - } - GetMappingSessionMetadataByIDRequest._() : super(); - factory GetMappingSessionMetadataByIDRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMappingSessionMetadataByIDRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingSessionMetadataByIDRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sessionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMappingSessionMetadataByIDRequest clone() => GetMappingSessionMetadataByIDRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMappingSessionMetadataByIDRequest copyWith(void Function(GetMappingSessionMetadataByIDRequest) updates) => super.copyWith((message) => updates(message as GetMappingSessionMetadataByIDRequest)) as GetMappingSessionMetadataByIDRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMappingSessionMetadataByIDRequest create() => GetMappingSessionMetadataByIDRequest._(); - GetMappingSessionMetadataByIDRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetMappingSessionMetadataByIDRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetMappingSessionMetadataByIDRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sessionId => $_getSZ(0); - @$pb.TagNumber(1) - set sessionId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSessionId() => $_has(0); - @$pb.TagNumber(1) - void clearSessionId() => clearField(1); -} - -class GetMappingSessionMetadataByIDResponse extends $pb.GeneratedMessage { - factory GetMappingSessionMetadataByIDResponse({ - MappingMetadata? sessionMetadata, - }) { - final $result = create(); - if (sessionMetadata != null) { - $result.sessionMetadata = sessionMetadata; - } - return $result; - } - GetMappingSessionMetadataByIDResponse._() : super(); - factory GetMappingSessionMetadataByIDResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMappingSessionMetadataByIDResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingSessionMetadataByIDResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'sessionMetadata', subBuilder: MappingMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMappingSessionMetadataByIDResponse clone() => GetMappingSessionMetadataByIDResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMappingSessionMetadataByIDResponse copyWith(void Function(GetMappingSessionMetadataByIDResponse) updates) => super.copyWith((message) => updates(message as GetMappingSessionMetadataByIDResponse)) as GetMappingSessionMetadataByIDResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMappingSessionMetadataByIDResponse create() => GetMappingSessionMetadataByIDResponse._(); - GetMappingSessionMetadataByIDResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetMappingSessionMetadataByIDResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetMappingSessionMetadataByIDResponse? _defaultInstance; - - @$pb.TagNumber(1) - MappingMetadata get sessionMetadata => $_getN(0); - @$pb.TagNumber(1) - set sessionMetadata(MappingMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSessionMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearSessionMetadata() => clearField(1); - @$pb.TagNumber(1) - MappingMetadata ensureSessionMetadata() => $_ensure(0); -} - -class MappingMetadata extends $pb.GeneratedMessage { - factory MappingMetadata({ - $core.String? orgId, - $core.String? locationId, - $core.String? robotId, - $47.Timestamp? timeStartSubmitted, - $47.Timestamp? timeCloudRunJobStarted, - $47.Timestamp? timeEndSubmitted, - $47.Timestamp? timeCloudRunJobEnded, - EndStatus? endStatus, - $core.String? cloudRunJobId, - $core.String? viamServerVersion, - $core.String? mapName, - $core.String? slamVersion, - $core.String? config, - $core.String? errorMsg, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (robotId != null) { - $result.robotId = robotId; - } - if (timeStartSubmitted != null) { - $result.timeStartSubmitted = timeStartSubmitted; - } - if (timeCloudRunJobStarted != null) { - $result.timeCloudRunJobStarted = timeCloudRunJobStarted; - } - if (timeEndSubmitted != null) { - $result.timeEndSubmitted = timeEndSubmitted; - } - if (timeCloudRunJobEnded != null) { - $result.timeCloudRunJobEnded = timeCloudRunJobEnded; - } - if (endStatus != null) { - $result.endStatus = endStatus; - } - if (cloudRunJobId != null) { - $result.cloudRunJobId = cloudRunJobId; - } - if (viamServerVersion != null) { - $result.viamServerVersion = viamServerVersion; - } - if (mapName != null) { - $result.mapName = mapName; - } - if (slamVersion != null) { - $result.slamVersion = slamVersion; - } - if (config != null) { - $result.config = config; - } - if (errorMsg != null) { - $result.errorMsg = errorMsg; - } - return $result; - } - MappingMetadata._() : super(); - factory MappingMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MappingMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MappingMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'locationId') - ..aOS(3, _omitFieldNames ? '' : 'robotId') - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'timeStartSubmitted', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(5, _omitFieldNames ? '' : 'timeCloudRunJobStarted', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(6, _omitFieldNames ? '' : 'timeEndSubmitted', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(7, _omitFieldNames ? '' : 'timeCloudRunJobEnded', subBuilder: $47.Timestamp.create) - ..e(8, _omitFieldNames ? '' : 'endStatus', $pb.PbFieldType.OE, defaultOrMaker: EndStatus.END_STATUS_UNSPECIFIED, valueOf: EndStatus.valueOf, enumValues: EndStatus.values) - ..aOS(9, _omitFieldNames ? '' : 'cloudRunJobId') - ..aOS(10, _omitFieldNames ? '' : 'viamServerVersion') - ..aOS(11, _omitFieldNames ? '' : 'mapName') - ..aOS(12, _omitFieldNames ? '' : 'slamVersion') - ..aOS(13, _omitFieldNames ? '' : 'config') - ..aOS(14, _omitFieldNames ? '' : 'errorMsg') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MappingMetadata clone() => MappingMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MappingMetadata copyWith(void Function(MappingMetadata) updates) => super.copyWith((message) => updates(message as MappingMetadata)) as MappingMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MappingMetadata create() => MappingMetadata._(); - MappingMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MappingMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MappingMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get locationId => $_getSZ(1); - @$pb.TagNumber(2) - set locationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLocationId() => $_has(1); - @$pb.TagNumber(2) - void clearLocationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get robotId => $_getSZ(2); - @$pb.TagNumber(3) - set robotId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasRobotId() => $_has(2); - @$pb.TagNumber(3) - void clearRobotId() => clearField(3); - - @$pb.TagNumber(4) - $47.Timestamp get timeStartSubmitted => $_getN(3); - @$pb.TagNumber(4) - set timeStartSubmitted($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasTimeStartSubmitted() => $_has(3); - @$pb.TagNumber(4) - void clearTimeStartSubmitted() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureTimeStartSubmitted() => $_ensure(3); - - @$pb.TagNumber(5) - $47.Timestamp get timeCloudRunJobStarted => $_getN(4); - @$pb.TagNumber(5) - set timeCloudRunJobStarted($47.Timestamp v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasTimeCloudRunJobStarted() => $_has(4); - @$pb.TagNumber(5) - void clearTimeCloudRunJobStarted() => clearField(5); - @$pb.TagNumber(5) - $47.Timestamp ensureTimeCloudRunJobStarted() => $_ensure(4); - - @$pb.TagNumber(6) - $47.Timestamp get timeEndSubmitted => $_getN(5); - @$pb.TagNumber(6) - set timeEndSubmitted($47.Timestamp v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasTimeEndSubmitted() => $_has(5); - @$pb.TagNumber(6) - void clearTimeEndSubmitted() => clearField(6); - @$pb.TagNumber(6) - $47.Timestamp ensureTimeEndSubmitted() => $_ensure(5); - - @$pb.TagNumber(7) - $47.Timestamp get timeCloudRunJobEnded => $_getN(6); - @$pb.TagNumber(7) - set timeCloudRunJobEnded($47.Timestamp v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasTimeCloudRunJobEnded() => $_has(6); - @$pb.TagNumber(7) - void clearTimeCloudRunJobEnded() => clearField(7); - @$pb.TagNumber(7) - $47.Timestamp ensureTimeCloudRunJobEnded() => $_ensure(6); - - @$pb.TagNumber(8) - EndStatus get endStatus => $_getN(7); - @$pb.TagNumber(8) - set endStatus(EndStatus v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasEndStatus() => $_has(7); - @$pb.TagNumber(8) - void clearEndStatus() => clearField(8); - - @$pb.TagNumber(9) - $core.String get cloudRunJobId => $_getSZ(8); - @$pb.TagNumber(9) - set cloudRunJobId($core.String v) { $_setString(8, v); } - @$pb.TagNumber(9) - $core.bool hasCloudRunJobId() => $_has(8); - @$pb.TagNumber(9) - void clearCloudRunJobId() => clearField(9); - - @$pb.TagNumber(10) - $core.String get viamServerVersion => $_getSZ(9); - @$pb.TagNumber(10) - set viamServerVersion($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasViamServerVersion() => $_has(9); - @$pb.TagNumber(10) - void clearViamServerVersion() => clearField(10); - - @$pb.TagNumber(11) - $core.String get mapName => $_getSZ(10); - @$pb.TagNumber(11) - set mapName($core.String v) { $_setString(10, v); } - @$pb.TagNumber(11) - $core.bool hasMapName() => $_has(10); - @$pb.TagNumber(11) - void clearMapName() => clearField(11); - - @$pb.TagNumber(12) - $core.String get slamVersion => $_getSZ(11); - @$pb.TagNumber(12) - set slamVersion($core.String v) { $_setString(11, v); } - @$pb.TagNumber(12) - $core.bool hasSlamVersion() => $_has(11); - @$pb.TagNumber(12) - void clearSlamVersion() => clearField(12); - - @$pb.TagNumber(13) - $core.String get config => $_getSZ(12); - @$pb.TagNumber(13) - set config($core.String v) { $_setString(12, v); } - @$pb.TagNumber(13) - $core.bool hasConfig() => $_has(12); - @$pb.TagNumber(13) - void clearConfig() => clearField(13); - - @$pb.TagNumber(14) - $core.String get errorMsg => $_getSZ(13); - @$pb.TagNumber(14) - set errorMsg($core.String v) { $_setString(13, v); } - @$pb.TagNumber(14) - $core.bool hasErrorMsg() => $_has(13); - @$pb.TagNumber(14) - void clearErrorMsg() => clearField(14); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/cloudslam/v1/cloud_slam.pbenum.dart b/lib/src/gen/app/cloudslam/v1/cloud_slam.pbenum.dart deleted file mode 100644 index 789bb855426..00000000000 --- a/lib/src/gen/app/cloudslam/v1/cloud_slam.pbenum.dart +++ /dev/null @@ -1,36 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/cloudslam/v1/cloud_slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class EndStatus extends $pb.ProtobufEnum { - static const EndStatus END_STATUS_UNSPECIFIED = EndStatus._(0, _omitEnumNames ? '' : 'END_STATUS_UNSPECIFIED'); - static const EndStatus END_STATUS_SUCCESS = EndStatus._(1, _omitEnumNames ? '' : 'END_STATUS_SUCCESS'); - static const EndStatus END_STATUS_TIMEOUT = EndStatus._(2, _omitEnumNames ? '' : 'END_STATUS_TIMEOUT'); - static const EndStatus END_STATUS_FAIL = EndStatus._(3, _omitEnumNames ? '' : 'END_STATUS_FAIL'); - - static const $core.List values = [ - END_STATUS_UNSPECIFIED, - END_STATUS_SUCCESS, - END_STATUS_TIMEOUT, - END_STATUS_FAIL, - ]; - - static final $core.Map<$core.int, EndStatus> _byValue = $pb.ProtobufEnum.initByValue(values); - static EndStatus? valueOf($core.int value) => _byValue[value]; - - const EndStatus._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/cloudslam/v1/cloud_slam.pbgrpc.dart b/lib/src/gen/app/cloudslam/v1/cloud_slam.pbgrpc.dart deleted file mode 100644 index 24bd0d9a7b4..00000000000 --- a/lib/src/gen/app/cloudslam/v1/cloud_slam.pbgrpc.dart +++ /dev/null @@ -1,159 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/cloudslam/v1/cloud_slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'cloud_slam.pb.dart' as $2; - -export 'cloud_slam.pb.dart'; - -@$pb.GrpcServiceName('viam.app.cloudslam.v1.CloudSLAMService') -class CloudSLAMServiceClient extends $grpc.Client { - static final _$startMappingSession = $grpc.ClientMethod<$2.StartMappingSessionRequest, $2.StartMappingSessionResponse>( - '/viam.app.cloudslam.v1.CloudSLAMService/StartMappingSession', - ($2.StartMappingSessionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.StartMappingSessionResponse.fromBuffer(value)); - static final _$getActiveMappingSessionsForRobot = $grpc.ClientMethod<$2.GetActiveMappingSessionsForRobotRequest, $2.GetActiveMappingSessionsForRobotResponse>( - '/viam.app.cloudslam.v1.CloudSLAMService/GetActiveMappingSessionsForRobot', - ($2.GetActiveMappingSessionsForRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.GetActiveMappingSessionsForRobotResponse.fromBuffer(value)); - static final _$getMappingSessionPointCloud = $grpc.ClientMethod<$2.GetMappingSessionPointCloudRequest, $2.GetMappingSessionPointCloudResponse>( - '/viam.app.cloudslam.v1.CloudSLAMService/GetMappingSessionPointCloud', - ($2.GetMappingSessionPointCloudRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.GetMappingSessionPointCloudResponse.fromBuffer(value)); - static final _$listMappingSessions = $grpc.ClientMethod<$2.ListMappingSessionsRequest, $2.ListMappingSessionsResponse>( - '/viam.app.cloudslam.v1.CloudSLAMService/ListMappingSessions', - ($2.ListMappingSessionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.ListMappingSessionsResponse.fromBuffer(value)); - static final _$stopMappingSession = $grpc.ClientMethod<$2.StopMappingSessionRequest, $2.StopMappingSessionResponse>( - '/viam.app.cloudslam.v1.CloudSLAMService/StopMappingSession', - ($2.StopMappingSessionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.StopMappingSessionResponse.fromBuffer(value)); - static final _$getMappingSessionMetadataByID = $grpc.ClientMethod<$2.GetMappingSessionMetadataByIDRequest, $2.GetMappingSessionMetadataByIDResponse>( - '/viam.app.cloudslam.v1.CloudSLAMService/GetMappingSessionMetadataByID', - ($2.GetMappingSessionMetadataByIDRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.GetMappingSessionMetadataByIDResponse.fromBuffer(value)); - - CloudSLAMServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$2.StartMappingSessionResponse> startMappingSession($2.StartMappingSessionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$startMappingSession, request, options: options); - } - - $grpc.ResponseFuture<$2.GetActiveMappingSessionsForRobotResponse> getActiveMappingSessionsForRobot($2.GetActiveMappingSessionsForRobotRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getActiveMappingSessionsForRobot, request, options: options); - } - - $grpc.ResponseFuture<$2.GetMappingSessionPointCloudResponse> getMappingSessionPointCloud($2.GetMappingSessionPointCloudRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getMappingSessionPointCloud, request, options: options); - } - - $grpc.ResponseFuture<$2.ListMappingSessionsResponse> listMappingSessions($2.ListMappingSessionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listMappingSessions, request, options: options); - } - - $grpc.ResponseFuture<$2.StopMappingSessionResponse> stopMappingSession($2.StopMappingSessionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stopMappingSession, request, options: options); - } - - $grpc.ResponseFuture<$2.GetMappingSessionMetadataByIDResponse> getMappingSessionMetadataByID($2.GetMappingSessionMetadataByIDRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getMappingSessionMetadataByID, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.cloudslam.v1.CloudSLAMService') -abstract class CloudSLAMServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.cloudslam.v1.CloudSLAMService'; - - CloudSLAMServiceBase() { - $addMethod($grpc.ServiceMethod<$2.StartMappingSessionRequest, $2.StartMappingSessionResponse>( - 'StartMappingSession', - startMappingSession_Pre, - false, - false, - ($core.List<$core.int> value) => $2.StartMappingSessionRequest.fromBuffer(value), - ($2.StartMappingSessionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.GetActiveMappingSessionsForRobotRequest, $2.GetActiveMappingSessionsForRobotResponse>( - 'GetActiveMappingSessionsForRobot', - getActiveMappingSessionsForRobot_Pre, - false, - false, - ($core.List<$core.int> value) => $2.GetActiveMappingSessionsForRobotRequest.fromBuffer(value), - ($2.GetActiveMappingSessionsForRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.GetMappingSessionPointCloudRequest, $2.GetMappingSessionPointCloudResponse>( - 'GetMappingSessionPointCloud', - getMappingSessionPointCloud_Pre, - false, - false, - ($core.List<$core.int> value) => $2.GetMappingSessionPointCloudRequest.fromBuffer(value), - ($2.GetMappingSessionPointCloudResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.ListMappingSessionsRequest, $2.ListMappingSessionsResponse>( - 'ListMappingSessions', - listMappingSessions_Pre, - false, - false, - ($core.List<$core.int> value) => $2.ListMappingSessionsRequest.fromBuffer(value), - ($2.ListMappingSessionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.StopMappingSessionRequest, $2.StopMappingSessionResponse>( - 'StopMappingSession', - stopMappingSession_Pre, - false, - false, - ($core.List<$core.int> value) => $2.StopMappingSessionRequest.fromBuffer(value), - ($2.StopMappingSessionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.GetMappingSessionMetadataByIDRequest, $2.GetMappingSessionMetadataByIDResponse>( - 'GetMappingSessionMetadataByID', - getMappingSessionMetadataByID_Pre, - false, - false, - ($core.List<$core.int> value) => $2.GetMappingSessionMetadataByIDRequest.fromBuffer(value), - ($2.GetMappingSessionMetadataByIDResponse value) => value.writeToBuffer())); - } - - $async.Future<$2.StartMappingSessionResponse> startMappingSession_Pre($grpc.ServiceCall call, $async.Future<$2.StartMappingSessionRequest> request) async { - return startMappingSession(call, await request); - } - - $async.Future<$2.GetActiveMappingSessionsForRobotResponse> getActiveMappingSessionsForRobot_Pre($grpc.ServiceCall call, $async.Future<$2.GetActiveMappingSessionsForRobotRequest> request) async { - return getActiveMappingSessionsForRobot(call, await request); - } - - $async.Future<$2.GetMappingSessionPointCloudResponse> getMappingSessionPointCloud_Pre($grpc.ServiceCall call, $async.Future<$2.GetMappingSessionPointCloudRequest> request) async { - return getMappingSessionPointCloud(call, await request); - } - - $async.Future<$2.ListMappingSessionsResponse> listMappingSessions_Pre($grpc.ServiceCall call, $async.Future<$2.ListMappingSessionsRequest> request) async { - return listMappingSessions(call, await request); - } - - $async.Future<$2.StopMappingSessionResponse> stopMappingSession_Pre($grpc.ServiceCall call, $async.Future<$2.StopMappingSessionRequest> request) async { - return stopMappingSession(call, await request); - } - - $async.Future<$2.GetMappingSessionMetadataByIDResponse> getMappingSessionMetadataByID_Pre($grpc.ServiceCall call, $async.Future<$2.GetMappingSessionMetadataByIDRequest> request) async { - return getMappingSessionMetadataByID(call, await request); - } - - $async.Future<$2.StartMappingSessionResponse> startMappingSession($grpc.ServiceCall call, $2.StartMappingSessionRequest request); - $async.Future<$2.GetActiveMappingSessionsForRobotResponse> getActiveMappingSessionsForRobot($grpc.ServiceCall call, $2.GetActiveMappingSessionsForRobotRequest request); - $async.Future<$2.GetMappingSessionPointCloudResponse> getMappingSessionPointCloud($grpc.ServiceCall call, $2.GetMappingSessionPointCloudRequest request); - $async.Future<$2.ListMappingSessionsResponse> listMappingSessions($grpc.ServiceCall call, $2.ListMappingSessionsRequest request); - $async.Future<$2.StopMappingSessionResponse> stopMappingSession($grpc.ServiceCall call, $2.StopMappingSessionRequest request); - $async.Future<$2.GetMappingSessionMetadataByIDResponse> getMappingSessionMetadataByID($grpc.ServiceCall call, $2.GetMappingSessionMetadataByIDRequest request); -} diff --git a/lib/src/gen/app/cloudslam/v1/cloud_slam.pbjson.dart b/lib/src/gen/app/cloudslam/v1/cloud_slam.pbjson.dart deleted file mode 100644 index f4704e36947..00000000000 --- a/lib/src/gen/app/cloudslam/v1/cloud_slam.pbjson.dart +++ /dev/null @@ -1,292 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/cloudslam/v1/cloud_slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use endStatusDescriptor instead') -const EndStatus$json = { - '1': 'EndStatus', - '2': [ - {'1': 'END_STATUS_UNSPECIFIED', '2': 0}, - {'1': 'END_STATUS_SUCCESS', '2': 1}, - {'1': 'END_STATUS_TIMEOUT', '2': 2}, - {'1': 'END_STATUS_FAIL', '2': 3}, - ], -}; - -/// Descriptor for `EndStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List endStatusDescriptor = $convert.base64Decode( - 'CglFbmRTdGF0dXMSGgoWRU5EX1NUQVRVU19VTlNQRUNJRklFRBAAEhYKEkVORF9TVEFUVVNfU1' - 'VDQ0VTUxABEhYKEkVORF9TVEFUVVNfVElNRU9VVBACEhMKD0VORF9TVEFUVVNfRkFJTBAD'); - -@$core.Deprecated('Use startMappingSessionRequestDescriptor instead') -const StartMappingSessionRequest$json = { - '1': 'StartMappingSessionRequest', - '2': [ - {'1': 'slam_version', '3': 1, '4': 1, '5': 9, '10': 'slamVersion'}, - {'1': 'viam_server_version', '3': 2, '4': 1, '5': 9, '10': 'viamServerVersion'}, - {'1': 'map_name', '3': 3, '4': 1, '5': 9, '10': 'mapName'}, - {'1': 'organization_id', '3': 4, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'location_id', '3': 5, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'robot_id', '3': 6, '4': 1, '5': 9, '10': 'robotId'}, - {'1': 'capture_interval', '3': 7, '4': 1, '5': 11, '6': '.viam.app.cloudslam.v1.CaptureInterval', '10': 'captureInterval'}, - {'1': 'sensors', '3': 8, '4': 3, '5': 11, '6': '.viam.app.cloudslam.v1.SensorInfo', '10': 'sensors'}, - {'1': 'slam_config', '3': 10, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'slamConfig'}, - {'1': 'existing_map_version', '3': 11, '4': 1, '5': 9, '10': 'existingMapVersion'}, - {'1': 'module', '3': 12, '4': 1, '5': 11, '6': '.viam.app.cloudslam.v1.Module', '10': 'module'}, - ], -}; - -/// Descriptor for `StartMappingSessionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startMappingSessionRequestDescriptor = $convert.base64Decode( - 'ChpTdGFydE1hcHBpbmdTZXNzaW9uUmVxdWVzdBIhCgxzbGFtX3ZlcnNpb24YASABKAlSC3NsYW' - '1WZXJzaW9uEi4KE3ZpYW1fc2VydmVyX3ZlcnNpb24YAiABKAlSEXZpYW1TZXJ2ZXJWZXJzaW9u' - 'EhkKCG1hcF9uYW1lGAMgASgJUgdtYXBOYW1lEicKD29yZ2FuaXphdGlvbl9pZBgEIAEoCVIOb3' - 'JnYW5pemF0aW9uSWQSHwoLbG9jYXRpb25faWQYBSABKAlSCmxvY2F0aW9uSWQSGQoIcm9ib3Rf' - 'aWQYBiABKAlSB3JvYm90SWQSUQoQY2FwdHVyZV9pbnRlcnZhbBgHIAEoCzImLnZpYW0uYXBwLm' - 'Nsb3Vkc2xhbS52MS5DYXB0dXJlSW50ZXJ2YWxSD2NhcHR1cmVJbnRlcnZhbBI7CgdzZW5zb3Jz' - 'GAggAygLMiEudmlhbS5hcHAuY2xvdWRzbGFtLnYxLlNlbnNvckluZm9SB3NlbnNvcnMSOAoLc2' - 'xhbV9jb25maWcYCiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgpzbGFtQ29uZmlnEjAK' - 'FGV4aXN0aW5nX21hcF92ZXJzaW9uGAsgASgJUhJleGlzdGluZ01hcFZlcnNpb24SNQoGbW9kdW' - 'xlGAwgASgLMh0udmlhbS5hcHAuY2xvdWRzbGFtLnYxLk1vZHVsZVIGbW9kdWxl'); - -@$core.Deprecated('Use moduleDescriptor instead') -const Module$json = { - '1': 'Module', - '2': [ - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'module_id', '3': 3, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'version', '3': 4, '4': 1, '5': 9, '10': 'version'}, - ], -}; - -/// Descriptor for `Module`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moduleDescriptor = $convert.base64Decode( - 'CgZNb2R1bGUSEgoEbmFtZRgCIAEoCVIEbmFtZRIbCgltb2R1bGVfaWQYAyABKAlSCG1vZHVsZU' - 'lkEhgKB3ZlcnNpb24YBCABKAlSB3ZlcnNpb24='); - -@$core.Deprecated('Use sensorInfoDescriptor instead') -const SensorInfo$json = { - '1': 'SensorInfo', - '2': [ - {'1': 'source_component_name', '3': 1, '4': 1, '5': 9, '10': 'sourceComponentName'}, - {'1': 'type', '3': 2, '4': 1, '5': 9, '10': 'type'}, - {'1': 'data_frequency_hz', '3': 3, '4': 1, '5': 9, '10': 'dataFrequencyHz'}, - ], -}; - -/// Descriptor for `SensorInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sensorInfoDescriptor = $convert.base64Decode( - 'CgpTZW5zb3JJbmZvEjIKFXNvdXJjZV9jb21wb25lbnRfbmFtZRgBIAEoCVITc291cmNlQ29tcG' - '9uZW50TmFtZRISCgR0eXBlGAIgASgJUgR0eXBlEioKEWRhdGFfZnJlcXVlbmN5X2h6GAMgASgJ' - 'Ug9kYXRhRnJlcXVlbmN5SHo='); - -@$core.Deprecated('Use captureIntervalDescriptor instead') -const CaptureInterval$json = { - '1': 'CaptureInterval', - '2': [ - {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, - {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, - ], -}; - -/// Descriptor for `CaptureInterval`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List captureIntervalDescriptor = $convert.base64Decode( - 'Cg9DYXB0dXJlSW50ZXJ2YWwSOQoKc3RhcnRfdGltZRgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi' - '5UaW1lc3RhbXBSCXN0YXJ0VGltZRI1CghlbmRfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1' - 'Zi5UaW1lc3RhbXBSB2VuZFRpbWU='); - -@$core.Deprecated('Use startMappingSessionResponseDescriptor instead') -const StartMappingSessionResponse$json = { - '1': 'StartMappingSessionResponse', - '2': [ - {'1': 'session_id', '3': 1, '4': 1, '5': 9, '10': 'sessionId'}, - ], -}; - -/// Descriptor for `StartMappingSessionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startMappingSessionResponseDescriptor = $convert.base64Decode( - 'ChtTdGFydE1hcHBpbmdTZXNzaW9uUmVzcG9uc2USHQoKc2Vzc2lvbl9pZBgBIAEoCVIJc2Vzc2' - 'lvbklk'); - -@$core.Deprecated('Use getActiveMappingSessionsForRobotRequestDescriptor instead') -const GetActiveMappingSessionsForRobotRequest$json = { - '1': 'GetActiveMappingSessionsForRobotRequest', - '2': [ - {'1': 'robot_id', '3': 1, '4': 1, '5': 9, '10': 'robotId'}, - ], -}; - -/// Descriptor for `GetActiveMappingSessionsForRobotRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getActiveMappingSessionsForRobotRequestDescriptor = $convert.base64Decode( - 'CidHZXRBY3RpdmVNYXBwaW5nU2Vzc2lvbnNGb3JSb2JvdFJlcXVlc3QSGQoIcm9ib3RfaWQYAS' - 'ABKAlSB3JvYm90SWQ='); - -@$core.Deprecated('Use getActiveMappingSessionsForRobotResponseDescriptor instead') -const GetActiveMappingSessionsForRobotResponse$json = { - '1': 'GetActiveMappingSessionsForRobotResponse', - '2': [ - {'1': 'session_id', '3': 1, '4': 1, '5': 9, '10': 'sessionId'}, - ], -}; - -/// Descriptor for `GetActiveMappingSessionsForRobotResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getActiveMappingSessionsForRobotResponseDescriptor = $convert.base64Decode( - 'CihHZXRBY3RpdmVNYXBwaW5nU2Vzc2lvbnNGb3JSb2JvdFJlc3BvbnNlEh0KCnNlc3Npb25faW' - 'QYASABKAlSCXNlc3Npb25JZA=='); - -@$core.Deprecated('Use getMappingSessionPointCloudRequestDescriptor instead') -const GetMappingSessionPointCloudRequest$json = { - '1': 'GetMappingSessionPointCloudRequest', - '2': [ - {'1': 'session_id', '3': 1, '4': 1, '5': 9, '10': 'sessionId'}, - ], -}; - -/// Descriptor for `GetMappingSessionPointCloudRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMappingSessionPointCloudRequestDescriptor = $convert.base64Decode( - 'CiJHZXRNYXBwaW5nU2Vzc2lvblBvaW50Q2xvdWRSZXF1ZXN0Eh0KCnNlc3Npb25faWQYASABKA' - 'lSCXNlc3Npb25JZA=='); - -@$core.Deprecated('Use getMappingSessionPointCloudResponseDescriptor instead') -const GetMappingSessionPointCloudResponse$json = { - '1': 'GetMappingSessionPointCloudResponse', - '2': [ - {'1': 'map_url', '3': 1, '4': 1, '5': 9, '10': 'mapUrl'}, - {'1': 'pose', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'pose'}, - ], -}; - -/// Descriptor for `GetMappingSessionPointCloudResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMappingSessionPointCloudResponseDescriptor = $convert.base64Decode( - 'CiNHZXRNYXBwaW5nU2Vzc2lvblBvaW50Q2xvdWRSZXNwb25zZRIXCgdtYXBfdXJsGAEgASgJUg' - 'ZtYXBVcmwSKAoEcG9zZRgCIAEoCzIULnZpYW0uY29tbW9uLnYxLlBvc2VSBHBvc2U='); - -@$core.Deprecated('Use listMappingSessionsRequestDescriptor instead') -const ListMappingSessionsRequest$json = { - '1': 'ListMappingSessionsRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'location_id', '3': 2, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `ListMappingSessionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listMappingSessionsRequestDescriptor = $convert.base64Decode( - 'ChpMaXN0TWFwcGluZ1Nlc3Npb25zUmVxdWVzdBInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm' - '9yZ2FuaXphdGlvbklkEh8KC2xvY2F0aW9uX2lkGAIgASgJUgpsb2NhdGlvbklk'); - -@$core.Deprecated('Use listMappingSessionsResponseDescriptor instead') -const ListMappingSessionsResponse$json = { - '1': 'ListMappingSessionsResponse', - '2': [ - {'1': 'session', '3': 1, '4': 3, '5': 11, '6': '.viam.app.cloudslam.v1.MappingMetadata', '10': 'session'}, - ], -}; - -/// Descriptor for `ListMappingSessionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listMappingSessionsResponseDescriptor = $convert.base64Decode( - 'ChtMaXN0TWFwcGluZ1Nlc3Npb25zUmVzcG9uc2USQAoHc2Vzc2lvbhgBIAMoCzImLnZpYW0uYX' - 'BwLmNsb3Vkc2xhbS52MS5NYXBwaW5nTWV0YWRhdGFSB3Nlc3Npb24='); - -@$core.Deprecated('Use stopMappingSessionRequestDescriptor instead') -const StopMappingSessionRequest$json = { - '1': 'StopMappingSessionRequest', - '2': [ - {'1': 'session_id', '3': 1, '4': 1, '5': 9, '10': 'sessionId'}, - ], -}; - -/// Descriptor for `StopMappingSessionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopMappingSessionRequestDescriptor = $convert.base64Decode( - 'ChlTdG9wTWFwcGluZ1Nlc3Npb25SZXF1ZXN0Eh0KCnNlc3Npb25faWQYASABKAlSCXNlc3Npb2' - '5JZA=='); - -@$core.Deprecated('Use stopMappingSessionResponseDescriptor instead') -const StopMappingSessionResponse$json = { - '1': 'StopMappingSessionResponse', - '2': [ - {'1': 'package_id', '3': 1, '4': 1, '5': 9, '10': 'packageId'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, - ], -}; - -/// Descriptor for `StopMappingSessionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopMappingSessionResponseDescriptor = $convert.base64Decode( - 'ChpTdG9wTWFwcGluZ1Nlc3Npb25SZXNwb25zZRIdCgpwYWNrYWdlX2lkGAEgASgJUglwYWNrYW' - 'dlSWQSGAoHdmVyc2lvbhgCIAEoCVIHdmVyc2lvbg=='); - -@$core.Deprecated('Use getMappingSessionMetadataByIDRequestDescriptor instead') -const GetMappingSessionMetadataByIDRequest$json = { - '1': 'GetMappingSessionMetadataByIDRequest', - '2': [ - {'1': 'session_id', '3': 1, '4': 1, '5': 9, '10': 'sessionId'}, - ], -}; - -/// Descriptor for `GetMappingSessionMetadataByIDRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMappingSessionMetadataByIDRequestDescriptor = $convert.base64Decode( - 'CiRHZXRNYXBwaW5nU2Vzc2lvbk1ldGFkYXRhQnlJRFJlcXVlc3QSHQoKc2Vzc2lvbl9pZBgBIA' - 'EoCVIJc2Vzc2lvbklk'); - -@$core.Deprecated('Use getMappingSessionMetadataByIDResponseDescriptor instead') -const GetMappingSessionMetadataByIDResponse$json = { - '1': 'GetMappingSessionMetadataByIDResponse', - '2': [ - {'1': 'session_metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.app.cloudslam.v1.MappingMetadata', '10': 'sessionMetadata'}, - ], -}; - -/// Descriptor for `GetMappingSessionMetadataByIDResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMappingSessionMetadataByIDResponseDescriptor = $convert.base64Decode( - 'CiVHZXRNYXBwaW5nU2Vzc2lvbk1ldGFkYXRhQnlJRFJlc3BvbnNlElEKEHNlc3Npb25fbWV0YW' - 'RhdGEYASABKAsyJi52aWFtLmFwcC5jbG91ZHNsYW0udjEuTWFwcGluZ01ldGFkYXRhUg9zZXNz' - 'aW9uTWV0YWRhdGE='); - -@$core.Deprecated('Use mappingMetadataDescriptor instead') -const MappingMetadata$json = { - '1': 'MappingMetadata', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'location_id', '3': 2, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'robot_id', '3': 3, '4': 1, '5': 9, '10': 'robotId'}, - {'1': 'time_start_submitted', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeStartSubmitted'}, - {'1': 'time_cloud_run_job_started', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeCloudRunJobStarted'}, - {'1': 'time_end_submitted', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeEndSubmitted'}, - {'1': 'time_cloud_run_job_ended', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeCloudRunJobEnded'}, - {'1': 'end_status', '3': 8, '4': 1, '5': 14, '6': '.viam.app.cloudslam.v1.EndStatus', '10': 'endStatus'}, - {'1': 'cloud_run_job_id', '3': 9, '4': 1, '5': 9, '10': 'cloudRunJobId'}, - {'1': 'viam_server_version', '3': 10, '4': 1, '5': 9, '10': 'viamServerVersion'}, - {'1': 'map_name', '3': 11, '4': 1, '5': 9, '10': 'mapName'}, - {'1': 'slam_version', '3': 12, '4': 1, '5': 9, '10': 'slamVersion'}, - {'1': 'config', '3': 13, '4': 1, '5': 9, '10': 'config'}, - {'1': 'error_msg', '3': 14, '4': 1, '5': 9, '10': 'errorMsg'}, - ], -}; - -/// Descriptor for `MappingMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mappingMetadataDescriptor = $convert.base64Decode( - 'Cg9NYXBwaW5nTWV0YWRhdGESFQoGb3JnX2lkGAEgASgJUgVvcmdJZBIfCgtsb2NhdGlvbl9pZB' - 'gCIAEoCVIKbG9jYXRpb25JZBIZCghyb2JvdF9pZBgDIAEoCVIHcm9ib3RJZBJMChR0aW1lX3N0' - 'YXJ0X3N1Ym1pdHRlZBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSEnRpbWVTdG' - 'FydFN1Ym1pdHRlZBJWChp0aW1lX2Nsb3VkX3J1bl9qb2Jfc3RhcnRlZBgFIAEoCzIaLmdvb2ds' - 'ZS5wcm90b2J1Zi5UaW1lc3RhbXBSFnRpbWVDbG91ZFJ1bkpvYlN0YXJ0ZWQSSAoSdGltZV9lbm' - 'Rfc3VibWl0dGVkGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIQdGltZUVuZFN1' - 'Ym1pdHRlZBJSChh0aW1lX2Nsb3VkX3J1bl9qb2JfZW5kZWQYByABKAsyGi5nb29nbGUucHJvdG' - '9idWYuVGltZXN0YW1wUhR0aW1lQ2xvdWRSdW5Kb2JFbmRlZBI/CgplbmRfc3RhdHVzGAggASgO' - 'MiAudmlhbS5hcHAuY2xvdWRzbGFtLnYxLkVuZFN0YXR1c1IJZW5kU3RhdHVzEicKEGNsb3VkX3' - 'J1bl9qb2JfaWQYCSABKAlSDWNsb3VkUnVuSm9iSWQSLgoTdmlhbV9zZXJ2ZXJfdmVyc2lvbhgK' - 'IAEoCVIRdmlhbVNlcnZlclZlcnNpb24SGQoIbWFwX25hbWUYCyABKAlSB21hcE5hbWUSIQoMc2' - 'xhbV92ZXJzaW9uGAwgASgJUgtzbGFtVmVyc2lvbhIWCgZjb25maWcYDSABKAlSBmNvbmZpZxIb' - 'CgllcnJvcl9tc2cYDiABKAlSCGVycm9yTXNn'); - diff --git a/lib/src/gen/app/data/v1/data.pb.dart b/lib/src/gen/app/data/v1/data.pb.dart deleted file mode 100644 index 624c8aa937b..00000000000 --- a/lib/src/gen/app/data/v1/data.pb.dart +++ /dev/null @@ -1,4434 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/data/v1/data.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/any.pb.dart' as $48; -import '../../../google/protobuf/struct.pb.dart' as $46; -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import 'data.pbenum.dart'; - -export 'data.pbenum.dart'; - -/// DataRequest encapsulates the filter for the data, a limit on the maximum results returned, -/// a last string associated with the last returned document, and the sorting order by time. -/// last is returned in the responses TabularDataByFilterResponse and BinaryDataByFilterResponse -/// from the API calls TabularDataByFilter and BinaryDataByFilter, respectively. -/// We can then use the last string from the previous API calls in the subsequent request -/// to get the next set of ordered documents. -class DataRequest extends $pb.GeneratedMessage { - factory DataRequest({ - Filter? filter, - $fixnum.Int64? limit, - $core.String? last, - Order? sortOrder, - }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - if (limit != null) { - $result.limit = limit; - } - if (last != null) { - $result.last = last; - } - if (sortOrder != null) { - $result.sortOrder = sortOrder; - } - return $result; - } - DataRequest._() : super(); - factory DataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'filter', subBuilder: Filter.create) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'limit', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS(3, _omitFieldNames ? '' : 'last') - ..e(4, _omitFieldNames ? '' : 'sortOrder', $pb.PbFieldType.OE, defaultOrMaker: Order.ORDER_UNSPECIFIED, valueOf: Order.valueOf, enumValues: Order.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DataRequest clone() => DataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DataRequest copyWith(void Function(DataRequest) updates) => super.copyWith((message) => updates(message as DataRequest)) as DataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DataRequest create() => DataRequest._(); - DataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DataRequest? _defaultInstance; - - @$pb.TagNumber(1) - Filter get filter => $_getN(0); - @$pb.TagNumber(1) - set filter(Filter v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFilter() => $_has(0); - @$pb.TagNumber(1) - void clearFilter() => clearField(1); - @$pb.TagNumber(1) - Filter ensureFilter() => $_ensure(0); - - @$pb.TagNumber(2) - $fixnum.Int64 get limit => $_getI64(1); - @$pb.TagNumber(2) - set limit($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasLimit() => $_has(1); - @$pb.TagNumber(2) - void clearLimit() => clearField(2); - - @$pb.TagNumber(3) - $core.String get last => $_getSZ(2); - @$pb.TagNumber(3) - set last($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLast() => $_has(2); - @$pb.TagNumber(3) - void clearLast() => clearField(3); - - @$pb.TagNumber(4) - Order get sortOrder => $_getN(3); - @$pb.TagNumber(4) - set sortOrder(Order v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasSortOrder() => $_has(3); - @$pb.TagNumber(4) - void clearSortOrder() => clearField(4); -} - -/// Filter defines the fields over which we can filter data using a logic AND. -/// For example, if component_type and robot_id are specified, only data from that `robot_id` of -/// type `component_type` is returned. However, we logical OR over the specified tags and bounding -/// box labels, such that if component_type, robot_id, tagA, tagB are specified, -/// we return data from that `robot_id` of type `component_type` with `tagA` or `tagB`. -class Filter extends $pb.GeneratedMessage { - factory Filter({ - $core.String? componentName, - $core.String? componentType, - $core.String? method, - $core.String? robotName, - $core.String? robotId, - $core.String? partName, - $core.String? partId, - $core.Iterable<$core.String>? locationIds, - $core.Iterable<$core.String>? organizationIds, - $core.Iterable<$core.String>? mimeType, - CaptureInterval? interval, - TagsFilter? tagsFilter, - $core.Iterable<$core.String>? bboxLabels, - $core.String? datasetId, - }) { - final $result = create(); - if (componentName != null) { - $result.componentName = componentName; - } - if (componentType != null) { - $result.componentType = componentType; - } - if (method != null) { - $result.method = method; - } - if (robotName != null) { - $result.robotName = robotName; - } - if (robotId != null) { - $result.robotId = robotId; - } - if (partName != null) { - $result.partName = partName; - } - if (partId != null) { - $result.partId = partId; - } - if (locationIds != null) { - $result.locationIds.addAll(locationIds); - } - if (organizationIds != null) { - $result.organizationIds.addAll(organizationIds); - } - if (mimeType != null) { - $result.mimeType.addAll(mimeType); - } - if (interval != null) { - $result.interval = interval; - } - if (tagsFilter != null) { - $result.tagsFilter = tagsFilter; - } - if (bboxLabels != null) { - $result.bboxLabels.addAll(bboxLabels); - } - if (datasetId != null) { - $result.datasetId = datasetId; - } - return $result; - } - Filter._() : super(); - factory Filter.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Filter.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Filter', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'componentName') - ..aOS(2, _omitFieldNames ? '' : 'componentType') - ..aOS(4, _omitFieldNames ? '' : 'method') - ..aOS(6, _omitFieldNames ? '' : 'robotName') - ..aOS(7, _omitFieldNames ? '' : 'robotId') - ..aOS(8, _omitFieldNames ? '' : 'partName') - ..aOS(9, _omitFieldNames ? '' : 'partId') - ..pPS(10, _omitFieldNames ? '' : 'locationIds') - ..pPS(11, _omitFieldNames ? '' : 'organizationIds') - ..pPS(12, _omitFieldNames ? '' : 'mimeType') - ..aOM(13, _omitFieldNames ? '' : 'interval', subBuilder: CaptureInterval.create) - ..aOM(14, _omitFieldNames ? '' : 'tagsFilter', subBuilder: TagsFilter.create) - ..pPS(15, _omitFieldNames ? '' : 'bboxLabels') - ..aOS(16, _omitFieldNames ? '' : 'datasetId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Filter clone() => Filter()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Filter copyWith(void Function(Filter) updates) => super.copyWith((message) => updates(message as Filter)) as Filter; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Filter create() => Filter._(); - Filter createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Filter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Filter? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get componentName => $_getSZ(0); - @$pb.TagNumber(1) - set componentName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasComponentName() => $_has(0); - @$pb.TagNumber(1) - void clearComponentName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get componentType => $_getSZ(1); - @$pb.TagNumber(2) - set componentType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasComponentType() => $_has(1); - @$pb.TagNumber(2) - void clearComponentType() => clearField(2); - - @$pb.TagNumber(4) - $core.String get method => $_getSZ(2); - @$pb.TagNumber(4) - set method($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasMethod() => $_has(2); - @$pb.TagNumber(4) - void clearMethod() => clearField(4); - - @$pb.TagNumber(6) - $core.String get robotName => $_getSZ(3); - @$pb.TagNumber(6) - set robotName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(6) - $core.bool hasRobotName() => $_has(3); - @$pb.TagNumber(6) - void clearRobotName() => clearField(6); - - @$pb.TagNumber(7) - $core.String get robotId => $_getSZ(4); - @$pb.TagNumber(7) - set robotId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(7) - $core.bool hasRobotId() => $_has(4); - @$pb.TagNumber(7) - void clearRobotId() => clearField(7); - - @$pb.TagNumber(8) - $core.String get partName => $_getSZ(5); - @$pb.TagNumber(8) - set partName($core.String v) { $_setString(5, v); } - @$pb.TagNumber(8) - $core.bool hasPartName() => $_has(5); - @$pb.TagNumber(8) - void clearPartName() => clearField(8); - - @$pb.TagNumber(9) - $core.String get partId => $_getSZ(6); - @$pb.TagNumber(9) - set partId($core.String v) { $_setString(6, v); } - @$pb.TagNumber(9) - $core.bool hasPartId() => $_has(6); - @$pb.TagNumber(9) - void clearPartId() => clearField(9); - - @$pb.TagNumber(10) - $core.List<$core.String> get locationIds => $_getList(7); - - @$pb.TagNumber(11) - $core.List<$core.String> get organizationIds => $_getList(8); - - @$pb.TagNumber(12) - $core.List<$core.String> get mimeType => $_getList(9); - - @$pb.TagNumber(13) - CaptureInterval get interval => $_getN(10); - @$pb.TagNumber(13) - set interval(CaptureInterval v) { setField(13, v); } - @$pb.TagNumber(13) - $core.bool hasInterval() => $_has(10); - @$pb.TagNumber(13) - void clearInterval() => clearField(13); - @$pb.TagNumber(13) - CaptureInterval ensureInterval() => $_ensure(10); - - @$pb.TagNumber(14) - TagsFilter get tagsFilter => $_getN(11); - @$pb.TagNumber(14) - set tagsFilter(TagsFilter v) { setField(14, v); } - @$pb.TagNumber(14) - $core.bool hasTagsFilter() => $_has(11); - @$pb.TagNumber(14) - void clearTagsFilter() => clearField(14); - @$pb.TagNumber(14) - TagsFilter ensureTagsFilter() => $_ensure(11); - - /// bbox_labels are used to match documents with the specified bounding box labels (using logical OR). - @$pb.TagNumber(15) - $core.List<$core.String> get bboxLabels => $_getList(12); - - @$pb.TagNumber(16) - $core.String get datasetId => $_getSZ(13); - @$pb.TagNumber(16) - set datasetId($core.String v) { $_setString(13, v); } - @$pb.TagNumber(16) - $core.bool hasDatasetId() => $_has(13); - @$pb.TagNumber(16) - void clearDatasetId() => clearField(16); -} - -/// TagsFilter defines the type of filtering and, if applicable, over which tags to perform a logical OR. -class TagsFilter extends $pb.GeneratedMessage { - factory TagsFilter({ - TagsFilterType? type, - $core.Iterable<$core.String>? tags, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - TagsFilter._() : super(); - factory TagsFilter.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TagsFilter.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TagsFilter', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: TagsFilterType.TAGS_FILTER_TYPE_UNSPECIFIED, valueOf: TagsFilterType.valueOf, enumValues: TagsFilterType.values) - ..pPS(2, _omitFieldNames ? '' : 'tags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TagsFilter clone() => TagsFilter()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TagsFilter copyWith(void Function(TagsFilter) updates) => super.copyWith((message) => updates(message as TagsFilter)) as TagsFilter; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TagsFilter create() => TagsFilter._(); - TagsFilter createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TagsFilter getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TagsFilter? _defaultInstance; - - @$pb.TagNumber(1) - TagsFilterType get type => $_getN(0); - @$pb.TagNumber(1) - set type(TagsFilterType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// Tags are used to match documents if `type` is UNSPECIFIED or MATCH_BY_OR. - @$pb.TagNumber(2) - $core.List<$core.String> get tags => $_getList(1); -} - -/// CaptureMetadata contains information on the settings used for the data capture. -class CaptureMetadata extends $pb.GeneratedMessage { - factory CaptureMetadata({ - $core.String? organizationId, - $core.String? locationId, - $core.String? robotName, - $core.String? robotId, - $core.String? partName, - $core.String? partId, - $core.String? componentType, - $core.String? componentName, - $core.String? methodName, - $core.Map<$core.String, $48.Any>? methodParameters, - $core.Iterable<$core.String>? tags, - $core.String? mimeType, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (robotName != null) { - $result.robotName = robotName; - } - if (robotId != null) { - $result.robotId = robotId; - } - if (partName != null) { - $result.partName = partName; - } - if (partId != null) { - $result.partId = partId; - } - if (componentType != null) { - $result.componentType = componentType; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (methodName != null) { - $result.methodName = methodName; - } - if (methodParameters != null) { - $result.methodParameters.addAll(methodParameters); - } - if (tags != null) { - $result.tags.addAll(tags); - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - return $result; - } - CaptureMetadata._() : super(); - factory CaptureMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CaptureMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'locationId') - ..aOS(3, _omitFieldNames ? '' : 'robotName') - ..aOS(4, _omitFieldNames ? '' : 'robotId') - ..aOS(5, _omitFieldNames ? '' : 'partName') - ..aOS(6, _omitFieldNames ? '' : 'partId') - ..aOS(7, _omitFieldNames ? '' : 'componentType') - ..aOS(9, _omitFieldNames ? '' : 'componentName') - ..aOS(10, _omitFieldNames ? '' : 'methodName') - ..m<$core.String, $48.Any>(11, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'CaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $48.Any.create, valueDefaultOrMaker: $48.Any.getDefault, packageName: const $pb.PackageName('viam.app.data.v1')) - ..pPS(12, _omitFieldNames ? '' : 'tags') - ..aOS(13, _omitFieldNames ? '' : 'mimeType') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CaptureMetadata clone() => CaptureMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CaptureMetadata copyWith(void Function(CaptureMetadata) updates) => super.copyWith((message) => updates(message as CaptureMetadata)) as CaptureMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CaptureMetadata create() => CaptureMetadata._(); - CaptureMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CaptureMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CaptureMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get locationId => $_getSZ(1); - @$pb.TagNumber(2) - set locationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLocationId() => $_has(1); - @$pb.TagNumber(2) - void clearLocationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get robotName => $_getSZ(2); - @$pb.TagNumber(3) - set robotName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasRobotName() => $_has(2); - @$pb.TagNumber(3) - void clearRobotName() => clearField(3); - - @$pb.TagNumber(4) - $core.String get robotId => $_getSZ(3); - @$pb.TagNumber(4) - set robotId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasRobotId() => $_has(3); - @$pb.TagNumber(4) - void clearRobotId() => clearField(4); - - @$pb.TagNumber(5) - $core.String get partName => $_getSZ(4); - @$pb.TagNumber(5) - set partName($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasPartName() => $_has(4); - @$pb.TagNumber(5) - void clearPartName() => clearField(5); - - @$pb.TagNumber(6) - $core.String get partId => $_getSZ(5); - @$pb.TagNumber(6) - set partId($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasPartId() => $_has(5); - @$pb.TagNumber(6) - void clearPartId() => clearField(6); - - @$pb.TagNumber(7) - $core.String get componentType => $_getSZ(6); - @$pb.TagNumber(7) - set componentType($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasComponentType() => $_has(6); - @$pb.TagNumber(7) - void clearComponentType() => clearField(7); - - @$pb.TagNumber(9) - $core.String get componentName => $_getSZ(7); - @$pb.TagNumber(9) - set componentName($core.String v) { $_setString(7, v); } - @$pb.TagNumber(9) - $core.bool hasComponentName() => $_has(7); - @$pb.TagNumber(9) - void clearComponentName() => clearField(9); - - @$pb.TagNumber(10) - $core.String get methodName => $_getSZ(8); - @$pb.TagNumber(10) - set methodName($core.String v) { $_setString(8, v); } - @$pb.TagNumber(10) - $core.bool hasMethodName() => $_has(8); - @$pb.TagNumber(10) - void clearMethodName() => clearField(10); - - @$pb.TagNumber(11) - $core.Map<$core.String, $48.Any> get methodParameters => $_getMap(9); - - @$pb.TagNumber(12) - $core.List<$core.String> get tags => $_getList(10); - - @$pb.TagNumber(13) - $core.String get mimeType => $_getSZ(11); - @$pb.TagNumber(13) - set mimeType($core.String v) { $_setString(11, v); } - @$pb.TagNumber(13) - $core.bool hasMimeType() => $_has(11); - @$pb.TagNumber(13) - void clearMimeType() => clearField(13); -} - -/// CaptureInterval describes the start and end time of the capture in this file. -class CaptureInterval extends $pb.GeneratedMessage { - factory CaptureInterval({ - $47.Timestamp? start, - $47.Timestamp? end, - }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - return $result; - } - CaptureInterval._() : super(); - factory CaptureInterval.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CaptureInterval.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureInterval', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CaptureInterval clone() => CaptureInterval()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CaptureInterval copyWith(void Function(CaptureInterval) updates) => super.copyWith((message) => updates(message as CaptureInterval)) as CaptureInterval; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CaptureInterval create() => CaptureInterval._(); - CaptureInterval createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CaptureInterval getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CaptureInterval? _defaultInstance; - - @$pb.TagNumber(1) - $47.Timestamp get start => $_getN(0); - @$pb.TagNumber(1) - set start($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStart() => $_has(0); - @$pb.TagNumber(1) - void clearStart() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureStart() => $_ensure(0); - - @$pb.TagNumber(2) - $47.Timestamp get end => $_getN(1); - @$pb.TagNumber(2) - set end($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEnd() => $_has(1); - @$pb.TagNumber(2) - void clearEnd() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureEnd() => $_ensure(1); -} - -/// TabularDataByFilterRequest requests tabular data based on filter values. -class TabularDataByFilterRequest extends $pb.GeneratedMessage { - factory TabularDataByFilterRequest({ - DataRequest? dataRequest, - $core.bool? countOnly, - $core.bool? includeInternalData, - }) { - final $result = create(); - if (dataRequest != null) { - $result.dataRequest = dataRequest; - } - if (countOnly != null) { - $result.countOnly = countOnly; - } - if (includeInternalData != null) { - $result.includeInternalData = includeInternalData; - } - return $result; - } - TabularDataByFilterRequest._() : super(); - factory TabularDataByFilterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TabularDataByFilterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataByFilterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'dataRequest', subBuilder: DataRequest.create) - ..aOB(2, _omitFieldNames ? '' : 'countOnly') - ..aOB(3, _omitFieldNames ? '' : 'includeInternalData') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TabularDataByFilterRequest clone() => TabularDataByFilterRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TabularDataByFilterRequest copyWith(void Function(TabularDataByFilterRequest) updates) => super.copyWith((message) => updates(message as TabularDataByFilterRequest)) as TabularDataByFilterRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TabularDataByFilterRequest create() => TabularDataByFilterRequest._(); - TabularDataByFilterRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TabularDataByFilterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TabularDataByFilterRequest? _defaultInstance; - - @$pb.TagNumber(1) - DataRequest get dataRequest => $_getN(0); - @$pb.TagNumber(1) - set dataRequest(DataRequest v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasDataRequest() => $_has(0); - @$pb.TagNumber(1) - void clearDataRequest() => clearField(1); - @$pb.TagNumber(1) - DataRequest ensureDataRequest() => $_ensure(0); - - @$pb.TagNumber(2) - $core.bool get countOnly => $_getBF(1); - @$pb.TagNumber(2) - set countOnly($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasCountOnly() => $_has(1); - @$pb.TagNumber(2) - void clearCountOnly() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get includeInternalData => $_getBF(2); - @$pb.TagNumber(3) - set includeInternalData($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIncludeInternalData() => $_has(2); - @$pb.TagNumber(3) - void clearIncludeInternalData() => clearField(3); -} - -/// TabularDataByFilterResponse provides the data and metadata of tabular data. -class TabularDataByFilterResponse extends $pb.GeneratedMessage { - factory TabularDataByFilterResponse({ - $core.Iterable? metadata, - $core.Iterable? data, - $fixnum.Int64? count, - $core.String? last, - $fixnum.Int64? totalSizeBytes, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata.addAll(metadata); - } - if (data != null) { - $result.data.addAll(data); - } - if (count != null) { - $result.count = count; - } - if (last != null) { - $result.last = last; - } - if (totalSizeBytes != null) { - $result.totalSizeBytes = totalSizeBytes; - } - return $result; - } - TabularDataByFilterResponse._() : super(); - factory TabularDataByFilterResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TabularDataByFilterResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataByFilterResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'metadata', $pb.PbFieldType.PM, subBuilder: CaptureMetadata.create) - ..pc(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: TabularData.create) - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'count', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS(4, _omitFieldNames ? '' : 'last') - ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'totalSizeBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TabularDataByFilterResponse clone() => TabularDataByFilterResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TabularDataByFilterResponse copyWith(void Function(TabularDataByFilterResponse) updates) => super.copyWith((message) => updates(message as TabularDataByFilterResponse)) as TabularDataByFilterResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TabularDataByFilterResponse create() => TabularDataByFilterResponse._(); - TabularDataByFilterResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TabularDataByFilterResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TabularDataByFilterResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get metadata => $_getList(0); - - @$pb.TagNumber(2) - $core.List get data => $_getList(1); - - @$pb.TagNumber(3) - $fixnum.Int64 get count => $_getI64(2); - @$pb.TagNumber(3) - set count($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasCount() => $_has(2); - @$pb.TagNumber(3) - void clearCount() => clearField(3); - - @$pb.TagNumber(4) - $core.String get last => $_getSZ(3); - @$pb.TagNumber(4) - set last($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasLast() => $_has(3); - @$pb.TagNumber(4) - void clearLast() => clearField(4); - - @$pb.TagNumber(5) - $fixnum.Int64 get totalSizeBytes => $_getI64(4); - @$pb.TagNumber(5) - set totalSizeBytes($fixnum.Int64 v) { $_setInt64(4, v); } - @$pb.TagNumber(5) - $core.bool hasTotalSizeBytes() => $_has(4); - @$pb.TagNumber(5) - void clearTotalSizeBytes() => clearField(5); -} - -/// TabularData contains data and metadata associated with tabular data. -class TabularData extends $pb.GeneratedMessage { - factory TabularData({ - $46.Struct? data, - $core.int? metadataIndex, - $47.Timestamp? timeRequested, - $47.Timestamp? timeReceived, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - if (metadataIndex != null) { - $result.metadataIndex = metadataIndex; - } - if (timeRequested != null) { - $result.timeRequested = timeRequested; - } - if (timeReceived != null) { - $result.timeReceived = timeReceived; - } - return $result; - } - TabularData._() : super(); - factory TabularData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TabularData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularData', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM<$46.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..a<$core.int>(2, _omitFieldNames ? '' : 'metadataIndex', $pb.PbFieldType.OU3) - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TabularData clone() => TabularData()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TabularData copyWith(void Function(TabularData) updates) => super.copyWith((message) => updates(message as TabularData)) as TabularData; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TabularData create() => TabularData._(); - TabularData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TabularData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TabularData? _defaultInstance; - - @$pb.TagNumber(1) - $46.Struct get data => $_getN(0); - @$pb.TagNumber(1) - set data($46.Struct v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); - @$pb.TagNumber(1) - $46.Struct ensureData() => $_ensure(0); - - @$pb.TagNumber(2) - $core.int get metadataIndex => $_getIZ(1); - @$pb.TagNumber(2) - set metadataIndex($core.int v) { $_setUnsignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasMetadataIndex() => $_has(1); - @$pb.TagNumber(2) - void clearMetadataIndex() => clearField(2); - - @$pb.TagNumber(3) - $47.Timestamp get timeRequested => $_getN(2); - @$pb.TagNumber(3) - set timeRequested($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasTimeRequested() => $_has(2); - @$pb.TagNumber(3) - void clearTimeRequested() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureTimeRequested() => $_ensure(2); - - @$pb.TagNumber(4) - $47.Timestamp get timeReceived => $_getN(3); - @$pb.TagNumber(4) - set timeReceived($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasTimeReceived() => $_has(3); - @$pb.TagNumber(4) - void clearTimeReceived() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureTimeReceived() => $_ensure(3); -} - -/// TabularDataBySQLRequest requests tabular data using a SQL query. -class TabularDataBySQLRequest extends $pb.GeneratedMessage { - factory TabularDataBySQLRequest({ - $core.String? organizationId, - $core.String? sqlQuery, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (sqlQuery != null) { - $result.sqlQuery = sqlQuery; - } - return $result; - } - TabularDataBySQLRequest._() : super(); - factory TabularDataBySQLRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TabularDataBySQLRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataBySQLRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'sqlQuery') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TabularDataBySQLRequest clone() => TabularDataBySQLRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TabularDataBySQLRequest copyWith(void Function(TabularDataBySQLRequest) updates) => super.copyWith((message) => updates(message as TabularDataBySQLRequest)) as TabularDataBySQLRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TabularDataBySQLRequest create() => TabularDataBySQLRequest._(); - TabularDataBySQLRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TabularDataBySQLRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TabularDataBySQLRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - /// sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database - /// called "sensorData" and a table called readings, so queries should select from "readings" - /// or "sensorData.readings". - @$pb.TagNumber(2) - $core.String get sqlQuery => $_getSZ(1); - @$pb.TagNumber(2) - set sqlQuery($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSqlQuery() => $_has(1); - @$pb.TagNumber(2) - void clearSqlQuery() => clearField(2); -} - -/// TabularDataBySQLResponse provides unified tabular data and metadata, queried with SQL. -class TabularDataBySQLResponse extends $pb.GeneratedMessage { - factory TabularDataBySQLResponse({ - $core.Iterable<$core.List<$core.int>>? rawData, - }) { - final $result = create(); - if (rawData != null) { - $result.rawData.addAll(rawData); - } - return $result; - } - TabularDataBySQLResponse._() : super(); - factory TabularDataBySQLResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TabularDataBySQLResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataBySQLResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'rawData', $pb.PbFieldType.PY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TabularDataBySQLResponse clone() => TabularDataBySQLResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TabularDataBySQLResponse copyWith(void Function(TabularDataBySQLResponse) updates) => super.copyWith((message) => updates(message as TabularDataBySQLResponse)) as TabularDataBySQLResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TabularDataBySQLResponse create() => TabularDataBySQLResponse._(); - TabularDataBySQLResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TabularDataBySQLResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TabularDataBySQLResponse? _defaultInstance; - - @$pb.TagNumber(2) - $core.List<$core.List<$core.int>> get rawData => $_getList(0); -} - -/// TabularDataByMQLRequest requests tabular data using an MQL query. -class TabularDataByMQLRequest extends $pb.GeneratedMessage { - factory TabularDataByMQLRequest({ - $core.String? organizationId, - $core.Iterable<$core.List<$core.int>>? mqlBinary, - $core.bool? useRecentData, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (mqlBinary != null) { - $result.mqlBinary.addAll(mqlBinary); - } - if (useRecentData != null) { - $result.useRecentData = useRecentData; - } - return $result; - } - TabularDataByMQLRequest._() : super(); - factory TabularDataByMQLRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TabularDataByMQLRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataByMQLRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..p<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'mqlBinary', $pb.PbFieldType.PY) - ..aOB(4, _omitFieldNames ? '' : 'useRecentData') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TabularDataByMQLRequest clone() => TabularDataByMQLRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TabularDataByMQLRequest copyWith(void Function(TabularDataByMQLRequest) updates) => super.copyWith((message) => updates(message as TabularDataByMQLRequest)) as TabularDataByMQLRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TabularDataByMQLRequest create() => TabularDataByMQLRequest._(); - TabularDataByMQLRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TabularDataByMQLRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TabularDataByMQLRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - /// mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each - /// document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" - /// namespace, which holds the Viam organization's tabular data. - @$pb.TagNumber(3) - $core.List<$core.List<$core.int>> get mqlBinary => $_getList(1); - - @$pb.TagNumber(4) - $core.bool get useRecentData => $_getBF(2); - @$pb.TagNumber(4) - set useRecentData($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(4) - $core.bool hasUseRecentData() => $_has(2); - @$pb.TagNumber(4) - void clearUseRecentData() => clearField(4); -} - -/// TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL. -class TabularDataByMQLResponse extends $pb.GeneratedMessage { - factory TabularDataByMQLResponse({ - $core.Iterable<$core.List<$core.int>>? rawData, - }) { - final $result = create(); - if (rawData != null) { - $result.rawData.addAll(rawData); - } - return $result; - } - TabularDataByMQLResponse._() : super(); - factory TabularDataByMQLResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TabularDataByMQLResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataByMQLResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'rawData', $pb.PbFieldType.PY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TabularDataByMQLResponse clone() => TabularDataByMQLResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TabularDataByMQLResponse copyWith(void Function(TabularDataByMQLResponse) updates) => super.copyWith((message) => updates(message as TabularDataByMQLResponse)) as TabularDataByMQLResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TabularDataByMQLResponse create() => TabularDataByMQLResponse._(); - TabularDataByMQLResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TabularDataByMQLResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TabularDataByMQLResponse? _defaultInstance; - - @$pb.TagNumber(2) - $core.List<$core.List<$core.int>> get rawData => $_getList(0); -} - -/// ExportTabularDataRequest requests tabular data from the specified data source. -class ExportTabularDataRequest extends $pb.GeneratedMessage { - factory ExportTabularDataRequest({ - $core.String? partId, - $core.String? resourceName, - $core.String? resourceSubtype, - $core.String? methodName, - CaptureInterval? interval, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - if (resourceName != null) { - $result.resourceName = resourceName; - } - if (resourceSubtype != null) { - $result.resourceSubtype = resourceSubtype; - } - if (methodName != null) { - $result.methodName = methodName; - } - if (interval != null) { - $result.interval = interval; - } - return $result; - } - ExportTabularDataRequest._() : super(); - factory ExportTabularDataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExportTabularDataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExportTabularDataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..aOS(2, _omitFieldNames ? '' : 'resourceName') - ..aOS(3, _omitFieldNames ? '' : 'resourceSubtype') - ..aOS(4, _omitFieldNames ? '' : 'methodName') - ..aOM(5, _omitFieldNames ? '' : 'interval', subBuilder: CaptureInterval.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExportTabularDataRequest clone() => ExportTabularDataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExportTabularDataRequest copyWith(void Function(ExportTabularDataRequest) updates) => super.copyWith((message) => updates(message as ExportTabularDataRequest)) as ExportTabularDataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExportTabularDataRequest create() => ExportTabularDataRequest._(); - ExportTabularDataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExportTabularDataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExportTabularDataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get resourceName => $_getSZ(1); - @$pb.TagNumber(2) - set resourceName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasResourceName() => $_has(1); - @$pb.TagNumber(2) - void clearResourceName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get resourceSubtype => $_getSZ(2); - @$pb.TagNumber(3) - set resourceSubtype($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasResourceSubtype() => $_has(2); - @$pb.TagNumber(3) - void clearResourceSubtype() => clearField(3); - - @$pb.TagNumber(4) - $core.String get methodName => $_getSZ(3); - @$pb.TagNumber(4) - set methodName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasMethodName() => $_has(3); - @$pb.TagNumber(4) - void clearMethodName() => clearField(4); - - @$pb.TagNumber(5) - CaptureInterval get interval => $_getN(4); - @$pb.TagNumber(5) - set interval(CaptureInterval v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasInterval() => $_has(4); - @$pb.TagNumber(5) - void clearInterval() => clearField(5); - @$pb.TagNumber(5) - CaptureInterval ensureInterval() => $_ensure(4); -} - -/// ExportTabularDataResponse provides unified tabular data and metadata for a single data point from the specified data source. -class ExportTabularDataResponse extends $pb.GeneratedMessage { - factory ExportTabularDataResponse({ - $core.String? partId, - $core.String? resourceName, - $core.String? resourceSubtype, - $core.String? methodName, - $47.Timestamp? timeCaptured, - $core.String? organizationId, - $core.String? locationId, - $core.String? robotName, - $core.String? robotId, - $core.String? partName, - $46.Struct? methodParameters, - $core.Iterable<$core.String>? tags, - $46.Struct? payload, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - if (resourceName != null) { - $result.resourceName = resourceName; - } - if (resourceSubtype != null) { - $result.resourceSubtype = resourceSubtype; - } - if (methodName != null) { - $result.methodName = methodName; - } - if (timeCaptured != null) { - $result.timeCaptured = timeCaptured; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (robotName != null) { - $result.robotName = robotName; - } - if (robotId != null) { - $result.robotId = robotId; - } - if (partName != null) { - $result.partName = partName; - } - if (methodParameters != null) { - $result.methodParameters = methodParameters; - } - if (tags != null) { - $result.tags.addAll(tags); - } - if (payload != null) { - $result.payload = payload; - } - return $result; - } - ExportTabularDataResponse._() : super(); - factory ExportTabularDataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExportTabularDataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExportTabularDataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..aOS(2, _omitFieldNames ? '' : 'resourceName') - ..aOS(3, _omitFieldNames ? '' : 'resourceSubtype') - ..aOS(4, _omitFieldNames ? '' : 'methodName') - ..aOM<$47.Timestamp>(5, _omitFieldNames ? '' : 'timeCaptured', subBuilder: $47.Timestamp.create) - ..aOS(6, _omitFieldNames ? '' : 'organizationId') - ..aOS(7, _omitFieldNames ? '' : 'locationId') - ..aOS(8, _omitFieldNames ? '' : 'robotName') - ..aOS(9, _omitFieldNames ? '' : 'robotId') - ..aOS(10, _omitFieldNames ? '' : 'partName') - ..aOM<$46.Struct>(11, _omitFieldNames ? '' : 'methodParameters', subBuilder: $46.Struct.create) - ..pPS(12, _omitFieldNames ? '' : 'tags') - ..aOM<$46.Struct>(13, _omitFieldNames ? '' : 'payload', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExportTabularDataResponse clone() => ExportTabularDataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExportTabularDataResponse copyWith(void Function(ExportTabularDataResponse) updates) => super.copyWith((message) => updates(message as ExportTabularDataResponse)) as ExportTabularDataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExportTabularDataResponse create() => ExportTabularDataResponse._(); - ExportTabularDataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExportTabularDataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExportTabularDataResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get resourceName => $_getSZ(1); - @$pb.TagNumber(2) - set resourceName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasResourceName() => $_has(1); - @$pb.TagNumber(2) - void clearResourceName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get resourceSubtype => $_getSZ(2); - @$pb.TagNumber(3) - set resourceSubtype($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasResourceSubtype() => $_has(2); - @$pb.TagNumber(3) - void clearResourceSubtype() => clearField(3); - - @$pb.TagNumber(4) - $core.String get methodName => $_getSZ(3); - @$pb.TagNumber(4) - set methodName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasMethodName() => $_has(3); - @$pb.TagNumber(4) - void clearMethodName() => clearField(4); - - @$pb.TagNumber(5) - $47.Timestamp get timeCaptured => $_getN(4); - @$pb.TagNumber(5) - set timeCaptured($47.Timestamp v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasTimeCaptured() => $_has(4); - @$pb.TagNumber(5) - void clearTimeCaptured() => clearField(5); - @$pb.TagNumber(5) - $47.Timestamp ensureTimeCaptured() => $_ensure(4); - - @$pb.TagNumber(6) - $core.String get organizationId => $_getSZ(5); - @$pb.TagNumber(6) - set organizationId($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasOrganizationId() => $_has(5); - @$pb.TagNumber(6) - void clearOrganizationId() => clearField(6); - - @$pb.TagNumber(7) - $core.String get locationId => $_getSZ(6); - @$pb.TagNumber(7) - set locationId($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasLocationId() => $_has(6); - @$pb.TagNumber(7) - void clearLocationId() => clearField(7); - - @$pb.TagNumber(8) - $core.String get robotName => $_getSZ(7); - @$pb.TagNumber(8) - set robotName($core.String v) { $_setString(7, v); } - @$pb.TagNumber(8) - $core.bool hasRobotName() => $_has(7); - @$pb.TagNumber(8) - void clearRobotName() => clearField(8); - - @$pb.TagNumber(9) - $core.String get robotId => $_getSZ(8); - @$pb.TagNumber(9) - set robotId($core.String v) { $_setString(8, v); } - @$pb.TagNumber(9) - $core.bool hasRobotId() => $_has(8); - @$pb.TagNumber(9) - void clearRobotId() => clearField(9); - - @$pb.TagNumber(10) - $core.String get partName => $_getSZ(9); - @$pb.TagNumber(10) - set partName($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasPartName() => $_has(9); - @$pb.TagNumber(10) - void clearPartName() => clearField(10); - - @$pb.TagNumber(11) - $46.Struct get methodParameters => $_getN(10); - @$pb.TagNumber(11) - set methodParameters($46.Struct v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasMethodParameters() => $_has(10); - @$pb.TagNumber(11) - void clearMethodParameters() => clearField(11); - @$pb.TagNumber(11) - $46.Struct ensureMethodParameters() => $_ensure(10); - - @$pb.TagNumber(12) - $core.List<$core.String> get tags => $_getList(11); - - @$pb.TagNumber(13) - $46.Struct get payload => $_getN(12); - @$pb.TagNumber(13) - set payload($46.Struct v) { setField(13, v); } - @$pb.TagNumber(13) - $core.bool hasPayload() => $_has(12); - @$pb.TagNumber(13) - void clearPayload() => clearField(13); - @$pb.TagNumber(13) - $46.Struct ensurePayload() => $_ensure(12); -} - -/// GetLatestTabularDataRequest requests the most recent tabular data captured from the specified data source. -class GetLatestTabularDataRequest extends $pb.GeneratedMessage { - factory GetLatestTabularDataRequest({ - $core.String? partId, - $core.String? resourceName, - $core.String? methodName, - $core.String? resourceSubtype, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - if (resourceName != null) { - $result.resourceName = resourceName; - } - if (methodName != null) { - $result.methodName = methodName; - } - if (resourceSubtype != null) { - $result.resourceSubtype = resourceSubtype; - } - return $result; - } - GetLatestTabularDataRequest._() : super(); - factory GetLatestTabularDataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLatestTabularDataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLatestTabularDataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..aOS(2, _omitFieldNames ? '' : 'resourceName') - ..aOS(3, _omitFieldNames ? '' : 'methodName') - ..aOS(4, _omitFieldNames ? '' : 'resourceSubtype') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLatestTabularDataRequest clone() => GetLatestTabularDataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLatestTabularDataRequest copyWith(void Function(GetLatestTabularDataRequest) updates) => super.copyWith((message) => updates(message as GetLatestTabularDataRequest)) as GetLatestTabularDataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLatestTabularDataRequest create() => GetLatestTabularDataRequest._(); - GetLatestTabularDataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLatestTabularDataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLatestTabularDataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get resourceName => $_getSZ(1); - @$pb.TagNumber(2) - set resourceName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasResourceName() => $_has(1); - @$pb.TagNumber(2) - void clearResourceName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get methodName => $_getSZ(2); - @$pb.TagNumber(3) - set methodName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasMethodName() => $_has(2); - @$pb.TagNumber(3) - void clearMethodName() => clearField(3); - - @$pb.TagNumber(4) - $core.String get resourceSubtype => $_getSZ(3); - @$pb.TagNumber(4) - set resourceSubtype($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasResourceSubtype() => $_has(3); - @$pb.TagNumber(4) - void clearResourceSubtype() => clearField(4); -} - -/// GetLatestTabularDataResponse provides the data, time synced, and time captured of the most recent tabular data captured -/// from the requested data source, as long as it was synced within the last year. -class GetLatestTabularDataResponse extends $pb.GeneratedMessage { - factory GetLatestTabularDataResponse({ - $47.Timestamp? timeCaptured, - $47.Timestamp? timeSynced, - $46.Struct? payload, - }) { - final $result = create(); - if (timeCaptured != null) { - $result.timeCaptured = timeCaptured; - } - if (timeSynced != null) { - $result.timeSynced = timeSynced; - } - if (payload != null) { - $result.payload = payload; - } - return $result; - } - GetLatestTabularDataResponse._() : super(); - factory GetLatestTabularDataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLatestTabularDataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLatestTabularDataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'timeCaptured', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'timeSynced', subBuilder: $47.Timestamp.create) - ..aOM<$46.Struct>(3, _omitFieldNames ? '' : 'payload', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLatestTabularDataResponse clone() => GetLatestTabularDataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLatestTabularDataResponse copyWith(void Function(GetLatestTabularDataResponse) updates) => super.copyWith((message) => updates(message as GetLatestTabularDataResponse)) as GetLatestTabularDataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLatestTabularDataResponse create() => GetLatestTabularDataResponse._(); - GetLatestTabularDataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLatestTabularDataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLatestTabularDataResponse? _defaultInstance; - - @$pb.TagNumber(1) - $47.Timestamp get timeCaptured => $_getN(0); - @$pb.TagNumber(1) - set timeCaptured($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasTimeCaptured() => $_has(0); - @$pb.TagNumber(1) - void clearTimeCaptured() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureTimeCaptured() => $_ensure(0); - - @$pb.TagNumber(2) - $47.Timestamp get timeSynced => $_getN(1); - @$pb.TagNumber(2) - set timeSynced($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasTimeSynced() => $_has(1); - @$pb.TagNumber(2) - void clearTimeSynced() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureTimeSynced() => $_ensure(1); - - @$pb.TagNumber(3) - $46.Struct get payload => $_getN(2); - @$pb.TagNumber(3) - set payload($46.Struct v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasPayload() => $_has(2); - @$pb.TagNumber(3) - void clearPayload() => clearField(3); - @$pb.TagNumber(3) - $46.Struct ensurePayload() => $_ensure(2); -} - -/// BinaryData contains data and metadata associated with binary data. -class BinaryData extends $pb.GeneratedMessage { - factory BinaryData({ - $core.List<$core.int>? binary, - BinaryMetadata? metadata, - }) { - final $result = create(); - if (binary != null) { - $result.binary = binary; - } - if (metadata != null) { - $result.metadata = metadata; - } - return $result; - } - BinaryData._() : super(); - factory BinaryData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BinaryData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryData', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'binary', $pb.PbFieldType.OY) - ..aOM(2, _omitFieldNames ? '' : 'metadata', subBuilder: BinaryMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BinaryData clone() => BinaryData()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BinaryData copyWith(void Function(BinaryData) updates) => super.copyWith((message) => updates(message as BinaryData)) as BinaryData; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BinaryData create() => BinaryData._(); - BinaryData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BinaryData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BinaryData? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get binary => $_getN(0); - @$pb.TagNumber(1) - set binary($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasBinary() => $_has(0); - @$pb.TagNumber(1) - void clearBinary() => clearField(1); - - @$pb.TagNumber(2) - BinaryMetadata get metadata => $_getN(1); - @$pb.TagNumber(2) - set metadata(BinaryMetadata v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasMetadata() => $_has(1); - @$pb.TagNumber(2) - void clearMetadata() => clearField(2); - @$pb.TagNumber(2) - BinaryMetadata ensureMetadata() => $_ensure(1); -} - -/// BinaryDataByFilterRequest requests the data and metadata of binary (image + file) data when a filter is provided. -class BinaryDataByFilterRequest extends $pb.GeneratedMessage { - factory BinaryDataByFilterRequest({ - DataRequest? dataRequest, - $core.bool? includeBinary, - $core.bool? countOnly, - $core.bool? includeInternalData, - }) { - final $result = create(); - if (dataRequest != null) { - $result.dataRequest = dataRequest; - } - if (includeBinary != null) { - $result.includeBinary = includeBinary; - } - if (countOnly != null) { - $result.countOnly = countOnly; - } - if (includeInternalData != null) { - $result.includeInternalData = includeInternalData; - } - return $result; - } - BinaryDataByFilterRequest._() : super(); - factory BinaryDataByFilterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BinaryDataByFilterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryDataByFilterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'dataRequest', subBuilder: DataRequest.create) - ..aOB(2, _omitFieldNames ? '' : 'includeBinary') - ..aOB(3, _omitFieldNames ? '' : 'countOnly') - ..aOB(4, _omitFieldNames ? '' : 'includeInternalData') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BinaryDataByFilterRequest clone() => BinaryDataByFilterRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BinaryDataByFilterRequest copyWith(void Function(BinaryDataByFilterRequest) updates) => super.copyWith((message) => updates(message as BinaryDataByFilterRequest)) as BinaryDataByFilterRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BinaryDataByFilterRequest create() => BinaryDataByFilterRequest._(); - BinaryDataByFilterRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BinaryDataByFilterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BinaryDataByFilterRequest? _defaultInstance; - - @$pb.TagNumber(1) - DataRequest get dataRequest => $_getN(0); - @$pb.TagNumber(1) - set dataRequest(DataRequest v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasDataRequest() => $_has(0); - @$pb.TagNumber(1) - void clearDataRequest() => clearField(1); - @$pb.TagNumber(1) - DataRequest ensureDataRequest() => $_ensure(0); - - @$pb.TagNumber(2) - $core.bool get includeBinary => $_getBF(1); - @$pb.TagNumber(2) - set includeBinary($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIncludeBinary() => $_has(1); - @$pb.TagNumber(2) - void clearIncludeBinary() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get countOnly => $_getBF(2); - @$pb.TagNumber(3) - set countOnly($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasCountOnly() => $_has(2); - @$pb.TagNumber(3) - void clearCountOnly() => clearField(3); - - @$pb.TagNumber(4) - $core.bool get includeInternalData => $_getBF(3); - @$pb.TagNumber(4) - set includeInternalData($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasIncludeInternalData() => $_has(3); - @$pb.TagNumber(4) - void clearIncludeInternalData() => clearField(4); -} - -/// BinaryDataByFilterResponse provides the data and metadata of binary (image + file) data when a filter is provided. -class BinaryDataByFilterResponse extends $pb.GeneratedMessage { - factory BinaryDataByFilterResponse({ - $core.Iterable? data, - $fixnum.Int64? count, - $core.String? last, - $fixnum.Int64? totalSizeBytes, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - if (count != null) { - $result.count = count; - } - if (last != null) { - $result.last = last; - } - if (totalSizeBytes != null) { - $result.totalSizeBytes = totalSizeBytes; - } - return $result; - } - BinaryDataByFilterResponse._() : super(); - factory BinaryDataByFilterResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BinaryDataByFilterResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryDataByFilterResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: BinaryData.create) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'count', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOS(3, _omitFieldNames ? '' : 'last') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'totalSizeBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BinaryDataByFilterResponse clone() => BinaryDataByFilterResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BinaryDataByFilterResponse copyWith(void Function(BinaryDataByFilterResponse) updates) => super.copyWith((message) => updates(message as BinaryDataByFilterResponse)) as BinaryDataByFilterResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BinaryDataByFilterResponse create() => BinaryDataByFilterResponse._(); - BinaryDataByFilterResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BinaryDataByFilterResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BinaryDataByFilterResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get data => $_getList(0); - - @$pb.TagNumber(2) - $fixnum.Int64 get count => $_getI64(1); - @$pb.TagNumber(2) - set count($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasCount() => $_has(1); - @$pb.TagNumber(2) - void clearCount() => clearField(2); - - @$pb.TagNumber(3) - $core.String get last => $_getSZ(2); - @$pb.TagNumber(3) - set last($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLast() => $_has(2); - @$pb.TagNumber(3) - void clearLast() => clearField(3); - - @$pb.TagNumber(4) - $fixnum.Int64 get totalSizeBytes => $_getI64(3); - @$pb.TagNumber(4) - set totalSizeBytes($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(4) - $core.bool hasTotalSizeBytes() => $_has(3); - @$pb.TagNumber(4) - void clearTotalSizeBytes() => clearField(4); -} - -/// BinaryID is the unique identifier for a file that one can request to be retrieved or modified. -class BinaryID extends $pb.GeneratedMessage { - factory BinaryID({ - $core.String? fileId, - $core.String? organizationId, - $core.String? locationId, - }) { - final $result = create(); - if (fileId != null) { - $result.fileId = fileId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - BinaryID._() : super(); - factory BinaryID.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BinaryID.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryID', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fileId') - ..aOS(2, _omitFieldNames ? '' : 'organizationId') - ..aOS(3, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BinaryID clone() => BinaryID()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BinaryID copyWith(void Function(BinaryID) updates) => super.copyWith((message) => updates(message as BinaryID)) as BinaryID; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BinaryID create() => BinaryID._(); - BinaryID createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BinaryID getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BinaryID? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fileId => $_getSZ(0); - @$pb.TagNumber(1) - set fileId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFileId() => $_has(0); - @$pb.TagNumber(1) - void clearFileId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get organizationId => $_getSZ(1); - @$pb.TagNumber(2) - set organizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrganizationId() => $_has(1); - @$pb.TagNumber(2) - void clearOrganizationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get locationId => $_getSZ(2); - @$pb.TagNumber(3) - set locationId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLocationId() => $_has(2); - @$pb.TagNumber(3) - void clearLocationId() => clearField(3); -} - -/// BinaryDataByFilterRequest requests the data and metadata of binary (image + file) data by binary ids. -class BinaryDataByIDsRequest extends $pb.GeneratedMessage { - factory BinaryDataByIDsRequest({ - $core.bool? includeBinary, - $core.Iterable? binaryIds, - $core.Iterable<$core.String>? binaryDataIds, - }) { - final $result = create(); - if (includeBinary != null) { - $result.includeBinary = includeBinary; - } - if (binaryIds != null) { - $result.binaryIds.addAll(binaryIds); - } - if (binaryDataIds != null) { - $result.binaryDataIds.addAll(binaryDataIds); - } - return $result; - } - BinaryDataByIDsRequest._() : super(); - factory BinaryDataByIDsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BinaryDataByIDsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryDataByIDsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOB(2, _omitFieldNames ? '' : 'includeBinary') - ..pc(3, _omitFieldNames ? '' : 'binaryIds', $pb.PbFieldType.PM, subBuilder: BinaryID.create) - ..pPS(4, _omitFieldNames ? '' : 'binaryDataIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BinaryDataByIDsRequest clone() => BinaryDataByIDsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BinaryDataByIDsRequest copyWith(void Function(BinaryDataByIDsRequest) updates) => super.copyWith((message) => updates(message as BinaryDataByIDsRequest)) as BinaryDataByIDsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BinaryDataByIDsRequest create() => BinaryDataByIDsRequest._(); - BinaryDataByIDsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BinaryDataByIDsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BinaryDataByIDsRequest? _defaultInstance; - - @$pb.TagNumber(2) - $core.bool get includeBinary => $_getBF(0); - @$pb.TagNumber(2) - set includeBinary($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(2) - $core.bool hasIncludeBinary() => $_has(0); - @$pb.TagNumber(2) - void clearIncludeBinary() => clearField(2); - - @$pb.TagNumber(3) - $core.List get binaryIds => $_getList(1); - - @$pb.TagNumber(4) - $core.List<$core.String> get binaryDataIds => $_getList(2); -} - -/// BinaryDataByIDsResponse provides the data and metadata of binary (image + file) data when a filter is provided. -class BinaryDataByIDsResponse extends $pb.GeneratedMessage { - factory BinaryDataByIDsResponse({ - $core.Iterable? data, - $fixnum.Int64? count, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - if (count != null) { - $result.count = count; - } - return $result; - } - BinaryDataByIDsResponse._() : super(); - factory BinaryDataByIDsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BinaryDataByIDsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryDataByIDsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: BinaryData.create) - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'count', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BinaryDataByIDsResponse clone() => BinaryDataByIDsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BinaryDataByIDsResponse copyWith(void Function(BinaryDataByIDsResponse) updates) => super.copyWith((message) => updates(message as BinaryDataByIDsResponse)) as BinaryDataByIDsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BinaryDataByIDsResponse create() => BinaryDataByIDsResponse._(); - BinaryDataByIDsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BinaryDataByIDsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BinaryDataByIDsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get data => $_getList(0); - - @$pb.TagNumber(2) - $fixnum.Int64 get count => $_getI64(1); - @$pb.TagNumber(2) - set count($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasCount() => $_has(1); - @$pb.TagNumber(2) - void clearCount() => clearField(2); -} - -/// BoundingBox represents a labeled bounding box on an image. -/// x and y values are normalized ratios between 0 and 1. -class BoundingBox extends $pb.GeneratedMessage { - factory BoundingBox({ - $core.String? id, - $core.String? label, - $core.double? xMinNormalized, - $core.double? yMinNormalized, - $core.double? xMaxNormalized, - $core.double? yMaxNormalized, - $core.double? confidence, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (label != null) { - $result.label = label; - } - if (xMinNormalized != null) { - $result.xMinNormalized = xMinNormalized; - } - if (yMinNormalized != null) { - $result.yMinNormalized = yMinNormalized; - } - if (xMaxNormalized != null) { - $result.xMaxNormalized = xMaxNormalized; - } - if (yMaxNormalized != null) { - $result.yMaxNormalized = yMaxNormalized; - } - if (confidence != null) { - $result.confidence = confidence; - } - return $result; - } - BoundingBox._() : super(); - factory BoundingBox.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BoundingBox.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoundingBox', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'label') - ..a<$core.double>(3, _omitFieldNames ? '' : 'xMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'yMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(5, _omitFieldNames ? '' : 'xMaxNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(6, _omitFieldNames ? '' : 'yMaxNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(7, _omitFieldNames ? '' : 'confidence', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BoundingBox clone() => BoundingBox()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BoundingBox copyWith(void Function(BoundingBox) updates) => super.copyWith((message) => updates(message as BoundingBox)) as BoundingBox; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BoundingBox create() => BoundingBox._(); - BoundingBox createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BoundingBox getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BoundingBox? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get label => $_getSZ(1); - @$pb.TagNumber(2) - set label($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLabel() => $_has(1); - @$pb.TagNumber(2) - void clearLabel() => clearField(2); - - @$pb.TagNumber(3) - $core.double get xMinNormalized => $_getN(2); - @$pb.TagNumber(3) - set xMinNormalized($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasXMinNormalized() => $_has(2); - @$pb.TagNumber(3) - void clearXMinNormalized() => clearField(3); - - @$pb.TagNumber(4) - $core.double get yMinNormalized => $_getN(3); - @$pb.TagNumber(4) - set yMinNormalized($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasYMinNormalized() => $_has(3); - @$pb.TagNumber(4) - void clearYMinNormalized() => clearField(4); - - @$pb.TagNumber(5) - $core.double get xMaxNormalized => $_getN(4); - @$pb.TagNumber(5) - set xMaxNormalized($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasXMaxNormalized() => $_has(4); - @$pb.TagNumber(5) - void clearXMaxNormalized() => clearField(5); - - @$pb.TagNumber(6) - $core.double get yMaxNormalized => $_getN(5); - @$pb.TagNumber(6) - set yMaxNormalized($core.double v) { $_setDouble(5, v); } - @$pb.TagNumber(6) - $core.bool hasYMaxNormalized() => $_has(5); - @$pb.TagNumber(6) - void clearYMaxNormalized() => clearField(6); - - /// confidence is an optional range from 0 - 1 - @$pb.TagNumber(7) - $core.double get confidence => $_getN(6); - @$pb.TagNumber(7) - set confidence($core.double v) { $_setDouble(6, v); } - @$pb.TagNumber(7) - $core.bool hasConfidence() => $_has(6); - @$pb.TagNumber(7) - void clearConfidence() => clearField(7); -} - -/// Classification represents a confidence score with a label. -class Classification extends $pb.GeneratedMessage { - factory Classification({ - $core.String? label, - $core.double? confidence, - }) { - final $result = create(); - if (label != null) { - $result.label = label; - } - if (confidence != null) { - $result.confidence = confidence; - } - return $result; - } - Classification._() : super(); - factory Classification.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Classification.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Classification', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'label') - ..a<$core.double>(2, _omitFieldNames ? '' : 'confidence', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Classification clone() => Classification()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Classification copyWith(void Function(Classification) updates) => super.copyWith((message) => updates(message as Classification)) as Classification; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Classification create() => Classification._(); - Classification createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Classification getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Classification? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get label => $_getSZ(0); - @$pb.TagNumber(1) - set label($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLabel() => $_has(0); - @$pb.TagNumber(1) - void clearLabel() => clearField(1); - - /// confidence is an optional range from 0 - 1 - @$pb.TagNumber(2) - $core.double get confidence => $_getN(1); - @$pb.TagNumber(2) - set confidence($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasConfidence() => $_has(1); - @$pb.TagNumber(2) - void clearConfidence() => clearField(2); -} - -/// Annotations are data annotations used for machine learning. -class Annotations extends $pb.GeneratedMessage { - factory Annotations({ - $core.Iterable? bboxes, - $core.Iterable? classifications, - }) { - final $result = create(); - if (bboxes != null) { - $result.bboxes.addAll(bboxes); - } - if (classifications != null) { - $result.classifications.addAll(classifications); - } - return $result; - } - Annotations._() : super(); - factory Annotations.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Annotations.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Annotations', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'bboxes', $pb.PbFieldType.PM, subBuilder: BoundingBox.create) - ..pc(2, _omitFieldNames ? '' : 'classifications', $pb.PbFieldType.PM, subBuilder: Classification.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Annotations clone() => Annotations()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Annotations copyWith(void Function(Annotations) updates) => super.copyWith((message) => updates(message as Annotations)) as Annotations; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Annotations create() => Annotations._(); - Annotations createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Annotations getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Annotations? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get bboxes => $_getList(0); - - @$pb.TagNumber(2) - $core.List get classifications => $_getList(1); -} - -/// BinaryMetadata is the metadata associated with binary data. -class BinaryMetadata extends $pb.GeneratedMessage { - factory BinaryMetadata({ - $core.String? id, - CaptureMetadata? captureMetadata, - $47.Timestamp? timeRequested, - $47.Timestamp? timeReceived, - $core.String? fileName, - $core.String? fileExt, - $core.String? uri, - Annotations? annotations, - $core.Iterable<$core.String>? datasetIds, - $core.String? binaryDataId, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (captureMetadata != null) { - $result.captureMetadata = captureMetadata; - } - if (timeRequested != null) { - $result.timeRequested = timeRequested; - } - if (timeReceived != null) { - $result.timeReceived = timeReceived; - } - if (fileName != null) { - $result.fileName = fileName; - } - if (fileExt != null) { - $result.fileExt = fileExt; - } - if (uri != null) { - $result.uri = uri; - } - if (annotations != null) { - $result.annotations = annotations; - } - if (datasetIds != null) { - $result.datasetIds.addAll(datasetIds); - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - BinaryMetadata._() : super(); - factory BinaryMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BinaryMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM(2, _omitFieldNames ? '' : 'captureMetadata', subBuilder: CaptureMetadata.create) - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $47.Timestamp.create) - ..aOS(5, _omitFieldNames ? '' : 'fileName') - ..aOS(6, _omitFieldNames ? '' : 'fileExt') - ..aOS(7, _omitFieldNames ? '' : 'uri') - ..aOM(8, _omitFieldNames ? '' : 'annotations', subBuilder: Annotations.create) - ..pPS(9, _omitFieldNames ? '' : 'datasetIds') - ..aOS(10, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BinaryMetadata clone() => BinaryMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BinaryMetadata copyWith(void Function(BinaryMetadata) updates) => super.copyWith((message) => updates(message as BinaryMetadata)) as BinaryMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BinaryMetadata create() => BinaryMetadata._(); - BinaryMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BinaryMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BinaryMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - CaptureMetadata get captureMetadata => $_getN(1); - @$pb.TagNumber(2) - set captureMetadata(CaptureMetadata v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCaptureMetadata() => $_has(1); - @$pb.TagNumber(2) - void clearCaptureMetadata() => clearField(2); - @$pb.TagNumber(2) - CaptureMetadata ensureCaptureMetadata() => $_ensure(1); - - @$pb.TagNumber(3) - $47.Timestamp get timeRequested => $_getN(2); - @$pb.TagNumber(3) - set timeRequested($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasTimeRequested() => $_has(2); - @$pb.TagNumber(3) - void clearTimeRequested() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureTimeRequested() => $_ensure(2); - - @$pb.TagNumber(4) - $47.Timestamp get timeReceived => $_getN(3); - @$pb.TagNumber(4) - set timeReceived($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasTimeReceived() => $_has(3); - @$pb.TagNumber(4) - void clearTimeReceived() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureTimeReceived() => $_ensure(3); - - @$pb.TagNumber(5) - $core.String get fileName => $_getSZ(4); - @$pb.TagNumber(5) - set fileName($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasFileName() => $_has(4); - @$pb.TagNumber(5) - void clearFileName() => clearField(5); - - @$pb.TagNumber(6) - $core.String get fileExt => $_getSZ(5); - @$pb.TagNumber(6) - set fileExt($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasFileExt() => $_has(5); - @$pb.TagNumber(6) - void clearFileExt() => clearField(6); - - @$pb.TagNumber(7) - $core.String get uri => $_getSZ(6); - @$pb.TagNumber(7) - set uri($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasUri() => $_has(6); - @$pb.TagNumber(7) - void clearUri() => clearField(7); - - @$pb.TagNumber(8) - Annotations get annotations => $_getN(7); - @$pb.TagNumber(8) - set annotations(Annotations v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasAnnotations() => $_has(7); - @$pb.TagNumber(8) - void clearAnnotations() => clearField(8); - @$pb.TagNumber(8) - Annotations ensureAnnotations() => $_ensure(7); - - @$pb.TagNumber(9) - $core.List<$core.String> get datasetIds => $_getList(8); - - @$pb.TagNumber(10) - $core.String get binaryDataId => $_getSZ(9); - @$pb.TagNumber(10) - set binaryDataId($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasBinaryDataId() => $_has(9); - @$pb.TagNumber(10) - void clearBinaryDataId() => clearField(10); -} - -/// DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days` -/// in UTC time. For example, if delete_older_than_days=1 and the request is made at 1AM EST on March 11 -/// (March 11 5AM UTC), this deletes all data captured through March 10 11:59:59PM UTC. -/// If the request is at 10PM EST on March 11 (March 12 2AM UTC), this deletes all data captured -/// through March 11 11:59:59PM UTC. -/// If delete_older_than_days is 0, all existing data is deleted. -class DeleteTabularDataRequest extends $pb.GeneratedMessage { - factory DeleteTabularDataRequest({ - $core.String? organizationId, - $core.int? deleteOlderThanDays, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (deleteOlderThanDays != null) { - $result.deleteOlderThanDays = deleteOlderThanDays; - } - return $result; - } - DeleteTabularDataRequest._() : super(); - factory DeleteTabularDataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteTabularDataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTabularDataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..a<$core.int>(2, _omitFieldNames ? '' : 'deleteOlderThanDays', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteTabularDataRequest clone() => DeleteTabularDataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteTabularDataRequest copyWith(void Function(DeleteTabularDataRequest) updates) => super.copyWith((message) => updates(message as DeleteTabularDataRequest)) as DeleteTabularDataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteTabularDataRequest create() => DeleteTabularDataRequest._(); - DeleteTabularDataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteTabularDataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteTabularDataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.int get deleteOlderThanDays => $_getIZ(1); - @$pb.TagNumber(2) - set deleteOlderThanDays($core.int v) { $_setUnsignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasDeleteOlderThanDays() => $_has(1); - @$pb.TagNumber(2) - void clearDeleteOlderThanDays() => clearField(2); -} - -/// DeleteBinaryDataResponse returns the number of tabular datapoints deleted. -class DeleteTabularDataResponse extends $pb.GeneratedMessage { - factory DeleteTabularDataResponse({ - $fixnum.Int64? deletedCount, - }) { - final $result = create(); - if (deletedCount != null) { - $result.deletedCount = deletedCount; - } - return $result; - } - DeleteTabularDataResponse._() : super(); - factory DeleteTabularDataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteTabularDataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteTabularDataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'deletedCount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteTabularDataResponse clone() => DeleteTabularDataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteTabularDataResponse copyWith(void Function(DeleteTabularDataResponse) updates) => super.copyWith((message) => updates(message as DeleteTabularDataResponse)) as DeleteTabularDataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteTabularDataResponse create() => DeleteTabularDataResponse._(); - DeleteTabularDataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteTabularDataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteTabularDataResponse? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get deletedCount => $_getI64(0); - @$pb.TagNumber(1) - set deletedCount($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasDeletedCount() => $_has(0); - @$pb.TagNumber(1) - void clearDeletedCount() => clearField(1); -} - -/// DeleteBinaryDataByFilterRequest deletes the data and metadata of binary data when a filter is provided. -class DeleteBinaryDataByFilterRequest extends $pb.GeneratedMessage { - factory DeleteBinaryDataByFilterRequest({ - Filter? filter, - $core.bool? includeInternalData, - }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - if (includeInternalData != null) { - $result.includeInternalData = includeInternalData; - } - return $result; - } - DeleteBinaryDataByFilterRequest._() : super(); - factory DeleteBinaryDataByFilterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteBinaryDataByFilterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBinaryDataByFilterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'filter', subBuilder: Filter.create) - ..aOB(2, _omitFieldNames ? '' : 'includeInternalData') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByFilterRequest clone() => DeleteBinaryDataByFilterRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByFilterRequest copyWith(void Function(DeleteBinaryDataByFilterRequest) updates) => super.copyWith((message) => updates(message as DeleteBinaryDataByFilterRequest)) as DeleteBinaryDataByFilterRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByFilterRequest create() => DeleteBinaryDataByFilterRequest._(); - DeleteBinaryDataByFilterRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByFilterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteBinaryDataByFilterRequest? _defaultInstance; - - @$pb.TagNumber(1) - Filter get filter => $_getN(0); - @$pb.TagNumber(1) - set filter(Filter v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFilter() => $_has(0); - @$pb.TagNumber(1) - void clearFilter() => clearField(1); - @$pb.TagNumber(1) - Filter ensureFilter() => $_ensure(0); - - @$pb.TagNumber(2) - $core.bool get includeInternalData => $_getBF(1); - @$pb.TagNumber(2) - set includeInternalData($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIncludeInternalData() => $_has(1); - @$pb.TagNumber(2) - void clearIncludeInternalData() => clearField(2); -} - -/// DeleteBinaryDataByFilterResponse returns the number of binary files deleted when a filter is provided. -class DeleteBinaryDataByFilterResponse extends $pb.GeneratedMessage { - factory DeleteBinaryDataByFilterResponse({ - $fixnum.Int64? deletedCount, - }) { - final $result = create(); - if (deletedCount != null) { - $result.deletedCount = deletedCount; - } - return $result; - } - DeleteBinaryDataByFilterResponse._() : super(); - factory DeleteBinaryDataByFilterResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteBinaryDataByFilterResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBinaryDataByFilterResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'deletedCount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByFilterResponse clone() => DeleteBinaryDataByFilterResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByFilterResponse copyWith(void Function(DeleteBinaryDataByFilterResponse) updates) => super.copyWith((message) => updates(message as DeleteBinaryDataByFilterResponse)) as DeleteBinaryDataByFilterResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByFilterResponse create() => DeleteBinaryDataByFilterResponse._(); - DeleteBinaryDataByFilterResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByFilterResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteBinaryDataByFilterResponse? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get deletedCount => $_getI64(0); - @$pb.TagNumber(1) - set deletedCount($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasDeletedCount() => $_has(0); - @$pb.TagNumber(1) - void clearDeletedCount() => clearField(1); -} - -/// DeleteBinaryDataByIDsRequest deletes the data and metadata of binary data when binary ids are provided. -class DeleteBinaryDataByIDsRequest extends $pb.GeneratedMessage { - factory DeleteBinaryDataByIDsRequest({ - $core.Iterable? binaryIds, - $core.Iterable<$core.String>? binaryDataIds, - }) { - final $result = create(); - if (binaryIds != null) { - $result.binaryIds.addAll(binaryIds); - } - if (binaryDataIds != null) { - $result.binaryDataIds.addAll(binaryDataIds); - } - return $result; - } - DeleteBinaryDataByIDsRequest._() : super(); - factory DeleteBinaryDataByIDsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteBinaryDataByIDsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBinaryDataByIDsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc(2, _omitFieldNames ? '' : 'binaryIds', $pb.PbFieldType.PM, subBuilder: BinaryID.create) - ..pPS(3, _omitFieldNames ? '' : 'binaryDataIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByIDsRequest clone() => DeleteBinaryDataByIDsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByIDsRequest copyWith(void Function(DeleteBinaryDataByIDsRequest) updates) => super.copyWith((message) => updates(message as DeleteBinaryDataByIDsRequest)) as DeleteBinaryDataByIDsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByIDsRequest create() => DeleteBinaryDataByIDsRequest._(); - DeleteBinaryDataByIDsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByIDsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteBinaryDataByIDsRequest? _defaultInstance; - - @$pb.TagNumber(2) - $core.List get binaryIds => $_getList(0); - - @$pb.TagNumber(3) - $core.List<$core.String> get binaryDataIds => $_getList(1); -} - -/// DeleteBinaryDataByIDsResponse returns the number of binary files deleted when binary ids are provided. -class DeleteBinaryDataByIDsResponse extends $pb.GeneratedMessage { - factory DeleteBinaryDataByIDsResponse({ - $fixnum.Int64? deletedCount, - }) { - final $result = create(); - if (deletedCount != null) { - $result.deletedCount = deletedCount; - } - return $result; - } - DeleteBinaryDataByIDsResponse._() : super(); - factory DeleteBinaryDataByIDsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteBinaryDataByIDsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBinaryDataByIDsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'deletedCount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByIDsResponse clone() => DeleteBinaryDataByIDsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteBinaryDataByIDsResponse copyWith(void Function(DeleteBinaryDataByIDsResponse) updates) => super.copyWith((message) => updates(message as DeleteBinaryDataByIDsResponse)) as DeleteBinaryDataByIDsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByIDsResponse create() => DeleteBinaryDataByIDsResponse._(); - DeleteBinaryDataByIDsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteBinaryDataByIDsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteBinaryDataByIDsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get deletedCount => $_getI64(0); - @$pb.TagNumber(1) - set deletedCount($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasDeletedCount() => $_has(0); - @$pb.TagNumber(1) - void clearDeletedCount() => clearField(1); -} - -/// AddTagsToBinaryDataByIDsRequest requests adding all specified tags to each of the files when binary ids are provided. -class AddTagsToBinaryDataByIDsRequest extends $pb.GeneratedMessage { - factory AddTagsToBinaryDataByIDsRequest({ - $core.Iterable<$core.String>? tags, - $core.Iterable? binaryIds, - $core.Iterable<$core.String>? binaryDataIds, - }) { - final $result = create(); - if (tags != null) { - $result.tags.addAll(tags); - } - if (binaryIds != null) { - $result.binaryIds.addAll(binaryIds); - } - if (binaryDataIds != null) { - $result.binaryDataIds.addAll(binaryDataIds); - } - return $result; - } - AddTagsToBinaryDataByIDsRequest._() : super(); - factory AddTagsToBinaryDataByIDsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddTagsToBinaryDataByIDsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTagsToBinaryDataByIDsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pPS(2, _omitFieldNames ? '' : 'tags') - ..pc(3, _omitFieldNames ? '' : 'binaryIds', $pb.PbFieldType.PM, subBuilder: BinaryID.create) - ..pPS(4, _omitFieldNames ? '' : 'binaryDataIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByIDsRequest clone() => AddTagsToBinaryDataByIDsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByIDsRequest copyWith(void Function(AddTagsToBinaryDataByIDsRequest) updates) => super.copyWith((message) => updates(message as AddTagsToBinaryDataByIDsRequest)) as AddTagsToBinaryDataByIDsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByIDsRequest create() => AddTagsToBinaryDataByIDsRequest._(); - AddTagsToBinaryDataByIDsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByIDsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddTagsToBinaryDataByIDsRequest? _defaultInstance; - - @$pb.TagNumber(2) - $core.List<$core.String> get tags => $_getList(0); - - @$pb.TagNumber(3) - $core.List get binaryIds => $_getList(1); - - @$pb.TagNumber(4) - $core.List<$core.String> get binaryDataIds => $_getList(2); -} - -class AddTagsToBinaryDataByIDsResponse extends $pb.GeneratedMessage { - factory AddTagsToBinaryDataByIDsResponse() => create(); - AddTagsToBinaryDataByIDsResponse._() : super(); - factory AddTagsToBinaryDataByIDsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddTagsToBinaryDataByIDsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTagsToBinaryDataByIDsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByIDsResponse clone() => AddTagsToBinaryDataByIDsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByIDsResponse copyWith(void Function(AddTagsToBinaryDataByIDsResponse) updates) => super.copyWith((message) => updates(message as AddTagsToBinaryDataByIDsResponse)) as AddTagsToBinaryDataByIDsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByIDsResponse create() => AddTagsToBinaryDataByIDsResponse._(); - AddTagsToBinaryDataByIDsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByIDsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddTagsToBinaryDataByIDsResponse? _defaultInstance; -} - -/// AddTagsToBinaryDataByFilterRequest requests adding all specified tags to each of the files when a filter is provided. -class AddTagsToBinaryDataByFilterRequest extends $pb.GeneratedMessage { - factory AddTagsToBinaryDataByFilterRequest({ - Filter? filter, - $core.Iterable<$core.String>? tags, - }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - AddTagsToBinaryDataByFilterRequest._() : super(); - factory AddTagsToBinaryDataByFilterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddTagsToBinaryDataByFilterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTagsToBinaryDataByFilterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'filter', subBuilder: Filter.create) - ..pPS(2, _omitFieldNames ? '' : 'tags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByFilterRequest clone() => AddTagsToBinaryDataByFilterRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByFilterRequest copyWith(void Function(AddTagsToBinaryDataByFilterRequest) updates) => super.copyWith((message) => updates(message as AddTagsToBinaryDataByFilterRequest)) as AddTagsToBinaryDataByFilterRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByFilterRequest create() => AddTagsToBinaryDataByFilterRequest._(); - AddTagsToBinaryDataByFilterRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByFilterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddTagsToBinaryDataByFilterRequest? _defaultInstance; - - @$pb.TagNumber(1) - Filter get filter => $_getN(0); - @$pb.TagNumber(1) - set filter(Filter v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFilter() => $_has(0); - @$pb.TagNumber(1) - void clearFilter() => clearField(1); - @$pb.TagNumber(1) - Filter ensureFilter() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List<$core.String> get tags => $_getList(1); -} - -class AddTagsToBinaryDataByFilterResponse extends $pb.GeneratedMessage { - factory AddTagsToBinaryDataByFilterResponse() => create(); - AddTagsToBinaryDataByFilterResponse._() : super(); - factory AddTagsToBinaryDataByFilterResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddTagsToBinaryDataByFilterResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddTagsToBinaryDataByFilterResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByFilterResponse clone() => AddTagsToBinaryDataByFilterResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddTagsToBinaryDataByFilterResponse copyWith(void Function(AddTagsToBinaryDataByFilterResponse) updates) => super.copyWith((message) => updates(message as AddTagsToBinaryDataByFilterResponse)) as AddTagsToBinaryDataByFilterResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByFilterResponse create() => AddTagsToBinaryDataByFilterResponse._(); - AddTagsToBinaryDataByFilterResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddTagsToBinaryDataByFilterResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddTagsToBinaryDataByFilterResponse? _defaultInstance; -} - -/// RemoveTagsFromBinaryDataByIDsRequest requests removing the given tags value from each file when binary ids are provided. -class RemoveTagsFromBinaryDataByIDsRequest extends $pb.GeneratedMessage { - factory RemoveTagsFromBinaryDataByIDsRequest({ - $core.Iterable<$core.String>? tags, - $core.Iterable? binaryIds, - $core.Iterable<$core.String>? binaryDataIds, - }) { - final $result = create(); - if (tags != null) { - $result.tags.addAll(tags); - } - if (binaryIds != null) { - $result.binaryIds.addAll(binaryIds); - } - if (binaryDataIds != null) { - $result.binaryDataIds.addAll(binaryDataIds); - } - return $result; - } - RemoveTagsFromBinaryDataByIDsRequest._() : super(); - factory RemoveTagsFromBinaryDataByIDsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveTagsFromBinaryDataByIDsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveTagsFromBinaryDataByIDsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pPS(2, _omitFieldNames ? '' : 'tags') - ..pc(3, _omitFieldNames ? '' : 'binaryIds', $pb.PbFieldType.PM, subBuilder: BinaryID.create) - ..pPS(4, _omitFieldNames ? '' : 'binaryDataIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByIDsRequest clone() => RemoveTagsFromBinaryDataByIDsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByIDsRequest copyWith(void Function(RemoveTagsFromBinaryDataByIDsRequest) updates) => super.copyWith((message) => updates(message as RemoveTagsFromBinaryDataByIDsRequest)) as RemoveTagsFromBinaryDataByIDsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByIDsRequest create() => RemoveTagsFromBinaryDataByIDsRequest._(); - RemoveTagsFromBinaryDataByIDsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByIDsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveTagsFromBinaryDataByIDsRequest? _defaultInstance; - - @$pb.TagNumber(2) - $core.List<$core.String> get tags => $_getList(0); - - @$pb.TagNumber(3) - $core.List get binaryIds => $_getList(1); - - @$pb.TagNumber(4) - $core.List<$core.String> get binaryDataIds => $_getList(2); -} - -/// RemoveTagsFromBinaryDataByIDsResponse returns the number of binary files which had tags removed -class RemoveTagsFromBinaryDataByIDsResponse extends $pb.GeneratedMessage { - factory RemoveTagsFromBinaryDataByIDsResponse({ - $fixnum.Int64? deletedCount, - }) { - final $result = create(); - if (deletedCount != null) { - $result.deletedCount = deletedCount; - } - return $result; - } - RemoveTagsFromBinaryDataByIDsResponse._() : super(); - factory RemoveTagsFromBinaryDataByIDsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveTagsFromBinaryDataByIDsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveTagsFromBinaryDataByIDsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'deletedCount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByIDsResponse clone() => RemoveTagsFromBinaryDataByIDsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByIDsResponse copyWith(void Function(RemoveTagsFromBinaryDataByIDsResponse) updates) => super.copyWith((message) => updates(message as RemoveTagsFromBinaryDataByIDsResponse)) as RemoveTagsFromBinaryDataByIDsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByIDsResponse create() => RemoveTagsFromBinaryDataByIDsResponse._(); - RemoveTagsFromBinaryDataByIDsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByIDsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveTagsFromBinaryDataByIDsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get deletedCount => $_getI64(0); - @$pb.TagNumber(1) - set deletedCount($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasDeletedCount() => $_has(0); - @$pb.TagNumber(1) - void clearDeletedCount() => clearField(1); -} - -/// RemoveTagsFromBinaryDataByFilterRequest requests removing the given tags value from each file when a filter is provided. -class RemoveTagsFromBinaryDataByFilterRequest extends $pb.GeneratedMessage { - factory RemoveTagsFromBinaryDataByFilterRequest({ - Filter? filter, - $core.Iterable<$core.String>? tags, - }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - RemoveTagsFromBinaryDataByFilterRequest._() : super(); - factory RemoveTagsFromBinaryDataByFilterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveTagsFromBinaryDataByFilterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveTagsFromBinaryDataByFilterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'filter', subBuilder: Filter.create) - ..pPS(2, _omitFieldNames ? '' : 'tags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByFilterRequest clone() => RemoveTagsFromBinaryDataByFilterRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByFilterRequest copyWith(void Function(RemoveTagsFromBinaryDataByFilterRequest) updates) => super.copyWith((message) => updates(message as RemoveTagsFromBinaryDataByFilterRequest)) as RemoveTagsFromBinaryDataByFilterRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByFilterRequest create() => RemoveTagsFromBinaryDataByFilterRequest._(); - RemoveTagsFromBinaryDataByFilterRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByFilterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveTagsFromBinaryDataByFilterRequest? _defaultInstance; - - @$pb.TagNumber(1) - Filter get filter => $_getN(0); - @$pb.TagNumber(1) - set filter(Filter v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFilter() => $_has(0); - @$pb.TagNumber(1) - void clearFilter() => clearField(1); - @$pb.TagNumber(1) - Filter ensureFilter() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List<$core.String> get tags => $_getList(1); -} - -/// RemoveTagsFromBinaryDataByFilterResponse returns the number of binary files which had tags removed. -class RemoveTagsFromBinaryDataByFilterResponse extends $pb.GeneratedMessage { - factory RemoveTagsFromBinaryDataByFilterResponse({ - $fixnum.Int64? deletedCount, - }) { - final $result = create(); - if (deletedCount != null) { - $result.deletedCount = deletedCount; - } - return $result; - } - RemoveTagsFromBinaryDataByFilterResponse._() : super(); - factory RemoveTagsFromBinaryDataByFilterResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveTagsFromBinaryDataByFilterResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveTagsFromBinaryDataByFilterResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'deletedCount', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByFilterResponse clone() => RemoveTagsFromBinaryDataByFilterResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveTagsFromBinaryDataByFilterResponse copyWith(void Function(RemoveTagsFromBinaryDataByFilterResponse) updates) => super.copyWith((message) => updates(message as RemoveTagsFromBinaryDataByFilterResponse)) as RemoveTagsFromBinaryDataByFilterResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByFilterResponse create() => RemoveTagsFromBinaryDataByFilterResponse._(); - RemoveTagsFromBinaryDataByFilterResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveTagsFromBinaryDataByFilterResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveTagsFromBinaryDataByFilterResponse? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get deletedCount => $_getI64(0); - @$pb.TagNumber(1) - set deletedCount($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasDeletedCount() => $_has(0); - @$pb.TagNumber(1) - void clearDeletedCount() => clearField(1); -} - -/// TagsByFilterRequest requests the unique tags from data based on given filter. -class TagsByFilterRequest extends $pb.GeneratedMessage { - factory TagsByFilterRequest({ - Filter? filter, - }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - return $result; - } - TagsByFilterRequest._() : super(); - factory TagsByFilterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TagsByFilterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TagsByFilterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'filter', subBuilder: Filter.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TagsByFilterRequest clone() => TagsByFilterRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TagsByFilterRequest copyWith(void Function(TagsByFilterRequest) updates) => super.copyWith((message) => updates(message as TagsByFilterRequest)) as TagsByFilterRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TagsByFilterRequest create() => TagsByFilterRequest._(); - TagsByFilterRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TagsByFilterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TagsByFilterRequest? _defaultInstance; - - @$pb.TagNumber(1) - Filter get filter => $_getN(0); - @$pb.TagNumber(1) - set filter(Filter v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFilter() => $_has(0); - @$pb.TagNumber(1) - void clearFilter() => clearField(1); - @$pb.TagNumber(1) - Filter ensureFilter() => $_ensure(0); -} - -/// TagsByFilterResponse returns the unique tags from data based on given filter. -class TagsByFilterResponse extends $pb.GeneratedMessage { - factory TagsByFilterResponse({ - $core.Iterable<$core.String>? tags, - }) { - final $result = create(); - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - TagsByFilterResponse._() : super(); - factory TagsByFilterResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TagsByFilterResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TagsByFilterResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'tags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TagsByFilterResponse clone() => TagsByFilterResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TagsByFilterResponse copyWith(void Function(TagsByFilterResponse) updates) => super.copyWith((message) => updates(message as TagsByFilterResponse)) as TagsByFilterResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TagsByFilterResponse create() => TagsByFilterResponse._(); - TagsByFilterResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TagsByFilterResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TagsByFilterResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get tags => $_getList(0); -} - -/// AddBoundingBoxToImageByIDRequest specifies the binary ID to which a bounding box -/// with the associated label and position in normalized coordinates will be added. -class AddBoundingBoxToImageByIDRequest extends $pb.GeneratedMessage { - factory AddBoundingBoxToImageByIDRequest({ - $core.String? label, - $core.double? xMinNormalized, - $core.double? yMinNormalized, - $core.double? xMaxNormalized, - $core.double? yMaxNormalized, - BinaryID? binaryId, - $core.String? binaryDataId, - }) { - final $result = create(); - if (label != null) { - $result.label = label; - } - if (xMinNormalized != null) { - $result.xMinNormalized = xMinNormalized; - } - if (yMinNormalized != null) { - $result.yMinNormalized = yMinNormalized; - } - if (xMaxNormalized != null) { - $result.xMaxNormalized = xMaxNormalized; - } - if (yMaxNormalized != null) { - $result.yMaxNormalized = yMaxNormalized; - } - if (binaryId != null) { - $result.binaryId = binaryId; - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - AddBoundingBoxToImageByIDRequest._() : super(); - factory AddBoundingBoxToImageByIDRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddBoundingBoxToImageByIDRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddBoundingBoxToImageByIDRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'label') - ..a<$core.double>(3, _omitFieldNames ? '' : 'xMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'yMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(5, _omitFieldNames ? '' : 'xMaxNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(6, _omitFieldNames ? '' : 'yMaxNormalized', $pb.PbFieldType.OD) - ..aOM(7, _omitFieldNames ? '' : 'binaryId', subBuilder: BinaryID.create) - ..aOS(8, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddBoundingBoxToImageByIDRequest clone() => AddBoundingBoxToImageByIDRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddBoundingBoxToImageByIDRequest copyWith(void Function(AddBoundingBoxToImageByIDRequest) updates) => super.copyWith((message) => updates(message as AddBoundingBoxToImageByIDRequest)) as AddBoundingBoxToImageByIDRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddBoundingBoxToImageByIDRequest create() => AddBoundingBoxToImageByIDRequest._(); - AddBoundingBoxToImageByIDRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddBoundingBoxToImageByIDRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddBoundingBoxToImageByIDRequest? _defaultInstance; - - @$pb.TagNumber(2) - $core.String get label => $_getSZ(0); - @$pb.TagNumber(2) - set label($core.String v) { $_setString(0, v); } - @$pb.TagNumber(2) - $core.bool hasLabel() => $_has(0); - @$pb.TagNumber(2) - void clearLabel() => clearField(2); - - @$pb.TagNumber(3) - $core.double get xMinNormalized => $_getN(1); - @$pb.TagNumber(3) - set xMinNormalized($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(3) - $core.bool hasXMinNormalized() => $_has(1); - @$pb.TagNumber(3) - void clearXMinNormalized() => clearField(3); - - @$pb.TagNumber(4) - $core.double get yMinNormalized => $_getN(2); - @$pb.TagNumber(4) - set yMinNormalized($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(4) - $core.bool hasYMinNormalized() => $_has(2); - @$pb.TagNumber(4) - void clearYMinNormalized() => clearField(4); - - @$pb.TagNumber(5) - $core.double get xMaxNormalized => $_getN(3); - @$pb.TagNumber(5) - set xMaxNormalized($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(5) - $core.bool hasXMaxNormalized() => $_has(3); - @$pb.TagNumber(5) - void clearXMaxNormalized() => clearField(5); - - @$pb.TagNumber(6) - $core.double get yMaxNormalized => $_getN(4); - @$pb.TagNumber(6) - set yMaxNormalized($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(6) - $core.bool hasYMaxNormalized() => $_has(4); - @$pb.TagNumber(6) - void clearYMaxNormalized() => clearField(6); - - @$pb.TagNumber(7) - BinaryID get binaryId => $_getN(5); - @$pb.TagNumber(7) - set binaryId(BinaryID v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasBinaryId() => $_has(5); - @$pb.TagNumber(7) - void clearBinaryId() => clearField(7); - @$pb.TagNumber(7) - BinaryID ensureBinaryId() => $_ensure(5); - - @$pb.TagNumber(8) - $core.String get binaryDataId => $_getSZ(6); - @$pb.TagNumber(8) - set binaryDataId($core.String v) { $_setString(6, v); } - @$pb.TagNumber(8) - $core.bool hasBinaryDataId() => $_has(6); - @$pb.TagNumber(8) - void clearBinaryDataId() => clearField(8); -} - -/// AddBoundingBoxToImageByIDResponse returns the bounding box ID of the successfully added bounding box. -class AddBoundingBoxToImageByIDResponse extends $pb.GeneratedMessage { - factory AddBoundingBoxToImageByIDResponse({ - $core.String? bboxId, - }) { - final $result = create(); - if (bboxId != null) { - $result.bboxId = bboxId; - } - return $result; - } - AddBoundingBoxToImageByIDResponse._() : super(); - factory AddBoundingBoxToImageByIDResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddBoundingBoxToImageByIDResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddBoundingBoxToImageByIDResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'bboxId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddBoundingBoxToImageByIDResponse clone() => AddBoundingBoxToImageByIDResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddBoundingBoxToImageByIDResponse copyWith(void Function(AddBoundingBoxToImageByIDResponse) updates) => super.copyWith((message) => updates(message as AddBoundingBoxToImageByIDResponse)) as AddBoundingBoxToImageByIDResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddBoundingBoxToImageByIDResponse create() => AddBoundingBoxToImageByIDResponse._(); - AddBoundingBoxToImageByIDResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddBoundingBoxToImageByIDResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddBoundingBoxToImageByIDResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get bboxId => $_getSZ(0); - @$pb.TagNumber(1) - set bboxId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBboxId() => $_has(0); - @$pb.TagNumber(1) - void clearBboxId() => clearField(1); -} - -/// RemoveBoundingBoxFromImageByIDRequest removes the bounding box with specified bounding box ID for the file represented by the binary ID. -class RemoveBoundingBoxFromImageByIDRequest extends $pb.GeneratedMessage { - factory RemoveBoundingBoxFromImageByIDRequest({ - $core.String? bboxId, - BinaryID? binaryId, - $core.String? binaryDataId, - }) { - final $result = create(); - if (bboxId != null) { - $result.bboxId = bboxId; - } - if (binaryId != null) { - $result.binaryId = binaryId; - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - RemoveBoundingBoxFromImageByIDRequest._() : super(); - factory RemoveBoundingBoxFromImageByIDRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveBoundingBoxFromImageByIDRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveBoundingBoxFromImageByIDRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'bboxId') - ..aOM(3, _omitFieldNames ? '' : 'binaryId', subBuilder: BinaryID.create) - ..aOS(4, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveBoundingBoxFromImageByIDRequest clone() => RemoveBoundingBoxFromImageByIDRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveBoundingBoxFromImageByIDRequest copyWith(void Function(RemoveBoundingBoxFromImageByIDRequest) updates) => super.copyWith((message) => updates(message as RemoveBoundingBoxFromImageByIDRequest)) as RemoveBoundingBoxFromImageByIDRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveBoundingBoxFromImageByIDRequest create() => RemoveBoundingBoxFromImageByIDRequest._(); - RemoveBoundingBoxFromImageByIDRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveBoundingBoxFromImageByIDRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveBoundingBoxFromImageByIDRequest? _defaultInstance; - - @$pb.TagNumber(2) - $core.String get bboxId => $_getSZ(0); - @$pb.TagNumber(2) - set bboxId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(2) - $core.bool hasBboxId() => $_has(0); - @$pb.TagNumber(2) - void clearBboxId() => clearField(2); - - @$pb.TagNumber(3) - BinaryID get binaryId => $_getN(1); - @$pb.TagNumber(3) - set binaryId(BinaryID v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasBinaryId() => $_has(1); - @$pb.TagNumber(3) - void clearBinaryId() => clearField(3); - @$pb.TagNumber(3) - BinaryID ensureBinaryId() => $_ensure(1); - - @$pb.TagNumber(4) - $core.String get binaryDataId => $_getSZ(2); - @$pb.TagNumber(4) - set binaryDataId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasBinaryDataId() => $_has(2); - @$pb.TagNumber(4) - void clearBinaryDataId() => clearField(4); -} - -class RemoveBoundingBoxFromImageByIDResponse extends $pb.GeneratedMessage { - factory RemoveBoundingBoxFromImageByIDResponse() => create(); - RemoveBoundingBoxFromImageByIDResponse._() : super(); - factory RemoveBoundingBoxFromImageByIDResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveBoundingBoxFromImageByIDResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveBoundingBoxFromImageByIDResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveBoundingBoxFromImageByIDResponse clone() => RemoveBoundingBoxFromImageByIDResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveBoundingBoxFromImageByIDResponse copyWith(void Function(RemoveBoundingBoxFromImageByIDResponse) updates) => super.copyWith((message) => updates(message as RemoveBoundingBoxFromImageByIDResponse)) as RemoveBoundingBoxFromImageByIDResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveBoundingBoxFromImageByIDResponse create() => RemoveBoundingBoxFromImageByIDResponse._(); - RemoveBoundingBoxFromImageByIDResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveBoundingBoxFromImageByIDResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveBoundingBoxFromImageByIDResponse? _defaultInstance; -} - -/// UpdateBoundingBoxRequest updates the bounding box with specified bounding box ID for the file represented by the binary ID. -class UpdateBoundingBoxRequest extends $pb.GeneratedMessage { - factory UpdateBoundingBoxRequest({ - BinaryID? binaryId, - $core.String? bboxId, - $core.String? label, - $core.double? xMinNormalized, - $core.double? yMinNormalized, - $core.double? xMaxNormalized, - $core.double? yMaxNormalized, - $core.String? binaryDataId, - }) { - final $result = create(); - if (binaryId != null) { - $result.binaryId = binaryId; - } - if (bboxId != null) { - $result.bboxId = bboxId; - } - if (label != null) { - $result.label = label; - } - if (xMinNormalized != null) { - $result.xMinNormalized = xMinNormalized; - } - if (yMinNormalized != null) { - $result.yMinNormalized = yMinNormalized; - } - if (xMaxNormalized != null) { - $result.xMaxNormalized = xMaxNormalized; - } - if (yMaxNormalized != null) { - $result.yMaxNormalized = yMaxNormalized; - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - UpdateBoundingBoxRequest._() : super(); - factory UpdateBoundingBoxRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateBoundingBoxRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBoundingBoxRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'binaryId', subBuilder: BinaryID.create) - ..aOS(2, _omitFieldNames ? '' : 'bboxId') - ..aOS(3, _omitFieldNames ? '' : 'label') - ..a<$core.double>(4, _omitFieldNames ? '' : 'xMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(5, _omitFieldNames ? '' : 'yMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(6, _omitFieldNames ? '' : 'xMaxNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(7, _omitFieldNames ? '' : 'yMaxNormalized', $pb.PbFieldType.OD) - ..aOS(8, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateBoundingBoxRequest clone() => UpdateBoundingBoxRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateBoundingBoxRequest copyWith(void Function(UpdateBoundingBoxRequest) updates) => super.copyWith((message) => updates(message as UpdateBoundingBoxRequest)) as UpdateBoundingBoxRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateBoundingBoxRequest create() => UpdateBoundingBoxRequest._(); - UpdateBoundingBoxRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateBoundingBoxRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateBoundingBoxRequest? _defaultInstance; - - @$pb.TagNumber(1) - BinaryID get binaryId => $_getN(0); - @$pb.TagNumber(1) - set binaryId(BinaryID v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasBinaryId() => $_has(0); - @$pb.TagNumber(1) - void clearBinaryId() => clearField(1); - @$pb.TagNumber(1) - BinaryID ensureBinaryId() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get bboxId => $_getSZ(1); - @$pb.TagNumber(2) - set bboxId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasBboxId() => $_has(1); - @$pb.TagNumber(2) - void clearBboxId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get label => $_getSZ(2); - @$pb.TagNumber(3) - set label($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLabel() => $_has(2); - @$pb.TagNumber(3) - void clearLabel() => clearField(3); - - @$pb.TagNumber(4) - $core.double get xMinNormalized => $_getN(3); - @$pb.TagNumber(4) - set xMinNormalized($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasXMinNormalized() => $_has(3); - @$pb.TagNumber(4) - void clearXMinNormalized() => clearField(4); - - @$pb.TagNumber(5) - $core.double get yMinNormalized => $_getN(4); - @$pb.TagNumber(5) - set yMinNormalized($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasYMinNormalized() => $_has(4); - @$pb.TagNumber(5) - void clearYMinNormalized() => clearField(5); - - @$pb.TagNumber(6) - $core.double get xMaxNormalized => $_getN(5); - @$pb.TagNumber(6) - set xMaxNormalized($core.double v) { $_setDouble(5, v); } - @$pb.TagNumber(6) - $core.bool hasXMaxNormalized() => $_has(5); - @$pb.TagNumber(6) - void clearXMaxNormalized() => clearField(6); - - @$pb.TagNumber(7) - $core.double get yMaxNormalized => $_getN(6); - @$pb.TagNumber(7) - set yMaxNormalized($core.double v) { $_setDouble(6, v); } - @$pb.TagNumber(7) - $core.bool hasYMaxNormalized() => $_has(6); - @$pb.TagNumber(7) - void clearYMaxNormalized() => clearField(7); - - @$pb.TagNumber(8) - $core.String get binaryDataId => $_getSZ(7); - @$pb.TagNumber(8) - set binaryDataId($core.String v) { $_setString(7, v); } - @$pb.TagNumber(8) - $core.bool hasBinaryDataId() => $_has(7); - @$pb.TagNumber(8) - void clearBinaryDataId() => clearField(8); -} - -class UpdateBoundingBoxResponse extends $pb.GeneratedMessage { - factory UpdateBoundingBoxResponse() => create(); - UpdateBoundingBoxResponse._() : super(); - factory UpdateBoundingBoxResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateBoundingBoxResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBoundingBoxResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateBoundingBoxResponse clone() => UpdateBoundingBoxResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateBoundingBoxResponse copyWith(void Function(UpdateBoundingBoxResponse) updates) => super.copyWith((message) => updates(message as UpdateBoundingBoxResponse)) as UpdateBoundingBoxResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateBoundingBoxResponse create() => UpdateBoundingBoxResponse._(); - UpdateBoundingBoxResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateBoundingBoxResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateBoundingBoxResponse? _defaultInstance; -} - -/// BoundingBoxLabelsByFilterRequest requests all the labels of the bounding boxes from files from a given filter. -class BoundingBoxLabelsByFilterRequest extends $pb.GeneratedMessage { - factory BoundingBoxLabelsByFilterRequest({ - Filter? filter, - }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - return $result; - } - BoundingBoxLabelsByFilterRequest._() : super(); - factory BoundingBoxLabelsByFilterRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BoundingBoxLabelsByFilterRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoundingBoxLabelsByFilterRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'filter', subBuilder: Filter.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BoundingBoxLabelsByFilterRequest clone() => BoundingBoxLabelsByFilterRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BoundingBoxLabelsByFilterRequest copyWith(void Function(BoundingBoxLabelsByFilterRequest) updates) => super.copyWith((message) => updates(message as BoundingBoxLabelsByFilterRequest)) as BoundingBoxLabelsByFilterRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BoundingBoxLabelsByFilterRequest create() => BoundingBoxLabelsByFilterRequest._(); - BoundingBoxLabelsByFilterRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BoundingBoxLabelsByFilterRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BoundingBoxLabelsByFilterRequest? _defaultInstance; - - @$pb.TagNumber(1) - Filter get filter => $_getN(0); - @$pb.TagNumber(1) - set filter(Filter v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFilter() => $_has(0); - @$pb.TagNumber(1) - void clearFilter() => clearField(1); - @$pb.TagNumber(1) - Filter ensureFilter() => $_ensure(0); -} - -/// BoundingBoxLabelsByFilterRequest returns all the labels of the bounding boxes from files from a given filter. -class BoundingBoxLabelsByFilterResponse extends $pb.GeneratedMessage { - factory BoundingBoxLabelsByFilterResponse({ - $core.Iterable<$core.String>? labels, - }) { - final $result = create(); - if (labels != null) { - $result.labels.addAll(labels); - } - return $result; - } - BoundingBoxLabelsByFilterResponse._() : super(); - factory BoundingBoxLabelsByFilterResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BoundingBoxLabelsByFilterResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoundingBoxLabelsByFilterResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'labels') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BoundingBoxLabelsByFilterResponse clone() => BoundingBoxLabelsByFilterResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BoundingBoxLabelsByFilterResponse copyWith(void Function(BoundingBoxLabelsByFilterResponse) updates) => super.copyWith((message) => updates(message as BoundingBoxLabelsByFilterResponse)) as BoundingBoxLabelsByFilterResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BoundingBoxLabelsByFilterResponse create() => BoundingBoxLabelsByFilterResponse._(); - BoundingBoxLabelsByFilterResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BoundingBoxLabelsByFilterResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BoundingBoxLabelsByFilterResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get labels => $_getList(0); -} - -/// ConfigureDatabaseUserRequest accepts a Viam organization ID and a password for the database user -/// being configured. Viam uses gRPC over TLS, so the entire request will be encrypted while in -/// flight, including the password. -class ConfigureDatabaseUserRequest extends $pb.GeneratedMessage { - factory ConfigureDatabaseUserRequest({ - $core.String? organizationId, - $core.String? password, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (password != null) { - $result.password = password; - } - return $result; - } - ConfigureDatabaseUserRequest._() : super(); - factory ConfigureDatabaseUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConfigureDatabaseUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConfigureDatabaseUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'password') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ConfigureDatabaseUserRequest clone() => ConfigureDatabaseUserRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConfigureDatabaseUserRequest copyWith(void Function(ConfigureDatabaseUserRequest) updates) => super.copyWith((message) => updates(message as ConfigureDatabaseUserRequest)) as ConfigureDatabaseUserRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ConfigureDatabaseUserRequest create() => ConfigureDatabaseUserRequest._(); - ConfigureDatabaseUserRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ConfigureDatabaseUserRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ConfigureDatabaseUserRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get password => $_getSZ(1); - @$pb.TagNumber(2) - set password($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPassword() => $_has(1); - @$pb.TagNumber(2) - void clearPassword() => clearField(2); -} - -class ConfigureDatabaseUserResponse extends $pb.GeneratedMessage { - factory ConfigureDatabaseUserResponse() => create(); - ConfigureDatabaseUserResponse._() : super(); - factory ConfigureDatabaseUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConfigureDatabaseUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConfigureDatabaseUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ConfigureDatabaseUserResponse clone() => ConfigureDatabaseUserResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConfigureDatabaseUserResponse copyWith(void Function(ConfigureDatabaseUserResponse) updates) => super.copyWith((message) => updates(message as ConfigureDatabaseUserResponse)) as ConfigureDatabaseUserResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ConfigureDatabaseUserResponse create() => ConfigureDatabaseUserResponse._(); - ConfigureDatabaseUserResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ConfigureDatabaseUserResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ConfigureDatabaseUserResponse? _defaultInstance; -} - -/// GetDatabaseConnectionRequest requests the database connection hostname. -class GetDatabaseConnectionRequest extends $pb.GeneratedMessage { - factory GetDatabaseConnectionRequest({ - $core.String? organizationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - GetDatabaseConnectionRequest._() : super(); - factory GetDatabaseConnectionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDatabaseConnectionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDatabaseConnectionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDatabaseConnectionRequest clone() => GetDatabaseConnectionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDatabaseConnectionRequest copyWith(void Function(GetDatabaseConnectionRequest) updates) => super.copyWith((message) => updates(message as GetDatabaseConnectionRequest)) as GetDatabaseConnectionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDatabaseConnectionRequest create() => GetDatabaseConnectionRequest._(); - GetDatabaseConnectionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDatabaseConnectionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDatabaseConnectionRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); -} - -/// GetDatabaseConnectionResponse returns the database connection hostname endpoint. It also returns -/// a URI that can be used to connect to the database instance through MongoDB clients, as well as -/// information on whether the Viam organization has a database user configured. -class GetDatabaseConnectionResponse extends $pb.GeneratedMessage { - factory GetDatabaseConnectionResponse({ - $core.String? hostname, - $core.String? mongodbUri, - $core.bool? hasDatabaseUser, - }) { - final $result = create(); - if (hostname != null) { - $result.hostname = hostname; - } - if (mongodbUri != null) { - $result.mongodbUri = mongodbUri; - } - if (hasDatabaseUser != null) { - $result.hasDatabaseUser = hasDatabaseUser; - } - return $result; - } - GetDatabaseConnectionResponse._() : super(); - factory GetDatabaseConnectionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDatabaseConnectionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDatabaseConnectionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'hostname') - ..aOS(2, _omitFieldNames ? '' : 'mongodbUri') - ..aOB(3, _omitFieldNames ? '' : 'hasDatabaseUser') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDatabaseConnectionResponse clone() => GetDatabaseConnectionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDatabaseConnectionResponse copyWith(void Function(GetDatabaseConnectionResponse) updates) => super.copyWith((message) => updates(message as GetDatabaseConnectionResponse)) as GetDatabaseConnectionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDatabaseConnectionResponse create() => GetDatabaseConnectionResponse._(); - GetDatabaseConnectionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDatabaseConnectionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDatabaseConnectionResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get hostname => $_getSZ(0); - @$pb.TagNumber(1) - set hostname($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasHostname() => $_has(0); - @$pb.TagNumber(1) - void clearHostname() => clearField(1); - - @$pb.TagNumber(2) - $core.String get mongodbUri => $_getSZ(1); - @$pb.TagNumber(2) - set mongodbUri($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMongodbUri() => $_has(1); - @$pb.TagNumber(2) - void clearMongodbUri() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get hasDatabaseUser => $_getBF(2); - @$pb.TagNumber(3) - set hasDatabaseUser($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasHasDatabaseUser() => $_has(2); - @$pb.TagNumber(3) - void clearHasDatabaseUser() => clearField(3); -} - -/// AddBinaryDataToDatasetByIDsRequest adds the binary data with the given binary IDs to a dataset with dataset_id. -class AddBinaryDataToDatasetByIDsRequest extends $pb.GeneratedMessage { - factory AddBinaryDataToDatasetByIDsRequest({ - $core.Iterable? binaryIds, - $core.String? datasetId, - $core.Iterable<$core.String>? binaryDataIds, - }) { - final $result = create(); - if (binaryIds != null) { - $result.binaryIds.addAll(binaryIds); - } - if (datasetId != null) { - $result.datasetId = datasetId; - } - if (binaryDataIds != null) { - $result.binaryDataIds.addAll(binaryDataIds); - } - return $result; - } - AddBinaryDataToDatasetByIDsRequest._() : super(); - factory AddBinaryDataToDatasetByIDsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddBinaryDataToDatasetByIDsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddBinaryDataToDatasetByIDsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'binaryIds', $pb.PbFieldType.PM, subBuilder: BinaryID.create) - ..aOS(2, _omitFieldNames ? '' : 'datasetId') - ..pPS(3, _omitFieldNames ? '' : 'binaryDataIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddBinaryDataToDatasetByIDsRequest clone() => AddBinaryDataToDatasetByIDsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddBinaryDataToDatasetByIDsRequest copyWith(void Function(AddBinaryDataToDatasetByIDsRequest) updates) => super.copyWith((message) => updates(message as AddBinaryDataToDatasetByIDsRequest)) as AddBinaryDataToDatasetByIDsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddBinaryDataToDatasetByIDsRequest create() => AddBinaryDataToDatasetByIDsRequest._(); - AddBinaryDataToDatasetByIDsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddBinaryDataToDatasetByIDsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddBinaryDataToDatasetByIDsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get binaryIds => $_getList(0); - - @$pb.TagNumber(2) - $core.String get datasetId => $_getSZ(1); - @$pb.TagNumber(2) - set datasetId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDatasetId() => $_has(1); - @$pb.TagNumber(2) - void clearDatasetId() => clearField(2); - - @$pb.TagNumber(3) - $core.List<$core.String> get binaryDataIds => $_getList(2); -} - -class AddBinaryDataToDatasetByIDsResponse extends $pb.GeneratedMessage { - factory AddBinaryDataToDatasetByIDsResponse() => create(); - AddBinaryDataToDatasetByIDsResponse._() : super(); - factory AddBinaryDataToDatasetByIDsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddBinaryDataToDatasetByIDsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddBinaryDataToDatasetByIDsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddBinaryDataToDatasetByIDsResponse clone() => AddBinaryDataToDatasetByIDsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddBinaryDataToDatasetByIDsResponse copyWith(void Function(AddBinaryDataToDatasetByIDsResponse) updates) => super.copyWith((message) => updates(message as AddBinaryDataToDatasetByIDsResponse)) as AddBinaryDataToDatasetByIDsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddBinaryDataToDatasetByIDsResponse create() => AddBinaryDataToDatasetByIDsResponse._(); - AddBinaryDataToDatasetByIDsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddBinaryDataToDatasetByIDsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddBinaryDataToDatasetByIDsResponse? _defaultInstance; -} - -/// RemoveBinaryDataFromDatasetByIDsRequest removes the specified binary IDs from a dataset with dataset_id. -class RemoveBinaryDataFromDatasetByIDsRequest extends $pb.GeneratedMessage { - factory RemoveBinaryDataFromDatasetByIDsRequest({ - $core.Iterable? binaryIds, - $core.String? datasetId, - $core.Iterable<$core.String>? binaryDataIds, - }) { - final $result = create(); - if (binaryIds != null) { - $result.binaryIds.addAll(binaryIds); - } - if (datasetId != null) { - $result.datasetId = datasetId; - } - if (binaryDataIds != null) { - $result.binaryDataIds.addAll(binaryDataIds); - } - return $result; - } - RemoveBinaryDataFromDatasetByIDsRequest._() : super(); - factory RemoveBinaryDataFromDatasetByIDsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveBinaryDataFromDatasetByIDsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveBinaryDataFromDatasetByIDsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'binaryIds', $pb.PbFieldType.PM, subBuilder: BinaryID.create) - ..aOS(2, _omitFieldNames ? '' : 'datasetId') - ..pPS(3, _omitFieldNames ? '' : 'binaryDataIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveBinaryDataFromDatasetByIDsRequest clone() => RemoveBinaryDataFromDatasetByIDsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveBinaryDataFromDatasetByIDsRequest copyWith(void Function(RemoveBinaryDataFromDatasetByIDsRequest) updates) => super.copyWith((message) => updates(message as RemoveBinaryDataFromDatasetByIDsRequest)) as RemoveBinaryDataFromDatasetByIDsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveBinaryDataFromDatasetByIDsRequest create() => RemoveBinaryDataFromDatasetByIDsRequest._(); - RemoveBinaryDataFromDatasetByIDsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveBinaryDataFromDatasetByIDsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveBinaryDataFromDatasetByIDsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get binaryIds => $_getList(0); - - @$pb.TagNumber(2) - $core.String get datasetId => $_getSZ(1); - @$pb.TagNumber(2) - set datasetId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDatasetId() => $_has(1); - @$pb.TagNumber(2) - void clearDatasetId() => clearField(2); - - @$pb.TagNumber(3) - $core.List<$core.String> get binaryDataIds => $_getList(2); -} - -class RemoveBinaryDataFromDatasetByIDsResponse extends $pb.GeneratedMessage { - factory RemoveBinaryDataFromDatasetByIDsResponse() => create(); - RemoveBinaryDataFromDatasetByIDsResponse._() : super(); - factory RemoveBinaryDataFromDatasetByIDsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveBinaryDataFromDatasetByIDsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveBinaryDataFromDatasetByIDsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveBinaryDataFromDatasetByIDsResponse clone() => RemoveBinaryDataFromDatasetByIDsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveBinaryDataFromDatasetByIDsResponse copyWith(void Function(RemoveBinaryDataFromDatasetByIDsResponse) updates) => super.copyWith((message) => updates(message as RemoveBinaryDataFromDatasetByIDsResponse)) as RemoveBinaryDataFromDatasetByIDsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveBinaryDataFromDatasetByIDsResponse create() => RemoveBinaryDataFromDatasetByIDsResponse._(); - RemoveBinaryDataFromDatasetByIDsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveBinaryDataFromDatasetByIDsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveBinaryDataFromDatasetByIDsResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/data/v1/data.pbenum.dart b/lib/src/gen/app/data/v1/data.pbenum.dart deleted file mode 100644 index 3fe477f5f10..00000000000 --- a/lib/src/gen/app/data/v1/data.pbenum.dart +++ /dev/null @@ -1,55 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/data/v1/data.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Order specifies the order in which data is returned. -class Order extends $pb.ProtobufEnum { - static const Order ORDER_UNSPECIFIED = Order._(0, _omitEnumNames ? '' : 'ORDER_UNSPECIFIED'); - static const Order ORDER_DESCENDING = Order._(1, _omitEnumNames ? '' : 'ORDER_DESCENDING'); - static const Order ORDER_ASCENDING = Order._(2, _omitEnumNames ? '' : 'ORDER_ASCENDING'); - - static const $core.List values = [ - ORDER_UNSPECIFIED, - ORDER_DESCENDING, - ORDER_ASCENDING, - ]; - - static final $core.Map<$core.int, Order> _byValue = $pb.ProtobufEnum.initByValue(values); - static Order? valueOf($core.int value) => _byValue[value]; - - const Order._($core.int v, $core.String n) : super(v, n); -} - -/// TagsFilterType specifies how data can be filtered based on tags. -class TagsFilterType extends $pb.ProtobufEnum { - static const TagsFilterType TAGS_FILTER_TYPE_UNSPECIFIED = TagsFilterType._(0, _omitEnumNames ? '' : 'TAGS_FILTER_TYPE_UNSPECIFIED'); - static const TagsFilterType TAGS_FILTER_TYPE_MATCH_BY_OR = TagsFilterType._(1, _omitEnumNames ? '' : 'TAGS_FILTER_TYPE_MATCH_BY_OR'); - static const TagsFilterType TAGS_FILTER_TYPE_TAGGED = TagsFilterType._(2, _omitEnumNames ? '' : 'TAGS_FILTER_TYPE_TAGGED'); - static const TagsFilterType TAGS_FILTER_TYPE_UNTAGGED = TagsFilterType._(3, _omitEnumNames ? '' : 'TAGS_FILTER_TYPE_UNTAGGED'); - - static const $core.List values = [ - TAGS_FILTER_TYPE_UNSPECIFIED, - TAGS_FILTER_TYPE_MATCH_BY_OR, - TAGS_FILTER_TYPE_TAGGED, - TAGS_FILTER_TYPE_UNTAGGED, - ]; - - static final $core.Map<$core.int, TagsFilterType> _byValue = $pb.ProtobufEnum.initByValue(values); - static TagsFilterType? valueOf($core.int value) => _byValue[value]; - - const TagsFilterType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/data/v1/data.pbgrpc.dart b/lib/src/gen/app/data/v1/data.pbgrpc.dart deleted file mode 100644 index 768b5f55f65..00000000000 --- a/lib/src/gen/app/data/v1/data.pbgrpc.dart +++ /dev/null @@ -1,499 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/data/v1/data.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'data.pb.dart' as $3; - -export 'data.pb.dart'; - -@$pb.GrpcServiceName('viam.app.data.v1.DataService') -class DataServiceClient extends $grpc.Client { - static final _$tabularDataByFilter = $grpc.ClientMethod<$3.TabularDataByFilterRequest, $3.TabularDataByFilterResponse>( - '/viam.app.data.v1.DataService/TabularDataByFilter', - ($3.TabularDataByFilterRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.TabularDataByFilterResponse.fromBuffer(value)); - static final _$tabularDataBySQL = $grpc.ClientMethod<$3.TabularDataBySQLRequest, $3.TabularDataBySQLResponse>( - '/viam.app.data.v1.DataService/TabularDataBySQL', - ($3.TabularDataBySQLRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.TabularDataBySQLResponse.fromBuffer(value)); - static final _$tabularDataByMQL = $grpc.ClientMethod<$3.TabularDataByMQLRequest, $3.TabularDataByMQLResponse>( - '/viam.app.data.v1.DataService/TabularDataByMQL', - ($3.TabularDataByMQLRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.TabularDataByMQLResponse.fromBuffer(value)); - static final _$exportTabularData = $grpc.ClientMethod<$3.ExportTabularDataRequest, $3.ExportTabularDataResponse>( - '/viam.app.data.v1.DataService/ExportTabularData', - ($3.ExportTabularDataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.ExportTabularDataResponse.fromBuffer(value)); - static final _$getLatestTabularData = $grpc.ClientMethod<$3.GetLatestTabularDataRequest, $3.GetLatestTabularDataResponse>( - '/viam.app.data.v1.DataService/GetLatestTabularData', - ($3.GetLatestTabularDataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.GetLatestTabularDataResponse.fromBuffer(value)); - static final _$binaryDataByFilter = $grpc.ClientMethod<$3.BinaryDataByFilterRequest, $3.BinaryDataByFilterResponse>( - '/viam.app.data.v1.DataService/BinaryDataByFilter', - ($3.BinaryDataByFilterRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.BinaryDataByFilterResponse.fromBuffer(value)); - static final _$binaryDataByIDs = $grpc.ClientMethod<$3.BinaryDataByIDsRequest, $3.BinaryDataByIDsResponse>( - '/viam.app.data.v1.DataService/BinaryDataByIDs', - ($3.BinaryDataByIDsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.BinaryDataByIDsResponse.fromBuffer(value)); - static final _$deleteTabularData = $grpc.ClientMethod<$3.DeleteTabularDataRequest, $3.DeleteTabularDataResponse>( - '/viam.app.data.v1.DataService/DeleteTabularData', - ($3.DeleteTabularDataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.DeleteTabularDataResponse.fromBuffer(value)); - static final _$deleteBinaryDataByFilter = $grpc.ClientMethod<$3.DeleteBinaryDataByFilterRequest, $3.DeleteBinaryDataByFilterResponse>( - '/viam.app.data.v1.DataService/DeleteBinaryDataByFilter', - ($3.DeleteBinaryDataByFilterRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.DeleteBinaryDataByFilterResponse.fromBuffer(value)); - static final _$deleteBinaryDataByIDs = $grpc.ClientMethod<$3.DeleteBinaryDataByIDsRequest, $3.DeleteBinaryDataByIDsResponse>( - '/viam.app.data.v1.DataService/DeleteBinaryDataByIDs', - ($3.DeleteBinaryDataByIDsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.DeleteBinaryDataByIDsResponse.fromBuffer(value)); - static final _$addTagsToBinaryDataByIDs = $grpc.ClientMethod<$3.AddTagsToBinaryDataByIDsRequest, $3.AddTagsToBinaryDataByIDsResponse>( - '/viam.app.data.v1.DataService/AddTagsToBinaryDataByIDs', - ($3.AddTagsToBinaryDataByIDsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.AddTagsToBinaryDataByIDsResponse.fromBuffer(value)); - static final _$addTagsToBinaryDataByFilter = $grpc.ClientMethod<$3.AddTagsToBinaryDataByFilterRequest, $3.AddTagsToBinaryDataByFilterResponse>( - '/viam.app.data.v1.DataService/AddTagsToBinaryDataByFilter', - ($3.AddTagsToBinaryDataByFilterRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.AddTagsToBinaryDataByFilterResponse.fromBuffer(value)); - static final _$removeTagsFromBinaryDataByIDs = $grpc.ClientMethod<$3.RemoveTagsFromBinaryDataByIDsRequest, $3.RemoveTagsFromBinaryDataByIDsResponse>( - '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByIDs', - ($3.RemoveTagsFromBinaryDataByIDsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.RemoveTagsFromBinaryDataByIDsResponse.fromBuffer(value)); - static final _$removeTagsFromBinaryDataByFilter = $grpc.ClientMethod<$3.RemoveTagsFromBinaryDataByFilterRequest, $3.RemoveTagsFromBinaryDataByFilterResponse>( - '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByFilter', - ($3.RemoveTagsFromBinaryDataByFilterRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.RemoveTagsFromBinaryDataByFilterResponse.fromBuffer(value)); - static final _$tagsByFilter = $grpc.ClientMethod<$3.TagsByFilterRequest, $3.TagsByFilterResponse>( - '/viam.app.data.v1.DataService/TagsByFilter', - ($3.TagsByFilterRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.TagsByFilterResponse.fromBuffer(value)); - static final _$addBoundingBoxToImageByID = $grpc.ClientMethod<$3.AddBoundingBoxToImageByIDRequest, $3.AddBoundingBoxToImageByIDResponse>( - '/viam.app.data.v1.DataService/AddBoundingBoxToImageByID', - ($3.AddBoundingBoxToImageByIDRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.AddBoundingBoxToImageByIDResponse.fromBuffer(value)); - static final _$removeBoundingBoxFromImageByID = $grpc.ClientMethod<$3.RemoveBoundingBoxFromImageByIDRequest, $3.RemoveBoundingBoxFromImageByIDResponse>( - '/viam.app.data.v1.DataService/RemoveBoundingBoxFromImageByID', - ($3.RemoveBoundingBoxFromImageByIDRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.RemoveBoundingBoxFromImageByIDResponse.fromBuffer(value)); - static final _$boundingBoxLabelsByFilter = $grpc.ClientMethod<$3.BoundingBoxLabelsByFilterRequest, $3.BoundingBoxLabelsByFilterResponse>( - '/viam.app.data.v1.DataService/BoundingBoxLabelsByFilter', - ($3.BoundingBoxLabelsByFilterRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.BoundingBoxLabelsByFilterResponse.fromBuffer(value)); - static final _$updateBoundingBox = $grpc.ClientMethod<$3.UpdateBoundingBoxRequest, $3.UpdateBoundingBoxResponse>( - '/viam.app.data.v1.DataService/UpdateBoundingBox', - ($3.UpdateBoundingBoxRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.UpdateBoundingBoxResponse.fromBuffer(value)); - static final _$getDatabaseConnection = $grpc.ClientMethod<$3.GetDatabaseConnectionRequest, $3.GetDatabaseConnectionResponse>( - '/viam.app.data.v1.DataService/GetDatabaseConnection', - ($3.GetDatabaseConnectionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.GetDatabaseConnectionResponse.fromBuffer(value)); - static final _$configureDatabaseUser = $grpc.ClientMethod<$3.ConfigureDatabaseUserRequest, $3.ConfigureDatabaseUserResponse>( - '/viam.app.data.v1.DataService/ConfigureDatabaseUser', - ($3.ConfigureDatabaseUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.ConfigureDatabaseUserResponse.fromBuffer(value)); - static final _$addBinaryDataToDatasetByIDs = $grpc.ClientMethod<$3.AddBinaryDataToDatasetByIDsRequest, $3.AddBinaryDataToDatasetByIDsResponse>( - '/viam.app.data.v1.DataService/AddBinaryDataToDatasetByIDs', - ($3.AddBinaryDataToDatasetByIDsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.AddBinaryDataToDatasetByIDsResponse.fromBuffer(value)); - static final _$removeBinaryDataFromDatasetByIDs = $grpc.ClientMethod<$3.RemoveBinaryDataFromDatasetByIDsRequest, $3.RemoveBinaryDataFromDatasetByIDsResponse>( - '/viam.app.data.v1.DataService/RemoveBinaryDataFromDatasetByIDs', - ($3.RemoveBinaryDataFromDatasetByIDsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.RemoveBinaryDataFromDatasetByIDsResponse.fromBuffer(value)); - - DataServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$3.TabularDataByFilterResponse> tabularDataByFilter($3.TabularDataByFilterRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$tabularDataByFilter, request, options: options); - } - - $grpc.ResponseFuture<$3.TabularDataBySQLResponse> tabularDataBySQL($3.TabularDataBySQLRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$tabularDataBySQL, request, options: options); - } - - $grpc.ResponseFuture<$3.TabularDataByMQLResponse> tabularDataByMQL($3.TabularDataByMQLRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$tabularDataByMQL, request, options: options); - } - - $grpc.ResponseStream<$3.ExportTabularDataResponse> exportTabularData($3.ExportTabularDataRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$exportTabularData, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$3.GetLatestTabularDataResponse> getLatestTabularData($3.GetLatestTabularDataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getLatestTabularData, request, options: options); - } - - $grpc.ResponseFuture<$3.BinaryDataByFilterResponse> binaryDataByFilter($3.BinaryDataByFilterRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$binaryDataByFilter, request, options: options); - } - - $grpc.ResponseFuture<$3.BinaryDataByIDsResponse> binaryDataByIDs($3.BinaryDataByIDsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$binaryDataByIDs, request, options: options); - } - - $grpc.ResponseFuture<$3.DeleteTabularDataResponse> deleteTabularData($3.DeleteTabularDataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteTabularData, request, options: options); - } - - $grpc.ResponseFuture<$3.DeleteBinaryDataByFilterResponse> deleteBinaryDataByFilter($3.DeleteBinaryDataByFilterRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteBinaryDataByFilter, request, options: options); - } - - $grpc.ResponseFuture<$3.DeleteBinaryDataByIDsResponse> deleteBinaryDataByIDs($3.DeleteBinaryDataByIDsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteBinaryDataByIDs, request, options: options); - } - - $grpc.ResponseFuture<$3.AddTagsToBinaryDataByIDsResponse> addTagsToBinaryDataByIDs($3.AddTagsToBinaryDataByIDsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addTagsToBinaryDataByIDs, request, options: options); - } - - $grpc.ResponseFuture<$3.AddTagsToBinaryDataByFilterResponse> addTagsToBinaryDataByFilter($3.AddTagsToBinaryDataByFilterRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addTagsToBinaryDataByFilter, request, options: options); - } - - $grpc.ResponseFuture<$3.RemoveTagsFromBinaryDataByIDsResponse> removeTagsFromBinaryDataByIDs($3.RemoveTagsFromBinaryDataByIDsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeTagsFromBinaryDataByIDs, request, options: options); - } - - $grpc.ResponseFuture<$3.RemoveTagsFromBinaryDataByFilterResponse> removeTagsFromBinaryDataByFilter($3.RemoveTagsFromBinaryDataByFilterRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeTagsFromBinaryDataByFilter, request, options: options); - } - - $grpc.ResponseFuture<$3.TagsByFilterResponse> tagsByFilter($3.TagsByFilterRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$tagsByFilter, request, options: options); - } - - $grpc.ResponseFuture<$3.AddBoundingBoxToImageByIDResponse> addBoundingBoxToImageByID($3.AddBoundingBoxToImageByIDRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addBoundingBoxToImageByID, request, options: options); - } - - $grpc.ResponseFuture<$3.RemoveBoundingBoxFromImageByIDResponse> removeBoundingBoxFromImageByID($3.RemoveBoundingBoxFromImageByIDRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeBoundingBoxFromImageByID, request, options: options); - } - - $grpc.ResponseFuture<$3.BoundingBoxLabelsByFilterResponse> boundingBoxLabelsByFilter($3.BoundingBoxLabelsByFilterRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$boundingBoxLabelsByFilter, request, options: options); - } - - $grpc.ResponseFuture<$3.UpdateBoundingBoxResponse> updateBoundingBox($3.UpdateBoundingBoxRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateBoundingBox, request, options: options); - } - - $grpc.ResponseFuture<$3.GetDatabaseConnectionResponse> getDatabaseConnection($3.GetDatabaseConnectionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getDatabaseConnection, request, options: options); - } - - $grpc.ResponseFuture<$3.ConfigureDatabaseUserResponse> configureDatabaseUser($3.ConfigureDatabaseUserRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$configureDatabaseUser, request, options: options); - } - - $grpc.ResponseFuture<$3.AddBinaryDataToDatasetByIDsResponse> addBinaryDataToDatasetByIDs($3.AddBinaryDataToDatasetByIDsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addBinaryDataToDatasetByIDs, request, options: options); - } - - $grpc.ResponseFuture<$3.RemoveBinaryDataFromDatasetByIDsResponse> removeBinaryDataFromDatasetByIDs($3.RemoveBinaryDataFromDatasetByIDsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeBinaryDataFromDatasetByIDs, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.data.v1.DataService') -abstract class DataServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.data.v1.DataService'; - - DataServiceBase() { - $addMethod($grpc.ServiceMethod<$3.TabularDataByFilterRequest, $3.TabularDataByFilterResponse>( - 'TabularDataByFilter', - tabularDataByFilter_Pre, - false, - false, - ($core.List<$core.int> value) => $3.TabularDataByFilterRequest.fromBuffer(value), - ($3.TabularDataByFilterResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.TabularDataBySQLRequest, $3.TabularDataBySQLResponse>( - 'TabularDataBySQL', - tabularDataBySQL_Pre, - false, - false, - ($core.List<$core.int> value) => $3.TabularDataBySQLRequest.fromBuffer(value), - ($3.TabularDataBySQLResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.TabularDataByMQLRequest, $3.TabularDataByMQLResponse>( - 'TabularDataByMQL', - tabularDataByMQL_Pre, - false, - false, - ($core.List<$core.int> value) => $3.TabularDataByMQLRequest.fromBuffer(value), - ($3.TabularDataByMQLResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.ExportTabularDataRequest, $3.ExportTabularDataResponse>( - 'ExportTabularData', - exportTabularData_Pre, - false, - true, - ($core.List<$core.int> value) => $3.ExportTabularDataRequest.fromBuffer(value), - ($3.ExportTabularDataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.GetLatestTabularDataRequest, $3.GetLatestTabularDataResponse>( - 'GetLatestTabularData', - getLatestTabularData_Pre, - false, - false, - ($core.List<$core.int> value) => $3.GetLatestTabularDataRequest.fromBuffer(value), - ($3.GetLatestTabularDataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.BinaryDataByFilterRequest, $3.BinaryDataByFilterResponse>( - 'BinaryDataByFilter', - binaryDataByFilter_Pre, - false, - false, - ($core.List<$core.int> value) => $3.BinaryDataByFilterRequest.fromBuffer(value), - ($3.BinaryDataByFilterResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.BinaryDataByIDsRequest, $3.BinaryDataByIDsResponse>( - 'BinaryDataByIDs', - binaryDataByIDs_Pre, - false, - false, - ($core.List<$core.int> value) => $3.BinaryDataByIDsRequest.fromBuffer(value), - ($3.BinaryDataByIDsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.DeleteTabularDataRequest, $3.DeleteTabularDataResponse>( - 'DeleteTabularData', - deleteTabularData_Pre, - false, - false, - ($core.List<$core.int> value) => $3.DeleteTabularDataRequest.fromBuffer(value), - ($3.DeleteTabularDataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.DeleteBinaryDataByFilterRequest, $3.DeleteBinaryDataByFilterResponse>( - 'DeleteBinaryDataByFilter', - deleteBinaryDataByFilter_Pre, - false, - false, - ($core.List<$core.int> value) => $3.DeleteBinaryDataByFilterRequest.fromBuffer(value), - ($3.DeleteBinaryDataByFilterResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.DeleteBinaryDataByIDsRequest, $3.DeleteBinaryDataByIDsResponse>( - 'DeleteBinaryDataByIDs', - deleteBinaryDataByIDs_Pre, - false, - false, - ($core.List<$core.int> value) => $3.DeleteBinaryDataByIDsRequest.fromBuffer(value), - ($3.DeleteBinaryDataByIDsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.AddTagsToBinaryDataByIDsRequest, $3.AddTagsToBinaryDataByIDsResponse>( - 'AddTagsToBinaryDataByIDs', - addTagsToBinaryDataByIDs_Pre, - false, - false, - ($core.List<$core.int> value) => $3.AddTagsToBinaryDataByIDsRequest.fromBuffer(value), - ($3.AddTagsToBinaryDataByIDsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.AddTagsToBinaryDataByFilterRequest, $3.AddTagsToBinaryDataByFilterResponse>( - 'AddTagsToBinaryDataByFilter', - addTagsToBinaryDataByFilter_Pre, - false, - false, - ($core.List<$core.int> value) => $3.AddTagsToBinaryDataByFilterRequest.fromBuffer(value), - ($3.AddTagsToBinaryDataByFilterResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.RemoveTagsFromBinaryDataByIDsRequest, $3.RemoveTagsFromBinaryDataByIDsResponse>( - 'RemoveTagsFromBinaryDataByIDs', - removeTagsFromBinaryDataByIDs_Pre, - false, - false, - ($core.List<$core.int> value) => $3.RemoveTagsFromBinaryDataByIDsRequest.fromBuffer(value), - ($3.RemoveTagsFromBinaryDataByIDsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.RemoveTagsFromBinaryDataByFilterRequest, $3.RemoveTagsFromBinaryDataByFilterResponse>( - 'RemoveTagsFromBinaryDataByFilter', - removeTagsFromBinaryDataByFilter_Pre, - false, - false, - ($core.List<$core.int> value) => $3.RemoveTagsFromBinaryDataByFilterRequest.fromBuffer(value), - ($3.RemoveTagsFromBinaryDataByFilterResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.TagsByFilterRequest, $3.TagsByFilterResponse>( - 'TagsByFilter', - tagsByFilter_Pre, - false, - false, - ($core.List<$core.int> value) => $3.TagsByFilterRequest.fromBuffer(value), - ($3.TagsByFilterResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.AddBoundingBoxToImageByIDRequest, $3.AddBoundingBoxToImageByIDResponse>( - 'AddBoundingBoxToImageByID', - addBoundingBoxToImageByID_Pre, - false, - false, - ($core.List<$core.int> value) => $3.AddBoundingBoxToImageByIDRequest.fromBuffer(value), - ($3.AddBoundingBoxToImageByIDResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.RemoveBoundingBoxFromImageByIDRequest, $3.RemoveBoundingBoxFromImageByIDResponse>( - 'RemoveBoundingBoxFromImageByID', - removeBoundingBoxFromImageByID_Pre, - false, - false, - ($core.List<$core.int> value) => $3.RemoveBoundingBoxFromImageByIDRequest.fromBuffer(value), - ($3.RemoveBoundingBoxFromImageByIDResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.BoundingBoxLabelsByFilterRequest, $3.BoundingBoxLabelsByFilterResponse>( - 'BoundingBoxLabelsByFilter', - boundingBoxLabelsByFilter_Pre, - false, - false, - ($core.List<$core.int> value) => $3.BoundingBoxLabelsByFilterRequest.fromBuffer(value), - ($3.BoundingBoxLabelsByFilterResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.UpdateBoundingBoxRequest, $3.UpdateBoundingBoxResponse>( - 'UpdateBoundingBox', - updateBoundingBox_Pre, - false, - false, - ($core.List<$core.int> value) => $3.UpdateBoundingBoxRequest.fromBuffer(value), - ($3.UpdateBoundingBoxResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.GetDatabaseConnectionRequest, $3.GetDatabaseConnectionResponse>( - 'GetDatabaseConnection', - getDatabaseConnection_Pre, - false, - false, - ($core.List<$core.int> value) => $3.GetDatabaseConnectionRequest.fromBuffer(value), - ($3.GetDatabaseConnectionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.ConfigureDatabaseUserRequest, $3.ConfigureDatabaseUserResponse>( - 'ConfigureDatabaseUser', - configureDatabaseUser_Pre, - false, - false, - ($core.List<$core.int> value) => $3.ConfigureDatabaseUserRequest.fromBuffer(value), - ($3.ConfigureDatabaseUserResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.AddBinaryDataToDatasetByIDsRequest, $3.AddBinaryDataToDatasetByIDsResponse>( - 'AddBinaryDataToDatasetByIDs', - addBinaryDataToDatasetByIDs_Pre, - false, - false, - ($core.List<$core.int> value) => $3.AddBinaryDataToDatasetByIDsRequest.fromBuffer(value), - ($3.AddBinaryDataToDatasetByIDsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.RemoveBinaryDataFromDatasetByIDsRequest, $3.RemoveBinaryDataFromDatasetByIDsResponse>( - 'RemoveBinaryDataFromDatasetByIDs', - removeBinaryDataFromDatasetByIDs_Pre, - false, - false, - ($core.List<$core.int> value) => $3.RemoveBinaryDataFromDatasetByIDsRequest.fromBuffer(value), - ($3.RemoveBinaryDataFromDatasetByIDsResponse value) => value.writeToBuffer())); - } - - $async.Future<$3.TabularDataByFilterResponse> tabularDataByFilter_Pre($grpc.ServiceCall call, $async.Future<$3.TabularDataByFilterRequest> request) async { - return tabularDataByFilter(call, await request); - } - - $async.Future<$3.TabularDataBySQLResponse> tabularDataBySQL_Pre($grpc.ServiceCall call, $async.Future<$3.TabularDataBySQLRequest> request) async { - return tabularDataBySQL(call, await request); - } - - $async.Future<$3.TabularDataByMQLResponse> tabularDataByMQL_Pre($grpc.ServiceCall call, $async.Future<$3.TabularDataByMQLRequest> request) async { - return tabularDataByMQL(call, await request); - } - - $async.Stream<$3.ExportTabularDataResponse> exportTabularData_Pre($grpc.ServiceCall call, $async.Future<$3.ExportTabularDataRequest> request) async* { - yield* exportTabularData(call, await request); - } - - $async.Future<$3.GetLatestTabularDataResponse> getLatestTabularData_Pre($grpc.ServiceCall call, $async.Future<$3.GetLatestTabularDataRequest> request) async { - return getLatestTabularData(call, await request); - } - - $async.Future<$3.BinaryDataByFilterResponse> binaryDataByFilter_Pre($grpc.ServiceCall call, $async.Future<$3.BinaryDataByFilterRequest> request) async { - return binaryDataByFilter(call, await request); - } - - $async.Future<$3.BinaryDataByIDsResponse> binaryDataByIDs_Pre($grpc.ServiceCall call, $async.Future<$3.BinaryDataByIDsRequest> request) async { - return binaryDataByIDs(call, await request); - } - - $async.Future<$3.DeleteTabularDataResponse> deleteTabularData_Pre($grpc.ServiceCall call, $async.Future<$3.DeleteTabularDataRequest> request) async { - return deleteTabularData(call, await request); - } - - $async.Future<$3.DeleteBinaryDataByFilterResponse> deleteBinaryDataByFilter_Pre($grpc.ServiceCall call, $async.Future<$3.DeleteBinaryDataByFilterRequest> request) async { - return deleteBinaryDataByFilter(call, await request); - } - - $async.Future<$3.DeleteBinaryDataByIDsResponse> deleteBinaryDataByIDs_Pre($grpc.ServiceCall call, $async.Future<$3.DeleteBinaryDataByIDsRequest> request) async { - return deleteBinaryDataByIDs(call, await request); - } - - $async.Future<$3.AddTagsToBinaryDataByIDsResponse> addTagsToBinaryDataByIDs_Pre($grpc.ServiceCall call, $async.Future<$3.AddTagsToBinaryDataByIDsRequest> request) async { - return addTagsToBinaryDataByIDs(call, await request); - } - - $async.Future<$3.AddTagsToBinaryDataByFilterResponse> addTagsToBinaryDataByFilter_Pre($grpc.ServiceCall call, $async.Future<$3.AddTagsToBinaryDataByFilterRequest> request) async { - return addTagsToBinaryDataByFilter(call, await request); - } - - $async.Future<$3.RemoveTagsFromBinaryDataByIDsResponse> removeTagsFromBinaryDataByIDs_Pre($grpc.ServiceCall call, $async.Future<$3.RemoveTagsFromBinaryDataByIDsRequest> request) async { - return removeTagsFromBinaryDataByIDs(call, await request); - } - - $async.Future<$3.RemoveTagsFromBinaryDataByFilterResponse> removeTagsFromBinaryDataByFilter_Pre($grpc.ServiceCall call, $async.Future<$3.RemoveTagsFromBinaryDataByFilterRequest> request) async { - return removeTagsFromBinaryDataByFilter(call, await request); - } - - $async.Future<$3.TagsByFilterResponse> tagsByFilter_Pre($grpc.ServiceCall call, $async.Future<$3.TagsByFilterRequest> request) async { - return tagsByFilter(call, await request); - } - - $async.Future<$3.AddBoundingBoxToImageByIDResponse> addBoundingBoxToImageByID_Pre($grpc.ServiceCall call, $async.Future<$3.AddBoundingBoxToImageByIDRequest> request) async { - return addBoundingBoxToImageByID(call, await request); - } - - $async.Future<$3.RemoveBoundingBoxFromImageByIDResponse> removeBoundingBoxFromImageByID_Pre($grpc.ServiceCall call, $async.Future<$3.RemoveBoundingBoxFromImageByIDRequest> request) async { - return removeBoundingBoxFromImageByID(call, await request); - } - - $async.Future<$3.BoundingBoxLabelsByFilterResponse> boundingBoxLabelsByFilter_Pre($grpc.ServiceCall call, $async.Future<$3.BoundingBoxLabelsByFilterRequest> request) async { - return boundingBoxLabelsByFilter(call, await request); - } - - $async.Future<$3.UpdateBoundingBoxResponse> updateBoundingBox_Pre($grpc.ServiceCall call, $async.Future<$3.UpdateBoundingBoxRequest> request) async { - return updateBoundingBox(call, await request); - } - - $async.Future<$3.GetDatabaseConnectionResponse> getDatabaseConnection_Pre($grpc.ServiceCall call, $async.Future<$3.GetDatabaseConnectionRequest> request) async { - return getDatabaseConnection(call, await request); - } - - $async.Future<$3.ConfigureDatabaseUserResponse> configureDatabaseUser_Pre($grpc.ServiceCall call, $async.Future<$3.ConfigureDatabaseUserRequest> request) async { - return configureDatabaseUser(call, await request); - } - - $async.Future<$3.AddBinaryDataToDatasetByIDsResponse> addBinaryDataToDatasetByIDs_Pre($grpc.ServiceCall call, $async.Future<$3.AddBinaryDataToDatasetByIDsRequest> request) async { - return addBinaryDataToDatasetByIDs(call, await request); - } - - $async.Future<$3.RemoveBinaryDataFromDatasetByIDsResponse> removeBinaryDataFromDatasetByIDs_Pre($grpc.ServiceCall call, $async.Future<$3.RemoveBinaryDataFromDatasetByIDsRequest> request) async { - return removeBinaryDataFromDatasetByIDs(call, await request); - } - - $async.Future<$3.TabularDataByFilterResponse> tabularDataByFilter($grpc.ServiceCall call, $3.TabularDataByFilterRequest request); - $async.Future<$3.TabularDataBySQLResponse> tabularDataBySQL($grpc.ServiceCall call, $3.TabularDataBySQLRequest request); - $async.Future<$3.TabularDataByMQLResponse> tabularDataByMQL($grpc.ServiceCall call, $3.TabularDataByMQLRequest request); - $async.Stream<$3.ExportTabularDataResponse> exportTabularData($grpc.ServiceCall call, $3.ExportTabularDataRequest request); - $async.Future<$3.GetLatestTabularDataResponse> getLatestTabularData($grpc.ServiceCall call, $3.GetLatestTabularDataRequest request); - $async.Future<$3.BinaryDataByFilterResponse> binaryDataByFilter($grpc.ServiceCall call, $3.BinaryDataByFilterRequest request); - $async.Future<$3.BinaryDataByIDsResponse> binaryDataByIDs($grpc.ServiceCall call, $3.BinaryDataByIDsRequest request); - $async.Future<$3.DeleteTabularDataResponse> deleteTabularData($grpc.ServiceCall call, $3.DeleteTabularDataRequest request); - $async.Future<$3.DeleteBinaryDataByFilterResponse> deleteBinaryDataByFilter($grpc.ServiceCall call, $3.DeleteBinaryDataByFilterRequest request); - $async.Future<$3.DeleteBinaryDataByIDsResponse> deleteBinaryDataByIDs($grpc.ServiceCall call, $3.DeleteBinaryDataByIDsRequest request); - $async.Future<$3.AddTagsToBinaryDataByIDsResponse> addTagsToBinaryDataByIDs($grpc.ServiceCall call, $3.AddTagsToBinaryDataByIDsRequest request); - $async.Future<$3.AddTagsToBinaryDataByFilterResponse> addTagsToBinaryDataByFilter($grpc.ServiceCall call, $3.AddTagsToBinaryDataByFilterRequest request); - $async.Future<$3.RemoveTagsFromBinaryDataByIDsResponse> removeTagsFromBinaryDataByIDs($grpc.ServiceCall call, $3.RemoveTagsFromBinaryDataByIDsRequest request); - $async.Future<$3.RemoveTagsFromBinaryDataByFilterResponse> removeTagsFromBinaryDataByFilter($grpc.ServiceCall call, $3.RemoveTagsFromBinaryDataByFilterRequest request); - $async.Future<$3.TagsByFilterResponse> tagsByFilter($grpc.ServiceCall call, $3.TagsByFilterRequest request); - $async.Future<$3.AddBoundingBoxToImageByIDResponse> addBoundingBoxToImageByID($grpc.ServiceCall call, $3.AddBoundingBoxToImageByIDRequest request); - $async.Future<$3.RemoveBoundingBoxFromImageByIDResponse> removeBoundingBoxFromImageByID($grpc.ServiceCall call, $3.RemoveBoundingBoxFromImageByIDRequest request); - $async.Future<$3.BoundingBoxLabelsByFilterResponse> boundingBoxLabelsByFilter($grpc.ServiceCall call, $3.BoundingBoxLabelsByFilterRequest request); - $async.Future<$3.UpdateBoundingBoxResponse> updateBoundingBox($grpc.ServiceCall call, $3.UpdateBoundingBoxRequest request); - $async.Future<$3.GetDatabaseConnectionResponse> getDatabaseConnection($grpc.ServiceCall call, $3.GetDatabaseConnectionRequest request); - $async.Future<$3.ConfigureDatabaseUserResponse> configureDatabaseUser($grpc.ServiceCall call, $3.ConfigureDatabaseUserRequest request); - $async.Future<$3.AddBinaryDataToDatasetByIDsResponse> addBinaryDataToDatasetByIDs($grpc.ServiceCall call, $3.AddBinaryDataToDatasetByIDsRequest request); - $async.Future<$3.RemoveBinaryDataFromDatasetByIDsResponse> removeBinaryDataFromDatasetByIDs($grpc.ServiceCall call, $3.RemoveBinaryDataFromDatasetByIDsRequest request); -} diff --git a/lib/src/gen/app/data/v1/data.pbjson.dart b/lib/src/gen/app/data/v1/data.pbjson.dart deleted file mode 100644 index c9bde0a5e20..00000000000 --- a/lib/src/gen/app/data/v1/data.pbjson.dart +++ /dev/null @@ -1,1063 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/data/v1/data.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use orderDescriptor instead') -const Order$json = { - '1': 'Order', - '2': [ - {'1': 'ORDER_UNSPECIFIED', '2': 0}, - {'1': 'ORDER_DESCENDING', '2': 1}, - {'1': 'ORDER_ASCENDING', '2': 2}, - ], -}; - -/// Descriptor for `Order`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List orderDescriptor = $convert.base64Decode( - 'CgVPcmRlchIVChFPUkRFUl9VTlNQRUNJRklFRBAAEhQKEE9SREVSX0RFU0NFTkRJTkcQARITCg' - '9PUkRFUl9BU0NFTkRJTkcQAg=='); - -@$core.Deprecated('Use tagsFilterTypeDescriptor instead') -const TagsFilterType$json = { - '1': 'TagsFilterType', - '2': [ - {'1': 'TAGS_FILTER_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'TAGS_FILTER_TYPE_MATCH_BY_OR', '2': 1}, - {'1': 'TAGS_FILTER_TYPE_TAGGED', '2': 2}, - {'1': 'TAGS_FILTER_TYPE_UNTAGGED', '2': 3}, - ], -}; - -/// Descriptor for `TagsFilterType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List tagsFilterTypeDescriptor = $convert.base64Decode( - 'Cg5UYWdzRmlsdGVyVHlwZRIgChxUQUdTX0ZJTFRFUl9UWVBFX1VOU1BFQ0lGSUVEEAASIAocVE' - 'FHU19GSUxURVJfVFlQRV9NQVRDSF9CWV9PUhABEhsKF1RBR1NfRklMVEVSX1RZUEVfVEFHR0VE' - 'EAISHQoZVEFHU19GSUxURVJfVFlQRV9VTlRBR0dFRBAD'); - -@$core.Deprecated('Use dataRequestDescriptor instead') -const DataRequest$json = { - '1': 'DataRequest', - '2': [ - {'1': 'filter', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.Filter', '10': 'filter'}, - {'1': 'limit', '3': 2, '4': 1, '5': 4, '10': 'limit'}, - {'1': 'last', '3': 3, '4': 1, '5': 9, '10': 'last'}, - {'1': 'sort_order', '3': 4, '4': 1, '5': 14, '6': '.viam.app.data.v1.Order', '10': 'sortOrder'}, - ], -}; - -/// Descriptor for `DataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataRequestDescriptor = $convert.base64Decode( - 'CgtEYXRhUmVxdWVzdBIwCgZmaWx0ZXIYASABKAsyGC52aWFtLmFwcC5kYXRhLnYxLkZpbHRlcl' - 'IGZmlsdGVyEhQKBWxpbWl0GAIgASgEUgVsaW1pdBISCgRsYXN0GAMgASgJUgRsYXN0EjYKCnNv' - 'cnRfb3JkZXIYBCABKA4yFy52aWFtLmFwcC5kYXRhLnYxLk9yZGVyUglzb3J0T3JkZXI='); - -@$core.Deprecated('Use filterDescriptor instead') -const Filter$json = { - '1': 'Filter', - '2': [ - {'1': 'component_name', '3': 1, '4': 1, '5': 9, '10': 'componentName'}, - {'1': 'component_type', '3': 2, '4': 1, '5': 9, '10': 'componentType'}, - {'1': 'method', '3': 4, '4': 1, '5': 9, '10': 'method'}, - {'1': 'robot_name', '3': 6, '4': 1, '5': 9, '10': 'robotName'}, - {'1': 'robot_id', '3': 7, '4': 1, '5': 9, '10': 'robotId'}, - {'1': 'part_name', '3': 8, '4': 1, '5': 9, '10': 'partName'}, - {'1': 'part_id', '3': 9, '4': 1, '5': 9, '10': 'partId'}, - {'1': 'location_ids', '3': 10, '4': 3, '5': 9, '10': 'locationIds'}, - {'1': 'organization_ids', '3': 11, '4': 3, '5': 9, '10': 'organizationIds'}, - {'1': 'mime_type', '3': 12, '4': 3, '5': 9, '10': 'mimeType'}, - {'1': 'interval', '3': 13, '4': 1, '5': 11, '6': '.viam.app.data.v1.CaptureInterval', '10': 'interval'}, - {'1': 'tags_filter', '3': 14, '4': 1, '5': 11, '6': '.viam.app.data.v1.TagsFilter', '10': 'tagsFilter'}, - {'1': 'bbox_labels', '3': 15, '4': 3, '5': 9, '10': 'bboxLabels'}, - {'1': 'dataset_id', '3': 16, '4': 1, '5': 9, '10': 'datasetId'}, - ], - '9': [ - {'1': 3, '2': 4}, - {'1': 5, '2': 6}, - ], - '10': ['component_model', 'tags'], -}; - -/// Descriptor for `Filter`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List filterDescriptor = $convert.base64Decode( - 'CgZGaWx0ZXISJQoOY29tcG9uZW50X25hbWUYASABKAlSDWNvbXBvbmVudE5hbWUSJQoOY29tcG' - '9uZW50X3R5cGUYAiABKAlSDWNvbXBvbmVudFR5cGUSFgoGbWV0aG9kGAQgASgJUgZtZXRob2QS' - 'HQoKcm9ib3RfbmFtZRgGIAEoCVIJcm9ib3ROYW1lEhkKCHJvYm90X2lkGAcgASgJUgdyb2JvdE' - 'lkEhsKCXBhcnRfbmFtZRgIIAEoCVIIcGFydE5hbWUSFwoHcGFydF9pZBgJIAEoCVIGcGFydElk' - 'EiEKDGxvY2F0aW9uX2lkcxgKIAMoCVILbG9jYXRpb25JZHMSKQoQb3JnYW5pemF0aW9uX2lkcx' - 'gLIAMoCVIPb3JnYW5pemF0aW9uSWRzEhsKCW1pbWVfdHlwZRgMIAMoCVIIbWltZVR5cGUSPQoI' - 'aW50ZXJ2YWwYDSABKAsyIS52aWFtLmFwcC5kYXRhLnYxLkNhcHR1cmVJbnRlcnZhbFIIaW50ZX' - 'J2YWwSPQoLdGFnc19maWx0ZXIYDiABKAsyHC52aWFtLmFwcC5kYXRhLnYxLlRhZ3NGaWx0ZXJS' - 'CnRhZ3NGaWx0ZXISHwoLYmJveF9sYWJlbHMYDyADKAlSCmJib3hMYWJlbHMSHQoKZGF0YXNldF' - '9pZBgQIAEoCVIJZGF0YXNldElkSgQIAxAESgQIBRAGUg9jb21wb25lbnRfbW9kZWxSBHRhZ3M='); - -@$core.Deprecated('Use tagsFilterDescriptor instead') -const TagsFilter$json = { - '1': 'TagsFilter', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.data.v1.TagsFilterType', '10': 'type'}, - {'1': 'tags', '3': 2, '4': 3, '5': 9, '10': 'tags'}, - ], -}; - -/// Descriptor for `TagsFilter`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tagsFilterDescriptor = $convert.base64Decode( - 'CgpUYWdzRmlsdGVyEjQKBHR5cGUYASABKA4yIC52aWFtLmFwcC5kYXRhLnYxLlRhZ3NGaWx0ZX' - 'JUeXBlUgR0eXBlEhIKBHRhZ3MYAiADKAlSBHRhZ3M='); - -@$core.Deprecated('Use captureMetadataDescriptor instead') -const CaptureMetadata$json = { - '1': 'CaptureMetadata', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'location_id', '3': 2, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'robot_name', '3': 3, '4': 1, '5': 9, '10': 'robotName'}, - {'1': 'robot_id', '3': 4, '4': 1, '5': 9, '10': 'robotId'}, - {'1': 'part_name', '3': 5, '4': 1, '5': 9, '10': 'partName'}, - {'1': 'part_id', '3': 6, '4': 1, '5': 9, '10': 'partId'}, - {'1': 'component_type', '3': 7, '4': 1, '5': 9, '10': 'componentType'}, - {'1': 'component_name', '3': 9, '4': 1, '5': 9, '10': 'componentName'}, - {'1': 'method_name', '3': 10, '4': 1, '5': 9, '10': 'methodName'}, - {'1': 'method_parameters', '3': 11, '4': 3, '5': 11, '6': '.viam.app.data.v1.CaptureMetadata.MethodParametersEntry', '10': 'methodParameters'}, - {'1': 'tags', '3': 12, '4': 3, '5': 9, '10': 'tags'}, - {'1': 'mime_type', '3': 13, '4': 1, '5': 9, '10': 'mimeType'}, - ], - '3': [CaptureMetadata_MethodParametersEntry$json], - '9': [ - {'1': 8, '2': 9}, - ], - '10': ['component_model'], -}; - -@$core.Deprecated('Use captureMetadataDescriptor instead') -const CaptureMetadata_MethodParametersEntry$json = { - '1': 'MethodParametersEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Any', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `CaptureMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List captureMetadataDescriptor = $convert.base64Decode( - 'Cg9DYXB0dXJlTWV0YWRhdGESJwoPb3JnYW5pemF0aW9uX2lkGAEgASgJUg5vcmdhbml6YXRpb2' - '5JZBIfCgtsb2NhdGlvbl9pZBgCIAEoCVIKbG9jYXRpb25JZBIdCgpyb2JvdF9uYW1lGAMgASgJ' - 'Uglyb2JvdE5hbWUSGQoIcm9ib3RfaWQYBCABKAlSB3JvYm90SWQSGwoJcGFydF9uYW1lGAUgAS' - 'gJUghwYXJ0TmFtZRIXCgdwYXJ0X2lkGAYgASgJUgZwYXJ0SWQSJQoOY29tcG9uZW50X3R5cGUY' - 'ByABKAlSDWNvbXBvbmVudFR5cGUSJQoOY29tcG9uZW50X25hbWUYCSABKAlSDWNvbXBvbmVudE' - '5hbWUSHwoLbWV0aG9kX25hbWUYCiABKAlSCm1ldGhvZE5hbWUSZAoRbWV0aG9kX3BhcmFtZXRl' - 'cnMYCyADKAsyNy52aWFtLmFwcC5kYXRhLnYxLkNhcHR1cmVNZXRhZGF0YS5NZXRob2RQYXJhbW' - 'V0ZXJzRW50cnlSEG1ldGhvZFBhcmFtZXRlcnMSEgoEdGFncxgMIAMoCVIEdGFncxIbCgltaW1l' - 'X3R5cGUYDSABKAlSCG1pbWVUeXBlGlkKFU1ldGhvZFBhcmFtZXRlcnNFbnRyeRIQCgNrZXkYAS' - 'ABKAlSA2tleRIqCgV2YWx1ZRgCIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlSBXZhbHVlOgI4' - 'AUoECAgQCVIPY29tcG9uZW50X21vZGVs'); - -@$core.Deprecated('Use captureIntervalDescriptor instead') -const CaptureInterval$json = { - '1': 'CaptureInterval', - '2': [ - {'1': 'start', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'start'}, - {'1': 'end', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'end'}, - ], -}; - -/// Descriptor for `CaptureInterval`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List captureIntervalDescriptor = $convert.base64Decode( - 'Cg9DYXB0dXJlSW50ZXJ2YWwSMAoFc3RhcnQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZX' - 'N0YW1wUgVzdGFydBIsCgNlbmQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgNl' - 'bmQ='); - -@$core.Deprecated('Use tabularDataByFilterRequestDescriptor instead') -const TabularDataByFilterRequest$json = { - '1': 'TabularDataByFilterRequest', - '2': [ - {'1': 'data_request', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.DataRequest', '10': 'dataRequest'}, - {'1': 'count_only', '3': 2, '4': 1, '5': 8, '10': 'countOnly'}, - {'1': 'include_internal_data', '3': 3, '4': 1, '5': 8, '10': 'includeInternalData'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `TabularDataByFilterRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tabularDataByFilterRequestDescriptor = $convert.base64Decode( - 'ChpUYWJ1bGFyRGF0YUJ5RmlsdGVyUmVxdWVzdBJACgxkYXRhX3JlcXVlc3QYASABKAsyHS52aW' - 'FtLmFwcC5kYXRhLnYxLkRhdGFSZXF1ZXN0UgtkYXRhUmVxdWVzdBIdCgpjb3VudF9vbmx5GAIg' - 'ASgIUgljb3VudE9ubHkSMgoVaW5jbHVkZV9pbnRlcm5hbF9kYXRhGAMgASgIUhNpbmNsdWRlSW' - '50ZXJuYWxEYXRhOgIYAQ=='); - -@$core.Deprecated('Use tabularDataByFilterResponseDescriptor instead') -const TabularDataByFilterResponse$json = { - '1': 'TabularDataByFilterResponse', - '2': [ - {'1': 'metadata', '3': 1, '4': 3, '5': 11, '6': '.viam.app.data.v1.CaptureMetadata', '10': 'metadata'}, - {'1': 'data', '3': 2, '4': 3, '5': 11, '6': '.viam.app.data.v1.TabularData', '10': 'data'}, - {'1': 'count', '3': 3, '4': 1, '5': 4, '10': 'count'}, - {'1': 'last', '3': 4, '4': 1, '5': 9, '10': 'last'}, - {'1': 'total_size_bytes', '3': 5, '4': 1, '5': 4, '10': 'totalSizeBytes'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `TabularDataByFilterResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tabularDataByFilterResponseDescriptor = $convert.base64Decode( - 'ChtUYWJ1bGFyRGF0YUJ5RmlsdGVyUmVzcG9uc2USPQoIbWV0YWRhdGEYASADKAsyIS52aWFtLm' - 'FwcC5kYXRhLnYxLkNhcHR1cmVNZXRhZGF0YVIIbWV0YWRhdGESMQoEZGF0YRgCIAMoCzIdLnZp' - 'YW0uYXBwLmRhdGEudjEuVGFidWxhckRhdGFSBGRhdGESFAoFY291bnQYAyABKARSBWNvdW50Eh' - 'IKBGxhc3QYBCABKAlSBGxhc3QSKAoQdG90YWxfc2l6ZV9ieXRlcxgFIAEoBFIOdG90YWxTaXpl' - 'Qnl0ZXM6AhgB'); - -@$core.Deprecated('Use tabularDataDescriptor instead') -const TabularData$json = { - '1': 'TabularData', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - {'1': 'metadata_index', '3': 2, '4': 1, '5': 13, '10': 'metadataIndex'}, - {'1': 'time_requested', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeRequested'}, - {'1': 'time_received', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeReceived'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `TabularData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tabularDataDescriptor = $convert.base64Decode( - 'CgtUYWJ1bGFyRGF0YRIrCgRkYXRhGAEgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIEZG' - 'F0YRIlCg5tZXRhZGF0YV9pbmRleBgCIAEoDVINbWV0YWRhdGFJbmRleBJBCg50aW1lX3JlcXVl' - 'c3RlZBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSDXRpbWVSZXF1ZXN0ZWQSPw' - 'oNdGltZV9yZWNlaXZlZBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSDHRpbWVS' - 'ZWNlaXZlZDoCGAE='); - -@$core.Deprecated('Use tabularDataBySQLRequestDescriptor instead') -const TabularDataBySQLRequest$json = { - '1': 'TabularDataBySQLRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'sql_query', '3': 2, '4': 1, '5': 9, '10': 'sqlQuery'}, - ], -}; - -/// Descriptor for `TabularDataBySQLRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tabularDataBySQLRequestDescriptor = $convert.base64Decode( - 'ChdUYWJ1bGFyRGF0YUJ5U1FMUmVxdWVzdBInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2' - 'FuaXphdGlvbklkEhsKCXNxbF9xdWVyeRgCIAEoCVIIc3FsUXVlcnk='); - -@$core.Deprecated('Use tabularDataBySQLResponseDescriptor instead') -const TabularDataBySQLResponse$json = { - '1': 'TabularDataBySQLResponse', - '2': [ - {'1': 'raw_data', '3': 2, '4': 3, '5': 12, '10': 'rawData'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['data'], -}; - -/// Descriptor for `TabularDataBySQLResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tabularDataBySQLResponseDescriptor = $convert.base64Decode( - 'ChhUYWJ1bGFyRGF0YUJ5U1FMUmVzcG9uc2USGQoIcmF3X2RhdGEYAiADKAxSB3Jhd0RhdGFKBA' - 'gBEAJSBGRhdGE='); - -@$core.Deprecated('Use tabularDataByMQLRequestDescriptor instead') -const TabularDataByMQLRequest$json = { - '1': 'TabularDataByMQLRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'mql_binary', '3': 3, '4': 3, '5': 12, '10': 'mqlBinary'}, - {'1': 'use_recent_data', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'useRecentData', '17': true}, - ], - '8': [ - {'1': '_use_recent_data'}, - ], - '9': [ - {'1': 2, '2': 3}, - ], - '10': ['mql_query'], -}; - -/// Descriptor for `TabularDataByMQLRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tabularDataByMQLRequestDescriptor = $convert.base64Decode( - 'ChdUYWJ1bGFyRGF0YUJ5TVFMUmVxdWVzdBInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2' - 'FuaXphdGlvbklkEh0KCm1xbF9iaW5hcnkYAyADKAxSCW1xbEJpbmFyeRIrCg91c2VfcmVjZW50' - 'X2RhdGEYBCABKAhIAFINdXNlUmVjZW50RGF0YYgBAUISChBfdXNlX3JlY2VudF9kYXRhSgQIAh' - 'ADUgltcWxfcXVlcnk='); - -@$core.Deprecated('Use tabularDataByMQLResponseDescriptor instead') -const TabularDataByMQLResponse$json = { - '1': 'TabularDataByMQLResponse', - '2': [ - {'1': 'raw_data', '3': 2, '4': 3, '5': 12, '10': 'rawData'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['data'], -}; - -/// Descriptor for `TabularDataByMQLResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tabularDataByMQLResponseDescriptor = $convert.base64Decode( - 'ChhUYWJ1bGFyRGF0YUJ5TVFMUmVzcG9uc2USGQoIcmF3X2RhdGEYAiADKAxSB3Jhd0RhdGFKBA' - 'gBEAJSBGRhdGE='); - -@$core.Deprecated('Use exportTabularDataRequestDescriptor instead') -const ExportTabularDataRequest$json = { - '1': 'ExportTabularDataRequest', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - {'1': 'resource_name', '3': 2, '4': 1, '5': 9, '10': 'resourceName'}, - {'1': 'resource_subtype', '3': 3, '4': 1, '5': 9, '10': 'resourceSubtype'}, - {'1': 'method_name', '3': 4, '4': 1, '5': 9, '10': 'methodName'}, - {'1': 'interval', '3': 5, '4': 1, '5': 11, '6': '.viam.app.data.v1.CaptureInterval', '10': 'interval'}, - ], -}; - -/// Descriptor for `ExportTabularDataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List exportTabularDataRequestDescriptor = $convert.base64Decode( - 'ChhFeHBvcnRUYWJ1bGFyRGF0YVJlcXVlc3QSFwoHcGFydF9pZBgBIAEoCVIGcGFydElkEiMKDX' - 'Jlc291cmNlX25hbWUYAiABKAlSDHJlc291cmNlTmFtZRIpChByZXNvdXJjZV9zdWJ0eXBlGAMg' - 'ASgJUg9yZXNvdXJjZVN1YnR5cGUSHwoLbWV0aG9kX25hbWUYBCABKAlSCm1ldGhvZE5hbWUSPQ' - 'oIaW50ZXJ2YWwYBSABKAsyIS52aWFtLmFwcC5kYXRhLnYxLkNhcHR1cmVJbnRlcnZhbFIIaW50' - 'ZXJ2YWw='); - -@$core.Deprecated('Use exportTabularDataResponseDescriptor instead') -const ExportTabularDataResponse$json = { - '1': 'ExportTabularDataResponse', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - {'1': 'resource_name', '3': 2, '4': 1, '5': 9, '10': 'resourceName'}, - {'1': 'resource_subtype', '3': 3, '4': 1, '5': 9, '10': 'resourceSubtype'}, - {'1': 'method_name', '3': 4, '4': 1, '5': 9, '10': 'methodName'}, - {'1': 'time_captured', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeCaptured'}, - {'1': 'organization_id', '3': 6, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'location_id', '3': 7, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'robot_name', '3': 8, '4': 1, '5': 9, '10': 'robotName'}, - {'1': 'robot_id', '3': 9, '4': 1, '5': 9, '10': 'robotId'}, - {'1': 'part_name', '3': 10, '4': 1, '5': 9, '10': 'partName'}, - {'1': 'method_parameters', '3': 11, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'methodParameters'}, - {'1': 'tags', '3': 12, '4': 3, '5': 9, '10': 'tags'}, - {'1': 'payload', '3': 13, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'payload'}, - ], -}; - -/// Descriptor for `ExportTabularDataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List exportTabularDataResponseDescriptor = $convert.base64Decode( - 'ChlFeHBvcnRUYWJ1bGFyRGF0YVJlc3BvbnNlEhcKB3BhcnRfaWQYASABKAlSBnBhcnRJZBIjCg' - '1yZXNvdXJjZV9uYW1lGAIgASgJUgxyZXNvdXJjZU5hbWUSKQoQcmVzb3VyY2Vfc3VidHlwZRgD' - 'IAEoCVIPcmVzb3VyY2VTdWJ0eXBlEh8KC21ldGhvZF9uYW1lGAQgASgJUgptZXRob2ROYW1lEj' - '8KDXRpbWVfY2FwdHVyZWQYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgx0aW1l' - 'Q2FwdHVyZWQSJwoPb3JnYW5pemF0aW9uX2lkGAYgASgJUg5vcmdhbml6YXRpb25JZBIfCgtsb2' - 'NhdGlvbl9pZBgHIAEoCVIKbG9jYXRpb25JZBIdCgpyb2JvdF9uYW1lGAggASgJUglyb2JvdE5h' - 'bWUSGQoIcm9ib3RfaWQYCSABKAlSB3JvYm90SWQSGwoJcGFydF9uYW1lGAogASgJUghwYXJ0Tm' - 'FtZRJEChFtZXRob2RfcGFyYW1ldGVycxgLIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RS' - 'EG1ldGhvZFBhcmFtZXRlcnMSEgoEdGFncxgMIAMoCVIEdGFncxIxCgdwYXlsb2FkGA0gASgLMh' - 'cuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIHcGF5bG9hZA=='); - -@$core.Deprecated('Use getLatestTabularDataRequestDescriptor instead') -const GetLatestTabularDataRequest$json = { - '1': 'GetLatestTabularDataRequest', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - {'1': 'resource_name', '3': 2, '4': 1, '5': 9, '10': 'resourceName'}, - {'1': 'method_name', '3': 3, '4': 1, '5': 9, '10': 'methodName'}, - {'1': 'resource_subtype', '3': 4, '4': 1, '5': 9, '10': 'resourceSubtype'}, - ], -}; - -/// Descriptor for `GetLatestTabularDataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLatestTabularDataRequestDescriptor = $convert.base64Decode( - 'ChtHZXRMYXRlc3RUYWJ1bGFyRGF0YVJlcXVlc3QSFwoHcGFydF9pZBgBIAEoCVIGcGFydElkEi' - 'MKDXJlc291cmNlX25hbWUYAiABKAlSDHJlc291cmNlTmFtZRIfCgttZXRob2RfbmFtZRgDIAEo' - 'CVIKbWV0aG9kTmFtZRIpChByZXNvdXJjZV9zdWJ0eXBlGAQgASgJUg9yZXNvdXJjZVN1YnR5cG' - 'U='); - -@$core.Deprecated('Use getLatestTabularDataResponseDescriptor instead') -const GetLatestTabularDataResponse$json = { - '1': 'GetLatestTabularDataResponse', - '2': [ - {'1': 'time_captured', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeCaptured'}, - {'1': 'time_synced', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeSynced'}, - {'1': 'payload', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'payload'}, - ], -}; - -/// Descriptor for `GetLatestTabularDataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLatestTabularDataResponseDescriptor = $convert.base64Decode( - 'ChxHZXRMYXRlc3RUYWJ1bGFyRGF0YVJlc3BvbnNlEj8KDXRpbWVfY2FwdHVyZWQYASABKAsyGi' - '5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgx0aW1lQ2FwdHVyZWQSOwoLdGltZV9zeW5jZWQY' - 'AiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgp0aW1lU3luY2VkEjEKB3BheWxvYW' - 'QYAyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgdwYXlsb2Fk'); - -@$core.Deprecated('Use binaryDataDescriptor instead') -const BinaryData$json = { - '1': 'BinaryData', - '2': [ - {'1': 'binary', '3': 1, '4': 1, '5': 12, '10': 'binary'}, - {'1': 'metadata', '3': 2, '4': 1, '5': 11, '6': '.viam.app.data.v1.BinaryMetadata', '10': 'metadata'}, - ], -}; - -/// Descriptor for `BinaryData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List binaryDataDescriptor = $convert.base64Decode( - 'CgpCaW5hcnlEYXRhEhYKBmJpbmFyeRgBIAEoDFIGYmluYXJ5EjwKCG1ldGFkYXRhGAIgASgLMi' - 'AudmlhbS5hcHAuZGF0YS52MS5CaW5hcnlNZXRhZGF0YVIIbWV0YWRhdGE='); - -@$core.Deprecated('Use binaryDataByFilterRequestDescriptor instead') -const BinaryDataByFilterRequest$json = { - '1': 'BinaryDataByFilterRequest', - '2': [ - {'1': 'data_request', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.DataRequest', '10': 'dataRequest'}, - {'1': 'include_binary', '3': 2, '4': 1, '5': 8, '10': 'includeBinary'}, - {'1': 'count_only', '3': 3, '4': 1, '5': 8, '10': 'countOnly'}, - {'1': 'include_internal_data', '3': 4, '4': 1, '5': 8, '10': 'includeInternalData'}, - ], -}; - -/// Descriptor for `BinaryDataByFilterRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List binaryDataByFilterRequestDescriptor = $convert.base64Decode( - 'ChlCaW5hcnlEYXRhQnlGaWx0ZXJSZXF1ZXN0EkAKDGRhdGFfcmVxdWVzdBgBIAEoCzIdLnZpYW' - '0uYXBwLmRhdGEudjEuRGF0YVJlcXVlc3RSC2RhdGFSZXF1ZXN0EiUKDmluY2x1ZGVfYmluYXJ5' - 'GAIgASgIUg1pbmNsdWRlQmluYXJ5Eh0KCmNvdW50X29ubHkYAyABKAhSCWNvdW50T25seRIyCh' - 'VpbmNsdWRlX2ludGVybmFsX2RhdGEYBCABKAhSE2luY2x1ZGVJbnRlcm5hbERhdGE='); - -@$core.Deprecated('Use binaryDataByFilterResponseDescriptor instead') -const BinaryDataByFilterResponse$json = { - '1': 'BinaryDataByFilterResponse', - '2': [ - {'1': 'data', '3': 1, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryData', '10': 'data'}, - {'1': 'count', '3': 2, '4': 1, '5': 4, '10': 'count'}, - {'1': 'last', '3': 3, '4': 1, '5': 9, '10': 'last'}, - {'1': 'total_size_bytes', '3': 4, '4': 1, '5': 4, '10': 'totalSizeBytes'}, - ], -}; - -/// Descriptor for `BinaryDataByFilterResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List binaryDataByFilterResponseDescriptor = $convert.base64Decode( - 'ChpCaW5hcnlEYXRhQnlGaWx0ZXJSZXNwb25zZRIwCgRkYXRhGAEgAygLMhwudmlhbS5hcHAuZG' - 'F0YS52MS5CaW5hcnlEYXRhUgRkYXRhEhQKBWNvdW50GAIgASgEUgVjb3VudBISCgRsYXN0GAMg' - 'ASgJUgRsYXN0EigKEHRvdGFsX3NpemVfYnl0ZXMYBCABKARSDnRvdGFsU2l6ZUJ5dGVz'); - -@$core.Deprecated('Use binaryIDDescriptor instead') -const BinaryID$json = { - '1': 'BinaryID', - '2': [ - {'1': 'file_id', '3': 1, '4': 1, '5': 9, '10': 'fileId'}, - {'1': 'organization_id', '3': 2, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'location_id', '3': 3, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `BinaryID`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List binaryIDDescriptor = $convert.base64Decode( - 'CghCaW5hcnlJRBIXCgdmaWxlX2lkGAEgASgJUgZmaWxlSWQSJwoPb3JnYW5pemF0aW9uX2lkGA' - 'IgASgJUg5vcmdhbml6YXRpb25JZBIfCgtsb2NhdGlvbl9pZBgDIAEoCVIKbG9jYXRpb25JZA=='); - -@$core.Deprecated('Use binaryDataByIDsRequestDescriptor instead') -const BinaryDataByIDsRequest$json = { - '1': 'BinaryDataByIDsRequest', - '2': [ - {'1': 'include_binary', '3': 2, '4': 1, '5': 8, '10': 'includeBinary'}, - {'1': 'binary_ids', '3': 3, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryIds'}, - {'1': 'binary_data_ids', '3': 4, '4': 3, '5': 9, '10': 'binaryDataIds'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['file_ids'], -}; - -/// Descriptor for `BinaryDataByIDsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List binaryDataByIDsRequestDescriptor = $convert.base64Decode( - 'ChZCaW5hcnlEYXRhQnlJRHNSZXF1ZXN0EiUKDmluY2x1ZGVfYmluYXJ5GAIgASgIUg1pbmNsdW' - 'RlQmluYXJ5EjkKCmJpbmFyeV9pZHMYAyADKAsyGi52aWFtLmFwcC5kYXRhLnYxLkJpbmFyeUlE' - 'UgliaW5hcnlJZHMSJgoPYmluYXJ5X2RhdGFfaWRzGAQgAygJUg1iaW5hcnlEYXRhSWRzSgQIAR' - 'ACUghmaWxlX2lkcw=='); - -@$core.Deprecated('Use binaryDataByIDsResponseDescriptor instead') -const BinaryDataByIDsResponse$json = { - '1': 'BinaryDataByIDsResponse', - '2': [ - {'1': 'data', '3': 1, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryData', '10': 'data'}, - {'1': 'count', '3': 2, '4': 1, '5': 4, '10': 'count'}, - ], -}; - -/// Descriptor for `BinaryDataByIDsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List binaryDataByIDsResponseDescriptor = $convert.base64Decode( - 'ChdCaW5hcnlEYXRhQnlJRHNSZXNwb25zZRIwCgRkYXRhGAEgAygLMhwudmlhbS5hcHAuZGF0YS' - '52MS5CaW5hcnlEYXRhUgRkYXRhEhQKBWNvdW50GAIgASgEUgVjb3VudA=='); - -@$core.Deprecated('Use boundingBoxDescriptor instead') -const BoundingBox$json = { - '1': 'BoundingBox', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, - {'1': 'x_min_normalized', '3': 3, '4': 1, '5': 1, '10': 'xMinNormalized'}, - {'1': 'y_min_normalized', '3': 4, '4': 1, '5': 1, '10': 'yMinNormalized'}, - {'1': 'x_max_normalized', '3': 5, '4': 1, '5': 1, '10': 'xMaxNormalized'}, - {'1': 'y_max_normalized', '3': 6, '4': 1, '5': 1, '10': 'yMaxNormalized'}, - {'1': 'confidence', '3': 7, '4': 1, '5': 1, '9': 0, '10': 'confidence', '17': true}, - ], - '8': [ - {'1': '_confidence'}, - ], -}; - -/// Descriptor for `BoundingBox`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List boundingBoxDescriptor = $convert.base64Decode( - 'CgtCb3VuZGluZ0JveBIOCgJpZBgBIAEoCVICaWQSFAoFbGFiZWwYAiABKAlSBWxhYmVsEigKEH' - 'hfbWluX25vcm1hbGl6ZWQYAyABKAFSDnhNaW5Ob3JtYWxpemVkEigKEHlfbWluX25vcm1hbGl6' - 'ZWQYBCABKAFSDnlNaW5Ob3JtYWxpemVkEigKEHhfbWF4X25vcm1hbGl6ZWQYBSABKAFSDnhNYX' - 'hOb3JtYWxpemVkEigKEHlfbWF4X25vcm1hbGl6ZWQYBiABKAFSDnlNYXhOb3JtYWxpemVkEiMK' - 'CmNvbmZpZGVuY2UYByABKAFIAFIKY29uZmlkZW5jZYgBAUINCgtfY29uZmlkZW5jZQ=='); - -@$core.Deprecated('Use classificationDescriptor instead') -const Classification$json = { - '1': 'Classification', - '2': [ - {'1': 'label', '3': 1, '4': 1, '5': 9, '10': 'label'}, - {'1': 'confidence', '3': 2, '4': 1, '5': 1, '9': 0, '10': 'confidence', '17': true}, - ], - '8': [ - {'1': '_confidence'}, - ], -}; - -/// Descriptor for `Classification`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List classificationDescriptor = $convert.base64Decode( - 'Cg5DbGFzc2lmaWNhdGlvbhIUCgVsYWJlbBgBIAEoCVIFbGFiZWwSIwoKY29uZmlkZW5jZRgCIA' - 'EoAUgAUgpjb25maWRlbmNliAEBQg0KC19jb25maWRlbmNl'); - -@$core.Deprecated('Use annotationsDescriptor instead') -const Annotations$json = { - '1': 'Annotations', - '2': [ - {'1': 'bboxes', '3': 1, '4': 3, '5': 11, '6': '.viam.app.data.v1.BoundingBox', '10': 'bboxes'}, - {'1': 'classifications', '3': 2, '4': 3, '5': 11, '6': '.viam.app.data.v1.Classification', '10': 'classifications'}, - ], -}; - -/// Descriptor for `Annotations`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List annotationsDescriptor = $convert.base64Decode( - 'CgtBbm5vdGF0aW9ucxI1CgZiYm94ZXMYASADKAsyHS52aWFtLmFwcC5kYXRhLnYxLkJvdW5kaW' - '5nQm94UgZiYm94ZXMSSgoPY2xhc3NpZmljYXRpb25zGAIgAygLMiAudmlhbS5hcHAuZGF0YS52' - 'MS5DbGFzc2lmaWNhdGlvblIPY2xhc3NpZmljYXRpb25z'); - -@$core.Deprecated('Use binaryMetadataDescriptor instead') -const BinaryMetadata$json = { - '1': 'BinaryMetadata', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'capture_metadata', '3': 2, '4': 1, '5': 11, '6': '.viam.app.data.v1.CaptureMetadata', '10': 'captureMetadata'}, - {'1': 'time_requested', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeRequested'}, - {'1': 'time_received', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeReceived'}, - {'1': 'file_name', '3': 5, '4': 1, '5': 9, '10': 'fileName'}, - {'1': 'file_ext', '3': 6, '4': 1, '5': 9, '10': 'fileExt'}, - {'1': 'uri', '3': 7, '4': 1, '5': 9, '10': 'uri'}, - {'1': 'annotations', '3': 8, '4': 1, '5': 11, '6': '.viam.app.data.v1.Annotations', '10': 'annotations'}, - {'1': 'dataset_ids', '3': 9, '4': 3, '5': 9, '10': 'datasetIds'}, - {'1': 'binary_data_id', '3': 10, '4': 1, '5': 9, '10': 'binaryDataId'}, - ], -}; - -/// Descriptor for `BinaryMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List binaryMetadataDescriptor = $convert.base64Decode( - 'Cg5CaW5hcnlNZXRhZGF0YRIOCgJpZBgBIAEoCVICaWQSTAoQY2FwdHVyZV9tZXRhZGF0YRgCIA' - 'EoCzIhLnZpYW0uYXBwLmRhdGEudjEuQ2FwdHVyZU1ldGFkYXRhUg9jYXB0dXJlTWV0YWRhdGES' - 'QQoOdGltZV9yZXF1ZXN0ZWQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUg10aW' - '1lUmVxdWVzdGVkEj8KDXRpbWVfcmVjZWl2ZWQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGlt' - 'ZXN0YW1wUgx0aW1lUmVjZWl2ZWQSGwoJZmlsZV9uYW1lGAUgASgJUghmaWxlTmFtZRIZCghmaW' - 'xlX2V4dBgGIAEoCVIHZmlsZUV4dBIQCgN1cmkYByABKAlSA3VyaRI/Cgthbm5vdGF0aW9ucxgI' - 'IAEoCzIdLnZpYW0uYXBwLmRhdGEudjEuQW5ub3RhdGlvbnNSC2Fubm90YXRpb25zEh8KC2RhdG' - 'FzZXRfaWRzGAkgAygJUgpkYXRhc2V0SWRzEiQKDmJpbmFyeV9kYXRhX2lkGAogASgJUgxiaW5h' - 'cnlEYXRhSWQ='); - -@$core.Deprecated('Use deleteTabularDataRequestDescriptor instead') -const DeleteTabularDataRequest$json = { - '1': 'DeleteTabularDataRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'delete_older_than_days', '3': 2, '4': 1, '5': 13, '10': 'deleteOlderThanDays'}, - ], -}; - -/// Descriptor for `DeleteTabularDataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteTabularDataRequestDescriptor = $convert.base64Decode( - 'ChhEZWxldGVUYWJ1bGFyRGF0YVJlcXVlc3QSJwoPb3JnYW5pemF0aW9uX2lkGAEgASgJUg5vcm' - 'dhbml6YXRpb25JZBIzChZkZWxldGVfb2xkZXJfdGhhbl9kYXlzGAIgASgNUhNkZWxldGVPbGRl' - 'clRoYW5EYXlz'); - -@$core.Deprecated('Use deleteTabularDataResponseDescriptor instead') -const DeleteTabularDataResponse$json = { - '1': 'DeleteTabularDataResponse', - '2': [ - {'1': 'deleted_count', '3': 1, '4': 1, '5': 4, '10': 'deletedCount'}, - ], -}; - -/// Descriptor for `DeleteTabularDataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteTabularDataResponseDescriptor = $convert.base64Decode( - 'ChlEZWxldGVUYWJ1bGFyRGF0YVJlc3BvbnNlEiMKDWRlbGV0ZWRfY291bnQYASABKARSDGRlbG' - 'V0ZWRDb3VudA=='); - -@$core.Deprecated('Use deleteBinaryDataByFilterRequestDescriptor instead') -const DeleteBinaryDataByFilterRequest$json = { - '1': 'DeleteBinaryDataByFilterRequest', - '2': [ - {'1': 'filter', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.Filter', '10': 'filter'}, - {'1': 'include_internal_data', '3': 2, '4': 1, '5': 8, '10': 'includeInternalData'}, - ], -}; - -/// Descriptor for `DeleteBinaryDataByFilterRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteBinaryDataByFilterRequestDescriptor = $convert.base64Decode( - 'Ch9EZWxldGVCaW5hcnlEYXRhQnlGaWx0ZXJSZXF1ZXN0EjAKBmZpbHRlchgBIAEoCzIYLnZpYW' - '0uYXBwLmRhdGEudjEuRmlsdGVyUgZmaWx0ZXISMgoVaW5jbHVkZV9pbnRlcm5hbF9kYXRhGAIg' - 'ASgIUhNpbmNsdWRlSW50ZXJuYWxEYXRh'); - -@$core.Deprecated('Use deleteBinaryDataByFilterResponseDescriptor instead') -const DeleteBinaryDataByFilterResponse$json = { - '1': 'DeleteBinaryDataByFilterResponse', - '2': [ - {'1': 'deleted_count', '3': 1, '4': 1, '5': 4, '10': 'deletedCount'}, - ], - '9': [ - {'1': 2, '2': 3}, - ], - '10': ['result'], -}; - -/// Descriptor for `DeleteBinaryDataByFilterResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteBinaryDataByFilterResponseDescriptor = $convert.base64Decode( - 'CiBEZWxldGVCaW5hcnlEYXRhQnlGaWx0ZXJSZXNwb25zZRIjCg1kZWxldGVkX2NvdW50GAEgAS' - 'gEUgxkZWxldGVkQ291bnRKBAgCEANSBnJlc3VsdA=='); - -@$core.Deprecated('Use deleteBinaryDataByIDsRequestDescriptor instead') -const DeleteBinaryDataByIDsRequest$json = { - '1': 'DeleteBinaryDataByIDsRequest', - '2': [ - {'1': 'binary_ids', '3': 2, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryIds'}, - {'1': 'binary_data_ids', '3': 3, '4': 3, '5': 9, '10': 'binaryDataIds'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['file_ids'], -}; - -/// Descriptor for `DeleteBinaryDataByIDsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteBinaryDataByIDsRequestDescriptor = $convert.base64Decode( - 'ChxEZWxldGVCaW5hcnlEYXRhQnlJRHNSZXF1ZXN0EjkKCmJpbmFyeV9pZHMYAiADKAsyGi52aW' - 'FtLmFwcC5kYXRhLnYxLkJpbmFyeUlEUgliaW5hcnlJZHMSJgoPYmluYXJ5X2RhdGFfaWRzGAMg' - 'AygJUg1iaW5hcnlEYXRhSWRzSgQIARACUghmaWxlX2lkcw=='); - -@$core.Deprecated('Use deleteBinaryDataByIDsResponseDescriptor instead') -const DeleteBinaryDataByIDsResponse$json = { - '1': 'DeleteBinaryDataByIDsResponse', - '2': [ - {'1': 'deleted_count', '3': 1, '4': 1, '5': 4, '10': 'deletedCount'}, - ], - '9': [ - {'1': 2, '2': 3}, - ], - '10': ['result'], -}; - -/// Descriptor for `DeleteBinaryDataByIDsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteBinaryDataByIDsResponseDescriptor = $convert.base64Decode( - 'Ch1EZWxldGVCaW5hcnlEYXRhQnlJRHNSZXNwb25zZRIjCg1kZWxldGVkX2NvdW50GAEgASgEUg' - 'xkZWxldGVkQ291bnRKBAgCEANSBnJlc3VsdA=='); - -@$core.Deprecated('Use addTagsToBinaryDataByIDsRequestDescriptor instead') -const AddTagsToBinaryDataByIDsRequest$json = { - '1': 'AddTagsToBinaryDataByIDsRequest', - '2': [ - {'1': 'binary_ids', '3': 3, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryIds'}, - {'1': 'binary_data_ids', '3': 4, '4': 3, '5': 9, '10': 'binaryDataIds'}, - {'1': 'tags', '3': 2, '4': 3, '5': 9, '10': 'tags'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['file_ids'], -}; - -/// Descriptor for `AddTagsToBinaryDataByIDsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addTagsToBinaryDataByIDsRequestDescriptor = $convert.base64Decode( - 'Ch9BZGRUYWdzVG9CaW5hcnlEYXRhQnlJRHNSZXF1ZXN0EjkKCmJpbmFyeV9pZHMYAyADKAsyGi' - '52aWFtLmFwcC5kYXRhLnYxLkJpbmFyeUlEUgliaW5hcnlJZHMSJgoPYmluYXJ5X2RhdGFfaWRz' - 'GAQgAygJUg1iaW5hcnlEYXRhSWRzEhIKBHRhZ3MYAiADKAlSBHRhZ3NKBAgBEAJSCGZpbGVfaW' - 'Rz'); - -@$core.Deprecated('Use addTagsToBinaryDataByIDsResponseDescriptor instead') -const AddTagsToBinaryDataByIDsResponse$json = { - '1': 'AddTagsToBinaryDataByIDsResponse', -}; - -/// Descriptor for `AddTagsToBinaryDataByIDsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addTagsToBinaryDataByIDsResponseDescriptor = $convert.base64Decode( - 'CiBBZGRUYWdzVG9CaW5hcnlEYXRhQnlJRHNSZXNwb25zZQ=='); - -@$core.Deprecated('Use addTagsToBinaryDataByFilterRequestDescriptor instead') -const AddTagsToBinaryDataByFilterRequest$json = { - '1': 'AddTagsToBinaryDataByFilterRequest', - '2': [ - {'1': 'filter', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.Filter', '10': 'filter'}, - {'1': 'tags', '3': 2, '4': 3, '5': 9, '10': 'tags'}, - ], -}; - -/// Descriptor for `AddTagsToBinaryDataByFilterRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addTagsToBinaryDataByFilterRequestDescriptor = $convert.base64Decode( - 'CiJBZGRUYWdzVG9CaW5hcnlEYXRhQnlGaWx0ZXJSZXF1ZXN0EjAKBmZpbHRlchgBIAEoCzIYLn' - 'ZpYW0uYXBwLmRhdGEudjEuRmlsdGVyUgZmaWx0ZXISEgoEdGFncxgCIAMoCVIEdGFncw=='); - -@$core.Deprecated('Use addTagsToBinaryDataByFilterResponseDescriptor instead') -const AddTagsToBinaryDataByFilterResponse$json = { - '1': 'AddTagsToBinaryDataByFilterResponse', -}; - -/// Descriptor for `AddTagsToBinaryDataByFilterResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addTagsToBinaryDataByFilterResponseDescriptor = $convert.base64Decode( - 'CiNBZGRUYWdzVG9CaW5hcnlEYXRhQnlGaWx0ZXJSZXNwb25zZQ=='); - -@$core.Deprecated('Use removeTagsFromBinaryDataByIDsRequestDescriptor instead') -const RemoveTagsFromBinaryDataByIDsRequest$json = { - '1': 'RemoveTagsFromBinaryDataByIDsRequest', - '2': [ - {'1': 'binary_ids', '3': 3, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryIds'}, - {'1': 'binary_data_ids', '3': 4, '4': 3, '5': 9, '10': 'binaryDataIds'}, - {'1': 'tags', '3': 2, '4': 3, '5': 9, '10': 'tags'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['file_ids'], -}; - -/// Descriptor for `RemoveTagsFromBinaryDataByIDsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeTagsFromBinaryDataByIDsRequestDescriptor = $convert.base64Decode( - 'CiRSZW1vdmVUYWdzRnJvbUJpbmFyeURhdGFCeUlEc1JlcXVlc3QSOQoKYmluYXJ5X2lkcxgDIA' - 'MoCzIaLnZpYW0uYXBwLmRhdGEudjEuQmluYXJ5SURSCWJpbmFyeUlkcxImCg9iaW5hcnlfZGF0' - 'YV9pZHMYBCADKAlSDWJpbmFyeURhdGFJZHMSEgoEdGFncxgCIAMoCVIEdGFnc0oECAEQAlIIZm' - 'lsZV9pZHM='); - -@$core.Deprecated('Use removeTagsFromBinaryDataByIDsResponseDescriptor instead') -const RemoveTagsFromBinaryDataByIDsResponse$json = { - '1': 'RemoveTagsFromBinaryDataByIDsResponse', - '2': [ - {'1': 'deleted_count', '3': 1, '4': 1, '5': 4, '10': 'deletedCount'}, - ], -}; - -/// Descriptor for `RemoveTagsFromBinaryDataByIDsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeTagsFromBinaryDataByIDsResponseDescriptor = $convert.base64Decode( - 'CiVSZW1vdmVUYWdzRnJvbUJpbmFyeURhdGFCeUlEc1Jlc3BvbnNlEiMKDWRlbGV0ZWRfY291bn' - 'QYASABKARSDGRlbGV0ZWRDb3VudA=='); - -@$core.Deprecated('Use removeTagsFromBinaryDataByFilterRequestDescriptor instead') -const RemoveTagsFromBinaryDataByFilterRequest$json = { - '1': 'RemoveTagsFromBinaryDataByFilterRequest', - '2': [ - {'1': 'filter', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.Filter', '10': 'filter'}, - {'1': 'tags', '3': 2, '4': 3, '5': 9, '10': 'tags'}, - ], -}; - -/// Descriptor for `RemoveTagsFromBinaryDataByFilterRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeTagsFromBinaryDataByFilterRequestDescriptor = $convert.base64Decode( - 'CidSZW1vdmVUYWdzRnJvbUJpbmFyeURhdGFCeUZpbHRlclJlcXVlc3QSMAoGZmlsdGVyGAEgAS' - 'gLMhgudmlhbS5hcHAuZGF0YS52MS5GaWx0ZXJSBmZpbHRlchISCgR0YWdzGAIgAygJUgR0YWdz'); - -@$core.Deprecated('Use removeTagsFromBinaryDataByFilterResponseDescriptor instead') -const RemoveTagsFromBinaryDataByFilterResponse$json = { - '1': 'RemoveTagsFromBinaryDataByFilterResponse', - '2': [ - {'1': 'deleted_count', '3': 1, '4': 1, '5': 4, '10': 'deletedCount'}, - ], -}; - -/// Descriptor for `RemoveTagsFromBinaryDataByFilterResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeTagsFromBinaryDataByFilterResponseDescriptor = $convert.base64Decode( - 'CihSZW1vdmVUYWdzRnJvbUJpbmFyeURhdGFCeUZpbHRlclJlc3BvbnNlEiMKDWRlbGV0ZWRfY2' - '91bnQYASABKARSDGRlbGV0ZWRDb3VudA=='); - -@$core.Deprecated('Use tagsByFilterRequestDescriptor instead') -const TagsByFilterRequest$json = { - '1': 'TagsByFilterRequest', - '2': [ - {'1': 'filter', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.Filter', '10': 'filter'}, - ], -}; - -/// Descriptor for `TagsByFilterRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tagsByFilterRequestDescriptor = $convert.base64Decode( - 'ChNUYWdzQnlGaWx0ZXJSZXF1ZXN0EjAKBmZpbHRlchgBIAEoCzIYLnZpYW0uYXBwLmRhdGEudj' - 'EuRmlsdGVyUgZmaWx0ZXI='); - -@$core.Deprecated('Use tagsByFilterResponseDescriptor instead') -const TagsByFilterResponse$json = { - '1': 'TagsByFilterResponse', - '2': [ - {'1': 'tags', '3': 1, '4': 3, '5': 9, '10': 'tags'}, - ], -}; - -/// Descriptor for `TagsByFilterResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tagsByFilterResponseDescriptor = $convert.base64Decode( - 'ChRUYWdzQnlGaWx0ZXJSZXNwb25zZRISCgR0YWdzGAEgAygJUgR0YWdz'); - -@$core.Deprecated('Use addBoundingBoxToImageByIDRequestDescriptor instead') -const AddBoundingBoxToImageByIDRequest$json = { - '1': 'AddBoundingBoxToImageByIDRequest', - '2': [ - {'1': 'binary_id', '3': 7, '4': 1, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryId'}, - {'1': 'binary_data_id', '3': 8, '4': 1, '5': 9, '10': 'binaryDataId'}, - {'1': 'label', '3': 2, '4': 1, '5': 9, '10': 'label'}, - {'1': 'x_min_normalized', '3': 3, '4': 1, '5': 1, '10': 'xMinNormalized'}, - {'1': 'y_min_normalized', '3': 4, '4': 1, '5': 1, '10': 'yMinNormalized'}, - {'1': 'x_max_normalized', '3': 5, '4': 1, '5': 1, '10': 'xMaxNormalized'}, - {'1': 'y_max_normalized', '3': 6, '4': 1, '5': 1, '10': 'yMaxNormalized'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['file_id'], -}; - -/// Descriptor for `AddBoundingBoxToImageByIDRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addBoundingBoxToImageByIDRequestDescriptor = $convert.base64Decode( - 'CiBBZGRCb3VuZGluZ0JveFRvSW1hZ2VCeUlEUmVxdWVzdBI3CgliaW5hcnlfaWQYByABKAsyGi' - '52aWFtLmFwcC5kYXRhLnYxLkJpbmFyeUlEUghiaW5hcnlJZBIkCg5iaW5hcnlfZGF0YV9pZBgI' - 'IAEoCVIMYmluYXJ5RGF0YUlkEhQKBWxhYmVsGAIgASgJUgVsYWJlbBIoChB4X21pbl9ub3JtYW' - 'xpemVkGAMgASgBUg54TWluTm9ybWFsaXplZBIoChB5X21pbl9ub3JtYWxpemVkGAQgASgBUg55' - 'TWluTm9ybWFsaXplZBIoChB4X21heF9ub3JtYWxpemVkGAUgASgBUg54TWF4Tm9ybWFsaXplZB' - 'IoChB5X21heF9ub3JtYWxpemVkGAYgASgBUg55TWF4Tm9ybWFsaXplZEoECAEQAlIHZmlsZV9p' - 'ZA=='); - -@$core.Deprecated('Use addBoundingBoxToImageByIDResponseDescriptor instead') -const AddBoundingBoxToImageByIDResponse$json = { - '1': 'AddBoundingBoxToImageByIDResponse', - '2': [ - {'1': 'bbox_id', '3': 1, '4': 1, '5': 9, '10': 'bboxId'}, - ], -}; - -/// Descriptor for `AddBoundingBoxToImageByIDResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addBoundingBoxToImageByIDResponseDescriptor = $convert.base64Decode( - 'CiFBZGRCb3VuZGluZ0JveFRvSW1hZ2VCeUlEUmVzcG9uc2USFwoHYmJveF9pZBgBIAEoCVIGYm' - 'JveElk'); - -@$core.Deprecated('Use removeBoundingBoxFromImageByIDRequestDescriptor instead') -const RemoveBoundingBoxFromImageByIDRequest$json = { - '1': 'RemoveBoundingBoxFromImageByIDRequest', - '2': [ - {'1': 'binary_id', '3': 3, '4': 1, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryId'}, - {'1': 'binary_data_id', '3': 4, '4': 1, '5': 9, '10': 'binaryDataId'}, - {'1': 'bbox_id', '3': 2, '4': 1, '5': 9, '10': 'bboxId'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['file_id'], -}; - -/// Descriptor for `RemoveBoundingBoxFromImageByIDRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeBoundingBoxFromImageByIDRequestDescriptor = $convert.base64Decode( - 'CiVSZW1vdmVCb3VuZGluZ0JveEZyb21JbWFnZUJ5SURSZXF1ZXN0EjcKCWJpbmFyeV9pZBgDIA' - 'EoCzIaLnZpYW0uYXBwLmRhdGEudjEuQmluYXJ5SURSCGJpbmFyeUlkEiQKDmJpbmFyeV9kYXRh' - 'X2lkGAQgASgJUgxiaW5hcnlEYXRhSWQSFwoHYmJveF9pZBgCIAEoCVIGYmJveElkSgQIARACUg' - 'dmaWxlX2lk'); - -@$core.Deprecated('Use removeBoundingBoxFromImageByIDResponseDescriptor instead') -const RemoveBoundingBoxFromImageByIDResponse$json = { - '1': 'RemoveBoundingBoxFromImageByIDResponse', -}; - -/// Descriptor for `RemoveBoundingBoxFromImageByIDResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeBoundingBoxFromImageByIDResponseDescriptor = $convert.base64Decode( - 'CiZSZW1vdmVCb3VuZGluZ0JveEZyb21JbWFnZUJ5SURSZXNwb25zZQ=='); - -@$core.Deprecated('Use updateBoundingBoxRequestDescriptor instead') -const UpdateBoundingBoxRequest$json = { - '1': 'UpdateBoundingBoxRequest', - '2': [ - {'1': 'binary_id', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryId'}, - {'1': 'binary_data_id', '3': 8, '4': 1, '5': 9, '10': 'binaryDataId'}, - {'1': 'bbox_id', '3': 2, '4': 1, '5': 9, '10': 'bboxId'}, - {'1': 'label', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'label', '17': true}, - {'1': 'x_min_normalized', '3': 4, '4': 1, '5': 1, '9': 1, '10': 'xMinNormalized', '17': true}, - {'1': 'y_min_normalized', '3': 5, '4': 1, '5': 1, '9': 2, '10': 'yMinNormalized', '17': true}, - {'1': 'x_max_normalized', '3': 6, '4': 1, '5': 1, '9': 3, '10': 'xMaxNormalized', '17': true}, - {'1': 'y_max_normalized', '3': 7, '4': 1, '5': 1, '9': 4, '10': 'yMaxNormalized', '17': true}, - ], - '8': [ - {'1': '_label'}, - {'1': '_x_min_normalized'}, - {'1': '_y_min_normalized'}, - {'1': '_x_max_normalized'}, - {'1': '_y_max_normalized'}, - ], -}; - -/// Descriptor for `UpdateBoundingBoxRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateBoundingBoxRequestDescriptor = $convert.base64Decode( - 'ChhVcGRhdGVCb3VuZGluZ0JveFJlcXVlc3QSNwoJYmluYXJ5X2lkGAEgASgLMhoudmlhbS5hcH' - 'AuZGF0YS52MS5CaW5hcnlJRFIIYmluYXJ5SWQSJAoOYmluYXJ5X2RhdGFfaWQYCCABKAlSDGJp' - 'bmFyeURhdGFJZBIXCgdiYm94X2lkGAIgASgJUgZiYm94SWQSGQoFbGFiZWwYAyABKAlIAFIFbG' - 'FiZWyIAQESLQoQeF9taW5fbm9ybWFsaXplZBgEIAEoAUgBUg54TWluTm9ybWFsaXplZIgBARIt' - 'ChB5X21pbl9ub3JtYWxpemVkGAUgASgBSAJSDnlNaW5Ob3JtYWxpemVkiAEBEi0KEHhfbWF4X2' - '5vcm1hbGl6ZWQYBiABKAFIA1IOeE1heE5vcm1hbGl6ZWSIAQESLQoQeV9tYXhfbm9ybWFsaXpl' - 'ZBgHIAEoAUgEUg55TWF4Tm9ybWFsaXplZIgBAUIICgZfbGFiZWxCEwoRX3hfbWluX25vcm1hbG' - 'l6ZWRCEwoRX3lfbWluX25vcm1hbGl6ZWRCEwoRX3hfbWF4X25vcm1hbGl6ZWRCEwoRX3lfbWF4' - 'X25vcm1hbGl6ZWQ='); - -@$core.Deprecated('Use updateBoundingBoxResponseDescriptor instead') -const UpdateBoundingBoxResponse$json = { - '1': 'UpdateBoundingBoxResponse', -}; - -/// Descriptor for `UpdateBoundingBoxResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateBoundingBoxResponseDescriptor = $convert.base64Decode( - 'ChlVcGRhdGVCb3VuZGluZ0JveFJlc3BvbnNl'); - -@$core.Deprecated('Use boundingBoxLabelsByFilterRequestDescriptor instead') -const BoundingBoxLabelsByFilterRequest$json = { - '1': 'BoundingBoxLabelsByFilterRequest', - '2': [ - {'1': 'filter', '3': 1, '4': 1, '5': 11, '6': '.viam.app.data.v1.Filter', '10': 'filter'}, - ], -}; - -/// Descriptor for `BoundingBoxLabelsByFilterRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List boundingBoxLabelsByFilterRequestDescriptor = $convert.base64Decode( - 'CiBCb3VuZGluZ0JveExhYmVsc0J5RmlsdGVyUmVxdWVzdBIwCgZmaWx0ZXIYASABKAsyGC52aW' - 'FtLmFwcC5kYXRhLnYxLkZpbHRlclIGZmlsdGVy'); - -@$core.Deprecated('Use boundingBoxLabelsByFilterResponseDescriptor instead') -const BoundingBoxLabelsByFilterResponse$json = { - '1': 'BoundingBoxLabelsByFilterResponse', - '2': [ - {'1': 'labels', '3': 1, '4': 3, '5': 9, '10': 'labels'}, - ], -}; - -/// Descriptor for `BoundingBoxLabelsByFilterResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List boundingBoxLabelsByFilterResponseDescriptor = $convert.base64Decode( - 'CiFCb3VuZGluZ0JveExhYmVsc0J5RmlsdGVyUmVzcG9uc2USFgoGbGFiZWxzGAEgAygJUgZsYW' - 'JlbHM='); - -@$core.Deprecated('Use configureDatabaseUserRequestDescriptor instead') -const ConfigureDatabaseUserRequest$json = { - '1': 'ConfigureDatabaseUserRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'password', '3': 2, '4': 1, '5': 9, '10': 'password'}, - ], -}; - -/// Descriptor for `ConfigureDatabaseUserRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List configureDatabaseUserRequestDescriptor = $convert.base64Decode( - 'ChxDb25maWd1cmVEYXRhYmFzZVVzZXJSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCV' - 'IOb3JnYW5pemF0aW9uSWQSGgoIcGFzc3dvcmQYAiABKAlSCHBhc3N3b3Jk'); - -@$core.Deprecated('Use configureDatabaseUserResponseDescriptor instead') -const ConfigureDatabaseUserResponse$json = { - '1': 'ConfigureDatabaseUserResponse', -}; - -/// Descriptor for `ConfigureDatabaseUserResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List configureDatabaseUserResponseDescriptor = $convert.base64Decode( - 'Ch1Db25maWd1cmVEYXRhYmFzZVVzZXJSZXNwb25zZQ=='); - -@$core.Deprecated('Use getDatabaseConnectionRequestDescriptor instead') -const GetDatabaseConnectionRequest$json = { - '1': 'GetDatabaseConnectionRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `GetDatabaseConnectionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDatabaseConnectionRequestDescriptor = $convert.base64Decode( - 'ChxHZXREYXRhYmFzZUNvbm5lY3Rpb25SZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCV' - 'IOb3JnYW5pemF0aW9uSWQ='); - -@$core.Deprecated('Use getDatabaseConnectionResponseDescriptor instead') -const GetDatabaseConnectionResponse$json = { - '1': 'GetDatabaseConnectionResponse', - '2': [ - {'1': 'hostname', '3': 1, '4': 1, '5': 9, '10': 'hostname'}, - {'1': 'mongodb_uri', '3': 2, '4': 1, '5': 9, '10': 'mongodbUri'}, - {'1': 'has_database_user', '3': 3, '4': 1, '5': 8, '10': 'hasDatabaseUser'}, - ], -}; - -/// Descriptor for `GetDatabaseConnectionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDatabaseConnectionResponseDescriptor = $convert.base64Decode( - 'Ch1HZXREYXRhYmFzZUNvbm5lY3Rpb25SZXNwb25zZRIaCghob3N0bmFtZRgBIAEoCVIIaG9zdG' - '5hbWUSHwoLbW9uZ29kYl91cmkYAiABKAlSCm1vbmdvZGJVcmkSKgoRaGFzX2RhdGFiYXNlX3Vz' - 'ZXIYAyABKAhSD2hhc0RhdGFiYXNlVXNlcg=='); - -@$core.Deprecated('Use addBinaryDataToDatasetByIDsRequestDescriptor instead') -const AddBinaryDataToDatasetByIDsRequest$json = { - '1': 'AddBinaryDataToDatasetByIDsRequest', - '2': [ - {'1': 'binary_ids', '3': 1, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryIds'}, - {'1': 'binary_data_ids', '3': 3, '4': 3, '5': 9, '10': 'binaryDataIds'}, - {'1': 'dataset_id', '3': 2, '4': 1, '5': 9, '10': 'datasetId'}, - ], -}; - -/// Descriptor for `AddBinaryDataToDatasetByIDsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addBinaryDataToDatasetByIDsRequestDescriptor = $convert.base64Decode( - 'CiJBZGRCaW5hcnlEYXRhVG9EYXRhc2V0QnlJRHNSZXF1ZXN0EjkKCmJpbmFyeV9pZHMYASADKA' - 'syGi52aWFtLmFwcC5kYXRhLnYxLkJpbmFyeUlEUgliaW5hcnlJZHMSJgoPYmluYXJ5X2RhdGFf' - 'aWRzGAMgAygJUg1iaW5hcnlEYXRhSWRzEh0KCmRhdGFzZXRfaWQYAiABKAlSCWRhdGFzZXRJZA' - '=='); - -@$core.Deprecated('Use addBinaryDataToDatasetByIDsResponseDescriptor instead') -const AddBinaryDataToDatasetByIDsResponse$json = { - '1': 'AddBinaryDataToDatasetByIDsResponse', -}; - -/// Descriptor for `AddBinaryDataToDatasetByIDsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addBinaryDataToDatasetByIDsResponseDescriptor = $convert.base64Decode( - 'CiNBZGRCaW5hcnlEYXRhVG9EYXRhc2V0QnlJRHNSZXNwb25zZQ=='); - -@$core.Deprecated('Use removeBinaryDataFromDatasetByIDsRequestDescriptor instead') -const RemoveBinaryDataFromDatasetByIDsRequest$json = { - '1': 'RemoveBinaryDataFromDatasetByIDsRequest', - '2': [ - {'1': 'binary_ids', '3': 1, '4': 3, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryIds'}, - {'1': 'binary_data_ids', '3': 3, '4': 3, '5': 9, '10': 'binaryDataIds'}, - {'1': 'dataset_id', '3': 2, '4': 1, '5': 9, '10': 'datasetId'}, - ], -}; - -/// Descriptor for `RemoveBinaryDataFromDatasetByIDsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeBinaryDataFromDatasetByIDsRequestDescriptor = $convert.base64Decode( - 'CidSZW1vdmVCaW5hcnlEYXRhRnJvbURhdGFzZXRCeUlEc1JlcXVlc3QSOQoKYmluYXJ5X2lkcx' - 'gBIAMoCzIaLnZpYW0uYXBwLmRhdGEudjEuQmluYXJ5SURSCWJpbmFyeUlkcxImCg9iaW5hcnlf' - 'ZGF0YV9pZHMYAyADKAlSDWJpbmFyeURhdGFJZHMSHQoKZGF0YXNldF9pZBgCIAEoCVIJZGF0YX' - 'NldElk'); - -@$core.Deprecated('Use removeBinaryDataFromDatasetByIDsResponseDescriptor instead') -const RemoveBinaryDataFromDatasetByIDsResponse$json = { - '1': 'RemoveBinaryDataFromDatasetByIDsResponse', -}; - -/// Descriptor for `RemoveBinaryDataFromDatasetByIDsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeBinaryDataFromDatasetByIDsResponseDescriptor = $convert.base64Decode( - 'CihSZW1vdmVCaW5hcnlEYXRhRnJvbURhdGFzZXRCeUlEc1Jlc3BvbnNl'); - diff --git a/lib/src/gen/app/dataset/v1/dataset.pb.dart b/lib/src/gen/app/dataset/v1/dataset.pb.dart deleted file mode 100644 index 0642d73a845..00000000000 --- a/lib/src/gen/app/dataset/v1/dataset.pb.dart +++ /dev/null @@ -1,597 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/dataset/v1/dataset.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/timestamp.pb.dart' as $47; - -/// Dataset stores the metadata of a dataset. -class Dataset extends $pb.GeneratedMessage { - factory Dataset({ - $core.String? id, - $core.String? name, - $core.String? organizationId, - $47.Timestamp? timeCreated, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (timeCreated != null) { - $result.timeCreated = timeCreated; - } - return $result; - } - Dataset._() : super(); - factory Dataset.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Dataset.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Dataset', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'organizationId') - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'timeCreated', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Dataset clone() => Dataset()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Dataset copyWith(void Function(Dataset) updates) => super.copyWith((message) => updates(message as Dataset)) as Dataset; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Dataset create() => Dataset._(); - Dataset createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Dataset getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Dataset? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get organizationId => $_getSZ(2); - @$pb.TagNumber(3) - set organizationId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasOrganizationId() => $_has(2); - @$pb.TagNumber(3) - void clearOrganizationId() => clearField(3); - - @$pb.TagNumber(4) - $47.Timestamp get timeCreated => $_getN(3); - @$pb.TagNumber(4) - set timeCreated($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasTimeCreated() => $_has(3); - @$pb.TagNumber(4) - void clearTimeCreated() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureTimeCreated() => $_ensure(3); -} - -/// CreateDatasetRequest defines the name and organization ID of a dataset. -class CreateDatasetRequest extends $pb.GeneratedMessage { - factory CreateDatasetRequest({ - $core.String? name, - $core.String? organizationId, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - CreateDatasetRequest._() : super(); - factory CreateDatasetRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateDatasetRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateDatasetRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateDatasetRequest clone() => CreateDatasetRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateDatasetRequest copyWith(void Function(CreateDatasetRequest) updates) => super.copyWith((message) => updates(message as CreateDatasetRequest)) as CreateDatasetRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateDatasetRequest create() => CreateDatasetRequest._(); - CreateDatasetRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateDatasetRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateDatasetRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get organizationId => $_getSZ(1); - @$pb.TagNumber(2) - set organizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrganizationId() => $_has(1); - @$pb.TagNumber(2) - void clearOrganizationId() => clearField(2); -} - -/// CreateDatasetResponse returns the dataset ID of the created dataset. -class CreateDatasetResponse extends $pb.GeneratedMessage { - factory CreateDatasetResponse({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - CreateDatasetResponse._() : super(); - factory CreateDatasetResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateDatasetResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateDatasetResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateDatasetResponse clone() => CreateDatasetResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateDatasetResponse copyWith(void Function(CreateDatasetResponse) updates) => super.copyWith((message) => updates(message as CreateDatasetResponse)) as CreateDatasetResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateDatasetResponse create() => CreateDatasetResponse._(); - CreateDatasetResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateDatasetResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateDatasetResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -/// DeleteDatasetRequest deletes the dataset specified by the dataset ID. -class DeleteDatasetRequest extends $pb.GeneratedMessage { - factory DeleteDatasetRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - DeleteDatasetRequest._() : super(); - factory DeleteDatasetRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteDatasetRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteDatasetRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteDatasetRequest clone() => DeleteDatasetRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteDatasetRequest copyWith(void Function(DeleteDatasetRequest) updates) => super.copyWith((message) => updates(message as DeleteDatasetRequest)) as DeleteDatasetRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteDatasetRequest create() => DeleteDatasetRequest._(); - DeleteDatasetRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteDatasetRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteDatasetRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class DeleteDatasetResponse extends $pb.GeneratedMessage { - factory DeleteDatasetResponse() => create(); - DeleteDatasetResponse._() : super(); - factory DeleteDatasetResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteDatasetResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteDatasetResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteDatasetResponse clone() => DeleteDatasetResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteDatasetResponse copyWith(void Function(DeleteDatasetResponse) updates) => super.copyWith((message) => updates(message as DeleteDatasetResponse)) as DeleteDatasetResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteDatasetResponse create() => DeleteDatasetResponse._(); - DeleteDatasetResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteDatasetResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteDatasetResponse? _defaultInstance; -} - -/// RenameDatasetRequest applies the new name to the dataset specified by the dataset ID. -class RenameDatasetRequest extends $pb.GeneratedMessage { - factory RenameDatasetRequest({ - $core.String? id, - $core.String? name, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - return $result; - } - RenameDatasetRequest._() : super(); - factory RenameDatasetRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RenameDatasetRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenameDatasetRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RenameDatasetRequest clone() => RenameDatasetRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RenameDatasetRequest copyWith(void Function(RenameDatasetRequest) updates) => super.copyWith((message) => updates(message as RenameDatasetRequest)) as RenameDatasetRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RenameDatasetRequest create() => RenameDatasetRequest._(); - RenameDatasetRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RenameDatasetRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RenameDatasetRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); -} - -class RenameDatasetResponse extends $pb.GeneratedMessage { - factory RenameDatasetResponse() => create(); - RenameDatasetResponse._() : super(); - factory RenameDatasetResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RenameDatasetResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenameDatasetResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RenameDatasetResponse clone() => RenameDatasetResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RenameDatasetResponse copyWith(void Function(RenameDatasetResponse) updates) => super.copyWith((message) => updates(message as RenameDatasetResponse)) as RenameDatasetResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RenameDatasetResponse create() => RenameDatasetResponse._(); - RenameDatasetResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RenameDatasetResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RenameDatasetResponse? _defaultInstance; -} - -/// ListDatasetsByOrganizationIDRequest requests all of the datasets for an organization. -class ListDatasetsByOrganizationIDRequest extends $pb.GeneratedMessage { - factory ListDatasetsByOrganizationIDRequest({ - $core.String? organizationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - ListDatasetsByOrganizationIDRequest._() : super(); - factory ListDatasetsByOrganizationIDRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListDatasetsByOrganizationIDRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListDatasetsByOrganizationIDRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListDatasetsByOrganizationIDRequest clone() => ListDatasetsByOrganizationIDRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListDatasetsByOrganizationIDRequest copyWith(void Function(ListDatasetsByOrganizationIDRequest) updates) => super.copyWith((message) => updates(message as ListDatasetsByOrganizationIDRequest)) as ListDatasetsByOrganizationIDRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListDatasetsByOrganizationIDRequest create() => ListDatasetsByOrganizationIDRequest._(); - ListDatasetsByOrganizationIDRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListDatasetsByOrganizationIDRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListDatasetsByOrganizationIDRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); -} - -/// ListDatasetsByOrganizationIDResponse returns all the dataset metadata for the organization. -class ListDatasetsByOrganizationIDResponse extends $pb.GeneratedMessage { - factory ListDatasetsByOrganizationIDResponse({ - $core.Iterable? datasets, - }) { - final $result = create(); - if (datasets != null) { - $result.datasets.addAll(datasets); - } - return $result; - } - ListDatasetsByOrganizationIDResponse._() : super(); - factory ListDatasetsByOrganizationIDResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListDatasetsByOrganizationIDResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListDatasetsByOrganizationIDResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'datasets', $pb.PbFieldType.PM, subBuilder: Dataset.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListDatasetsByOrganizationIDResponse clone() => ListDatasetsByOrganizationIDResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListDatasetsByOrganizationIDResponse copyWith(void Function(ListDatasetsByOrganizationIDResponse) updates) => super.copyWith((message) => updates(message as ListDatasetsByOrganizationIDResponse)) as ListDatasetsByOrganizationIDResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListDatasetsByOrganizationIDResponse create() => ListDatasetsByOrganizationIDResponse._(); - ListDatasetsByOrganizationIDResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListDatasetsByOrganizationIDResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListDatasetsByOrganizationIDResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get datasets => $_getList(0); -} - -/// ListDatasetsByIDsRequest requests all of the datasets by their dataset IDs. -class ListDatasetsByIDsRequest extends $pb.GeneratedMessage { - factory ListDatasetsByIDsRequest({ - $core.Iterable<$core.String>? ids, - }) { - final $result = create(); - if (ids != null) { - $result.ids.addAll(ids); - } - return $result; - } - ListDatasetsByIDsRequest._() : super(); - factory ListDatasetsByIDsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListDatasetsByIDsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListDatasetsByIDsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'ids') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListDatasetsByIDsRequest clone() => ListDatasetsByIDsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListDatasetsByIDsRequest copyWith(void Function(ListDatasetsByIDsRequest) updates) => super.copyWith((message) => updates(message as ListDatasetsByIDsRequest)) as ListDatasetsByIDsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListDatasetsByIDsRequest create() => ListDatasetsByIDsRequest._(); - ListDatasetsByIDsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListDatasetsByIDsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListDatasetsByIDsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get ids => $_getList(0); -} - -/// ListDatasetsByIDsResponse returns all the dataset metadata for the associated dataset IDs. -class ListDatasetsByIDsResponse extends $pb.GeneratedMessage { - factory ListDatasetsByIDsResponse({ - $core.Iterable? datasets, - }) { - final $result = create(); - if (datasets != null) { - $result.datasets.addAll(datasets); - } - return $result; - } - ListDatasetsByIDsResponse._() : super(); - factory ListDatasetsByIDsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListDatasetsByIDsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListDatasetsByIDsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.dataset.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'datasets', $pb.PbFieldType.PM, subBuilder: Dataset.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListDatasetsByIDsResponse clone() => ListDatasetsByIDsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListDatasetsByIDsResponse copyWith(void Function(ListDatasetsByIDsResponse) updates) => super.copyWith((message) => updates(message as ListDatasetsByIDsResponse)) as ListDatasetsByIDsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListDatasetsByIDsResponse create() => ListDatasetsByIDsResponse._(); - ListDatasetsByIDsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListDatasetsByIDsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListDatasetsByIDsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get datasets => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/dataset/v1/dataset.pbenum.dart b/lib/src/gen/app/dataset/v1/dataset.pbenum.dart deleted file mode 100644 index 33303347a06..00000000000 --- a/lib/src/gen/app/dataset/v1/dataset.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/dataset/v1/dataset.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/app/dataset/v1/dataset.pbgrpc.dart b/lib/src/gen/app/dataset/v1/dataset.pbgrpc.dart deleted file mode 100644 index de25efb1e2e..00000000000 --- a/lib/src/gen/app/dataset/v1/dataset.pbgrpc.dart +++ /dev/null @@ -1,139 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/dataset/v1/dataset.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'dataset.pb.dart' as $4; - -export 'dataset.pb.dart'; - -@$pb.GrpcServiceName('viam.app.dataset.v1.DatasetService') -class DatasetServiceClient extends $grpc.Client { - static final _$createDataset = $grpc.ClientMethod<$4.CreateDatasetRequest, $4.CreateDatasetResponse>( - '/viam.app.dataset.v1.DatasetService/CreateDataset', - ($4.CreateDatasetRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.CreateDatasetResponse.fromBuffer(value)); - static final _$deleteDataset = $grpc.ClientMethod<$4.DeleteDatasetRequest, $4.DeleteDatasetResponse>( - '/viam.app.dataset.v1.DatasetService/DeleteDataset', - ($4.DeleteDatasetRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.DeleteDatasetResponse.fromBuffer(value)); - static final _$renameDataset = $grpc.ClientMethod<$4.RenameDatasetRequest, $4.RenameDatasetResponse>( - '/viam.app.dataset.v1.DatasetService/RenameDataset', - ($4.RenameDatasetRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.RenameDatasetResponse.fromBuffer(value)); - static final _$listDatasetsByOrganizationID = $grpc.ClientMethod<$4.ListDatasetsByOrganizationIDRequest, $4.ListDatasetsByOrganizationIDResponse>( - '/viam.app.dataset.v1.DatasetService/ListDatasetsByOrganizationID', - ($4.ListDatasetsByOrganizationIDRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.ListDatasetsByOrganizationIDResponse.fromBuffer(value)); - static final _$listDatasetsByIDs = $grpc.ClientMethod<$4.ListDatasetsByIDsRequest, $4.ListDatasetsByIDsResponse>( - '/viam.app.dataset.v1.DatasetService/ListDatasetsByIDs', - ($4.ListDatasetsByIDsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.ListDatasetsByIDsResponse.fromBuffer(value)); - - DatasetServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$4.CreateDatasetResponse> createDataset($4.CreateDatasetRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createDataset, request, options: options); - } - - $grpc.ResponseFuture<$4.DeleteDatasetResponse> deleteDataset($4.DeleteDatasetRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteDataset, request, options: options); - } - - $grpc.ResponseFuture<$4.RenameDatasetResponse> renameDataset($4.RenameDatasetRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$renameDataset, request, options: options); - } - - $grpc.ResponseFuture<$4.ListDatasetsByOrganizationIDResponse> listDatasetsByOrganizationID($4.ListDatasetsByOrganizationIDRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listDatasetsByOrganizationID, request, options: options); - } - - $grpc.ResponseFuture<$4.ListDatasetsByIDsResponse> listDatasetsByIDs($4.ListDatasetsByIDsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listDatasetsByIDs, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.dataset.v1.DatasetService') -abstract class DatasetServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.dataset.v1.DatasetService'; - - DatasetServiceBase() { - $addMethod($grpc.ServiceMethod<$4.CreateDatasetRequest, $4.CreateDatasetResponse>( - 'CreateDataset', - createDataset_Pre, - false, - false, - ($core.List<$core.int> value) => $4.CreateDatasetRequest.fromBuffer(value), - ($4.CreateDatasetResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.DeleteDatasetRequest, $4.DeleteDatasetResponse>( - 'DeleteDataset', - deleteDataset_Pre, - false, - false, - ($core.List<$core.int> value) => $4.DeleteDatasetRequest.fromBuffer(value), - ($4.DeleteDatasetResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.RenameDatasetRequest, $4.RenameDatasetResponse>( - 'RenameDataset', - renameDataset_Pre, - false, - false, - ($core.List<$core.int> value) => $4.RenameDatasetRequest.fromBuffer(value), - ($4.RenameDatasetResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.ListDatasetsByOrganizationIDRequest, $4.ListDatasetsByOrganizationIDResponse>( - 'ListDatasetsByOrganizationID', - listDatasetsByOrganizationID_Pre, - false, - false, - ($core.List<$core.int> value) => $4.ListDatasetsByOrganizationIDRequest.fromBuffer(value), - ($4.ListDatasetsByOrganizationIDResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.ListDatasetsByIDsRequest, $4.ListDatasetsByIDsResponse>( - 'ListDatasetsByIDs', - listDatasetsByIDs_Pre, - false, - false, - ($core.List<$core.int> value) => $4.ListDatasetsByIDsRequest.fromBuffer(value), - ($4.ListDatasetsByIDsResponse value) => value.writeToBuffer())); - } - - $async.Future<$4.CreateDatasetResponse> createDataset_Pre($grpc.ServiceCall call, $async.Future<$4.CreateDatasetRequest> request) async { - return createDataset(call, await request); - } - - $async.Future<$4.DeleteDatasetResponse> deleteDataset_Pre($grpc.ServiceCall call, $async.Future<$4.DeleteDatasetRequest> request) async { - return deleteDataset(call, await request); - } - - $async.Future<$4.RenameDatasetResponse> renameDataset_Pre($grpc.ServiceCall call, $async.Future<$4.RenameDatasetRequest> request) async { - return renameDataset(call, await request); - } - - $async.Future<$4.ListDatasetsByOrganizationIDResponse> listDatasetsByOrganizationID_Pre($grpc.ServiceCall call, $async.Future<$4.ListDatasetsByOrganizationIDRequest> request) async { - return listDatasetsByOrganizationID(call, await request); - } - - $async.Future<$4.ListDatasetsByIDsResponse> listDatasetsByIDs_Pre($grpc.ServiceCall call, $async.Future<$4.ListDatasetsByIDsRequest> request) async { - return listDatasetsByIDs(call, await request); - } - - $async.Future<$4.CreateDatasetResponse> createDataset($grpc.ServiceCall call, $4.CreateDatasetRequest request); - $async.Future<$4.DeleteDatasetResponse> deleteDataset($grpc.ServiceCall call, $4.DeleteDatasetRequest request); - $async.Future<$4.RenameDatasetResponse> renameDataset($grpc.ServiceCall call, $4.RenameDatasetRequest request); - $async.Future<$4.ListDatasetsByOrganizationIDResponse> listDatasetsByOrganizationID($grpc.ServiceCall call, $4.ListDatasetsByOrganizationIDRequest request); - $async.Future<$4.ListDatasetsByIDsResponse> listDatasetsByIDs($grpc.ServiceCall call, $4.ListDatasetsByIDsRequest request); -} diff --git a/lib/src/gen/app/dataset/v1/dataset.pbjson.dart b/lib/src/gen/app/dataset/v1/dataset.pbjson.dart deleted file mode 100644 index 3ef98831765..00000000000 --- a/lib/src/gen/app/dataset/v1/dataset.pbjson.dart +++ /dev/null @@ -1,153 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/dataset/v1/dataset.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use datasetDescriptor instead') -const Dataset$json = { - '1': 'Dataset', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'organization_id', '3': 3, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'time_created', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeCreated'}, - ], -}; - -/// Descriptor for `Dataset`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List datasetDescriptor = $convert.base64Decode( - 'CgdEYXRhc2V0Eg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEicKD29yZ2FuaX' - 'phdGlvbl9pZBgDIAEoCVIOb3JnYW5pemF0aW9uSWQSPQoMdGltZV9jcmVhdGVkGAQgASgLMhou' - 'Z29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFILdGltZUNyZWF0ZWQ='); - -@$core.Deprecated('Use createDatasetRequestDescriptor instead') -const CreateDatasetRequest$json = { - '1': 'CreateDatasetRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'organization_id', '3': 2, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `CreateDatasetRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createDatasetRequestDescriptor = $convert.base64Decode( - 'ChRDcmVhdGVEYXRhc2V0UmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEicKD29yZ2FuaXphdG' - 'lvbl9pZBgCIAEoCVIOb3JnYW5pemF0aW9uSWQ='); - -@$core.Deprecated('Use createDatasetResponseDescriptor instead') -const CreateDatasetResponse$json = { - '1': 'CreateDatasetResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `CreateDatasetResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createDatasetResponseDescriptor = $convert.base64Decode( - 'ChVDcmVhdGVEYXRhc2V0UmVzcG9uc2USDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use deleteDatasetRequestDescriptor instead') -const DeleteDatasetRequest$json = { - '1': 'DeleteDatasetRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `DeleteDatasetRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteDatasetRequestDescriptor = $convert.base64Decode( - 'ChREZWxldGVEYXRhc2V0UmVxdWVzdBIOCgJpZBgBIAEoCVICaWQ='); - -@$core.Deprecated('Use deleteDatasetResponseDescriptor instead') -const DeleteDatasetResponse$json = { - '1': 'DeleteDatasetResponse', -}; - -/// Descriptor for `DeleteDatasetResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteDatasetResponseDescriptor = $convert.base64Decode( - 'ChVEZWxldGVEYXRhc2V0UmVzcG9uc2U='); - -@$core.Deprecated('Use renameDatasetRequestDescriptor instead') -const RenameDatasetRequest$json = { - '1': 'RenameDatasetRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `RenameDatasetRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List renameDatasetRequestDescriptor = $convert.base64Decode( - 'ChRSZW5hbWVEYXRhc2V0UmVxdWVzdBIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbm' - 'FtZQ=='); - -@$core.Deprecated('Use renameDatasetResponseDescriptor instead') -const RenameDatasetResponse$json = { - '1': 'RenameDatasetResponse', -}; - -/// Descriptor for `RenameDatasetResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List renameDatasetResponseDescriptor = $convert.base64Decode( - 'ChVSZW5hbWVEYXRhc2V0UmVzcG9uc2U='); - -@$core.Deprecated('Use listDatasetsByOrganizationIDRequestDescriptor instead') -const ListDatasetsByOrganizationIDRequest$json = { - '1': 'ListDatasetsByOrganizationIDRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `ListDatasetsByOrganizationIDRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listDatasetsByOrganizationIDRequestDescriptor = $convert.base64Decode( - 'CiNMaXN0RGF0YXNldHNCeU9yZ2FuaXphdGlvbklEUmVxdWVzdBInCg9vcmdhbml6YXRpb25faW' - 'QYASABKAlSDm9yZ2FuaXphdGlvbklk'); - -@$core.Deprecated('Use listDatasetsByOrganizationIDResponseDescriptor instead') -const ListDatasetsByOrganizationIDResponse$json = { - '1': 'ListDatasetsByOrganizationIDResponse', - '2': [ - {'1': 'datasets', '3': 1, '4': 3, '5': 11, '6': '.viam.app.dataset.v1.Dataset', '10': 'datasets'}, - ], -}; - -/// Descriptor for `ListDatasetsByOrganizationIDResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listDatasetsByOrganizationIDResponseDescriptor = $convert.base64Decode( - 'CiRMaXN0RGF0YXNldHNCeU9yZ2FuaXphdGlvbklEUmVzcG9uc2USOAoIZGF0YXNldHMYASADKA' - 'syHC52aWFtLmFwcC5kYXRhc2V0LnYxLkRhdGFzZXRSCGRhdGFzZXRz'); - -@$core.Deprecated('Use listDatasetsByIDsRequestDescriptor instead') -const ListDatasetsByIDsRequest$json = { - '1': 'ListDatasetsByIDsRequest', - '2': [ - {'1': 'ids', '3': 1, '4': 3, '5': 9, '10': 'ids'}, - ], -}; - -/// Descriptor for `ListDatasetsByIDsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listDatasetsByIDsRequestDescriptor = $convert.base64Decode( - 'ChhMaXN0RGF0YXNldHNCeUlEc1JlcXVlc3QSEAoDaWRzGAEgAygJUgNpZHM='); - -@$core.Deprecated('Use listDatasetsByIDsResponseDescriptor instead') -const ListDatasetsByIDsResponse$json = { - '1': 'ListDatasetsByIDsResponse', - '2': [ - {'1': 'datasets', '3': 1, '4': 3, '5': 11, '6': '.viam.app.dataset.v1.Dataset', '10': 'datasets'}, - ], -}; - -/// Descriptor for `ListDatasetsByIDsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listDatasetsByIDsResponseDescriptor = $convert.base64Decode( - 'ChlMaXN0RGF0YXNldHNCeUlEc1Jlc3BvbnNlEjgKCGRhdGFzZXRzGAEgAygLMhwudmlhbS5hcH' - 'AuZGF0YXNldC52MS5EYXRhc2V0UghkYXRhc2V0cw=='); - diff --git a/lib/src/gen/app/datasync/v1/data_sync.pb.dart b/lib/src/gen/app/datasync/v1/data_sync.pb.dart deleted file mode 100644 index 14d8cbf1659..00000000000 --- a/lib/src/gen/app/datasync/v1/data_sync.pb.dart +++ /dev/null @@ -1,1111 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/datasync/v1/data_sync.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/any.pb.dart' as $48; -import '../../../google/protobuf/struct.pb.dart' as $46; -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import '../../data/v1/data.pb.dart' as $3; -import 'data_sync.pbenum.dart'; - -export 'data_sync.pbenum.dart'; - -/// DataCaptureUploadRequest requests to upload the contents and metadata for tabular data. -class DataCaptureUploadRequest extends $pb.GeneratedMessage { - factory DataCaptureUploadRequest({ - UploadMetadata? metadata, - $core.Iterable? sensorContents, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - if (sensorContents != null) { - $result.sensorContents.addAll(sensorContents); - } - return $result; - } - DataCaptureUploadRequest._() : super(); - factory DataCaptureUploadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DataCaptureUploadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataCaptureUploadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: UploadMetadata.create) - ..pc(2, _omitFieldNames ? '' : 'sensorContents', $pb.PbFieldType.PM, subBuilder: SensorData.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DataCaptureUploadRequest clone() => DataCaptureUploadRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DataCaptureUploadRequest copyWith(void Function(DataCaptureUploadRequest) updates) => super.copyWith((message) => updates(message as DataCaptureUploadRequest)) as DataCaptureUploadRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DataCaptureUploadRequest create() => DataCaptureUploadRequest._(); - DataCaptureUploadRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DataCaptureUploadRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DataCaptureUploadRequest? _defaultInstance; - - @$pb.TagNumber(1) - UploadMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(UploadMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - UploadMetadata ensureMetadata() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List get sensorContents => $_getList(1); -} - -/// DataCaptureUploadResponse returns the file id of the uploaded contents and metadata for tabular data. -class DataCaptureUploadResponse extends $pb.GeneratedMessage { - factory DataCaptureUploadResponse({ - $core.String? fileId, - $core.String? binaryDataId, - }) { - final $result = create(); - if (fileId != null) { - $result.fileId = fileId; - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - DataCaptureUploadResponse._() : super(); - factory DataCaptureUploadResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DataCaptureUploadResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataCaptureUploadResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fileId') - ..aOS(2, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DataCaptureUploadResponse clone() => DataCaptureUploadResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DataCaptureUploadResponse copyWith(void Function(DataCaptureUploadResponse) updates) => super.copyWith((message) => updates(message as DataCaptureUploadResponse)) as DataCaptureUploadResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DataCaptureUploadResponse create() => DataCaptureUploadResponse._(); - DataCaptureUploadResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DataCaptureUploadResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DataCaptureUploadResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fileId => $_getSZ(0); - @$pb.TagNumber(1) - set fileId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFileId() => $_has(0); - @$pb.TagNumber(1) - void clearFileId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get binaryDataId => $_getSZ(1); - @$pb.TagNumber(2) - set binaryDataId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasBinaryDataId() => $_has(1); - @$pb.TagNumber(2) - void clearBinaryDataId() => clearField(2); -} - -enum FileUploadRequest_UploadPacket { - metadata, - fileContents, - notSet -} - -/// FileUploadRequest requests to upload the contents and metadata for binary (image + file) data. -/// The first packet must be the UploadMetadata associated with the binary data. -class FileUploadRequest extends $pb.GeneratedMessage { - factory FileUploadRequest({ - UploadMetadata? metadata, - FileData? fileContents, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - if (fileContents != null) { - $result.fileContents = fileContents; - } - return $result; - } - FileUploadRequest._() : super(); - factory FileUploadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileUploadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, FileUploadRequest_UploadPacket> _FileUploadRequest_UploadPacketByTag = { - 1 : FileUploadRequest_UploadPacket.metadata, - 2 : FileUploadRequest_UploadPacket.fileContents, - 0 : FileUploadRequest_UploadPacket.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileUploadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: UploadMetadata.create) - ..aOM(2, _omitFieldNames ? '' : 'fileContents', subBuilder: FileData.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileUploadRequest clone() => FileUploadRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileUploadRequest copyWith(void Function(FileUploadRequest) updates) => super.copyWith((message) => updates(message as FileUploadRequest)) as FileUploadRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileUploadRequest create() => FileUploadRequest._(); - FileUploadRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileUploadRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileUploadRequest? _defaultInstance; - - FileUploadRequest_UploadPacket whichUploadPacket() => _FileUploadRequest_UploadPacketByTag[$_whichOneof(0)]!; - void clearUploadPacket() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - UploadMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(UploadMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - UploadMetadata ensureMetadata() => $_ensure(0); - - @$pb.TagNumber(2) - FileData get fileContents => $_getN(1); - @$pb.TagNumber(2) - set fileContents(FileData v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasFileContents() => $_has(1); - @$pb.TagNumber(2) - void clearFileContents() => clearField(2); - @$pb.TagNumber(2) - FileData ensureFileContents() => $_ensure(1); -} - -/// FileUploadResponse returns the file id of the uploaded contents and metadata for binary (image + file) data. -class FileUploadResponse extends $pb.GeneratedMessage { - factory FileUploadResponse({ - $core.String? fileId, - $core.String? binaryDataId, - }) { - final $result = create(); - if (fileId != null) { - $result.fileId = fileId; - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - FileUploadResponse._() : super(); - factory FileUploadResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileUploadResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileUploadResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fileId') - ..aOS(2, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileUploadResponse clone() => FileUploadResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileUploadResponse copyWith(void Function(FileUploadResponse) updates) => super.copyWith((message) => updates(message as FileUploadResponse)) as FileUploadResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileUploadResponse create() => FileUploadResponse._(); - FileUploadResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileUploadResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileUploadResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fileId => $_getSZ(0); - @$pb.TagNumber(1) - set fileId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFileId() => $_has(0); - @$pb.TagNumber(1) - void clearFileId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get binaryDataId => $_getSZ(1); - @$pb.TagNumber(2) - set binaryDataId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasBinaryDataId() => $_has(1); - @$pb.TagNumber(2) - void clearBinaryDataId() => clearField(2); -} - -enum StreamingDataCaptureUploadRequest_UploadPacket { - metadata, - data, - notSet -} - -/// StreamingDataCaptureUploadRequest requests to upload the contents and metadata for streaming binary (image + file) data. -/// The first packet must be the DataCaptureUploadMetadata associated with the data. -class StreamingDataCaptureUploadRequest extends $pb.GeneratedMessage { - factory StreamingDataCaptureUploadRequest({ - DataCaptureUploadMetadata? metadata, - $core.List<$core.int>? data, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - if (data != null) { - $result.data = data; - } - return $result; - } - StreamingDataCaptureUploadRequest._() : super(); - factory StreamingDataCaptureUploadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamingDataCaptureUploadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, StreamingDataCaptureUploadRequest_UploadPacket> _StreamingDataCaptureUploadRequest_UploadPacketByTag = { - 1 : StreamingDataCaptureUploadRequest_UploadPacket.metadata, - 2 : StreamingDataCaptureUploadRequest_UploadPacket.data, - 0 : StreamingDataCaptureUploadRequest_UploadPacket.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamingDataCaptureUploadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: DataCaptureUploadMetadata.create) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamingDataCaptureUploadRequest clone() => StreamingDataCaptureUploadRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamingDataCaptureUploadRequest copyWith(void Function(StreamingDataCaptureUploadRequest) updates) => super.copyWith((message) => updates(message as StreamingDataCaptureUploadRequest)) as StreamingDataCaptureUploadRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamingDataCaptureUploadRequest create() => StreamingDataCaptureUploadRequest._(); - StreamingDataCaptureUploadRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamingDataCaptureUploadRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamingDataCaptureUploadRequest? _defaultInstance; - - StreamingDataCaptureUploadRequest_UploadPacket whichUploadPacket() => _StreamingDataCaptureUploadRequest_UploadPacketByTag[$_whichOneof(0)]!; - void clearUploadPacket() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - DataCaptureUploadMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(DataCaptureUploadMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - DataCaptureUploadMetadata ensureMetadata() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List<$core.int> get data => $_getN(1); - @$pb.TagNumber(2) - set data($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); -} - -/// StreamingDataCaptureUploadResponse returns the file id of the uploaded contents and metadata for streaming binary (image + file) data. -class StreamingDataCaptureUploadResponse extends $pb.GeneratedMessage { - factory StreamingDataCaptureUploadResponse({ - $core.String? fileId, - $core.String? binaryDataId, - }) { - final $result = create(); - if (fileId != null) { - $result.fileId = fileId; - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - StreamingDataCaptureUploadResponse._() : super(); - factory StreamingDataCaptureUploadResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamingDataCaptureUploadResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamingDataCaptureUploadResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fileId') - ..aOS(2, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamingDataCaptureUploadResponse clone() => StreamingDataCaptureUploadResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamingDataCaptureUploadResponse copyWith(void Function(StreamingDataCaptureUploadResponse) updates) => super.copyWith((message) => updates(message as StreamingDataCaptureUploadResponse)) as StreamingDataCaptureUploadResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamingDataCaptureUploadResponse create() => StreamingDataCaptureUploadResponse._(); - StreamingDataCaptureUploadResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamingDataCaptureUploadResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamingDataCaptureUploadResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fileId => $_getSZ(0); - @$pb.TagNumber(1) - set fileId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFileId() => $_has(0); - @$pb.TagNumber(1) - void clearFileId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get binaryDataId => $_getSZ(1); - @$pb.TagNumber(2) - set binaryDataId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasBinaryDataId() => $_has(1); - @$pb.TagNumber(2) - void clearBinaryDataId() => clearField(2); -} - -/// SensorMetadata contains the time the sensor data was requested and was -/// received. -class SensorMetadata extends $pb.GeneratedMessage { - factory SensorMetadata({ - $47.Timestamp? timeRequested, - $47.Timestamp? timeReceived, - MimeType? mimeType, - $3.Annotations? annotations, - }) { - final $result = create(); - if (timeRequested != null) { - $result.timeRequested = timeRequested; - } - if (timeReceived != null) { - $result.timeReceived = timeReceived; - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (annotations != null) { - $result.annotations = annotations; - } - return $result; - } - SensorMetadata._() : super(); - factory SensorMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SensorMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SensorMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'timeRequested', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'timeReceived', subBuilder: $47.Timestamp.create) - ..e(3, _omitFieldNames ? '' : 'mimeType', $pb.PbFieldType.OE, defaultOrMaker: MimeType.MIME_TYPE_UNSPECIFIED, valueOf: MimeType.valueOf, enumValues: MimeType.values) - ..aOM<$3.Annotations>(4, _omitFieldNames ? '' : 'annotations', subBuilder: $3.Annotations.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SensorMetadata clone() => SensorMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SensorMetadata copyWith(void Function(SensorMetadata) updates) => super.copyWith((message) => updates(message as SensorMetadata)) as SensorMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SensorMetadata create() => SensorMetadata._(); - SensorMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SensorMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SensorMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $47.Timestamp get timeRequested => $_getN(0); - @$pb.TagNumber(1) - set timeRequested($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasTimeRequested() => $_has(0); - @$pb.TagNumber(1) - void clearTimeRequested() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureTimeRequested() => $_ensure(0); - - @$pb.TagNumber(2) - $47.Timestamp get timeReceived => $_getN(1); - @$pb.TagNumber(2) - set timeReceived($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasTimeReceived() => $_has(1); - @$pb.TagNumber(2) - void clearTimeReceived() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureTimeReceived() => $_ensure(1); - - @$pb.TagNumber(3) - MimeType get mimeType => $_getN(2); - @$pb.TagNumber(3) - set mimeType(MimeType v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasMimeType() => $_has(2); - @$pb.TagNumber(3) - void clearMimeType() => clearField(3); - - @$pb.TagNumber(4) - $3.Annotations get annotations => $_getN(3); - @$pb.TagNumber(4) - set annotations($3.Annotations v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasAnnotations() => $_has(3); - @$pb.TagNumber(4) - void clearAnnotations() => clearField(4); - @$pb.TagNumber(4) - $3.Annotations ensureAnnotations() => $_ensure(3); -} - -enum SensorData_Data { - struct, - binary, - notSet -} - -/// SensorData contains the contents and metadata for tabular data. -class SensorData extends $pb.GeneratedMessage { - factory SensorData({ - SensorMetadata? metadata, - $46.Struct? struct, - $core.List<$core.int>? binary, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - if (struct != null) { - $result.struct = struct; - } - if (binary != null) { - $result.binary = binary; - } - return $result; - } - SensorData._() : super(); - factory SensorData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SensorData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, SensorData_Data> _SensorData_DataByTag = { - 2 : SensorData_Data.struct, - 3 : SensorData_Data.binary, - 0 : SensorData_Data.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SensorData', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..oo(0, [2, 3]) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: SensorMetadata.create) - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'struct', subBuilder: $46.Struct.create) - ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'binary', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SensorData clone() => SensorData()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SensorData copyWith(void Function(SensorData) updates) => super.copyWith((message) => updates(message as SensorData)) as SensorData; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SensorData create() => SensorData._(); - SensorData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SensorData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SensorData? _defaultInstance; - - SensorData_Data whichData() => _SensorData_DataByTag[$_whichOneof(0)]!; - void clearData() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - SensorMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(SensorMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - SensorMetadata ensureMetadata() => $_ensure(0); - - @$pb.TagNumber(2) - $46.Struct get struct => $_getN(1); - @$pb.TagNumber(2) - set struct($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasStruct() => $_has(1); - @$pb.TagNumber(2) - void clearStruct() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureStruct() => $_ensure(1); - - @$pb.TagNumber(3) - $core.List<$core.int> get binary => $_getN(2); - @$pb.TagNumber(3) - set binary($core.List<$core.int> v) { $_setBytes(2, v); } - @$pb.TagNumber(3) - $core.bool hasBinary() => $_has(2); - @$pb.TagNumber(3) - void clearBinary() => clearField(3); -} - -/// FileData contains the contents of binary (image + file) data. -class FileData extends $pb.GeneratedMessage { - factory FileData({ - $core.List<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - FileData._() : super(); - factory FileData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileData', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileData clone() => FileData()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileData copyWith(void Function(FileData) updates) => super.copyWith((message) => updates(message as FileData)) as FileData; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileData create() => FileData._(); - FileData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileData? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getN(0); - @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); -} - -/// UploadMetadata contains the metadata for binary (image + file) data. -class UploadMetadata extends $pb.GeneratedMessage { - factory UploadMetadata({ - $core.String? partId, - $core.String? componentType, - $core.String? componentName, - $core.String? methodName, - DataType? type, - $core.String? fileName, - $core.Map<$core.String, $48.Any>? methodParameters, - $core.String? fileExtension, - $core.Iterable<$core.String>? tags, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - if (componentType != null) { - $result.componentType = componentType; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (methodName != null) { - $result.methodName = methodName; - } - if (type != null) { - $result.type = type; - } - if (fileName != null) { - $result.fileName = fileName; - } - if (methodParameters != null) { - $result.methodParameters.addAll(methodParameters); - } - if (fileExtension != null) { - $result.fileExtension = fileExtension; - } - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - UploadMetadata._() : super(); - factory UploadMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UploadMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..aOS(2, _omitFieldNames ? '' : 'componentType') - ..aOS(3, _omitFieldNames ? '' : 'componentName') - ..aOS(5, _omitFieldNames ? '' : 'methodName') - ..e(6, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: DataType.DATA_TYPE_UNSPECIFIED, valueOf: DataType.valueOf, enumValues: DataType.values) - ..aOS(7, _omitFieldNames ? '' : 'fileName') - ..m<$core.String, $48.Any>(8, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'UploadMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $48.Any.create, valueDefaultOrMaker: $48.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) - ..aOS(9, _omitFieldNames ? '' : 'fileExtension') - ..pPS(10, _omitFieldNames ? '' : 'tags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UploadMetadata clone() => UploadMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UploadMetadata copyWith(void Function(UploadMetadata) updates) => super.copyWith((message) => updates(message as UploadMetadata)) as UploadMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UploadMetadata create() => UploadMetadata._(); - UploadMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UploadMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UploadMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get componentType => $_getSZ(1); - @$pb.TagNumber(2) - set componentType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasComponentType() => $_has(1); - @$pb.TagNumber(2) - void clearComponentType() => clearField(2); - - @$pb.TagNumber(3) - $core.String get componentName => $_getSZ(2); - @$pb.TagNumber(3) - set componentName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasComponentName() => $_has(2); - @$pb.TagNumber(3) - void clearComponentName() => clearField(3); - - @$pb.TagNumber(5) - $core.String get methodName => $_getSZ(3); - @$pb.TagNumber(5) - set methodName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(5) - $core.bool hasMethodName() => $_has(3); - @$pb.TagNumber(5) - void clearMethodName() => clearField(5); - - @$pb.TagNumber(6) - DataType get type => $_getN(4); - @$pb.TagNumber(6) - set type(DataType v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasType() => $_has(4); - @$pb.TagNumber(6) - void clearType() => clearField(6); - - @$pb.TagNumber(7) - $core.String get fileName => $_getSZ(5); - @$pb.TagNumber(7) - set fileName($core.String v) { $_setString(5, v); } - @$pb.TagNumber(7) - $core.bool hasFileName() => $_has(5); - @$pb.TagNumber(7) - void clearFileName() => clearField(7); - - @$pb.TagNumber(8) - $core.Map<$core.String, $48.Any> get methodParameters => $_getMap(6); - - @$pb.TagNumber(9) - $core.String get fileExtension => $_getSZ(7); - @$pb.TagNumber(9) - set fileExtension($core.String v) { $_setString(7, v); } - @$pb.TagNumber(9) - $core.bool hasFileExtension() => $_has(7); - @$pb.TagNumber(9) - void clearFileExtension() => clearField(9); - - @$pb.TagNumber(10) - $core.List<$core.String> get tags => $_getList(8); -} - -/// CaptureInterval specifies the start and end times of the data capture. -class CaptureInterval extends $pb.GeneratedMessage { - factory CaptureInterval({ - $47.Timestamp? start, - $47.Timestamp? end, - }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - return $result; - } - CaptureInterval._() : super(); - factory CaptureInterval.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CaptureInterval.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureInterval', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CaptureInterval clone() => CaptureInterval()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CaptureInterval copyWith(void Function(CaptureInterval) updates) => super.copyWith((message) => updates(message as CaptureInterval)) as CaptureInterval; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CaptureInterval create() => CaptureInterval._(); - CaptureInterval createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CaptureInterval getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CaptureInterval? _defaultInstance; - - @$pb.TagNumber(1) - $47.Timestamp get start => $_getN(0); - @$pb.TagNumber(1) - set start($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStart() => $_has(0); - @$pb.TagNumber(1) - void clearStart() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureStart() => $_ensure(0); - - @$pb.TagNumber(2) - $47.Timestamp get end => $_getN(1); - @$pb.TagNumber(2) - set end($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEnd() => $_has(1); - @$pb.TagNumber(2) - void clearEnd() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureEnd() => $_ensure(1); -} - -/// DataCaptureMetadata contains the metadata for data captured by collectors. -class DataCaptureMetadata extends $pb.GeneratedMessage { - factory DataCaptureMetadata({ - $core.String? componentType, - $core.String? componentName, - $core.String? methodName, - DataType? type, - $core.Map<$core.String, $48.Any>? methodParameters, - $core.String? fileExtension, - $core.Iterable<$core.String>? tags, - }) { - final $result = create(); - if (componentType != null) { - $result.componentType = componentType; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (methodName != null) { - $result.methodName = methodName; - } - if (type != null) { - $result.type = type; - } - if (methodParameters != null) { - $result.methodParameters.addAll(methodParameters); - } - if (fileExtension != null) { - $result.fileExtension = fileExtension; - } - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - DataCaptureMetadata._() : super(); - factory DataCaptureMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DataCaptureMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataCaptureMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'componentType') - ..aOS(2, _omitFieldNames ? '' : 'componentName') - ..aOS(4, _omitFieldNames ? '' : 'methodName') - ..e(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: DataType.DATA_TYPE_UNSPECIFIED, valueOf: DataType.valueOf, enumValues: DataType.values) - ..m<$core.String, $48.Any>(6, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'DataCaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $48.Any.create, valueDefaultOrMaker: $48.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) - ..aOS(7, _omitFieldNames ? '' : 'fileExtension') - ..pPS(8, _omitFieldNames ? '' : 'tags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DataCaptureMetadata clone() => DataCaptureMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DataCaptureMetadata copyWith(void Function(DataCaptureMetadata) updates) => super.copyWith((message) => updates(message as DataCaptureMetadata)) as DataCaptureMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DataCaptureMetadata create() => DataCaptureMetadata._(); - DataCaptureMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DataCaptureMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DataCaptureMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get componentType => $_getSZ(0); - @$pb.TagNumber(1) - set componentType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasComponentType() => $_has(0); - @$pb.TagNumber(1) - void clearComponentType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get componentName => $_getSZ(1); - @$pb.TagNumber(2) - set componentName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasComponentName() => $_has(1); - @$pb.TagNumber(2) - void clearComponentName() => clearField(2); - - @$pb.TagNumber(4) - $core.String get methodName => $_getSZ(2); - @$pb.TagNumber(4) - set methodName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasMethodName() => $_has(2); - @$pb.TagNumber(4) - void clearMethodName() => clearField(4); - - @$pb.TagNumber(5) - DataType get type => $_getN(3); - @$pb.TagNumber(5) - set type(DataType v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasType() => $_has(3); - @$pb.TagNumber(5) - void clearType() => clearField(5); - - @$pb.TagNumber(6) - $core.Map<$core.String, $48.Any> get methodParameters => $_getMap(4); - - @$pb.TagNumber(7) - $core.String get fileExtension => $_getSZ(5); - @$pb.TagNumber(7) - set fileExtension($core.String v) { $_setString(5, v); } - @$pb.TagNumber(7) - $core.bool hasFileExtension() => $_has(5); - @$pb.TagNumber(7) - void clearFileExtension() => clearField(7); - - @$pb.TagNumber(8) - $core.List<$core.String> get tags => $_getList(6); -} - -/// DataCaptureUploadMetadata contains the metadata for streaming binary (image + file) data. -class DataCaptureUploadMetadata extends $pb.GeneratedMessage { - factory DataCaptureUploadMetadata({ - UploadMetadata? uploadMetadata, - SensorMetadata? sensorMetadata, - }) { - final $result = create(); - if (uploadMetadata != null) { - $result.uploadMetadata = uploadMetadata; - } - if (sensorMetadata != null) { - $result.sensorMetadata = sensorMetadata; - } - return $result; - } - DataCaptureUploadMetadata._() : super(); - factory DataCaptureUploadMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DataCaptureUploadMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DataCaptureUploadMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'uploadMetadata', subBuilder: UploadMetadata.create) - ..aOM(2, _omitFieldNames ? '' : 'sensorMetadata', subBuilder: SensorMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DataCaptureUploadMetadata clone() => DataCaptureUploadMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DataCaptureUploadMetadata copyWith(void Function(DataCaptureUploadMetadata) updates) => super.copyWith((message) => updates(message as DataCaptureUploadMetadata)) as DataCaptureUploadMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DataCaptureUploadMetadata create() => DataCaptureUploadMetadata._(); - DataCaptureUploadMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DataCaptureUploadMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DataCaptureUploadMetadata? _defaultInstance; - - @$pb.TagNumber(1) - UploadMetadata get uploadMetadata => $_getN(0); - @$pb.TagNumber(1) - set uploadMetadata(UploadMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasUploadMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearUploadMetadata() => clearField(1); - @$pb.TagNumber(1) - UploadMetadata ensureUploadMetadata() => $_ensure(0); - - @$pb.TagNumber(2) - SensorMetadata get sensorMetadata => $_getN(1); - @$pb.TagNumber(2) - set sensorMetadata(SensorMetadata v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasSensorMetadata() => $_has(1); - @$pb.TagNumber(2) - void clearSensorMetadata() => clearField(2); - @$pb.TagNumber(2) - SensorMetadata ensureSensorMetadata() => $_ensure(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/datasync/v1/data_sync.pbenum.dart b/lib/src/gen/app/datasync/v1/data_sync.pbenum.dart deleted file mode 100644 index d79325a0c0f..00000000000 --- a/lib/src/gen/app/datasync/v1/data_sync.pbenum.dart +++ /dev/null @@ -1,56 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/datasync/v1/data_sync.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class MimeType extends $pb.ProtobufEnum { - static const MimeType MIME_TYPE_UNSPECIFIED = MimeType._(0, _omitEnumNames ? '' : 'MIME_TYPE_UNSPECIFIED'); - static const MimeType MIME_TYPE_IMAGE_JPEG = MimeType._(1, _omitEnumNames ? '' : 'MIME_TYPE_IMAGE_JPEG'); - static const MimeType MIME_TYPE_IMAGE_PNG = MimeType._(2, _omitEnumNames ? '' : 'MIME_TYPE_IMAGE_PNG'); - static const MimeType MIME_TYPE_APPLICATION_PCD = MimeType._(3, _omitEnumNames ? '' : 'MIME_TYPE_APPLICATION_PCD'); - - static const $core.List values = [ - MIME_TYPE_UNSPECIFIED, - MIME_TYPE_IMAGE_JPEG, - MIME_TYPE_IMAGE_PNG, - MIME_TYPE_APPLICATION_PCD, - ]; - - static final $core.Map<$core.int, MimeType> _byValue = $pb.ProtobufEnum.initByValue(values); - static MimeType? valueOf($core.int value) => _byValue[value]; - - const MimeType._($core.int v, $core.String n) : super(v, n); -} - -/// DataType specifies the type of data uploaded. -class DataType extends $pb.ProtobufEnum { - static const DataType DATA_TYPE_UNSPECIFIED = DataType._(0, _omitEnumNames ? '' : 'DATA_TYPE_UNSPECIFIED'); - static const DataType DATA_TYPE_BINARY_SENSOR = DataType._(1, _omitEnumNames ? '' : 'DATA_TYPE_BINARY_SENSOR'); - static const DataType DATA_TYPE_TABULAR_SENSOR = DataType._(2, _omitEnumNames ? '' : 'DATA_TYPE_TABULAR_SENSOR'); - static const DataType DATA_TYPE_FILE = DataType._(3, _omitEnumNames ? '' : 'DATA_TYPE_FILE'); - - static const $core.List values = [ - DATA_TYPE_UNSPECIFIED, - DATA_TYPE_BINARY_SENSOR, - DATA_TYPE_TABULAR_SENSOR, - DATA_TYPE_FILE, - ]; - - static final $core.Map<$core.int, DataType> _byValue = $pb.ProtobufEnum.initByValue(values); - static DataType? valueOf($core.int value) => _byValue[value]; - - const DataType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/datasync/v1/data_sync.pbgrpc.dart b/lib/src/gen/app/datasync/v1/data_sync.pbgrpc.dart deleted file mode 100644 index b73c651d53a..00000000000 --- a/lib/src/gen/app/datasync/v1/data_sync.pbgrpc.dart +++ /dev/null @@ -1,91 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/datasync/v1/data_sync.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'data_sync.pb.dart' as $5; - -export 'data_sync.pb.dart'; - -@$pb.GrpcServiceName('viam.app.datasync.v1.DataSyncService') -class DataSyncServiceClient extends $grpc.Client { - static final _$dataCaptureUpload = $grpc.ClientMethod<$5.DataCaptureUploadRequest, $5.DataCaptureUploadResponse>( - '/viam.app.datasync.v1.DataSyncService/DataCaptureUpload', - ($5.DataCaptureUploadRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $5.DataCaptureUploadResponse.fromBuffer(value)); - static final _$fileUpload = $grpc.ClientMethod<$5.FileUploadRequest, $5.FileUploadResponse>( - '/viam.app.datasync.v1.DataSyncService/FileUpload', - ($5.FileUploadRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $5.FileUploadResponse.fromBuffer(value)); - static final _$streamingDataCaptureUpload = $grpc.ClientMethod<$5.StreamingDataCaptureUploadRequest, $5.StreamingDataCaptureUploadResponse>( - '/viam.app.datasync.v1.DataSyncService/StreamingDataCaptureUpload', - ($5.StreamingDataCaptureUploadRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $5.StreamingDataCaptureUploadResponse.fromBuffer(value)); - - DataSyncServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$5.DataCaptureUploadResponse> dataCaptureUpload($5.DataCaptureUploadRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$dataCaptureUpload, request, options: options); - } - - $grpc.ResponseFuture<$5.FileUploadResponse> fileUpload($async.Stream<$5.FileUploadRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$fileUpload, request, options: options).single; - } - - $grpc.ResponseFuture<$5.StreamingDataCaptureUploadResponse> streamingDataCaptureUpload($async.Stream<$5.StreamingDataCaptureUploadRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$streamingDataCaptureUpload, request, options: options).single; - } -} - -@$pb.GrpcServiceName('viam.app.datasync.v1.DataSyncService') -abstract class DataSyncServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.datasync.v1.DataSyncService'; - - DataSyncServiceBase() { - $addMethod($grpc.ServiceMethod<$5.DataCaptureUploadRequest, $5.DataCaptureUploadResponse>( - 'DataCaptureUpload', - dataCaptureUpload_Pre, - false, - false, - ($core.List<$core.int> value) => $5.DataCaptureUploadRequest.fromBuffer(value), - ($5.DataCaptureUploadResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$5.FileUploadRequest, $5.FileUploadResponse>( - 'FileUpload', - fileUpload, - true, - false, - ($core.List<$core.int> value) => $5.FileUploadRequest.fromBuffer(value), - ($5.FileUploadResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$5.StreamingDataCaptureUploadRequest, $5.StreamingDataCaptureUploadResponse>( - 'StreamingDataCaptureUpload', - streamingDataCaptureUpload, - true, - false, - ($core.List<$core.int> value) => $5.StreamingDataCaptureUploadRequest.fromBuffer(value), - ($5.StreamingDataCaptureUploadResponse value) => value.writeToBuffer())); - } - - $async.Future<$5.DataCaptureUploadResponse> dataCaptureUpload_Pre($grpc.ServiceCall call, $async.Future<$5.DataCaptureUploadRequest> request) async { - return dataCaptureUpload(call, await request); - } - - $async.Future<$5.DataCaptureUploadResponse> dataCaptureUpload($grpc.ServiceCall call, $5.DataCaptureUploadRequest request); - $async.Future<$5.FileUploadResponse> fileUpload($grpc.ServiceCall call, $async.Stream<$5.FileUploadRequest> request); - $async.Future<$5.StreamingDataCaptureUploadResponse> streamingDataCaptureUpload($grpc.ServiceCall call, $async.Stream<$5.StreamingDataCaptureUploadRequest> request); -} diff --git a/lib/src/gen/app/datasync/v1/data_sync.pbjson.dart b/lib/src/gen/app/datasync/v1/data_sync.pbjson.dart deleted file mode 100644 index 62907a5b1a1..00000000000 --- a/lib/src/gen/app/datasync/v1/data_sync.pbjson.dart +++ /dev/null @@ -1,312 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/datasync/v1/data_sync.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use mimeTypeDescriptor instead') -const MimeType$json = { - '1': 'MimeType', - '2': [ - {'1': 'MIME_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'MIME_TYPE_IMAGE_JPEG', '2': 1}, - {'1': 'MIME_TYPE_IMAGE_PNG', '2': 2}, - {'1': 'MIME_TYPE_APPLICATION_PCD', '2': 3}, - ], -}; - -/// Descriptor for `MimeType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List mimeTypeDescriptor = $convert.base64Decode( - 'CghNaW1lVHlwZRIZChVNSU1FX1RZUEVfVU5TUEVDSUZJRUQQABIYChRNSU1FX1RZUEVfSU1BR0' - 'VfSlBFRxABEhcKE01JTUVfVFlQRV9JTUFHRV9QTkcQAhIdChlNSU1FX1RZUEVfQVBQTElDQVRJ' - 'T05fUENEEAM='); - -@$core.Deprecated('Use dataTypeDescriptor instead') -const DataType$json = { - '1': 'DataType', - '2': [ - {'1': 'DATA_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'DATA_TYPE_BINARY_SENSOR', '2': 1}, - {'1': 'DATA_TYPE_TABULAR_SENSOR', '2': 2}, - {'1': 'DATA_TYPE_FILE', '2': 3}, - ], -}; - -/// Descriptor for `DataType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List dataTypeDescriptor = $convert.base64Decode( - 'CghEYXRhVHlwZRIZChVEQVRBX1RZUEVfVU5TUEVDSUZJRUQQABIbChdEQVRBX1RZUEVfQklOQV' - 'JZX1NFTlNPUhABEhwKGERBVEFfVFlQRV9UQUJVTEFSX1NFTlNPUhACEhIKDkRBVEFfVFlQRV9G' - 'SUxFEAM='); - -@$core.Deprecated('Use dataCaptureUploadRequestDescriptor instead') -const DataCaptureUploadRequest$json = { - '1': 'DataCaptureUploadRequest', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.app.datasync.v1.UploadMetadata', '10': 'metadata'}, - {'1': 'sensor_contents', '3': 2, '4': 3, '5': 11, '6': '.viam.app.datasync.v1.SensorData', '10': 'sensorContents'}, - ], -}; - -/// Descriptor for `DataCaptureUploadRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataCaptureUploadRequestDescriptor = $convert.base64Decode( - 'ChhEYXRhQ2FwdHVyZVVwbG9hZFJlcXVlc3QSQAoIbWV0YWRhdGEYASABKAsyJC52aWFtLmFwcC' - '5kYXRhc3luYy52MS5VcGxvYWRNZXRhZGF0YVIIbWV0YWRhdGESSQoPc2Vuc29yX2NvbnRlbnRz' - 'GAIgAygLMiAudmlhbS5hcHAuZGF0YXN5bmMudjEuU2Vuc29yRGF0YVIOc2Vuc29yQ29udGVudH' - 'M='); - -@$core.Deprecated('Use dataCaptureUploadResponseDescriptor instead') -const DataCaptureUploadResponse$json = { - '1': 'DataCaptureUploadResponse', - '2': [ - {'1': 'file_id', '3': 1, '4': 1, '5': 9, '10': 'fileId'}, - {'1': 'binary_data_id', '3': 2, '4': 1, '5': 9, '10': 'binaryDataId'}, - ], -}; - -/// Descriptor for `DataCaptureUploadResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataCaptureUploadResponseDescriptor = $convert.base64Decode( - 'ChlEYXRhQ2FwdHVyZVVwbG9hZFJlc3BvbnNlEhcKB2ZpbGVfaWQYASABKAlSBmZpbGVJZBIkCg' - '5iaW5hcnlfZGF0YV9pZBgCIAEoCVIMYmluYXJ5RGF0YUlk'); - -@$core.Deprecated('Use fileUploadRequestDescriptor instead') -const FileUploadRequest$json = { - '1': 'FileUploadRequest', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.app.datasync.v1.UploadMetadata', '9': 0, '10': 'metadata'}, - {'1': 'file_contents', '3': 2, '4': 1, '5': 11, '6': '.viam.app.datasync.v1.FileData', '9': 0, '10': 'fileContents'}, - ], - '8': [ - {'1': 'upload_packet'}, - ], -}; - -/// Descriptor for `FileUploadRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileUploadRequestDescriptor = $convert.base64Decode( - 'ChFGaWxlVXBsb2FkUmVxdWVzdBJCCghtZXRhZGF0YRgBIAEoCzIkLnZpYW0uYXBwLmRhdGFzeW' - '5jLnYxLlVwbG9hZE1ldGFkYXRhSABSCG1ldGFkYXRhEkUKDWZpbGVfY29udGVudHMYAiABKAsy' - 'Hi52aWFtLmFwcC5kYXRhc3luYy52MS5GaWxlRGF0YUgAUgxmaWxlQ29udGVudHNCDwoNdXBsb2' - 'FkX3BhY2tldA=='); - -@$core.Deprecated('Use fileUploadResponseDescriptor instead') -const FileUploadResponse$json = { - '1': 'FileUploadResponse', - '2': [ - {'1': 'file_id', '3': 1, '4': 1, '5': 9, '10': 'fileId'}, - {'1': 'binary_data_id', '3': 2, '4': 1, '5': 9, '10': 'binaryDataId'}, - ], -}; - -/// Descriptor for `FileUploadResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileUploadResponseDescriptor = $convert.base64Decode( - 'ChJGaWxlVXBsb2FkUmVzcG9uc2USFwoHZmlsZV9pZBgBIAEoCVIGZmlsZUlkEiQKDmJpbmFyeV' - '9kYXRhX2lkGAIgASgJUgxiaW5hcnlEYXRhSWQ='); - -@$core.Deprecated('Use streamingDataCaptureUploadRequestDescriptor instead') -const StreamingDataCaptureUploadRequest$json = { - '1': 'StreamingDataCaptureUploadRequest', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.app.datasync.v1.DataCaptureUploadMetadata', '9': 0, '10': 'metadata'}, - {'1': 'data', '3': 2, '4': 1, '5': 12, '9': 0, '10': 'data'}, - ], - '8': [ - {'1': 'upload_packet'}, - ], -}; - -/// Descriptor for `StreamingDataCaptureUploadRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamingDataCaptureUploadRequestDescriptor = $convert.base64Decode( - 'CiFTdHJlYW1pbmdEYXRhQ2FwdHVyZVVwbG9hZFJlcXVlc3QSTQoIbWV0YWRhdGEYASABKAsyLy' - '52aWFtLmFwcC5kYXRhc3luYy52MS5EYXRhQ2FwdHVyZVVwbG9hZE1ldGFkYXRhSABSCG1ldGFk' - 'YXRhEhQKBGRhdGEYAiABKAxIAFIEZGF0YUIPCg11cGxvYWRfcGFja2V0'); - -@$core.Deprecated('Use streamingDataCaptureUploadResponseDescriptor instead') -const StreamingDataCaptureUploadResponse$json = { - '1': 'StreamingDataCaptureUploadResponse', - '2': [ - {'1': 'file_id', '3': 1, '4': 1, '5': 9, '10': 'fileId'}, - {'1': 'binary_data_id', '3': 2, '4': 1, '5': 9, '10': 'binaryDataId'}, - ], -}; - -/// Descriptor for `StreamingDataCaptureUploadResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamingDataCaptureUploadResponseDescriptor = $convert.base64Decode( - 'CiJTdHJlYW1pbmdEYXRhQ2FwdHVyZVVwbG9hZFJlc3BvbnNlEhcKB2ZpbGVfaWQYASABKAlSBm' - 'ZpbGVJZBIkCg5iaW5hcnlfZGF0YV9pZBgCIAEoCVIMYmluYXJ5RGF0YUlk'); - -@$core.Deprecated('Use sensorMetadataDescriptor instead') -const SensorMetadata$json = { - '1': 'SensorMetadata', - '2': [ - {'1': 'time_requested', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeRequested'}, - {'1': 'time_received', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timeReceived'}, - {'1': 'mime_type', '3': 3, '4': 1, '5': 14, '6': '.viam.app.datasync.v1.MimeType', '10': 'mimeType'}, - {'1': 'annotations', '3': 4, '4': 1, '5': 11, '6': '.viam.app.data.v1.Annotations', '10': 'annotations'}, - ], -}; - -/// Descriptor for `SensorMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sensorMetadataDescriptor = $convert.base64Decode( - 'Cg5TZW5zb3JNZXRhZGF0YRJBCg50aW1lX3JlcXVlc3RlZBgBIAEoCzIaLmdvb2dsZS5wcm90b2' - 'J1Zi5UaW1lc3RhbXBSDXRpbWVSZXF1ZXN0ZWQSPwoNdGltZV9yZWNlaXZlZBgCIAEoCzIaLmdv' - 'b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSDHRpbWVSZWNlaXZlZBI7CgltaW1lX3R5cGUYAyABKA' - '4yHi52aWFtLmFwcC5kYXRhc3luYy52MS5NaW1lVHlwZVIIbWltZVR5cGUSPwoLYW5ub3RhdGlv' - 'bnMYBCABKAsyHS52aWFtLmFwcC5kYXRhLnYxLkFubm90YXRpb25zUgthbm5vdGF0aW9ucw=='); - -@$core.Deprecated('Use sensorDataDescriptor instead') -const SensorData$json = { - '1': 'SensorData', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.app.datasync.v1.SensorMetadata', '10': 'metadata'}, - {'1': 'struct', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '9': 0, '10': 'struct'}, - {'1': 'binary', '3': 3, '4': 1, '5': 12, '9': 0, '10': 'binary'}, - ], - '8': [ - {'1': 'data'}, - ], -}; - -/// Descriptor for `SensorData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sensorDataDescriptor = $convert.base64Decode( - 'CgpTZW5zb3JEYXRhEkAKCG1ldGFkYXRhGAEgASgLMiQudmlhbS5hcHAuZGF0YXN5bmMudjEuU2' - 'Vuc29yTWV0YWRhdGFSCG1ldGFkYXRhEjEKBnN0cnVjdBgCIAEoCzIXLmdvb2dsZS5wcm90b2J1' - 'Zi5TdHJ1Y3RIAFIGc3RydWN0EhgKBmJpbmFyeRgDIAEoDEgAUgZiaW5hcnlCBgoEZGF0YQ=='); - -@$core.Deprecated('Use fileDataDescriptor instead') -const FileData$json = { - '1': 'FileData', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 12, '10': 'data'}, - ], -}; - -/// Descriptor for `FileData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileDataDescriptor = $convert.base64Decode( - 'CghGaWxlRGF0YRISCgRkYXRhGAEgASgMUgRkYXRh'); - -@$core.Deprecated('Use uploadMetadataDescriptor instead') -const UploadMetadata$json = { - '1': 'UploadMetadata', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - {'1': 'component_type', '3': 2, '4': 1, '5': 9, '10': 'componentType'}, - {'1': 'component_name', '3': 3, '4': 1, '5': 9, '10': 'componentName'}, - {'1': 'method_name', '3': 5, '4': 1, '5': 9, '10': 'methodName'}, - {'1': 'type', '3': 6, '4': 1, '5': 14, '6': '.viam.app.datasync.v1.DataType', '10': 'type'}, - {'1': 'file_name', '3': 7, '4': 1, '5': 9, '10': 'fileName'}, - {'1': 'method_parameters', '3': 8, '4': 3, '5': 11, '6': '.viam.app.datasync.v1.UploadMetadata.MethodParametersEntry', '10': 'methodParameters'}, - {'1': 'file_extension', '3': 9, '4': 1, '5': 9, '10': 'fileExtension'}, - {'1': 'tags', '3': 10, '4': 3, '5': 9, '10': 'tags'}, - ], - '3': [UploadMetadata_MethodParametersEntry$json], - '9': [ - {'1': 4, '2': 5}, - {'1': 11, '2': 12}, - ], - '10': ['component_model', 'session_id'], -}; - -@$core.Deprecated('Use uploadMetadataDescriptor instead') -const UploadMetadata_MethodParametersEntry$json = { - '1': 'MethodParametersEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Any', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `UploadMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uploadMetadataDescriptor = $convert.base64Decode( - 'Cg5VcGxvYWRNZXRhZGF0YRIXCgdwYXJ0X2lkGAEgASgJUgZwYXJ0SWQSJQoOY29tcG9uZW50X3' - 'R5cGUYAiABKAlSDWNvbXBvbmVudFR5cGUSJQoOY29tcG9uZW50X25hbWUYAyABKAlSDWNvbXBv' - 'bmVudE5hbWUSHwoLbWV0aG9kX25hbWUYBSABKAlSCm1ldGhvZE5hbWUSMgoEdHlwZRgGIAEoDj' - 'IeLnZpYW0uYXBwLmRhdGFzeW5jLnYxLkRhdGFUeXBlUgR0eXBlEhsKCWZpbGVfbmFtZRgHIAEo' - 'CVIIZmlsZU5hbWUSZwoRbWV0aG9kX3BhcmFtZXRlcnMYCCADKAsyOi52aWFtLmFwcC5kYXRhc3' - 'luYy52MS5VcGxvYWRNZXRhZGF0YS5NZXRob2RQYXJhbWV0ZXJzRW50cnlSEG1ldGhvZFBhcmFt' - 'ZXRlcnMSJQoOZmlsZV9leHRlbnNpb24YCSABKAlSDWZpbGVFeHRlbnNpb24SEgoEdGFncxgKIA' - 'MoCVIEdGFncxpZChVNZXRob2RQYXJhbWV0ZXJzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSKgoF' - 'dmFsdWUYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55UgV2YWx1ZToCOAFKBAgEEAVKBAgLEA' - 'xSD2NvbXBvbmVudF9tb2RlbFIKc2Vzc2lvbl9pZA=='); - -@$core.Deprecated('Use captureIntervalDescriptor instead') -const CaptureInterval$json = { - '1': 'CaptureInterval', - '2': [ - {'1': 'start', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'start'}, - {'1': 'end', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'end'}, - ], -}; - -/// Descriptor for `CaptureInterval`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List captureIntervalDescriptor = $convert.base64Decode( - 'Cg9DYXB0dXJlSW50ZXJ2YWwSMAoFc3RhcnQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZX' - 'N0YW1wUgVzdGFydBIsCgNlbmQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgNl' - 'bmQ='); - -@$core.Deprecated('Use dataCaptureMetadataDescriptor instead') -const DataCaptureMetadata$json = { - '1': 'DataCaptureMetadata', - '2': [ - {'1': 'component_type', '3': 1, '4': 1, '5': 9, '10': 'componentType'}, - {'1': 'component_name', '3': 2, '4': 1, '5': 9, '10': 'componentName'}, - {'1': 'method_name', '3': 4, '4': 1, '5': 9, '10': 'methodName'}, - {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.viam.app.datasync.v1.DataType', '10': 'type'}, - {'1': 'method_parameters', '3': 6, '4': 3, '5': 11, '6': '.viam.app.datasync.v1.DataCaptureMetadata.MethodParametersEntry', '10': 'methodParameters'}, - {'1': 'file_extension', '3': 7, '4': 1, '5': 9, '10': 'fileExtension'}, - {'1': 'tags', '3': 8, '4': 3, '5': 9, '10': 'tags'}, - ], - '3': [DataCaptureMetadata_MethodParametersEntry$json], - '9': [ - {'1': 3, '2': 4}, - {'1': 9, '2': 10}, - ], - '10': ['component_model', 'session_id'], -}; - -@$core.Deprecated('Use dataCaptureMetadataDescriptor instead') -const DataCaptureMetadata_MethodParametersEntry$json = { - '1': 'MethodParametersEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Any', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `DataCaptureMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataCaptureMetadataDescriptor = $convert.base64Decode( - 'ChNEYXRhQ2FwdHVyZU1ldGFkYXRhEiUKDmNvbXBvbmVudF90eXBlGAEgASgJUg1jb21wb25lbn' - 'RUeXBlEiUKDmNvbXBvbmVudF9uYW1lGAIgASgJUg1jb21wb25lbnROYW1lEh8KC21ldGhvZF9u' - 'YW1lGAQgASgJUgptZXRob2ROYW1lEjIKBHR5cGUYBSABKA4yHi52aWFtLmFwcC5kYXRhc3luYy' - '52MS5EYXRhVHlwZVIEdHlwZRJsChFtZXRob2RfcGFyYW1ldGVycxgGIAMoCzI/LnZpYW0uYXBw' - 'LmRhdGFzeW5jLnYxLkRhdGFDYXB0dXJlTWV0YWRhdGEuTWV0aG9kUGFyYW1ldGVyc0VudHJ5Uh' - 'BtZXRob2RQYXJhbWV0ZXJzEiUKDmZpbGVfZXh0ZW5zaW9uGAcgASgJUg1maWxlRXh0ZW5zaW9u' - 'EhIKBHRhZ3MYCCADKAlSBHRhZ3MaWQoVTWV0aG9kUGFyYW1ldGVyc0VudHJ5EhAKA2tleRgBIA' - 'EoCVIDa2V5EioKBXZhbHVlGAIgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueVIFdmFsdWU6AjgB' - 'SgQIAxAESgQICRAKUg9jb21wb25lbnRfbW9kZWxSCnNlc3Npb25faWQ='); - -@$core.Deprecated('Use dataCaptureUploadMetadataDescriptor instead') -const DataCaptureUploadMetadata$json = { - '1': 'DataCaptureUploadMetadata', - '2': [ - {'1': 'upload_metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.app.datasync.v1.UploadMetadata', '10': 'uploadMetadata'}, - {'1': 'sensor_metadata', '3': 2, '4': 1, '5': 11, '6': '.viam.app.datasync.v1.SensorMetadata', '10': 'sensorMetadata'}, - ], -}; - -/// Descriptor for `DataCaptureUploadMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dataCaptureUploadMetadataDescriptor = $convert.base64Decode( - 'ChlEYXRhQ2FwdHVyZVVwbG9hZE1ldGFkYXRhEk0KD3VwbG9hZF9tZXRhZGF0YRgBIAEoCzIkLn' - 'ZpYW0uYXBwLmRhdGFzeW5jLnYxLlVwbG9hZE1ldGFkYXRhUg51cGxvYWRNZXRhZGF0YRJNCg9z' - 'ZW5zb3JfbWV0YWRhdGEYAiABKAsyJC52aWFtLmFwcC5kYXRhc3luYy52MS5TZW5zb3JNZXRhZG' - 'F0YVIOc2Vuc29yTWV0YWRhdGE='); - diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pb.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pb.dart deleted file mode 100644 index 35420c7c2ad..00000000000 --- a/lib/src/gen/app/mlinference/v1/ml_inference.pb.dart +++ /dev/null @@ -1,200 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mlinference/v1/ml_inference.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../service/mlmodel/v1/mlmodel.pb.dart' as $6; -import '../../data/v1/data.pb.dart' as $3; - -class GetInferenceRequest extends $pb.GeneratedMessage { - factory GetInferenceRequest({ - $core.String? registryItemId, - $core.String? registryItemVersion, - $3.BinaryID? binaryId, - $core.String? organizationId, - $core.String? binaryDataId, - }) { - final $result = create(); - if (registryItemId != null) { - $result.registryItemId = registryItemId; - } - if (registryItemVersion != null) { - $result.registryItemVersion = registryItemVersion; - } - if (binaryId != null) { - $result.binaryId = binaryId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (binaryDataId != null) { - $result.binaryDataId = binaryDataId; - } - return $result; - } - GetInferenceRequest._() : super(); - factory GetInferenceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInferenceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInferenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mlinference.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'registryItemId') - ..aOS(2, _omitFieldNames ? '' : 'registryItemVersion') - ..aOM<$3.BinaryID>(3, _omitFieldNames ? '' : 'binaryId', subBuilder: $3.BinaryID.create) - ..aOS(4, _omitFieldNames ? '' : 'organizationId') - ..aOS(5, _omitFieldNames ? '' : 'binaryDataId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInferenceRequest clone() => GetInferenceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInferenceRequest copyWith(void Function(GetInferenceRequest) updates) => super.copyWith((message) => updates(message as GetInferenceRequest)) as GetInferenceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInferenceRequest create() => GetInferenceRequest._(); - GetInferenceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInferenceRequest? _defaultInstance; - - /// The model framework and model type are inferred from the ML model registry item; - /// For valid model types (classification, detections) we will return the formatted - /// labels or annotations from the associated inference outputs. - @$pb.TagNumber(1) - $core.String get registryItemId => $_getSZ(0); - @$pb.TagNumber(1) - set registryItemId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRegistryItemId() => $_has(0); - @$pb.TagNumber(1) - void clearRegistryItemId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get registryItemVersion => $_getSZ(1); - @$pb.TagNumber(2) - set registryItemVersion($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRegistryItemVersion() => $_has(1); - @$pb.TagNumber(2) - void clearRegistryItemVersion() => clearField(2); - - @$pb.TagNumber(3) - $3.BinaryID get binaryId => $_getN(2); - @$pb.TagNumber(3) - set binaryId($3.BinaryID v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasBinaryId() => $_has(2); - @$pb.TagNumber(3) - void clearBinaryId() => clearField(3); - @$pb.TagNumber(3) - $3.BinaryID ensureBinaryId() => $_ensure(2); - - @$pb.TagNumber(4) - $core.String get organizationId => $_getSZ(3); - @$pb.TagNumber(4) - set organizationId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasOrganizationId() => $_has(3); - @$pb.TagNumber(4) - void clearOrganizationId() => clearField(4); - - @$pb.TagNumber(5) - $core.String get binaryDataId => $_getSZ(4); - @$pb.TagNumber(5) - set binaryDataId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasBinaryDataId() => $_has(4); - @$pb.TagNumber(5) - void clearBinaryDataId() => clearField(5); -} - -class GetInferenceResponse extends $pb.GeneratedMessage { - factory GetInferenceResponse({ - $6.FlatTensors? outputTensors, - $3.Annotations? annotations, - }) { - final $result = create(); - if (outputTensors != null) { - $result.outputTensors = outputTensors; - } - if (annotations != null) { - $result.annotations = annotations; - } - return $result; - } - GetInferenceResponse._() : super(); - factory GetInferenceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInferenceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInferenceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mlinference.v1'), createEmptyInstance: create) - ..aOM<$6.FlatTensors>(1, _omitFieldNames ? '' : 'outputTensors', subBuilder: $6.FlatTensors.create) - ..aOM<$3.Annotations>(2, _omitFieldNames ? '' : 'annotations', subBuilder: $3.Annotations.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInferenceResponse clone() => GetInferenceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInferenceResponse copyWith(void Function(GetInferenceResponse) updates) => super.copyWith((message) => updates(message as GetInferenceResponse)) as GetInferenceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInferenceResponse create() => GetInferenceResponse._(); - GetInferenceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInferenceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInferenceResponse? _defaultInstance; - - @$pb.TagNumber(1) - $6.FlatTensors get outputTensors => $_getN(0); - @$pb.TagNumber(1) - set outputTensors($6.FlatTensors v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOutputTensors() => $_has(0); - @$pb.TagNumber(1) - void clearOutputTensors() => clearField(1); - @$pb.TagNumber(1) - $6.FlatTensors ensureOutputTensors() => $_ensure(0); - - @$pb.TagNumber(2) - $3.Annotations get annotations => $_getN(1); - @$pb.TagNumber(2) - set annotations($3.Annotations v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasAnnotations() => $_has(1); - @$pb.TagNumber(2) - void clearAnnotations() => clearField(2); - @$pb.TagNumber(2) - $3.Annotations ensureAnnotations() => $_ensure(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pbenum.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pbenum.dart deleted file mode 100644 index 5684a88a475..00000000000 --- a/lib/src/gen/app/mlinference/v1/ml_inference.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mlinference/v1/ml_inference.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart deleted file mode 100644 index a1aaa448f22..00000000000 --- a/lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart +++ /dev/null @@ -1,59 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mlinference/v1/ml_inference.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'ml_inference.pb.dart' as $7; - -export 'ml_inference.pb.dart'; - -@$pb.GrpcServiceName('viam.app.mlinference.v1.MLInferenceService') -class MLInferenceServiceClient extends $grpc.Client { - static final _$getInference = $grpc.ClientMethod<$7.GetInferenceRequest, $7.GetInferenceResponse>( - '/viam.app.mlinference.v1.MLInferenceService/GetInference', - ($7.GetInferenceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $7.GetInferenceResponse.fromBuffer(value)); - - MLInferenceServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$7.GetInferenceResponse> getInference($7.GetInferenceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getInference, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.mlinference.v1.MLInferenceService') -abstract class MLInferenceServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.mlinference.v1.MLInferenceService'; - - MLInferenceServiceBase() { - $addMethod($grpc.ServiceMethod<$7.GetInferenceRequest, $7.GetInferenceResponse>( - 'GetInference', - getInference_Pre, - false, - false, - ($core.List<$core.int> value) => $7.GetInferenceRequest.fromBuffer(value), - ($7.GetInferenceResponse value) => value.writeToBuffer())); - } - - $async.Future<$7.GetInferenceResponse> getInference_Pre($grpc.ServiceCall call, $async.Future<$7.GetInferenceRequest> request) async { - return getInference(call, await request); - } - - $async.Future<$7.GetInferenceResponse> getInference($grpc.ServiceCall call, $7.GetInferenceRequest request); -} diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart deleted file mode 100644 index c82672527af..00000000000 --- a/lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart +++ /dev/null @@ -1,50 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mlinference/v1/ml_inference.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getInferenceRequestDescriptor instead') -const GetInferenceRequest$json = { - '1': 'GetInferenceRequest', - '2': [ - {'1': 'registry_item_id', '3': 1, '4': 1, '5': 9, '10': 'registryItemId'}, - {'1': 'registry_item_version', '3': 2, '4': 1, '5': 9, '10': 'registryItemVersion'}, - {'1': 'binary_id', '3': 3, '4': 1, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryId'}, - {'1': 'binary_data_id', '3': 5, '4': 1, '5': 9, '10': 'binaryDataId'}, - {'1': 'organization_id', '3': 4, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `GetInferenceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInferenceRequestDescriptor = $convert.base64Decode( - 'ChNHZXRJbmZlcmVuY2VSZXF1ZXN0EigKEHJlZ2lzdHJ5X2l0ZW1faWQYASABKAlSDnJlZ2lzdH' - 'J5SXRlbUlkEjIKFXJlZ2lzdHJ5X2l0ZW1fdmVyc2lvbhgCIAEoCVITcmVnaXN0cnlJdGVtVmVy' - 'c2lvbhI3CgliaW5hcnlfaWQYAyABKAsyGi52aWFtLmFwcC5kYXRhLnYxLkJpbmFyeUlEUghiaW' - '5hcnlJZBIkCg5iaW5hcnlfZGF0YV9pZBgFIAEoCVIMYmluYXJ5RGF0YUlkEicKD29yZ2FuaXph' - 'dGlvbl9pZBgEIAEoCVIOb3JnYW5pemF0aW9uSWQ='); - -@$core.Deprecated('Use getInferenceResponseDescriptor instead') -const GetInferenceResponse$json = { - '1': 'GetInferenceResponse', - '2': [ - {'1': 'output_tensors', '3': 1, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensors', '10': 'outputTensors'}, - {'1': 'annotations', '3': 2, '4': 1, '5': 11, '6': '.viam.app.data.v1.Annotations', '10': 'annotations'}, - ], -}; - -/// Descriptor for `GetInferenceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInferenceResponseDescriptor = $convert.base64Decode( - 'ChRHZXRJbmZlcmVuY2VSZXNwb25zZRJLCg5vdXRwdXRfdGVuc29ycxgBIAEoCzIkLnZpYW0uc2' - 'VydmljZS5tbG1vZGVsLnYxLkZsYXRUZW5zb3JzUg1vdXRwdXRUZW5zb3JzEj8KC2Fubm90YXRp' - 'b25zGAIgASgLMh0udmlhbS5hcHAuZGF0YS52MS5Bbm5vdGF0aW9uc1ILYW5ub3RhdGlvbnM='); - diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pb.dart b/lib/src/gen/app/mltraining/v1/ml_training.pb.dart deleted file mode 100644 index f8ff10180c1..00000000000 --- a/lib/src/gen/app/mltraining/v1/ml_training.pb.dart +++ /dev/null @@ -1,1234 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mltraining/v1/ml_training.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import '../../../google/rpc/status.pb.dart' as $49; -import 'ml_training.pbenum.dart'; - -export 'ml_training.pbenum.dart'; - -class SubmitTrainingJobRequest extends $pb.GeneratedMessage { - factory SubmitTrainingJobRequest({ - $core.String? organizationId, - $core.String? modelName, - $core.String? modelVersion, - ModelType? modelType, - $core.Iterable<$core.String>? tags, - $core.String? datasetId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (modelName != null) { - $result.modelName = modelName; - } - if (modelVersion != null) { - $result.modelVersion = modelVersion; - } - if (modelType != null) { - $result.modelType = modelType; - } - if (tags != null) { - $result.tags.addAll(tags); - } - if (datasetId != null) { - $result.datasetId = datasetId; - } - return $result; - } - SubmitTrainingJobRequest._() : super(); - factory SubmitTrainingJobRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubmitTrainingJobRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubmitTrainingJobRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'organizationId') - ..aOS(3, _omitFieldNames ? '' : 'modelName') - ..aOS(4, _omitFieldNames ? '' : 'modelVersion') - ..e(5, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: ModelType.valueOf, enumValues: ModelType.values) - ..pPS(6, _omitFieldNames ? '' : 'tags') - ..aOS(7, _omitFieldNames ? '' : 'datasetId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitTrainingJobRequest clone() => SubmitTrainingJobRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitTrainingJobRequest copyWith(void Function(SubmitTrainingJobRequest) updates) => super.copyWith((message) => updates(message as SubmitTrainingJobRequest)) as SubmitTrainingJobRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SubmitTrainingJobRequest create() => SubmitTrainingJobRequest._(); - SubmitTrainingJobRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SubmitTrainingJobRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SubmitTrainingJobRequest? _defaultInstance; - - @$pb.TagNumber(2) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(2) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(2) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(2) - void clearOrganizationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get modelName => $_getSZ(1); - @$pb.TagNumber(3) - set modelName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(3) - $core.bool hasModelName() => $_has(1); - @$pb.TagNumber(3) - void clearModelName() => clearField(3); - - @$pb.TagNumber(4) - $core.String get modelVersion => $_getSZ(2); - @$pb.TagNumber(4) - set modelVersion($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasModelVersion() => $_has(2); - @$pb.TagNumber(4) - void clearModelVersion() => clearField(4); - - @$pb.TagNumber(5) - ModelType get modelType => $_getN(3); - @$pb.TagNumber(5) - set modelType(ModelType v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasModelType() => $_has(3); - @$pb.TagNumber(5) - void clearModelType() => clearField(5); - - @$pb.TagNumber(6) - $core.List<$core.String> get tags => $_getList(4); - - @$pb.TagNumber(7) - $core.String get datasetId => $_getSZ(5); - @$pb.TagNumber(7) - set datasetId($core.String v) { $_setString(5, v); } - @$pb.TagNumber(7) - $core.bool hasDatasetId() => $_has(5); - @$pb.TagNumber(7) - void clearDatasetId() => clearField(7); -} - -class SubmitTrainingJobResponse extends $pb.GeneratedMessage { - factory SubmitTrainingJobResponse({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - SubmitTrainingJobResponse._() : super(); - factory SubmitTrainingJobResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubmitTrainingJobResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubmitTrainingJobResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitTrainingJobResponse clone() => SubmitTrainingJobResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitTrainingJobResponse copyWith(void Function(SubmitTrainingJobResponse) updates) => super.copyWith((message) => updates(message as SubmitTrainingJobResponse)) as SubmitTrainingJobResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SubmitTrainingJobResponse create() => SubmitTrainingJobResponse._(); - SubmitTrainingJobResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SubmitTrainingJobResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SubmitTrainingJobResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class SubmitCustomTrainingJobRequest extends $pb.GeneratedMessage { - factory SubmitCustomTrainingJobRequest({ - $core.String? datasetId, - $core.String? registryItemId, - $core.String? organizationId, - $core.String? modelName, - $core.String? modelVersion, - $core.String? registryItemVersion, - $core.Map<$core.String, $core.String>? arguments, - }) { - final $result = create(); - if (datasetId != null) { - $result.datasetId = datasetId; - } - if (registryItemId != null) { - $result.registryItemId = registryItemId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (modelName != null) { - $result.modelName = modelName; - } - if (modelVersion != null) { - $result.modelVersion = modelVersion; - } - if (registryItemVersion != null) { - $result.registryItemVersion = registryItemVersion; - } - if (arguments != null) { - $result.arguments.addAll(arguments); - } - return $result; - } - SubmitCustomTrainingJobRequest._() : super(); - factory SubmitCustomTrainingJobRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubmitCustomTrainingJobRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubmitCustomTrainingJobRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'datasetId') - ..aOS(2, _omitFieldNames ? '' : 'registryItemId') - ..aOS(3, _omitFieldNames ? '' : 'organizationId') - ..aOS(4, _omitFieldNames ? '' : 'modelName') - ..aOS(5, _omitFieldNames ? '' : 'modelVersion') - ..aOS(6, _omitFieldNames ? '' : 'registryItemVersion') - ..m<$core.String, $core.String>(7, _omitFieldNames ? '' : 'arguments', entryClassName: 'SubmitCustomTrainingJobRequest.ArgumentsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('viam.app.mltraining.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitCustomTrainingJobRequest clone() => SubmitCustomTrainingJobRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitCustomTrainingJobRequest copyWith(void Function(SubmitCustomTrainingJobRequest) updates) => super.copyWith((message) => updates(message as SubmitCustomTrainingJobRequest)) as SubmitCustomTrainingJobRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SubmitCustomTrainingJobRequest create() => SubmitCustomTrainingJobRequest._(); - SubmitCustomTrainingJobRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SubmitCustomTrainingJobRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SubmitCustomTrainingJobRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get datasetId => $_getSZ(0); - @$pb.TagNumber(1) - set datasetId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasDatasetId() => $_has(0); - @$pb.TagNumber(1) - void clearDatasetId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get registryItemId => $_getSZ(1); - @$pb.TagNumber(2) - set registryItemId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRegistryItemId() => $_has(1); - @$pb.TagNumber(2) - void clearRegistryItemId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get organizationId => $_getSZ(2); - @$pb.TagNumber(3) - set organizationId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasOrganizationId() => $_has(2); - @$pb.TagNumber(3) - void clearOrganizationId() => clearField(3); - - @$pb.TagNumber(4) - $core.String get modelName => $_getSZ(3); - @$pb.TagNumber(4) - set modelName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasModelName() => $_has(3); - @$pb.TagNumber(4) - void clearModelName() => clearField(4); - - @$pb.TagNumber(5) - $core.String get modelVersion => $_getSZ(4); - @$pb.TagNumber(5) - set modelVersion($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasModelVersion() => $_has(4); - @$pb.TagNumber(5) - void clearModelVersion() => clearField(5); - - @$pb.TagNumber(6) - $core.String get registryItemVersion => $_getSZ(5); - @$pb.TagNumber(6) - set registryItemVersion($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasRegistryItemVersion() => $_has(5); - @$pb.TagNumber(6) - void clearRegistryItemVersion() => clearField(6); - - @$pb.TagNumber(7) - $core.Map<$core.String, $core.String> get arguments => $_getMap(6); -} - -class SubmitCustomTrainingJobResponse extends $pb.GeneratedMessage { - factory SubmitCustomTrainingJobResponse({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - SubmitCustomTrainingJobResponse._() : super(); - factory SubmitCustomTrainingJobResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubmitCustomTrainingJobResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubmitCustomTrainingJobResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubmitCustomTrainingJobResponse clone() => SubmitCustomTrainingJobResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubmitCustomTrainingJobResponse copyWith(void Function(SubmitCustomTrainingJobResponse) updates) => super.copyWith((message) => updates(message as SubmitCustomTrainingJobResponse)) as SubmitCustomTrainingJobResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SubmitCustomTrainingJobResponse create() => SubmitCustomTrainingJobResponse._(); - SubmitCustomTrainingJobResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SubmitCustomTrainingJobResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SubmitCustomTrainingJobResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class GetTrainingJobRequest extends $pb.GeneratedMessage { - factory GetTrainingJobRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - GetTrainingJobRequest._() : super(); - factory GetTrainingJobRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetTrainingJobRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTrainingJobRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetTrainingJobRequest clone() => GetTrainingJobRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetTrainingJobRequest copyWith(void Function(GetTrainingJobRequest) updates) => super.copyWith((message) => updates(message as GetTrainingJobRequest)) as GetTrainingJobRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetTrainingJobRequest create() => GetTrainingJobRequest._(); - GetTrainingJobRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetTrainingJobRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetTrainingJobRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class GetTrainingJobResponse extends $pb.GeneratedMessage { - factory GetTrainingJobResponse({ - TrainingJobMetadata? metadata, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - return $result; - } - GetTrainingJobResponse._() : super(); - factory GetTrainingJobResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetTrainingJobResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTrainingJobResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: TrainingJobMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetTrainingJobResponse clone() => GetTrainingJobResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetTrainingJobResponse copyWith(void Function(GetTrainingJobResponse) updates) => super.copyWith((message) => updates(message as GetTrainingJobResponse)) as GetTrainingJobResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetTrainingJobResponse create() => GetTrainingJobResponse._(); - GetTrainingJobResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetTrainingJobResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetTrainingJobResponse? _defaultInstance; - - @$pb.TagNumber(1) - TrainingJobMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(TrainingJobMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - TrainingJobMetadata ensureMetadata() => $_ensure(0); -} - -class ListTrainingJobsRequest extends $pb.GeneratedMessage { - factory ListTrainingJobsRequest({ - $core.String? organizationId, - TrainingStatus? status, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (status != null) { - $result.status = status; - } - return $result; - } - ListTrainingJobsRequest._() : super(); - factory ListTrainingJobsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListTrainingJobsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTrainingJobsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..e(2, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: TrainingStatus.TRAINING_STATUS_UNSPECIFIED, valueOf: TrainingStatus.valueOf, enumValues: TrainingStatus.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListTrainingJobsRequest clone() => ListTrainingJobsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListTrainingJobsRequest copyWith(void Function(ListTrainingJobsRequest) updates) => super.copyWith((message) => updates(message as ListTrainingJobsRequest)) as ListTrainingJobsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListTrainingJobsRequest create() => ListTrainingJobsRequest._(); - ListTrainingJobsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListTrainingJobsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListTrainingJobsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - TrainingStatus get status => $_getN(1); - @$pb.TagNumber(2) - set status(TrainingStatus v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasStatus() => $_has(1); - @$pb.TagNumber(2) - void clearStatus() => clearField(2); -} - -class ListTrainingJobsResponse extends $pb.GeneratedMessage { - factory ListTrainingJobsResponse({ - $core.Iterable? jobs, - }) { - final $result = create(); - if (jobs != null) { - $result.jobs.addAll(jobs); - } - return $result; - } - ListTrainingJobsResponse._() : super(); - factory ListTrainingJobsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListTrainingJobsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTrainingJobsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'jobs', $pb.PbFieldType.PM, subBuilder: TrainingJobMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListTrainingJobsResponse clone() => ListTrainingJobsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListTrainingJobsResponse copyWith(void Function(ListTrainingJobsResponse) updates) => super.copyWith((message) => updates(message as ListTrainingJobsResponse)) as ListTrainingJobsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListTrainingJobsResponse create() => ListTrainingJobsResponse._(); - ListTrainingJobsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListTrainingJobsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListTrainingJobsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get jobs => $_getList(0); -} - -class TrainingJobMetadata extends $pb.GeneratedMessage { - factory TrainingJobMetadata({ - TrainingStatus? status, - $47.Timestamp? createdOn, - $47.Timestamp? lastModified, - $core.String? syncedModelId, - $core.String? id, - $49.Status? errorStatus, - $47.Timestamp? trainingStarted, - $47.Timestamp? trainingEnded, - $core.String? datasetId, - $core.String? organizationId, - $core.String? modelName, - $core.String? modelVersion, - ModelType? modelType, - $core.Iterable<$core.String>? tags, - ModelFramework? modelFramework, - $core.bool? isCustomJob, - $core.String? registryItemId, - $core.String? registryItemVersion, - }) { - final $result = create(); - if (status != null) { - $result.status = status; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (lastModified != null) { - $result.lastModified = lastModified; - } - if (syncedModelId != null) { - $result.syncedModelId = syncedModelId; - } - if (id != null) { - $result.id = id; - } - if (errorStatus != null) { - $result.errorStatus = errorStatus; - } - if (trainingStarted != null) { - $result.trainingStarted = trainingStarted; - } - if (trainingEnded != null) { - $result.trainingEnded = trainingEnded; - } - if (datasetId != null) { - $result.datasetId = datasetId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (modelName != null) { - $result.modelName = modelName; - } - if (modelVersion != null) { - $result.modelVersion = modelVersion; - } - if (modelType != null) { - $result.modelType = modelType; - } - if (tags != null) { - $result.tags.addAll(tags); - } - if (modelFramework != null) { - $result.modelFramework = modelFramework; - } - if (isCustomJob != null) { - $result.isCustomJob = isCustomJob; - } - if (registryItemId != null) { - $result.registryItemId = registryItemId; - } - if (registryItemVersion != null) { - $result.registryItemVersion = registryItemVersion; - } - return $result; - } - TrainingJobMetadata._() : super(); - factory TrainingJobMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrainingJobMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrainingJobMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..e(2, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: TrainingStatus.TRAINING_STATUS_UNSPECIFIED, valueOf: TrainingStatus.valueOf, enumValues: TrainingStatus.values) - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'lastModified', subBuilder: $47.Timestamp.create) - ..aOS(5, _omitFieldNames ? '' : 'syncedModelId') - ..aOS(7, _omitFieldNames ? '' : 'id') - ..aOM<$49.Status>(8, _omitFieldNames ? '' : 'errorStatus', subBuilder: $49.Status.create) - ..aOM<$47.Timestamp>(9, _omitFieldNames ? '' : 'trainingStarted', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(10, _omitFieldNames ? '' : 'trainingEnded', subBuilder: $47.Timestamp.create) - ..aOS(11, _omitFieldNames ? '' : 'datasetId') - ..aOS(12, _omitFieldNames ? '' : 'organizationId') - ..aOS(13, _omitFieldNames ? '' : 'modelName') - ..aOS(14, _omitFieldNames ? '' : 'modelVersion') - ..e(15, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: ModelType.valueOf, enumValues: ModelType.values) - ..pPS(16, _omitFieldNames ? '' : 'tags') - ..e(17, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: ModelFramework.valueOf, enumValues: ModelFramework.values) - ..aOB(18, _omitFieldNames ? '' : 'isCustomJob') - ..aOS(19, _omitFieldNames ? '' : 'registryItemId') - ..aOS(20, _omitFieldNames ? '' : 'registryItemVersion') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TrainingJobMetadata clone() => TrainingJobMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrainingJobMetadata copyWith(void Function(TrainingJobMetadata) updates) => super.copyWith((message) => updates(message as TrainingJobMetadata)) as TrainingJobMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TrainingJobMetadata create() => TrainingJobMetadata._(); - TrainingJobMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TrainingJobMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TrainingJobMetadata? _defaultInstance; - - @$pb.TagNumber(2) - TrainingStatus get status => $_getN(0); - @$pb.TagNumber(2) - set status(TrainingStatus v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasStatus() => $_has(0); - @$pb.TagNumber(2) - void clearStatus() => clearField(2); - - @$pb.TagNumber(3) - $47.Timestamp get createdOn => $_getN(1); - @$pb.TagNumber(3) - set createdOn($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasCreatedOn() => $_has(1); - @$pb.TagNumber(3) - void clearCreatedOn() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureCreatedOn() => $_ensure(1); - - @$pb.TagNumber(4) - $47.Timestamp get lastModified => $_getN(2); - @$pb.TagNumber(4) - set lastModified($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasLastModified() => $_has(2); - @$pb.TagNumber(4) - void clearLastModified() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureLastModified() => $_ensure(2); - - @$pb.TagNumber(5) - $core.String get syncedModelId => $_getSZ(3); - @$pb.TagNumber(5) - set syncedModelId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(5) - $core.bool hasSyncedModelId() => $_has(3); - @$pb.TagNumber(5) - void clearSyncedModelId() => clearField(5); - - @$pb.TagNumber(7) - $core.String get id => $_getSZ(4); - @$pb.TagNumber(7) - set id($core.String v) { $_setString(4, v); } - @$pb.TagNumber(7) - $core.bool hasId() => $_has(4); - @$pb.TagNumber(7) - void clearId() => clearField(7); - - @$pb.TagNumber(8) - $49.Status get errorStatus => $_getN(5); - @$pb.TagNumber(8) - set errorStatus($49.Status v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasErrorStatus() => $_has(5); - @$pb.TagNumber(8) - void clearErrorStatus() => clearField(8); - @$pb.TagNumber(8) - $49.Status ensureErrorStatus() => $_ensure(5); - - @$pb.TagNumber(9) - $47.Timestamp get trainingStarted => $_getN(6); - @$pb.TagNumber(9) - set trainingStarted($47.Timestamp v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasTrainingStarted() => $_has(6); - @$pb.TagNumber(9) - void clearTrainingStarted() => clearField(9); - @$pb.TagNumber(9) - $47.Timestamp ensureTrainingStarted() => $_ensure(6); - - @$pb.TagNumber(10) - $47.Timestamp get trainingEnded => $_getN(7); - @$pb.TagNumber(10) - set trainingEnded($47.Timestamp v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasTrainingEnded() => $_has(7); - @$pb.TagNumber(10) - void clearTrainingEnded() => clearField(10); - @$pb.TagNumber(10) - $47.Timestamp ensureTrainingEnded() => $_ensure(7); - - @$pb.TagNumber(11) - $core.String get datasetId => $_getSZ(8); - @$pb.TagNumber(11) - set datasetId($core.String v) { $_setString(8, v); } - @$pb.TagNumber(11) - $core.bool hasDatasetId() => $_has(8); - @$pb.TagNumber(11) - void clearDatasetId() => clearField(11); - - @$pb.TagNumber(12) - $core.String get organizationId => $_getSZ(9); - @$pb.TagNumber(12) - set organizationId($core.String v) { $_setString(9, v); } - @$pb.TagNumber(12) - $core.bool hasOrganizationId() => $_has(9); - @$pb.TagNumber(12) - void clearOrganizationId() => clearField(12); - - @$pb.TagNumber(13) - $core.String get modelName => $_getSZ(10); - @$pb.TagNumber(13) - set modelName($core.String v) { $_setString(10, v); } - @$pb.TagNumber(13) - $core.bool hasModelName() => $_has(10); - @$pb.TagNumber(13) - void clearModelName() => clearField(13); - - @$pb.TagNumber(14) - $core.String get modelVersion => $_getSZ(11); - @$pb.TagNumber(14) - set modelVersion($core.String v) { $_setString(11, v); } - @$pb.TagNumber(14) - $core.bool hasModelVersion() => $_has(11); - @$pb.TagNumber(14) - void clearModelVersion() => clearField(14); - - @$pb.TagNumber(15) - ModelType get modelType => $_getN(12); - @$pb.TagNumber(15) - set modelType(ModelType v) { setField(15, v); } - @$pb.TagNumber(15) - $core.bool hasModelType() => $_has(12); - @$pb.TagNumber(15) - void clearModelType() => clearField(15); - - @$pb.TagNumber(16) - $core.List<$core.String> get tags => $_getList(13); - - @$pb.TagNumber(17) - ModelFramework get modelFramework => $_getN(14); - @$pb.TagNumber(17) - set modelFramework(ModelFramework v) { setField(17, v); } - @$pb.TagNumber(17) - $core.bool hasModelFramework() => $_has(14); - @$pb.TagNumber(17) - void clearModelFramework() => clearField(17); - - @$pb.TagNumber(18) - $core.bool get isCustomJob => $_getBF(15); - @$pb.TagNumber(18) - set isCustomJob($core.bool v) { $_setBool(15, v); } - @$pb.TagNumber(18) - $core.bool hasIsCustomJob() => $_has(15); - @$pb.TagNumber(18) - void clearIsCustomJob() => clearField(18); - - @$pb.TagNumber(19) - $core.String get registryItemId => $_getSZ(16); - @$pb.TagNumber(19) - set registryItemId($core.String v) { $_setString(16, v); } - @$pb.TagNumber(19) - $core.bool hasRegistryItemId() => $_has(16); - @$pb.TagNumber(19) - void clearRegistryItemId() => clearField(19); - - @$pb.TagNumber(20) - $core.String get registryItemVersion => $_getSZ(17); - @$pb.TagNumber(20) - set registryItemVersion($core.String v) { $_setString(17, v); } - @$pb.TagNumber(20) - $core.bool hasRegistryItemVersion() => $_has(17); - @$pb.TagNumber(20) - void clearRegistryItemVersion() => clearField(20); -} - -class CancelTrainingJobRequest extends $pb.GeneratedMessage { - factory CancelTrainingJobRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - CancelTrainingJobRequest._() : super(); - factory CancelTrainingJobRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CancelTrainingJobRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelTrainingJobRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CancelTrainingJobRequest clone() => CancelTrainingJobRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CancelTrainingJobRequest copyWith(void Function(CancelTrainingJobRequest) updates) => super.copyWith((message) => updates(message as CancelTrainingJobRequest)) as CancelTrainingJobRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CancelTrainingJobRequest create() => CancelTrainingJobRequest._(); - CancelTrainingJobRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CancelTrainingJobRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CancelTrainingJobRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class CancelTrainingJobResponse extends $pb.GeneratedMessage { - factory CancelTrainingJobResponse() => create(); - CancelTrainingJobResponse._() : super(); - factory CancelTrainingJobResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CancelTrainingJobResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelTrainingJobResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CancelTrainingJobResponse clone() => CancelTrainingJobResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CancelTrainingJobResponse copyWith(void Function(CancelTrainingJobResponse) updates) => super.copyWith((message) => updates(message as CancelTrainingJobResponse)) as CancelTrainingJobResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CancelTrainingJobResponse create() => CancelTrainingJobResponse._(); - CancelTrainingJobResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CancelTrainingJobResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CancelTrainingJobResponse? _defaultInstance; -} - -class DeleteCompletedTrainingJobRequest extends $pb.GeneratedMessage { - factory DeleteCompletedTrainingJobRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - DeleteCompletedTrainingJobRequest._() : super(); - factory DeleteCompletedTrainingJobRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteCompletedTrainingJobRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteCompletedTrainingJobRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteCompletedTrainingJobRequest clone() => DeleteCompletedTrainingJobRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteCompletedTrainingJobRequest copyWith(void Function(DeleteCompletedTrainingJobRequest) updates) => super.copyWith((message) => updates(message as DeleteCompletedTrainingJobRequest)) as DeleteCompletedTrainingJobRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteCompletedTrainingJobRequest create() => DeleteCompletedTrainingJobRequest._(); - DeleteCompletedTrainingJobRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteCompletedTrainingJobRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteCompletedTrainingJobRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class DeleteCompletedTrainingJobResponse extends $pb.GeneratedMessage { - factory DeleteCompletedTrainingJobResponse() => create(); - DeleteCompletedTrainingJobResponse._() : super(); - factory DeleteCompletedTrainingJobResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteCompletedTrainingJobResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteCompletedTrainingJobResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteCompletedTrainingJobResponse clone() => DeleteCompletedTrainingJobResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteCompletedTrainingJobResponse copyWith(void Function(DeleteCompletedTrainingJobResponse) updates) => super.copyWith((message) => updates(message as DeleteCompletedTrainingJobResponse)) as DeleteCompletedTrainingJobResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteCompletedTrainingJobResponse create() => DeleteCompletedTrainingJobResponse._(); - DeleteCompletedTrainingJobResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteCompletedTrainingJobResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteCompletedTrainingJobResponse? _defaultInstance; -} - -class TrainingJobLogEntry extends $pb.GeneratedMessage { - factory TrainingJobLogEntry({ - $core.String? level, - $47.Timestamp? time, - $core.String? message, - }) { - final $result = create(); - if (level != null) { - $result.level = level; - } - if (time != null) { - $result.time = time; - } - if (message != null) { - $result.message = message; - } - return $result; - } - TrainingJobLogEntry._() : super(); - factory TrainingJobLogEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrainingJobLogEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrainingJobLogEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'level') - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'time', subBuilder: $47.Timestamp.create) - ..aOS(3, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TrainingJobLogEntry clone() => TrainingJobLogEntry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrainingJobLogEntry copyWith(void Function(TrainingJobLogEntry) updates) => super.copyWith((message) => updates(message as TrainingJobLogEntry)) as TrainingJobLogEntry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TrainingJobLogEntry create() => TrainingJobLogEntry._(); - TrainingJobLogEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TrainingJobLogEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TrainingJobLogEntry? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get level => $_getSZ(0); - @$pb.TagNumber(1) - set level($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLevel() => $_has(0); - @$pb.TagNumber(1) - void clearLevel() => clearField(1); - - @$pb.TagNumber(2) - $47.Timestamp get time => $_getN(1); - @$pb.TagNumber(2) - set time($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasTime() => $_has(1); - @$pb.TagNumber(2) - void clearTime() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureTime() => $_ensure(1); - - @$pb.TagNumber(3) - $core.String get message => $_getSZ(2); - @$pb.TagNumber(3) - set message($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasMessage() => $_has(2); - @$pb.TagNumber(3) - void clearMessage() => clearField(3); -} - -class GetTrainingJobLogsRequest extends $pb.GeneratedMessage { - factory GetTrainingJobLogsRequest({ - $core.String? id, - $core.String? pageToken, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - return $result; - } - GetTrainingJobLogsRequest._() : super(); - factory GetTrainingJobLogsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetTrainingJobLogsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTrainingJobLogsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'pageToken') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetTrainingJobLogsRequest clone() => GetTrainingJobLogsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetTrainingJobLogsRequest copyWith(void Function(GetTrainingJobLogsRequest) updates) => super.copyWith((message) => updates(message as GetTrainingJobLogsRequest)) as GetTrainingJobLogsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetTrainingJobLogsRequest create() => GetTrainingJobLogsRequest._(); - GetTrainingJobLogsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetTrainingJobLogsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetTrainingJobLogsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pageToken => $_getSZ(1); - @$pb.TagNumber(2) - set pageToken($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPageToken() => $_has(1); - @$pb.TagNumber(2) - void clearPageToken() => clearField(2); -} - -class GetTrainingJobLogsResponse extends $pb.GeneratedMessage { - factory GetTrainingJobLogsResponse({ - $core.Iterable? logs, - $core.String? nextPageToken, - }) { - final $result = create(); - if (logs != null) { - $result.logs.addAll(logs); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; - } - GetTrainingJobLogsResponse._() : super(); - factory GetTrainingJobLogsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetTrainingJobLogsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetTrainingJobLogsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: TrainingJobLogEntry.create) - ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetTrainingJobLogsResponse clone() => GetTrainingJobLogsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetTrainingJobLogsResponse copyWith(void Function(GetTrainingJobLogsResponse) updates) => super.copyWith((message) => updates(message as GetTrainingJobLogsResponse)) as GetTrainingJobLogsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetTrainingJobLogsResponse create() => GetTrainingJobLogsResponse._(); - GetTrainingJobLogsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetTrainingJobLogsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetTrainingJobLogsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get logs => $_getList(0); - - @$pb.TagNumber(2) - $core.String get nextPageToken => $_getSZ(1); - @$pb.TagNumber(2) - set nextPageToken($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNextPageToken() => $_has(1); - @$pb.TagNumber(2) - void clearNextPageToken() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pbenum.dart b/lib/src/gen/app/mltraining/v1/ml_training.pbenum.dart deleted file mode 100644 index 62a8001455b..00000000000 --- a/lib/src/gen/app/mltraining/v1/ml_training.pbenum.dart +++ /dev/null @@ -1,82 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mltraining/v1/ml_training.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class ModelType extends $pb.ProtobufEnum { - static const ModelType MODEL_TYPE_UNSPECIFIED = ModelType._(0, _omitEnumNames ? '' : 'MODEL_TYPE_UNSPECIFIED'); - static const ModelType MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION = ModelType._(1, _omitEnumNames ? '' : 'MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION'); - static const ModelType MODEL_TYPE_MULTI_LABEL_CLASSIFICATION = ModelType._(2, _omitEnumNames ? '' : 'MODEL_TYPE_MULTI_LABEL_CLASSIFICATION'); - static const ModelType MODEL_TYPE_OBJECT_DETECTION = ModelType._(3, _omitEnumNames ? '' : 'MODEL_TYPE_OBJECT_DETECTION'); - - static const $core.List values = [ - MODEL_TYPE_UNSPECIFIED, - MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION, - MODEL_TYPE_MULTI_LABEL_CLASSIFICATION, - MODEL_TYPE_OBJECT_DETECTION, - ]; - - static final $core.Map<$core.int, ModelType> _byValue = $pb.ProtobufEnum.initByValue(values); - static ModelType? valueOf($core.int value) => _byValue[value]; - - const ModelType._($core.int v, $core.String n) : super(v, n); -} - -class ModelFramework extends $pb.ProtobufEnum { - static const ModelFramework MODEL_FRAMEWORK_UNSPECIFIED = ModelFramework._(0, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_UNSPECIFIED'); - static const ModelFramework MODEL_FRAMEWORK_TFLITE = ModelFramework._(1, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_TFLITE'); - static const ModelFramework MODEL_FRAMEWORK_TENSORFLOW = ModelFramework._(2, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_TENSORFLOW'); - static const ModelFramework MODEL_FRAMEWORK_PYTORCH = ModelFramework._(3, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_PYTORCH'); - static const ModelFramework MODEL_FRAMEWORK_ONNX = ModelFramework._(4, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_ONNX'); - - static const $core.List values = [ - MODEL_FRAMEWORK_UNSPECIFIED, - MODEL_FRAMEWORK_TFLITE, - MODEL_FRAMEWORK_TENSORFLOW, - MODEL_FRAMEWORK_PYTORCH, - MODEL_FRAMEWORK_ONNX, - ]; - - static final $core.Map<$core.int, ModelFramework> _byValue = $pb.ProtobufEnum.initByValue(values); - static ModelFramework? valueOf($core.int value) => _byValue[value]; - - const ModelFramework._($core.int v, $core.String n) : super(v, n); -} - -class TrainingStatus extends $pb.ProtobufEnum { - static const TrainingStatus TRAINING_STATUS_UNSPECIFIED = TrainingStatus._(0, _omitEnumNames ? '' : 'TRAINING_STATUS_UNSPECIFIED'); - static const TrainingStatus TRAINING_STATUS_PENDING = TrainingStatus._(1, _omitEnumNames ? '' : 'TRAINING_STATUS_PENDING'); - static const TrainingStatus TRAINING_STATUS_IN_PROGRESS = TrainingStatus._(2, _omitEnumNames ? '' : 'TRAINING_STATUS_IN_PROGRESS'); - static const TrainingStatus TRAINING_STATUS_COMPLETED = TrainingStatus._(3, _omitEnumNames ? '' : 'TRAINING_STATUS_COMPLETED'); - static const TrainingStatus TRAINING_STATUS_FAILED = TrainingStatus._(4, _omitEnumNames ? '' : 'TRAINING_STATUS_FAILED'); - static const TrainingStatus TRAINING_STATUS_CANCELED = TrainingStatus._(5, _omitEnumNames ? '' : 'TRAINING_STATUS_CANCELED'); - static const TrainingStatus TRAINING_STATUS_CANCELING = TrainingStatus._(6, _omitEnumNames ? '' : 'TRAINING_STATUS_CANCELING'); - - static const $core.List values = [ - TRAINING_STATUS_UNSPECIFIED, - TRAINING_STATUS_PENDING, - TRAINING_STATUS_IN_PROGRESS, - TRAINING_STATUS_COMPLETED, - TRAINING_STATUS_FAILED, - TRAINING_STATUS_CANCELED, - TRAINING_STATUS_CANCELING, - ]; - - static final $core.Map<$core.int, TrainingStatus> _byValue = $pb.ProtobufEnum.initByValue(values); - static TrainingStatus? valueOf($core.int value) => _byValue[value]; - - const TrainingStatus._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pbgrpc.dart b/lib/src/gen/app/mltraining/v1/ml_training.pbgrpc.dart deleted file mode 100644 index ba624aa0ea9..00000000000 --- a/lib/src/gen/app/mltraining/v1/ml_training.pbgrpc.dart +++ /dev/null @@ -1,179 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mltraining/v1/ml_training.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'ml_training.pb.dart' as $8; - -export 'ml_training.pb.dart'; - -@$pb.GrpcServiceName('viam.app.mltraining.v1.MLTrainingService') -class MLTrainingServiceClient extends $grpc.Client { - static final _$submitTrainingJob = $grpc.ClientMethod<$8.SubmitTrainingJobRequest, $8.SubmitTrainingJobResponse>( - '/viam.app.mltraining.v1.MLTrainingService/SubmitTrainingJob', - ($8.SubmitTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.SubmitTrainingJobResponse.fromBuffer(value)); - static final _$submitCustomTrainingJob = $grpc.ClientMethod<$8.SubmitCustomTrainingJobRequest, $8.SubmitCustomTrainingJobResponse>( - '/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob', - ($8.SubmitCustomTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.SubmitCustomTrainingJobResponse.fromBuffer(value)); - static final _$getTrainingJob = $grpc.ClientMethod<$8.GetTrainingJobRequest, $8.GetTrainingJobResponse>( - '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob', - ($8.GetTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetTrainingJobResponse.fromBuffer(value)); - static final _$listTrainingJobs = $grpc.ClientMethod<$8.ListTrainingJobsRequest, $8.ListTrainingJobsResponse>( - '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs', - ($8.ListTrainingJobsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListTrainingJobsResponse.fromBuffer(value)); - static final _$cancelTrainingJob = $grpc.ClientMethod<$8.CancelTrainingJobRequest, $8.CancelTrainingJobResponse>( - '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob', - ($8.CancelTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CancelTrainingJobResponse.fromBuffer(value)); - static final _$deleteCompletedTrainingJob = $grpc.ClientMethod<$8.DeleteCompletedTrainingJobRequest, $8.DeleteCompletedTrainingJobResponse>( - '/viam.app.mltraining.v1.MLTrainingService/DeleteCompletedTrainingJob', - ($8.DeleteCompletedTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteCompletedTrainingJobResponse.fromBuffer(value)); - static final _$getTrainingJobLogs = $grpc.ClientMethod<$8.GetTrainingJobLogsRequest, $8.GetTrainingJobLogsResponse>( - '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJobLogs', - ($8.GetTrainingJobLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetTrainingJobLogsResponse.fromBuffer(value)); - - MLTrainingServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$8.SubmitTrainingJobResponse> submitTrainingJob($8.SubmitTrainingJobRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$submitTrainingJob, request, options: options); - } - - $grpc.ResponseFuture<$8.SubmitCustomTrainingJobResponse> submitCustomTrainingJob($8.SubmitCustomTrainingJobRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$submitCustomTrainingJob, request, options: options); - } - - $grpc.ResponseFuture<$8.GetTrainingJobResponse> getTrainingJob($8.GetTrainingJobRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getTrainingJob, request, options: options); - } - - $grpc.ResponseFuture<$8.ListTrainingJobsResponse> listTrainingJobs($8.ListTrainingJobsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listTrainingJobs, request, options: options); - } - - $grpc.ResponseFuture<$8.CancelTrainingJobResponse> cancelTrainingJob($8.CancelTrainingJobRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$cancelTrainingJob, request, options: options); - } - - $grpc.ResponseFuture<$8.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob($8.DeleteCompletedTrainingJobRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteCompletedTrainingJob, request, options: options); - } - - $grpc.ResponseFuture<$8.GetTrainingJobLogsResponse> getTrainingJobLogs($8.GetTrainingJobLogsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getTrainingJobLogs, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.mltraining.v1.MLTrainingService') -abstract class MLTrainingServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.mltraining.v1.MLTrainingService'; - - MLTrainingServiceBase() { - $addMethod($grpc.ServiceMethod<$8.SubmitTrainingJobRequest, $8.SubmitTrainingJobResponse>( - 'SubmitTrainingJob', - submitTrainingJob_Pre, - false, - false, - ($core.List<$core.int> value) => $8.SubmitTrainingJobRequest.fromBuffer(value), - ($8.SubmitTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.SubmitCustomTrainingJobRequest, $8.SubmitCustomTrainingJobResponse>( - 'SubmitCustomTrainingJob', - submitCustomTrainingJob_Pre, - false, - false, - ($core.List<$core.int> value) => $8.SubmitCustomTrainingJobRequest.fromBuffer(value), - ($8.SubmitCustomTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetTrainingJobRequest, $8.GetTrainingJobResponse>( - 'GetTrainingJob', - getTrainingJob_Pre, - false, - false, - ($core.List<$core.int> value) => $8.GetTrainingJobRequest.fromBuffer(value), - ($8.GetTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListTrainingJobsRequest, $8.ListTrainingJobsResponse>( - 'ListTrainingJobs', - listTrainingJobs_Pre, - false, - false, - ($core.List<$core.int> value) => $8.ListTrainingJobsRequest.fromBuffer(value), - ($8.ListTrainingJobsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CancelTrainingJobRequest, $8.CancelTrainingJobResponse>( - 'CancelTrainingJob', - cancelTrainingJob_Pre, - false, - false, - ($core.List<$core.int> value) => $8.CancelTrainingJobRequest.fromBuffer(value), - ($8.CancelTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteCompletedTrainingJobRequest, $8.DeleteCompletedTrainingJobResponse>( - 'DeleteCompletedTrainingJob', - deleteCompletedTrainingJob_Pre, - false, - false, - ($core.List<$core.int> value) => $8.DeleteCompletedTrainingJobRequest.fromBuffer(value), - ($8.DeleteCompletedTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetTrainingJobLogsRequest, $8.GetTrainingJobLogsResponse>( - 'GetTrainingJobLogs', - getTrainingJobLogs_Pre, - false, - false, - ($core.List<$core.int> value) => $8.GetTrainingJobLogsRequest.fromBuffer(value), - ($8.GetTrainingJobLogsResponse value) => value.writeToBuffer())); - } - - $async.Future<$8.SubmitTrainingJobResponse> submitTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$8.SubmitTrainingJobRequest> request) async { - return submitTrainingJob(call, await request); - } - - $async.Future<$8.SubmitCustomTrainingJobResponse> submitCustomTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$8.SubmitCustomTrainingJobRequest> request) async { - return submitCustomTrainingJob(call, await request); - } - - $async.Future<$8.GetTrainingJobResponse> getTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$8.GetTrainingJobRequest> request) async { - return getTrainingJob(call, await request); - } - - $async.Future<$8.ListTrainingJobsResponse> listTrainingJobs_Pre($grpc.ServiceCall call, $async.Future<$8.ListTrainingJobsRequest> request) async { - return listTrainingJobs(call, await request); - } - - $async.Future<$8.CancelTrainingJobResponse> cancelTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$8.CancelTrainingJobRequest> request) async { - return cancelTrainingJob(call, await request); - } - - $async.Future<$8.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteCompletedTrainingJobRequest> request) async { - return deleteCompletedTrainingJob(call, await request); - } - - $async.Future<$8.GetTrainingJobLogsResponse> getTrainingJobLogs_Pre($grpc.ServiceCall call, $async.Future<$8.GetTrainingJobLogsRequest> request) async { - return getTrainingJobLogs(call, await request); - } - - $async.Future<$8.SubmitTrainingJobResponse> submitTrainingJob($grpc.ServiceCall call, $8.SubmitTrainingJobRequest request); - $async.Future<$8.SubmitCustomTrainingJobResponse> submitCustomTrainingJob($grpc.ServiceCall call, $8.SubmitCustomTrainingJobRequest request); - $async.Future<$8.GetTrainingJobResponse> getTrainingJob($grpc.ServiceCall call, $8.GetTrainingJobRequest request); - $async.Future<$8.ListTrainingJobsResponse> listTrainingJobs($grpc.ServiceCall call, $8.ListTrainingJobsRequest request); - $async.Future<$8.CancelTrainingJobResponse> cancelTrainingJob($grpc.ServiceCall call, $8.CancelTrainingJobRequest request); - $async.Future<$8.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob($grpc.ServiceCall call, $8.DeleteCompletedTrainingJobRequest request); - $async.Future<$8.GetTrainingJobLogsResponse> getTrainingJobLogs($grpc.ServiceCall call, $8.GetTrainingJobLogsRequest request); -} diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart b/lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart deleted file mode 100644 index e0b2f3e84cd..00000000000 --- a/lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart +++ /dev/null @@ -1,376 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/mltraining/v1/ml_training.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use modelTypeDescriptor instead') -const ModelType$json = { - '1': 'ModelType', - '2': [ - {'1': 'MODEL_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION', '2': 1}, - {'1': 'MODEL_TYPE_MULTI_LABEL_CLASSIFICATION', '2': 2}, - {'1': 'MODEL_TYPE_OBJECT_DETECTION', '2': 3}, - ], -}; - -/// Descriptor for `ModelType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List modelTypeDescriptor = $convert.base64Decode( - 'CglNb2RlbFR5cGUSGgoWTU9ERUxfVFlQRV9VTlNQRUNJRklFRBAAEioKJk1PREVMX1RZUEVfU0' - 'lOR0xFX0xBQkVMX0NMQVNTSUZJQ0FUSU9OEAESKQolTU9ERUxfVFlQRV9NVUxUSV9MQUJFTF9D' - 'TEFTU0lGSUNBVElPThACEh8KG01PREVMX1RZUEVfT0JKRUNUX0RFVEVDVElPThAD'); - -@$core.Deprecated('Use modelFrameworkDescriptor instead') -const ModelFramework$json = { - '1': 'ModelFramework', - '2': [ - {'1': 'MODEL_FRAMEWORK_UNSPECIFIED', '2': 0}, - {'1': 'MODEL_FRAMEWORK_TFLITE', '2': 1}, - {'1': 'MODEL_FRAMEWORK_TENSORFLOW', '2': 2}, - {'1': 'MODEL_FRAMEWORK_PYTORCH', '2': 3}, - {'1': 'MODEL_FRAMEWORK_ONNX', '2': 4}, - ], -}; - -/// Descriptor for `ModelFramework`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List modelFrameworkDescriptor = $convert.base64Decode( - 'Cg5Nb2RlbEZyYW1ld29yaxIfChtNT0RFTF9GUkFNRVdPUktfVU5TUEVDSUZJRUQQABIaChZNT0' - 'RFTF9GUkFNRVdPUktfVEZMSVRFEAESHgoaTU9ERUxfRlJBTUVXT1JLX1RFTlNPUkZMT1cQAhIb' - 'ChdNT0RFTF9GUkFNRVdPUktfUFlUT1JDSBADEhgKFE1PREVMX0ZSQU1FV09SS19PTk5YEAQ='); - -@$core.Deprecated('Use trainingStatusDescriptor instead') -const TrainingStatus$json = { - '1': 'TrainingStatus', - '2': [ - {'1': 'TRAINING_STATUS_UNSPECIFIED', '2': 0}, - {'1': 'TRAINING_STATUS_PENDING', '2': 1}, - {'1': 'TRAINING_STATUS_IN_PROGRESS', '2': 2}, - {'1': 'TRAINING_STATUS_COMPLETED', '2': 3}, - {'1': 'TRAINING_STATUS_FAILED', '2': 4}, - {'1': 'TRAINING_STATUS_CANCELED', '2': 5}, - {'1': 'TRAINING_STATUS_CANCELING', '2': 6}, - ], -}; - -/// Descriptor for `TrainingStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List trainingStatusDescriptor = $convert.base64Decode( - 'Cg5UcmFpbmluZ1N0YXR1cxIfChtUUkFJTklOR19TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdUUk' - 'FJTklOR19TVEFUVVNfUEVORElORxABEh8KG1RSQUlOSU5HX1NUQVRVU19JTl9QUk9HUkVTUxAC' - 'Eh0KGVRSQUlOSU5HX1NUQVRVU19DT01QTEVURUQQAxIaChZUUkFJTklOR19TVEFUVVNfRkFJTE' - 'VEEAQSHAoYVFJBSU5JTkdfU1RBVFVTX0NBTkNFTEVEEAUSHQoZVFJBSU5JTkdfU1RBVFVTX0NB' - 'TkNFTElORxAG'); - -@$core.Deprecated('Use submitTrainingJobRequestDescriptor instead') -const SubmitTrainingJobRequest$json = { - '1': 'SubmitTrainingJobRequest', - '2': [ - {'1': 'dataset_id', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'datasetId'}, - {'1': 'organization_id', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'organizationId'}, - {'1': 'model_name', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'modelName'}, - {'1': 'model_version', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'modelVersion'}, - {'1': 'model_type', '3': 5, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelType', '8': {}, '10': 'modelType'}, - {'1': 'tags', '3': 6, '4': 3, '5': 9, '8': {}, '10': 'tags'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], - '10': ['filter'], -}; - -/// Descriptor for `SubmitTrainingJobRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitTrainingJobRequestDescriptor = $convert.base64Decode( - 'ChhTdWJtaXRUcmFpbmluZ0pvYlJlcXVlc3QSRwoKZGF0YXNldF9pZBgHIAEoCUIomoSeAyNic2' - '9uOiJkYXRhc2V0X2lkIiBqc29uOiJkYXRhc2V0X2lkIlIJZGF0YXNldElkElsKD29yZ2FuaXph' - 'dGlvbl9pZBgCIAEoCUIymoSeAy1ic29uOiJvcmdhbml6YXRpb25faWQiIGpzb246Im9yZ2FuaX' - 'phdGlvbl9pZCJSDm9yZ2FuaXphdGlvbklkEkcKCm1vZGVsX25hbWUYAyABKAlCKJqEngMjYnNv' - 'bjoibW9kZWxfbmFtZSIganNvbjoibW9kZWxfbmFtZSJSCW1vZGVsTmFtZRJTCg1tb2RlbF92ZX' - 'JzaW9uGAQgASgJQi6ahJ4DKWJzb246Im1vZGVsX3ZlcnNpb24iIGpzb246Im1vZGVsX3ZlcnNp' - 'b24iUgxtb2RlbFZlcnNpb24SagoKbW9kZWxfdHlwZRgFIAEoDjIhLnZpYW0uYXBwLm1sdHJhaW' - '5pbmcudjEuTW9kZWxUeXBlQiiahJ4DI2Jzb246Im1vZGVsX3R5cGUiIGpzb246Im1vZGVsX3R5' - 'cGUiUgltb2RlbFR5cGUSMAoEdGFncxgGIAMoCUIcmoSeAxdic29uOiJ0YWdzIiBqc29uOiJ0YW' - 'dzIlIEdGFnc0oECAEQAlIGZmlsdGVy'); - -@$core.Deprecated('Use submitTrainingJobResponseDescriptor instead') -const SubmitTrainingJobResponse$json = { - '1': 'SubmitTrainingJobResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `SubmitTrainingJobResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitTrainingJobResponseDescriptor = $convert.base64Decode( - 'ChlTdWJtaXRUcmFpbmluZ0pvYlJlc3BvbnNlEg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use submitCustomTrainingJobRequestDescriptor instead') -const SubmitCustomTrainingJobRequest$json = { - '1': 'SubmitCustomTrainingJobRequest', - '2': [ - {'1': 'dataset_id', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'datasetId'}, - {'1': 'registry_item_id', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'registryItemId'}, - {'1': 'registry_item_version', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'registryItemVersion'}, - {'1': 'organization_id', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'organizationId'}, - {'1': 'model_name', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'modelName'}, - {'1': 'model_version', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'modelVersion'}, - {'1': 'arguments', '3': 7, '4': 3, '5': 11, '6': '.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.ArgumentsEntry', '10': 'arguments'}, - ], - '3': [SubmitCustomTrainingJobRequest_ArgumentsEntry$json], -}; - -@$core.Deprecated('Use submitCustomTrainingJobRequestDescriptor instead') -const SubmitCustomTrainingJobRequest_ArgumentsEntry$json = { - '1': 'ArgumentsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `SubmitCustomTrainingJobRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitCustomTrainingJobRequestDescriptor = $convert.base64Decode( - 'Ch5TdWJtaXRDdXN0b21UcmFpbmluZ0pvYlJlcXVlc3QSRwoKZGF0YXNldF9pZBgBIAEoCUIomo' - 'SeAyNic29uOiJkYXRhc2V0X2lkIiBqc29uOiJkYXRhc2V0X2lkIlIJZGF0YXNldElkEl4KEHJl' - 'Z2lzdHJ5X2l0ZW1faWQYAiABKAlCNJqEngMvYnNvbjoicmVnaXN0cnlfaXRlbV9pZCIganNvbj' - 'oicmVnaXN0cnlfaXRlbV9pZCJSDnJlZ2lzdHJ5SXRlbUlkEnIKFXJlZ2lzdHJ5X2l0ZW1fdmVy' - 'c2lvbhgGIAEoCUI+moSeAzlic29uOiJyZWdpc3RyeV9pdGVtX3ZlcnNpb24iIGpzb246InJlZ2' - 'lzdHJ5X2l0ZW1fdmVyc2lvbiJSE3JlZ2lzdHJ5SXRlbVZlcnNpb24SWwoPb3JnYW5pemF0aW9u' - 'X2lkGAMgASgJQjKahJ4DLWJzb246Im9yZ2FuaXphdGlvbl9pZCIganNvbjoib3JnYW5pemF0aW' - '9uX2lkIlIOb3JnYW5pemF0aW9uSWQSRwoKbW9kZWxfbmFtZRgEIAEoCUIomoSeAyNic29uOiJt' - 'b2RlbF9uYW1lIiBqc29uOiJtb2RlbF9uYW1lIlIJbW9kZWxOYW1lElMKDW1vZGVsX3ZlcnNpb2' - '4YBSABKAlCLpqEngMpYnNvbjoibW9kZWxfdmVyc2lvbiIganNvbjoibW9kZWxfdmVyc2lvbiJS' - 'DG1vZGVsVmVyc2lvbhJjCglhcmd1bWVudHMYByADKAsyRS52aWFtLmFwcC5tbHRyYWluaW5nLn' - 'YxLlN1Ym1pdEN1c3RvbVRyYWluaW5nSm9iUmVxdWVzdC5Bcmd1bWVudHNFbnRyeVIJYXJndW1l' - 'bnRzGjwKDkFyZ3VtZW50c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUg' - 'V2YWx1ZToCOAE='); - -@$core.Deprecated('Use submitCustomTrainingJobResponseDescriptor instead') -const SubmitCustomTrainingJobResponse$json = { - '1': 'SubmitCustomTrainingJobResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `SubmitCustomTrainingJobResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List submitCustomTrainingJobResponseDescriptor = $convert.base64Decode( - 'Ch9TdWJtaXRDdXN0b21UcmFpbmluZ0pvYlJlc3BvbnNlEg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use getTrainingJobRequestDescriptor instead') -const GetTrainingJobRequest$json = { - '1': 'GetTrainingJobRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `GetTrainingJobRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getTrainingJobRequestDescriptor = $convert.base64Decode( - 'ChVHZXRUcmFpbmluZ0pvYlJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use getTrainingJobResponseDescriptor instead') -const GetTrainingJobResponse$json = { - '1': 'GetTrainingJobResponse', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.app.mltraining.v1.TrainingJobMetadata', '10': 'metadata'}, - ], -}; - -/// Descriptor for `GetTrainingJobResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getTrainingJobResponseDescriptor = $convert.base64Decode( - 'ChZHZXRUcmFpbmluZ0pvYlJlc3BvbnNlEkcKCG1ldGFkYXRhGAEgASgLMisudmlhbS5hcHAubW' - 'x0cmFpbmluZy52MS5UcmFpbmluZ0pvYk1ldGFkYXRhUghtZXRhZGF0YQ=='); - -@$core.Deprecated('Use listTrainingJobsRequestDescriptor instead') -const ListTrainingJobsRequest$json = { - '1': 'ListTrainingJobsRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'status', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.TrainingStatus', '10': 'status'}, - ], -}; - -/// Descriptor for `ListTrainingJobsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listTrainingJobsRequestDescriptor = $convert.base64Decode( - 'ChdMaXN0VHJhaW5pbmdKb2JzUmVxdWVzdBInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2' - 'FuaXphdGlvbklkEj4KBnN0YXR1cxgCIAEoDjImLnZpYW0uYXBwLm1sdHJhaW5pbmcudjEuVHJh' - 'aW5pbmdTdGF0dXNSBnN0YXR1cw=='); - -@$core.Deprecated('Use listTrainingJobsResponseDescriptor instead') -const ListTrainingJobsResponse$json = { - '1': 'ListTrainingJobsResponse', - '2': [ - {'1': 'jobs', '3': 1, '4': 3, '5': 11, '6': '.viam.app.mltraining.v1.TrainingJobMetadata', '10': 'jobs'}, - ], -}; - -/// Descriptor for `ListTrainingJobsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listTrainingJobsResponseDescriptor = $convert.base64Decode( - 'ChhMaXN0VHJhaW5pbmdKb2JzUmVzcG9uc2USPwoEam9icxgBIAMoCzIrLnZpYW0uYXBwLm1sdH' - 'JhaW5pbmcudjEuVHJhaW5pbmdKb2JNZXRhZGF0YVIEam9icw=='); - -@$core.Deprecated('Use trainingJobMetadataDescriptor instead') -const TrainingJobMetadata$json = { - '1': 'TrainingJobMetadata', - '2': [ - {'1': 'id', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'id'}, - {'1': 'dataset_id', '3': 11, '4': 1, '5': 9, '8': {}, '10': 'datasetId'}, - {'1': 'organization_id', '3': 12, '4': 1, '5': 9, '8': {}, '10': 'organizationId'}, - {'1': 'model_name', '3': 13, '4': 1, '5': 9, '8': {}, '10': 'modelName'}, - {'1': 'model_version', '3': 14, '4': 1, '5': 9, '8': {}, '10': 'modelVersion'}, - {'1': 'model_type', '3': 15, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelType', '8': {}, '10': 'modelType'}, - {'1': 'model_framework', '3': 17, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelFramework', '8': {}, '10': 'modelFramework'}, - {'1': 'is_custom_job', '3': 18, '4': 1, '5': 8, '8': {}, '10': 'isCustomJob'}, - {'1': 'registry_item_id', '3': 19, '4': 1, '5': 9, '8': {}, '10': 'registryItemId'}, - {'1': 'registry_item_version', '3': 20, '4': 1, '5': 9, '8': {}, '10': 'registryItemVersion'}, - {'1': 'status', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.TrainingStatus', '8': {}, '10': 'status'}, - {'1': 'error_status', '3': 8, '4': 1, '5': 11, '6': '.google.rpc.Status', '8': {}, '10': 'errorStatus'}, - {'1': 'created_on', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'createdOn'}, - {'1': 'last_modified', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'lastModified'}, - {'1': 'training_started', '3': 9, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'trainingStarted'}, - {'1': 'training_ended', '3': 10, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'trainingEnded'}, - {'1': 'synced_model_id', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'syncedModelId'}, - {'1': 'tags', '3': 16, '4': 3, '5': 9, '8': {}, '10': 'tags'}, - ], - '9': [ - {'1': 1, '2': 2}, - {'1': 6, '2': 7}, - ], - '10': ['request', 'user_email'], -}; - -/// Descriptor for `TrainingJobMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trainingJobMetadataDescriptor = $convert.base64Decode( - 'ChNUcmFpbmluZ0pvYk1ldGFkYXRhEjMKAmlkGAcgASgJQiOahJ4DHmJzb246Il9pZCIganNvbj' - 'oiaWQsb21pdGVtcHR5IlICaWQSRwoKZGF0YXNldF9pZBgLIAEoCUIomoSeAyNic29uOiJkYXRh' - 'c2V0X2lkIiBqc29uOiJkYXRhc2V0X2lkIlIJZGF0YXNldElkElsKD29yZ2FuaXphdGlvbl9pZB' - 'gMIAEoCUIymoSeAy1ic29uOiJvcmdhbml6YXRpb25faWQiIGpzb246Im9yZ2FuaXphdGlvbl9p' - 'ZCJSDm9yZ2FuaXphdGlvbklkEkcKCm1vZGVsX25hbWUYDSABKAlCKJqEngMjYnNvbjoibW9kZW' - 'xfbmFtZSIganNvbjoibW9kZWxfbmFtZSJSCW1vZGVsTmFtZRJTCg1tb2RlbF92ZXJzaW9uGA4g' - 'ASgJQi6ahJ4DKWJzb246Im1vZGVsX3ZlcnNpb24iIGpzb246Im1vZGVsX3ZlcnNpb24iUgxtb2' - 'RlbFZlcnNpb24SagoKbW9kZWxfdHlwZRgPIAEoDjIhLnZpYW0uYXBwLm1sdHJhaW5pbmcudjEu' - 'TW9kZWxUeXBlQiiahJ4DI2Jzb246Im1vZGVsX3R5cGUiIGpzb246Im1vZGVsX3R5cGUiUgltb2' - 'RlbFR5cGUSgwEKD21vZGVsX2ZyYW1ld29yaxgRIAEoDjImLnZpYW0uYXBwLm1sdHJhaW5pbmcu' - 'djEuTW9kZWxGcmFtZXdvcmtCMpqEngMtYnNvbjoibW9kZWxfZnJhbWV3b3JrIiBqc29uOiJtb2' - 'RlbF9mcmFtZXdvcmsiUg5tb2RlbEZyYW1ld29yaxJSCg1pc19jdXN0b21fam9iGBIgASgIQi6a' - 'hJ4DKWJzb246ImlzX2N1c3RvbV9qb2IiIGpzb246ImlzX2N1c3RvbV9qb2IiUgtpc0N1c3RvbU' - 'pvYhJeChByZWdpc3RyeV9pdGVtX2lkGBMgASgJQjSahJ4DL2Jzb246InJlZ2lzdHJ5X2l0ZW1f' - 'aWQiIGpzb246InJlZ2lzdHJ5X2l0ZW1faWQiUg5yZWdpc3RyeUl0ZW1JZBJyChVyZWdpc3RyeV' - '9pdGVtX3ZlcnNpb24YFCABKAlCPpqEngM5YnNvbjoicmVnaXN0cnlfaXRlbV92ZXJzaW9uIiBq' - 'c29uOiJyZWdpc3RyeV9pdGVtX3ZlcnNpb24iUhNyZWdpc3RyeUl0ZW1WZXJzaW9uEmAKBnN0YX' - 'R1cxgCIAEoDjImLnZpYW0uYXBwLm1sdHJhaW5pbmcudjEuVHJhaW5pbmdTdGF0dXNCIJqEngMb' - 'YnNvbjoic3RhdHVzIiBqc29uOiJzdGF0dXMiUgZzdGF0dXMSYwoMZXJyb3Jfc3RhdHVzGAggAS' - 'gLMhIuZ29vZ2xlLnJwYy5TdGF0dXNCLJqEngMnYnNvbjoiZXJyb3Jfc3RhdHVzIiBqc29uOiJl' - 'cnJvcl9zdGF0dXMiUgtlcnJvclN0YXR1cxJjCgpjcmVhdGVkX29uGAMgASgLMhouZ29vZ2xlLn' - 'Byb3RvYnVmLlRpbWVzdGFtcEIomoSeAyNic29uOiJjcmVhdGVkX29uIiBqc29uOiJjcmVhdGVk' - 'X29uIlIJY3JlYXRlZE9uEm8KDWxhc3RfbW9kaWZpZWQYBCABKAsyGi5nb29nbGUucHJvdG9idW' - 'YuVGltZXN0YW1wQi6ahJ4DKWJzb246Imxhc3RfbW9kaWZpZWQiIGpzb246Imxhc3RfbW9kaWZp' - 'ZWQiUgxsYXN0TW9kaWZpZWQSewoQdHJhaW5pbmdfc3RhcnRlZBgJIAEoCzIaLmdvb2dsZS5wcm' - '90b2J1Zi5UaW1lc3RhbXBCNJqEngMvYnNvbjoidHJhaW5pbmdfc3RhcnRlZCIganNvbjoidHJh' - 'aW5pbmdfc3RhcnRlZCJSD3RyYWluaW5nU3RhcnRlZBJzCg50cmFpbmluZ19lbmRlZBgKIAEoCz' - 'IaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCMJqEngMrYnNvbjoidHJhaW5pbmdfZW5kZWQi' - 'IGpzb246InRyYWluaW5nX2VuZGVkIlINdHJhaW5pbmdFbmRlZBJaCg9zeW5jZWRfbW9kZWxfaW' - 'QYBSABKAlCMpqEngMtYnNvbjoic3luY2VkX21vZGVsX2lkIiBqc29uOiJzeW5jZWRfbW9kZWxf' - 'aWQiUg1zeW5jZWRNb2RlbElkEjAKBHRhZ3MYECADKAlCHJqEngMXYnNvbjoidGFncyIganNvbj' - 'oidGFncyJSBHRhZ3NKBAgBEAJKBAgGEAdSB3JlcXVlc3RSCnVzZXJfZW1haWw='); - -@$core.Deprecated('Use cancelTrainingJobRequestDescriptor instead') -const CancelTrainingJobRequest$json = { - '1': 'CancelTrainingJobRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `CancelTrainingJobRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cancelTrainingJobRequestDescriptor = $convert.base64Decode( - 'ChhDYW5jZWxUcmFpbmluZ0pvYlJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use cancelTrainingJobResponseDescriptor instead') -const CancelTrainingJobResponse$json = { - '1': 'CancelTrainingJobResponse', -}; - -/// Descriptor for `CancelTrainingJobResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cancelTrainingJobResponseDescriptor = $convert.base64Decode( - 'ChlDYW5jZWxUcmFpbmluZ0pvYlJlc3BvbnNl'); - -@$core.Deprecated('Use deleteCompletedTrainingJobRequestDescriptor instead') -const DeleteCompletedTrainingJobRequest$json = { - '1': 'DeleteCompletedTrainingJobRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `DeleteCompletedTrainingJobRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteCompletedTrainingJobRequestDescriptor = $convert.base64Decode( - 'CiFEZWxldGVDb21wbGV0ZWRUcmFpbmluZ0pvYlJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use deleteCompletedTrainingJobResponseDescriptor instead') -const DeleteCompletedTrainingJobResponse$json = { - '1': 'DeleteCompletedTrainingJobResponse', -}; - -/// Descriptor for `DeleteCompletedTrainingJobResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteCompletedTrainingJobResponseDescriptor = $convert.base64Decode( - 'CiJEZWxldGVDb21wbGV0ZWRUcmFpbmluZ0pvYlJlc3BvbnNl'); - -@$core.Deprecated('Use trainingJobLogEntryDescriptor instead') -const TrainingJobLogEntry$json = { - '1': 'TrainingJobLogEntry', - '2': [ - {'1': 'level', '3': 1, '4': 1, '5': 9, '10': 'level'}, - {'1': 'time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'time'}, - {'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `TrainingJobLogEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trainingJobLogEntryDescriptor = $convert.base64Decode( - 'ChNUcmFpbmluZ0pvYkxvZ0VudHJ5EhQKBWxldmVsGAEgASgJUgVsZXZlbBIuCgR0aW1lGAIgAS' - 'gLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIEdGltZRIYCgdtZXNzYWdlGAMgASgJUgdt' - 'ZXNzYWdl'); - -@$core.Deprecated('Use getTrainingJobLogsRequestDescriptor instead') -const GetTrainingJobLogsRequest$json = { - '1': 'GetTrainingJobLogsRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'page_token', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'pageToken', '17': true}, - ], - '8': [ - {'1': '_page_token'}, - ], -}; - -/// Descriptor for `GetTrainingJobLogsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getTrainingJobLogsRequestDescriptor = $convert.base64Decode( - 'ChlHZXRUcmFpbmluZ0pvYkxvZ3NSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIiCgpwYWdlX3Rva2' - 'VuGAIgASgJSABSCXBhZ2VUb2tlbogBAUINCgtfcGFnZV90b2tlbg=='); - -@$core.Deprecated('Use getTrainingJobLogsResponseDescriptor instead') -const GetTrainingJobLogsResponse$json = { - '1': 'GetTrainingJobLogsResponse', - '2': [ - {'1': 'logs', '3': 1, '4': 3, '5': 11, '6': '.viam.app.mltraining.v1.TrainingJobLogEntry', '10': 'logs'}, - {'1': 'next_page_token', '3': 2, '4': 1, '5': 9, '10': 'nextPageToken'}, - ], -}; - -/// Descriptor for `GetTrainingJobLogsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getTrainingJobLogsResponseDescriptor = $convert.base64Decode( - 'ChpHZXRUcmFpbmluZ0pvYkxvZ3NSZXNwb25zZRI/CgRsb2dzGAEgAygLMisudmlhbS5hcHAubW' - 'x0cmFpbmluZy52MS5UcmFpbmluZ0pvYkxvZ0VudHJ5UgRsb2dzEiYKD25leHRfcGFnZV90b2tl' - 'bhgCIAEoCVINbmV4dFBhZ2VUb2tlbg=='); - diff --git a/lib/src/gen/app/packages/v1/packages.pb.dart b/lib/src/gen/app/packages/v1/packages.pb.dart deleted file mode 100644 index f787537ad89..00000000000 --- a/lib/src/gen/app/packages/v1/packages.pb.dart +++ /dev/null @@ -1,909 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/packages/v1/packages.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import 'packages.pbenum.dart'; - -export 'packages.pbenum.dart'; - -class FileInfo extends $pb.GeneratedMessage { - factory FileInfo({ - $core.String? name, - $fixnum.Int64? size, - $core.bool? isDirectory, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (size != null) { - $result.size = size; - } - if (isDirectory != null) { - $result.isDirectory = isDirectory; - } - return $result; - } - FileInfo._() : super(); - factory FileInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'size', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOB(3, _omitFieldNames ? '' : 'isDirectory') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileInfo clone() => FileInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileInfo copyWith(void Function(FileInfo) updates) => super.copyWith((message) => updates(message as FileInfo)) as FileInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileInfo create() => FileInfo._(); - FileInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $fixnum.Int64 get size => $_getI64(1); - @$pb.TagNumber(2) - set size($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasSize() => $_has(1); - @$pb.TagNumber(2) - void clearSize() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get isDirectory => $_getBF(2); - @$pb.TagNumber(3) - set isDirectory($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIsDirectory() => $_has(2); - @$pb.TagNumber(3) - void clearIsDirectory() => clearField(3); -} - -class PackageInfo extends $pb.GeneratedMessage { - factory PackageInfo({ - $core.String? organizationId, - $core.String? name, - $core.String? version, - PackageType? type, - $core.Iterable? files, - $46.Struct? metadata, - $core.String? platform, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (name != null) { - $result.name = name; - } - if (version != null) { - $result.version = version; - } - if (type != null) { - $result.type = type; - } - if (files != null) { - $result.files.addAll(files); - } - if (metadata != null) { - $result.metadata = metadata; - } - if (platform != null) { - $result.platform = platform; - } - return $result; - } - PackageInfo._() : super(); - factory PackageInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PackageInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PackageInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'version') - ..e(4, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: PackageType.valueOf, enumValues: PackageType.values) - ..pc(5, _omitFieldNames ? '' : 'files', $pb.PbFieldType.PM, subBuilder: FileInfo.create) - ..aOM<$46.Struct>(6, _omitFieldNames ? '' : 'metadata', subBuilder: $46.Struct.create) - ..aOS(7, _omitFieldNames ? '' : 'platform') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PackageInfo clone() => PackageInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PackageInfo copyWith(void Function(PackageInfo) updates) => super.copyWith((message) => updates(message as PackageInfo)) as PackageInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PackageInfo create() => PackageInfo._(); - PackageInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PackageInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PackageInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get version => $_getSZ(2); - @$pb.TagNumber(3) - set version($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(3) - void clearVersion() => clearField(3); - - @$pb.TagNumber(4) - PackageType get type => $_getN(3); - @$pb.TagNumber(4) - set type(PackageType v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasType() => $_has(3); - @$pb.TagNumber(4) - void clearType() => clearField(4); - - @$pb.TagNumber(5) - $core.List get files => $_getList(4); - - @$pb.TagNumber(6) - $46.Struct get metadata => $_getN(5); - @$pb.TagNumber(6) - set metadata($46.Struct v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasMetadata() => $_has(5); - @$pb.TagNumber(6) - void clearMetadata() => clearField(6); - @$pb.TagNumber(6) - $46.Struct ensureMetadata() => $_ensure(5); - - @$pb.TagNumber(7) - $core.String get platform => $_getSZ(6); - @$pb.TagNumber(7) - set platform($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasPlatform() => $_has(6); - @$pb.TagNumber(7) - void clearPlatform() => clearField(7); -} - -enum CreatePackageRequest_Package { - info, - contents, - notSet -} - -class CreatePackageRequest extends $pb.GeneratedMessage { - factory CreatePackageRequest({ - PackageInfo? info, - $core.List<$core.int>? contents, - }) { - final $result = create(); - if (info != null) { - $result.info = info; - } - if (contents != null) { - $result.contents = contents; - } - return $result; - } - CreatePackageRequest._() : super(); - factory CreatePackageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreatePackageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, CreatePackageRequest_Package> _CreatePackageRequest_PackageByTag = { - 1 : CreatePackageRequest_Package.info, - 2 : CreatePackageRequest_Package.contents, - 0 : CreatePackageRequest_Package.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePackageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'info', subBuilder: PackageInfo.create) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'contents', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreatePackageRequest clone() => CreatePackageRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreatePackageRequest copyWith(void Function(CreatePackageRequest) updates) => super.copyWith((message) => updates(message as CreatePackageRequest)) as CreatePackageRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreatePackageRequest create() => CreatePackageRequest._(); - CreatePackageRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreatePackageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreatePackageRequest? _defaultInstance; - - CreatePackageRequest_Package whichPackage() => _CreatePackageRequest_PackageByTag[$_whichOneof(0)]!; - void clearPackage() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - PackageInfo get info => $_getN(0); - @$pb.TagNumber(1) - set info(PackageInfo v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasInfo() => $_has(0); - @$pb.TagNumber(1) - void clearInfo() => clearField(1); - @$pb.TagNumber(1) - PackageInfo ensureInfo() => $_ensure(0); - - /// .tar.gz file - @$pb.TagNumber(2) - $core.List<$core.int> get contents => $_getN(1); - @$pb.TagNumber(2) - set contents($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasContents() => $_has(1); - @$pb.TagNumber(2) - void clearContents() => clearField(2); -} - -/// Returns the package ID and version which are populated in GetPackageRequest and DeletePackageRequest to -/// retrieve or delete this package. -class CreatePackageResponse extends $pb.GeneratedMessage { - factory CreatePackageResponse({ - $core.String? id, - $core.String? version, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (version != null) { - $result.version = version; - } - return $result; - } - CreatePackageResponse._() : super(); - factory CreatePackageResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreatePackageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePackageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreatePackageResponse clone() => CreatePackageResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreatePackageResponse copyWith(void Function(CreatePackageResponse) updates) => super.copyWith((message) => updates(message as CreatePackageResponse)) as CreatePackageResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreatePackageResponse create() => CreatePackageResponse._(); - CreatePackageResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreatePackageResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreatePackageResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); -} - -class DeletePackageRequest extends $pb.GeneratedMessage { - factory DeletePackageRequest({ - $core.String? id, - $core.String? version, - PackageType? type, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (version != null) { - $result.version = version; - } - if (type != null) { - $result.type = type; - } - return $result; - } - DeletePackageRequest._() : super(); - factory DeletePackageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeletePackageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePackageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..e(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: PackageType.valueOf, enumValues: PackageType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeletePackageRequest clone() => DeletePackageRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeletePackageRequest copyWith(void Function(DeletePackageRequest) updates) => super.copyWith((message) => updates(message as DeletePackageRequest)) as DeletePackageRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeletePackageRequest create() => DeletePackageRequest._(); - DeletePackageRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeletePackageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeletePackageRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); - - @$pb.TagNumber(3) - PackageType get type => $_getN(2); - @$pb.TagNumber(3) - set type(PackageType v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasType() => $_has(2); - @$pb.TagNumber(3) - void clearType() => clearField(3); -} - -class DeletePackageResponse extends $pb.GeneratedMessage { - factory DeletePackageResponse() => create(); - DeletePackageResponse._() : super(); - factory DeletePackageResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeletePackageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePackageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeletePackageResponse clone() => DeletePackageResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeletePackageResponse copyWith(void Function(DeletePackageResponse) updates) => super.copyWith((message) => updates(message as DeletePackageResponse)) as DeletePackageResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeletePackageResponse create() => DeletePackageResponse._(); - DeletePackageResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeletePackageResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeletePackageResponse? _defaultInstance; -} - -class Package extends $pb.GeneratedMessage { - factory Package({ - PackageInfo? info, - $core.String? url, - $47.Timestamp? createdOn, - $core.String? checksum, - $core.String? id, - }) { - final $result = create(); - if (info != null) { - $result.info = info; - } - if (url != null) { - $result.url = url; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (checksum != null) { - $result.checksum = checksum; - } - if (id != null) { - $result.id = id; - } - return $result; - } - Package._() : super(); - factory Package.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Package.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Package', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'info', subBuilder: PackageInfo.create) - ..aOS(2, _omitFieldNames ? '' : 'url') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..aOS(4, _omitFieldNames ? '' : 'checksum') - ..aOS(5, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Package clone() => Package()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Package copyWith(void Function(Package) updates) => super.copyWith((message) => updates(message as Package)) as Package; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Package create() => Package._(); - Package createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Package getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Package? _defaultInstance; - - @$pb.TagNumber(1) - PackageInfo get info => $_getN(0); - @$pb.TagNumber(1) - set info(PackageInfo v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasInfo() => $_has(0); - @$pb.TagNumber(1) - void clearInfo() => clearField(1); - @$pb.TagNumber(1) - PackageInfo ensureInfo() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get url => $_getSZ(1); - @$pb.TagNumber(2) - set url($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasUrl() => $_has(1); - @$pb.TagNumber(2) - void clearUrl() => clearField(2); - - @$pb.TagNumber(3) - $47.Timestamp get createdOn => $_getN(2); - @$pb.TagNumber(3) - set createdOn($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasCreatedOn() => $_has(2); - @$pb.TagNumber(3) - void clearCreatedOn() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureCreatedOn() => $_ensure(2); - - @$pb.TagNumber(4) - $core.String get checksum => $_getSZ(3); - @$pb.TagNumber(4) - set checksum($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasChecksum() => $_has(3); - @$pb.TagNumber(4) - void clearChecksum() => clearField(4); - - @$pb.TagNumber(5) - $core.String get id => $_getSZ(4); - @$pb.TagNumber(5) - set id($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasId() => $_has(4); - @$pb.TagNumber(5) - void clearId() => clearField(5); -} - -class GetPackageRequest extends $pb.GeneratedMessage { - factory GetPackageRequest({ - $core.String? id, - $core.String? version, - $core.bool? includeUrl, - PackageType? type, - $core.String? platform, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (version != null) { - $result.version = version; - } - if (includeUrl != null) { - $result.includeUrl = includeUrl; - } - if (type != null) { - $result.type = type; - } - if (platform != null) { - $result.platform = platform; - } - return $result; - } - GetPackageRequest._() : super(); - factory GetPackageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPackageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPackageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..aOB(3, _omitFieldNames ? '' : 'includeUrl') - ..e(4, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: PackageType.valueOf, enumValues: PackageType.values) - ..aOS(5, _omitFieldNames ? '' : 'platform') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPackageRequest clone() => GetPackageRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPackageRequest copyWith(void Function(GetPackageRequest) updates) => super.copyWith((message) => updates(message as GetPackageRequest)) as GetPackageRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPackageRequest create() => GetPackageRequest._(); - GetPackageRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPackageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPackageRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get includeUrl => $_getBF(2); - @$pb.TagNumber(3) - set includeUrl($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIncludeUrl() => $_has(2); - @$pb.TagNumber(3) - void clearIncludeUrl() => clearField(3); - - @$pb.TagNumber(4) - PackageType get type => $_getN(3); - @$pb.TagNumber(4) - set type(PackageType v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasType() => $_has(3); - @$pb.TagNumber(4) - void clearType() => clearField(4); - - @$pb.TagNumber(5) - $core.String get platform => $_getSZ(4); - @$pb.TagNumber(5) - set platform($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasPlatform() => $_has(4); - @$pb.TagNumber(5) - void clearPlatform() => clearField(5); -} - -class GetPackageResponse extends $pb.GeneratedMessage { - factory GetPackageResponse({ - Package? package, - }) { - final $result = create(); - if (package != null) { - $result.package = package; - } - return $result; - } - GetPackageResponse._() : super(); - factory GetPackageResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPackageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPackageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'package', subBuilder: Package.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPackageResponse clone() => GetPackageResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPackageResponse copyWith(void Function(GetPackageResponse) updates) => super.copyWith((message) => updates(message as GetPackageResponse)) as GetPackageResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPackageResponse create() => GetPackageResponse._(); - GetPackageResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPackageResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPackageResponse? _defaultInstance; - - @$pb.TagNumber(1) - Package get package => $_getN(0); - @$pb.TagNumber(1) - set package(Package v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPackage() => $_has(0); - @$pb.TagNumber(1) - void clearPackage() => clearField(1); - @$pb.TagNumber(1) - Package ensurePackage() => $_ensure(0); -} - -class ListPackagesRequest extends $pb.GeneratedMessage { - factory ListPackagesRequest({ - $core.String? organizationId, - $core.String? name, - $core.String? version, - PackageType? type, - $core.bool? includeUrl, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (name != null) { - $result.name = name; - } - if (version != null) { - $result.version = version; - } - if (type != null) { - $result.type = type; - } - if (includeUrl != null) { - $result.includeUrl = includeUrl; - } - return $result; - } - ListPackagesRequest._() : super(); - factory ListPackagesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListPackagesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPackagesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'version') - ..e(4, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: PackageType.valueOf, enumValues: PackageType.values) - ..aOB(5, _omitFieldNames ? '' : 'includeUrl') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListPackagesRequest clone() => ListPackagesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListPackagesRequest copyWith(void Function(ListPackagesRequest) updates) => super.copyWith((message) => updates(message as ListPackagesRequest)) as ListPackagesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListPackagesRequest create() => ListPackagesRequest._(); - ListPackagesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListPackagesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListPackagesRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get version => $_getSZ(2); - @$pb.TagNumber(3) - set version($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(3) - void clearVersion() => clearField(3); - - @$pb.TagNumber(4) - PackageType get type => $_getN(3); - @$pb.TagNumber(4) - set type(PackageType v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasType() => $_has(3); - @$pb.TagNumber(4) - void clearType() => clearField(4); - - @$pb.TagNumber(5) - $core.bool get includeUrl => $_getBF(4); - @$pb.TagNumber(5) - set includeUrl($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasIncludeUrl() => $_has(4); - @$pb.TagNumber(5) - void clearIncludeUrl() => clearField(5); -} - -class ListPackagesResponse extends $pb.GeneratedMessage { - factory ListPackagesResponse({ - $core.Iterable? packages, - }) { - final $result = create(); - if (packages != null) { - $result.packages.addAll(packages); - } - return $result; - } - ListPackagesResponse._() : super(); - factory ListPackagesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListPackagesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPackagesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'packages', $pb.PbFieldType.PM, subBuilder: Package.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListPackagesResponse clone() => ListPackagesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListPackagesResponse copyWith(void Function(ListPackagesResponse) updates) => super.copyWith((message) => updates(message as ListPackagesResponse)) as ListPackagesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListPackagesResponse create() => ListPackagesResponse._(); - ListPackagesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListPackagesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListPackagesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get packages => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/packages/v1/packages.pbenum.dart b/lib/src/gen/app/packages/v1/packages.pbenum.dart deleted file mode 100644 index dbf05ce1b4b..00000000000 --- a/lib/src/gen/app/packages/v1/packages.pbenum.dart +++ /dev/null @@ -1,40 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/packages/v1/packages.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class PackageType extends $pb.ProtobufEnum { - static const PackageType PACKAGE_TYPE_UNSPECIFIED = PackageType._(0, _omitEnumNames ? '' : 'PACKAGE_TYPE_UNSPECIFIED'); - static const PackageType PACKAGE_TYPE_ARCHIVE = PackageType._(1, _omitEnumNames ? '' : 'PACKAGE_TYPE_ARCHIVE'); - static const PackageType PACKAGE_TYPE_ML_MODEL = PackageType._(2, _omitEnumNames ? '' : 'PACKAGE_TYPE_ML_MODEL'); - static const PackageType PACKAGE_TYPE_MODULE = PackageType._(3, _omitEnumNames ? '' : 'PACKAGE_TYPE_MODULE'); - static const PackageType PACKAGE_TYPE_SLAM_MAP = PackageType._(4, _omitEnumNames ? '' : 'PACKAGE_TYPE_SLAM_MAP'); - static const PackageType PACKAGE_TYPE_ML_TRAINING = PackageType._(5, _omitEnumNames ? '' : 'PACKAGE_TYPE_ML_TRAINING'); - - static const $core.List values = [ - PACKAGE_TYPE_UNSPECIFIED, - PACKAGE_TYPE_ARCHIVE, - PACKAGE_TYPE_ML_MODEL, - PACKAGE_TYPE_MODULE, - PACKAGE_TYPE_SLAM_MAP, - PACKAGE_TYPE_ML_TRAINING, - ]; - - static final $core.Map<$core.int, PackageType> _byValue = $pb.ProtobufEnum.initByValue(values); - static PackageType? valueOf($core.int value) => _byValue[value]; - - const PackageType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/packages/v1/packages.pbgrpc.dart b/lib/src/gen/app/packages/v1/packages.pbgrpc.dart deleted file mode 100644 index dc98db3e3c9..00000000000 --- a/lib/src/gen/app/packages/v1/packages.pbgrpc.dart +++ /dev/null @@ -1,115 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/packages/v1/packages.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'packages.pb.dart' as $9; - -export 'packages.pb.dart'; - -@$pb.GrpcServiceName('viam.app.packages.v1.PackageService') -class PackageServiceClient extends $grpc.Client { - static final _$createPackage = $grpc.ClientMethod<$9.CreatePackageRequest, $9.CreatePackageResponse>( - '/viam.app.packages.v1.PackageService/CreatePackage', - ($9.CreatePackageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.CreatePackageResponse.fromBuffer(value)); - static final _$deletePackage = $grpc.ClientMethod<$9.DeletePackageRequest, $9.DeletePackageResponse>( - '/viam.app.packages.v1.PackageService/DeletePackage', - ($9.DeletePackageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.DeletePackageResponse.fromBuffer(value)); - static final _$getPackage = $grpc.ClientMethod<$9.GetPackageRequest, $9.GetPackageResponse>( - '/viam.app.packages.v1.PackageService/GetPackage', - ($9.GetPackageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.GetPackageResponse.fromBuffer(value)); - static final _$listPackages = $grpc.ClientMethod<$9.ListPackagesRequest, $9.ListPackagesResponse>( - '/viam.app.packages.v1.PackageService/ListPackages', - ($9.ListPackagesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.ListPackagesResponse.fromBuffer(value)); - - PackageServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$9.CreatePackageResponse> createPackage($async.Stream<$9.CreatePackageRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$createPackage, request, options: options).single; - } - - $grpc.ResponseFuture<$9.DeletePackageResponse> deletePackage($9.DeletePackageRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deletePackage, request, options: options); - } - - $grpc.ResponseFuture<$9.GetPackageResponse> getPackage($9.GetPackageRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPackage, request, options: options); - } - - $grpc.ResponseFuture<$9.ListPackagesResponse> listPackages($9.ListPackagesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listPackages, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.packages.v1.PackageService') -abstract class PackageServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.packages.v1.PackageService'; - - PackageServiceBase() { - $addMethod($grpc.ServiceMethod<$9.CreatePackageRequest, $9.CreatePackageResponse>( - 'CreatePackage', - createPackage, - true, - false, - ($core.List<$core.int> value) => $9.CreatePackageRequest.fromBuffer(value), - ($9.CreatePackageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$9.DeletePackageRequest, $9.DeletePackageResponse>( - 'DeletePackage', - deletePackage_Pre, - false, - false, - ($core.List<$core.int> value) => $9.DeletePackageRequest.fromBuffer(value), - ($9.DeletePackageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$9.GetPackageRequest, $9.GetPackageResponse>( - 'GetPackage', - getPackage_Pre, - false, - false, - ($core.List<$core.int> value) => $9.GetPackageRequest.fromBuffer(value), - ($9.GetPackageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$9.ListPackagesRequest, $9.ListPackagesResponse>( - 'ListPackages', - listPackages_Pre, - false, - false, - ($core.List<$core.int> value) => $9.ListPackagesRequest.fromBuffer(value), - ($9.ListPackagesResponse value) => value.writeToBuffer())); - } - - $async.Future<$9.DeletePackageResponse> deletePackage_Pre($grpc.ServiceCall call, $async.Future<$9.DeletePackageRequest> request) async { - return deletePackage(call, await request); - } - - $async.Future<$9.GetPackageResponse> getPackage_Pre($grpc.ServiceCall call, $async.Future<$9.GetPackageRequest> request) async { - return getPackage(call, await request); - } - - $async.Future<$9.ListPackagesResponse> listPackages_Pre($grpc.ServiceCall call, $async.Future<$9.ListPackagesRequest> request) async { - return listPackages(call, await request); - } - - $async.Future<$9.CreatePackageResponse> createPackage($grpc.ServiceCall call, $async.Stream<$9.CreatePackageRequest> request); - $async.Future<$9.DeletePackageResponse> deletePackage($grpc.ServiceCall call, $9.DeletePackageRequest request); - $async.Future<$9.GetPackageResponse> getPackage($grpc.ServiceCall call, $9.GetPackageRequest request); - $async.Future<$9.ListPackagesResponse> listPackages($grpc.ServiceCall call, $9.ListPackagesRequest request); -} diff --git a/lib/src/gen/app/packages/v1/packages.pbjson.dart b/lib/src/gen/app/packages/v1/packages.pbjson.dart deleted file mode 100644 index 95d13cc98eb..00000000000 --- a/lib/src/gen/app/packages/v1/packages.pbjson.dart +++ /dev/null @@ -1,232 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/packages/v1/packages.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use packageTypeDescriptor instead') -const PackageType$json = { - '1': 'PackageType', - '2': [ - {'1': 'PACKAGE_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'PACKAGE_TYPE_ARCHIVE', '2': 1}, - {'1': 'PACKAGE_TYPE_ML_MODEL', '2': 2}, - {'1': 'PACKAGE_TYPE_MODULE', '2': 3}, - {'1': 'PACKAGE_TYPE_SLAM_MAP', '2': 4}, - {'1': 'PACKAGE_TYPE_ML_TRAINING', '2': 5}, - ], -}; - -/// Descriptor for `PackageType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List packageTypeDescriptor = $convert.base64Decode( - 'CgtQYWNrYWdlVHlwZRIcChhQQUNLQUdFX1RZUEVfVU5TUEVDSUZJRUQQABIYChRQQUNLQUdFX1' - 'RZUEVfQVJDSElWRRABEhkKFVBBQ0tBR0VfVFlQRV9NTF9NT0RFTBACEhcKE1BBQ0tBR0VfVFlQ' - 'RV9NT0RVTEUQAxIZChVQQUNLQUdFX1RZUEVfU0xBTV9NQVAQBBIcChhQQUNLQUdFX1RZUEVfTU' - 'xfVFJBSU5JTkcQBQ=='); - -@$core.Deprecated('Use fileInfoDescriptor instead') -const FileInfo$json = { - '1': 'FileInfo', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'size', '3': 2, '4': 1, '5': 4, '10': 'size'}, - {'1': 'is_directory', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'isDirectory', '17': true}, - ], - '8': [ - {'1': '_is_directory'}, - ], -}; - -/// Descriptor for `FileInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileInfoDescriptor = $convert.base64Decode( - 'CghGaWxlSW5mbxISCgRuYW1lGAEgASgJUgRuYW1lEhIKBHNpemUYAiABKARSBHNpemUSJgoMaX' - 'NfZGlyZWN0b3J5GAMgASgISABSC2lzRGlyZWN0b3J5iAEBQg8KDV9pc19kaXJlY3Rvcnk='); - -@$core.Deprecated('Use packageInfoDescriptor instead') -const PackageInfo$json = { - '1': 'PackageInfo', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'version', '3': 3, '4': 1, '5': 9, '10': 'version'}, - {'1': 'type', '3': 4, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'type'}, - {'1': 'platform', '3': 7, '4': 1, '5': 9, '9': 0, '10': 'platform', '17': true}, - {'1': 'files', '3': 5, '4': 3, '5': 11, '6': '.viam.app.packages.v1.FileInfo', '10': 'files'}, - {'1': 'metadata', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'metadata'}, - ], - '8': [ - {'1': '_platform'}, - ], -}; - -/// Descriptor for `PackageInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List packageInfoDescriptor = $convert.base64Decode( - 'CgtQYWNrYWdlSW5mbxInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2FuaXphdGlvbklkEh' - 'IKBG5hbWUYAiABKAlSBG5hbWUSGAoHdmVyc2lvbhgDIAEoCVIHdmVyc2lvbhI1CgR0eXBlGAQg' - 'ASgOMiEudmlhbS5hcHAucGFja2FnZXMudjEuUGFja2FnZVR5cGVSBHR5cGUSHwoIcGxhdGZvcm' - '0YByABKAlIAFIIcGxhdGZvcm2IAQESNAoFZmlsZXMYBSADKAsyHi52aWFtLmFwcC5wYWNrYWdl' - 'cy52MS5GaWxlSW5mb1IFZmlsZXMSMwoIbWV0YWRhdGEYBiABKAsyFy5nb29nbGUucHJvdG9idW' - 'YuU3RydWN0UghtZXRhZGF0YUILCglfcGxhdGZvcm0='); - -@$core.Deprecated('Use createPackageRequestDescriptor instead') -const CreatePackageRequest$json = { - '1': 'CreatePackageRequest', - '2': [ - {'1': 'info', '3': 1, '4': 1, '5': 11, '6': '.viam.app.packages.v1.PackageInfo', '9': 0, '10': 'info'}, - {'1': 'contents', '3': 2, '4': 1, '5': 12, '9': 0, '10': 'contents'}, - ], - '8': [ - {'1': 'package'}, - ], -}; - -/// Descriptor for `CreatePackageRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createPackageRequestDescriptor = $convert.base64Decode( - 'ChRDcmVhdGVQYWNrYWdlUmVxdWVzdBI3CgRpbmZvGAEgASgLMiEudmlhbS5hcHAucGFja2FnZX' - 'MudjEuUGFja2FnZUluZm9IAFIEaW5mbxIcCghjb250ZW50cxgCIAEoDEgAUghjb250ZW50c0IJ' - 'CgdwYWNrYWdl'); - -@$core.Deprecated('Use createPackageResponseDescriptor instead') -const CreatePackageResponse$json = { - '1': 'CreatePackageResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, - ], -}; - -/// Descriptor for `CreatePackageResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createPackageResponseDescriptor = $convert.base64Decode( - 'ChVDcmVhdGVQYWNrYWdlUmVzcG9uc2USDgoCaWQYASABKAlSAmlkEhgKB3ZlcnNpb24YAiABKA' - 'lSB3ZlcnNpb24='); - -@$core.Deprecated('Use deletePackageRequestDescriptor instead') -const DeletePackageRequest$json = { - '1': 'DeletePackageRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, - {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'type'}, - ], -}; - -/// Descriptor for `DeletePackageRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deletePackageRequestDescriptor = $convert.base64Decode( - 'ChREZWxldGVQYWNrYWdlUmVxdWVzdBIOCgJpZBgBIAEoCVICaWQSGAoHdmVyc2lvbhgCIAEoCV' - 'IHdmVyc2lvbhI1CgR0eXBlGAMgASgOMiEudmlhbS5hcHAucGFja2FnZXMudjEuUGFja2FnZVR5' - 'cGVSBHR5cGU='); - -@$core.Deprecated('Use deletePackageResponseDescriptor instead') -const DeletePackageResponse$json = { - '1': 'DeletePackageResponse', -}; - -/// Descriptor for `DeletePackageResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deletePackageResponseDescriptor = $convert.base64Decode( - 'ChVEZWxldGVQYWNrYWdlUmVzcG9uc2U='); - -@$core.Deprecated('Use packageDescriptor instead') -const Package$json = { - '1': 'Package', - '2': [ - {'1': 'info', '3': 1, '4': 1, '5': 11, '6': '.viam.app.packages.v1.PackageInfo', '10': 'info'}, - {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, - {'1': 'created_on', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdOn'}, - {'1': 'checksum', '3': 4, '4': 1, '5': 9, '10': 'checksum'}, - {'1': 'id', '3': 5, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `Package`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List packageDescriptor = $convert.base64Decode( - 'CgdQYWNrYWdlEjUKBGluZm8YASABKAsyIS52aWFtLmFwcC5wYWNrYWdlcy52MS5QYWNrYWdlSW' - '5mb1IEaW5mbxIQCgN1cmwYAiABKAlSA3VybBI5CgpjcmVhdGVkX29uGAMgASgLMhouZ29vZ2xl' - 'LnByb3RvYnVmLlRpbWVzdGFtcFIJY3JlYXRlZE9uEhoKCGNoZWNrc3VtGAQgASgJUghjaGVja3' - 'N1bRIOCgJpZBgFIAEoCVICaWQ='); - -@$core.Deprecated('Use getPackageRequestDescriptor instead') -const GetPackageRequest$json = { - '1': 'GetPackageRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, - {'1': 'include_url', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'includeUrl', '17': true}, - {'1': 'type', '3': 4, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '9': 1, '10': 'type', '17': true}, - {'1': 'platform', '3': 5, '4': 1, '5': 9, '9': 2, '10': 'platform', '17': true}, - ], - '8': [ - {'1': '_include_url'}, - {'1': '_type'}, - {'1': '_platform'}, - ], -}; - -/// Descriptor for `GetPackageRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPackageRequestDescriptor = $convert.base64Decode( - 'ChFHZXRQYWNrYWdlUmVxdWVzdBIOCgJpZBgBIAEoCVICaWQSGAoHdmVyc2lvbhgCIAEoCVIHdm' - 'Vyc2lvbhIkCgtpbmNsdWRlX3VybBgDIAEoCEgAUgppbmNsdWRlVXJsiAEBEjoKBHR5cGUYBCAB' - 'KA4yIS52aWFtLmFwcC5wYWNrYWdlcy52MS5QYWNrYWdlVHlwZUgBUgR0eXBliAEBEh8KCHBsYX' - 'Rmb3JtGAUgASgJSAJSCHBsYXRmb3JtiAEBQg4KDF9pbmNsdWRlX3VybEIHCgVfdHlwZUILCglf' - 'cGxhdGZvcm0='); - -@$core.Deprecated('Use getPackageResponseDescriptor instead') -const GetPackageResponse$json = { - '1': 'GetPackageResponse', - '2': [ - {'1': 'package', '3': 1, '4': 1, '5': 11, '6': '.viam.app.packages.v1.Package', '10': 'package'}, - ], -}; - -/// Descriptor for `GetPackageResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPackageResponseDescriptor = $convert.base64Decode( - 'ChJHZXRQYWNrYWdlUmVzcG9uc2USNwoHcGFja2FnZRgBIAEoCzIdLnZpYW0uYXBwLnBhY2thZ2' - 'VzLnYxLlBhY2thZ2VSB3BhY2thZ2U='); - -@$core.Deprecated('Use listPackagesRequestDescriptor instead') -const ListPackagesRequest$json = { - '1': 'ListPackagesRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'name', '17': true}, - {'1': 'version', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'version', '17': true}, - {'1': 'type', '3': 4, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '9': 2, '10': 'type', '17': true}, - {'1': 'include_url', '3': 5, '4': 1, '5': 8, '9': 3, '10': 'includeUrl', '17': true}, - ], - '8': [ - {'1': '_name'}, - {'1': '_version'}, - {'1': '_type'}, - {'1': '_include_url'}, - ], -}; - -/// Descriptor for `ListPackagesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listPackagesRequestDescriptor = $convert.base64Decode( - 'ChNMaXN0UGFja2FnZXNSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3JnYW5pem' - 'F0aW9uSWQSFwoEbmFtZRgCIAEoCUgAUgRuYW1liAEBEh0KB3ZlcnNpb24YAyABKAlIAVIHdmVy' - 'c2lvbogBARI6CgR0eXBlGAQgASgOMiEudmlhbS5hcHAucGFja2FnZXMudjEuUGFja2FnZVR5cG' - 'VIAlIEdHlwZYgBARIkCgtpbmNsdWRlX3VybBgFIAEoCEgDUgppbmNsdWRlVXJsiAEBQgcKBV9u' - 'YW1lQgoKCF92ZXJzaW9uQgcKBV90eXBlQg4KDF9pbmNsdWRlX3VybA=='); - -@$core.Deprecated('Use listPackagesResponseDescriptor instead') -const ListPackagesResponse$json = { - '1': 'ListPackagesResponse', - '2': [ - {'1': 'packages', '3': 1, '4': 3, '5': 11, '6': '.viam.app.packages.v1.Package', '10': 'packages'}, - ], -}; - -/// Descriptor for `ListPackagesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listPackagesResponseDescriptor = $convert.base64Decode( - 'ChRMaXN0UGFja2FnZXNSZXNwb25zZRI5CghwYWNrYWdlcxgBIAMoCzIdLnZpYW0uYXBwLnBhY2' - 'thZ2VzLnYxLlBhY2thZ2VSCHBhY2thZ2Vz'); - diff --git a/lib/src/gen/app/v1/app.pb.dart b/lib/src/gen/app/v1/app.pb.dart deleted file mode 100644 index 4b8a900e9b6..00000000000 --- a/lib/src/gen/app/v1/app.pb.dart +++ /dev/null @@ -1,15938 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/app.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../common/v1/common.pb.dart' as $15; -import '../../google/protobuf/struct.pb.dart' as $46; -import '../../google/protobuf/timestamp.pb.dart' as $47; -import '../mltraining/v1/ml_training.pbenum.dart' as $8; -import '../packages/v1/packages.pbenum.dart' as $9; -import 'app.pbenum.dart'; - -export 'app.pbenum.dart'; - -class Robot extends $pb.GeneratedMessage { - factory Robot({ - $core.String? id, - $core.String? name, - $core.String? location, - $47.Timestamp? lastAccess, - $47.Timestamp? createdOn, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (location != null) { - $result.location = location; - } - if (lastAccess != null) { - $result.lastAccess = lastAccess; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - return $result; - } - Robot._() : super(); - factory Robot.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Robot.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Robot', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'location') - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Robot clone() => Robot()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Robot copyWith(void Function(Robot) updates) => super.copyWith((message) => updates(message as Robot)) as Robot; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Robot create() => Robot._(); - Robot createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Robot getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Robot? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get location => $_getSZ(2); - @$pb.TagNumber(3) - set location($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLocation() => $_has(2); - @$pb.TagNumber(3) - void clearLocation() => clearField(3); - - @$pb.TagNumber(4) - $47.Timestamp get lastAccess => $_getN(3); - @$pb.TagNumber(4) - set lastAccess($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasLastAccess() => $_has(3); - @$pb.TagNumber(4) - void clearLastAccess() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureLastAccess() => $_ensure(3); - - @$pb.TagNumber(5) - $47.Timestamp get createdOn => $_getN(4); - @$pb.TagNumber(5) - set createdOn($47.Timestamp v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasCreatedOn() => $_has(4); - @$pb.TagNumber(5) - void clearCreatedOn() => clearField(5); - @$pb.TagNumber(5) - $47.Timestamp ensureCreatedOn() => $_ensure(4); -} - -class RobotPart extends $pb.GeneratedMessage { - factory RobotPart({ - $core.String? id, - $core.String? name, - $core.String? secret, - $core.String? robot, - $46.Struct? robotConfig, - $47.Timestamp? lastAccess, - $46.Struct? userSuppliedInfo, - $core.bool? mainPart, - $core.String? fqdn, - $core.String? dnsName, - $core.String? localFqdn, - $core.String? locationId, - $47.Timestamp? createdOn, - $core.Iterable? secrets, - $47.Timestamp? lastUpdated, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (secret != null) { - $result.secret = secret; - } - if (robot != null) { - $result.robot = robot; - } - if (robotConfig != null) { - $result.robotConfig = robotConfig; - } - if (lastAccess != null) { - $result.lastAccess = lastAccess; - } - if (userSuppliedInfo != null) { - $result.userSuppliedInfo = userSuppliedInfo; - } - if (mainPart != null) { - $result.mainPart = mainPart; - } - if (fqdn != null) { - $result.fqdn = fqdn; - } - if (dnsName != null) { - $result.dnsName = dnsName; - } - if (localFqdn != null) { - $result.localFqdn = localFqdn; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (secrets != null) { - $result.secrets.addAll(secrets); - } - if (lastUpdated != null) { - $result.lastUpdated = lastUpdated; - } - return $result; - } - RobotPart._() : super(); - factory RobotPart.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RobotPart.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RobotPart', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'secret') - ..aOS(4, _omitFieldNames ? '' : 'robot') - ..aOM<$46.Struct>(5, _omitFieldNames ? '' : 'robotConfig', subBuilder: $46.Struct.create) - ..aOM<$47.Timestamp>(6, _omitFieldNames ? '' : 'lastAccess', subBuilder: $47.Timestamp.create) - ..aOM<$46.Struct>(7, _omitFieldNames ? '' : 'userSuppliedInfo', subBuilder: $46.Struct.create) - ..aOB(8, _omitFieldNames ? '' : 'mainPart') - ..aOS(9, _omitFieldNames ? '' : 'fqdn') - ..aOS(10, _omitFieldNames ? '' : 'dnsName') - ..aOS(11, _omitFieldNames ? '' : 'localFqdn') - ..aOS(12, _omitFieldNames ? '' : 'locationId') - ..aOM<$47.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..pc(14, _omitFieldNames ? '' : 'secrets', $pb.PbFieldType.PM, subBuilder: SharedSecret.create) - ..aOM<$47.Timestamp>(15, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RobotPart clone() => RobotPart()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RobotPart copyWith(void Function(RobotPart) updates) => super.copyWith((message) => updates(message as RobotPart)) as RobotPart; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RobotPart create() => RobotPart._(); - RobotPart createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RobotPart getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RobotPart? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get secret => $_getSZ(2); - @$pb.TagNumber(3) - set secret($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasSecret() => $_has(2); - @$pb.TagNumber(3) - void clearSecret() => clearField(3); - - @$pb.TagNumber(4) - $core.String get robot => $_getSZ(3); - @$pb.TagNumber(4) - set robot($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasRobot() => $_has(3); - @$pb.TagNumber(4) - void clearRobot() => clearField(4); - - @$pb.TagNumber(5) - $46.Struct get robotConfig => $_getN(4); - @$pb.TagNumber(5) - set robotConfig($46.Struct v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasRobotConfig() => $_has(4); - @$pb.TagNumber(5) - void clearRobotConfig() => clearField(5); - @$pb.TagNumber(5) - $46.Struct ensureRobotConfig() => $_ensure(4); - - @$pb.TagNumber(6) - $47.Timestamp get lastAccess => $_getN(5); - @$pb.TagNumber(6) - set lastAccess($47.Timestamp v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasLastAccess() => $_has(5); - @$pb.TagNumber(6) - void clearLastAccess() => clearField(6); - @$pb.TagNumber(6) - $47.Timestamp ensureLastAccess() => $_ensure(5); - - @$pb.TagNumber(7) - $46.Struct get userSuppliedInfo => $_getN(6); - @$pb.TagNumber(7) - set userSuppliedInfo($46.Struct v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasUserSuppliedInfo() => $_has(6); - @$pb.TagNumber(7) - void clearUserSuppliedInfo() => clearField(7); - @$pb.TagNumber(7) - $46.Struct ensureUserSuppliedInfo() => $_ensure(6); - - @$pb.TagNumber(8) - $core.bool get mainPart => $_getBF(7); - @$pb.TagNumber(8) - set mainPart($core.bool v) { $_setBool(7, v); } - @$pb.TagNumber(8) - $core.bool hasMainPart() => $_has(7); - @$pb.TagNumber(8) - void clearMainPart() => clearField(8); - - @$pb.TagNumber(9) - $core.String get fqdn => $_getSZ(8); - @$pb.TagNumber(9) - set fqdn($core.String v) { $_setString(8, v); } - @$pb.TagNumber(9) - $core.bool hasFqdn() => $_has(8); - @$pb.TagNumber(9) - void clearFqdn() => clearField(9); - - /// dns_name part name used for fqdn and local fqdn. Anytime the Name is updated this should be sanitized and updated as well. - @$pb.TagNumber(10) - $core.String get dnsName => $_getSZ(9); - @$pb.TagNumber(10) - set dnsName($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasDnsName() => $_has(9); - @$pb.TagNumber(10) - void clearDnsName() => clearField(10); - - @$pb.TagNumber(11) - $core.String get localFqdn => $_getSZ(10); - @$pb.TagNumber(11) - set localFqdn($core.String v) { $_setString(10, v); } - @$pb.TagNumber(11) - $core.bool hasLocalFqdn() => $_has(10); - @$pb.TagNumber(11) - void clearLocalFqdn() => clearField(11); - - /// Store the location_id to allow for unique indexes across parts and locations. This filed MUST be updated each time the robots location - /// changes. - @$pb.TagNumber(12) - $core.String get locationId => $_getSZ(11); - @$pb.TagNumber(12) - set locationId($core.String v) { $_setString(11, v); } - @$pb.TagNumber(12) - $core.bool hasLocationId() => $_has(11); - @$pb.TagNumber(12) - void clearLocationId() => clearField(12); - - @$pb.TagNumber(13) - $47.Timestamp get createdOn => $_getN(12); - @$pb.TagNumber(13) - set createdOn($47.Timestamp v) { setField(13, v); } - @$pb.TagNumber(13) - $core.bool hasCreatedOn() => $_has(12); - @$pb.TagNumber(13) - void clearCreatedOn() => clearField(13); - @$pb.TagNumber(13) - $47.Timestamp ensureCreatedOn() => $_ensure(12); - - /// List of secrets allowed for authentication. - @$pb.TagNumber(14) - $core.List get secrets => $_getList(13); - - /// latest timestamp when a robot part was updated - @$pb.TagNumber(15) - $47.Timestamp get lastUpdated => $_getN(14); - @$pb.TagNumber(15) - set lastUpdated($47.Timestamp v) { setField(15, v); } - @$pb.TagNumber(15) - $core.bool hasLastUpdated() => $_has(14); - @$pb.TagNumber(15) - void clearLastUpdated() => clearField(15); - @$pb.TagNumber(15) - $47.Timestamp ensureLastUpdated() => $_ensure(14); -} - -class RobotPartHistoryEntry extends $pb.GeneratedMessage { - factory RobotPartHistoryEntry({ - $core.String? part, - $core.String? robot, - $47.Timestamp? when, - RobotPart? old, - AuthenticatorInfo? editedBy, - }) { - final $result = create(); - if (part != null) { - $result.part = part; - } - if (robot != null) { - $result.robot = robot; - } - if (when != null) { - $result.when = when; - } - if (old != null) { - $result.old = old; - } - if (editedBy != null) { - $result.editedBy = editedBy; - } - return $result; - } - RobotPartHistoryEntry._() : super(); - factory RobotPartHistoryEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RobotPartHistoryEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RobotPartHistoryEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'part') - ..aOS(2, _omitFieldNames ? '' : 'robot') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $47.Timestamp.create) - ..aOM(4, _omitFieldNames ? '' : 'old', subBuilder: RobotPart.create) - ..aOM(5, _omitFieldNames ? '' : 'editedBy', subBuilder: AuthenticatorInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RobotPartHistoryEntry clone() => RobotPartHistoryEntry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RobotPartHistoryEntry copyWith(void Function(RobotPartHistoryEntry) updates) => super.copyWith((message) => updates(message as RobotPartHistoryEntry)) as RobotPartHistoryEntry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RobotPartHistoryEntry create() => RobotPartHistoryEntry._(); - RobotPartHistoryEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RobotPartHistoryEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RobotPartHistoryEntry? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get part => $_getSZ(0); - @$pb.TagNumber(1) - set part($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPart() => $_has(0); - @$pb.TagNumber(1) - void clearPart() => clearField(1); - - @$pb.TagNumber(2) - $core.String get robot => $_getSZ(1); - @$pb.TagNumber(2) - set robot($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRobot() => $_has(1); - @$pb.TagNumber(2) - void clearRobot() => clearField(2); - - @$pb.TagNumber(3) - $47.Timestamp get when => $_getN(2); - @$pb.TagNumber(3) - set when($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasWhen() => $_has(2); - @$pb.TagNumber(3) - void clearWhen() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureWhen() => $_ensure(2); - - @$pb.TagNumber(4) - RobotPart get old => $_getN(3); - @$pb.TagNumber(4) - set old(RobotPart v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasOld() => $_has(3); - @$pb.TagNumber(4) - void clearOld() => clearField(4); - @$pb.TagNumber(4) - RobotPart ensureOld() => $_ensure(3); - - @$pb.TagNumber(5) - AuthenticatorInfo get editedBy => $_getN(4); - @$pb.TagNumber(5) - set editedBy(AuthenticatorInfo v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasEditedBy() => $_has(4); - @$pb.TagNumber(5) - void clearEditedBy() => clearField(5); - @$pb.TagNumber(5) - AuthenticatorInfo ensureEditedBy() => $_ensure(4); -} - -class AuthenticatorInfo extends $pb.GeneratedMessage { - factory AuthenticatorInfo({ - AuthenticationType? type, - $core.String? value, - $core.bool? isDeactivated, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (value != null) { - $result.value = value; - } - if (isDeactivated != null) { - $result.isDeactivated = isDeactivated; - } - return $result; - } - AuthenticatorInfo._() : super(); - factory AuthenticatorInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthenticatorInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthenticatorInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: AuthenticationType.AUTHENTICATION_TYPE_UNSPECIFIED, valueOf: AuthenticationType.valueOf, enumValues: AuthenticationType.values) - ..aOS(2, _omitFieldNames ? '' : 'value') - ..aOB(3, _omitFieldNames ? '' : 'isDeactivated') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthenticatorInfo clone() => AuthenticatorInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthenticatorInfo copyWith(void Function(AuthenticatorInfo) updates) => super.copyWith((message) => updates(message as AuthenticatorInfo)) as AuthenticatorInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthenticatorInfo create() => AuthenticatorInfo._(); - AuthenticatorInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthenticatorInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthenticatorInfo? _defaultInstance; - - @$pb.TagNumber(1) - AuthenticationType get type => $_getN(0); - @$pb.TagNumber(1) - set type(AuthenticationType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get value => $_getSZ(1); - @$pb.TagNumber(2) - set value($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get isDeactivated => $_getBF(2); - @$pb.TagNumber(3) - set isDeactivated($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIsDeactivated() => $_has(2); - @$pb.TagNumber(3) - void clearIsDeactivated() => clearField(3); -} - -class ListOrganizationsRequest extends $pb.GeneratedMessage { - factory ListOrganizationsRequest() => create(); - ListOrganizationsRequest._() : super(); - factory ListOrganizationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOrganizationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganizationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOrganizationsRequest clone() => ListOrganizationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOrganizationsRequest copyWith(void Function(ListOrganizationsRequest) updates) => super.copyWith((message) => updates(message as ListOrganizationsRequest)) as ListOrganizationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOrganizationsRequest create() => ListOrganizationsRequest._(); - ListOrganizationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOrganizationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOrganizationsRequest? _defaultInstance; -} - -class Organization extends $pb.GeneratedMessage { - factory Organization({ - $core.String? id, - $core.String? name, - $47.Timestamp? createdOn, - $core.String? publicNamespace, - $core.String? defaultRegion, - $core.String? cid, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - if (defaultRegion != null) { - $result.defaultRegion = defaultRegion; - } - if (cid != null) { - $result.cid = cid; - } - return $result; - } - Organization._() : super(); - factory Organization.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Organization.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..aOS(4, _omitFieldNames ? '' : 'publicNamespace') - ..aOS(5, _omitFieldNames ? '' : 'defaultRegion') - ..aOS(6, _omitFieldNames ? '' : 'cid') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Organization clone() => Organization()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Organization copyWith(void Function(Organization) updates) => super.copyWith((message) => updates(message as Organization)) as Organization; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Organization create() => Organization._(); - Organization createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Organization getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Organization? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $47.Timestamp get createdOn => $_getN(2); - @$pb.TagNumber(3) - set createdOn($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasCreatedOn() => $_has(2); - @$pb.TagNumber(3) - void clearCreatedOn() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureCreatedOn() => $_ensure(2); - - @$pb.TagNumber(4) - $core.String get publicNamespace => $_getSZ(3); - @$pb.TagNumber(4) - set publicNamespace($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasPublicNamespace() => $_has(3); - @$pb.TagNumber(4) - void clearPublicNamespace() => clearField(4); - - /// GCS region of the organization. Locations created under this org will have their GCS region set to this by default and packages - /// associated with this org will be stored in this region. - @$pb.TagNumber(5) - $core.String get defaultRegion => $_getSZ(4); - @$pb.TagNumber(5) - set defaultRegion($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasDefaultRegion() => $_has(4); - @$pb.TagNumber(5) - void clearDefaultRegion() => clearField(5); - - @$pb.TagNumber(6) - $core.String get cid => $_getSZ(5); - @$pb.TagNumber(6) - set cid($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasCid() => $_has(5); - @$pb.TagNumber(6) - void clearCid() => clearField(6); -} - -class OrganizationMember extends $pb.GeneratedMessage { - factory OrganizationMember({ - $core.String? userId, - $core.Iterable<$core.String>? emails, - $47.Timestamp? dateAdded, - $47.Timestamp? lastLogin, - }) { - final $result = create(); - if (userId != null) { - $result.userId = userId; - } - if (emails != null) { - $result.emails.addAll(emails); - } - if (dateAdded != null) { - $result.dateAdded = dateAdded; - } - if (lastLogin != null) { - $result.lastLogin = lastLogin; - } - return $result; - } - OrganizationMember._() : super(); - factory OrganizationMember.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationMember.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationMember', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'userId') - ..pPS(2, _omitFieldNames ? '' : 'emails') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationMember clone() => OrganizationMember()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationMember copyWith(void Function(OrganizationMember) updates) => super.copyWith((message) => updates(message as OrganizationMember)) as OrganizationMember; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationMember create() => OrganizationMember._(); - OrganizationMember createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationMember getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationMember? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get userId => $_getSZ(0); - @$pb.TagNumber(1) - set userId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUserId() => $_has(0); - @$pb.TagNumber(1) - void clearUserId() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$core.String> get emails => $_getList(1); - - @$pb.TagNumber(3) - $47.Timestamp get dateAdded => $_getN(2); - @$pb.TagNumber(3) - set dateAdded($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasDateAdded() => $_has(2); - @$pb.TagNumber(3) - void clearDateAdded() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureDateAdded() => $_ensure(2); - - @$pb.TagNumber(4) - $47.Timestamp get lastLogin => $_getN(3); - @$pb.TagNumber(4) - set lastLogin($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasLastLogin() => $_has(3); - @$pb.TagNumber(4) - void clearLastLogin() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureLastLogin() => $_ensure(3); -} - -class ListOrganizationsResponse extends $pb.GeneratedMessage { - factory ListOrganizationsResponse({ - $core.Iterable? organizations, - }) { - final $result = create(); - if (organizations != null) { - $result.organizations.addAll(organizations); - } - return $result; - } - ListOrganizationsResponse._() : super(); - factory ListOrganizationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOrganizationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganizationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: Organization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOrganizationsResponse clone() => ListOrganizationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOrganizationsResponse copyWith(void Function(ListOrganizationsResponse) updates) => super.copyWith((message) => updates(message as ListOrganizationsResponse)) as ListOrganizationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOrganizationsResponse create() => ListOrganizationsResponse._(); - ListOrganizationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOrganizationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOrganizationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get organizations => $_getList(0); -} - -class OrganizationInvite extends $pb.GeneratedMessage { - factory OrganizationInvite({ - $core.String? organizationId, - $core.String? email, - $47.Timestamp? createdOn, - $core.Iterable? authorizations, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (email != null) { - $result.email = email; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (authorizations != null) { - $result.authorizations.addAll(authorizations); - } - return $result; - } - OrganizationInvite._() : super(); - factory OrganizationInvite.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationInvite.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationInvite', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'email') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..pc(4, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationInvite clone() => OrganizationInvite()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationInvite copyWith(void Function(OrganizationInvite) updates) => super.copyWith((message) => updates(message as OrganizationInvite)) as OrganizationInvite; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationInvite create() => OrganizationInvite._(); - OrganizationInvite createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationInvite getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationInvite? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get email => $_getSZ(1); - @$pb.TagNumber(2) - set email($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEmail() => $_has(1); - @$pb.TagNumber(2) - void clearEmail() => clearField(2); - - @$pb.TagNumber(3) - $47.Timestamp get createdOn => $_getN(2); - @$pb.TagNumber(3) - set createdOn($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasCreatedOn() => $_has(2); - @$pb.TagNumber(3) - void clearCreatedOn() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureCreatedOn() => $_ensure(2); - - @$pb.TagNumber(4) - $core.List get authorizations => $_getList(3); -} - -class CreateOrganizationRequest extends $pb.GeneratedMessage { - factory CreateOrganizationRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - CreateOrganizationRequest._() : super(); - factory CreateOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateOrganizationRequest clone() => CreateOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateOrganizationRequest copyWith(void Function(CreateOrganizationRequest) updates) => super.copyWith((message) => updates(message as CreateOrganizationRequest)) as CreateOrganizationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateOrganizationRequest create() => CreateOrganizationRequest._(); - CreateOrganizationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateOrganizationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateOrganizationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class CreateOrganizationResponse extends $pb.GeneratedMessage { - factory CreateOrganizationResponse({ - Organization? organization, - }) { - final $result = create(); - if (organization != null) { - $result.organization = organization; - } - return $result; - } - CreateOrganizationResponse._() : super(); - factory CreateOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'organization', subBuilder: Organization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateOrganizationResponse clone() => CreateOrganizationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateOrganizationResponse copyWith(void Function(CreateOrganizationResponse) updates) => super.copyWith((message) => updates(message as CreateOrganizationResponse)) as CreateOrganizationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateOrganizationResponse create() => CreateOrganizationResponse._(); - CreateOrganizationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateOrganizationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateOrganizationResponse? _defaultInstance; - - @$pb.TagNumber(1) - Organization get organization => $_getN(0); - @$pb.TagNumber(1) - set organization(Organization v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOrganization() => $_has(0); - @$pb.TagNumber(1) - void clearOrganization() => clearField(1); - @$pb.TagNumber(1) - Organization ensureOrganization() => $_ensure(0); -} - -class GetOrganizationRequest extends $pb.GeneratedMessage { - factory GetOrganizationRequest({ - $core.String? organizationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - GetOrganizationRequest._() : super(); - factory GetOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationRequest clone() => GetOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationRequest copyWith(void Function(GetOrganizationRequest) updates) => super.copyWith((message) => updates(message as GetOrganizationRequest)) as GetOrganizationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationRequest create() => GetOrganizationRequest._(); - GetOrganizationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); -} - -class GetOrganizationResponse extends $pb.GeneratedMessage { - factory GetOrganizationResponse({ - Organization? organization, - }) { - final $result = create(); - if (organization != null) { - $result.organization = organization; - } - return $result; - } - GetOrganizationResponse._() : super(); - factory GetOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'organization', subBuilder: Organization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationResponse clone() => GetOrganizationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationResponse copyWith(void Function(GetOrganizationResponse) updates) => super.copyWith((message) => updates(message as GetOrganizationResponse)) as GetOrganizationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationResponse create() => GetOrganizationResponse._(); - GetOrganizationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationResponse? _defaultInstance; - - @$pb.TagNumber(1) - Organization get organization => $_getN(0); - @$pb.TagNumber(1) - set organization(Organization v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOrganization() => $_has(0); - @$pb.TagNumber(1) - void clearOrganization() => clearField(1); - @$pb.TagNumber(1) - Organization ensureOrganization() => $_ensure(0); -} - -class GetOrganizationNamespaceAvailabilityRequest extends $pb.GeneratedMessage { - factory GetOrganizationNamespaceAvailabilityRequest({ - $core.String? publicNamespace, - }) { - final $result = create(); - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - return $result; - } - GetOrganizationNamespaceAvailabilityRequest._() : super(); - factory GetOrganizationNamespaceAvailabilityRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationNamespaceAvailabilityRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationNamespaceAvailabilityRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'publicNamespace') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationNamespaceAvailabilityRequest clone() => GetOrganizationNamespaceAvailabilityRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationNamespaceAvailabilityRequest copyWith(void Function(GetOrganizationNamespaceAvailabilityRequest) updates) => super.copyWith((message) => updates(message as GetOrganizationNamespaceAvailabilityRequest)) as GetOrganizationNamespaceAvailabilityRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationNamespaceAvailabilityRequest create() => GetOrganizationNamespaceAvailabilityRequest._(); - GetOrganizationNamespaceAvailabilityRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationNamespaceAvailabilityRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationNamespaceAvailabilityRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get publicNamespace => $_getSZ(0); - @$pb.TagNumber(1) - set publicNamespace($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPublicNamespace() => $_has(0); - @$pb.TagNumber(1) - void clearPublicNamespace() => clearField(1); -} - -class GetOrganizationNamespaceAvailabilityResponse extends $pb.GeneratedMessage { - factory GetOrganizationNamespaceAvailabilityResponse({ - $core.bool? available, - }) { - final $result = create(); - if (available != null) { - $result.available = available; - } - return $result; - } - GetOrganizationNamespaceAvailabilityResponse._() : super(); - factory GetOrganizationNamespaceAvailabilityResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationNamespaceAvailabilityResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationNamespaceAvailabilityResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'available') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationNamespaceAvailabilityResponse clone() => GetOrganizationNamespaceAvailabilityResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationNamespaceAvailabilityResponse copyWith(void Function(GetOrganizationNamespaceAvailabilityResponse) updates) => super.copyWith((message) => updates(message as GetOrganizationNamespaceAvailabilityResponse)) as GetOrganizationNamespaceAvailabilityResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationNamespaceAvailabilityResponse create() => GetOrganizationNamespaceAvailabilityResponse._(); - GetOrganizationNamespaceAvailabilityResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationNamespaceAvailabilityResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationNamespaceAvailabilityResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get available => $_getBF(0); - @$pb.TagNumber(1) - set available($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasAvailable() => $_has(0); - @$pb.TagNumber(1) - void clearAvailable() => clearField(1); -} - -class UpdateOrganizationRequest extends $pb.GeneratedMessage { - factory UpdateOrganizationRequest({ - $core.String? organizationId, - $core.String? name, - $core.String? publicNamespace, - $core.String? region, - $core.String? cid, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (name != null) { - $result.name = name; - } - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - if (region != null) { - $result.region = region; - } - if (cid != null) { - $result.cid = cid; - } - return $result; - } - UpdateOrganizationRequest._() : super(); - factory UpdateOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'publicNamespace') - ..aOS(4, _omitFieldNames ? '' : 'region') - ..aOS(5, _omitFieldNames ? '' : 'cid') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOrganizationRequest clone() => UpdateOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOrganizationRequest copyWith(void Function(UpdateOrganizationRequest) updates) => super.copyWith((message) => updates(message as UpdateOrganizationRequest)) as UpdateOrganizationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOrganizationRequest create() => UpdateOrganizationRequest._(); - UpdateOrganizationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOrganizationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOrganizationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get publicNamespace => $_getSZ(2); - @$pb.TagNumber(3) - set publicNamespace($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasPublicNamespace() => $_has(2); - @$pb.TagNumber(3) - void clearPublicNamespace() => clearField(3); - - /// The new GCS region to associate the org with. - @$pb.TagNumber(4) - $core.String get region => $_getSZ(3); - @$pb.TagNumber(4) - set region($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasRegion() => $_has(3); - @$pb.TagNumber(4) - void clearRegion() => clearField(4); - - @$pb.TagNumber(5) - $core.String get cid => $_getSZ(4); - @$pb.TagNumber(5) - set cid($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasCid() => $_has(4); - @$pb.TagNumber(5) - void clearCid() => clearField(5); -} - -class UpdateOrganizationResponse extends $pb.GeneratedMessage { - factory UpdateOrganizationResponse({ - Organization? organization, - }) { - final $result = create(); - if (organization != null) { - $result.organization = organization; - } - return $result; - } - UpdateOrganizationResponse._() : super(); - factory UpdateOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'organization', subBuilder: Organization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOrganizationResponse clone() => UpdateOrganizationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOrganizationResponse copyWith(void Function(UpdateOrganizationResponse) updates) => super.copyWith((message) => updates(message as UpdateOrganizationResponse)) as UpdateOrganizationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOrganizationResponse create() => UpdateOrganizationResponse._(); - UpdateOrganizationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOrganizationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOrganizationResponse? _defaultInstance; - - @$pb.TagNumber(1) - Organization get organization => $_getN(0); - @$pb.TagNumber(1) - set organization(Organization v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOrganization() => $_has(0); - @$pb.TagNumber(1) - void clearOrganization() => clearField(1); - @$pb.TagNumber(1) - Organization ensureOrganization() => $_ensure(0); -} - -class DeleteOrganizationRequest extends $pb.GeneratedMessage { - factory DeleteOrganizationRequest({ - $core.String? organizationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - DeleteOrganizationRequest._() : super(); - factory DeleteOrganizationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOrganizationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOrganizationRequest clone() => DeleteOrganizationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOrganizationRequest copyWith(void Function(DeleteOrganizationRequest) updates) => super.copyWith((message) => updates(message as DeleteOrganizationRequest)) as DeleteOrganizationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOrganizationRequest create() => DeleteOrganizationRequest._(); - DeleteOrganizationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOrganizationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOrganizationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); -} - -class DeleteOrganizationResponse extends $pb.GeneratedMessage { - factory DeleteOrganizationResponse() => create(); - DeleteOrganizationResponse._() : super(); - factory DeleteOrganizationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOrganizationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOrganizationResponse clone() => DeleteOrganizationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOrganizationResponse copyWith(void Function(DeleteOrganizationResponse) updates) => super.copyWith((message) => updates(message as DeleteOrganizationResponse)) as DeleteOrganizationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOrganizationResponse create() => DeleteOrganizationResponse._(); - DeleteOrganizationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOrganizationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOrganizationResponse? _defaultInstance; -} - -class GetOrganizationMetadataRequest extends $pb.GeneratedMessage { - factory GetOrganizationMetadataRequest({ - $core.String? organizationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - GetOrganizationMetadataRequest._() : super(); - factory GetOrganizationMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationMetadataRequest clone() => GetOrganizationMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationMetadataRequest copyWith(void Function(GetOrganizationMetadataRequest) updates) => super.copyWith((message) => updates(message as GetOrganizationMetadataRequest)) as GetOrganizationMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationMetadataRequest create() => GetOrganizationMetadataRequest._(); - GetOrganizationMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); -} - -class GetOrganizationMetadataResponse extends $pb.GeneratedMessage { - factory GetOrganizationMetadataResponse({ - $46.Struct? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - GetOrganizationMetadataResponse._() : super(); - factory GetOrganizationMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$46.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationMetadataResponse clone() => GetOrganizationMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationMetadataResponse copyWith(void Function(GetOrganizationMetadataResponse) updates) => super.copyWith((message) => updates(message as GetOrganizationMetadataResponse)) as GetOrganizationMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationMetadataResponse create() => GetOrganizationMetadataResponse._(); - GetOrganizationMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationMetadataResponse? _defaultInstance; - - @$pb.TagNumber(1) - $46.Struct get data => $_getN(0); - @$pb.TagNumber(1) - set data($46.Struct v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); - @$pb.TagNumber(1) - $46.Struct ensureData() => $_ensure(0); -} - -class UpdateOrganizationMetadataRequest extends $pb.GeneratedMessage { - factory UpdateOrganizationMetadataRequest({ - $core.String? organizationId, - $46.Struct? data, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (data != null) { - $result.data = data; - } - return $result; - } - UpdateOrganizationMetadataRequest._() : super(); - factory UpdateOrganizationMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOrganizationMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOrganizationMetadataRequest clone() => UpdateOrganizationMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOrganizationMetadataRequest copyWith(void Function(UpdateOrganizationMetadataRequest) updates) => super.copyWith((message) => updates(message as UpdateOrganizationMetadataRequest)) as UpdateOrganizationMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOrganizationMetadataRequest create() => UpdateOrganizationMetadataRequest._(); - UpdateOrganizationMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOrganizationMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOrganizationMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $46.Struct get data => $_getN(1); - @$pb.TagNumber(2) - set data($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureData() => $_ensure(1); -} - -class UpdateOrganizationMetadataResponse extends $pb.GeneratedMessage { - factory UpdateOrganizationMetadataResponse() => create(); - UpdateOrganizationMetadataResponse._() : super(); - factory UpdateOrganizationMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOrganizationMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOrganizationMetadataResponse clone() => UpdateOrganizationMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOrganizationMetadataResponse copyWith(void Function(UpdateOrganizationMetadataResponse) updates) => super.copyWith((message) => updates(message as UpdateOrganizationMetadataResponse)) as UpdateOrganizationMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOrganizationMetadataResponse create() => UpdateOrganizationMetadataResponse._(); - UpdateOrganizationMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOrganizationMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOrganizationMetadataResponse? _defaultInstance; -} - -class ListOrganizationMembersRequest extends $pb.GeneratedMessage { - factory ListOrganizationMembersRequest({ - $core.String? organizationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - ListOrganizationMembersRequest._() : super(); - factory ListOrganizationMembersRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOrganizationMembersRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganizationMembersRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOrganizationMembersRequest clone() => ListOrganizationMembersRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOrganizationMembersRequest copyWith(void Function(ListOrganizationMembersRequest) updates) => super.copyWith((message) => updates(message as ListOrganizationMembersRequest)) as ListOrganizationMembersRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOrganizationMembersRequest create() => ListOrganizationMembersRequest._(); - ListOrganizationMembersRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOrganizationMembersRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOrganizationMembersRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); -} - -class ListOrganizationMembersResponse extends $pb.GeneratedMessage { - factory ListOrganizationMembersResponse({ - $core.String? organizationId, - $core.Iterable? members, - $core.Iterable? invites, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (members != null) { - $result.members.addAll(members); - } - if (invites != null) { - $result.invites.addAll(invites); - } - return $result; - } - ListOrganizationMembersResponse._() : super(); - factory ListOrganizationMembersResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOrganizationMembersResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganizationMembersResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..pc(2, _omitFieldNames ? '' : 'members', $pb.PbFieldType.PM, subBuilder: OrganizationMember.create) - ..pc(3, _omitFieldNames ? '' : 'invites', $pb.PbFieldType.PM, subBuilder: OrganizationInvite.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOrganizationMembersResponse clone() => ListOrganizationMembersResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOrganizationMembersResponse copyWith(void Function(ListOrganizationMembersResponse) updates) => super.copyWith((message) => updates(message as ListOrganizationMembersResponse)) as ListOrganizationMembersResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOrganizationMembersResponse create() => ListOrganizationMembersResponse._(); - ListOrganizationMembersResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOrganizationMembersResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOrganizationMembersResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.List get members => $_getList(1); - - @$pb.TagNumber(3) - $core.List get invites => $_getList(2); -} - -class CreateOrganizationInviteRequest extends $pb.GeneratedMessage { - factory CreateOrganizationInviteRequest({ - $core.String? organizationId, - $core.String? email, - $core.Iterable? authorizations, - $core.bool? sendEmailInvite, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (email != null) { - $result.email = email; - } - if (authorizations != null) { - $result.authorizations.addAll(authorizations); - } - if (sendEmailInvite != null) { - $result.sendEmailInvite = sendEmailInvite; - } - return $result; - } - CreateOrganizationInviteRequest._() : super(); - factory CreateOrganizationInviteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateOrganizationInviteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationInviteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'email') - ..pc(3, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) - ..aOB(4, _omitFieldNames ? '' : 'sendEmailInvite') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateOrganizationInviteRequest clone() => CreateOrganizationInviteRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateOrganizationInviteRequest copyWith(void Function(CreateOrganizationInviteRequest) updates) => super.copyWith((message) => updates(message as CreateOrganizationInviteRequest)) as CreateOrganizationInviteRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateOrganizationInviteRequest create() => CreateOrganizationInviteRequest._(); - CreateOrganizationInviteRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateOrganizationInviteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateOrganizationInviteRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get email => $_getSZ(1); - @$pb.TagNumber(2) - set email($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEmail() => $_has(1); - @$pb.TagNumber(2) - void clearEmail() => clearField(2); - - @$pb.TagNumber(3) - $core.List get authorizations => $_getList(2); - - /// Set to true (the default) to send an email to the recipient of an invite. The user must accept the email to be added to the associated authorizations. - /// When set to false, the user automatically receives the associated authorization on the next login of the user with the associated email address. - @$pb.TagNumber(4) - $core.bool get sendEmailInvite => $_getBF(3); - @$pb.TagNumber(4) - set sendEmailInvite($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasSendEmailInvite() => $_has(3); - @$pb.TagNumber(4) - void clearSendEmailInvite() => clearField(4); -} - -class CreateOrganizationInviteResponse extends $pb.GeneratedMessage { - factory CreateOrganizationInviteResponse({ - OrganizationInvite? invite, - }) { - final $result = create(); - if (invite != null) { - $result.invite = invite; - } - return $result; - } - CreateOrganizationInviteResponse._() : super(); - factory CreateOrganizationInviteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateOrganizationInviteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOrganizationInviteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'invite', subBuilder: OrganizationInvite.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateOrganizationInviteResponse clone() => CreateOrganizationInviteResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateOrganizationInviteResponse copyWith(void Function(CreateOrganizationInviteResponse) updates) => super.copyWith((message) => updates(message as CreateOrganizationInviteResponse)) as CreateOrganizationInviteResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateOrganizationInviteResponse create() => CreateOrganizationInviteResponse._(); - CreateOrganizationInviteResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateOrganizationInviteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateOrganizationInviteResponse? _defaultInstance; - - @$pb.TagNumber(1) - OrganizationInvite get invite => $_getN(0); - @$pb.TagNumber(1) - set invite(OrganizationInvite v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasInvite() => $_has(0); - @$pb.TagNumber(1) - void clearInvite() => clearField(1); - @$pb.TagNumber(1) - OrganizationInvite ensureInvite() => $_ensure(0); -} - -class UpdateOrganizationInviteAuthorizationsRequest extends $pb.GeneratedMessage { - factory UpdateOrganizationInviteAuthorizationsRequest({ - $core.String? organizationId, - $core.String? email, - $core.Iterable? addAuthorizations, - $core.Iterable? removeAuthorizations, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (email != null) { - $result.email = email; - } - if (addAuthorizations != null) { - $result.addAuthorizations.addAll(addAuthorizations); - } - if (removeAuthorizations != null) { - $result.removeAuthorizations.addAll(removeAuthorizations); - } - return $result; - } - UpdateOrganizationInviteAuthorizationsRequest._() : super(); - factory UpdateOrganizationInviteAuthorizationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOrganizationInviteAuthorizationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationInviteAuthorizationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'email') - ..pc(3, _omitFieldNames ? '' : 'addAuthorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) - ..pc(4, _omitFieldNames ? '' : 'removeAuthorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOrganizationInviteAuthorizationsRequest clone() => UpdateOrganizationInviteAuthorizationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOrganizationInviteAuthorizationsRequest copyWith(void Function(UpdateOrganizationInviteAuthorizationsRequest) updates) => super.copyWith((message) => updates(message as UpdateOrganizationInviteAuthorizationsRequest)) as UpdateOrganizationInviteAuthorizationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOrganizationInviteAuthorizationsRequest create() => UpdateOrganizationInviteAuthorizationsRequest._(); - UpdateOrganizationInviteAuthorizationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOrganizationInviteAuthorizationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOrganizationInviteAuthorizationsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get email => $_getSZ(1); - @$pb.TagNumber(2) - set email($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEmail() => $_has(1); - @$pb.TagNumber(2) - void clearEmail() => clearField(2); - - @$pb.TagNumber(3) - $core.List get addAuthorizations => $_getList(2); - - @$pb.TagNumber(4) - $core.List get removeAuthorizations => $_getList(3); -} - -class UpdateOrganizationInviteAuthorizationsResponse extends $pb.GeneratedMessage { - factory UpdateOrganizationInviteAuthorizationsResponse({ - OrganizationInvite? invite, - }) { - final $result = create(); - if (invite != null) { - $result.invite = invite; - } - return $result; - } - UpdateOrganizationInviteAuthorizationsResponse._() : super(); - factory UpdateOrganizationInviteAuthorizationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOrganizationInviteAuthorizationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOrganizationInviteAuthorizationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'invite', subBuilder: OrganizationInvite.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOrganizationInviteAuthorizationsResponse clone() => UpdateOrganizationInviteAuthorizationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOrganizationInviteAuthorizationsResponse copyWith(void Function(UpdateOrganizationInviteAuthorizationsResponse) updates) => super.copyWith((message) => updates(message as UpdateOrganizationInviteAuthorizationsResponse)) as UpdateOrganizationInviteAuthorizationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOrganizationInviteAuthorizationsResponse create() => UpdateOrganizationInviteAuthorizationsResponse._(); - UpdateOrganizationInviteAuthorizationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOrganizationInviteAuthorizationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOrganizationInviteAuthorizationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - OrganizationInvite get invite => $_getN(0); - @$pb.TagNumber(1) - set invite(OrganizationInvite v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasInvite() => $_has(0); - @$pb.TagNumber(1) - void clearInvite() => clearField(1); - @$pb.TagNumber(1) - OrganizationInvite ensureInvite() => $_ensure(0); -} - -class DeleteOrganizationInviteRequest extends $pb.GeneratedMessage { - factory DeleteOrganizationInviteRequest({ - $core.String? organizationId, - $core.String? email, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (email != null) { - $result.email = email; - } - return $result; - } - DeleteOrganizationInviteRequest._() : super(); - factory DeleteOrganizationInviteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOrganizationInviteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationInviteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'email') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOrganizationInviteRequest clone() => DeleteOrganizationInviteRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOrganizationInviteRequest copyWith(void Function(DeleteOrganizationInviteRequest) updates) => super.copyWith((message) => updates(message as DeleteOrganizationInviteRequest)) as DeleteOrganizationInviteRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOrganizationInviteRequest create() => DeleteOrganizationInviteRequest._(); - DeleteOrganizationInviteRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOrganizationInviteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOrganizationInviteRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get email => $_getSZ(1); - @$pb.TagNumber(2) - set email($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEmail() => $_has(1); - @$pb.TagNumber(2) - void clearEmail() => clearField(2); -} - -class DeleteOrganizationInviteResponse extends $pb.GeneratedMessage { - factory DeleteOrganizationInviteResponse() => create(); - DeleteOrganizationInviteResponse._() : super(); - factory DeleteOrganizationInviteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOrganizationInviteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationInviteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOrganizationInviteResponse clone() => DeleteOrganizationInviteResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOrganizationInviteResponse copyWith(void Function(DeleteOrganizationInviteResponse) updates) => super.copyWith((message) => updates(message as DeleteOrganizationInviteResponse)) as DeleteOrganizationInviteResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOrganizationInviteResponse create() => DeleteOrganizationInviteResponse._(); - DeleteOrganizationInviteResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOrganizationInviteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOrganizationInviteResponse? _defaultInstance; -} - -class ResendOrganizationInviteRequest extends $pb.GeneratedMessage { - factory ResendOrganizationInviteRequest({ - $core.String? organizationId, - $core.String? email, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (email != null) { - $result.email = email; - } - return $result; - } - ResendOrganizationInviteRequest._() : super(); - factory ResendOrganizationInviteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResendOrganizationInviteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResendOrganizationInviteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'email') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResendOrganizationInviteRequest clone() => ResendOrganizationInviteRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResendOrganizationInviteRequest copyWith(void Function(ResendOrganizationInviteRequest) updates) => super.copyWith((message) => updates(message as ResendOrganizationInviteRequest)) as ResendOrganizationInviteRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResendOrganizationInviteRequest create() => ResendOrganizationInviteRequest._(); - ResendOrganizationInviteRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResendOrganizationInviteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResendOrganizationInviteRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get email => $_getSZ(1); - @$pb.TagNumber(2) - set email($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEmail() => $_has(1); - @$pb.TagNumber(2) - void clearEmail() => clearField(2); -} - -class ResendOrganizationInviteResponse extends $pb.GeneratedMessage { - factory ResendOrganizationInviteResponse({ - OrganizationInvite? invite, - }) { - final $result = create(); - if (invite != null) { - $result.invite = invite; - } - return $result; - } - ResendOrganizationInviteResponse._() : super(); - factory ResendOrganizationInviteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResendOrganizationInviteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResendOrganizationInviteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'invite', subBuilder: OrganizationInvite.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResendOrganizationInviteResponse clone() => ResendOrganizationInviteResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResendOrganizationInviteResponse copyWith(void Function(ResendOrganizationInviteResponse) updates) => super.copyWith((message) => updates(message as ResendOrganizationInviteResponse)) as ResendOrganizationInviteResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResendOrganizationInviteResponse create() => ResendOrganizationInviteResponse._(); - ResendOrganizationInviteResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResendOrganizationInviteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResendOrganizationInviteResponse? _defaultInstance; - - @$pb.TagNumber(1) - OrganizationInvite get invite => $_getN(0); - @$pb.TagNumber(1) - set invite(OrganizationInvite v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasInvite() => $_has(0); - @$pb.TagNumber(1) - void clearInvite() => clearField(1); - @$pb.TagNumber(1) - OrganizationInvite ensureInvite() => $_ensure(0); -} - -class DeleteOrganizationMemberRequest extends $pb.GeneratedMessage { - factory DeleteOrganizationMemberRequest({ - $core.String? organizationId, - $core.String? userId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (userId != null) { - $result.userId = userId; - } - return $result; - } - DeleteOrganizationMemberRequest._() : super(); - factory DeleteOrganizationMemberRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOrganizationMemberRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationMemberRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'userId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOrganizationMemberRequest clone() => DeleteOrganizationMemberRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOrganizationMemberRequest copyWith(void Function(DeleteOrganizationMemberRequest) updates) => super.copyWith((message) => updates(message as DeleteOrganizationMemberRequest)) as DeleteOrganizationMemberRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOrganizationMemberRequest create() => DeleteOrganizationMemberRequest._(); - DeleteOrganizationMemberRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOrganizationMemberRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOrganizationMemberRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get userId => $_getSZ(1); - @$pb.TagNumber(2) - set userId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasUserId() => $_has(1); - @$pb.TagNumber(2) - void clearUserId() => clearField(2); -} - -class DeleteOrganizationMemberResponse extends $pb.GeneratedMessage { - factory DeleteOrganizationMemberResponse() => create(); - DeleteOrganizationMemberResponse._() : super(); - factory DeleteOrganizationMemberResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOrganizationMemberResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOrganizationMemberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOrganizationMemberResponse clone() => DeleteOrganizationMemberResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOrganizationMemberResponse copyWith(void Function(DeleteOrganizationMemberResponse) updates) => super.copyWith((message) => updates(message as DeleteOrganizationMemberResponse)) as DeleteOrganizationMemberResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOrganizationMemberResponse create() => DeleteOrganizationMemberResponse._(); - DeleteOrganizationMemberResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOrganizationMemberResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOrganizationMemberResponse? _defaultInstance; -} - -class BillingAddress extends $pb.GeneratedMessage { - factory BillingAddress({ - $core.String? addressLine1, - $core.String? addressLine2, - $core.String? city, - $core.String? state, - $core.String? zipcode, - $core.String? country, - }) { - final $result = create(); - if (addressLine1 != null) { - $result.addressLine1 = addressLine1; - } - if (addressLine2 != null) { - $result.addressLine2 = addressLine2; - } - if (city != null) { - $result.city = city; - } - if (state != null) { - $result.state = state; - } - if (zipcode != null) { - $result.zipcode = zipcode; - } - if (country != null) { - $result.country = country; - } - return $result; - } - BillingAddress._() : super(); - factory BillingAddress.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BillingAddress.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BillingAddress', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'addressLine1', protoName: 'address_line_1') - ..aOS(2, _omitFieldNames ? '' : 'addressLine2', protoName: 'address_line_2') - ..aOS(3, _omitFieldNames ? '' : 'city') - ..aOS(4, _omitFieldNames ? '' : 'state') - ..aOS(5, _omitFieldNames ? '' : 'zipcode') - ..aOS(6, _omitFieldNames ? '' : 'country') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BillingAddress clone() => BillingAddress()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BillingAddress copyWith(void Function(BillingAddress) updates) => super.copyWith((message) => updates(message as BillingAddress)) as BillingAddress; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BillingAddress create() => BillingAddress._(); - BillingAddress createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BillingAddress getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BillingAddress? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get addressLine1 => $_getSZ(0); - @$pb.TagNumber(1) - set addressLine1($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasAddressLine1() => $_has(0); - @$pb.TagNumber(1) - void clearAddressLine1() => clearField(1); - - @$pb.TagNumber(2) - $core.String get addressLine2 => $_getSZ(1); - @$pb.TagNumber(2) - set addressLine2($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasAddressLine2() => $_has(1); - @$pb.TagNumber(2) - void clearAddressLine2() => clearField(2); - - @$pb.TagNumber(3) - $core.String get city => $_getSZ(2); - @$pb.TagNumber(3) - set city($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasCity() => $_has(2); - @$pb.TagNumber(3) - void clearCity() => clearField(3); - - @$pb.TagNumber(4) - $core.String get state => $_getSZ(3); - @$pb.TagNumber(4) - set state($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasState() => $_has(3); - @$pb.TagNumber(4) - void clearState() => clearField(4); - - @$pb.TagNumber(5) - $core.String get zipcode => $_getSZ(4); - @$pb.TagNumber(5) - set zipcode($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasZipcode() => $_has(4); - @$pb.TagNumber(5) - void clearZipcode() => clearField(5); - - @$pb.TagNumber(6) - $core.String get country => $_getSZ(5); - @$pb.TagNumber(6) - set country($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasCountry() => $_has(5); - @$pb.TagNumber(6) - void clearCountry() => clearField(6); -} - -class EnableBillingServiceRequest extends $pb.GeneratedMessage { - factory EnableBillingServiceRequest({ - $core.String? orgId, - BillingAddress? billingAddress, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (billingAddress != null) { - $result.billingAddress = billingAddress; - } - return $result; - } - EnableBillingServiceRequest._() : super(); - factory EnableBillingServiceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnableBillingServiceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnableBillingServiceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOM(2, _omitFieldNames ? '' : 'billingAddress', subBuilder: BillingAddress.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnableBillingServiceRequest clone() => EnableBillingServiceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnableBillingServiceRequest copyWith(void Function(EnableBillingServiceRequest) updates) => super.copyWith((message) => updates(message as EnableBillingServiceRequest)) as EnableBillingServiceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnableBillingServiceRequest create() => EnableBillingServiceRequest._(); - EnableBillingServiceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnableBillingServiceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnableBillingServiceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - BillingAddress get billingAddress => $_getN(1); - @$pb.TagNumber(2) - set billingAddress(BillingAddress v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasBillingAddress() => $_has(1); - @$pb.TagNumber(2) - void clearBillingAddress() => clearField(2); - @$pb.TagNumber(2) - BillingAddress ensureBillingAddress() => $_ensure(1); -} - -class EnableBillingServiceResponse extends $pb.GeneratedMessage { - factory EnableBillingServiceResponse() => create(); - EnableBillingServiceResponse._() : super(); - factory EnableBillingServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnableBillingServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnableBillingServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnableBillingServiceResponse clone() => EnableBillingServiceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnableBillingServiceResponse copyWith(void Function(EnableBillingServiceResponse) updates) => super.copyWith((message) => updates(message as EnableBillingServiceResponse)) as EnableBillingServiceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnableBillingServiceResponse create() => EnableBillingServiceResponse._(); - EnableBillingServiceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnableBillingServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnableBillingServiceResponse? _defaultInstance; -} - -class UpdateBillingServiceRequest extends $pb.GeneratedMessage { - factory UpdateBillingServiceRequest({ - $core.String? orgId, - BillingAddress? billingAddress, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (billingAddress != null) { - $result.billingAddress = billingAddress; - } - return $result; - } - UpdateBillingServiceRequest._() : super(); - factory UpdateBillingServiceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateBillingServiceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBillingServiceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOM(2, _omitFieldNames ? '' : 'billingAddress', subBuilder: BillingAddress.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateBillingServiceRequest clone() => UpdateBillingServiceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateBillingServiceRequest copyWith(void Function(UpdateBillingServiceRequest) updates) => super.copyWith((message) => updates(message as UpdateBillingServiceRequest)) as UpdateBillingServiceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateBillingServiceRequest create() => UpdateBillingServiceRequest._(); - UpdateBillingServiceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateBillingServiceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateBillingServiceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - BillingAddress get billingAddress => $_getN(1); - @$pb.TagNumber(2) - set billingAddress(BillingAddress v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasBillingAddress() => $_has(1); - @$pb.TagNumber(2) - void clearBillingAddress() => clearField(2); - @$pb.TagNumber(2) - BillingAddress ensureBillingAddress() => $_ensure(1); -} - -class UpdateBillingServiceResponse extends $pb.GeneratedMessage { - factory UpdateBillingServiceResponse() => create(); - UpdateBillingServiceResponse._() : super(); - factory UpdateBillingServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateBillingServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateBillingServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateBillingServiceResponse clone() => UpdateBillingServiceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateBillingServiceResponse copyWith(void Function(UpdateBillingServiceResponse) updates) => super.copyWith((message) => updates(message as UpdateBillingServiceResponse)) as UpdateBillingServiceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateBillingServiceResponse create() => UpdateBillingServiceResponse._(); - UpdateBillingServiceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateBillingServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateBillingServiceResponse? _defaultInstance; -} - -class GetBillingServiceConfigRequest extends $pb.GeneratedMessage { - factory GetBillingServiceConfigRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - GetBillingServiceConfigRequest._() : super(); - factory GetBillingServiceConfigRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetBillingServiceConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBillingServiceConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBillingServiceConfigRequest clone() => GetBillingServiceConfigRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBillingServiceConfigRequest copyWith(void Function(GetBillingServiceConfigRequest) updates) => super.copyWith((message) => updates(message as GetBillingServiceConfigRequest)) as GetBillingServiceConfigRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetBillingServiceConfigRequest create() => GetBillingServiceConfigRequest._(); - GetBillingServiceConfigRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetBillingServiceConfigRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetBillingServiceConfigRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class GetBillingServiceConfigResponse extends $pb.GeneratedMessage { - factory GetBillingServiceConfigResponse({ - BillingAddress? billingAddress, - $core.String? supportEmail, - $core.String? logoUrl, - $core.String? billingDashboardUrl, - }) { - final $result = create(); - if (billingAddress != null) { - $result.billingAddress = billingAddress; - } - if (supportEmail != null) { - $result.supportEmail = supportEmail; - } - if (logoUrl != null) { - $result.logoUrl = logoUrl; - } - if (billingDashboardUrl != null) { - $result.billingDashboardUrl = billingDashboardUrl; - } - return $result; - } - GetBillingServiceConfigResponse._() : super(); - factory GetBillingServiceConfigResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetBillingServiceConfigResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBillingServiceConfigResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'billingAddress', subBuilder: BillingAddress.create) - ..aOS(2, _omitFieldNames ? '' : 'supportEmail') - ..aOS(3, _omitFieldNames ? '' : 'logoUrl') - ..aOS(4, _omitFieldNames ? '' : 'billingDashboardUrl') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetBillingServiceConfigResponse clone() => GetBillingServiceConfigResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetBillingServiceConfigResponse copyWith(void Function(GetBillingServiceConfigResponse) updates) => super.copyWith((message) => updates(message as GetBillingServiceConfigResponse)) as GetBillingServiceConfigResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetBillingServiceConfigResponse create() => GetBillingServiceConfigResponse._(); - GetBillingServiceConfigResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetBillingServiceConfigResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetBillingServiceConfigResponse? _defaultInstance; - - @$pb.TagNumber(1) - BillingAddress get billingAddress => $_getN(0); - @$pb.TagNumber(1) - set billingAddress(BillingAddress v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasBillingAddress() => $_has(0); - @$pb.TagNumber(1) - void clearBillingAddress() => clearField(1); - @$pb.TagNumber(1) - BillingAddress ensureBillingAddress() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get supportEmail => $_getSZ(1); - @$pb.TagNumber(2) - set supportEmail($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSupportEmail() => $_has(1); - @$pb.TagNumber(2) - void clearSupportEmail() => clearField(2); - - @$pb.TagNumber(3) - $core.String get logoUrl => $_getSZ(2); - @$pb.TagNumber(3) - set logoUrl($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLogoUrl() => $_has(2); - @$pb.TagNumber(3) - void clearLogoUrl() => clearField(3); - - @$pb.TagNumber(4) - $core.String get billingDashboardUrl => $_getSZ(3); - @$pb.TagNumber(4) - set billingDashboardUrl($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasBillingDashboardUrl() => $_has(3); - @$pb.TagNumber(4) - void clearBillingDashboardUrl() => clearField(4); -} - -class DisableBillingServiceRequest extends $pb.GeneratedMessage { - factory DisableBillingServiceRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - DisableBillingServiceRequest._() : super(); - factory DisableBillingServiceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DisableBillingServiceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisableBillingServiceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DisableBillingServiceRequest clone() => DisableBillingServiceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DisableBillingServiceRequest copyWith(void Function(DisableBillingServiceRequest) updates) => super.copyWith((message) => updates(message as DisableBillingServiceRequest)) as DisableBillingServiceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DisableBillingServiceRequest create() => DisableBillingServiceRequest._(); - DisableBillingServiceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DisableBillingServiceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DisableBillingServiceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class DisableBillingServiceResponse extends $pb.GeneratedMessage { - factory DisableBillingServiceResponse() => create(); - DisableBillingServiceResponse._() : super(); - factory DisableBillingServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DisableBillingServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisableBillingServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DisableBillingServiceResponse clone() => DisableBillingServiceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DisableBillingServiceResponse copyWith(void Function(DisableBillingServiceResponse) updates) => super.copyWith((message) => updates(message as DisableBillingServiceResponse)) as DisableBillingServiceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DisableBillingServiceResponse create() => DisableBillingServiceResponse._(); - DisableBillingServiceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DisableBillingServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DisableBillingServiceResponse? _defaultInstance; -} - -class OrganizationSetSupportEmailRequest extends $pb.GeneratedMessage { - factory OrganizationSetSupportEmailRequest({ - $core.String? orgId, - $core.String? email, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (email != null) { - $result.email = email; - } - return $result; - } - OrganizationSetSupportEmailRequest._() : super(); - factory OrganizationSetSupportEmailRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationSetSupportEmailRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationSetSupportEmailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'email') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationSetSupportEmailRequest clone() => OrganizationSetSupportEmailRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationSetSupportEmailRequest copyWith(void Function(OrganizationSetSupportEmailRequest) updates) => super.copyWith((message) => updates(message as OrganizationSetSupportEmailRequest)) as OrganizationSetSupportEmailRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationSetSupportEmailRequest create() => OrganizationSetSupportEmailRequest._(); - OrganizationSetSupportEmailRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationSetSupportEmailRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationSetSupportEmailRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get email => $_getSZ(1); - @$pb.TagNumber(2) - set email($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEmail() => $_has(1); - @$pb.TagNumber(2) - void clearEmail() => clearField(2); -} - -class OrganizationSetSupportEmailResponse extends $pb.GeneratedMessage { - factory OrganizationSetSupportEmailResponse() => create(); - OrganizationSetSupportEmailResponse._() : super(); - factory OrganizationSetSupportEmailResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationSetSupportEmailResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationSetSupportEmailResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationSetSupportEmailResponse clone() => OrganizationSetSupportEmailResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationSetSupportEmailResponse copyWith(void Function(OrganizationSetSupportEmailResponse) updates) => super.copyWith((message) => updates(message as OrganizationSetSupportEmailResponse)) as OrganizationSetSupportEmailResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationSetSupportEmailResponse create() => OrganizationSetSupportEmailResponse._(); - OrganizationSetSupportEmailResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationSetSupportEmailResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationSetSupportEmailResponse? _defaultInstance; -} - -class OrganizationGetSupportEmailRequest extends $pb.GeneratedMessage { - factory OrganizationGetSupportEmailRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - OrganizationGetSupportEmailRequest._() : super(); - factory OrganizationGetSupportEmailRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationGetSupportEmailRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationGetSupportEmailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationGetSupportEmailRequest clone() => OrganizationGetSupportEmailRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationGetSupportEmailRequest copyWith(void Function(OrganizationGetSupportEmailRequest) updates) => super.copyWith((message) => updates(message as OrganizationGetSupportEmailRequest)) as OrganizationGetSupportEmailRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationGetSupportEmailRequest create() => OrganizationGetSupportEmailRequest._(); - OrganizationGetSupportEmailRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationGetSupportEmailRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationGetSupportEmailRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class OrganizationGetSupportEmailResponse extends $pb.GeneratedMessage { - factory OrganizationGetSupportEmailResponse({ - $core.String? email, - }) { - final $result = create(); - if (email != null) { - $result.email = email; - } - return $result; - } - OrganizationGetSupportEmailResponse._() : super(); - factory OrganizationGetSupportEmailResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationGetSupportEmailResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationGetSupportEmailResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'email') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationGetSupportEmailResponse clone() => OrganizationGetSupportEmailResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationGetSupportEmailResponse copyWith(void Function(OrganizationGetSupportEmailResponse) updates) => super.copyWith((message) => updates(message as OrganizationGetSupportEmailResponse)) as OrganizationGetSupportEmailResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationGetSupportEmailResponse create() => OrganizationGetSupportEmailResponse._(); - OrganizationGetSupportEmailResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationGetSupportEmailResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationGetSupportEmailResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get email => $_getSZ(0); - @$pb.TagNumber(1) - set email($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasEmail() => $_has(0); - @$pb.TagNumber(1) - void clearEmail() => clearField(1); -} - -/// Used for rendering an organization's information on the frontend (limited -/// to id, name, or both). -class OrganizationIdentity extends $pb.GeneratedMessage { - factory OrganizationIdentity({ - $core.String? id, - $core.String? name, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - return $result; - } - OrganizationIdentity._() : super(); - factory OrganizationIdentity.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationIdentity.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationIdentity', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationIdentity clone() => OrganizationIdentity()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationIdentity copyWith(void Function(OrganizationIdentity) updates) => super.copyWith((message) => updates(message as OrganizationIdentity)) as OrganizationIdentity; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationIdentity create() => OrganizationIdentity._(); - OrganizationIdentity createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationIdentity getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationIdentity? _defaultInstance; - - /// Organization ID. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// Organization name. - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); -} - -class LocationOrganization extends $pb.GeneratedMessage { - factory LocationOrganization({ - $core.String? organizationId, - $core.bool? primary, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (primary != null) { - $result.primary = primary; - } - return $result; - } - LocationOrganization._() : super(); - factory LocationOrganization.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LocationOrganization.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocationOrganization', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOB(2, _omitFieldNames ? '' : 'primary') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LocationOrganization clone() => LocationOrganization()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LocationOrganization copyWith(void Function(LocationOrganization) updates) => super.copyWith((message) => updates(message as LocationOrganization)) as LocationOrganization; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LocationOrganization create() => LocationOrganization._(); - LocationOrganization createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LocationOrganization getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LocationOrganization? _defaultInstance; - - /// Organization ID the location is shared with. - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - /// Whether the organization is the primary owner or not. - @$pb.TagNumber(2) - $core.bool get primary => $_getBF(1); - @$pb.TagNumber(2) - set primary($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasPrimary() => $_has(1); - @$pb.TagNumber(2) - void clearPrimary() => clearField(2); -} - -class LocationAuth extends $pb.GeneratedMessage { - factory LocationAuth({ - @$core.Deprecated('This field is deprecated.') - $core.String? secret, - $core.String? locationId, - $core.Iterable? secrets, - }) { - final $result = create(); - if (secret != null) { - // ignore: deprecated_member_use_from_same_package - $result.secret = secret; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (secrets != null) { - $result.secrets.addAll(secrets); - } - return $result; - } - LocationAuth._() : super(); - factory LocationAuth.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LocationAuth.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocationAuth', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'secret') - ..aOS(2, _omitFieldNames ? '' : 'locationId') - ..pc(3, _omitFieldNames ? '' : 'secrets', $pb.PbFieldType.PM, subBuilder: SharedSecret.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LocationAuth clone() => LocationAuth()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LocationAuth copyWith(void Function(LocationAuth) updates) => super.copyWith((message) => updates(message as LocationAuth)) as LocationAuth; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LocationAuth create() => LocationAuth._(); - LocationAuth createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LocationAuth getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LocationAuth? _defaultInstance; - - /// Deprecated: use secrets field. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.String get secret => $_getSZ(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - set secret($core.String v) { $_setString(0, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.bool hasSecret() => $_has(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - void clearSecret() => clearField(1); - - /// Location ID containing this LocationAuth. - @$pb.TagNumber(2) - $core.String get locationId => $_getSZ(1); - @$pb.TagNumber(2) - set locationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLocationId() => $_has(1); - @$pb.TagNumber(2) - void clearLocationId() => clearField(2); - - /// List of secrets used to authenticate to the Location. - @$pb.TagNumber(3) - $core.List get secrets => $_getList(2); -} - -class StorageConfig extends $pb.GeneratedMessage { - factory StorageConfig({ - $core.String? region, - }) { - final $result = create(); - if (region != null) { - $result.region = region; - } - return $result; - } - StorageConfig._() : super(); - factory StorageConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StorageConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StorageConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'region') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StorageConfig clone() => StorageConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StorageConfig copyWith(void Function(StorageConfig) updates) => super.copyWith((message) => updates(message as StorageConfig)) as StorageConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StorageConfig create() => StorageConfig._(); - StorageConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StorageConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StorageConfig? _defaultInstance; - - /// GCS region that data is stored in. - @$pb.TagNumber(1) - $core.String get region => $_getSZ(0); - @$pb.TagNumber(1) - set region($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRegion() => $_has(0); - @$pb.TagNumber(1) - void clearRegion() => clearField(1); -} - -class Location extends $pb.GeneratedMessage { - factory Location({ - $core.String? id, - $core.String? name, - $47.Timestamp? createdOn, - $core.String? parentLocationId, - LocationAuth? auth, - $core.Iterable? organizations, - $core.int? robotCount, - StorageConfig? config, - OrganizationIdentity? primaryOrgIdentity, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (parentLocationId != null) { - $result.parentLocationId = parentLocationId; - } - if (auth != null) { - $result.auth = auth; - } - if (organizations != null) { - $result.organizations.addAll(organizations); - } - if (robotCount != null) { - $result.robotCount = robotCount; - } - if (config != null) { - $result.config = config; - } - if (primaryOrgIdentity != null) { - $result.primaryOrgIdentity = primaryOrgIdentity; - } - return $result; - } - Location._() : super(); - factory Location.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Location.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Location', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..aOS(4, _omitFieldNames ? '' : 'parentLocationId') - ..aOM(5, _omitFieldNames ? '' : 'auth', subBuilder: LocationAuth.create) - ..pc(6, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: LocationOrganization.create) - ..a<$core.int>(7, _omitFieldNames ? '' : 'robotCount', $pb.PbFieldType.O3) - ..aOM(8, _omitFieldNames ? '' : 'config', subBuilder: StorageConfig.create) - ..aOM(9, _omitFieldNames ? '' : 'primaryOrgIdentity', subBuilder: OrganizationIdentity.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Location clone() => Location()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Location copyWith(void Function(Location) updates) => super.copyWith((message) => updates(message as Location)) as Location; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Location create() => Location._(); - Location createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Location getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Location? _defaultInstance; - - /// Location ID. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// Location name. - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - /// Location creation timestamp. - @$pb.TagNumber(3) - $47.Timestamp get createdOn => $_getN(2); - @$pb.TagNumber(3) - set createdOn($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasCreatedOn() => $_has(2); - @$pb.TagNumber(3) - void clearCreatedOn() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureCreatedOn() => $_ensure(2); - - /// Location ID of the parent location. - @$pb.TagNumber(4) - $core.String get parentLocationId => $_getSZ(3); - @$pb.TagNumber(4) - set parentLocationId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasParentLocationId() => $_has(3); - @$pb.TagNumber(4) - void clearParentLocationId() => clearField(4); - - /// Location authentication secrets. - @$pb.TagNumber(5) - LocationAuth get auth => $_getN(4); - @$pb.TagNumber(5) - set auth(LocationAuth v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasAuth() => $_has(4); - @$pb.TagNumber(5) - void clearAuth() => clearField(5); - @$pb.TagNumber(5) - LocationAuth ensureAuth() => $_ensure(4); - - /// Organizations that the location is shared with. - @$pb.TagNumber(6) - $core.List get organizations => $_getList(5); - - @$pb.TagNumber(7) - $core.int get robotCount => $_getIZ(6); - @$pb.TagNumber(7) - set robotCount($core.int v) { $_setSignedInt32(6, v); } - @$pb.TagNumber(7) - $core.bool hasRobotCount() => $_has(6); - @$pb.TagNumber(7) - void clearRobotCount() => clearField(7); - - /// Config for how data in this location is stored. - @$pb.TagNumber(8) - StorageConfig get config => $_getN(7); - @$pb.TagNumber(8) - set config(StorageConfig v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasConfig() => $_has(7); - @$pb.TagNumber(8) - void clearConfig() => clearField(8); - @$pb.TagNumber(8) - StorageConfig ensureConfig() => $_ensure(7); - - /// The organization that is the primary owner of the location. - @$pb.TagNumber(9) - OrganizationIdentity get primaryOrgIdentity => $_getN(8); - @$pb.TagNumber(9) - set primaryOrgIdentity(OrganizationIdentity v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasPrimaryOrgIdentity() => $_has(8); - @$pb.TagNumber(9) - void clearPrimaryOrgIdentity() => clearField(9); - @$pb.TagNumber(9) - OrganizationIdentity ensurePrimaryOrgIdentity() => $_ensure(8); -} - -/// SharedSecret is a secret used for LocationAuth and RobotParts. -class SharedSecret extends $pb.GeneratedMessage { - factory SharedSecret({ - $core.String? id, - $core.String? secret, - $47.Timestamp? createdOn, - SharedSecret_State? state, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (secret != null) { - $result.secret = secret; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (state != null) { - $result.state = state; - } - return $result; - } - SharedSecret._() : super(); - factory SharedSecret.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SharedSecret.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SharedSecret', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'secret') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..e(4, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: SharedSecret_State.STATE_UNSPECIFIED, valueOf: SharedSecret_State.valueOf, enumValues: SharedSecret_State.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SharedSecret clone() => SharedSecret()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SharedSecret copyWith(void Function(SharedSecret) updates) => super.copyWith((message) => updates(message as SharedSecret)) as SharedSecret; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SharedSecret create() => SharedSecret._(); - SharedSecret createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SharedSecret getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SharedSecret? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// The payload of the secret. Used during authentication to the rpc framework. - @$pb.TagNumber(2) - $core.String get secret => $_getSZ(1); - @$pb.TagNumber(2) - set secret($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSecret() => $_has(1); - @$pb.TagNumber(2) - void clearSecret() => clearField(2); - - /// Date/time the secret was first created. - @$pb.TagNumber(3) - $47.Timestamp get createdOn => $_getN(2); - @$pb.TagNumber(3) - set createdOn($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasCreatedOn() => $_has(2); - @$pb.TagNumber(3) - void clearCreatedOn() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureCreatedOn() => $_ensure(2); - - /// State of the shared secret. In most cases it should be enabled. We may support - /// disabling a specific secret while keeping it in the database. - @$pb.TagNumber(4) - SharedSecret_State get state => $_getN(3); - @$pb.TagNumber(4) - set state(SharedSecret_State v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasState() => $_has(3); - @$pb.TagNumber(4) - void clearState() => clearField(4); -} - -class CreateLocationRequest extends $pb.GeneratedMessage { - factory CreateLocationRequest({ - $core.String? organizationId, - $core.String? name, - $core.String? parentLocationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (name != null) { - $result.name = name; - } - if (parentLocationId != null) { - $result.parentLocationId = parentLocationId; - } - return $result; - } - CreateLocationRequest._() : super(); - factory CreateLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'parentLocationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateLocationRequest clone() => CreateLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateLocationRequest copyWith(void Function(CreateLocationRequest) updates) => super.copyWith((message) => updates(message as CreateLocationRequest)) as CreateLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateLocationRequest create() => CreateLocationRequest._(); - CreateLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateLocationRequest? _defaultInstance; - - /// Organization ID to create the location under. - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - /// Name of the location. - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - /// The new parent location to move the location under. - @$pb.TagNumber(3) - $core.String get parentLocationId => $_getSZ(2); - @$pb.TagNumber(3) - set parentLocationId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasParentLocationId() => $_has(2); - @$pb.TagNumber(3) - void clearParentLocationId() => clearField(3); -} - -class CreateLocationResponse extends $pb.GeneratedMessage { - factory CreateLocationResponse({ - Location? location, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - return $result; - } - CreateLocationResponse._() : super(); - factory CreateLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'location', subBuilder: Location.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateLocationResponse clone() => CreateLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateLocationResponse copyWith(void Function(CreateLocationResponse) updates) => super.copyWith((message) => updates(message as CreateLocationResponse)) as CreateLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateLocationResponse create() => CreateLocationResponse._(); - CreateLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateLocationResponse? _defaultInstance; - - /// Location object is returned. - @$pb.TagNumber(1) - Location get location => $_getN(0); - @$pb.TagNumber(1) - set location(Location v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(1) - void clearLocation() => clearField(1); - @$pb.TagNumber(1) - Location ensureLocation() => $_ensure(0); -} - -class GetLocationRequest extends $pb.GeneratedMessage { - factory GetLocationRequest({ - $core.String? locationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - GetLocationRequest._() : super(); - factory GetLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLocationRequest clone() => GetLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLocationRequest copyWith(void Function(GetLocationRequest) updates) => super.copyWith((message) => updates(message as GetLocationRequest)) as GetLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLocationRequest create() => GetLocationRequest._(); - GetLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLocationRequest? _defaultInstance; - - /// Location ID of location to get. - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); -} - -class GetLocationResponse extends $pb.GeneratedMessage { - factory GetLocationResponse({ - Location? location, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - return $result; - } - GetLocationResponse._() : super(); - factory GetLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'location', subBuilder: Location.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLocationResponse clone() => GetLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLocationResponse copyWith(void Function(GetLocationResponse) updates) => super.copyWith((message) => updates(message as GetLocationResponse)) as GetLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLocationResponse create() => GetLocationResponse._(); - GetLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLocationResponse? _defaultInstance; - - /// Location object is returned. - @$pb.TagNumber(1) - Location get location => $_getN(0); - @$pb.TagNumber(1) - set location(Location v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(1) - void clearLocation() => clearField(1); - @$pb.TagNumber(1) - Location ensureLocation() => $_ensure(0); -} - -class UpdateLocationRequest extends $pb.GeneratedMessage { - factory UpdateLocationRequest({ - $core.String? locationId, - $core.String? name, - $core.String? parentLocationId, - $core.String? region, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - if (name != null) { - $result.name = name; - } - if (parentLocationId != null) { - $result.parentLocationId = parentLocationId; - } - if (region != null) { - $result.region = region; - } - return $result; - } - UpdateLocationRequest._() : super(); - factory UpdateLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'parentLocationId') - ..aOS(4, _omitFieldNames ? '' : 'region') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateLocationRequest clone() => UpdateLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateLocationRequest copyWith(void Function(UpdateLocationRequest) updates) => super.copyWith((message) => updates(message as UpdateLocationRequest)) as UpdateLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateLocationRequest create() => UpdateLocationRequest._(); - UpdateLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateLocationRequest? _defaultInstance; - - /// Location ID of location to update. - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); - - /// The new name to be updated on location. - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - /// The new parent location to move the location under. - @$pb.TagNumber(3) - $core.String get parentLocationId => $_getSZ(2); - @$pb.TagNumber(3) - set parentLocationId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasParentLocationId() => $_has(2); - @$pb.TagNumber(3) - void clearParentLocationId() => clearField(3); - - /// The new GCS region to associate the location with. - @$pb.TagNumber(4) - $core.String get region => $_getSZ(3); - @$pb.TagNumber(4) - set region($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasRegion() => $_has(3); - @$pb.TagNumber(4) - void clearRegion() => clearField(4); -} - -class UpdateLocationResponse extends $pb.GeneratedMessage { - factory UpdateLocationResponse({ - Location? location, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - return $result; - } - UpdateLocationResponse._() : super(); - factory UpdateLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'location', subBuilder: Location.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateLocationResponse clone() => UpdateLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateLocationResponse copyWith(void Function(UpdateLocationResponse) updates) => super.copyWith((message) => updates(message as UpdateLocationResponse)) as UpdateLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateLocationResponse create() => UpdateLocationResponse._(); - UpdateLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateLocationResponse? _defaultInstance; - - /// Location object is returned. - @$pb.TagNumber(1) - Location get location => $_getN(0); - @$pb.TagNumber(1) - set location(Location v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(1) - void clearLocation() => clearField(1); - @$pb.TagNumber(1) - Location ensureLocation() => $_ensure(0); -} - -class DeleteLocationRequest extends $pb.GeneratedMessage { - factory DeleteLocationRequest({ - $core.String? locationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - DeleteLocationRequest._() : super(); - factory DeleteLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteLocationRequest clone() => DeleteLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteLocationRequest copyWith(void Function(DeleteLocationRequest) updates) => super.copyWith((message) => updates(message as DeleteLocationRequest)) as DeleteLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteLocationRequest create() => DeleteLocationRequest._(); - DeleteLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteLocationRequest? _defaultInstance; - - /// Location ID of location to delete. - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); -} - -class DeleteLocationResponse extends $pb.GeneratedMessage { - factory DeleteLocationResponse() => create(); - DeleteLocationResponse._() : super(); - factory DeleteLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteLocationResponse clone() => DeleteLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteLocationResponse copyWith(void Function(DeleteLocationResponse) updates) => super.copyWith((message) => updates(message as DeleteLocationResponse)) as DeleteLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteLocationResponse create() => DeleteLocationResponse._(); - DeleteLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteLocationResponse? _defaultInstance; -} - -class GetLocationMetadataRequest extends $pb.GeneratedMessage { - factory GetLocationMetadataRequest({ - $core.String? locationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - GetLocationMetadataRequest._() : super(); - factory GetLocationMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLocationMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLocationMetadataRequest clone() => GetLocationMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLocationMetadataRequest copyWith(void Function(GetLocationMetadataRequest) updates) => super.copyWith((message) => updates(message as GetLocationMetadataRequest)) as GetLocationMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLocationMetadataRequest create() => GetLocationMetadataRequest._(); - GetLocationMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLocationMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLocationMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); -} - -class GetLocationMetadataResponse extends $pb.GeneratedMessage { - factory GetLocationMetadataResponse({ - $46.Struct? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - GetLocationMetadataResponse._() : super(); - factory GetLocationMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLocationMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$46.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLocationMetadataResponse clone() => GetLocationMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLocationMetadataResponse copyWith(void Function(GetLocationMetadataResponse) updates) => super.copyWith((message) => updates(message as GetLocationMetadataResponse)) as GetLocationMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLocationMetadataResponse create() => GetLocationMetadataResponse._(); - GetLocationMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLocationMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLocationMetadataResponse? _defaultInstance; - - @$pb.TagNumber(1) - $46.Struct get data => $_getN(0); - @$pb.TagNumber(1) - set data($46.Struct v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); - @$pb.TagNumber(1) - $46.Struct ensureData() => $_ensure(0); -} - -class UpdateLocationMetadataRequest extends $pb.GeneratedMessage { - factory UpdateLocationMetadataRequest({ - $core.String? locationId, - $46.Struct? data, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - if (data != null) { - $result.data = data; - } - return $result; - } - UpdateLocationMetadataRequest._() : super(); - factory UpdateLocationMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateLocationMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocationMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateLocationMetadataRequest clone() => UpdateLocationMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateLocationMetadataRequest copyWith(void Function(UpdateLocationMetadataRequest) updates) => super.copyWith((message) => updates(message as UpdateLocationMetadataRequest)) as UpdateLocationMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateLocationMetadataRequest create() => UpdateLocationMetadataRequest._(); - UpdateLocationMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateLocationMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateLocationMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); - - @$pb.TagNumber(2) - $46.Struct get data => $_getN(1); - @$pb.TagNumber(2) - set data($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureData() => $_ensure(1); -} - -class UpdateLocationMetadataResponse extends $pb.GeneratedMessage { - factory UpdateLocationMetadataResponse() => create(); - UpdateLocationMetadataResponse._() : super(); - factory UpdateLocationMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateLocationMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateLocationMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateLocationMetadataResponse clone() => UpdateLocationMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateLocationMetadataResponse copyWith(void Function(UpdateLocationMetadataResponse) updates) => super.copyWith((message) => updates(message as UpdateLocationMetadataResponse)) as UpdateLocationMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateLocationMetadataResponse create() => UpdateLocationMetadataResponse._(); - UpdateLocationMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateLocationMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateLocationMetadataResponse? _defaultInstance; -} - -class GetOrganizationsWithAccessToLocationRequest extends $pb.GeneratedMessage { - factory GetOrganizationsWithAccessToLocationRequest({ - $core.String? locationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - GetOrganizationsWithAccessToLocationRequest._() : super(); - factory GetOrganizationsWithAccessToLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationsWithAccessToLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsWithAccessToLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationsWithAccessToLocationRequest clone() => GetOrganizationsWithAccessToLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationsWithAccessToLocationRequest copyWith(void Function(GetOrganizationsWithAccessToLocationRequest) updates) => super.copyWith((message) => updates(message as GetOrganizationsWithAccessToLocationRequest)) as GetOrganizationsWithAccessToLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationsWithAccessToLocationRequest create() => GetOrganizationsWithAccessToLocationRequest._(); - GetOrganizationsWithAccessToLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationsWithAccessToLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationsWithAccessToLocationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); -} - -class GetOrganizationsWithAccessToLocationResponse extends $pb.GeneratedMessage { - factory GetOrganizationsWithAccessToLocationResponse({ - $core.Iterable? organizationIdentities, - }) { - final $result = create(); - if (organizationIdentities != null) { - $result.organizationIdentities.addAll(organizationIdentities); - } - return $result; - } - GetOrganizationsWithAccessToLocationResponse._() : super(); - factory GetOrganizationsWithAccessToLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrganizationsWithAccessToLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrganizationsWithAccessToLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'organizationIdentities', $pb.PbFieldType.PM, subBuilder: OrganizationIdentity.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrganizationsWithAccessToLocationResponse clone() => GetOrganizationsWithAccessToLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrganizationsWithAccessToLocationResponse copyWith(void Function(GetOrganizationsWithAccessToLocationResponse) updates) => super.copyWith((message) => updates(message as GetOrganizationsWithAccessToLocationResponse)) as GetOrganizationsWithAccessToLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrganizationsWithAccessToLocationResponse create() => GetOrganizationsWithAccessToLocationResponse._(); - GetOrganizationsWithAccessToLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrganizationsWithAccessToLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrganizationsWithAccessToLocationResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get organizationIdentities => $_getList(0); -} - -class ListLocationsRequest extends $pb.GeneratedMessage { - factory ListLocationsRequest({ - $core.String? organizationId, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - ListLocationsRequest._() : super(); - factory ListLocationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListLocationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListLocationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListLocationsRequest clone() => ListLocationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListLocationsRequest copyWith(void Function(ListLocationsRequest) updates) => super.copyWith((message) => updates(message as ListLocationsRequest)) as ListLocationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListLocationsRequest create() => ListLocationsRequest._(); - ListLocationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListLocationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListLocationsRequest? _defaultInstance; - - /// Organization ID under which to list all locations. - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); -} - -class ShareLocationRequest extends $pb.GeneratedMessage { - factory ShareLocationRequest({ - $core.String? locationId, - $core.String? organizationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - ShareLocationRequest._() : super(); - factory ShareLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ShareLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShareLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..aOS(2, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShareLocationRequest clone() => ShareLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShareLocationRequest copyWith(void Function(ShareLocationRequest) updates) => super.copyWith((message) => updates(message as ShareLocationRequest)) as ShareLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ShareLocationRequest create() => ShareLocationRequest._(); - ShareLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ShareLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ShareLocationRequest? _defaultInstance; - - /// Location ID to be shared. - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); - - /// Organization ID to share the location with. - @$pb.TagNumber(2) - $core.String get organizationId => $_getSZ(1); - @$pb.TagNumber(2) - set organizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrganizationId() => $_has(1); - @$pb.TagNumber(2) - void clearOrganizationId() => clearField(2); -} - -class ShareLocationResponse extends $pb.GeneratedMessage { - factory ShareLocationResponse() => create(); - ShareLocationResponse._() : super(); - factory ShareLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ShareLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShareLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShareLocationResponse clone() => ShareLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShareLocationResponse copyWith(void Function(ShareLocationResponse) updates) => super.copyWith((message) => updates(message as ShareLocationResponse)) as ShareLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ShareLocationResponse create() => ShareLocationResponse._(); - ShareLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ShareLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ShareLocationResponse? _defaultInstance; -} - -class UnshareLocationRequest extends $pb.GeneratedMessage { - factory UnshareLocationRequest({ - $core.String? locationId, - $core.String? organizationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - return $result; - } - UnshareLocationRequest._() : super(); - factory UnshareLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnshareLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnshareLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..aOS(2, _omitFieldNames ? '' : 'organizationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnshareLocationRequest clone() => UnshareLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnshareLocationRequest copyWith(void Function(UnshareLocationRequest) updates) => super.copyWith((message) => updates(message as UnshareLocationRequest)) as UnshareLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnshareLocationRequest create() => UnshareLocationRequest._(); - UnshareLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnshareLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnshareLocationRequest? _defaultInstance; - - /// Location ID to be unshared. - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); - - /// Organization ID to unshare the location with. - @$pb.TagNumber(2) - $core.String get organizationId => $_getSZ(1); - @$pb.TagNumber(2) - set organizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrganizationId() => $_has(1); - @$pb.TagNumber(2) - void clearOrganizationId() => clearField(2); -} - -class UnshareLocationResponse extends $pb.GeneratedMessage { - factory UnshareLocationResponse() => create(); - UnshareLocationResponse._() : super(); - factory UnshareLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnshareLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnshareLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnshareLocationResponse clone() => UnshareLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnshareLocationResponse copyWith(void Function(UnshareLocationResponse) updates) => super.copyWith((message) => updates(message as UnshareLocationResponse)) as UnshareLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnshareLocationResponse create() => UnshareLocationResponse._(); - UnshareLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnshareLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnshareLocationResponse? _defaultInstance; -} - -class ListLocationsResponse extends $pb.GeneratedMessage { - factory ListLocationsResponse({ - $core.Iterable? locations, - }) { - final $result = create(); - if (locations != null) { - $result.locations.addAll(locations); - } - return $result; - } - ListLocationsResponse._() : super(); - factory ListLocationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListLocationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListLocationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'locations', $pb.PbFieldType.PM, subBuilder: Location.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListLocationsResponse clone() => ListLocationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListLocationsResponse copyWith(void Function(ListLocationsResponse) updates) => super.copyWith((message) => updates(message as ListLocationsResponse)) as ListLocationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListLocationsResponse create() => ListLocationsResponse._(); - ListLocationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListLocationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListLocationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get locations => $_getList(0); -} - -class CreateLocationSecretRequest extends $pb.GeneratedMessage { - factory CreateLocationSecretRequest({ - $core.String? locationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - CreateLocationSecretRequest._() : super(); - factory CreateLocationSecretRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateLocationSecretRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateLocationSecretRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateLocationSecretRequest clone() => CreateLocationSecretRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateLocationSecretRequest copyWith(void Function(CreateLocationSecretRequest) updates) => super.copyWith((message) => updates(message as CreateLocationSecretRequest)) as CreateLocationSecretRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateLocationSecretRequest create() => CreateLocationSecretRequest._(); - CreateLocationSecretRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateLocationSecretRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateLocationSecretRequest? _defaultInstance; - - /// Location ID to create the secret in. - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); -} - -class CreateLocationSecretResponse extends $pb.GeneratedMessage { - factory CreateLocationSecretResponse({ - LocationAuth? auth, - }) { - final $result = create(); - if (auth != null) { - $result.auth = auth; - } - return $result; - } - CreateLocationSecretResponse._() : super(); - factory CreateLocationSecretResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateLocationSecretResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateLocationSecretResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'auth', subBuilder: LocationAuth.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateLocationSecretResponse clone() => CreateLocationSecretResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateLocationSecretResponse copyWith(void Function(CreateLocationSecretResponse) updates) => super.copyWith((message) => updates(message as CreateLocationSecretResponse)) as CreateLocationSecretResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateLocationSecretResponse create() => CreateLocationSecretResponse._(); - CreateLocationSecretResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateLocationSecretResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateLocationSecretResponse? _defaultInstance; - - /// Location's auth after updates. - @$pb.TagNumber(1) - LocationAuth get auth => $_getN(0); - @$pb.TagNumber(1) - set auth(LocationAuth v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasAuth() => $_has(0); - @$pb.TagNumber(1) - void clearAuth() => clearField(1); - @$pb.TagNumber(1) - LocationAuth ensureAuth() => $_ensure(0); -} - -class DeleteLocationSecretRequest extends $pb.GeneratedMessage { - factory DeleteLocationSecretRequest({ - $core.String? locationId, - $core.String? secretId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - if (secretId != null) { - $result.secretId = secretId; - } - return $result; - } - DeleteLocationSecretRequest._() : super(); - factory DeleteLocationSecretRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteLocationSecretRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteLocationSecretRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..aOS(2, _omitFieldNames ? '' : 'secretId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteLocationSecretRequest clone() => DeleteLocationSecretRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteLocationSecretRequest copyWith(void Function(DeleteLocationSecretRequest) updates) => super.copyWith((message) => updates(message as DeleteLocationSecretRequest)) as DeleteLocationSecretRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteLocationSecretRequest create() => DeleteLocationSecretRequest._(); - DeleteLocationSecretRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteLocationSecretRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteLocationSecretRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get secretId => $_getSZ(1); - @$pb.TagNumber(2) - set secretId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSecretId() => $_has(1); - @$pb.TagNumber(2) - void clearSecretId() => clearField(2); -} - -class DeleteLocationSecretResponse extends $pb.GeneratedMessage { - factory DeleteLocationSecretResponse() => create(); - DeleteLocationSecretResponse._() : super(); - factory DeleteLocationSecretResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteLocationSecretResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteLocationSecretResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteLocationSecretResponse clone() => DeleteLocationSecretResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteLocationSecretResponse copyWith(void Function(DeleteLocationSecretResponse) updates) => super.copyWith((message) => updates(message as DeleteLocationSecretResponse)) as DeleteLocationSecretResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteLocationSecretResponse create() => DeleteLocationSecretResponse._(); - DeleteLocationSecretResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteLocationSecretResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteLocationSecretResponse? _defaultInstance; -} - -class LocationAuthRequest extends $pb.GeneratedMessage { - factory LocationAuthRequest({ - $core.String? locationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - LocationAuthRequest._() : super(); - factory LocationAuthRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LocationAuthRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocationAuthRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LocationAuthRequest clone() => LocationAuthRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LocationAuthRequest copyWith(void Function(LocationAuthRequest) updates) => super.copyWith((message) => updates(message as LocationAuthRequest)) as LocationAuthRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LocationAuthRequest create() => LocationAuthRequest._(); - LocationAuthRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LocationAuthRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LocationAuthRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); -} - -class LocationAuthResponse extends $pb.GeneratedMessage { - factory LocationAuthResponse({ - LocationAuth? auth, - }) { - final $result = create(); - if (auth != null) { - $result.auth = auth; - } - return $result; - } - LocationAuthResponse._() : super(); - factory LocationAuthResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LocationAuthResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocationAuthResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'auth', subBuilder: LocationAuth.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LocationAuthResponse clone() => LocationAuthResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LocationAuthResponse copyWith(void Function(LocationAuthResponse) updates) => super.copyWith((message) => updates(message as LocationAuthResponse)) as LocationAuthResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LocationAuthResponse create() => LocationAuthResponse._(); - LocationAuthResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LocationAuthResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LocationAuthResponse? _defaultInstance; - - @$pb.TagNumber(1) - LocationAuth get auth => $_getN(0); - @$pb.TagNumber(1) - set auth(LocationAuth v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasAuth() => $_has(0); - @$pb.TagNumber(1) - void clearAuth() => clearField(1); - @$pb.TagNumber(1) - LocationAuth ensureAuth() => $_ensure(0); -} - -class GetRobotRequest extends $pb.GeneratedMessage { - factory GetRobotRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - GetRobotRequest._() : super(); - factory GetRobotRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotRequest clone() => GetRobotRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotRequest copyWith(void Function(GetRobotRequest) updates) => super.copyWith((message) => updates(message as GetRobotRequest)) as GetRobotRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotRequest create() => GetRobotRequest._(); - GetRobotRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class GetRoverRentalRobotsRequest extends $pb.GeneratedMessage { - factory GetRoverRentalRobotsRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - GetRoverRentalRobotsRequest._() : super(); - factory GetRoverRentalRobotsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRoverRentalRobotsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoverRentalRobotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRoverRentalRobotsRequest clone() => GetRoverRentalRobotsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRoverRentalRobotsRequest copyWith(void Function(GetRoverRentalRobotsRequest) updates) => super.copyWith((message) => updates(message as GetRoverRentalRobotsRequest)) as GetRoverRentalRobotsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRoverRentalRobotsRequest create() => GetRoverRentalRobotsRequest._(); - GetRoverRentalRobotsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRoverRentalRobotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRoverRentalRobotsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class RoverRentalRobot extends $pb.GeneratedMessage { - factory RoverRentalRobot({ - $core.String? robotId, - $core.String? locationId, - $core.String? robotName, - $core.String? robotMainPartId, - }) { - final $result = create(); - if (robotId != null) { - $result.robotId = robotId; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (robotName != null) { - $result.robotName = robotName; - } - if (robotMainPartId != null) { - $result.robotMainPartId = robotMainPartId; - } - return $result; - } - RoverRentalRobot._() : super(); - factory RoverRentalRobot.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RoverRentalRobot.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RoverRentalRobot', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'robotId') - ..aOS(2, _omitFieldNames ? '' : 'locationId') - ..aOS(3, _omitFieldNames ? '' : 'robotName') - ..aOS(4, _omitFieldNames ? '' : 'robotMainPartId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RoverRentalRobot clone() => RoverRentalRobot()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RoverRentalRobot copyWith(void Function(RoverRentalRobot) updates) => super.copyWith((message) => updates(message as RoverRentalRobot)) as RoverRentalRobot; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RoverRentalRobot create() => RoverRentalRobot._(); - RoverRentalRobot createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RoverRentalRobot getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RoverRentalRobot? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get robotId => $_getSZ(0); - @$pb.TagNumber(1) - set robotId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRobotId() => $_has(0); - @$pb.TagNumber(1) - void clearRobotId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get locationId => $_getSZ(1); - @$pb.TagNumber(2) - set locationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLocationId() => $_has(1); - @$pb.TagNumber(2) - void clearLocationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get robotName => $_getSZ(2); - @$pb.TagNumber(3) - set robotName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasRobotName() => $_has(2); - @$pb.TagNumber(3) - void clearRobotName() => clearField(3); - - @$pb.TagNumber(4) - $core.String get robotMainPartId => $_getSZ(3); - @$pb.TagNumber(4) - set robotMainPartId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasRobotMainPartId() => $_has(3); - @$pb.TagNumber(4) - void clearRobotMainPartId() => clearField(4); -} - -class GetRoverRentalRobotsResponse extends $pb.GeneratedMessage { - factory GetRoverRentalRobotsResponse({ - $core.Iterable? robots, - }) { - final $result = create(); - if (robots != null) { - $result.robots.addAll(robots); - } - return $result; - } - GetRoverRentalRobotsResponse._() : super(); - factory GetRoverRentalRobotsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRoverRentalRobotsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRoverRentalRobotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'robots', $pb.PbFieldType.PM, subBuilder: RoverRentalRobot.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRoverRentalRobotsResponse clone() => GetRoverRentalRobotsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRoverRentalRobotsResponse copyWith(void Function(GetRoverRentalRobotsResponse) updates) => super.copyWith((message) => updates(message as GetRoverRentalRobotsResponse)) as GetRoverRentalRobotsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRoverRentalRobotsResponse create() => GetRoverRentalRobotsResponse._(); - GetRoverRentalRobotsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRoverRentalRobotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRoverRentalRobotsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get robots => $_getList(0); -} - -class GetRobotResponse extends $pb.GeneratedMessage { - factory GetRobotResponse({ - Robot? robot, - }) { - final $result = create(); - if (robot != null) { - $result.robot = robot; - } - return $result; - } - GetRobotResponse._() : super(); - factory GetRobotResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'robot', subBuilder: Robot.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotResponse clone() => GetRobotResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotResponse copyWith(void Function(GetRobotResponse) updates) => super.copyWith((message) => updates(message as GetRobotResponse)) as GetRobotResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotResponse create() => GetRobotResponse._(); - GetRobotResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotResponse? _defaultInstance; - - @$pb.TagNumber(1) - Robot get robot => $_getN(0); - @$pb.TagNumber(1) - set robot(Robot v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasRobot() => $_has(0); - @$pb.TagNumber(1) - void clearRobot() => clearField(1); - @$pb.TagNumber(1) - Robot ensureRobot() => $_ensure(0); -} - -class GetRobotPartsRequest extends $pb.GeneratedMessage { - factory GetRobotPartsRequest({ - $core.String? robotId, - }) { - final $result = create(); - if (robotId != null) { - $result.robotId = robotId; - } - return $result; - } - GetRobotPartsRequest._() : super(); - factory GetRobotPartsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'robotId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartsRequest clone() => GetRobotPartsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartsRequest copyWith(void Function(GetRobotPartsRequest) updates) => super.copyWith((message) => updates(message as GetRobotPartsRequest)) as GetRobotPartsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartsRequest create() => GetRobotPartsRequest._(); - GetRobotPartsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get robotId => $_getSZ(0); - @$pb.TagNumber(1) - set robotId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRobotId() => $_has(0); - @$pb.TagNumber(1) - void clearRobotId() => clearField(1); -} - -class GetRobotPartsResponse extends $pb.GeneratedMessage { - factory GetRobotPartsResponse({ - $core.Iterable? parts, - }) { - final $result = create(); - if (parts != null) { - $result.parts.addAll(parts); - } - return $result; - } - GetRobotPartsResponse._() : super(); - factory GetRobotPartsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'parts', $pb.PbFieldType.PM, subBuilder: RobotPart.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartsResponse clone() => GetRobotPartsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartsResponse copyWith(void Function(GetRobotPartsResponse) updates) => super.copyWith((message) => updates(message as GetRobotPartsResponse)) as GetRobotPartsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartsResponse create() => GetRobotPartsResponse._(); - GetRobotPartsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get parts => $_getList(0); -} - -class GetRobotPartRequest extends $pb.GeneratedMessage { - factory GetRobotPartRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - GetRobotPartRequest._() : super(); - factory GetRobotPartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartRequest clone() => GetRobotPartRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartRequest copyWith(void Function(GetRobotPartRequest) updates) => super.copyWith((message) => updates(message as GetRobotPartRequest)) as GetRobotPartRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartRequest create() => GetRobotPartRequest._(); - GetRobotPartRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class GetRobotPartResponse extends $pb.GeneratedMessage { - factory GetRobotPartResponse({ - RobotPart? part, - $core.String? configJson, - }) { - final $result = create(); - if (part != null) { - $result.part = part; - } - if (configJson != null) { - $result.configJson = configJson; - } - return $result; - } - GetRobotPartResponse._() : super(); - factory GetRobotPartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'part', subBuilder: RobotPart.create) - ..aOS(2, _omitFieldNames ? '' : 'configJson') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartResponse clone() => GetRobotPartResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartResponse copyWith(void Function(GetRobotPartResponse) updates) => super.copyWith((message) => updates(message as GetRobotPartResponse)) as GetRobotPartResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartResponse create() => GetRobotPartResponse._(); - GetRobotPartResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartResponse? _defaultInstance; - - @$pb.TagNumber(1) - RobotPart get part => $_getN(0); - @$pb.TagNumber(1) - set part(RobotPart v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPart() => $_has(0); - @$pb.TagNumber(1) - void clearPart() => clearField(1); - @$pb.TagNumber(1) - RobotPart ensurePart() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get configJson => $_getSZ(1); - @$pb.TagNumber(2) - set configJson($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasConfigJson() => $_has(1); - @$pb.TagNumber(2) - void clearConfigJson() => clearField(2); -} - -class GetRobotPartLogsRequest extends $pb.GeneratedMessage { - factory GetRobotPartLogsRequest({ - $core.String? id, - @$core.Deprecated('This field is deprecated.') - $core.bool? errorsOnly, - $core.String? filter, - $core.String? pageToken, - $core.Iterable<$core.String>? levels, - $47.Timestamp? start, - $47.Timestamp? end, - $fixnum.Int64? limit, - $core.String? source, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (errorsOnly != null) { - // ignore: deprecated_member_use_from_same_package - $result.errorsOnly = errorsOnly; - } - if (filter != null) { - $result.filter = filter; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (levels != null) { - $result.levels.addAll(levels); - } - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - if (limit != null) { - $result.limit = limit; - } - if (source != null) { - $result.source = source; - } - return $result; - } - GetRobotPartLogsRequest._() : super(); - factory GetRobotPartLogsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartLogsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartLogsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOB(2, _omitFieldNames ? '' : 'errorsOnly') - ..aOS(3, _omitFieldNames ? '' : 'filter') - ..aOS(4, _omitFieldNames ? '' : 'pageToken') - ..pPS(5, _omitFieldNames ? '' : 'levels') - ..aOM<$47.Timestamp>(6, _omitFieldNames ? '' : 'start', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(7, _omitFieldNames ? '' : 'end', subBuilder: $47.Timestamp.create) - ..aInt64(8, _omitFieldNames ? '' : 'limit') - ..aOS(9, _omitFieldNames ? '' : 'source') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartLogsRequest clone() => GetRobotPartLogsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartLogsRequest copyWith(void Function(GetRobotPartLogsRequest) updates) => super.copyWith((message) => updates(message as GetRobotPartLogsRequest)) as GetRobotPartLogsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartLogsRequest create() => GetRobotPartLogsRequest._(); - GetRobotPartLogsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartLogsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartLogsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(2) - $core.bool get errorsOnly => $_getBF(1); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(2) - set errorsOnly($core.bool v) { $_setBool(1, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(2) - $core.bool hasErrorsOnly() => $_has(1); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(2) - void clearErrorsOnly() => clearField(2); - - @$pb.TagNumber(3) - $core.String get filter => $_getSZ(2); - @$pb.TagNumber(3) - set filter($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasFilter() => $_has(2); - @$pb.TagNumber(3) - void clearFilter() => clearField(3); - - @$pb.TagNumber(4) - $core.String get pageToken => $_getSZ(3); - @$pb.TagNumber(4) - set pageToken($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasPageToken() => $_has(3); - @$pb.TagNumber(4) - void clearPageToken() => clearField(4); - - /// logs of all levels are returned when the levels field is empty - @$pb.TagNumber(5) - $core.List<$core.String> get levels => $_getList(4); - - @$pb.TagNumber(6) - $47.Timestamp get start => $_getN(5); - @$pb.TagNumber(6) - set start($47.Timestamp v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasStart() => $_has(5); - @$pb.TagNumber(6) - void clearStart() => clearField(6); - @$pb.TagNumber(6) - $47.Timestamp ensureStart() => $_ensure(5); - - @$pb.TagNumber(7) - $47.Timestamp get end => $_getN(6); - @$pb.TagNumber(7) - set end($47.Timestamp v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasEnd() => $_has(6); - @$pb.TagNumber(7) - void clearEnd() => clearField(7); - @$pb.TagNumber(7) - $47.Timestamp ensureEnd() => $_ensure(6); - - @$pb.TagNumber(8) - $fixnum.Int64 get limit => $_getI64(7); - @$pb.TagNumber(8) - set limit($fixnum.Int64 v) { $_setInt64(7, v); } - @$pb.TagNumber(8) - $core.bool hasLimit() => $_has(7); - @$pb.TagNumber(8) - void clearLimit() => clearField(8); - - @$pb.TagNumber(9) - $core.String get source => $_getSZ(8); - @$pb.TagNumber(9) - set source($core.String v) { $_setString(8, v); } - @$pb.TagNumber(9) - $core.bool hasSource() => $_has(8); - @$pb.TagNumber(9) - void clearSource() => clearField(9); -} - -class GetRobotPartLogsResponse extends $pb.GeneratedMessage { - factory GetRobotPartLogsResponse({ - $core.Iterable<$15.LogEntry>? logs, - $core.String? nextPageToken, - }) { - final $result = create(); - if (logs != null) { - $result.logs.addAll(logs); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; - } - GetRobotPartLogsResponse._() : super(); - factory GetRobotPartLogsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartLogsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartLogsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc<$15.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $15.LogEntry.create) - ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartLogsResponse clone() => GetRobotPartLogsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartLogsResponse copyWith(void Function(GetRobotPartLogsResponse) updates) => super.copyWith((message) => updates(message as GetRobotPartLogsResponse)) as GetRobotPartLogsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartLogsResponse create() => GetRobotPartLogsResponse._(); - GetRobotPartLogsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartLogsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartLogsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$15.LogEntry> get logs => $_getList(0); - - @$pb.TagNumber(2) - $core.String get nextPageToken => $_getSZ(1); - @$pb.TagNumber(2) - set nextPageToken($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNextPageToken() => $_has(1); - @$pb.TagNumber(2) - void clearNextPageToken() => clearField(2); -} - -class TailRobotPartLogsRequest extends $pb.GeneratedMessage { - factory TailRobotPartLogsRequest({ - $core.String? id, - $core.bool? errorsOnly, - $core.String? filter, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (errorsOnly != null) { - $result.errorsOnly = errorsOnly; - } - if (filter != null) { - $result.filter = filter; - } - return $result; - } - TailRobotPartLogsRequest._() : super(); - factory TailRobotPartLogsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TailRobotPartLogsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TailRobotPartLogsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOB(2, _omitFieldNames ? '' : 'errorsOnly') - ..aOS(3, _omitFieldNames ? '' : 'filter') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TailRobotPartLogsRequest clone() => TailRobotPartLogsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TailRobotPartLogsRequest copyWith(void Function(TailRobotPartLogsRequest) updates) => super.copyWith((message) => updates(message as TailRobotPartLogsRequest)) as TailRobotPartLogsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TailRobotPartLogsRequest create() => TailRobotPartLogsRequest._(); - TailRobotPartLogsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TailRobotPartLogsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TailRobotPartLogsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get errorsOnly => $_getBF(1); - @$pb.TagNumber(2) - set errorsOnly($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasErrorsOnly() => $_has(1); - @$pb.TagNumber(2) - void clearErrorsOnly() => clearField(2); - - @$pb.TagNumber(3) - $core.String get filter => $_getSZ(2); - @$pb.TagNumber(3) - set filter($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasFilter() => $_has(2); - @$pb.TagNumber(3) - void clearFilter() => clearField(3); -} - -class TailRobotPartLogsResponse extends $pb.GeneratedMessage { - factory TailRobotPartLogsResponse({ - $core.Iterable<$15.LogEntry>? logs, - }) { - final $result = create(); - if (logs != null) { - $result.logs.addAll(logs); - } - return $result; - } - TailRobotPartLogsResponse._() : super(); - factory TailRobotPartLogsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TailRobotPartLogsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TailRobotPartLogsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc<$15.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $15.LogEntry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TailRobotPartLogsResponse clone() => TailRobotPartLogsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TailRobotPartLogsResponse copyWith(void Function(TailRobotPartLogsResponse) updates) => super.copyWith((message) => updates(message as TailRobotPartLogsResponse)) as TailRobotPartLogsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TailRobotPartLogsResponse create() => TailRobotPartLogsResponse._(); - TailRobotPartLogsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TailRobotPartLogsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TailRobotPartLogsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$15.LogEntry> get logs => $_getList(0); -} - -class GetRobotPartHistoryRequest extends $pb.GeneratedMessage { - factory GetRobotPartHistoryRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - GetRobotPartHistoryRequest._() : super(); - factory GetRobotPartHistoryRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartHistoryRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartHistoryRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartHistoryRequest clone() => GetRobotPartHistoryRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartHistoryRequest copyWith(void Function(GetRobotPartHistoryRequest) updates) => super.copyWith((message) => updates(message as GetRobotPartHistoryRequest)) as GetRobotPartHistoryRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartHistoryRequest create() => GetRobotPartHistoryRequest._(); - GetRobotPartHistoryRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartHistoryRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartHistoryRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class GetRobotPartHistoryResponse extends $pb.GeneratedMessage { - factory GetRobotPartHistoryResponse({ - $core.Iterable? history, - }) { - final $result = create(); - if (history != null) { - $result.history.addAll(history); - } - return $result; - } - GetRobotPartHistoryResponse._() : super(); - factory GetRobotPartHistoryResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartHistoryResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartHistoryResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'history', $pb.PbFieldType.PM, subBuilder: RobotPartHistoryEntry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartHistoryResponse clone() => GetRobotPartHistoryResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartHistoryResponse copyWith(void Function(GetRobotPartHistoryResponse) updates) => super.copyWith((message) => updates(message as GetRobotPartHistoryResponse)) as GetRobotPartHistoryResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartHistoryResponse create() => GetRobotPartHistoryResponse._(); - GetRobotPartHistoryResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartHistoryResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartHistoryResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get history => $_getList(0); -} - -class UpdateRobotPartRequest extends $pb.GeneratedMessage { - factory UpdateRobotPartRequest({ - $core.String? id, - $core.String? name, - $46.Struct? robotConfig, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (robotConfig != null) { - $result.robotConfig = robotConfig; - } - return $result; - } - UpdateRobotPartRequest._() : super(); - factory UpdateRobotPartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotPartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotPartRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotPartRequest clone() => UpdateRobotPartRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotPartRequest copyWith(void Function(UpdateRobotPartRequest) updates) => super.copyWith((message) => updates(message as UpdateRobotPartRequest)) as UpdateRobotPartRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotPartRequest create() => UpdateRobotPartRequest._(); - UpdateRobotPartRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotPartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotPartRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $46.Struct get robotConfig => $_getN(2); - @$pb.TagNumber(3) - set robotConfig($46.Struct v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasRobotConfig() => $_has(2); - @$pb.TagNumber(3) - void clearRobotConfig() => clearField(3); - @$pb.TagNumber(3) - $46.Struct ensureRobotConfig() => $_ensure(2); -} - -class UpdateRobotPartResponse extends $pb.GeneratedMessage { - factory UpdateRobotPartResponse({ - RobotPart? part, - }) { - final $result = create(); - if (part != null) { - $result.part = part; - } - return $result; - } - UpdateRobotPartResponse._() : super(); - factory UpdateRobotPartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotPartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotPartResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'part', subBuilder: RobotPart.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotPartResponse clone() => UpdateRobotPartResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotPartResponse copyWith(void Function(UpdateRobotPartResponse) updates) => super.copyWith((message) => updates(message as UpdateRobotPartResponse)) as UpdateRobotPartResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotPartResponse create() => UpdateRobotPartResponse._(); - UpdateRobotPartResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotPartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotPartResponse? _defaultInstance; - - @$pb.TagNumber(1) - RobotPart get part => $_getN(0); - @$pb.TagNumber(1) - set part(RobotPart v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPart() => $_has(0); - @$pb.TagNumber(1) - void clearPart() => clearField(1); - @$pb.TagNumber(1) - RobotPart ensurePart() => $_ensure(0); -} - -class NewRobotPartRequest extends $pb.GeneratedMessage { - factory NewRobotPartRequest({ - $core.String? robotId, - $core.String? partName, - }) { - final $result = create(); - if (robotId != null) { - $result.robotId = robotId; - } - if (partName != null) { - $result.partName = partName; - } - return $result; - } - NewRobotPartRequest._() : super(); - factory NewRobotPartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NewRobotPartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NewRobotPartRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'robotId') - ..aOS(2, _omitFieldNames ? '' : 'partName') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NewRobotPartRequest clone() => NewRobotPartRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NewRobotPartRequest copyWith(void Function(NewRobotPartRequest) updates) => super.copyWith((message) => updates(message as NewRobotPartRequest)) as NewRobotPartRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NewRobotPartRequest create() => NewRobotPartRequest._(); - NewRobotPartRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NewRobotPartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NewRobotPartRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get robotId => $_getSZ(0); - @$pb.TagNumber(1) - set robotId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRobotId() => $_has(0); - @$pb.TagNumber(1) - void clearRobotId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get partName => $_getSZ(1); - @$pb.TagNumber(2) - set partName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPartName() => $_has(1); - @$pb.TagNumber(2) - void clearPartName() => clearField(2); -} - -class NewRobotPartResponse extends $pb.GeneratedMessage { - factory NewRobotPartResponse({ - $core.String? partId, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - return $result; - } - NewRobotPartResponse._() : super(); - factory NewRobotPartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NewRobotPartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NewRobotPartResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NewRobotPartResponse clone() => NewRobotPartResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NewRobotPartResponse copyWith(void Function(NewRobotPartResponse) updates) => super.copyWith((message) => updates(message as NewRobotPartResponse)) as NewRobotPartResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NewRobotPartResponse create() => NewRobotPartResponse._(); - NewRobotPartResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NewRobotPartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NewRobotPartResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); -} - -class DeleteRobotPartRequest extends $pb.GeneratedMessage { - factory DeleteRobotPartRequest({ - $core.String? partId, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - return $result; - } - DeleteRobotPartRequest._() : super(); - factory DeleteRobotPartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRobotPartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRobotPartRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRobotPartRequest clone() => DeleteRobotPartRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRobotPartRequest copyWith(void Function(DeleteRobotPartRequest) updates) => super.copyWith((message) => updates(message as DeleteRobotPartRequest)) as DeleteRobotPartRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRobotPartRequest create() => DeleteRobotPartRequest._(); - DeleteRobotPartRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRobotPartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRobotPartRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); -} - -class GetRobotPartMetadataRequest extends $pb.GeneratedMessage { - factory GetRobotPartMetadataRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - GetRobotPartMetadataRequest._() : super(); - factory GetRobotPartMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartMetadataRequest clone() => GetRobotPartMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartMetadataRequest copyWith(void Function(GetRobotPartMetadataRequest) updates) => super.copyWith((message) => updates(message as GetRobotPartMetadataRequest)) as GetRobotPartMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartMetadataRequest create() => GetRobotPartMetadataRequest._(); - GetRobotPartMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class GetRobotPartMetadataResponse extends $pb.GeneratedMessage { - factory GetRobotPartMetadataResponse({ - $46.Struct? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - GetRobotPartMetadataResponse._() : super(); - factory GetRobotPartMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotPartMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$46.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotPartMetadataResponse clone() => GetRobotPartMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotPartMetadataResponse copyWith(void Function(GetRobotPartMetadataResponse) updates) => super.copyWith((message) => updates(message as GetRobotPartMetadataResponse)) as GetRobotPartMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotPartMetadataResponse create() => GetRobotPartMetadataResponse._(); - GetRobotPartMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotPartMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotPartMetadataResponse? _defaultInstance; - - @$pb.TagNumber(1) - $46.Struct get data => $_getN(0); - @$pb.TagNumber(1) - set data($46.Struct v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); - @$pb.TagNumber(1) - $46.Struct ensureData() => $_ensure(0); -} - -class UpdateRobotPartMetadataRequest extends $pb.GeneratedMessage { - factory UpdateRobotPartMetadataRequest({ - $core.String? id, - $46.Struct? data, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (data != null) { - $result.data = data; - } - return $result; - } - UpdateRobotPartMetadataRequest._() : super(); - factory UpdateRobotPartMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotPartMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotPartMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotPartMetadataRequest clone() => UpdateRobotPartMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotPartMetadataRequest copyWith(void Function(UpdateRobotPartMetadataRequest) updates) => super.copyWith((message) => updates(message as UpdateRobotPartMetadataRequest)) as UpdateRobotPartMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotPartMetadataRequest create() => UpdateRobotPartMetadataRequest._(); - UpdateRobotPartMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotPartMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotPartMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $46.Struct get data => $_getN(1); - @$pb.TagNumber(2) - set data($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureData() => $_ensure(1); -} - -class UpdateRobotPartMetadataResponse extends $pb.GeneratedMessage { - factory UpdateRobotPartMetadataResponse() => create(); - UpdateRobotPartMetadataResponse._() : super(); - factory UpdateRobotPartMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotPartMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotPartMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotPartMetadataResponse clone() => UpdateRobotPartMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotPartMetadataResponse copyWith(void Function(UpdateRobotPartMetadataResponse) updates) => super.copyWith((message) => updates(message as UpdateRobotPartMetadataResponse)) as UpdateRobotPartMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotPartMetadataResponse create() => UpdateRobotPartMetadataResponse._(); - UpdateRobotPartMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotPartMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotPartMetadataResponse? _defaultInstance; -} - -class GetRobotAPIKeysRequest extends $pb.GeneratedMessage { - factory GetRobotAPIKeysRequest({ - $core.String? robotId, - }) { - final $result = create(); - if (robotId != null) { - $result.robotId = robotId; - } - return $result; - } - GetRobotAPIKeysRequest._() : super(); - factory GetRobotAPIKeysRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotAPIKeysRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotAPIKeysRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'robotId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotAPIKeysRequest clone() => GetRobotAPIKeysRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotAPIKeysRequest copyWith(void Function(GetRobotAPIKeysRequest) updates) => super.copyWith((message) => updates(message as GetRobotAPIKeysRequest)) as GetRobotAPIKeysRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotAPIKeysRequest create() => GetRobotAPIKeysRequest._(); - GetRobotAPIKeysRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotAPIKeysRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotAPIKeysRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get robotId => $_getSZ(0); - @$pb.TagNumber(1) - set robotId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRobotId() => $_has(0); - @$pb.TagNumber(1) - void clearRobotId() => clearField(1); -} - -class APIKey extends $pb.GeneratedMessage { - factory APIKey({ - $core.String? id, - $core.String? key, - $core.String? name, - $47.Timestamp? createdOn, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (key != null) { - $result.key = key; - } - if (name != null) { - $result.name = name; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - return $result; - } - APIKey._() : super(); - factory APIKey.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory APIKey.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'APIKey', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'key') - ..aOS(3, _omitFieldNames ? '' : 'name') - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - APIKey clone() => APIKey()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - APIKey copyWith(void Function(APIKey) updates) => super.copyWith((message) => updates(message as APIKey)) as APIKey; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static APIKey create() => APIKey._(); - APIKey createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static APIKey getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static APIKey? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get key => $_getSZ(1); - @$pb.TagNumber(2) - set key($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasKey() => $_has(1); - @$pb.TagNumber(2) - void clearKey() => clearField(2); - - @$pb.TagNumber(3) - $core.String get name => $_getSZ(2); - @$pb.TagNumber(3) - set name($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasName() => $_has(2); - @$pb.TagNumber(3) - void clearName() => clearField(3); - - @$pb.TagNumber(4) - $47.Timestamp get createdOn => $_getN(3); - @$pb.TagNumber(4) - set createdOn($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasCreatedOn() => $_has(3); - @$pb.TagNumber(4) - void clearCreatedOn() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureCreatedOn() => $_ensure(3); -} - -class GetRobotAPIKeysResponse extends $pb.GeneratedMessage { - factory GetRobotAPIKeysResponse({ - $core.Iterable? apiKeys, - }) { - final $result = create(); - if (apiKeys != null) { - $result.apiKeys.addAll(apiKeys); - } - return $result; - } - GetRobotAPIKeysResponse._() : super(); - factory GetRobotAPIKeysResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotAPIKeysResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotAPIKeysResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'apiKeys', $pb.PbFieldType.PM, subBuilder: APIKeyWithAuthorizations.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotAPIKeysResponse clone() => GetRobotAPIKeysResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotAPIKeysResponse copyWith(void Function(GetRobotAPIKeysResponse) updates) => super.copyWith((message) => updates(message as GetRobotAPIKeysResponse)) as GetRobotAPIKeysResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotAPIKeysResponse create() => GetRobotAPIKeysResponse._(); - GetRobotAPIKeysResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotAPIKeysResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotAPIKeysResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get apiKeys => $_getList(0); -} - -class DeleteRobotPartResponse extends $pb.GeneratedMessage { - factory DeleteRobotPartResponse() => create(); - DeleteRobotPartResponse._() : super(); - factory DeleteRobotPartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRobotPartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRobotPartResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRobotPartResponse clone() => DeleteRobotPartResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRobotPartResponse copyWith(void Function(DeleteRobotPartResponse) updates) => super.copyWith((message) => updates(message as DeleteRobotPartResponse)) as DeleteRobotPartResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRobotPartResponse create() => DeleteRobotPartResponse._(); - DeleteRobotPartResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRobotPartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRobotPartResponse? _defaultInstance; -} - -class Fragment extends $pb.GeneratedMessage { - factory Fragment({ - $core.String? id, - $core.String? name, - $46.Struct? fragment, - $core.String? organizationOwner, - $core.bool? public, - $47.Timestamp? createdOn, - $core.String? organizationName, - $core.int? robotPartCount, - $core.int? organizationCount, - $core.bool? onlyUsedByOwner, - FragmentVisibility? visibility, - $47.Timestamp? lastUpdated, - $core.String? revision, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (fragment != null) { - $result.fragment = fragment; - } - if (organizationOwner != null) { - $result.organizationOwner = organizationOwner; - } - if (public != null) { - $result.public = public; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - if (organizationName != null) { - $result.organizationName = organizationName; - } - if (robotPartCount != null) { - $result.robotPartCount = robotPartCount; - } - if (organizationCount != null) { - $result.organizationCount = organizationCount; - } - if (onlyUsedByOwner != null) { - $result.onlyUsedByOwner = onlyUsedByOwner; - } - if (visibility != null) { - $result.visibility = visibility; - } - if (lastUpdated != null) { - $result.lastUpdated = lastUpdated; - } - if (revision != null) { - $result.revision = revision; - } - return $result; - } - Fragment._() : super(); - factory Fragment.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Fragment.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Fragment', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $46.Struct.create) - ..aOS(4, _omitFieldNames ? '' : 'organizationOwner') - ..aOB(5, _omitFieldNames ? '' : 'public') - ..aOM<$47.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..aOS(7, _omitFieldNames ? '' : 'organizationName') - ..a<$core.int>(9, _omitFieldNames ? '' : 'robotPartCount', $pb.PbFieldType.O3) - ..a<$core.int>(10, _omitFieldNames ? '' : 'organizationCount', $pb.PbFieldType.O3) - ..aOB(11, _omitFieldNames ? '' : 'onlyUsedByOwner') - ..e(12, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: FragmentVisibility.FRAGMENT_VISIBILITY_UNSPECIFIED, valueOf: FragmentVisibility.valueOf, enumValues: FragmentVisibility.values) - ..aOM<$47.Timestamp>(13, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $47.Timestamp.create) - ..aOS(14, _omitFieldNames ? '' : 'revision') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Fragment clone() => Fragment()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Fragment copyWith(void Function(Fragment) updates) => super.copyWith((message) => updates(message as Fragment)) as Fragment; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Fragment create() => Fragment._(); - Fragment createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Fragment getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Fragment? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $46.Struct get fragment => $_getN(2); - @$pb.TagNumber(3) - set fragment($46.Struct v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasFragment() => $_has(2); - @$pb.TagNumber(3) - void clearFragment() => clearField(3); - @$pb.TagNumber(3) - $46.Struct ensureFragment() => $_ensure(2); - - @$pb.TagNumber(4) - $core.String get organizationOwner => $_getSZ(3); - @$pb.TagNumber(4) - set organizationOwner($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasOrganizationOwner() => $_has(3); - @$pb.TagNumber(4) - void clearOrganizationOwner() => clearField(4); - - @$pb.TagNumber(5) - $core.bool get public => $_getBF(4); - @$pb.TagNumber(5) - set public($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasPublic() => $_has(4); - @$pb.TagNumber(5) - void clearPublic() => clearField(5); - - @$pb.TagNumber(6) - $47.Timestamp get createdOn => $_getN(5); - @$pb.TagNumber(6) - set createdOn($47.Timestamp v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasCreatedOn() => $_has(5); - @$pb.TagNumber(6) - void clearCreatedOn() => clearField(6); - @$pb.TagNumber(6) - $47.Timestamp ensureCreatedOn() => $_ensure(5); - - @$pb.TagNumber(7) - $core.String get organizationName => $_getSZ(6); - @$pb.TagNumber(7) - set organizationName($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasOrganizationName() => $_has(6); - @$pb.TagNumber(7) - void clearOrganizationName() => clearField(7); - - /// number of robot parts using this fragment - @$pb.TagNumber(9) - $core.int get robotPartCount => $_getIZ(7); - @$pb.TagNumber(9) - set robotPartCount($core.int v) { $_setSignedInt32(7, v); } - @$pb.TagNumber(9) - $core.bool hasRobotPartCount() => $_has(7); - @$pb.TagNumber(9) - void clearRobotPartCount() => clearField(9); - - /// number of organizations using this fragment - @$pb.TagNumber(10) - $core.int get organizationCount => $_getIZ(8); - @$pb.TagNumber(10) - set organizationCount($core.int v) { $_setSignedInt32(8, v); } - @$pb.TagNumber(10) - $core.bool hasOrganizationCount() => $_has(8); - @$pb.TagNumber(10) - void clearOrganizationCount() => clearField(10); - - /// whether the organization(s) using this fragment is the same as the fragment org - @$pb.TagNumber(11) - $core.bool get onlyUsedByOwner => $_getBF(9); - @$pb.TagNumber(11) - set onlyUsedByOwner($core.bool v) { $_setBool(9, v); } - @$pb.TagNumber(11) - $core.bool hasOnlyUsedByOwner() => $_has(9); - @$pb.TagNumber(11) - void clearOnlyUsedByOwner() => clearField(11); - - /// the visibility of a fragment; public, private or unlisted - @$pb.TagNumber(12) - FragmentVisibility get visibility => $_getN(10); - @$pb.TagNumber(12) - set visibility(FragmentVisibility v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasVisibility() => $_has(10); - @$pb.TagNumber(12) - void clearVisibility() => clearField(12); - - /// latest timestamp when fragment was updated - @$pb.TagNumber(13) - $47.Timestamp get lastUpdated => $_getN(11); - @$pb.TagNumber(13) - set lastUpdated($47.Timestamp v) { setField(13, v); } - @$pb.TagNumber(13) - $core.bool hasLastUpdated() => $_has(11); - @$pb.TagNumber(13) - void clearLastUpdated() => clearField(13); - @$pb.TagNumber(13) - $47.Timestamp ensureLastUpdated() => $_ensure(11); - - @$pb.TagNumber(14) - $core.String get revision => $_getSZ(12); - @$pb.TagNumber(14) - set revision($core.String v) { $_setString(12, v); } - @$pb.TagNumber(14) - $core.bool hasRevision() => $_has(12); - @$pb.TagNumber(14) - void clearRevision() => clearField(14); -} - -class FragmentHistoryEntry extends $pb.GeneratedMessage { - factory FragmentHistoryEntry({ - $core.String? fragment, - $47.Timestamp? editedOn, - Fragment? old, - AuthenticatorInfo? editedBy, - $core.String? revision, - $46.Struct? config, - }) { - final $result = create(); - if (fragment != null) { - $result.fragment = fragment; - } - if (editedOn != null) { - $result.editedOn = editedOn; - } - if (old != null) { - $result.old = old; - } - if (editedBy != null) { - $result.editedBy = editedBy; - } - if (revision != null) { - $result.revision = revision; - } - if (config != null) { - $result.config = config; - } - return $result; - } - FragmentHistoryEntry._() : super(); - factory FragmentHistoryEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FragmentHistoryEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FragmentHistoryEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragment') - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'editedOn', subBuilder: $47.Timestamp.create) - ..aOM(3, _omitFieldNames ? '' : 'old', subBuilder: Fragment.create) - ..aOM(4, _omitFieldNames ? '' : 'editedBy', subBuilder: AuthenticatorInfo.create) - ..aOS(5, _omitFieldNames ? '' : 'revision') - ..aOM<$46.Struct>(6, _omitFieldNames ? '' : 'config', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FragmentHistoryEntry clone() => FragmentHistoryEntry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FragmentHistoryEntry copyWith(void Function(FragmentHistoryEntry) updates) => super.copyWith((message) => updates(message as FragmentHistoryEntry)) as FragmentHistoryEntry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FragmentHistoryEntry create() => FragmentHistoryEntry._(); - FragmentHistoryEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FragmentHistoryEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FragmentHistoryEntry? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragment => $_getSZ(0); - @$pb.TagNumber(1) - set fragment($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragment() => $_has(0); - @$pb.TagNumber(1) - void clearFragment() => clearField(1); - - @$pb.TagNumber(2) - $47.Timestamp get editedOn => $_getN(1); - @$pb.TagNumber(2) - set editedOn($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEditedOn() => $_has(1); - @$pb.TagNumber(2) - void clearEditedOn() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureEditedOn() => $_ensure(1); - - @$pb.TagNumber(3) - Fragment get old => $_getN(2); - @$pb.TagNumber(3) - set old(Fragment v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOld() => $_has(2); - @$pb.TagNumber(3) - void clearOld() => clearField(3); - @$pb.TagNumber(3) - Fragment ensureOld() => $_ensure(2); - - @$pb.TagNumber(4) - AuthenticatorInfo get editedBy => $_getN(3); - @$pb.TagNumber(4) - set editedBy(AuthenticatorInfo v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasEditedBy() => $_has(3); - @$pb.TagNumber(4) - void clearEditedBy() => clearField(4); - @$pb.TagNumber(4) - AuthenticatorInfo ensureEditedBy() => $_ensure(3); - - @$pb.TagNumber(5) - $core.String get revision => $_getSZ(4); - @$pb.TagNumber(5) - set revision($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasRevision() => $_has(4); - @$pb.TagNumber(5) - void clearRevision() => clearField(5); - - @$pb.TagNumber(6) - $46.Struct get config => $_getN(5); - @$pb.TagNumber(6) - set config($46.Struct v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasConfig() => $_has(5); - @$pb.TagNumber(6) - void clearConfig() => clearField(6); - @$pb.TagNumber(6) - $46.Struct ensureConfig() => $_ensure(5); -} - -class FragmentRevision extends $pb.GeneratedMessage { - factory FragmentRevision({ - $core.String? revision, - $47.Timestamp? createdAt, - }) { - final $result = create(); - if (revision != null) { - $result.revision = revision; - } - if (createdAt != null) { - $result.createdAt = createdAt; - } - return $result; - } - FragmentRevision._() : super(); - factory FragmentRevision.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FragmentRevision.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FragmentRevision', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'revision') - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'createdAt', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FragmentRevision clone() => FragmentRevision()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FragmentRevision copyWith(void Function(FragmentRevision) updates) => super.copyWith((message) => updates(message as FragmentRevision)) as FragmentRevision; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FragmentRevision create() => FragmentRevision._(); - FragmentRevision createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FragmentRevision getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FragmentRevision? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get revision => $_getSZ(0); - @$pb.TagNumber(1) - set revision($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRevision() => $_has(0); - @$pb.TagNumber(1) - void clearRevision() => clearField(1); - - @$pb.TagNumber(2) - $47.Timestamp get createdAt => $_getN(1); - @$pb.TagNumber(2) - set createdAt($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCreatedAt() => $_has(1); - @$pb.TagNumber(2) - void clearCreatedAt() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureCreatedAt() => $_ensure(1); -} - -class FragmentTag extends $pb.GeneratedMessage { - factory FragmentTag({ - $core.String? tag, - $core.String? revision, - }) { - final $result = create(); - if (tag != null) { - $result.tag = tag; - } - if (revision != null) { - $result.revision = revision; - } - return $result; - } - FragmentTag._() : super(); - factory FragmentTag.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FragmentTag.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FragmentTag', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'tag') - ..aOS(2, _omitFieldNames ? '' : 'revision') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FragmentTag clone() => FragmentTag()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FragmentTag copyWith(void Function(FragmentTag) updates) => super.copyWith((message) => updates(message as FragmentTag)) as FragmentTag; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FragmentTag create() => FragmentTag._(); - FragmentTag createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FragmentTag getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FragmentTag? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get tag => $_getSZ(0); - @$pb.TagNumber(1) - set tag($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasTag() => $_has(0); - @$pb.TagNumber(1) - void clearTag() => clearField(1); - - @$pb.TagNumber(2) - $core.String get revision => $_getSZ(1); - @$pb.TagNumber(2) - set revision($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRevision() => $_has(1); - @$pb.TagNumber(2) - void clearRevision() => clearField(2); -} - -class FragmentError extends $pb.GeneratedMessage { - factory FragmentError({ - FragmentErrorType? errorType, - $core.String? fragmentId, - $core.String? detail, - }) { - final $result = create(); - if (errorType != null) { - $result.errorType = errorType; - } - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - if (detail != null) { - $result.detail = detail; - } - return $result; - } - FragmentError._() : super(); - factory FragmentError.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FragmentError.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FragmentError', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'errorType', $pb.PbFieldType.OE, defaultOrMaker: FragmentErrorType.FRAGMENT_ERROR_TYPE_UNSPECIFIED, valueOf: FragmentErrorType.valueOf, enumValues: FragmentErrorType.values) - ..aOS(2, _omitFieldNames ? '' : 'fragmentId') - ..aOS(3, _omitFieldNames ? '' : 'detail') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FragmentError clone() => FragmentError()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FragmentError copyWith(void Function(FragmentError) updates) => super.copyWith((message) => updates(message as FragmentError)) as FragmentError; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FragmentError create() => FragmentError._(); - FragmentError createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FragmentError getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FragmentError? _defaultInstance; - - @$pb.TagNumber(1) - FragmentErrorType get errorType => $_getN(0); - @$pb.TagNumber(1) - set errorType(FragmentErrorType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasErrorType() => $_has(0); - @$pb.TagNumber(1) - void clearErrorType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get fragmentId => $_getSZ(1); - @$pb.TagNumber(2) - set fragmentId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFragmentId() => $_has(1); - @$pb.TagNumber(2) - void clearFragmentId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get detail => $_getSZ(2); - @$pb.TagNumber(3) - set detail($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDetail() => $_has(2); - @$pb.TagNumber(3) - void clearDetail() => clearField(3); -} - -/// Cached fragment usage statistics -class FragmentUsage extends $pb.GeneratedMessage { - factory FragmentUsage({ - $core.String? fragmentId, - $core.int? organizations, - $core.int? machines, - $core.int? machinesInCurrentOrg, - $core.String? version, - }) { - final $result = create(); - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - if (organizations != null) { - $result.organizations = organizations; - } - if (machines != null) { - $result.machines = machines; - } - if (machinesInCurrentOrg != null) { - $result.machinesInCurrentOrg = machinesInCurrentOrg; - } - if (version != null) { - $result.version = version; - } - return $result; - } - FragmentUsage._() : super(); - factory FragmentUsage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FragmentUsage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FragmentUsage', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..a<$core.int>(2, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.O3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'machines', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'machinesInCurrentOrg', $pb.PbFieldType.O3) - ..aOS(5, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FragmentUsage clone() => FragmentUsage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FragmentUsage copyWith(void Function(FragmentUsage) updates) => super.copyWith((message) => updates(message as FragmentUsage)) as FragmentUsage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FragmentUsage create() => FragmentUsage._(); - FragmentUsage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FragmentUsage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FragmentUsage? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragmentId => $_getSZ(0); - @$pb.TagNumber(1) - set fragmentId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragmentId() => $_has(0); - @$pb.TagNumber(1) - void clearFragmentId() => clearField(1); - - @$pb.TagNumber(2) - $core.int get organizations => $_getIZ(1); - @$pb.TagNumber(2) - set organizations($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrganizations() => $_has(1); - @$pb.TagNumber(2) - void clearOrganizations() => clearField(2); - - @$pb.TagNumber(3) - $core.int get machines => $_getIZ(2); - @$pb.TagNumber(3) - set machines($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasMachines() => $_has(2); - @$pb.TagNumber(3) - void clearMachines() => clearField(3); - - @$pb.TagNumber(4) - $core.int get machinesInCurrentOrg => $_getIZ(3); - @$pb.TagNumber(4) - set machinesInCurrentOrg($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasMachinesInCurrentOrg() => $_has(3); - @$pb.TagNumber(4) - void clearMachinesInCurrentOrg() => clearField(4); - - @$pb.TagNumber(5) - $core.String get version => $_getSZ(4); - @$pb.TagNumber(5) - set version($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasVersion() => $_has(4); - @$pb.TagNumber(5) - void clearVersion() => clearField(5); -} - -class ResolvedFragment extends $pb.GeneratedMessage { - factory ResolvedFragment({ - $core.String? fragmentId, - $46.Struct? resolvedConfig, - FragmentError? error, - $core.String? revision, - }) { - final $result = create(); - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - if (resolvedConfig != null) { - $result.resolvedConfig = resolvedConfig; - } - if (error != null) { - $result.error = error; - } - if (revision != null) { - $result.revision = revision; - } - return $result; - } - ResolvedFragment._() : super(); - factory ResolvedFragment.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResolvedFragment.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResolvedFragment', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'resolvedConfig', subBuilder: $46.Struct.create) - ..aOM(3, _omitFieldNames ? '' : 'error', subBuilder: FragmentError.create) - ..aOS(4, _omitFieldNames ? '' : 'revision') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResolvedFragment clone() => ResolvedFragment()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResolvedFragment copyWith(void Function(ResolvedFragment) updates) => super.copyWith((message) => updates(message as ResolvedFragment)) as ResolvedFragment; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResolvedFragment create() => ResolvedFragment._(); - ResolvedFragment createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResolvedFragment getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResolvedFragment? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragmentId => $_getSZ(0); - @$pb.TagNumber(1) - set fragmentId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragmentId() => $_has(0); - @$pb.TagNumber(1) - void clearFragmentId() => clearField(1); - - @$pb.TagNumber(2) - $46.Struct get resolvedConfig => $_getN(1); - @$pb.TagNumber(2) - set resolvedConfig($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasResolvedConfig() => $_has(1); - @$pb.TagNumber(2) - void clearResolvedConfig() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureResolvedConfig() => $_ensure(1); - - @$pb.TagNumber(3) - FragmentError get error => $_getN(2); - @$pb.TagNumber(3) - set error(FragmentError v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasError() => $_has(2); - @$pb.TagNumber(3) - void clearError() => clearField(3); - @$pb.TagNumber(3) - FragmentError ensureError() => $_ensure(2); - - @$pb.TagNumber(4) - $core.String get revision => $_getSZ(3); - @$pb.TagNumber(4) - set revision($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasRevision() => $_has(3); - @$pb.TagNumber(4) - void clearRevision() => clearField(4); -} - -class ListFragmentsRequest extends $pb.GeneratedMessage { - factory ListFragmentsRequest({ - $core.String? organizationId, - $core.bool? showPublic, - $core.Iterable? fragmentVisibility, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (showPublic != null) { - $result.showPublic = showPublic; - } - if (fragmentVisibility != null) { - $result.fragmentVisibility.addAll(fragmentVisibility); - } - return $result; - } - ListFragmentsRequest._() : super(); - factory ListFragmentsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListFragmentsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListFragmentsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOB(2, _omitFieldNames ? '' : 'showPublic') - ..pc(3, _omitFieldNames ? '' : 'fragmentVisibility', $pb.PbFieldType.KE, valueOf: FragmentVisibility.valueOf, enumValues: FragmentVisibility.values, defaultEnumValue: FragmentVisibility.FRAGMENT_VISIBILITY_UNSPECIFIED) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListFragmentsRequest clone() => ListFragmentsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListFragmentsRequest copyWith(void Function(ListFragmentsRequest) updates) => super.copyWith((message) => updates(message as ListFragmentsRequest)) as ListFragmentsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListFragmentsRequest create() => ListFragmentsRequest._(); - ListFragmentsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListFragmentsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListFragmentsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get showPublic => $_getBF(1); - @$pb.TagNumber(2) - set showPublic($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasShowPublic() => $_has(1); - @$pb.TagNumber(2) - void clearShowPublic() => clearField(2); - - @$pb.TagNumber(3) - $core.List get fragmentVisibility => $_getList(2); -} - -class ListFragmentsResponse extends $pb.GeneratedMessage { - factory ListFragmentsResponse({ - $core.Iterable? fragments, - $core.Iterable? fragmentUsages, - }) { - final $result = create(); - if (fragments != null) { - $result.fragments.addAll(fragments); - } - if (fragmentUsages != null) { - $result.fragmentUsages.addAll(fragmentUsages); - } - return $result; - } - ListFragmentsResponse._() : super(); - factory ListFragmentsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListFragmentsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListFragmentsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'fragments', $pb.PbFieldType.PM, subBuilder: Fragment.create) - ..pc(2, _omitFieldNames ? '' : 'fragmentUsages', $pb.PbFieldType.PM, subBuilder: FragmentUsage.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListFragmentsResponse clone() => ListFragmentsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListFragmentsResponse copyWith(void Function(ListFragmentsResponse) updates) => super.copyWith((message) => updates(message as ListFragmentsResponse)) as ListFragmentsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListFragmentsResponse create() => ListFragmentsResponse._(); - ListFragmentsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListFragmentsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListFragmentsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get fragments => $_getList(0); - - @$pb.TagNumber(2) - $core.List get fragmentUsages => $_getList(1); -} - -class GetFragmentRequest extends $pb.GeneratedMessage { - factory GetFragmentRequest({ - $core.String? id, - $core.String? currentOrganizationId, - $core.String? version, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (currentOrganizationId != null) { - $result.currentOrganizationId = currentOrganizationId; - } - if (version != null) { - $result.version = version; - } - return $result; - } - GetFragmentRequest._() : super(); - factory GetFragmentRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetFragmentRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetFragmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'currentOrganizationId') - ..aOS(3, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetFragmentRequest clone() => GetFragmentRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetFragmentRequest copyWith(void Function(GetFragmentRequest) updates) => super.copyWith((message) => updates(message as GetFragmentRequest)) as GetFragmentRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetFragmentRequest create() => GetFragmentRequest._(); - GetFragmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetFragmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetFragmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get currentOrganizationId => $_getSZ(1); - @$pb.TagNumber(2) - set currentOrganizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasCurrentOrganizationId() => $_has(1); - @$pb.TagNumber(2) - void clearCurrentOrganizationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get version => $_getSZ(2); - @$pb.TagNumber(3) - set version($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(3) - void clearVersion() => clearField(3); -} - -class GetFragmentResponse extends $pb.GeneratedMessage { - factory GetFragmentResponse({ - Fragment? fragment, - FragmentUsage? fragmentUsage, - $core.Iterable? revisions, - $core.Iterable? tags, - }) { - final $result = create(); - if (fragment != null) { - $result.fragment = fragment; - } - if (fragmentUsage != null) { - $result.fragmentUsage = fragmentUsage; - } - if (revisions != null) { - $result.revisions.addAll(revisions); - } - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - GetFragmentResponse._() : super(); - factory GetFragmentResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetFragmentResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetFragmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'fragment', subBuilder: Fragment.create) - ..aOM(2, _omitFieldNames ? '' : 'fragmentUsage', subBuilder: FragmentUsage.create) - ..pc(3, _omitFieldNames ? '' : 'revisions', $pb.PbFieldType.PM, subBuilder: FragmentRevision.create) - ..pc(4, _omitFieldNames ? '' : 'tags', $pb.PbFieldType.PM, subBuilder: FragmentTag.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetFragmentResponse clone() => GetFragmentResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetFragmentResponse copyWith(void Function(GetFragmentResponse) updates) => super.copyWith((message) => updates(message as GetFragmentResponse)) as GetFragmentResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetFragmentResponse create() => GetFragmentResponse._(); - GetFragmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetFragmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetFragmentResponse? _defaultInstance; - - @$pb.TagNumber(1) - Fragment get fragment => $_getN(0); - @$pb.TagNumber(1) - set fragment(Fragment v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFragment() => $_has(0); - @$pb.TagNumber(1) - void clearFragment() => clearField(1); - @$pb.TagNumber(1) - Fragment ensureFragment() => $_ensure(0); - - @$pb.TagNumber(2) - FragmentUsage get fragmentUsage => $_getN(1); - @$pb.TagNumber(2) - set fragmentUsage(FragmentUsage v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasFragmentUsage() => $_has(1); - @$pb.TagNumber(2) - void clearFragmentUsage() => clearField(2); - @$pb.TagNumber(2) - FragmentUsage ensureFragmentUsage() => $_ensure(1); - - @$pb.TagNumber(3) - $core.List get revisions => $_getList(2); - - @$pb.TagNumber(4) - $core.List get tags => $_getList(3); -} - -class CreateFragmentRequest extends $pb.GeneratedMessage { - factory CreateFragmentRequest({ - $core.String? name, - $46.Struct? config, - $core.String? organizationId, - FragmentVisibility? visibility, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (config != null) { - $result.config = config; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (visibility != null) { - $result.visibility = visibility; - } - return $result; - } - CreateFragmentRequest._() : super(); - factory CreateFragmentRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateFragmentRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateFragmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $46.Struct.create) - ..aOS(3, _omitFieldNames ? '' : 'organizationId') - ..e(4, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: FragmentVisibility.FRAGMENT_VISIBILITY_UNSPECIFIED, valueOf: FragmentVisibility.valueOf, enumValues: FragmentVisibility.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateFragmentRequest clone() => CreateFragmentRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateFragmentRequest copyWith(void Function(CreateFragmentRequest) updates) => super.copyWith((message) => updates(message as CreateFragmentRequest)) as CreateFragmentRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateFragmentRequest create() => CreateFragmentRequest._(); - CreateFragmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateFragmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateFragmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $46.Struct get config => $_getN(1); - @$pb.TagNumber(2) - set config($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasConfig() => $_has(1); - @$pb.TagNumber(2) - void clearConfig() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureConfig() => $_ensure(1); - - @$pb.TagNumber(3) - $core.String get organizationId => $_getSZ(2); - @$pb.TagNumber(3) - set organizationId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasOrganizationId() => $_has(2); - @$pb.TagNumber(3) - void clearOrganizationId() => clearField(3); - - @$pb.TagNumber(4) - FragmentVisibility get visibility => $_getN(3); - @$pb.TagNumber(4) - set visibility(FragmentVisibility v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasVisibility() => $_has(3); - @$pb.TagNumber(4) - void clearVisibility() => clearField(4); -} - -class CreateFragmentResponse extends $pb.GeneratedMessage { - factory CreateFragmentResponse({ - Fragment? fragment, - }) { - final $result = create(); - if (fragment != null) { - $result.fragment = fragment; - } - return $result; - } - CreateFragmentResponse._() : super(); - factory CreateFragmentResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateFragmentResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateFragmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'fragment', subBuilder: Fragment.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateFragmentResponse clone() => CreateFragmentResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateFragmentResponse copyWith(void Function(CreateFragmentResponse) updates) => super.copyWith((message) => updates(message as CreateFragmentResponse)) as CreateFragmentResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateFragmentResponse create() => CreateFragmentResponse._(); - CreateFragmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateFragmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateFragmentResponse? _defaultInstance; - - @$pb.TagNumber(1) - Fragment get fragment => $_getN(0); - @$pb.TagNumber(1) - set fragment(Fragment v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFragment() => $_has(0); - @$pb.TagNumber(1) - void clearFragment() => clearField(1); - @$pb.TagNumber(1) - Fragment ensureFragment() => $_ensure(0); -} - -class UpdateFragmentRequest extends $pb.GeneratedMessage { - factory UpdateFragmentRequest({ - $core.String? id, - $core.String? name, - $46.Struct? config, - $core.bool? public, - FragmentVisibility? visibility, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (config != null) { - $result.config = config; - } - if (public != null) { - $result.public = public; - } - if (visibility != null) { - $result.visibility = visibility; - } - return $result; - } - UpdateFragmentRequest._() : super(); - factory UpdateFragmentRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateFragmentRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateFragmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $46.Struct.create) - ..aOB(4, _omitFieldNames ? '' : 'public') - ..e(5, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: FragmentVisibility.FRAGMENT_VISIBILITY_UNSPECIFIED, valueOf: FragmentVisibility.valueOf, enumValues: FragmentVisibility.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateFragmentRequest clone() => UpdateFragmentRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateFragmentRequest copyWith(void Function(UpdateFragmentRequest) updates) => super.copyWith((message) => updates(message as UpdateFragmentRequest)) as UpdateFragmentRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateFragmentRequest create() => UpdateFragmentRequest._(); - UpdateFragmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateFragmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateFragmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $46.Struct get config => $_getN(2); - @$pb.TagNumber(3) - set config($46.Struct v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasConfig() => $_has(2); - @$pb.TagNumber(3) - void clearConfig() => clearField(3); - @$pb.TagNumber(3) - $46.Struct ensureConfig() => $_ensure(2); - - @$pb.TagNumber(4) - $core.bool get public => $_getBF(3); - @$pb.TagNumber(4) - set public($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasPublic() => $_has(3); - @$pb.TagNumber(4) - void clearPublic() => clearField(4); - - @$pb.TagNumber(5) - FragmentVisibility get visibility => $_getN(4); - @$pb.TagNumber(5) - set visibility(FragmentVisibility v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasVisibility() => $_has(4); - @$pb.TagNumber(5) - void clearVisibility() => clearField(5); -} - -class UpdateFragmentResponse extends $pb.GeneratedMessage { - factory UpdateFragmentResponse({ - Fragment? fragment, - }) { - final $result = create(); - if (fragment != null) { - $result.fragment = fragment; - } - return $result; - } - UpdateFragmentResponse._() : super(); - factory UpdateFragmentResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateFragmentResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateFragmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'fragment', subBuilder: Fragment.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateFragmentResponse clone() => UpdateFragmentResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateFragmentResponse copyWith(void Function(UpdateFragmentResponse) updates) => super.copyWith((message) => updates(message as UpdateFragmentResponse)) as UpdateFragmentResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateFragmentResponse create() => UpdateFragmentResponse._(); - UpdateFragmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateFragmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateFragmentResponse? _defaultInstance; - - @$pb.TagNumber(1) - Fragment get fragment => $_getN(0); - @$pb.TagNumber(1) - set fragment(Fragment v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFragment() => $_has(0); - @$pb.TagNumber(1) - void clearFragment() => clearField(1); - @$pb.TagNumber(1) - Fragment ensureFragment() => $_ensure(0); -} - -class DeleteFragmentRequest extends $pb.GeneratedMessage { - factory DeleteFragmentRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - DeleteFragmentRequest._() : super(); - factory DeleteFragmentRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteFragmentRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteFragmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteFragmentRequest clone() => DeleteFragmentRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteFragmentRequest copyWith(void Function(DeleteFragmentRequest) updates) => super.copyWith((message) => updates(message as DeleteFragmentRequest)) as DeleteFragmentRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteFragmentRequest create() => DeleteFragmentRequest._(); - DeleteFragmentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteFragmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteFragmentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class DeleteFragmentResponse extends $pb.GeneratedMessage { - factory DeleteFragmentResponse() => create(); - DeleteFragmentResponse._() : super(); - factory DeleteFragmentResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteFragmentResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteFragmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteFragmentResponse clone() => DeleteFragmentResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteFragmentResponse copyWith(void Function(DeleteFragmentResponse) updates) => super.copyWith((message) => updates(message as DeleteFragmentResponse)) as DeleteFragmentResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteFragmentResponse create() => DeleteFragmentResponse._(); - DeleteFragmentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteFragmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteFragmentResponse? _defaultInstance; -} - -class GetFragmentHistoryRequest extends $pb.GeneratedMessage { - factory GetFragmentHistoryRequest({ - $core.String? id, - $core.String? pageToken, - $fixnum.Int64? pageLimit, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (pageLimit != null) { - $result.pageLimit = pageLimit; - } - return $result; - } - GetFragmentHistoryRequest._() : super(); - factory GetFragmentHistoryRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetFragmentHistoryRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetFragmentHistoryRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'pageToken') - ..aInt64(3, _omitFieldNames ? '' : 'pageLimit') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetFragmentHistoryRequest clone() => GetFragmentHistoryRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetFragmentHistoryRequest copyWith(void Function(GetFragmentHistoryRequest) updates) => super.copyWith((message) => updates(message as GetFragmentHistoryRequest)) as GetFragmentHistoryRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetFragmentHistoryRequest create() => GetFragmentHistoryRequest._(); - GetFragmentHistoryRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetFragmentHistoryRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetFragmentHistoryRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pageToken => $_getSZ(1); - @$pb.TagNumber(2) - set pageToken($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPageToken() => $_has(1); - @$pb.TagNumber(2) - void clearPageToken() => clearField(2); - - @$pb.TagNumber(3) - $fixnum.Int64 get pageLimit => $_getI64(2); - @$pb.TagNumber(3) - set pageLimit($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasPageLimit() => $_has(2); - @$pb.TagNumber(3) - void clearPageLimit() => clearField(3); -} - -class GetFragmentHistoryResponse extends $pb.GeneratedMessage { - factory GetFragmentHistoryResponse({ - $core.Iterable? history, - $core.String? nextPageToken, - }) { - final $result = create(); - if (history != null) { - $result.history.addAll(history); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; - } - GetFragmentHistoryResponse._() : super(); - factory GetFragmentHistoryResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetFragmentHistoryResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetFragmentHistoryResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'history', $pb.PbFieldType.PM, subBuilder: FragmentHistoryEntry.create) - ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetFragmentHistoryResponse clone() => GetFragmentHistoryResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetFragmentHistoryResponse copyWith(void Function(GetFragmentHistoryResponse) updates) => super.copyWith((message) => updates(message as GetFragmentHistoryResponse)) as GetFragmentHistoryResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetFragmentHistoryResponse create() => GetFragmentHistoryResponse._(); - GetFragmentHistoryResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetFragmentHistoryResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetFragmentHistoryResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get history => $_getList(0); - - @$pb.TagNumber(2) - $core.String get nextPageToken => $_getSZ(1); - @$pb.TagNumber(2) - set nextPageToken($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNextPageToken() => $_has(1); - @$pb.TagNumber(2) - void clearNextPageToken() => clearField(2); -} - -class GetFragmentUsageRequest extends $pb.GeneratedMessage { - factory GetFragmentUsageRequest({ - $core.String? fragmentId, - }) { - final $result = create(); - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - return $result; - } - GetFragmentUsageRequest._() : super(); - factory GetFragmentUsageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetFragmentUsageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetFragmentUsageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetFragmentUsageRequest clone() => GetFragmentUsageRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetFragmentUsageRequest copyWith(void Function(GetFragmentUsageRequest) updates) => super.copyWith((message) => updates(message as GetFragmentUsageRequest)) as GetFragmentUsageRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetFragmentUsageRequest create() => GetFragmentUsageRequest._(); - GetFragmentUsageRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetFragmentUsageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetFragmentUsageRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragmentId => $_getSZ(0); - @$pb.TagNumber(1) - set fragmentId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragmentId() => $_has(0); - @$pb.TagNumber(1) - void clearFragmentId() => clearField(1); -} - -class GetFragmentUsageResponse extends $pb.GeneratedMessage { - factory GetFragmentUsageResponse({ - $core.Iterable? versionUsages, - }) { - final $result = create(); - if (versionUsages != null) { - $result.versionUsages.addAll(versionUsages); - } - return $result; - } - GetFragmentUsageResponse._() : super(); - factory GetFragmentUsageResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetFragmentUsageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetFragmentUsageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'versionUsages', $pb.PbFieldType.PM, subBuilder: FragmentUsage.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetFragmentUsageResponse clone() => GetFragmentUsageResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetFragmentUsageResponse copyWith(void Function(GetFragmentUsageResponse) updates) => super.copyWith((message) => updates(message as GetFragmentUsageResponse)) as GetFragmentUsageResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetFragmentUsageResponse create() => GetFragmentUsageResponse._(); - GetFragmentUsageResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetFragmentUsageResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetFragmentUsageResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get versionUsages => $_getList(0); -} - -class SetFragmentTagRequest extends $pb.GeneratedMessage { - factory SetFragmentTagRequest({ - $core.String? fragmentId, - $core.String? tag, - $core.String? revision, - }) { - final $result = create(); - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - if (tag != null) { - $result.tag = tag; - } - if (revision != null) { - $result.revision = revision; - } - return $result; - } - SetFragmentTagRequest._() : super(); - factory SetFragmentTagRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetFragmentTagRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetFragmentTagRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..aOS(2, _omitFieldNames ? '' : 'tag') - ..aOS(3, _omitFieldNames ? '' : 'revision') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetFragmentTagRequest clone() => SetFragmentTagRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetFragmentTagRequest copyWith(void Function(SetFragmentTagRequest) updates) => super.copyWith((message) => updates(message as SetFragmentTagRequest)) as SetFragmentTagRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetFragmentTagRequest create() => SetFragmentTagRequest._(); - SetFragmentTagRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetFragmentTagRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetFragmentTagRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragmentId => $_getSZ(0); - @$pb.TagNumber(1) - set fragmentId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragmentId() => $_has(0); - @$pb.TagNumber(1) - void clearFragmentId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get tag => $_getSZ(1); - @$pb.TagNumber(2) - set tag($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasTag() => $_has(1); - @$pb.TagNumber(2) - void clearTag() => clearField(2); - - @$pb.TagNumber(3) - $core.String get revision => $_getSZ(2); - @$pb.TagNumber(3) - set revision($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasRevision() => $_has(2); - @$pb.TagNumber(3) - void clearRevision() => clearField(3); -} - -class SetFragmentTagResponse extends $pb.GeneratedMessage { - factory SetFragmentTagResponse({ - $core.Iterable? tags, - }) { - final $result = create(); - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - SetFragmentTagResponse._() : super(); - factory SetFragmentTagResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetFragmentTagResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetFragmentTagResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'tags', $pb.PbFieldType.PM, subBuilder: FragmentTag.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetFragmentTagResponse clone() => SetFragmentTagResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetFragmentTagResponse copyWith(void Function(SetFragmentTagResponse) updates) => super.copyWith((message) => updates(message as SetFragmentTagResponse)) as SetFragmentTagResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetFragmentTagResponse create() => SetFragmentTagResponse._(); - SetFragmentTagResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetFragmentTagResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetFragmentTagResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get tags => $_getList(0); -} - -class DeleteFragmentTagRequest extends $pb.GeneratedMessage { - factory DeleteFragmentTagRequest({ - $core.String? fragmentId, - $core.String? tag, - }) { - final $result = create(); - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - if (tag != null) { - $result.tag = tag; - } - return $result; - } - DeleteFragmentTagRequest._() : super(); - factory DeleteFragmentTagRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteFragmentTagRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteFragmentTagRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..aOS(2, _omitFieldNames ? '' : 'tag') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteFragmentTagRequest clone() => DeleteFragmentTagRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteFragmentTagRequest copyWith(void Function(DeleteFragmentTagRequest) updates) => super.copyWith((message) => updates(message as DeleteFragmentTagRequest)) as DeleteFragmentTagRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteFragmentTagRequest create() => DeleteFragmentTagRequest._(); - DeleteFragmentTagRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteFragmentTagRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteFragmentTagRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragmentId => $_getSZ(0); - @$pb.TagNumber(1) - set fragmentId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragmentId() => $_has(0); - @$pb.TagNumber(1) - void clearFragmentId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get tag => $_getSZ(1); - @$pb.TagNumber(2) - set tag($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasTag() => $_has(1); - @$pb.TagNumber(2) - void clearTag() => clearField(2); -} - -class DeleteFragmentTagResponse extends $pb.GeneratedMessage { - factory DeleteFragmentTagResponse({ - $core.Iterable? tags, - }) { - final $result = create(); - if (tags != null) { - $result.tags.addAll(tags); - } - return $result; - } - DeleteFragmentTagResponse._() : super(); - factory DeleteFragmentTagResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteFragmentTagResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteFragmentTagResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'tags', $pb.PbFieldType.PM, subBuilder: FragmentTag.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteFragmentTagResponse clone() => DeleteFragmentTagResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteFragmentTagResponse copyWith(void Function(DeleteFragmentTagResponse) updates) => super.copyWith((message) => updates(message as DeleteFragmentTagResponse)) as DeleteFragmentTagResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteFragmentTagResponse create() => DeleteFragmentTagResponse._(); - DeleteFragmentTagResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteFragmentTagResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteFragmentTagResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get tags => $_getList(0); -} - -class ListRobotsRequest extends $pb.GeneratedMessage { - factory ListRobotsRequest({ - $core.String? locationId, - }) { - final $result = create(); - if (locationId != null) { - $result.locationId = locationId; - } - return $result; - } - ListRobotsRequest._() : super(); - factory ListRobotsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListRobotsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListRobotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListRobotsRequest clone() => ListRobotsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListRobotsRequest copyWith(void Function(ListRobotsRequest) updates) => super.copyWith((message) => updates(message as ListRobotsRequest)) as ListRobotsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListRobotsRequest create() => ListRobotsRequest._(); - ListRobotsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListRobotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListRobotsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get locationId => $_getSZ(0); - @$pb.TagNumber(1) - set locationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocationId() => $_has(0); - @$pb.TagNumber(1) - void clearLocationId() => clearField(1); -} - -class AdditionalFragment extends $pb.GeneratedMessage { - factory AdditionalFragment({ - $core.String? fragmentId, - $core.String? version, - }) { - final $result = create(); - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - if (version != null) { - $result.version = version; - } - return $result; - } - AdditionalFragment._() : super(); - factory AdditionalFragment.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AdditionalFragment.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AdditionalFragment', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AdditionalFragment clone() => AdditionalFragment()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AdditionalFragment copyWith(void Function(AdditionalFragment) updates) => super.copyWith((message) => updates(message as AdditionalFragment)) as AdditionalFragment; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AdditionalFragment create() => AdditionalFragment._(); - AdditionalFragment createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AdditionalFragment getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AdditionalFragment? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragmentId => $_getSZ(0); - @$pb.TagNumber(1) - set fragmentId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragmentId() => $_has(0); - @$pb.TagNumber(1) - void clearFragmentId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); -} - -class ListMachineFragmentsRequest extends $pb.GeneratedMessage { - factory ListMachineFragmentsRequest({ - $core.String? machineId, - $core.Iterable<$core.String>? additionalFragmentIds, - $core.Iterable? additionalFragments, - }) { - final $result = create(); - if (machineId != null) { - $result.machineId = machineId; - } - if (additionalFragmentIds != null) { - $result.additionalFragmentIds.addAll(additionalFragmentIds); - } - if (additionalFragments != null) { - $result.additionalFragments.addAll(additionalFragments); - } - return $result; - } - ListMachineFragmentsRequest._() : super(); - factory ListMachineFragmentsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListMachineFragmentsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListMachineFragmentsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'machineId') - ..pPS(2, _omitFieldNames ? '' : 'additionalFragmentIds') - ..pc(3, _omitFieldNames ? '' : 'additionalFragments', $pb.PbFieldType.PM, subBuilder: AdditionalFragment.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListMachineFragmentsRequest clone() => ListMachineFragmentsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListMachineFragmentsRequest copyWith(void Function(ListMachineFragmentsRequest) updates) => super.copyWith((message) => updates(message as ListMachineFragmentsRequest)) as ListMachineFragmentsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListMachineFragmentsRequest create() => ListMachineFragmentsRequest._(); - ListMachineFragmentsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListMachineFragmentsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListMachineFragmentsRequest? _defaultInstance; - - /// the machine_id used to filter fragments defined in a machine's parts. - /// Also returns any fragments nested within the fragments defined in parts. - @$pb.TagNumber(1) - $core.String get machineId => $_getSZ(0); - @$pb.TagNumber(1) - set machineId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMachineId() => $_has(0); - @$pb.TagNumber(1) - void clearMachineId() => clearField(1); - - /// TODO(APP-7642): Mark this field as deprecated - @$pb.TagNumber(2) - $core.List<$core.String> get additionalFragmentIds => $_getList(1); - - /// additional fragments to append to the response. useful when needing to view fragments that will be - /// provisionally added to the machine alongside existing fragments. - @$pb.TagNumber(3) - $core.List get additionalFragments => $_getList(2); -} - -class ListMachineFragmentsResponse extends $pb.GeneratedMessage { - factory ListMachineFragmentsResponse({ - $core.Iterable? fragments, - $core.Iterable? resolvedFragments, - }) { - final $result = create(); - if (fragments != null) { - $result.fragments.addAll(fragments); - } - if (resolvedFragments != null) { - $result.resolvedFragments.addAll(resolvedFragments); - } - return $result; - } - ListMachineFragmentsResponse._() : super(); - factory ListMachineFragmentsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListMachineFragmentsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListMachineFragmentsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'fragments', $pb.PbFieldType.PM, subBuilder: Fragment.create) - ..pc(2, _omitFieldNames ? '' : 'resolvedFragments', $pb.PbFieldType.PM, subBuilder: ResolvedFragment.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListMachineFragmentsResponse clone() => ListMachineFragmentsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListMachineFragmentsResponse copyWith(void Function(ListMachineFragmentsResponse) updates) => super.copyWith((message) => updates(message as ListMachineFragmentsResponse)) as ListMachineFragmentsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListMachineFragmentsResponse create() => ListMachineFragmentsResponse._(); - ListMachineFragmentsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListMachineFragmentsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListMachineFragmentsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get fragments => $_getList(0); - - @$pb.TagNumber(2) - $core.List get resolvedFragments => $_getList(1); -} - -class ListRobotsResponse extends $pb.GeneratedMessage { - factory ListRobotsResponse({ - $core.Iterable? robots, - }) { - final $result = create(); - if (robots != null) { - $result.robots.addAll(robots); - } - return $result; - } - ListRobotsResponse._() : super(); - factory ListRobotsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListRobotsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListRobotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'robots', $pb.PbFieldType.PM, subBuilder: Robot.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListRobotsResponse clone() => ListRobotsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListRobotsResponse copyWith(void Function(ListRobotsResponse) updates) => super.copyWith((message) => updates(message as ListRobotsResponse)) as ListRobotsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListRobotsResponse create() => ListRobotsResponse._(); - ListRobotsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListRobotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListRobotsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get robots => $_getList(0); -} - -class NewRobotRequest extends $pb.GeneratedMessage { - factory NewRobotRequest({ - $core.String? name, - $core.String? location, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (location != null) { - $result.location = location; - } - return $result; - } - NewRobotRequest._() : super(); - factory NewRobotRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NewRobotRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NewRobotRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'location') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NewRobotRequest clone() => NewRobotRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NewRobotRequest copyWith(void Function(NewRobotRequest) updates) => super.copyWith((message) => updates(message as NewRobotRequest)) as NewRobotRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NewRobotRequest create() => NewRobotRequest._(); - NewRobotRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NewRobotRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NewRobotRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get location => $_getSZ(1); - @$pb.TagNumber(2) - set location($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLocation() => $_has(1); - @$pb.TagNumber(2) - void clearLocation() => clearField(2); -} - -class NewRobotResponse extends $pb.GeneratedMessage { - factory NewRobotResponse({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - NewRobotResponse._() : super(); - factory NewRobotResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NewRobotResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NewRobotResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NewRobotResponse clone() => NewRobotResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NewRobotResponse copyWith(void Function(NewRobotResponse) updates) => super.copyWith((message) => updates(message as NewRobotResponse)) as NewRobotResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NewRobotResponse create() => NewRobotResponse._(); - NewRobotResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NewRobotResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NewRobotResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class UpdateRobotRequest extends $pb.GeneratedMessage { - factory UpdateRobotRequest({ - $core.String? id, - $core.String? name, - $core.String? location, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (location != null) { - $result.location = location; - } - return $result; - } - UpdateRobotRequest._() : super(); - factory UpdateRobotRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'location') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotRequest clone() => UpdateRobotRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotRequest copyWith(void Function(UpdateRobotRequest) updates) => super.copyWith((message) => updates(message as UpdateRobotRequest)) as UpdateRobotRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotRequest create() => UpdateRobotRequest._(); - UpdateRobotRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get location => $_getSZ(2); - @$pb.TagNumber(3) - set location($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLocation() => $_has(2); - @$pb.TagNumber(3) - void clearLocation() => clearField(3); -} - -class UpdateRobotResponse extends $pb.GeneratedMessage { - factory UpdateRobotResponse({ - Robot? robot, - }) { - final $result = create(); - if (robot != null) { - $result.robot = robot; - } - return $result; - } - UpdateRobotResponse._() : super(); - factory UpdateRobotResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'robot', subBuilder: Robot.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotResponse clone() => UpdateRobotResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotResponse copyWith(void Function(UpdateRobotResponse) updates) => super.copyWith((message) => updates(message as UpdateRobotResponse)) as UpdateRobotResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotResponse create() => UpdateRobotResponse._(); - UpdateRobotResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotResponse? _defaultInstance; - - @$pb.TagNumber(1) - Robot get robot => $_getN(0); - @$pb.TagNumber(1) - set robot(Robot v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasRobot() => $_has(0); - @$pb.TagNumber(1) - void clearRobot() => clearField(1); - @$pb.TagNumber(1) - Robot ensureRobot() => $_ensure(0); -} - -class DeleteRobotRequest extends $pb.GeneratedMessage { - factory DeleteRobotRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - DeleteRobotRequest._() : super(); - factory DeleteRobotRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRobotRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRobotRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRobotRequest clone() => DeleteRobotRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRobotRequest copyWith(void Function(DeleteRobotRequest) updates) => super.copyWith((message) => updates(message as DeleteRobotRequest)) as DeleteRobotRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRobotRequest create() => DeleteRobotRequest._(); - DeleteRobotRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRobotRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRobotRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class DeleteRobotResponse extends $pb.GeneratedMessage { - factory DeleteRobotResponse() => create(); - DeleteRobotResponse._() : super(); - factory DeleteRobotResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRobotResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRobotResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRobotResponse clone() => DeleteRobotResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRobotResponse copyWith(void Function(DeleteRobotResponse) updates) => super.copyWith((message) => updates(message as DeleteRobotResponse)) as DeleteRobotResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRobotResponse create() => DeleteRobotResponse._(); - DeleteRobotResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRobotResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRobotResponse? _defaultInstance; -} - -class GetRobotMetadataRequest extends $pb.GeneratedMessage { - factory GetRobotMetadataRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - GetRobotMetadataRequest._() : super(); - factory GetRobotMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotMetadataRequest clone() => GetRobotMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotMetadataRequest copyWith(void Function(GetRobotMetadataRequest) updates) => super.copyWith((message) => updates(message as GetRobotMetadataRequest)) as GetRobotMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotMetadataRequest create() => GetRobotMetadataRequest._(); - GetRobotMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class GetRobotMetadataResponse extends $pb.GeneratedMessage { - factory GetRobotMetadataResponse({ - $46.Struct? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - GetRobotMetadataResponse._() : super(); - factory GetRobotMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRobotMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$46.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRobotMetadataResponse clone() => GetRobotMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRobotMetadataResponse copyWith(void Function(GetRobotMetadataResponse) updates) => super.copyWith((message) => updates(message as GetRobotMetadataResponse)) as GetRobotMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRobotMetadataResponse create() => GetRobotMetadataResponse._(); - GetRobotMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRobotMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRobotMetadataResponse? _defaultInstance; - - @$pb.TagNumber(1) - $46.Struct get data => $_getN(0); - @$pb.TagNumber(1) - set data($46.Struct v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); - @$pb.TagNumber(1) - $46.Struct ensureData() => $_ensure(0); -} - -class UpdateRobotMetadataRequest extends $pb.GeneratedMessage { - factory UpdateRobotMetadataRequest({ - $core.String? id, - $46.Struct? data, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (data != null) { - $result.data = data; - } - return $result; - } - UpdateRobotMetadataRequest._() : super(); - factory UpdateRobotMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'data', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotMetadataRequest clone() => UpdateRobotMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotMetadataRequest copyWith(void Function(UpdateRobotMetadataRequest) updates) => super.copyWith((message) => updates(message as UpdateRobotMetadataRequest)) as UpdateRobotMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotMetadataRequest create() => UpdateRobotMetadataRequest._(); - UpdateRobotMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotMetadataRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $46.Struct get data => $_getN(1); - @$pb.TagNumber(2) - set data($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureData() => $_ensure(1); -} - -class UpdateRobotMetadataResponse extends $pb.GeneratedMessage { - factory UpdateRobotMetadataResponse() => create(); - UpdateRobotMetadataResponse._() : super(); - factory UpdateRobotMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRobotMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRobotMetadataResponse clone() => UpdateRobotMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRobotMetadataResponse copyWith(void Function(UpdateRobotMetadataResponse) updates) => super.copyWith((message) => updates(message as UpdateRobotMetadataResponse)) as UpdateRobotMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRobotMetadataResponse create() => UpdateRobotMetadataResponse._(); - UpdateRobotMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRobotMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRobotMetadataResponse? _defaultInstance; -} - -class MarkPartAsMainRequest extends $pb.GeneratedMessage { - factory MarkPartAsMainRequest({ - $core.String? partId, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - return $result; - } - MarkPartAsMainRequest._() : super(); - factory MarkPartAsMainRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MarkPartAsMainRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarkPartAsMainRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MarkPartAsMainRequest clone() => MarkPartAsMainRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MarkPartAsMainRequest copyWith(void Function(MarkPartAsMainRequest) updates) => super.copyWith((message) => updates(message as MarkPartAsMainRequest)) as MarkPartAsMainRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MarkPartAsMainRequest create() => MarkPartAsMainRequest._(); - MarkPartAsMainRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MarkPartAsMainRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MarkPartAsMainRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); -} - -class MarkPartAsMainResponse extends $pb.GeneratedMessage { - factory MarkPartAsMainResponse() => create(); - MarkPartAsMainResponse._() : super(); - factory MarkPartAsMainResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MarkPartAsMainResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarkPartAsMainResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MarkPartAsMainResponse clone() => MarkPartAsMainResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MarkPartAsMainResponse copyWith(void Function(MarkPartAsMainResponse) updates) => super.copyWith((message) => updates(message as MarkPartAsMainResponse)) as MarkPartAsMainResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MarkPartAsMainResponse create() => MarkPartAsMainResponse._(); - MarkPartAsMainResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MarkPartAsMainResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MarkPartAsMainResponse? _defaultInstance; -} - -class MarkPartForRestartRequest extends $pb.GeneratedMessage { - factory MarkPartForRestartRequest({ - $core.String? partId, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - return $result; - } - MarkPartForRestartRequest._() : super(); - factory MarkPartForRestartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MarkPartForRestartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarkPartForRestartRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MarkPartForRestartRequest clone() => MarkPartForRestartRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MarkPartForRestartRequest copyWith(void Function(MarkPartForRestartRequest) updates) => super.copyWith((message) => updates(message as MarkPartForRestartRequest)) as MarkPartForRestartRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MarkPartForRestartRequest create() => MarkPartForRestartRequest._(); - MarkPartForRestartRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MarkPartForRestartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MarkPartForRestartRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); -} - -class MarkPartForRestartResponse extends $pb.GeneratedMessage { - factory MarkPartForRestartResponse() => create(); - MarkPartForRestartResponse._() : super(); - factory MarkPartForRestartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MarkPartForRestartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MarkPartForRestartResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MarkPartForRestartResponse clone() => MarkPartForRestartResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MarkPartForRestartResponse copyWith(void Function(MarkPartForRestartResponse) updates) => super.copyWith((message) => updates(message as MarkPartForRestartResponse)) as MarkPartForRestartResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MarkPartForRestartResponse create() => MarkPartForRestartResponse._(); - MarkPartForRestartResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MarkPartForRestartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MarkPartForRestartResponse? _defaultInstance; -} - -class CreateRobotPartSecretRequest extends $pb.GeneratedMessage { - factory CreateRobotPartSecretRequest({ - $core.String? partId, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - return $result; - } - CreateRobotPartSecretRequest._() : super(); - factory CreateRobotPartSecretRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateRobotPartSecretRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRobotPartSecretRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateRobotPartSecretRequest clone() => CreateRobotPartSecretRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateRobotPartSecretRequest copyWith(void Function(CreateRobotPartSecretRequest) updates) => super.copyWith((message) => updates(message as CreateRobotPartSecretRequest)) as CreateRobotPartSecretRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateRobotPartSecretRequest create() => CreateRobotPartSecretRequest._(); - CreateRobotPartSecretRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateRobotPartSecretRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateRobotPartSecretRequest? _defaultInstance; - - /// Robot Part ID to create the secret in. - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); -} - -class CreateRobotPartSecretResponse extends $pb.GeneratedMessage { - factory CreateRobotPartSecretResponse({ - RobotPart? part, - }) { - final $result = create(); - if (part != null) { - $result.part = part; - } - return $result; - } - CreateRobotPartSecretResponse._() : super(); - factory CreateRobotPartSecretResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateRobotPartSecretResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRobotPartSecretResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'part', subBuilder: RobotPart.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateRobotPartSecretResponse clone() => CreateRobotPartSecretResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateRobotPartSecretResponse copyWith(void Function(CreateRobotPartSecretResponse) updates) => super.copyWith((message) => updates(message as CreateRobotPartSecretResponse)) as CreateRobotPartSecretResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateRobotPartSecretResponse create() => CreateRobotPartSecretResponse._(); - CreateRobotPartSecretResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateRobotPartSecretResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateRobotPartSecretResponse? _defaultInstance; - - /// Location's auth after updates. - @$pb.TagNumber(1) - RobotPart get part => $_getN(0); - @$pb.TagNumber(1) - set part(RobotPart v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPart() => $_has(0); - @$pb.TagNumber(1) - void clearPart() => clearField(1); - @$pb.TagNumber(1) - RobotPart ensurePart() => $_ensure(0); -} - -class DeleteRobotPartSecretRequest extends $pb.GeneratedMessage { - factory DeleteRobotPartSecretRequest({ - $core.String? partId, - $core.String? secretId, - }) { - final $result = create(); - if (partId != null) { - $result.partId = partId; - } - if (secretId != null) { - $result.secretId = secretId; - } - return $result; - } - DeleteRobotPartSecretRequest._() : super(); - factory DeleteRobotPartSecretRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRobotPartSecretRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRobotPartSecretRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'partId') - ..aOS(2, _omitFieldNames ? '' : 'secretId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRobotPartSecretRequest clone() => DeleteRobotPartSecretRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRobotPartSecretRequest copyWith(void Function(DeleteRobotPartSecretRequest) updates) => super.copyWith((message) => updates(message as DeleteRobotPartSecretRequest)) as DeleteRobotPartSecretRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRobotPartSecretRequest create() => DeleteRobotPartSecretRequest._(); - DeleteRobotPartSecretRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRobotPartSecretRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRobotPartSecretRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get partId => $_getSZ(0); - @$pb.TagNumber(1) - set partId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPartId() => $_has(0); - @$pb.TagNumber(1) - void clearPartId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get secretId => $_getSZ(1); - @$pb.TagNumber(2) - set secretId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSecretId() => $_has(1); - @$pb.TagNumber(2) - void clearSecretId() => clearField(2); -} - -class DeleteRobotPartSecretResponse extends $pb.GeneratedMessage { - factory DeleteRobotPartSecretResponse() => create(); - DeleteRobotPartSecretResponse._() : super(); - factory DeleteRobotPartSecretResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRobotPartSecretResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRobotPartSecretResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRobotPartSecretResponse clone() => DeleteRobotPartSecretResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRobotPartSecretResponse copyWith(void Function(DeleteRobotPartSecretResponse) updates) => super.copyWith((message) => updates(message as DeleteRobotPartSecretResponse)) as DeleteRobotPartSecretResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRobotPartSecretResponse create() => DeleteRobotPartSecretResponse._(); - DeleteRobotPartSecretResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRobotPartSecretResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRobotPartSecretResponse? _defaultInstance; -} - -class Authorization extends $pb.GeneratedMessage { - factory Authorization({ - $core.String? authorizationType, - $core.String? authorizationId, - $core.String? resourceType, - $core.String? resourceId, - $core.String? identityId, - $core.String? organizationId, - $core.String? identityType, - }) { - final $result = create(); - if (authorizationType != null) { - $result.authorizationType = authorizationType; - } - if (authorizationId != null) { - $result.authorizationId = authorizationId; - } - if (resourceType != null) { - $result.resourceType = resourceType; - } - if (resourceId != null) { - $result.resourceId = resourceId; - } - if (identityId != null) { - $result.identityId = identityId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (identityType != null) { - $result.identityType = identityType; - } - return $result; - } - Authorization._() : super(); - factory Authorization.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Authorization.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Authorization', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'authorizationType') - ..aOS(2, _omitFieldNames ? '' : 'authorizationId') - ..aOS(3, _omitFieldNames ? '' : 'resourceType') - ..aOS(4, _omitFieldNames ? '' : 'resourceId') - ..aOS(5, _omitFieldNames ? '' : 'identityId') - ..aOS(6, _omitFieldNames ? '' : 'organizationId') - ..aOS(7, _omitFieldNames ? '' : 'identityType') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Authorization clone() => Authorization()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Authorization copyWith(void Function(Authorization) updates) => super.copyWith((message) => updates(message as Authorization)) as Authorization; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Authorization create() => Authorization._(); - Authorization createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Authorization getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Authorization? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get authorizationType => $_getSZ(0); - @$pb.TagNumber(1) - set authorizationType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasAuthorizationType() => $_has(0); - @$pb.TagNumber(1) - void clearAuthorizationType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get authorizationId => $_getSZ(1); - @$pb.TagNumber(2) - set authorizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasAuthorizationId() => $_has(1); - @$pb.TagNumber(2) - void clearAuthorizationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get resourceType => $_getSZ(2); - @$pb.TagNumber(3) - set resourceType($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasResourceType() => $_has(2); - @$pb.TagNumber(3) - void clearResourceType() => clearField(3); - - @$pb.TagNumber(4) - $core.String get resourceId => $_getSZ(3); - @$pb.TagNumber(4) - set resourceId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasResourceId() => $_has(3); - @$pb.TagNumber(4) - void clearResourceId() => clearField(4); - - @$pb.TagNumber(5) - $core.String get identityId => $_getSZ(4); - @$pb.TagNumber(5) - set identityId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasIdentityId() => $_has(4); - @$pb.TagNumber(5) - void clearIdentityId() => clearField(5); - - @$pb.TagNumber(6) - $core.String get organizationId => $_getSZ(5); - @$pb.TagNumber(6) - set organizationId($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasOrganizationId() => $_has(5); - @$pb.TagNumber(6) - void clearOrganizationId() => clearField(6); - - @$pb.TagNumber(7) - $core.String get identityType => $_getSZ(6); - @$pb.TagNumber(7) - set identityType($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasIdentityType() => $_has(6); - @$pb.TagNumber(7) - void clearIdentityType() => clearField(7); -} - -class AddRoleRequest extends $pb.GeneratedMessage { - factory AddRoleRequest({ - Authorization? authorization, - }) { - final $result = create(); - if (authorization != null) { - $result.authorization = authorization; - } - return $result; - } - AddRoleRequest._() : super(); - factory AddRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'authorization', subBuilder: Authorization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddRoleRequest clone() => AddRoleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddRoleRequest copyWith(void Function(AddRoleRequest) updates) => super.copyWith((message) => updates(message as AddRoleRequest)) as AddRoleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddRoleRequest create() => AddRoleRequest._(); - AddRoleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddRoleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddRoleRequest? _defaultInstance; - - @$pb.TagNumber(1) - Authorization get authorization => $_getN(0); - @$pb.TagNumber(1) - set authorization(Authorization v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasAuthorization() => $_has(0); - @$pb.TagNumber(1) - void clearAuthorization() => clearField(1); - @$pb.TagNumber(1) - Authorization ensureAuthorization() => $_ensure(0); -} - -class AddRoleResponse extends $pb.GeneratedMessage { - factory AddRoleResponse() => create(); - AddRoleResponse._() : super(); - factory AddRoleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddRoleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddRoleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddRoleResponse clone() => AddRoleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddRoleResponse copyWith(void Function(AddRoleResponse) updates) => super.copyWith((message) => updates(message as AddRoleResponse)) as AddRoleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddRoleResponse create() => AddRoleResponse._(); - AddRoleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddRoleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddRoleResponse? _defaultInstance; -} - -class RemoveRoleRequest extends $pb.GeneratedMessage { - factory RemoveRoleRequest({ - Authorization? authorization, - }) { - final $result = create(); - if (authorization != null) { - $result.authorization = authorization; - } - return $result; - } - RemoveRoleRequest._() : super(); - factory RemoveRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'authorization', subBuilder: Authorization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveRoleRequest clone() => RemoveRoleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveRoleRequest copyWith(void Function(RemoveRoleRequest) updates) => super.copyWith((message) => updates(message as RemoveRoleRequest)) as RemoveRoleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveRoleRequest create() => RemoveRoleRequest._(); - RemoveRoleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveRoleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveRoleRequest? _defaultInstance; - - @$pb.TagNumber(1) - Authorization get authorization => $_getN(0); - @$pb.TagNumber(1) - set authorization(Authorization v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasAuthorization() => $_has(0); - @$pb.TagNumber(1) - void clearAuthorization() => clearField(1); - @$pb.TagNumber(1) - Authorization ensureAuthorization() => $_ensure(0); -} - -class RemoveRoleResponse extends $pb.GeneratedMessage { - factory RemoveRoleResponse() => create(); - RemoveRoleResponse._() : super(); - factory RemoveRoleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveRoleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveRoleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveRoleResponse clone() => RemoveRoleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveRoleResponse copyWith(void Function(RemoveRoleResponse) updates) => super.copyWith((message) => updates(message as RemoveRoleResponse)) as RemoveRoleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveRoleResponse create() => RemoveRoleResponse._(); - RemoveRoleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveRoleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveRoleResponse? _defaultInstance; -} - -class ChangeRoleRequest extends $pb.GeneratedMessage { - factory ChangeRoleRequest({ - Authorization? oldAuthorization, - Authorization? newAuthorization, - }) { - final $result = create(); - if (oldAuthorization != null) { - $result.oldAuthorization = oldAuthorization; - } - if (newAuthorization != null) { - $result.newAuthorization = newAuthorization; - } - return $result; - } - ChangeRoleRequest._() : super(); - factory ChangeRoleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ChangeRoleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChangeRoleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'oldAuthorization', subBuilder: Authorization.create) - ..aOM(2, _omitFieldNames ? '' : 'newAuthorization', subBuilder: Authorization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ChangeRoleRequest clone() => ChangeRoleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ChangeRoleRequest copyWith(void Function(ChangeRoleRequest) updates) => super.copyWith((message) => updates(message as ChangeRoleRequest)) as ChangeRoleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ChangeRoleRequest create() => ChangeRoleRequest._(); - ChangeRoleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ChangeRoleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ChangeRoleRequest? _defaultInstance; - - @$pb.TagNumber(1) - Authorization get oldAuthorization => $_getN(0); - @$pb.TagNumber(1) - set oldAuthorization(Authorization v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOldAuthorization() => $_has(0); - @$pb.TagNumber(1) - void clearOldAuthorization() => clearField(1); - @$pb.TagNumber(1) - Authorization ensureOldAuthorization() => $_ensure(0); - - @$pb.TagNumber(2) - Authorization get newAuthorization => $_getN(1); - @$pb.TagNumber(2) - set newAuthorization(Authorization v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasNewAuthorization() => $_has(1); - @$pb.TagNumber(2) - void clearNewAuthorization() => clearField(2); - @$pb.TagNumber(2) - Authorization ensureNewAuthorization() => $_ensure(1); -} - -class ChangeRoleResponse extends $pb.GeneratedMessage { - factory ChangeRoleResponse() => create(); - ChangeRoleResponse._() : super(); - factory ChangeRoleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ChangeRoleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChangeRoleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ChangeRoleResponse clone() => ChangeRoleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ChangeRoleResponse copyWith(void Function(ChangeRoleResponse) updates) => super.copyWith((message) => updates(message as ChangeRoleResponse)) as ChangeRoleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ChangeRoleResponse create() => ChangeRoleResponse._(); - ChangeRoleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ChangeRoleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ChangeRoleResponse? _defaultInstance; -} - -class ListAuthorizationsRequest extends $pb.GeneratedMessage { - factory ListAuthorizationsRequest({ - $core.String? organizationId, - $core.Iterable<$core.String>? resourceIds, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (resourceIds != null) { - $result.resourceIds.addAll(resourceIds); - } - return $result; - } - ListAuthorizationsRequest._() : super(); - factory ListAuthorizationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListAuthorizationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListAuthorizationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..pPS(2, _omitFieldNames ? '' : 'resourceIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListAuthorizationsRequest clone() => ListAuthorizationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListAuthorizationsRequest copyWith(void Function(ListAuthorizationsRequest) updates) => super.copyWith((message) => updates(message as ListAuthorizationsRequest)) as ListAuthorizationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListAuthorizationsRequest create() => ListAuthorizationsRequest._(); - ListAuthorizationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListAuthorizationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListAuthorizationsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$core.String> get resourceIds => $_getList(1); -} - -class ListAuthorizationsResponse extends $pb.GeneratedMessage { - factory ListAuthorizationsResponse({ - $core.Iterable? authorizations, - }) { - final $result = create(); - if (authorizations != null) { - $result.authorizations.addAll(authorizations); - } - return $result; - } - ListAuthorizationsResponse._() : super(); - factory ListAuthorizationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListAuthorizationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListAuthorizationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListAuthorizationsResponse clone() => ListAuthorizationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListAuthorizationsResponse copyWith(void Function(ListAuthorizationsResponse) updates) => super.copyWith((message) => updates(message as ListAuthorizationsResponse)) as ListAuthorizationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListAuthorizationsResponse create() => ListAuthorizationsResponse._(); - ListAuthorizationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListAuthorizationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListAuthorizationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get authorizations => $_getList(0); -} - -class CheckPermissionsRequest extends $pb.GeneratedMessage { - factory CheckPermissionsRequest({ - $core.Iterable? permissions, - }) { - final $result = create(); - if (permissions != null) { - $result.permissions.addAll(permissions); - } - return $result; - } - CheckPermissionsRequest._() : super(); - factory CheckPermissionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CheckPermissionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckPermissionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'permissions', $pb.PbFieldType.PM, subBuilder: AuthorizedPermissions.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CheckPermissionsRequest clone() => CheckPermissionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CheckPermissionsRequest copyWith(void Function(CheckPermissionsRequest) updates) => super.copyWith((message) => updates(message as CheckPermissionsRequest)) as CheckPermissionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CheckPermissionsRequest create() => CheckPermissionsRequest._(); - CheckPermissionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CheckPermissionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CheckPermissionsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get permissions => $_getList(0); -} - -class AuthorizedPermissions extends $pb.GeneratedMessage { - factory AuthorizedPermissions({ - $core.String? resourceType, - $core.String? resourceId, - $core.Iterable<$core.String>? permissions, - }) { - final $result = create(); - if (resourceType != null) { - $result.resourceType = resourceType; - } - if (resourceId != null) { - $result.resourceId = resourceId; - } - if (permissions != null) { - $result.permissions.addAll(permissions); - } - return $result; - } - AuthorizedPermissions._() : super(); - factory AuthorizedPermissions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthorizedPermissions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthorizedPermissions', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'resourceType') - ..aOS(2, _omitFieldNames ? '' : 'resourceId') - ..pPS(3, _omitFieldNames ? '' : 'permissions') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthorizedPermissions clone() => AuthorizedPermissions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthorizedPermissions copyWith(void Function(AuthorizedPermissions) updates) => super.copyWith((message) => updates(message as AuthorizedPermissions)) as AuthorizedPermissions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthorizedPermissions create() => AuthorizedPermissions._(); - AuthorizedPermissions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthorizedPermissions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthorizedPermissions? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get resourceType => $_getSZ(0); - @$pb.TagNumber(1) - set resourceType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasResourceType() => $_has(0); - @$pb.TagNumber(1) - void clearResourceType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get resourceId => $_getSZ(1); - @$pb.TagNumber(2) - set resourceId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasResourceId() => $_has(1); - @$pb.TagNumber(2) - void clearResourceId() => clearField(2); - - @$pb.TagNumber(3) - $core.List<$core.String> get permissions => $_getList(2); -} - -class CheckPermissionsResponse extends $pb.GeneratedMessage { - factory CheckPermissionsResponse({ - $core.Iterable? authorizedPermissions, - }) { - final $result = create(); - if (authorizedPermissions != null) { - $result.authorizedPermissions.addAll(authorizedPermissions); - } - return $result; - } - CheckPermissionsResponse._() : super(); - factory CheckPermissionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CheckPermissionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckPermissionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'authorizedPermissions', $pb.PbFieldType.PM, subBuilder: AuthorizedPermissions.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CheckPermissionsResponse clone() => CheckPermissionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CheckPermissionsResponse copyWith(void Function(CheckPermissionsResponse) updates) => super.copyWith((message) => updates(message as CheckPermissionsResponse)) as CheckPermissionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CheckPermissionsResponse create() => CheckPermissionsResponse._(); - CheckPermissionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CheckPermissionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CheckPermissionsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get authorizedPermissions => $_getList(0); -} - -class ModuleVersion extends $pb.GeneratedMessage { - factory ModuleVersion({ - $core.String? version, - $core.Iterable? files, - $core.Iterable? models, - $core.String? entrypoint, - $core.String? firstRun, - }) { - final $result = create(); - if (version != null) { - $result.version = version; - } - if (files != null) { - $result.files.addAll(files); - } - if (models != null) { - $result.models.addAll(models); - } - if (entrypoint != null) { - $result.entrypoint = entrypoint; - } - if (firstRun != null) { - $result.firstRun = firstRun; - } - return $result; - } - ModuleVersion._() : super(); - factory ModuleVersion.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ModuleVersion.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ModuleVersion', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'version') - ..pc(2, _omitFieldNames ? '' : 'files', $pb.PbFieldType.PM, subBuilder: Uploads.create) - ..pc(3, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) - ..aOS(4, _omitFieldNames ? '' : 'entrypoint') - ..aOS(5, _omitFieldNames ? '' : 'firstRun') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ModuleVersion clone() => ModuleVersion()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ModuleVersion copyWith(void Function(ModuleVersion) updates) => super.copyWith((message) => updates(message as ModuleVersion)) as ModuleVersion; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ModuleVersion create() => ModuleVersion._(); - ModuleVersion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ModuleVersion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ModuleVersion? _defaultInstance; - - /// The semver string that represents the major/minor/patch version of the module - @$pb.TagNumber(1) - $core.String get version => $_getSZ(0); - @$pb.TagNumber(1) - set version($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasVersion() => $_has(0); - @$pb.TagNumber(1) - void clearVersion() => clearField(1); - - /// The uploads that are available for this module version - @$pb.TagNumber(2) - $core.List get files => $_getList(1); - - /// The models that this verion of the module provides - @$pb.TagNumber(3) - $core.List get models => $_getList(2); - - /// The entrypoint for this version of the module - @$pb.TagNumber(4) - $core.String get entrypoint => $_getSZ(3); - @$pb.TagNumber(4) - set entrypoint($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasEntrypoint() => $_has(3); - @$pb.TagNumber(4) - void clearEntrypoint() => clearField(4); - - /// The path to a setup script that is run before a newly downloaded module starts. - @$pb.TagNumber(5) - $core.String get firstRun => $_getSZ(4); - @$pb.TagNumber(5) - set firstRun($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasFirstRun() => $_has(4); - @$pb.TagNumber(5) - void clearFirstRun() => clearField(5); -} - -class ModuleMetadata extends $pb.GeneratedMessage { - factory ModuleMetadata({ - $core.Iterable? models, - $core.Iterable? versions, - $core.String? entrypoint, - $core.String? firstRun, - }) { - final $result = create(); - if (models != null) { - $result.models.addAll(models); - } - if (versions != null) { - $result.versions.addAll(versions); - } - if (entrypoint != null) { - $result.entrypoint = entrypoint; - } - if (firstRun != null) { - $result.firstRun = firstRun; - } - return $result; - } - ModuleMetadata._() : super(); - factory ModuleMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ModuleMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ModuleMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) - ..pc(2, _omitFieldNames ? '' : 'versions', $pb.PbFieldType.PM, subBuilder: ModuleVersion.create) - ..aOS(3, _omitFieldNames ? '' : 'entrypoint') - ..aOS(4, _omitFieldNames ? '' : 'firstRun') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ModuleMetadata clone() => ModuleMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ModuleMetadata copyWith(void Function(ModuleMetadata) updates) => super.copyWith((message) => updates(message as ModuleMetadata)) as ModuleMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ModuleMetadata create() => ModuleMetadata._(); - ModuleMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ModuleMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ModuleMetadata? _defaultInstance; - - /// A list of models that are available in the module - @$pb.TagNumber(1) - $core.List get models => $_getList(0); - - /// A list of versions of the module that are available - /// When this is returned from the backend, the versions are sorted in ascending order by the semver version - @$pb.TagNumber(2) - $core.List get versions => $_getList(1); - - /// The executable to run to start the module program - @$pb.TagNumber(3) - $core.String get entrypoint => $_getSZ(2); - @$pb.TagNumber(3) - set entrypoint($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasEntrypoint() => $_has(2); - @$pb.TagNumber(3) - void clearEntrypoint() => clearField(3); - - /// The path to a setup script that is run before a newly downloaded module starts. - @$pb.TagNumber(4) - $core.String get firstRun => $_getSZ(3); - @$pb.TagNumber(4) - set firstRun($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasFirstRun() => $_has(3); - @$pb.TagNumber(4) - void clearFirstRun() => clearField(4); -} - -class MLModelMetadata extends $pb.GeneratedMessage { - factory MLModelMetadata({ - $core.Iterable<$core.String>? versions, - $8.ModelType? modelType, - $8.ModelFramework? modelFramework, - }) { - final $result = create(); - if (versions != null) { - $result.versions.addAll(versions); - } - if (modelType != null) { - $result.modelType = modelType; - } - if (modelFramework != null) { - $result.modelFramework = modelFramework; - } - return $result; - } - MLModelMetadata._() : super(); - factory MLModelMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MLModelMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MLModelMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'versions') - ..e<$8.ModelType>(2, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $8.ModelType.valueOf, enumValues: $8.ModelType.values) - ..e<$8.ModelFramework>(3, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $8.ModelFramework.valueOf, enumValues: $8.ModelFramework.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MLModelMetadata clone() => MLModelMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MLModelMetadata copyWith(void Function(MLModelMetadata) updates) => super.copyWith((message) => updates(message as MLModelMetadata)) as MLModelMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MLModelMetadata create() => MLModelMetadata._(); - MLModelMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MLModelMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MLModelMetadata? _defaultInstance; - - /// A list of package versions for a ML model - @$pb.TagNumber(1) - $core.List<$core.String> get versions => $_getList(0); - - @$pb.TagNumber(2) - $8.ModelType get modelType => $_getN(1); - @$pb.TagNumber(2) - set modelType($8.ModelType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasModelType() => $_has(1); - @$pb.TagNumber(2) - void clearModelType() => clearField(2); - - @$pb.TagNumber(3) - $8.ModelFramework get modelFramework => $_getN(2); - @$pb.TagNumber(3) - set modelFramework($8.ModelFramework v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasModelFramework() => $_has(2); - @$pb.TagNumber(3) - void clearModelFramework() => clearField(3); -} - -class MLTrainingVersion extends $pb.GeneratedMessage { - factory MLTrainingVersion({ - $core.String? version, - $47.Timestamp? createdOn, - }) { - final $result = create(); - if (version != null) { - $result.version = version; - } - if (createdOn != null) { - $result.createdOn = createdOn; - } - return $result; - } - MLTrainingVersion._() : super(); - factory MLTrainingVersion.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MLTrainingVersion.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MLTrainingVersion', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'version') - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'createdOn', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MLTrainingVersion clone() => MLTrainingVersion()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MLTrainingVersion copyWith(void Function(MLTrainingVersion) updates) => super.copyWith((message) => updates(message as MLTrainingVersion)) as MLTrainingVersion; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MLTrainingVersion create() => MLTrainingVersion._(); - MLTrainingVersion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MLTrainingVersion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MLTrainingVersion? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get version => $_getSZ(0); - @$pb.TagNumber(1) - set version($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasVersion() => $_has(0); - @$pb.TagNumber(1) - void clearVersion() => clearField(1); - - @$pb.TagNumber(2) - $47.Timestamp get createdOn => $_getN(1); - @$pb.TagNumber(2) - set createdOn($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCreatedOn() => $_has(1); - @$pb.TagNumber(2) - void clearCreatedOn() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureCreatedOn() => $_ensure(1); -} - -class MLTrainingMetadata extends $pb.GeneratedMessage { - factory MLTrainingMetadata({ - $8.ModelType? modelType, - $8.ModelFramework? modelFramework, - $core.bool? draft, - $core.Iterable? versions, - }) { - final $result = create(); - if (modelType != null) { - $result.modelType = modelType; - } - if (modelFramework != null) { - $result.modelFramework = modelFramework; - } - if (draft != null) { - $result.draft = draft; - } - if (versions != null) { - $result.versions.addAll(versions); - } - return $result; - } - MLTrainingMetadata._() : super(); - factory MLTrainingMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MLTrainingMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MLTrainingMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e<$8.ModelType>(2, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $8.ModelType.valueOf, enumValues: $8.ModelType.values) - ..e<$8.ModelFramework>(3, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $8.ModelFramework.valueOf, enumValues: $8.ModelFramework.values) - ..aOB(4, _omitFieldNames ? '' : 'draft') - ..pc(5, _omitFieldNames ? '' : 'versions', $pb.PbFieldType.PM, subBuilder: MLTrainingVersion.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MLTrainingMetadata clone() => MLTrainingMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MLTrainingMetadata copyWith(void Function(MLTrainingMetadata) updates) => super.copyWith((message) => updates(message as MLTrainingMetadata)) as MLTrainingMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MLTrainingMetadata create() => MLTrainingMetadata._(); - MLTrainingMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MLTrainingMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MLTrainingMetadata? _defaultInstance; - - @$pb.TagNumber(2) - $8.ModelType get modelType => $_getN(0); - @$pb.TagNumber(2) - set modelType($8.ModelType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasModelType() => $_has(0); - @$pb.TagNumber(2) - void clearModelType() => clearField(2); - - @$pb.TagNumber(3) - $8.ModelFramework get modelFramework => $_getN(1); - @$pb.TagNumber(3) - set modelFramework($8.ModelFramework v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasModelFramework() => $_has(1); - @$pb.TagNumber(3) - void clearModelFramework() => clearField(3); - - @$pb.TagNumber(4) - $core.bool get draft => $_getBF(2); - @$pb.TagNumber(4) - set draft($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(4) - $core.bool hasDraft() => $_has(2); - @$pb.TagNumber(4) - void clearDraft() => clearField(4); - - /// A list of package versions for ML training source distribution - @$pb.TagNumber(5) - $core.List get versions => $_getList(3); -} - -enum RegistryItem_Metadata { - moduleMetadata, - mlModelMetadata, - mlTrainingMetadata, - notSet -} - -class RegistryItem extends $pb.GeneratedMessage { - factory RegistryItem({ - $core.String? itemId, - $core.String? organizationId, - $core.String? publicNamespace, - $core.String? name, - $9.PackageType? type, - Visibility? visibility, - $core.String? url, - $core.String? description, - $fixnum.Int64? totalRobotUsage, - $fixnum.Int64? totalOrganizationUsage, - ModuleMetadata? moduleMetadata, - MLModelMetadata? mlModelMetadata, - $fixnum.Int64? totalExternalRobotUsage, - $fixnum.Int64? totalExternalOrganizationUsage, - $47.Timestamp? createdAt, - $47.Timestamp? updatedAt, - MLTrainingMetadata? mlTrainingMetadata, - }) { - final $result = create(); - if (itemId != null) { - $result.itemId = itemId; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - if (name != null) { - $result.name = name; - } - if (type != null) { - $result.type = type; - } - if (visibility != null) { - $result.visibility = visibility; - } - if (url != null) { - $result.url = url; - } - if (description != null) { - $result.description = description; - } - if (totalRobotUsage != null) { - $result.totalRobotUsage = totalRobotUsage; - } - if (totalOrganizationUsage != null) { - $result.totalOrganizationUsage = totalOrganizationUsage; - } - if (moduleMetadata != null) { - $result.moduleMetadata = moduleMetadata; - } - if (mlModelMetadata != null) { - $result.mlModelMetadata = mlModelMetadata; - } - if (totalExternalRobotUsage != null) { - $result.totalExternalRobotUsage = totalExternalRobotUsage; - } - if (totalExternalOrganizationUsage != null) { - $result.totalExternalOrganizationUsage = totalExternalOrganizationUsage; - } - if (createdAt != null) { - $result.createdAt = createdAt; - } - if (updatedAt != null) { - $result.updatedAt = updatedAt; - } - if (mlTrainingMetadata != null) { - $result.mlTrainingMetadata = mlTrainingMetadata; - } - return $result; - } - RegistryItem._() : super(); - factory RegistryItem.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegistryItem.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, RegistryItem_Metadata> _RegistryItem_MetadataByTag = { - 11 : RegistryItem_Metadata.moduleMetadata, - 12 : RegistryItem_Metadata.mlModelMetadata, - 18 : RegistryItem_Metadata.mlTrainingMetadata, - 0 : RegistryItem_Metadata.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegistryItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..oo(0, [11, 12, 18]) - ..aOS(1, _omitFieldNames ? '' : 'itemId') - ..aOS(2, _omitFieldNames ? '' : 'organizationId') - ..aOS(3, _omitFieldNames ? '' : 'publicNamespace') - ..aOS(4, _omitFieldNames ? '' : 'name') - ..e<$9.PackageType>(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $9.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $9.PackageType.valueOf, enumValues: $9.PackageType.values) - ..e(6, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: Visibility.VISIBILITY_UNSPECIFIED, valueOf: Visibility.valueOf, enumValues: Visibility.values) - ..aOS(7, _omitFieldNames ? '' : 'url') - ..aOS(8, _omitFieldNames ? '' : 'description') - ..aInt64(9, _omitFieldNames ? '' : 'totalRobotUsage') - ..aInt64(10, _omitFieldNames ? '' : 'totalOrganizationUsage') - ..aOM(11, _omitFieldNames ? '' : 'moduleMetadata', subBuilder: ModuleMetadata.create) - ..aOM(12, _omitFieldNames ? '' : 'mlModelMetadata', subBuilder: MLModelMetadata.create) - ..aInt64(13, _omitFieldNames ? '' : 'totalExternalRobotUsage') - ..aInt64(14, _omitFieldNames ? '' : 'totalExternalOrganizationUsage') - ..aOM<$47.Timestamp>(15, _omitFieldNames ? '' : 'createdAt', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(16, _omitFieldNames ? '' : 'updatedAt', subBuilder: $47.Timestamp.create) - ..aOM(18, _omitFieldNames ? '' : 'mlTrainingMetadata', subBuilder: MLTrainingMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RegistryItem clone() => RegistryItem()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegistryItem copyWith(void Function(RegistryItem) updates) => super.copyWith((message) => updates(message as RegistryItem)) as RegistryItem; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RegistryItem create() => RegistryItem._(); - RegistryItem createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RegistryItem getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RegistryItem? _defaultInstance; - - RegistryItem_Metadata whichMetadata() => _RegistryItem_MetadataByTag[$_whichOneof(0)]!; - void clearMetadata() => clearField($_whichOneof(0)); - - /// The id of the item, containing either: - /// namespace:item_name when a namespace exists on the org. - /// org_id:item_name when a namespace does not exist. - @$pb.TagNumber(1) - $core.String get itemId => $_getSZ(0); - @$pb.TagNumber(1) - set itemId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasItemId() => $_has(0); - @$pb.TagNumber(1) - void clearItemId() => clearField(1); - - /// The id of the organization that owns the item - @$pb.TagNumber(2) - $core.String get organizationId => $_getSZ(1); - @$pb.TagNumber(2) - set organizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrganizationId() => $_has(1); - @$pb.TagNumber(2) - void clearOrganizationId() => clearField(2); - - /// The public namespace of the organization that owns the module - /// This is empty if no public namespace is set - @$pb.TagNumber(3) - $core.String get publicNamespace => $_getSZ(2); - @$pb.TagNumber(3) - set publicNamespace($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasPublicNamespace() => $_has(2); - @$pb.TagNumber(3) - void clearPublicNamespace() => clearField(3); - - /// The name of the registry item - @$pb.TagNumber(4) - $core.String get name => $_getSZ(3); - @$pb.TagNumber(4) - set name($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasName() => $_has(3); - @$pb.TagNumber(4) - void clearName() => clearField(4); - - /// The type of the item in the registry - @$pb.TagNumber(5) - $9.PackageType get type => $_getN(4); - @$pb.TagNumber(5) - set type($9.PackageType v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasType() => $_has(4); - @$pb.TagNumber(5) - void clearType() => clearField(5); - - /// The visibility of the registry item - @$pb.TagNumber(6) - Visibility get visibility => $_getN(5); - @$pb.TagNumber(6) - set visibility(Visibility v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasVisibility() => $_has(5); - @$pb.TagNumber(6) - void clearVisibility() => clearField(6); - - /// The url to reference for documentation, code, etc. - @$pb.TagNumber(7) - $core.String get url => $_getSZ(6); - @$pb.TagNumber(7) - set url($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasUrl() => $_has(6); - @$pb.TagNumber(7) - void clearUrl() => clearField(7); - - /// A short description of the item that explains its purpose - @$pb.TagNumber(8) - $core.String get description => $_getSZ(7); - @$pb.TagNumber(8) - set description($core.String v) { $_setString(7, v); } - @$pb.TagNumber(8) - $core.bool hasDescription() => $_has(7); - @$pb.TagNumber(8) - void clearDescription() => clearField(8); - - /// The total number of robots using this item - @$pb.TagNumber(9) - $fixnum.Int64 get totalRobotUsage => $_getI64(8); - @$pb.TagNumber(9) - set totalRobotUsage($fixnum.Int64 v) { $_setInt64(8, v); } - @$pb.TagNumber(9) - $core.bool hasTotalRobotUsage() => $_has(8); - @$pb.TagNumber(9) - void clearTotalRobotUsage() => clearField(9); - - /// The total number of organizations using this item - @$pb.TagNumber(10) - $fixnum.Int64 get totalOrganizationUsage => $_getI64(9); - @$pb.TagNumber(10) - set totalOrganizationUsage($fixnum.Int64 v) { $_setInt64(9, v); } - @$pb.TagNumber(10) - $core.bool hasTotalOrganizationUsage() => $_has(9); - @$pb.TagNumber(10) - void clearTotalOrganizationUsage() => clearField(10); - - @$pb.TagNumber(11) - ModuleMetadata get moduleMetadata => $_getN(10); - @$pb.TagNumber(11) - set moduleMetadata(ModuleMetadata v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasModuleMetadata() => $_has(10); - @$pb.TagNumber(11) - void clearModuleMetadata() => clearField(11); - @$pb.TagNumber(11) - ModuleMetadata ensureModuleMetadata() => $_ensure(10); - - @$pb.TagNumber(12) - MLModelMetadata get mlModelMetadata => $_getN(11); - @$pb.TagNumber(12) - set mlModelMetadata(MLModelMetadata v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasMlModelMetadata() => $_has(11); - @$pb.TagNumber(12) - void clearMlModelMetadata() => clearField(12); - @$pb.TagNumber(12) - MLModelMetadata ensureMlModelMetadata() => $_ensure(11); - - /// The total number of robots using this item outside of the owning org - @$pb.TagNumber(13) - $fixnum.Int64 get totalExternalRobotUsage => $_getI64(12); - @$pb.TagNumber(13) - set totalExternalRobotUsage($fixnum.Int64 v) { $_setInt64(12, v); } - @$pb.TagNumber(13) - $core.bool hasTotalExternalRobotUsage() => $_has(12); - @$pb.TagNumber(13) - void clearTotalExternalRobotUsage() => clearField(13); - - /// The total number of organizations using this item outside of the owning org - @$pb.TagNumber(14) - $fixnum.Int64 get totalExternalOrganizationUsage => $_getI64(13); - @$pb.TagNumber(14) - set totalExternalOrganizationUsage($fixnum.Int64 v) { $_setInt64(13, v); } - @$pb.TagNumber(14) - $core.bool hasTotalExternalOrganizationUsage() => $_has(13); - @$pb.TagNumber(14) - void clearTotalExternalOrganizationUsage() => clearField(14); - - /// When the item was created - @$pb.TagNumber(15) - $47.Timestamp get createdAt => $_getN(14); - @$pb.TagNumber(15) - set createdAt($47.Timestamp v) { setField(15, v); } - @$pb.TagNumber(15) - $core.bool hasCreatedAt() => $_has(14); - @$pb.TagNumber(15) - void clearCreatedAt() => clearField(15); - @$pb.TagNumber(15) - $47.Timestamp ensureCreatedAt() => $_ensure(14); - - /// When the item was last updated, either through an update or upload. - @$pb.TagNumber(16) - $47.Timestamp get updatedAt => $_getN(15); - @$pb.TagNumber(16) - set updatedAt($47.Timestamp v) { setField(16, v); } - @$pb.TagNumber(16) - $core.bool hasUpdatedAt() => $_has(15); - @$pb.TagNumber(16) - void clearUpdatedAt() => clearField(16); - @$pb.TagNumber(16) - $47.Timestamp ensureUpdatedAt() => $_ensure(15); - - @$pb.TagNumber(18) - MLTrainingMetadata get mlTrainingMetadata => $_getN(16); - @$pb.TagNumber(18) - set mlTrainingMetadata(MLTrainingMetadata v) { setField(18, v); } - @$pb.TagNumber(18) - $core.bool hasMlTrainingMetadata() => $_has(16); - @$pb.TagNumber(18) - void clearMlTrainingMetadata() => clearField(18); - @$pb.TagNumber(18) - MLTrainingMetadata ensureMlTrainingMetadata() => $_ensure(16); -} - -class GetRegistryItemRequest extends $pb.GeneratedMessage { - factory GetRegistryItemRequest({ - $core.String? itemId, - $core.bool? includeMarkdownDocumentation, - }) { - final $result = create(); - if (itemId != null) { - $result.itemId = itemId; - } - if (includeMarkdownDocumentation != null) { - $result.includeMarkdownDocumentation = includeMarkdownDocumentation; - } - return $result; - } - GetRegistryItemRequest._() : super(); - factory GetRegistryItemRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRegistryItemRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRegistryItemRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'itemId') - ..aOB(2, _omitFieldNames ? '' : 'includeMarkdownDocumentation') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRegistryItemRequest clone() => GetRegistryItemRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRegistryItemRequest copyWith(void Function(GetRegistryItemRequest) updates) => super.copyWith((message) => updates(message as GetRegistryItemRequest)) as GetRegistryItemRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRegistryItemRequest create() => GetRegistryItemRequest._(); - GetRegistryItemRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRegistryItemRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRegistryItemRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get itemId => $_getSZ(0); - @$pb.TagNumber(1) - set itemId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasItemId() => $_has(0); - @$pb.TagNumber(1) - void clearItemId() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get includeMarkdownDocumentation => $_getBF(1); - @$pb.TagNumber(2) - set includeMarkdownDocumentation($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIncludeMarkdownDocumentation() => $_has(1); - @$pb.TagNumber(2) - void clearIncludeMarkdownDocumentation() => clearField(2); -} - -class GetRegistryItemResponse extends $pb.GeneratedMessage { - factory GetRegistryItemResponse({ - RegistryItem? item, - }) { - final $result = create(); - if (item != null) { - $result.item = item; - } - return $result; - } - GetRegistryItemResponse._() : super(); - factory GetRegistryItemResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetRegistryItemResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRegistryItemResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'item', subBuilder: RegistryItem.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetRegistryItemResponse clone() => GetRegistryItemResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetRegistryItemResponse copyWith(void Function(GetRegistryItemResponse) updates) => super.copyWith((message) => updates(message as GetRegistryItemResponse)) as GetRegistryItemResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetRegistryItemResponse create() => GetRegistryItemResponse._(); - GetRegistryItemResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetRegistryItemResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetRegistryItemResponse? _defaultInstance; - - @$pb.TagNumber(1) - RegistryItem get item => $_getN(0); - @$pb.TagNumber(1) - set item(RegistryItem v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasItem() => $_has(0); - @$pb.TagNumber(1) - void clearItem() => clearField(1); - @$pb.TagNumber(1) - RegistryItem ensureItem() => $_ensure(0); -} - -class CreateRegistryItemRequest extends $pb.GeneratedMessage { - factory CreateRegistryItemRequest({ - $core.String? organizationId, - $core.String? name, - $9.PackageType? type, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (name != null) { - $result.name = name; - } - if (type != null) { - $result.type = type; - } - return $result; - } - CreateRegistryItemRequest._() : super(); - factory CreateRegistryItemRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateRegistryItemRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRegistryItemRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..e<$9.PackageType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $9.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $9.PackageType.valueOf, enumValues: $9.PackageType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateRegistryItemRequest clone() => CreateRegistryItemRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateRegistryItemRequest copyWith(void Function(CreateRegistryItemRequest) updates) => super.copyWith((message) => updates(message as CreateRegistryItemRequest)) as CreateRegistryItemRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateRegistryItemRequest create() => CreateRegistryItemRequest._(); - CreateRegistryItemRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateRegistryItemRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateRegistryItemRequest? _defaultInstance; - - /// The organization to create the registry item under - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - /// The name of the registry item, which must be unique within your org - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - /// The type of the item in the registry - @$pb.TagNumber(3) - $9.PackageType get type => $_getN(2); - @$pb.TagNumber(3) - set type($9.PackageType v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasType() => $_has(2); - @$pb.TagNumber(3) - void clearType() => clearField(3); -} - -class CreateRegistryItemResponse extends $pb.GeneratedMessage { - factory CreateRegistryItemResponse() => create(); - CreateRegistryItemResponse._() : super(); - factory CreateRegistryItemResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateRegistryItemResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRegistryItemResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateRegistryItemResponse clone() => CreateRegistryItemResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateRegistryItemResponse copyWith(void Function(CreateRegistryItemResponse) updates) => super.copyWith((message) => updates(message as CreateRegistryItemResponse)) as CreateRegistryItemResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateRegistryItemResponse create() => CreateRegistryItemResponse._(); - CreateRegistryItemResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateRegistryItemResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateRegistryItemResponse? _defaultInstance; -} - -enum UpdateRegistryItemRequest_Metadata { - updateModuleMetadata, - updateMlModelMetadata, - updateMlTrainingMetadata, - notSet -} - -class UpdateRegistryItemRequest extends $pb.GeneratedMessage { - factory UpdateRegistryItemRequest({ - $core.String? itemId, - $9.PackageType? type, - $core.String? description, - Visibility? visibility, - $core.String? url, - UpdateModuleMetadata? updateModuleMetadata, - UpdateMLModelMetadata? updateMlModelMetadata, - UpdateMLTrainingMetadata? updateMlTrainingMetadata, - }) { - final $result = create(); - if (itemId != null) { - $result.itemId = itemId; - } - if (type != null) { - $result.type = type; - } - if (description != null) { - $result.description = description; - } - if (visibility != null) { - $result.visibility = visibility; - } - if (url != null) { - $result.url = url; - } - if (updateModuleMetadata != null) { - $result.updateModuleMetadata = updateModuleMetadata; - } - if (updateMlModelMetadata != null) { - $result.updateMlModelMetadata = updateMlModelMetadata; - } - if (updateMlTrainingMetadata != null) { - $result.updateMlTrainingMetadata = updateMlTrainingMetadata; - } - return $result; - } - UpdateRegistryItemRequest._() : super(); - factory UpdateRegistryItemRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRegistryItemRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, UpdateRegistryItemRequest_Metadata> _UpdateRegistryItemRequest_MetadataByTag = { - 6 : UpdateRegistryItemRequest_Metadata.updateModuleMetadata, - 7 : UpdateRegistryItemRequest_Metadata.updateMlModelMetadata, - 8 : UpdateRegistryItemRequest_Metadata.updateMlTrainingMetadata, - 0 : UpdateRegistryItemRequest_Metadata.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRegistryItemRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..oo(0, [6, 7, 8]) - ..aOS(1, _omitFieldNames ? '' : 'itemId') - ..e<$9.PackageType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $9.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $9.PackageType.valueOf, enumValues: $9.PackageType.values) - ..aOS(3, _omitFieldNames ? '' : 'description') - ..e(4, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: Visibility.VISIBILITY_UNSPECIFIED, valueOf: Visibility.valueOf, enumValues: Visibility.values) - ..aOS(5, _omitFieldNames ? '' : 'url') - ..aOM(6, _omitFieldNames ? '' : 'updateModuleMetadata', subBuilder: UpdateModuleMetadata.create) - ..aOM(7, _omitFieldNames ? '' : 'updateMlModelMetadata', subBuilder: UpdateMLModelMetadata.create) - ..aOM(8, _omitFieldNames ? '' : 'updateMlTrainingMetadata', subBuilder: UpdateMLTrainingMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRegistryItemRequest clone() => UpdateRegistryItemRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRegistryItemRequest copyWith(void Function(UpdateRegistryItemRequest) updates) => super.copyWith((message) => updates(message as UpdateRegistryItemRequest)) as UpdateRegistryItemRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRegistryItemRequest create() => UpdateRegistryItemRequest._(); - UpdateRegistryItemRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRegistryItemRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRegistryItemRequest? _defaultInstance; - - UpdateRegistryItemRequest_Metadata whichMetadata() => _UpdateRegistryItemRequest_MetadataByTag[$_whichOneof(0)]!; - void clearMetadata() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - $core.String get itemId => $_getSZ(0); - @$pb.TagNumber(1) - set itemId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasItemId() => $_has(0); - @$pb.TagNumber(1) - void clearItemId() => clearField(1); - - @$pb.TagNumber(2) - $9.PackageType get type => $_getN(1); - @$pb.TagNumber(2) - set type($9.PackageType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasType() => $_has(1); - @$pb.TagNumber(2) - void clearType() => clearField(2); - - @$pb.TagNumber(3) - $core.String get description => $_getSZ(2); - @$pb.TagNumber(3) - set description($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDescription() => $_has(2); - @$pb.TagNumber(3) - void clearDescription() => clearField(3); - - @$pb.TagNumber(4) - Visibility get visibility => $_getN(3); - @$pb.TagNumber(4) - set visibility(Visibility v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasVisibility() => $_has(3); - @$pb.TagNumber(4) - void clearVisibility() => clearField(4); - - @$pb.TagNumber(5) - $core.String get url => $_getSZ(4); - @$pb.TagNumber(5) - set url($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasUrl() => $_has(4); - @$pb.TagNumber(5) - void clearUrl() => clearField(5); - - @$pb.TagNumber(6) - UpdateModuleMetadata get updateModuleMetadata => $_getN(5); - @$pb.TagNumber(6) - set updateModuleMetadata(UpdateModuleMetadata v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasUpdateModuleMetadata() => $_has(5); - @$pb.TagNumber(6) - void clearUpdateModuleMetadata() => clearField(6); - @$pb.TagNumber(6) - UpdateModuleMetadata ensureUpdateModuleMetadata() => $_ensure(5); - - @$pb.TagNumber(7) - UpdateMLModelMetadata get updateMlModelMetadata => $_getN(6); - @$pb.TagNumber(7) - set updateMlModelMetadata(UpdateMLModelMetadata v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasUpdateMlModelMetadata() => $_has(6); - @$pb.TagNumber(7) - void clearUpdateMlModelMetadata() => clearField(7); - @$pb.TagNumber(7) - UpdateMLModelMetadata ensureUpdateMlModelMetadata() => $_ensure(6); - - @$pb.TagNumber(8) - UpdateMLTrainingMetadata get updateMlTrainingMetadata => $_getN(7); - @$pb.TagNumber(8) - set updateMlTrainingMetadata(UpdateMLTrainingMetadata v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasUpdateMlTrainingMetadata() => $_has(7); - @$pb.TagNumber(8) - void clearUpdateMlTrainingMetadata() => clearField(8); - @$pb.TagNumber(8) - UpdateMLTrainingMetadata ensureUpdateMlTrainingMetadata() => $_ensure(7); -} - -class UpdateRegistryItemResponse extends $pb.GeneratedMessage { - factory UpdateRegistryItemResponse() => create(); - UpdateRegistryItemResponse._() : super(); - factory UpdateRegistryItemResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateRegistryItemResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRegistryItemResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateRegistryItemResponse clone() => UpdateRegistryItemResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateRegistryItemResponse copyWith(void Function(UpdateRegistryItemResponse) updates) => super.copyWith((message) => updates(message as UpdateRegistryItemResponse)) as UpdateRegistryItemResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateRegistryItemResponse create() => UpdateRegistryItemResponse._(); - UpdateRegistryItemResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateRegistryItemResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateRegistryItemResponse? _defaultInstance; -} - -class ListRegistryItemsRequest extends $pb.GeneratedMessage { - factory ListRegistryItemsRequest({ - $core.String? organizationId, - $core.Iterable<$9.PackageType>? types, - $core.Iterable? visibilities, - $core.Iterable<$core.String>? platforms, - $core.Iterable? statuses, - $core.String? searchTerm, - $core.String? pageToken, - $core.Iterable<$core.String>? publicNamespaces, - $core.bool? includeMarkdownDocumentation, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (types != null) { - $result.types.addAll(types); - } - if (visibilities != null) { - $result.visibilities.addAll(visibilities); - } - if (platforms != null) { - $result.platforms.addAll(platforms); - } - if (statuses != null) { - $result.statuses.addAll(statuses); - } - if (searchTerm != null) { - $result.searchTerm = searchTerm; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (publicNamespaces != null) { - $result.publicNamespaces.addAll(publicNamespaces); - } - if (includeMarkdownDocumentation != null) { - $result.includeMarkdownDocumentation = includeMarkdownDocumentation; - } - return $result; - } - ListRegistryItemsRequest._() : super(); - factory ListRegistryItemsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListRegistryItemsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListRegistryItemsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..pc<$9.PackageType>(2, _omitFieldNames ? '' : 'types', $pb.PbFieldType.KE, valueOf: $9.PackageType.valueOf, enumValues: $9.PackageType.values, defaultEnumValue: $9.PackageType.PACKAGE_TYPE_UNSPECIFIED) - ..pc(3, _omitFieldNames ? '' : 'visibilities', $pb.PbFieldType.KE, valueOf: Visibility.valueOf, enumValues: Visibility.values, defaultEnumValue: Visibility.VISIBILITY_UNSPECIFIED) - ..pPS(4, _omitFieldNames ? '' : 'platforms') - ..pc(5, _omitFieldNames ? '' : 'statuses', $pb.PbFieldType.KE, valueOf: RegistryItemStatus.valueOf, enumValues: RegistryItemStatus.values, defaultEnumValue: RegistryItemStatus.REGISTRY_ITEM_STATUS_UNSPECIFIED) - ..aOS(6, _omitFieldNames ? '' : 'searchTerm') - ..aOS(7, _omitFieldNames ? '' : 'pageToken') - ..pPS(8, _omitFieldNames ? '' : 'publicNamespaces') - ..aOB(9, _omitFieldNames ? '' : 'includeMarkdownDocumentation') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListRegistryItemsRequest clone() => ListRegistryItemsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListRegistryItemsRequest copyWith(void Function(ListRegistryItemsRequest) updates) => super.copyWith((message) => updates(message as ListRegistryItemsRequest)) as ListRegistryItemsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListRegistryItemsRequest create() => ListRegistryItemsRequest._(); - ListRegistryItemsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListRegistryItemsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListRegistryItemsRequest? _defaultInstance; - - /// The id of the organization to return registry items for. - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$9.PackageType> get types => $_getList(1); - - @$pb.TagNumber(3) - $core.List get visibilities => $_getList(2); - - @$pb.TagNumber(4) - $core.List<$core.String> get platforms => $_getList(3); - - @$pb.TagNumber(5) - $core.List get statuses => $_getList(4); - - @$pb.TagNumber(6) - $core.String get searchTerm => $_getSZ(5); - @$pb.TagNumber(6) - set searchTerm($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasSearchTerm() => $_has(5); - @$pb.TagNumber(6) - void clearSearchTerm() => clearField(6); - - @$pb.TagNumber(7) - $core.String get pageToken => $_getSZ(6); - @$pb.TagNumber(7) - set pageToken($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasPageToken() => $_has(6); - @$pb.TagNumber(7) - void clearPageToken() => clearField(7); - - /// One or more public namespaces to return results for. - @$pb.TagNumber(8) - $core.List<$core.String> get publicNamespaces => $_getList(7); - - @$pb.TagNumber(9) - $core.bool get includeMarkdownDocumentation => $_getBF(8); - @$pb.TagNumber(9) - set includeMarkdownDocumentation($core.bool v) { $_setBool(8, v); } - @$pb.TagNumber(9) - $core.bool hasIncludeMarkdownDocumentation() => $_has(8); - @$pb.TagNumber(9) - void clearIncludeMarkdownDocumentation() => clearField(9); -} - -class ListRegistryItemsResponse extends $pb.GeneratedMessage { - factory ListRegistryItemsResponse({ - $core.Iterable? items, - }) { - final $result = create(); - if (items != null) { - $result.items.addAll(items); - } - return $result; - } - ListRegistryItemsResponse._() : super(); - factory ListRegistryItemsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListRegistryItemsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListRegistryItemsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, subBuilder: RegistryItem.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListRegistryItemsResponse clone() => ListRegistryItemsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListRegistryItemsResponse copyWith(void Function(ListRegistryItemsResponse) updates) => super.copyWith((message) => updates(message as ListRegistryItemsResponse)) as ListRegistryItemsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListRegistryItemsResponse create() => ListRegistryItemsResponse._(); - ListRegistryItemsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListRegistryItemsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListRegistryItemsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get items => $_getList(0); -} - -class DeleteRegistryItemRequest extends $pb.GeneratedMessage { - factory DeleteRegistryItemRequest({ - $core.String? itemId, - }) { - final $result = create(); - if (itemId != null) { - $result.itemId = itemId; - } - return $result; - } - DeleteRegistryItemRequest._() : super(); - factory DeleteRegistryItemRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRegistryItemRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRegistryItemRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'itemId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRegistryItemRequest clone() => DeleteRegistryItemRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRegistryItemRequest copyWith(void Function(DeleteRegistryItemRequest) updates) => super.copyWith((message) => updates(message as DeleteRegistryItemRequest)) as DeleteRegistryItemRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRegistryItemRequest create() => DeleteRegistryItemRequest._(); - DeleteRegistryItemRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRegistryItemRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRegistryItemRequest? _defaultInstance; - - /// The id of the item (formatted as prefix:name where prefix is the owner's orgid or namespace) - @$pb.TagNumber(1) - $core.String get itemId => $_getSZ(0); - @$pb.TagNumber(1) - set itemId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasItemId() => $_has(0); - @$pb.TagNumber(1) - void clearItemId() => clearField(1); -} - -class DeleteRegistryItemResponse extends $pb.GeneratedMessage { - factory DeleteRegistryItemResponse() => create(); - DeleteRegistryItemResponse._() : super(); - factory DeleteRegistryItemResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteRegistryItemResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteRegistryItemResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteRegistryItemResponse clone() => DeleteRegistryItemResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteRegistryItemResponse copyWith(void Function(DeleteRegistryItemResponse) updates) => super.copyWith((message) => updates(message as DeleteRegistryItemResponse)) as DeleteRegistryItemResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteRegistryItemResponse create() => DeleteRegistryItemResponse._(); - DeleteRegistryItemResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteRegistryItemResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteRegistryItemResponse? _defaultInstance; -} - -class TransferRegistryItemRequest extends $pb.GeneratedMessage { - factory TransferRegistryItemRequest({ - $core.String? itemId, - $core.String? newPublicNamespace, - }) { - final $result = create(); - if (itemId != null) { - $result.itemId = itemId; - } - if (newPublicNamespace != null) { - $result.newPublicNamespace = newPublicNamespace; - } - return $result; - } - TransferRegistryItemRequest._() : super(); - factory TransferRegistryItemRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TransferRegistryItemRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransferRegistryItemRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'itemId') - ..aOS(2, _omitFieldNames ? '' : 'newPublicNamespace') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TransferRegistryItemRequest clone() => TransferRegistryItemRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransferRegistryItemRequest copyWith(void Function(TransferRegistryItemRequest) updates) => super.copyWith((message) => updates(message as TransferRegistryItemRequest)) as TransferRegistryItemRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TransferRegistryItemRequest create() => TransferRegistryItemRequest._(); - TransferRegistryItemRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TransferRegistryItemRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TransferRegistryItemRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get itemId => $_getSZ(0); - @$pb.TagNumber(1) - set itemId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasItemId() => $_has(0); - @$pb.TagNumber(1) - void clearItemId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get newPublicNamespace => $_getSZ(1); - @$pb.TagNumber(2) - set newPublicNamespace($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNewPublicNamespace() => $_has(1); - @$pb.TagNumber(2) - void clearNewPublicNamespace() => clearField(2); -} - -class TransferRegistryItemResponse extends $pb.GeneratedMessage { - factory TransferRegistryItemResponse() => create(); - TransferRegistryItemResponse._() : super(); - factory TransferRegistryItemResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TransferRegistryItemResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransferRegistryItemResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TransferRegistryItemResponse clone() => TransferRegistryItemResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransferRegistryItemResponse copyWith(void Function(TransferRegistryItemResponse) updates) => super.copyWith((message) => updates(message as TransferRegistryItemResponse)) as TransferRegistryItemResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TransferRegistryItemResponse create() => TransferRegistryItemResponse._(); - TransferRegistryItemResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TransferRegistryItemResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TransferRegistryItemResponse? _defaultInstance; -} - -/// Modules -class CreateModuleRequest extends $pb.GeneratedMessage { - factory CreateModuleRequest({ - $core.String? organizationId, - $core.String? name, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (name != null) { - $result.name = name; - } - return $result; - } - CreateModuleRequest._() : super(); - factory CreateModuleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateModuleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateModuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateModuleRequest clone() => CreateModuleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateModuleRequest copyWith(void Function(CreateModuleRequest) updates) => super.copyWith((message) => updates(message as CreateModuleRequest)) as CreateModuleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateModuleRequest create() => CreateModuleRequest._(); - CreateModuleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateModuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateModuleRequest? _defaultInstance; - - /// The organization to create the module under - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - /// The name of the module, which must be unique within your org - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); -} - -class CreateModuleResponse extends $pb.GeneratedMessage { - factory CreateModuleResponse({ - $core.String? moduleId, - $core.String? url, - }) { - final $result = create(); - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (url != null) { - $result.url = url; - } - return $result; - } - CreateModuleResponse._() : super(); - factory CreateModuleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateModuleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateModuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'moduleId') - ..aOS(2, _omitFieldNames ? '' : 'url') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateModuleResponse clone() => CreateModuleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateModuleResponse copyWith(void Function(CreateModuleResponse) updates) => super.copyWith((message) => updates(message as CreateModuleResponse)) as CreateModuleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateModuleResponse create() => CreateModuleResponse._(); - CreateModuleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateModuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateModuleResponse? _defaultInstance; - - /// The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace) - @$pb.TagNumber(1) - $core.String get moduleId => $_getSZ(0); - @$pb.TagNumber(1) - set moduleId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleId() => $_has(0); - @$pb.TagNumber(1) - void clearModuleId() => clearField(1); - - /// The detail page of the module - @$pb.TagNumber(2) - $core.String get url => $_getSZ(1); - @$pb.TagNumber(2) - set url($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasUrl() => $_has(1); - @$pb.TagNumber(2) - void clearUrl() => clearField(2); -} - -class UpdateModuleRequest extends $pb.GeneratedMessage { - factory UpdateModuleRequest({ - $core.String? moduleId, - Visibility? visibility, - $core.String? url, - $core.String? description, - $core.Iterable? models, - $core.String? entrypoint, - $core.String? firstRun, - $core.Iterable? apps, - }) { - final $result = create(); - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (visibility != null) { - $result.visibility = visibility; - } - if (url != null) { - $result.url = url; - } - if (description != null) { - $result.description = description; - } - if (models != null) { - $result.models.addAll(models); - } - if (entrypoint != null) { - $result.entrypoint = entrypoint; - } - if (firstRun != null) { - $result.firstRun = firstRun; - } - if (apps != null) { - $result.apps.addAll(apps); - } - return $result; - } - UpdateModuleRequest._() : super(); - factory UpdateModuleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateModuleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateModuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'moduleId') - ..e(2, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: Visibility.VISIBILITY_UNSPECIFIED, valueOf: Visibility.valueOf, enumValues: Visibility.values) - ..aOS(3, _omitFieldNames ? '' : 'url') - ..aOS(4, _omitFieldNames ? '' : 'description') - ..pc(5, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) - ..aOS(6, _omitFieldNames ? '' : 'entrypoint') - ..aOS(7, _omitFieldNames ? '' : 'firstRun') - ..pc(8, _omitFieldNames ? '' : 'apps', $pb.PbFieldType.PM, subBuilder: App.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateModuleRequest clone() => UpdateModuleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateModuleRequest copyWith(void Function(UpdateModuleRequest) updates) => super.copyWith((message) => updates(message as UpdateModuleRequest)) as UpdateModuleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateModuleRequest create() => UpdateModuleRequest._(); - UpdateModuleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateModuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateModuleRequest? _defaultInstance; - - /// The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace) - @$pb.TagNumber(1) - $core.String get moduleId => $_getSZ(0); - @$pb.TagNumber(1) - set moduleId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleId() => $_has(0); - @$pb.TagNumber(1) - void clearModuleId() => clearField(1); - - /// The visibility that should be set for the module - @$pb.TagNumber(2) - Visibility get visibility => $_getN(1); - @$pb.TagNumber(2) - set visibility(Visibility v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasVisibility() => $_has(1); - @$pb.TagNumber(2) - void clearVisibility() => clearField(2); - - /// The url to reference for documentation, code, etc. - @$pb.TagNumber(3) - $core.String get url => $_getSZ(2); - @$pb.TagNumber(3) - set url($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasUrl() => $_has(2); - @$pb.TagNumber(3) - void clearUrl() => clearField(3); - - /// A short description of the module that explains its purpose - @$pb.TagNumber(4) - $core.String get description => $_getSZ(3); - @$pb.TagNumber(4) - set description($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasDescription() => $_has(3); - @$pb.TagNumber(4) - void clearDescription() => clearField(4); - - /// A list of models that are available in the module - @$pb.TagNumber(5) - $core.List get models => $_getList(4); - - /// The executable to run to start the module program - @$pb.TagNumber(6) - $core.String get entrypoint => $_getSZ(5); - @$pb.TagNumber(6) - set entrypoint($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasEntrypoint() => $_has(5); - @$pb.TagNumber(6) - void clearEntrypoint() => clearField(6); - - /// The path to a setup script that is run before a newly downloaded module starts. - @$pb.TagNumber(7) - $core.String get firstRun => $_getSZ(6); - @$pb.TagNumber(7) - set firstRun($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasFirstRun() => $_has(6); - @$pb.TagNumber(7) - void clearFirstRun() => clearField(7); - - /// A list of applications associated with the module - @$pb.TagNumber(8) - $core.List get apps => $_getList(7); -} - -class App extends $pb.GeneratedMessage { - factory App({ - $core.String? name, - $core.String? type, - $core.String? entrypoint, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (type != null) { - $result.type = type; - } - if (entrypoint != null) { - $result.entrypoint = entrypoint; - } - return $result; - } - App._() : super(); - factory App.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory App.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'App', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'type') - ..aOS(3, _omitFieldNames ? '' : 'entrypoint') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - App clone() => App()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - App copyWith(void Function(App) updates) => super.copyWith((message) => updates(message as App)) as App; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static App create() => App._(); - App createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static App getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static App? _defaultInstance; - - /// The name of the application - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// The type of the application - @$pb.TagNumber(2) - $core.String get type => $_getSZ(1); - @$pb.TagNumber(2) - set type($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasType() => $_has(1); - @$pb.TagNumber(2) - void clearType() => clearField(2); - - /// The entrypoint of the application - @$pb.TagNumber(3) - $core.String get entrypoint => $_getSZ(2); - @$pb.TagNumber(3) - set entrypoint($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasEntrypoint() => $_has(2); - @$pb.TagNumber(3) - void clearEntrypoint() => clearField(3); -} - -class UpdateModuleResponse extends $pb.GeneratedMessage { - factory UpdateModuleResponse({ - $core.String? url, - }) { - final $result = create(); - if (url != null) { - $result.url = url; - } - return $result; - } - UpdateModuleResponse._() : super(); - factory UpdateModuleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateModuleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateModuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'url') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateModuleResponse clone() => UpdateModuleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateModuleResponse copyWith(void Function(UpdateModuleResponse) updates) => super.copyWith((message) => updates(message as UpdateModuleResponse)) as UpdateModuleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateModuleResponse create() => UpdateModuleResponse._(); - UpdateModuleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateModuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateModuleResponse? _defaultInstance; - - /// The detail page of the module - @$pb.TagNumber(1) - $core.String get url => $_getSZ(0); - @$pb.TagNumber(1) - set url($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUrl() => $_has(0); - @$pb.TagNumber(1) - void clearUrl() => clearField(1); -} - -class UpdateModuleMetadata extends $pb.GeneratedMessage { - factory UpdateModuleMetadata({ - $core.Iterable? models, - $core.String? entrypoint, - }) { - final $result = create(); - if (models != null) { - $result.models.addAll(models); - } - if (entrypoint != null) { - $result.entrypoint = entrypoint; - } - return $result; - } - UpdateModuleMetadata._() : super(); - factory UpdateModuleMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateModuleMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateModuleMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) - ..aOS(2, _omitFieldNames ? '' : 'entrypoint') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateModuleMetadata clone() => UpdateModuleMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateModuleMetadata copyWith(void Function(UpdateModuleMetadata) updates) => super.copyWith((message) => updates(message as UpdateModuleMetadata)) as UpdateModuleMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateModuleMetadata create() => UpdateModuleMetadata._(); - UpdateModuleMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateModuleMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateModuleMetadata? _defaultInstance; - - /// A list of models that are available in the module - @$pb.TagNumber(1) - $core.List get models => $_getList(0); - - /// The executable to run to start the module program - @$pb.TagNumber(2) - $core.String get entrypoint => $_getSZ(1); - @$pb.TagNumber(2) - set entrypoint($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEntrypoint() => $_has(1); - @$pb.TagNumber(2) - void clearEntrypoint() => clearField(2); -} - -class UpdateMLModelMetadata extends $pb.GeneratedMessage { - factory UpdateMLModelMetadata({ - $8.ModelType? modelType, - $8.ModelFramework? modelFramework, - }) { - final $result = create(); - if (modelType != null) { - $result.modelType = modelType; - } - if (modelFramework != null) { - $result.modelFramework = modelFramework; - } - return $result; - } - UpdateMLModelMetadata._() : super(); - factory UpdateMLModelMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateMLModelMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateMLModelMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e<$8.ModelType>(1, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $8.ModelType.valueOf, enumValues: $8.ModelType.values) - ..e<$8.ModelFramework>(2, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $8.ModelFramework.valueOf, enumValues: $8.ModelFramework.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateMLModelMetadata clone() => UpdateMLModelMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateMLModelMetadata copyWith(void Function(UpdateMLModelMetadata) updates) => super.copyWith((message) => updates(message as UpdateMLModelMetadata)) as UpdateMLModelMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateMLModelMetadata create() => UpdateMLModelMetadata._(); - UpdateMLModelMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateMLModelMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateMLModelMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $8.ModelType get modelType => $_getN(0); - @$pb.TagNumber(1) - set modelType($8.ModelType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasModelType() => $_has(0); - @$pb.TagNumber(1) - void clearModelType() => clearField(1); - - @$pb.TagNumber(2) - $8.ModelFramework get modelFramework => $_getN(1); - @$pb.TagNumber(2) - set modelFramework($8.ModelFramework v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasModelFramework() => $_has(1); - @$pb.TagNumber(2) - void clearModelFramework() => clearField(2); -} - -class UpdateMLTrainingMetadata extends $pb.GeneratedMessage { - factory UpdateMLTrainingMetadata({ - $8.ModelType? modelType, - $8.ModelFramework? modelFramework, - $core.bool? draft, - }) { - final $result = create(); - if (modelType != null) { - $result.modelType = modelType; - } - if (modelFramework != null) { - $result.modelFramework = modelFramework; - } - if (draft != null) { - $result.draft = draft; - } - return $result; - } - UpdateMLTrainingMetadata._() : super(); - factory UpdateMLTrainingMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateMLTrainingMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateMLTrainingMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e<$8.ModelType>(1, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $8.ModelType.valueOf, enumValues: $8.ModelType.values) - ..e<$8.ModelFramework>(2, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $8.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $8.ModelFramework.valueOf, enumValues: $8.ModelFramework.values) - ..aOB(3, _omitFieldNames ? '' : 'draft') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateMLTrainingMetadata clone() => UpdateMLTrainingMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateMLTrainingMetadata copyWith(void Function(UpdateMLTrainingMetadata) updates) => super.copyWith((message) => updates(message as UpdateMLTrainingMetadata)) as UpdateMLTrainingMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateMLTrainingMetadata create() => UpdateMLTrainingMetadata._(); - UpdateMLTrainingMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateMLTrainingMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateMLTrainingMetadata? _defaultInstance; - - @$pb.TagNumber(1) - $8.ModelType get modelType => $_getN(0); - @$pb.TagNumber(1) - set modelType($8.ModelType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasModelType() => $_has(0); - @$pb.TagNumber(1) - void clearModelType() => clearField(1); - - @$pb.TagNumber(2) - $8.ModelFramework get modelFramework => $_getN(1); - @$pb.TagNumber(2) - set modelFramework($8.ModelFramework v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasModelFramework() => $_has(1); - @$pb.TagNumber(2) - void clearModelFramework() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get draft => $_getBF(2); - @$pb.TagNumber(3) - set draft($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasDraft() => $_has(2); - @$pb.TagNumber(3) - void clearDraft() => clearField(3); -} - -class Model extends $pb.GeneratedMessage { - factory Model({ - $core.String? api, - $core.String? model, - $core.String? markdownDocumentation, - $core.String? description, - $core.Iterable<$core.String>? supportedHardware, - }) { - final $result = create(); - if (api != null) { - $result.api = api; - } - if (model != null) { - $result.model = model; - } - if (markdownDocumentation != null) { - $result.markdownDocumentation = markdownDocumentation; - } - if (description != null) { - $result.description = description; - } - if (supportedHardware != null) { - $result.supportedHardware.addAll(supportedHardware); - } - return $result; - } - Model._() : super(); - factory Model.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Model.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Model', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'api') - ..aOS(2, _omitFieldNames ? '' : 'model') - ..aOS(3, _omitFieldNames ? '' : 'markdownDocumentation') - ..aOS(4, _omitFieldNames ? '' : 'description') - ..pPS(5, _omitFieldNames ? '' : 'supportedHardware') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Model clone() => Model()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Model copyWith(void Function(Model) updates) => super.copyWith((message) => updates(message as Model)) as Model; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Model create() => Model._(); - Model createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Model getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Model? _defaultInstance; - - /// The colon-delimited-triplet of the api implemented by the model - @$pb.TagNumber(1) - $core.String get api => $_getSZ(0); - @$pb.TagNumber(1) - set api($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasApi() => $_has(0); - @$pb.TagNumber(1) - void clearApi() => clearField(1); - - /// The colon-delimited-triplet of the model - @$pb.TagNumber(2) - $core.String get model => $_getSZ(1); - @$pb.TagNumber(2) - set model($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasModel() => $_has(1); - @$pb.TagNumber(2) - void clearModel() => clearField(2); - - /// The markdown content describing the usage of the model - @$pb.TagNumber(3) - $core.String get markdownDocumentation => $_getSZ(2); - @$pb.TagNumber(3) - set markdownDocumentation($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasMarkdownDocumentation() => $_has(2); - @$pb.TagNumber(3) - void clearMarkdownDocumentation() => clearField(3); - - /// A short description of the model that explains its purpose - @$pb.TagNumber(4) - $core.String get description => $_getSZ(3); - @$pb.TagNumber(4) - set description($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasDescription() => $_has(3); - @$pb.TagNumber(4) - void clearDescription() => clearField(4); - - /// A list of supported hardware names - @$pb.TagNumber(5) - $core.List<$core.String> get supportedHardware => $_getList(4); -} - -class ModuleFileInfo extends $pb.GeneratedMessage { - factory ModuleFileInfo({ - $core.String? moduleId, - $core.String? version, - $core.String? platform, - $core.Iterable<$core.String>? platformTags, - }) { - final $result = create(); - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (version != null) { - $result.version = version; - } - if (platform != null) { - $result.platform = platform; - } - if (platformTags != null) { - $result.platformTags.addAll(platformTags); - } - return $result; - } - ModuleFileInfo._() : super(); - factory ModuleFileInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ModuleFileInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ModuleFileInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'moduleId') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..aOS(3, _omitFieldNames ? '' : 'platform') - ..pPS(5, _omitFieldNames ? '' : 'platformTags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ModuleFileInfo clone() => ModuleFileInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ModuleFileInfo copyWith(void Function(ModuleFileInfo) updates) => super.copyWith((message) => updates(message as ModuleFileInfo)) as ModuleFileInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ModuleFileInfo create() => ModuleFileInfo._(); - ModuleFileInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ModuleFileInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ModuleFileInfo? _defaultInstance; - - /// The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace) - @$pb.TagNumber(1) - $core.String get moduleId => $_getSZ(0); - @$pb.TagNumber(1) - set moduleId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleId() => $_has(0); - @$pb.TagNumber(1) - void clearModuleId() => clearField(1); - - /// The semver string that represents the new major/minor/patch version of the module - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); - - /// The platform that the file is built to run on - @$pb.TagNumber(3) - $core.String get platform => $_getSZ(2); - @$pb.TagNumber(3) - set platform($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasPlatform() => $_has(2); - @$pb.TagNumber(3) - void clearPlatform() => clearField(3); - - /// Platform tag constraints. When a robot requests its config, it uploads a platform and a list of - /// platform tags. The platform is checked against `platform` above, and the tags are checked against - /// this list. - @$pb.TagNumber(5) - $core.List<$core.String> get platformTags => $_getList(3); -} - -enum UploadModuleFileRequest_ModuleFile { - moduleFileInfo, - file, - notSet -} - -class UploadModuleFileRequest extends $pb.GeneratedMessage { - factory UploadModuleFileRequest({ - ModuleFileInfo? moduleFileInfo, - $core.List<$core.int>? file, - }) { - final $result = create(); - if (moduleFileInfo != null) { - $result.moduleFileInfo = moduleFileInfo; - } - if (file != null) { - $result.file = file; - } - return $result; - } - UploadModuleFileRequest._() : super(); - factory UploadModuleFileRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UploadModuleFileRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, UploadModuleFileRequest_ModuleFile> _UploadModuleFileRequest_ModuleFileByTag = { - 1 : UploadModuleFileRequest_ModuleFile.moduleFileInfo, - 2 : UploadModuleFileRequest_ModuleFile.file, - 0 : UploadModuleFileRequest_ModuleFile.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadModuleFileRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'moduleFileInfo', subBuilder: ModuleFileInfo.create) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'file', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UploadModuleFileRequest clone() => UploadModuleFileRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UploadModuleFileRequest copyWith(void Function(UploadModuleFileRequest) updates) => super.copyWith((message) => updates(message as UploadModuleFileRequest)) as UploadModuleFileRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UploadModuleFileRequest create() => UploadModuleFileRequest._(); - UploadModuleFileRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UploadModuleFileRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UploadModuleFileRequest? _defaultInstance; - - UploadModuleFileRequest_ModuleFile whichModuleFile() => _UploadModuleFileRequest_ModuleFileByTag[$_whichOneof(0)]!; - void clearModuleFile() => clearField($_whichOneof(0)); - - /// The information about the module file being uploaded - @$pb.TagNumber(1) - ModuleFileInfo get moduleFileInfo => $_getN(0); - @$pb.TagNumber(1) - set moduleFileInfo(ModuleFileInfo v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasModuleFileInfo() => $_has(0); - @$pb.TagNumber(1) - void clearModuleFileInfo() => clearField(1); - @$pb.TagNumber(1) - ModuleFileInfo ensureModuleFileInfo() => $_ensure(0); - - /// The file contents to be uploaded - @$pb.TagNumber(2) - $core.List<$core.int> get file => $_getN(1); - @$pb.TagNumber(2) - set file($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasFile() => $_has(1); - @$pb.TagNumber(2) - void clearFile() => clearField(2); -} - -class UploadModuleFileResponse extends $pb.GeneratedMessage { - factory UploadModuleFileResponse({ - $core.String? url, - }) { - final $result = create(); - if (url != null) { - $result.url = url; - } - return $result; - } - UploadModuleFileResponse._() : super(); - factory UploadModuleFileResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UploadModuleFileResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UploadModuleFileResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'url') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UploadModuleFileResponse clone() => UploadModuleFileResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UploadModuleFileResponse copyWith(void Function(UploadModuleFileResponse) updates) => super.copyWith((message) => updates(message as UploadModuleFileResponse)) as UploadModuleFileResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UploadModuleFileResponse create() => UploadModuleFileResponse._(); - UploadModuleFileResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UploadModuleFileResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UploadModuleFileResponse? _defaultInstance; - - /// The detail page of the module - @$pb.TagNumber(1) - $core.String get url => $_getSZ(0); - @$pb.TagNumber(1) - set url($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUrl() => $_has(0); - @$pb.TagNumber(1) - void clearUrl() => clearField(1); -} - -class GetModuleRequest extends $pb.GeneratedMessage { - factory GetModuleRequest({ - $core.String? moduleId, - $core.bool? includeMarkdownDocumentation, - }) { - final $result = create(); - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (includeMarkdownDocumentation != null) { - $result.includeMarkdownDocumentation = includeMarkdownDocumentation; - } - return $result; - } - GetModuleRequest._() : super(); - factory GetModuleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetModuleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'moduleId') - ..aOB(2, _omitFieldNames ? '' : 'includeMarkdownDocumentation') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetModuleRequest clone() => GetModuleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetModuleRequest copyWith(void Function(GetModuleRequest) updates) => super.copyWith((message) => updates(message as GetModuleRequest)) as GetModuleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetModuleRequest create() => GetModuleRequest._(); - GetModuleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetModuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetModuleRequest? _defaultInstance; - - /// The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace) - @$pb.TagNumber(1) - $core.String get moduleId => $_getSZ(0); - @$pb.TagNumber(1) - set moduleId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleId() => $_has(0); - @$pb.TagNumber(1) - void clearModuleId() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get includeMarkdownDocumentation => $_getBF(1); - @$pb.TagNumber(2) - set includeMarkdownDocumentation($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIncludeMarkdownDocumentation() => $_has(1); - @$pb.TagNumber(2) - void clearIncludeMarkdownDocumentation() => clearField(2); -} - -class GetModuleResponse extends $pb.GeneratedMessage { - factory GetModuleResponse({ - Module? module, - }) { - final $result = create(); - if (module != null) { - $result.module = module; - } - return $result; - } - GetModuleResponse._() : super(); - factory GetModuleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetModuleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'module', subBuilder: Module.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetModuleResponse clone() => GetModuleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetModuleResponse copyWith(void Function(GetModuleResponse) updates) => super.copyWith((message) => updates(message as GetModuleResponse)) as GetModuleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetModuleResponse create() => GetModuleResponse._(); - GetModuleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetModuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetModuleResponse? _defaultInstance; - - /// The module object - @$pb.TagNumber(1) - Module get module => $_getN(0); - @$pb.TagNumber(1) - set module(Module v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasModule() => $_has(0); - @$pb.TagNumber(1) - void clearModule() => clearField(1); - @$pb.TagNumber(1) - Module ensureModule() => $_ensure(0); -} - -class Module extends $pb.GeneratedMessage { - factory Module({ - $core.String? moduleId, - $core.String? name, - Visibility? visibility, - $core.Iterable? versions, - $core.String? url, - $core.String? description, - $core.Iterable? models, - $fixnum.Int64? totalRobotUsage, - $fixnum.Int64? totalOrganizationUsage, - $core.String? organizationId, - $core.String? entrypoint, - $core.String? publicNamespace, - $core.String? firstRun, - }) { - final $result = create(); - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (name != null) { - $result.name = name; - } - if (visibility != null) { - $result.visibility = visibility; - } - if (versions != null) { - $result.versions.addAll(versions); - } - if (url != null) { - $result.url = url; - } - if (description != null) { - $result.description = description; - } - if (models != null) { - $result.models.addAll(models); - } - if (totalRobotUsage != null) { - $result.totalRobotUsage = totalRobotUsage; - } - if (totalOrganizationUsage != null) { - $result.totalOrganizationUsage = totalOrganizationUsage; - } - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (entrypoint != null) { - $result.entrypoint = entrypoint; - } - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - if (firstRun != null) { - $result.firstRun = firstRun; - } - return $result; - } - Module._() : super(); - factory Module.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Module.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Module', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'moduleId') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..e(3, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: Visibility.VISIBILITY_UNSPECIFIED, valueOf: Visibility.valueOf, enumValues: Visibility.values) - ..pc(4, _omitFieldNames ? '' : 'versions', $pb.PbFieldType.PM, subBuilder: VersionHistory.create) - ..aOS(5, _omitFieldNames ? '' : 'url') - ..aOS(6, _omitFieldNames ? '' : 'description') - ..pc(7, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) - ..aInt64(8, _omitFieldNames ? '' : 'totalRobotUsage') - ..aInt64(9, _omitFieldNames ? '' : 'totalOrganizationUsage') - ..aOS(10, _omitFieldNames ? '' : 'organizationId') - ..aOS(11, _omitFieldNames ? '' : 'entrypoint') - ..aOS(12, _omitFieldNames ? '' : 'publicNamespace') - ..aOS(13, _omitFieldNames ? '' : 'firstRun') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Module clone() => Module()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Module copyWith(void Function(Module) updates) => super.copyWith((message) => updates(message as Module)) as Module; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Module create() => Module._(); - Module createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Module getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Module? _defaultInstance; - - /// The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace) - @$pb.TagNumber(1) - $core.String get moduleId => $_getSZ(0); - @$pb.TagNumber(1) - set moduleId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleId() => $_has(0); - @$pb.TagNumber(1) - void clearModuleId() => clearField(1); - - /// The name of the module - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - /// The visibility of the module - @$pb.TagNumber(3) - Visibility get visibility => $_getN(2); - @$pb.TagNumber(3) - set visibility(Visibility v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasVisibility() => $_has(2); - @$pb.TagNumber(3) - void clearVisibility() => clearField(3); - - /// The versions of the module that are available - /// When this is returned from the backend, the versions are sorted in ascending order by the semver version - @$pb.TagNumber(4) - $core.List get versions => $_getList(3); - - /// The url to reference for documentation, code, etc. - @$pb.TagNumber(5) - $core.String get url => $_getSZ(4); - @$pb.TagNumber(5) - set url($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasUrl() => $_has(4); - @$pb.TagNumber(5) - void clearUrl() => clearField(5); - - /// A short description of the module that explains its purpose - @$pb.TagNumber(6) - $core.String get description => $_getSZ(5); - @$pb.TagNumber(6) - set description($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasDescription() => $_has(5); - @$pb.TagNumber(6) - void clearDescription() => clearField(6); - - /// A list of models that are available in the module - @$pb.TagNumber(7) - $core.List get models => $_getList(6); - - /// The total number of robots using this module - @$pb.TagNumber(8) - $fixnum.Int64 get totalRobotUsage => $_getI64(7); - @$pb.TagNumber(8) - set totalRobotUsage($fixnum.Int64 v) { $_setInt64(7, v); } - @$pb.TagNumber(8) - $core.bool hasTotalRobotUsage() => $_has(7); - @$pb.TagNumber(8) - void clearTotalRobotUsage() => clearField(8); - - /// The total number of organizations using this module - @$pb.TagNumber(9) - $fixnum.Int64 get totalOrganizationUsage => $_getI64(8); - @$pb.TagNumber(9) - set totalOrganizationUsage($fixnum.Int64 v) { $_setInt64(8, v); } - @$pb.TagNumber(9) - $core.bool hasTotalOrganizationUsage() => $_has(8); - @$pb.TagNumber(9) - void clearTotalOrganizationUsage() => clearField(9); - - /// The id of the organization that owns the module - @$pb.TagNumber(10) - $core.String get organizationId => $_getSZ(9); - @$pb.TagNumber(10) - set organizationId($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasOrganizationId() => $_has(9); - @$pb.TagNumber(10) - void clearOrganizationId() => clearField(10); - - /// The executable to run to start the module program - @$pb.TagNumber(11) - $core.String get entrypoint => $_getSZ(10); - @$pb.TagNumber(11) - set entrypoint($core.String v) { $_setString(10, v); } - @$pb.TagNumber(11) - $core.bool hasEntrypoint() => $_has(10); - @$pb.TagNumber(11) - void clearEntrypoint() => clearField(11); - - /// The public namespace of the organization that owns the module - /// This is empty if no public namespace is set - @$pb.TagNumber(12) - $core.String get publicNamespace => $_getSZ(11); - @$pb.TagNumber(12) - set publicNamespace($core.String v) { $_setString(11, v); } - @$pb.TagNumber(12) - $core.bool hasPublicNamespace() => $_has(11); - @$pb.TagNumber(12) - void clearPublicNamespace() => clearField(12); - - /// The path to a setup script that is run before a newly downloaded module starts. - @$pb.TagNumber(13) - $core.String get firstRun => $_getSZ(12); - @$pb.TagNumber(13) - set firstRun($core.String v) { $_setString(12, v); } - @$pb.TagNumber(13) - $core.bool hasFirstRun() => $_has(12); - @$pb.TagNumber(13) - void clearFirstRun() => clearField(13); -} - -class VersionHistory extends $pb.GeneratedMessage { - factory VersionHistory({ - $core.String? version, - $core.Iterable? files, - $core.Iterable? models, - $core.String? entrypoint, - $core.String? firstRun, - }) { - final $result = create(); - if (version != null) { - $result.version = version; - } - if (files != null) { - $result.files.addAll(files); - } - if (models != null) { - $result.models.addAll(models); - } - if (entrypoint != null) { - $result.entrypoint = entrypoint; - } - if (firstRun != null) { - $result.firstRun = firstRun; - } - return $result; - } - VersionHistory._() : super(); - factory VersionHistory.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory VersionHistory.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VersionHistory', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'version') - ..pc(2, _omitFieldNames ? '' : 'files', $pb.PbFieldType.PM, subBuilder: Uploads.create) - ..pc(3, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) - ..aOS(4, _omitFieldNames ? '' : 'entrypoint') - ..aOS(5, _omitFieldNames ? '' : 'firstRun') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - VersionHistory clone() => VersionHistory()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VersionHistory copyWith(void Function(VersionHistory) updates) => super.copyWith((message) => updates(message as VersionHistory)) as VersionHistory; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static VersionHistory create() => VersionHistory._(); - VersionHistory createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static VersionHistory getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static VersionHistory? _defaultInstance; - - /// The semver string that represents the major/minor/patch version of the module - @$pb.TagNumber(1) - $core.String get version => $_getSZ(0); - @$pb.TagNumber(1) - set version($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasVersion() => $_has(0); - @$pb.TagNumber(1) - void clearVersion() => clearField(1); - - /// The uploads that are available for this module version - @$pb.TagNumber(2) - $core.List get files => $_getList(1); - - /// The models that this verion of the module provides - @$pb.TagNumber(3) - $core.List get models => $_getList(2); - - /// The entrypoint for this version of the module - @$pb.TagNumber(4) - $core.String get entrypoint => $_getSZ(3); - @$pb.TagNumber(4) - set entrypoint($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasEntrypoint() => $_has(3); - @$pb.TagNumber(4) - void clearEntrypoint() => clearField(4); - - /// The path to a setup script that is run before a newly downloaded module starts. - @$pb.TagNumber(5) - $core.String get firstRun => $_getSZ(4); - @$pb.TagNumber(5) - set firstRun($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasFirstRun() => $_has(4); - @$pb.TagNumber(5) - void clearFirstRun() => clearField(5); -} - -class Uploads extends $pb.GeneratedMessage { - factory Uploads({ - $core.String? platform, - $47.Timestamp? uploadedAt, - }) { - final $result = create(); - if (platform != null) { - $result.platform = platform; - } - if (uploadedAt != null) { - $result.uploadedAt = uploadedAt; - } - return $result; - } - Uploads._() : super(); - factory Uploads.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Uploads.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Uploads', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'platform') - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Uploads clone() => Uploads()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Uploads copyWith(void Function(Uploads) updates) => super.copyWith((message) => updates(message as Uploads)) as Uploads; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Uploads create() => Uploads._(); - Uploads createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Uploads getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Uploads? _defaultInstance; - - /// The OS and architecture the module is built to run on - @$pb.TagNumber(1) - $core.String get platform => $_getSZ(0); - @$pb.TagNumber(1) - set platform($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPlatform() => $_has(0); - @$pb.TagNumber(1) - void clearPlatform() => clearField(1); - - /// The time when the file was uploaded - @$pb.TagNumber(2) - $47.Timestamp get uploadedAt => $_getN(1); - @$pb.TagNumber(2) - set uploadedAt($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasUploadedAt() => $_has(1); - @$pb.TagNumber(2) - void clearUploadedAt() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureUploadedAt() => $_ensure(1); -} - -class ListModulesRequest extends $pb.GeneratedMessage { - factory ListModulesRequest({ - $core.String? organizationId, - $core.bool? includeMarkdownDocumentation, - }) { - final $result = create(); - if (organizationId != null) { - $result.organizationId = organizationId; - } - if (includeMarkdownDocumentation != null) { - $result.includeMarkdownDocumentation = includeMarkdownDocumentation; - } - return $result; - } - ListModulesRequest._() : super(); - factory ListModulesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListModulesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListModulesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..aOB(2, _omitFieldNames ? '' : 'includeMarkdownDocumentation') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListModulesRequest clone() => ListModulesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListModulesRequest copyWith(void Function(ListModulesRequest) updates) => super.copyWith((message) => updates(message as ListModulesRequest)) as ListModulesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListModulesRequest create() => ListModulesRequest._(); - ListModulesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListModulesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListModulesRequest? _defaultInstance; - - /// The id of the organization to return private modules for. - @$pb.TagNumber(1) - $core.String get organizationId => $_getSZ(0); - @$pb.TagNumber(1) - set organizationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrganizationId() => $_has(0); - @$pb.TagNumber(1) - void clearOrganizationId() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get includeMarkdownDocumentation => $_getBF(1); - @$pb.TagNumber(2) - set includeMarkdownDocumentation($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIncludeMarkdownDocumentation() => $_has(1); - @$pb.TagNumber(2) - void clearIncludeMarkdownDocumentation() => clearField(2); -} - -class ListModulesResponse extends $pb.GeneratedMessage { - factory ListModulesResponse({ - $core.Iterable? modules, - }) { - final $result = create(); - if (modules != null) { - $result.modules.addAll(modules); - } - return $result; - } - ListModulesResponse._() : super(); - factory ListModulesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListModulesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListModulesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'modules', $pb.PbFieldType.PM, subBuilder: Module.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListModulesResponse clone() => ListModulesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListModulesResponse copyWith(void Function(ListModulesResponse) updates) => super.copyWith((message) => updates(message as ListModulesResponse)) as ListModulesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListModulesResponse create() => ListModulesResponse._(); - ListModulesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListModulesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListModulesResponse? _defaultInstance; - - /// A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned. - @$pb.TagNumber(1) - $core.List get modules => $_getList(0); -} - -class GetUserIDByEmailRequest extends $pb.GeneratedMessage { - factory GetUserIDByEmailRequest({ - $core.String? email, - }) { - final $result = create(); - if (email != null) { - $result.email = email; - } - return $result; - } - GetUserIDByEmailRequest._() : super(); - factory GetUserIDByEmailRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetUserIDByEmailRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetUserIDByEmailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'email') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetUserIDByEmailRequest clone() => GetUserIDByEmailRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetUserIDByEmailRequest copyWith(void Function(GetUserIDByEmailRequest) updates) => super.copyWith((message) => updates(message as GetUserIDByEmailRequest)) as GetUserIDByEmailRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetUserIDByEmailRequest create() => GetUserIDByEmailRequest._(); - GetUserIDByEmailRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetUserIDByEmailRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetUserIDByEmailRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get email => $_getSZ(0); - @$pb.TagNumber(1) - set email($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasEmail() => $_has(0); - @$pb.TagNumber(1) - void clearEmail() => clearField(1); -} - -class GetUserIDByEmailResponse extends $pb.GeneratedMessage { - factory GetUserIDByEmailResponse({ - $core.String? userId, - }) { - final $result = create(); - if (userId != null) { - $result.userId = userId; - } - return $result; - } - GetUserIDByEmailResponse._() : super(); - factory GetUserIDByEmailResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetUserIDByEmailResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetUserIDByEmailResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'userId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetUserIDByEmailResponse clone() => GetUserIDByEmailResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetUserIDByEmailResponse copyWith(void Function(GetUserIDByEmailResponse) updates) => super.copyWith((message) => updates(message as GetUserIDByEmailResponse)) as GetUserIDByEmailResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetUserIDByEmailResponse create() => GetUserIDByEmailResponse._(); - GetUserIDByEmailResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetUserIDByEmailResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetUserIDByEmailResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get userId => $_getSZ(0); - @$pb.TagNumber(1) - set userId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUserId() => $_has(0); - @$pb.TagNumber(1) - void clearUserId() => clearField(1); -} - -class ListOrganizationsByUserRequest extends $pb.GeneratedMessage { - factory ListOrganizationsByUserRequest({ - $core.String? userId, - }) { - final $result = create(); - if (userId != null) { - $result.userId = userId; - } - return $result; - } - ListOrganizationsByUserRequest._() : super(); - factory ListOrganizationsByUserRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOrganizationsByUserRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganizationsByUserRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'userId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOrganizationsByUserRequest clone() => ListOrganizationsByUserRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOrganizationsByUserRequest copyWith(void Function(ListOrganizationsByUserRequest) updates) => super.copyWith((message) => updates(message as ListOrganizationsByUserRequest)) as ListOrganizationsByUserRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOrganizationsByUserRequest create() => ListOrganizationsByUserRequest._(); - ListOrganizationsByUserRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOrganizationsByUserRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOrganizationsByUserRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get userId => $_getSZ(0); - @$pb.TagNumber(1) - set userId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUserId() => $_has(0); - @$pb.TagNumber(1) - void clearUserId() => clearField(1); -} - -class OrgDetails extends $pb.GeneratedMessage { - factory OrgDetails({ - $core.String? orgId, - $core.String? orgName, - $core.String? orgCid, - $core.String? publicNamespace, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (orgName != null) { - $result.orgName = orgName; - } - if (orgCid != null) { - $result.orgCid = orgCid; - } - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - return $result; - } - OrgDetails._() : super(); - factory OrgDetails.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrgDetails.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrgDetails', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'orgName') - ..aOS(3, _omitFieldNames ? '' : 'orgCid') - ..aOS(4, _omitFieldNames ? '' : 'publicNamespace') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrgDetails clone() => OrgDetails()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrgDetails copyWith(void Function(OrgDetails) updates) => super.copyWith((message) => updates(message as OrgDetails)) as OrgDetails; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrgDetails create() => OrgDetails._(); - OrgDetails createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrgDetails getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrgDetails? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get orgName => $_getSZ(1); - @$pb.TagNumber(2) - set orgName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrgName() => $_has(1); - @$pb.TagNumber(2) - void clearOrgName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get orgCid => $_getSZ(2); - @$pb.TagNumber(3) - set orgCid($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasOrgCid() => $_has(2); - @$pb.TagNumber(3) - void clearOrgCid() => clearField(3); - - @$pb.TagNumber(4) - $core.String get publicNamespace => $_getSZ(3); - @$pb.TagNumber(4) - set publicNamespace($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasPublicNamespace() => $_has(3); - @$pb.TagNumber(4) - void clearPublicNamespace() => clearField(4); -} - -class ListOrganizationsByUserResponse extends $pb.GeneratedMessage { - factory ListOrganizationsByUserResponse({ - $core.Iterable? orgs, - }) { - final $result = create(); - if (orgs != null) { - $result.orgs.addAll(orgs); - } - return $result; - } - ListOrganizationsByUserResponse._() : super(); - factory ListOrganizationsByUserResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOrganizationsByUserResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOrganizationsByUserResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'orgs', $pb.PbFieldType.PM, subBuilder: OrgDetails.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOrganizationsByUserResponse clone() => ListOrganizationsByUserResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOrganizationsByUserResponse copyWith(void Function(ListOrganizationsByUserResponse) updates) => super.copyWith((message) => updates(message as ListOrganizationsByUserResponse)) as ListOrganizationsByUserResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOrganizationsByUserResponse create() => ListOrganizationsByUserResponse._(); - ListOrganizationsByUserResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOrganizationsByUserResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOrganizationsByUserResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get orgs => $_getList(0); -} - -class SearchOrganizationsRequest extends $pb.GeneratedMessage { - factory SearchOrganizationsRequest({ - $core.String? orgId, - $core.String? orgName, - $core.String? cid, - $core.String? publicNamespace, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (orgName != null) { - $result.orgName = orgName; - } - if (cid != null) { - $result.cid = cid; - } - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - return $result; - } - SearchOrganizationsRequest._() : super(); - factory SearchOrganizationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SearchOrganizationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SearchOrganizationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'orgName') - ..aOS(3, _omitFieldNames ? '' : 'cid') - ..aOS(4, _omitFieldNames ? '' : 'publicNamespace') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SearchOrganizationsRequest clone() => SearchOrganizationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SearchOrganizationsRequest copyWith(void Function(SearchOrganizationsRequest) updates) => super.copyWith((message) => updates(message as SearchOrganizationsRequest)) as SearchOrganizationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SearchOrganizationsRequest create() => SearchOrganizationsRequest._(); - SearchOrganizationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SearchOrganizationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SearchOrganizationsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get orgName => $_getSZ(1); - @$pb.TagNumber(2) - set orgName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrgName() => $_has(1); - @$pb.TagNumber(2) - void clearOrgName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get cid => $_getSZ(2); - @$pb.TagNumber(3) - set cid($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasCid() => $_has(2); - @$pb.TagNumber(3) - void clearCid() => clearField(3); - - @$pb.TagNumber(4) - $core.String get publicNamespace => $_getSZ(3); - @$pb.TagNumber(4) - set publicNamespace($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasPublicNamespace() => $_has(3); - @$pb.TagNumber(4) - void clearPublicNamespace() => clearField(4); -} - -class SearchOrganizationsResponse extends $pb.GeneratedMessage { - factory SearchOrganizationsResponse({ - $core.Iterable? organizations, - }) { - final $result = create(); - if (organizations != null) { - $result.organizations.addAll(organizations); - } - return $result; - } - SearchOrganizationsResponse._() : super(); - factory SearchOrganizationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SearchOrganizationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SearchOrganizationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: OrgDetails.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SearchOrganizationsResponse clone() => SearchOrganizationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SearchOrganizationsResponse copyWith(void Function(SearchOrganizationsResponse) updates) => super.copyWith((message) => updates(message as SearchOrganizationsResponse)) as SearchOrganizationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SearchOrganizationsResponse create() => SearchOrganizationsResponse._(); - SearchOrganizationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SearchOrganizationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SearchOrganizationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get organizations => $_getList(0); -} - -class CreateKeyRequest extends $pb.GeneratedMessage { - factory CreateKeyRequest({ - $core.Iterable? authorizations, - $core.String? name, - }) { - final $result = create(); - if (authorizations != null) { - $result.authorizations.addAll(authorizations); - } - if (name != null) { - $result.name = name; - } - return $result; - } - CreateKeyRequest._() : super(); - factory CreateKeyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateKeyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateKeyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) - ..aOS(2, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateKeyRequest clone() => CreateKeyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateKeyRequest copyWith(void Function(CreateKeyRequest) updates) => super.copyWith((message) => updates(message as CreateKeyRequest)) as CreateKeyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateKeyRequest create() => CreateKeyRequest._(); - CreateKeyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateKeyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateKeyRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get authorizations => $_getList(0); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); -} - -class CreateKeyResponse extends $pb.GeneratedMessage { - factory CreateKeyResponse({ - $core.String? key, - $core.String? id, - }) { - final $result = create(); - if (key != null) { - $result.key = key; - } - if (id != null) { - $result.id = id; - } - return $result; - } - CreateKeyResponse._() : super(); - factory CreateKeyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateKeyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateKeyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'key') - ..aOS(2, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateKeyResponse clone() => CreateKeyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateKeyResponse copyWith(void Function(CreateKeyResponse) updates) => super.copyWith((message) => updates(message as CreateKeyResponse)) as CreateKeyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateKeyResponse create() => CreateKeyResponse._(); - CreateKeyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateKeyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateKeyResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get key => $_getSZ(0); - @$pb.TagNumber(1) - set key($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasKey() => $_has(0); - @$pb.TagNumber(1) - void clearKey() => clearField(1); - - @$pb.TagNumber(2) - $core.String get id => $_getSZ(1); - @$pb.TagNumber(2) - set id($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasId() => $_has(1); - @$pb.TagNumber(2) - void clearId() => clearField(2); -} - -class DeleteKeyRequest extends $pb.GeneratedMessage { - factory DeleteKeyRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - DeleteKeyRequest._() : super(); - factory DeleteKeyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteKeyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteKeyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteKeyRequest clone() => DeleteKeyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteKeyRequest copyWith(void Function(DeleteKeyRequest) updates) => super.copyWith((message) => updates(message as DeleteKeyRequest)) as DeleteKeyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteKeyRequest create() => DeleteKeyRequest._(); - DeleteKeyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteKeyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteKeyRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class DeleteKeyResponse extends $pb.GeneratedMessage { - factory DeleteKeyResponse() => create(); - DeleteKeyResponse._() : super(); - factory DeleteKeyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteKeyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteKeyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteKeyResponse clone() => DeleteKeyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteKeyResponse copyWith(void Function(DeleteKeyResponse) updates) => super.copyWith((message) => updates(message as DeleteKeyResponse)) as DeleteKeyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteKeyResponse create() => DeleteKeyResponse._(); - DeleteKeyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteKeyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteKeyResponse? _defaultInstance; -} - -class RenameKeyRequest extends $pb.GeneratedMessage { - factory RenameKeyRequest({ - $core.String? id, - $core.String? name, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - return $result; - } - RenameKeyRequest._() : super(); - factory RenameKeyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RenameKeyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenameKeyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RenameKeyRequest clone() => RenameKeyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RenameKeyRequest copyWith(void Function(RenameKeyRequest) updates) => super.copyWith((message) => updates(message as RenameKeyRequest)) as RenameKeyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RenameKeyRequest create() => RenameKeyRequest._(); - RenameKeyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RenameKeyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RenameKeyRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); -} - -class RenameKeyResponse extends $pb.GeneratedMessage { - factory RenameKeyResponse({ - $core.String? id, - $core.String? name, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - return $result; - } - RenameKeyResponse._() : super(); - factory RenameKeyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RenameKeyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenameKeyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RenameKeyResponse clone() => RenameKeyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RenameKeyResponse copyWith(void Function(RenameKeyResponse) updates) => super.copyWith((message) => updates(message as RenameKeyResponse)) as RenameKeyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RenameKeyResponse create() => RenameKeyResponse._(); - RenameKeyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RenameKeyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RenameKeyResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); -} - -class AuthorizationDetails extends $pb.GeneratedMessage { - factory AuthorizationDetails({ - $core.String? authorizationType, - $core.String? authorizationId, - $core.String? resourceType, - $core.String? resourceId, - $core.String? orgId, - }) { - final $result = create(); - if (authorizationType != null) { - $result.authorizationType = authorizationType; - } - if (authorizationId != null) { - $result.authorizationId = authorizationId; - } - if (resourceType != null) { - $result.resourceType = resourceType; - } - if (resourceId != null) { - $result.resourceId = resourceId; - } - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - AuthorizationDetails._() : super(); - factory AuthorizationDetails.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthorizationDetails.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthorizationDetails', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'authorizationType') - ..aOS(2, _omitFieldNames ? '' : 'authorizationId') - ..aOS(3, _omitFieldNames ? '' : 'resourceType') - ..aOS(4, _omitFieldNames ? '' : 'resourceId') - ..aOS(5, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthorizationDetails clone() => AuthorizationDetails()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthorizationDetails copyWith(void Function(AuthorizationDetails) updates) => super.copyWith((message) => updates(message as AuthorizationDetails)) as AuthorizationDetails; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthorizationDetails create() => AuthorizationDetails._(); - AuthorizationDetails createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthorizationDetails getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthorizationDetails? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get authorizationType => $_getSZ(0); - @$pb.TagNumber(1) - set authorizationType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasAuthorizationType() => $_has(0); - @$pb.TagNumber(1) - void clearAuthorizationType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get authorizationId => $_getSZ(1); - @$pb.TagNumber(2) - set authorizationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasAuthorizationId() => $_has(1); - @$pb.TagNumber(2) - void clearAuthorizationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get resourceType => $_getSZ(2); - @$pb.TagNumber(3) - set resourceType($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasResourceType() => $_has(2); - @$pb.TagNumber(3) - void clearResourceType() => clearField(3); - - @$pb.TagNumber(4) - $core.String get resourceId => $_getSZ(3); - @$pb.TagNumber(4) - set resourceId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasResourceId() => $_has(3); - @$pb.TagNumber(4) - void clearResourceId() => clearField(4); - - @$pb.TagNumber(5) - $core.String get orgId => $_getSZ(4); - @$pb.TagNumber(5) - set orgId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasOrgId() => $_has(4); - @$pb.TagNumber(5) - void clearOrgId() => clearField(5); -} - -class APIKeyWithAuthorizations extends $pb.GeneratedMessage { - factory APIKeyWithAuthorizations({ - APIKey? apiKey, - $core.Iterable? authorizations, - }) { - final $result = create(); - if (apiKey != null) { - $result.apiKey = apiKey; - } - if (authorizations != null) { - $result.authorizations.addAll(authorizations); - } - return $result; - } - APIKeyWithAuthorizations._() : super(); - factory APIKeyWithAuthorizations.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory APIKeyWithAuthorizations.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'APIKeyWithAuthorizations', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'apiKey', subBuilder: APIKey.create) - ..pc(2, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: AuthorizationDetails.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - APIKeyWithAuthorizations clone() => APIKeyWithAuthorizations()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - APIKeyWithAuthorizations copyWith(void Function(APIKeyWithAuthorizations) updates) => super.copyWith((message) => updates(message as APIKeyWithAuthorizations)) as APIKeyWithAuthorizations; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static APIKeyWithAuthorizations create() => APIKeyWithAuthorizations._(); - APIKeyWithAuthorizations createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static APIKeyWithAuthorizations getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static APIKeyWithAuthorizations? _defaultInstance; - - @$pb.TagNumber(1) - APIKey get apiKey => $_getN(0); - @$pb.TagNumber(1) - set apiKey(APIKey v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasApiKey() => $_has(0); - @$pb.TagNumber(1) - void clearApiKey() => clearField(1); - @$pb.TagNumber(1) - APIKey ensureApiKey() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List get authorizations => $_getList(1); -} - -class ListKeysRequest extends $pb.GeneratedMessage { - factory ListKeysRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - ListKeysRequest._() : super(); - factory ListKeysRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListKeysRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListKeysRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListKeysRequest clone() => ListKeysRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListKeysRequest copyWith(void Function(ListKeysRequest) updates) => super.copyWith((message) => updates(message as ListKeysRequest)) as ListKeysRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListKeysRequest create() => ListKeysRequest._(); - ListKeysRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListKeysRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListKeysRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class ListKeysResponse extends $pb.GeneratedMessage { - factory ListKeysResponse({ - $core.Iterable? apiKeys, - }) { - final $result = create(); - if (apiKeys != null) { - $result.apiKeys.addAll(apiKeys); - } - return $result; - } - ListKeysResponse._() : super(); - factory ListKeysResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListKeysResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListKeysResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'apiKeys', $pb.PbFieldType.PM, subBuilder: APIKeyWithAuthorizations.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListKeysResponse clone() => ListKeysResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListKeysResponse copyWith(void Function(ListKeysResponse) updates) => super.copyWith((message) => updates(message as ListKeysResponse)) as ListKeysResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListKeysResponse create() => ListKeysResponse._(); - ListKeysResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListKeysResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListKeysResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get apiKeys => $_getList(0); -} - -class RotateKeyRequest extends $pb.GeneratedMessage { - factory RotateKeyRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - RotateKeyRequest._() : super(); - factory RotateKeyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RotateKeyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RotateKeyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RotateKeyRequest clone() => RotateKeyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RotateKeyRequest copyWith(void Function(RotateKeyRequest) updates) => super.copyWith((message) => updates(message as RotateKeyRequest)) as RotateKeyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RotateKeyRequest create() => RotateKeyRequest._(); - RotateKeyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RotateKeyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RotateKeyRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class RotateKeyResponse extends $pb.GeneratedMessage { - factory RotateKeyResponse({ - $core.String? id, - $core.String? key, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (key != null) { - $result.key = key; - } - return $result; - } - RotateKeyResponse._() : super(); - factory RotateKeyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RotateKeyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RotateKeyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'key') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RotateKeyResponse clone() => RotateKeyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RotateKeyResponse copyWith(void Function(RotateKeyResponse) updates) => super.copyWith((message) => updates(message as RotateKeyResponse)) as RotateKeyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RotateKeyResponse create() => RotateKeyResponse._(); - RotateKeyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RotateKeyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RotateKeyResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get key => $_getSZ(1); - @$pb.TagNumber(2) - set key($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasKey() => $_has(1); - @$pb.TagNumber(2) - void clearKey() => clearField(2); -} - -class CreateKeyFromExistingKeyAuthorizationsRequest extends $pb.GeneratedMessage { - factory CreateKeyFromExistingKeyAuthorizationsRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - CreateKeyFromExistingKeyAuthorizationsRequest._() : super(); - factory CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateKeyFromExistingKeyAuthorizationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateKeyFromExistingKeyAuthorizationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateKeyFromExistingKeyAuthorizationsRequest clone() => CreateKeyFromExistingKeyAuthorizationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateKeyFromExistingKeyAuthorizationsRequest copyWith(void Function(CreateKeyFromExistingKeyAuthorizationsRequest) updates) => super.copyWith((message) => updates(message as CreateKeyFromExistingKeyAuthorizationsRequest)) as CreateKeyFromExistingKeyAuthorizationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateKeyFromExistingKeyAuthorizationsRequest create() => CreateKeyFromExistingKeyAuthorizationsRequest._(); - CreateKeyFromExistingKeyAuthorizationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateKeyFromExistingKeyAuthorizationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateKeyFromExistingKeyAuthorizationsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class CreateKeyFromExistingKeyAuthorizationsResponse extends $pb.GeneratedMessage { - factory CreateKeyFromExistingKeyAuthorizationsResponse({ - $core.String? id, - $core.String? key, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (key != null) { - $result.key = key; - } - return $result; - } - CreateKeyFromExistingKeyAuthorizationsResponse._() : super(); - factory CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateKeyFromExistingKeyAuthorizationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateKeyFromExistingKeyAuthorizationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'key') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateKeyFromExistingKeyAuthorizationsResponse clone() => CreateKeyFromExistingKeyAuthorizationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateKeyFromExistingKeyAuthorizationsResponse copyWith(void Function(CreateKeyFromExistingKeyAuthorizationsResponse) updates) => super.copyWith((message) => updates(message as CreateKeyFromExistingKeyAuthorizationsResponse)) as CreateKeyFromExistingKeyAuthorizationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateKeyFromExistingKeyAuthorizationsResponse create() => CreateKeyFromExistingKeyAuthorizationsResponse._(); - CreateKeyFromExistingKeyAuthorizationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateKeyFromExistingKeyAuthorizationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateKeyFromExistingKeyAuthorizationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get key => $_getSZ(1); - @$pb.TagNumber(2) - set key($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasKey() => $_has(1); - @$pb.TagNumber(2) - void clearKey() => clearField(2); -} - -class GetAppContentRequest extends $pb.GeneratedMessage { - factory GetAppContentRequest({ - $core.String? publicNamespace, - $core.String? name, - }) { - final $result = create(); - if (publicNamespace != null) { - $result.publicNamespace = publicNamespace; - } - if (name != null) { - $result.name = name; - } - return $result; - } - GetAppContentRequest._() : super(); - factory GetAppContentRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAppContentRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAppContentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'publicNamespace') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAppContentRequest clone() => GetAppContentRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAppContentRequest copyWith(void Function(GetAppContentRequest) updates) => super.copyWith((message) => updates(message as GetAppContentRequest)) as GetAppContentRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAppContentRequest create() => GetAppContentRequest._(); - GetAppContentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAppContentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAppContentRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get publicNamespace => $_getSZ(0); - @$pb.TagNumber(1) - set publicNamespace($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPublicNamespace() => $_has(0); - @$pb.TagNumber(1) - void clearPublicNamespace() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); -} - -class GetAppContentResponse extends $pb.GeneratedMessage { - factory GetAppContentResponse({ - $core.String? url, - }) { - final $result = create(); - if (url != null) { - $result.url = url; - } - return $result; - } - GetAppContentResponse._() : super(); - factory GetAppContentResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAppContentResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAppContentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'url') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAppContentResponse clone() => GetAppContentResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAppContentResponse copyWith(void Function(GetAppContentResponse) updates) => super.copyWith((message) => updates(message as GetAppContentResponse)) as GetAppContentResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAppContentResponse create() => GetAppContentResponse._(); - GetAppContentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAppContentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAppContentResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get url => $_getSZ(0); - @$pb.TagNumber(1) - set url($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUrl() => $_has(0); - @$pb.TagNumber(1) - void clearUrl() => clearField(1); -} - -class OrganizationSetLogoRequest extends $pb.GeneratedMessage { - factory OrganizationSetLogoRequest({ - $core.String? orgId, - $core.List<$core.int>? logo, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (logo != null) { - $result.logo = logo; - } - return $result; - } - OrganizationSetLogoRequest._() : super(); - factory OrganizationSetLogoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationSetLogoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationSetLogoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'logo', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationSetLogoRequest clone() => OrganizationSetLogoRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationSetLogoRequest copyWith(void Function(OrganizationSetLogoRequest) updates) => super.copyWith((message) => updates(message as OrganizationSetLogoRequest)) as OrganizationSetLogoRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationSetLogoRequest create() => OrganizationSetLogoRequest._(); - OrganizationSetLogoRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationSetLogoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationSetLogoRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$core.int> get logo => $_getN(1); - @$pb.TagNumber(2) - set logo($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasLogo() => $_has(1); - @$pb.TagNumber(2) - void clearLogo() => clearField(2); -} - -class OrganizationSetLogoResponse extends $pb.GeneratedMessage { - factory OrganizationSetLogoResponse() => create(); - OrganizationSetLogoResponse._() : super(); - factory OrganizationSetLogoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationSetLogoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationSetLogoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationSetLogoResponse clone() => OrganizationSetLogoResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationSetLogoResponse copyWith(void Function(OrganizationSetLogoResponse) updates) => super.copyWith((message) => updates(message as OrganizationSetLogoResponse)) as OrganizationSetLogoResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationSetLogoResponse create() => OrganizationSetLogoResponse._(); - OrganizationSetLogoResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationSetLogoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationSetLogoResponse? _defaultInstance; -} - -class OrganizationGetLogoRequest extends $pb.GeneratedMessage { - factory OrganizationGetLogoRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - OrganizationGetLogoRequest._() : super(); - factory OrganizationGetLogoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationGetLogoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationGetLogoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationGetLogoRequest clone() => OrganizationGetLogoRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationGetLogoRequest copyWith(void Function(OrganizationGetLogoRequest) updates) => super.copyWith((message) => updates(message as OrganizationGetLogoRequest)) as OrganizationGetLogoRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationGetLogoRequest create() => OrganizationGetLogoRequest._(); - OrganizationGetLogoRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationGetLogoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationGetLogoRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class OrganizationGetLogoResponse extends $pb.GeneratedMessage { - factory OrganizationGetLogoResponse({ - $core.String? url, - }) { - final $result = create(); - if (url != null) { - $result.url = url; - } - return $result; - } - OrganizationGetLogoResponse._() : super(); - factory OrganizationGetLogoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrganizationGetLogoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationGetLogoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'url') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrganizationGetLogoResponse clone() => OrganizationGetLogoResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrganizationGetLogoResponse copyWith(void Function(OrganizationGetLogoResponse) updates) => super.copyWith((message) => updates(message as OrganizationGetLogoResponse)) as OrganizationGetLogoResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrganizationGetLogoResponse create() => OrganizationGetLogoResponse._(); - OrganizationGetLogoResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrganizationGetLogoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrganizationGetLogoResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get url => $_getSZ(0); - @$pb.TagNumber(1) - set url($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUrl() => $_has(0); - @$pb.TagNumber(1) - void clearUrl() => clearField(1); -} - -class EnableAuthServiceRequest extends $pb.GeneratedMessage { - factory EnableAuthServiceRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - EnableAuthServiceRequest._() : super(); - factory EnableAuthServiceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnableAuthServiceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnableAuthServiceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnableAuthServiceRequest clone() => EnableAuthServiceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnableAuthServiceRequest copyWith(void Function(EnableAuthServiceRequest) updates) => super.copyWith((message) => updates(message as EnableAuthServiceRequest)) as EnableAuthServiceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnableAuthServiceRequest create() => EnableAuthServiceRequest._(); - EnableAuthServiceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnableAuthServiceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnableAuthServiceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class EnableAuthServiceResponse extends $pb.GeneratedMessage { - factory EnableAuthServiceResponse() => create(); - EnableAuthServiceResponse._() : super(); - factory EnableAuthServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnableAuthServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnableAuthServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnableAuthServiceResponse clone() => EnableAuthServiceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnableAuthServiceResponse copyWith(void Function(EnableAuthServiceResponse) updates) => super.copyWith((message) => updates(message as EnableAuthServiceResponse)) as EnableAuthServiceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnableAuthServiceResponse create() => EnableAuthServiceResponse._(); - EnableAuthServiceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnableAuthServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnableAuthServiceResponse? _defaultInstance; -} - -class DisableAuthServiceRequest extends $pb.GeneratedMessage { - factory DisableAuthServiceRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - DisableAuthServiceRequest._() : super(); - factory DisableAuthServiceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DisableAuthServiceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisableAuthServiceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DisableAuthServiceRequest clone() => DisableAuthServiceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DisableAuthServiceRequest copyWith(void Function(DisableAuthServiceRequest) updates) => super.copyWith((message) => updates(message as DisableAuthServiceRequest)) as DisableAuthServiceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DisableAuthServiceRequest create() => DisableAuthServiceRequest._(); - DisableAuthServiceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DisableAuthServiceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DisableAuthServiceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class DisableAuthServiceResponse extends $pb.GeneratedMessage { - factory DisableAuthServiceResponse() => create(); - DisableAuthServiceResponse._() : super(); - factory DisableAuthServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DisableAuthServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisableAuthServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DisableAuthServiceResponse clone() => DisableAuthServiceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DisableAuthServiceResponse copyWith(void Function(DisableAuthServiceResponse) updates) => super.copyWith((message) => updates(message as DisableAuthServiceResponse)) as DisableAuthServiceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DisableAuthServiceResponse create() => DisableAuthServiceResponse._(); - DisableAuthServiceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DisableAuthServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DisableAuthServiceResponse? _defaultInstance; -} - -class CreateOAuthAppRequest extends $pb.GeneratedMessage { - factory CreateOAuthAppRequest({ - $core.String? orgId, - $core.String? clientName, - OAuthConfig? oauthConfig, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (clientName != null) { - $result.clientName = clientName; - } - if (oauthConfig != null) { - $result.oauthConfig = oauthConfig; - } - return $result; - } - CreateOAuthAppRequest._() : super(); - factory CreateOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'clientName') - ..aOM(3, _omitFieldNames ? '' : 'oauthConfig', subBuilder: OAuthConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateOAuthAppRequest clone() => CreateOAuthAppRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateOAuthAppRequest copyWith(void Function(CreateOAuthAppRequest) updates) => super.copyWith((message) => updates(message as CreateOAuthAppRequest)) as CreateOAuthAppRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateOAuthAppRequest create() => CreateOAuthAppRequest._(); - CreateOAuthAppRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateOAuthAppRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get clientName => $_getSZ(1); - @$pb.TagNumber(2) - set clientName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasClientName() => $_has(1); - @$pb.TagNumber(2) - void clearClientName() => clearField(2); - - @$pb.TagNumber(3) - OAuthConfig get oauthConfig => $_getN(2); - @$pb.TagNumber(3) - set oauthConfig(OAuthConfig v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOauthConfig() => $_has(2); - @$pb.TagNumber(3) - void clearOauthConfig() => clearField(3); - @$pb.TagNumber(3) - OAuthConfig ensureOauthConfig() => $_ensure(2); -} - -class CreateOAuthAppResponse extends $pb.GeneratedMessage { - factory CreateOAuthAppResponse({ - $core.String? clientId, - $core.String? clientSecret, - }) { - final $result = create(); - if (clientId != null) { - $result.clientId = clientId; - } - if (clientSecret != null) { - $result.clientSecret = clientSecret; - } - return $result; - } - CreateOAuthAppResponse._() : super(); - factory CreateOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CreateOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'clientId') - ..aOS(2, _omitFieldNames ? '' : 'clientSecret') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CreateOAuthAppResponse clone() => CreateOAuthAppResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CreateOAuthAppResponse copyWith(void Function(CreateOAuthAppResponse) updates) => super.copyWith((message) => updates(message as CreateOAuthAppResponse)) as CreateOAuthAppResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CreateOAuthAppResponse create() => CreateOAuthAppResponse._(); - CreateOAuthAppResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CreateOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CreateOAuthAppResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get clientId => $_getSZ(0); - @$pb.TagNumber(1) - set clientId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasClientId() => $_has(0); - @$pb.TagNumber(1) - void clearClientId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get clientSecret => $_getSZ(1); - @$pb.TagNumber(2) - set clientSecret($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasClientSecret() => $_has(1); - @$pb.TagNumber(2) - void clearClientSecret() => clearField(2); -} - -class ReadOAuthAppRequest extends $pb.GeneratedMessage { - factory ReadOAuthAppRequest({ - $core.String? orgId, - $core.String? clientId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (clientId != null) { - $result.clientId = clientId; - } - return $result; - } - ReadOAuthAppRequest._() : super(); - factory ReadOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'clientId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadOAuthAppRequest clone() => ReadOAuthAppRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadOAuthAppRequest copyWith(void Function(ReadOAuthAppRequest) updates) => super.copyWith((message) => updates(message as ReadOAuthAppRequest)) as ReadOAuthAppRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadOAuthAppRequest create() => ReadOAuthAppRequest._(); - ReadOAuthAppRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadOAuthAppRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get clientId => $_getSZ(1); - @$pb.TagNumber(2) - set clientId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasClientId() => $_has(1); - @$pb.TagNumber(2) - void clearClientId() => clearField(2); -} - -class ReadOAuthAppResponse extends $pb.GeneratedMessage { - factory ReadOAuthAppResponse({ - $core.String? clientName, - $core.String? clientSecret, - OAuthConfig? oauthConfig, - }) { - final $result = create(); - if (clientName != null) { - $result.clientName = clientName; - } - if (clientSecret != null) { - $result.clientSecret = clientSecret; - } - if (oauthConfig != null) { - $result.oauthConfig = oauthConfig; - } - return $result; - } - ReadOAuthAppResponse._() : super(); - factory ReadOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'clientName') - ..aOS(2, _omitFieldNames ? '' : 'clientSecret') - ..aOM(3, _omitFieldNames ? '' : 'oauthConfig', subBuilder: OAuthConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadOAuthAppResponse clone() => ReadOAuthAppResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadOAuthAppResponse copyWith(void Function(ReadOAuthAppResponse) updates) => super.copyWith((message) => updates(message as ReadOAuthAppResponse)) as ReadOAuthAppResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadOAuthAppResponse create() => ReadOAuthAppResponse._(); - ReadOAuthAppResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadOAuthAppResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get clientName => $_getSZ(0); - @$pb.TagNumber(1) - set clientName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasClientName() => $_has(0); - @$pb.TagNumber(1) - void clearClientName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get clientSecret => $_getSZ(1); - @$pb.TagNumber(2) - set clientSecret($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasClientSecret() => $_has(1); - @$pb.TagNumber(2) - void clearClientSecret() => clearField(2); - - @$pb.TagNumber(3) - OAuthConfig get oauthConfig => $_getN(2); - @$pb.TagNumber(3) - set oauthConfig(OAuthConfig v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOauthConfig() => $_has(2); - @$pb.TagNumber(3) - void clearOauthConfig() => clearField(3); - @$pb.TagNumber(3) - OAuthConfig ensureOauthConfig() => $_ensure(2); -} - -class UpdateOAuthAppRequest extends $pb.GeneratedMessage { - factory UpdateOAuthAppRequest({ - $core.String? orgId, - $core.String? clientId, - $core.String? clientName, - OAuthConfig? oauthConfig, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (clientId != null) { - $result.clientId = clientId; - } - if (clientName != null) { - $result.clientName = clientName; - } - if (oauthConfig != null) { - $result.oauthConfig = oauthConfig; - } - return $result; - } - UpdateOAuthAppRequest._() : super(); - factory UpdateOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'clientId') - ..aOS(3, _omitFieldNames ? '' : 'clientName') - ..aOM(4, _omitFieldNames ? '' : 'oauthConfig', subBuilder: OAuthConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOAuthAppRequest clone() => UpdateOAuthAppRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOAuthAppRequest copyWith(void Function(UpdateOAuthAppRequest) updates) => super.copyWith((message) => updates(message as UpdateOAuthAppRequest)) as UpdateOAuthAppRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOAuthAppRequest create() => UpdateOAuthAppRequest._(); - UpdateOAuthAppRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOAuthAppRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get clientId => $_getSZ(1); - @$pb.TagNumber(2) - set clientId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasClientId() => $_has(1); - @$pb.TagNumber(2) - void clearClientId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get clientName => $_getSZ(2); - @$pb.TagNumber(3) - set clientName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasClientName() => $_has(2); - @$pb.TagNumber(3) - void clearClientName() => clearField(3); - - @$pb.TagNumber(4) - OAuthConfig get oauthConfig => $_getN(3); - @$pb.TagNumber(4) - set oauthConfig(OAuthConfig v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasOauthConfig() => $_has(3); - @$pb.TagNumber(4) - void clearOauthConfig() => clearField(4); - @$pb.TagNumber(4) - OAuthConfig ensureOauthConfig() => $_ensure(3); -} - -class UpdateOAuthAppResponse extends $pb.GeneratedMessage { - factory UpdateOAuthAppResponse() => create(); - UpdateOAuthAppResponse._() : super(); - factory UpdateOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateOAuthAppResponse clone() => UpdateOAuthAppResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateOAuthAppResponse copyWith(void Function(UpdateOAuthAppResponse) updates) => super.copyWith((message) => updates(message as UpdateOAuthAppResponse)) as UpdateOAuthAppResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateOAuthAppResponse create() => UpdateOAuthAppResponse._(); - UpdateOAuthAppResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateOAuthAppResponse? _defaultInstance; -} - -class DeleteOAuthAppRequest extends $pb.GeneratedMessage { - factory DeleteOAuthAppRequest({ - $core.String? orgId, - $core.String? clientId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (clientId != null) { - $result.clientId = clientId; - } - return $result; - } - DeleteOAuthAppRequest._() : super(); - factory DeleteOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'clientId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOAuthAppRequest clone() => DeleteOAuthAppRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOAuthAppRequest copyWith(void Function(DeleteOAuthAppRequest) updates) => super.copyWith((message) => updates(message as DeleteOAuthAppRequest)) as DeleteOAuthAppRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOAuthAppRequest create() => DeleteOAuthAppRequest._(); - DeleteOAuthAppRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOAuthAppRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get clientId => $_getSZ(1); - @$pb.TagNumber(2) - set clientId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasClientId() => $_has(1); - @$pb.TagNumber(2) - void clearClientId() => clearField(2); -} - -class DeleteOAuthAppResponse extends $pb.GeneratedMessage { - factory DeleteOAuthAppResponse() => create(); - DeleteOAuthAppResponse._() : super(); - factory DeleteOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOAuthAppResponse clone() => DeleteOAuthAppResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOAuthAppResponse copyWith(void Function(DeleteOAuthAppResponse) updates) => super.copyWith((message) => updates(message as DeleteOAuthAppResponse)) as DeleteOAuthAppResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOAuthAppResponse create() => DeleteOAuthAppResponse._(); - DeleteOAuthAppResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOAuthAppResponse? _defaultInstance; -} - -class ListOAuthAppsRequest extends $pb.GeneratedMessage { - factory ListOAuthAppsRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - ListOAuthAppsRequest._() : super(); - factory ListOAuthAppsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOAuthAppsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOAuthAppsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOAuthAppsRequest clone() => ListOAuthAppsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOAuthAppsRequest copyWith(void Function(ListOAuthAppsRequest) updates) => super.copyWith((message) => updates(message as ListOAuthAppsRequest)) as ListOAuthAppsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOAuthAppsRequest create() => ListOAuthAppsRequest._(); - ListOAuthAppsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOAuthAppsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOAuthAppsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class ListOAuthAppsResponse extends $pb.GeneratedMessage { - factory ListOAuthAppsResponse({ - $core.Iterable<$core.String>? clientIds, - }) { - final $result = create(); - if (clientIds != null) { - $result.clientIds.addAll(clientIds); - } - return $result; - } - ListOAuthAppsResponse._() : super(); - factory ListOAuthAppsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOAuthAppsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOAuthAppsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'clientIds') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOAuthAppsResponse clone() => ListOAuthAppsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOAuthAppsResponse copyWith(void Function(ListOAuthAppsResponse) updates) => super.copyWith((message) => updates(message as ListOAuthAppsResponse)) as ListOAuthAppsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOAuthAppsResponse create() => ListOAuthAppsResponse._(); - ListOAuthAppsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOAuthAppsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOAuthAppsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get clientIds => $_getList(0); -} - -class OAuthConfig extends $pb.GeneratedMessage { - factory OAuthConfig({ - ClientAuthentication? clientAuthentication, - PKCE? pkce, - URLValidation? urlValidation, - $core.Iterable<$core.String>? originUris, - $core.Iterable<$core.String>? redirectUris, - $core.String? logoutUri, - $core.Iterable? enabledGrants, - }) { - final $result = create(); - if (clientAuthentication != null) { - $result.clientAuthentication = clientAuthentication; - } - if (pkce != null) { - $result.pkce = pkce; - } - if (urlValidation != null) { - $result.urlValidation = urlValidation; - } - if (originUris != null) { - $result.originUris.addAll(originUris); - } - if (redirectUris != null) { - $result.redirectUris.addAll(redirectUris); - } - if (logoutUri != null) { - $result.logoutUri = logoutUri; - } - if (enabledGrants != null) { - $result.enabledGrants.addAll(enabledGrants); - } - return $result; - } - OAuthConfig._() : super(); - factory OAuthConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OAuthConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OAuthConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'clientAuthentication', $pb.PbFieldType.OE, defaultOrMaker: ClientAuthentication.CLIENT_AUTHENTICATION_UNSPECIFIED, valueOf: ClientAuthentication.valueOf, enumValues: ClientAuthentication.values) - ..e(2, _omitFieldNames ? '' : 'pkce', $pb.PbFieldType.OE, defaultOrMaker: PKCE.PKCE_UNSPECIFIED, valueOf: PKCE.valueOf, enumValues: PKCE.values) - ..e(3, _omitFieldNames ? '' : 'urlValidation', $pb.PbFieldType.OE, defaultOrMaker: URLValidation.URL_VALIDATION_UNSPECIFIED, valueOf: URLValidation.valueOf, enumValues: URLValidation.values) - ..pPS(4, _omitFieldNames ? '' : 'originUris') - ..pPS(5, _omitFieldNames ? '' : 'redirectUris') - ..aOS(6, _omitFieldNames ? '' : 'logoutUri') - ..pc(7, _omitFieldNames ? '' : 'enabledGrants', $pb.PbFieldType.KE, valueOf: EnabledGrant.valueOf, enumValues: EnabledGrant.values, defaultEnumValue: EnabledGrant.ENABLED_GRANT_UNSPECIFIED) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OAuthConfig clone() => OAuthConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OAuthConfig copyWith(void Function(OAuthConfig) updates) => super.copyWith((message) => updates(message as OAuthConfig)) as OAuthConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OAuthConfig create() => OAuthConfig._(); - OAuthConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OAuthConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OAuthConfig? _defaultInstance; - - @$pb.TagNumber(1) - ClientAuthentication get clientAuthentication => $_getN(0); - @$pb.TagNumber(1) - set clientAuthentication(ClientAuthentication v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasClientAuthentication() => $_has(0); - @$pb.TagNumber(1) - void clearClientAuthentication() => clearField(1); - - @$pb.TagNumber(2) - PKCE get pkce => $_getN(1); - @$pb.TagNumber(2) - set pkce(PKCE v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPkce() => $_has(1); - @$pb.TagNumber(2) - void clearPkce() => clearField(2); - - @$pb.TagNumber(3) - URLValidation get urlValidation => $_getN(2); - @$pb.TagNumber(3) - set urlValidation(URLValidation v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasUrlValidation() => $_has(2); - @$pb.TagNumber(3) - void clearUrlValidation() => clearField(3); - - @$pb.TagNumber(4) - $core.List<$core.String> get originUris => $_getList(3); - - @$pb.TagNumber(5) - $core.List<$core.String> get redirectUris => $_getList(4); - - @$pb.TagNumber(6) - $core.String get logoutUri => $_getSZ(5); - @$pb.TagNumber(6) - set logoutUri($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasLogoutUri() => $_has(5); - @$pb.TagNumber(6) - void clearLogoutUri() => clearField(6); - - @$pb.TagNumber(7) - $core.List get enabledGrants => $_getList(6); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/v1/app.pbenum.dart b/lib/src/gen/app/v1/app.pbenum.dart deleted file mode 100644 index 62498d24952..00000000000 --- a/lib/src/gen/app/v1/app.pbenum.dart +++ /dev/null @@ -1,209 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/app.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class AuthenticationType extends $pb.ProtobufEnum { - static const AuthenticationType AUTHENTICATION_TYPE_UNSPECIFIED = AuthenticationType._(0, _omitEnumNames ? '' : 'AUTHENTICATION_TYPE_UNSPECIFIED'); - static const AuthenticationType AUTHENTICATION_TYPE_WEB_OAUTH = AuthenticationType._(1, _omitEnumNames ? '' : 'AUTHENTICATION_TYPE_WEB_OAUTH'); - static const AuthenticationType AUTHENTICATION_TYPE_API_KEY = AuthenticationType._(2, _omitEnumNames ? '' : 'AUTHENTICATION_TYPE_API_KEY'); - static const AuthenticationType AUTHENTICATION_TYPE_ROBOT_PART_SECRET = AuthenticationType._(3, _omitEnumNames ? '' : 'AUTHENTICATION_TYPE_ROBOT_PART_SECRET'); - static const AuthenticationType AUTHENTICATION_TYPE_LOCATION_SECRET = AuthenticationType._(4, _omitEnumNames ? '' : 'AUTHENTICATION_TYPE_LOCATION_SECRET'); - - static const $core.List values = [ - AUTHENTICATION_TYPE_UNSPECIFIED, - AUTHENTICATION_TYPE_WEB_OAUTH, - AUTHENTICATION_TYPE_API_KEY, - AUTHENTICATION_TYPE_ROBOT_PART_SECRET, - AUTHENTICATION_TYPE_LOCATION_SECRET, - ]; - - static final $core.Map<$core.int, AuthenticationType> _byValue = $pb.ProtobufEnum.initByValue(values); - static AuthenticationType? valueOf($core.int value) => _byValue[value]; - - const AuthenticationType._($core.int v, $core.String n) : super(v, n); -} - -class FragmentVisibility extends $pb.ProtobufEnum { - static const FragmentVisibility FRAGMENT_VISIBILITY_UNSPECIFIED = FragmentVisibility._(0, _omitEnumNames ? '' : 'FRAGMENT_VISIBILITY_UNSPECIFIED'); - static const FragmentVisibility FRAGMENT_VISIBILITY_PRIVATE = FragmentVisibility._(1, _omitEnumNames ? '' : 'FRAGMENT_VISIBILITY_PRIVATE'); - static const FragmentVisibility FRAGMENT_VISIBILITY_PUBLIC = FragmentVisibility._(2, _omitEnumNames ? '' : 'FRAGMENT_VISIBILITY_PUBLIC'); - static const FragmentVisibility FRAGMENT_VISIBILITY_PUBLIC_UNLISTED = FragmentVisibility._(3, _omitEnumNames ? '' : 'FRAGMENT_VISIBILITY_PUBLIC_UNLISTED'); - - static const $core.List values = [ - FRAGMENT_VISIBILITY_UNSPECIFIED, - FRAGMENT_VISIBILITY_PRIVATE, - FRAGMENT_VISIBILITY_PUBLIC, - FRAGMENT_VISIBILITY_PUBLIC_UNLISTED, - ]; - - static final $core.Map<$core.int, FragmentVisibility> _byValue = $pb.ProtobufEnum.initByValue(values); - static FragmentVisibility? valueOf($core.int value) => _byValue[value]; - - const FragmentVisibility._($core.int v, $core.String n) : super(v, n); -} - -class FragmentErrorType extends $pb.ProtobufEnum { - static const FragmentErrorType FRAGMENT_ERROR_TYPE_UNSPECIFIED = FragmentErrorType._(0, _omitEnumNames ? '' : 'FRAGMENT_ERROR_TYPE_UNSPECIFIED'); - static const FragmentErrorType FRAGMENT_ERROR_TYPE_NO_ACCESS = FragmentErrorType._(1, _omitEnumNames ? '' : 'FRAGMENT_ERROR_TYPE_NO_ACCESS'); - static const FragmentErrorType FRAGMENT_ERROR_TYPE_NESTING_LIMIT_EXCEEDED = FragmentErrorType._(2, _omitEnumNames ? '' : 'FRAGMENT_ERROR_TYPE_NESTING_LIMIT_EXCEEDED'); - static const FragmentErrorType FRAGMENT_ERROR_TYPE_CHILD_ID_INVALID = FragmentErrorType._(3, _omitEnumNames ? '' : 'FRAGMENT_ERROR_TYPE_CHILD_ID_INVALID'); - static const FragmentErrorType FRAGMENT_ERROR_TYPE_CYCLE_DETECTED = FragmentErrorType._(4, _omitEnumNames ? '' : 'FRAGMENT_ERROR_TYPE_CYCLE_DETECTED'); - - static const $core.List values = [ - FRAGMENT_ERROR_TYPE_UNSPECIFIED, - FRAGMENT_ERROR_TYPE_NO_ACCESS, - FRAGMENT_ERROR_TYPE_NESTING_LIMIT_EXCEEDED, - FRAGMENT_ERROR_TYPE_CHILD_ID_INVALID, - FRAGMENT_ERROR_TYPE_CYCLE_DETECTED, - ]; - - static final $core.Map<$core.int, FragmentErrorType> _byValue = $pb.ProtobufEnum.initByValue(values); - static FragmentErrorType? valueOf($core.int value) => _byValue[value]; - - const FragmentErrorType._($core.int v, $core.String n) : super(v, n); -} - -class RegistryItemStatus extends $pb.ProtobufEnum { - static const RegistryItemStatus REGISTRY_ITEM_STATUS_UNSPECIFIED = RegistryItemStatus._(0, _omitEnumNames ? '' : 'REGISTRY_ITEM_STATUS_UNSPECIFIED'); - static const RegistryItemStatus REGISTRY_ITEM_STATUS_PUBLISHED = RegistryItemStatus._(1, _omitEnumNames ? '' : 'REGISTRY_ITEM_STATUS_PUBLISHED'); - static const RegistryItemStatus REGISTRY_ITEM_STATUS_IN_DEVELOPMENT = RegistryItemStatus._(2, _omitEnumNames ? '' : 'REGISTRY_ITEM_STATUS_IN_DEVELOPMENT'); - - static const $core.List values = [ - REGISTRY_ITEM_STATUS_UNSPECIFIED, - REGISTRY_ITEM_STATUS_PUBLISHED, - REGISTRY_ITEM_STATUS_IN_DEVELOPMENT, - ]; - - static final $core.Map<$core.int, RegistryItemStatus> _byValue = $pb.ProtobufEnum.initByValue(values); - static RegistryItemStatus? valueOf($core.int value) => _byValue[value]; - - const RegistryItemStatus._($core.int v, $core.String n) : super(v, n); -} - -class Visibility extends $pb.ProtobufEnum { - static const Visibility VISIBILITY_UNSPECIFIED = Visibility._(0, _omitEnumNames ? '' : 'VISIBILITY_UNSPECIFIED'); - static const Visibility VISIBILITY_PRIVATE = Visibility._(1, _omitEnumNames ? '' : 'VISIBILITY_PRIVATE'); - static const Visibility VISIBILITY_PUBLIC = Visibility._(2, _omitEnumNames ? '' : 'VISIBILITY_PUBLIC'); - static const Visibility VISIBILITY_PUBLIC_UNLISTED = Visibility._(3, _omitEnumNames ? '' : 'VISIBILITY_PUBLIC_UNLISTED'); - - static const $core.List values = [ - VISIBILITY_UNSPECIFIED, - VISIBILITY_PRIVATE, - VISIBILITY_PUBLIC, - VISIBILITY_PUBLIC_UNLISTED, - ]; - - static final $core.Map<$core.int, Visibility> _byValue = $pb.ProtobufEnum.initByValue(values); - static Visibility? valueOf($core.int value) => _byValue[value]; - - const Visibility._($core.int v, $core.String n) : super(v, n); -} - -class ClientAuthentication extends $pb.ProtobufEnum { - static const ClientAuthentication CLIENT_AUTHENTICATION_UNSPECIFIED = ClientAuthentication._(0, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_UNSPECIFIED'); - static const ClientAuthentication CLIENT_AUTHENTICATION_REQUIRED = ClientAuthentication._(1, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_REQUIRED'); - static const ClientAuthentication CLIENT_AUTHENTICATION_NOT_REQUIRED = ClientAuthentication._(2, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_NOT_REQUIRED'); - static const ClientAuthentication CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE = ClientAuthentication._(3, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE'); - - static const $core.List values = [ - CLIENT_AUTHENTICATION_UNSPECIFIED, - CLIENT_AUTHENTICATION_REQUIRED, - CLIENT_AUTHENTICATION_NOT_REQUIRED, - CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE, - ]; - - static final $core.Map<$core.int, ClientAuthentication> _byValue = $pb.ProtobufEnum.initByValue(values); - static ClientAuthentication? valueOf($core.int value) => _byValue[value]; - - const ClientAuthentication._($core.int v, $core.String n) : super(v, n); -} - -class PKCE extends $pb.ProtobufEnum { - static const PKCE PKCE_UNSPECIFIED = PKCE._(0, _omitEnumNames ? '' : 'PKCE_UNSPECIFIED'); - static const PKCE PKCE_REQUIRED = PKCE._(1, _omitEnumNames ? '' : 'PKCE_REQUIRED'); - static const PKCE PKCE_NOT_REQUIRED = PKCE._(2, _omitEnumNames ? '' : 'PKCE_NOT_REQUIRED'); - static const PKCE PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION = PKCE._(3, _omitEnumNames ? '' : 'PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION'); - - static const $core.List values = [ - PKCE_UNSPECIFIED, - PKCE_REQUIRED, - PKCE_NOT_REQUIRED, - PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION, - ]; - - static final $core.Map<$core.int, PKCE> _byValue = $pb.ProtobufEnum.initByValue(values); - static PKCE? valueOf($core.int value) => _byValue[value]; - - const PKCE._($core.int v, $core.String n) : super(v, n); -} - -class URLValidation extends $pb.ProtobufEnum { - static const URLValidation URL_VALIDATION_UNSPECIFIED = URLValidation._(0, _omitEnumNames ? '' : 'URL_VALIDATION_UNSPECIFIED'); - static const URLValidation URL_VALIDATION_EXACT_MATCH = URLValidation._(1, _omitEnumNames ? '' : 'URL_VALIDATION_EXACT_MATCH'); - static const URLValidation URL_VALIDATION_ALLOW_WILDCARDS = URLValidation._(2, _omitEnumNames ? '' : 'URL_VALIDATION_ALLOW_WILDCARDS'); - - static const $core.List values = [ - URL_VALIDATION_UNSPECIFIED, - URL_VALIDATION_EXACT_MATCH, - URL_VALIDATION_ALLOW_WILDCARDS, - ]; - - static final $core.Map<$core.int, URLValidation> _byValue = $pb.ProtobufEnum.initByValue(values); - static URLValidation? valueOf($core.int value) => _byValue[value]; - - const URLValidation._($core.int v, $core.String n) : super(v, n); -} - -class EnabledGrant extends $pb.ProtobufEnum { - static const EnabledGrant ENABLED_GRANT_UNSPECIFIED = EnabledGrant._(0, _omitEnumNames ? '' : 'ENABLED_GRANT_UNSPECIFIED'); - static const EnabledGrant ENABLED_GRANT_AUTHORIZATION_CODE = EnabledGrant._(1, _omitEnumNames ? '' : 'ENABLED_GRANT_AUTHORIZATION_CODE'); - static const EnabledGrant ENABLED_GRANT_IMPLICIT = EnabledGrant._(2, _omitEnumNames ? '' : 'ENABLED_GRANT_IMPLICIT'); - static const EnabledGrant ENABLED_GRANT_PASSWORD = EnabledGrant._(3, _omitEnumNames ? '' : 'ENABLED_GRANT_PASSWORD'); - static const EnabledGrant ENABLED_GRANT_REFRESH_TOKEN = EnabledGrant._(4, _omitEnumNames ? '' : 'ENABLED_GRANT_REFRESH_TOKEN'); - static const EnabledGrant ENABLED_GRANT_DEVICE_CODE = EnabledGrant._(5, _omitEnumNames ? '' : 'ENABLED_GRANT_DEVICE_CODE'); - - static const $core.List values = [ - ENABLED_GRANT_UNSPECIFIED, - ENABLED_GRANT_AUTHORIZATION_CODE, - ENABLED_GRANT_IMPLICIT, - ENABLED_GRANT_PASSWORD, - ENABLED_GRANT_REFRESH_TOKEN, - ENABLED_GRANT_DEVICE_CODE, - ]; - - static final $core.Map<$core.int, EnabledGrant> _byValue = $pb.ProtobufEnum.initByValue(values); - static EnabledGrant? valueOf($core.int value) => _byValue[value]; - - const EnabledGrant._($core.int v, $core.String n) : super(v, n); -} - -class SharedSecret_State extends $pb.ProtobufEnum { - static const SharedSecret_State STATE_UNSPECIFIED = SharedSecret_State._(0, _omitEnumNames ? '' : 'STATE_UNSPECIFIED'); - static const SharedSecret_State STATE_ENABLED = SharedSecret_State._(1, _omitEnumNames ? '' : 'STATE_ENABLED'); - static const SharedSecret_State STATE_DISABLED = SharedSecret_State._(2, _omitEnumNames ? '' : 'STATE_DISABLED'); - - static const $core.List values = [ - STATE_UNSPECIFIED, - STATE_ENABLED, - STATE_DISABLED, - ]; - - static final $core.Map<$core.int, SharedSecret_State> _byValue = $pb.ProtobufEnum.initByValue(values); - static SharedSecret_State? valueOf($core.int value) => _byValue[value]; - - const SharedSecret_State._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/v1/app.pbgrpc.dart b/lib/src/gen/app/v1/app.pbgrpc.dart deleted file mode 100644 index 0728be4e5d3..00000000000 --- a/lib/src/gen/app/v1/app.pbgrpc.dart +++ /dev/null @@ -1,2055 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/app.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'app.pb.dart' as $10; - -export 'app.pb.dart'; - -@$pb.GrpcServiceName('viam.app.v1.AppService') -class AppServiceClient extends $grpc.Client { - static final _$getUserIDByEmail = $grpc.ClientMethod<$10.GetUserIDByEmailRequest, $10.GetUserIDByEmailResponse>( - '/viam.app.v1.AppService/GetUserIDByEmail', - ($10.GetUserIDByEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetUserIDByEmailResponse.fromBuffer(value)); - static final _$createOrganization = $grpc.ClientMethod<$10.CreateOrganizationRequest, $10.CreateOrganizationResponse>( - '/viam.app.v1.AppService/CreateOrganization', - ($10.CreateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateOrganizationResponse.fromBuffer(value)); - static final _$listOrganizations = $grpc.ClientMethod<$10.ListOrganizationsRequest, $10.ListOrganizationsResponse>( - '/viam.app.v1.AppService/ListOrganizations', - ($10.ListOrganizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListOrganizationsResponse.fromBuffer(value)); - static final _$getOrganizationsWithAccessToLocation = $grpc.ClientMethod<$10.GetOrganizationsWithAccessToLocationRequest, $10.GetOrganizationsWithAccessToLocationResponse>( - '/viam.app.v1.AppService/GetOrganizationsWithAccessToLocation', - ($10.GetOrganizationsWithAccessToLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetOrganizationsWithAccessToLocationResponse.fromBuffer(value)); - static final _$listOrganizationsByUser = $grpc.ClientMethod<$10.ListOrganizationsByUserRequest, $10.ListOrganizationsByUserResponse>( - '/viam.app.v1.AppService/ListOrganizationsByUser', - ($10.ListOrganizationsByUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListOrganizationsByUserResponse.fromBuffer(value)); - static final _$searchOrganizations = $grpc.ClientMethod<$10.SearchOrganizationsRequest, $10.SearchOrganizationsResponse>( - '/viam.app.v1.AppService/SearchOrganizations', - ($10.SearchOrganizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.SearchOrganizationsResponse.fromBuffer(value)); - static final _$getOrganization = $grpc.ClientMethod<$10.GetOrganizationRequest, $10.GetOrganizationResponse>( - '/viam.app.v1.AppService/GetOrganization', - ($10.GetOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetOrganizationResponse.fromBuffer(value)); - static final _$getOrganizationNamespaceAvailability = $grpc.ClientMethod<$10.GetOrganizationNamespaceAvailabilityRequest, $10.GetOrganizationNamespaceAvailabilityResponse>( - '/viam.app.v1.AppService/GetOrganizationNamespaceAvailability', - ($10.GetOrganizationNamespaceAvailabilityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetOrganizationNamespaceAvailabilityResponse.fromBuffer(value)); - static final _$updateOrganization = $grpc.ClientMethod<$10.UpdateOrganizationRequest, $10.UpdateOrganizationResponse>( - '/viam.app.v1.AppService/UpdateOrganization', - ($10.UpdateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateOrganizationResponse.fromBuffer(value)); - static final _$deleteOrganization = $grpc.ClientMethod<$10.DeleteOrganizationRequest, $10.DeleteOrganizationResponse>( - '/viam.app.v1.AppService/DeleteOrganization', - ($10.DeleteOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteOrganizationResponse.fromBuffer(value)); - static final _$getOrganizationMetadata = $grpc.ClientMethod<$10.GetOrganizationMetadataRequest, $10.GetOrganizationMetadataResponse>( - '/viam.app.v1.AppService/GetOrganizationMetadata', - ($10.GetOrganizationMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetOrganizationMetadataResponse.fromBuffer(value)); - static final _$updateOrganizationMetadata = $grpc.ClientMethod<$10.UpdateOrganizationMetadataRequest, $10.UpdateOrganizationMetadataResponse>( - '/viam.app.v1.AppService/UpdateOrganizationMetadata', - ($10.UpdateOrganizationMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateOrganizationMetadataResponse.fromBuffer(value)); - static final _$listOrganizationMembers = $grpc.ClientMethod<$10.ListOrganizationMembersRequest, $10.ListOrganizationMembersResponse>( - '/viam.app.v1.AppService/ListOrganizationMembers', - ($10.ListOrganizationMembersRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListOrganizationMembersResponse.fromBuffer(value)); - static final _$createOrganizationInvite = $grpc.ClientMethod<$10.CreateOrganizationInviteRequest, $10.CreateOrganizationInviteResponse>( - '/viam.app.v1.AppService/CreateOrganizationInvite', - ($10.CreateOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateOrganizationInviteResponse.fromBuffer(value)); - static final _$updateOrganizationInviteAuthorizations = $grpc.ClientMethod<$10.UpdateOrganizationInviteAuthorizationsRequest, $10.UpdateOrganizationInviteAuthorizationsResponse>( - '/viam.app.v1.AppService/UpdateOrganizationInviteAuthorizations', - ($10.UpdateOrganizationInviteAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateOrganizationInviteAuthorizationsResponse.fromBuffer(value)); - static final _$deleteOrganizationMember = $grpc.ClientMethod<$10.DeleteOrganizationMemberRequest, $10.DeleteOrganizationMemberResponse>( - '/viam.app.v1.AppService/DeleteOrganizationMember', - ($10.DeleteOrganizationMemberRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteOrganizationMemberResponse.fromBuffer(value)); - static final _$deleteOrganizationInvite = $grpc.ClientMethod<$10.DeleteOrganizationInviteRequest, $10.DeleteOrganizationInviteResponse>( - '/viam.app.v1.AppService/DeleteOrganizationInvite', - ($10.DeleteOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteOrganizationInviteResponse.fromBuffer(value)); - static final _$resendOrganizationInvite = $grpc.ClientMethod<$10.ResendOrganizationInviteRequest, $10.ResendOrganizationInviteResponse>( - '/viam.app.v1.AppService/ResendOrganizationInvite', - ($10.ResendOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ResendOrganizationInviteResponse.fromBuffer(value)); - static final _$enableBillingService = $grpc.ClientMethod<$10.EnableBillingServiceRequest, $10.EnableBillingServiceResponse>( - '/viam.app.v1.AppService/EnableBillingService', - ($10.EnableBillingServiceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.EnableBillingServiceResponse.fromBuffer(value)); - static final _$disableBillingService = $grpc.ClientMethod<$10.DisableBillingServiceRequest, $10.DisableBillingServiceResponse>( - '/viam.app.v1.AppService/DisableBillingService', - ($10.DisableBillingServiceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DisableBillingServiceResponse.fromBuffer(value)); - static final _$updateBillingService = $grpc.ClientMethod<$10.UpdateBillingServiceRequest, $10.UpdateBillingServiceResponse>( - '/viam.app.v1.AppService/UpdateBillingService', - ($10.UpdateBillingServiceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateBillingServiceResponse.fromBuffer(value)); - static final _$getBillingServiceConfig = $grpc.ClientMethod<$10.GetBillingServiceConfigRequest, $10.GetBillingServiceConfigResponse>( - '/viam.app.v1.AppService/GetBillingServiceConfig', - ($10.GetBillingServiceConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetBillingServiceConfigResponse.fromBuffer(value)); - static final _$organizationSetSupportEmail = $grpc.ClientMethod<$10.OrganizationSetSupportEmailRequest, $10.OrganizationSetSupportEmailResponse>( - '/viam.app.v1.AppService/OrganizationSetSupportEmail', - ($10.OrganizationSetSupportEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.OrganizationSetSupportEmailResponse.fromBuffer(value)); - static final _$organizationGetSupportEmail = $grpc.ClientMethod<$10.OrganizationGetSupportEmailRequest, $10.OrganizationGetSupportEmailResponse>( - '/viam.app.v1.AppService/OrganizationGetSupportEmail', - ($10.OrganizationGetSupportEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.OrganizationGetSupportEmailResponse.fromBuffer(value)); - static final _$organizationSetLogo = $grpc.ClientMethod<$10.OrganizationSetLogoRequest, $10.OrganizationSetLogoResponse>( - '/viam.app.v1.AppService/OrganizationSetLogo', - ($10.OrganizationSetLogoRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.OrganizationSetLogoResponse.fromBuffer(value)); - static final _$organizationGetLogo = $grpc.ClientMethod<$10.OrganizationGetLogoRequest, $10.OrganizationGetLogoResponse>( - '/viam.app.v1.AppService/OrganizationGetLogo', - ($10.OrganizationGetLogoRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.OrganizationGetLogoResponse.fromBuffer(value)); - static final _$enableAuthService = $grpc.ClientMethod<$10.EnableAuthServiceRequest, $10.EnableAuthServiceResponse>( - '/viam.app.v1.AppService/EnableAuthService', - ($10.EnableAuthServiceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.EnableAuthServiceResponse.fromBuffer(value)); - static final _$disableAuthService = $grpc.ClientMethod<$10.DisableAuthServiceRequest, $10.DisableAuthServiceResponse>( - '/viam.app.v1.AppService/DisableAuthService', - ($10.DisableAuthServiceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DisableAuthServiceResponse.fromBuffer(value)); - static final _$createOAuthApp = $grpc.ClientMethod<$10.CreateOAuthAppRequest, $10.CreateOAuthAppResponse>( - '/viam.app.v1.AppService/CreateOAuthApp', - ($10.CreateOAuthAppRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateOAuthAppResponse.fromBuffer(value)); - static final _$readOAuthApp = $grpc.ClientMethod<$10.ReadOAuthAppRequest, $10.ReadOAuthAppResponse>( - '/viam.app.v1.AppService/ReadOAuthApp', - ($10.ReadOAuthAppRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ReadOAuthAppResponse.fromBuffer(value)); - static final _$updateOAuthApp = $grpc.ClientMethod<$10.UpdateOAuthAppRequest, $10.UpdateOAuthAppResponse>( - '/viam.app.v1.AppService/UpdateOAuthApp', - ($10.UpdateOAuthAppRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateOAuthAppResponse.fromBuffer(value)); - static final _$deleteOAuthApp = $grpc.ClientMethod<$10.DeleteOAuthAppRequest, $10.DeleteOAuthAppResponse>( - '/viam.app.v1.AppService/DeleteOAuthApp', - ($10.DeleteOAuthAppRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteOAuthAppResponse.fromBuffer(value)); - static final _$listOAuthApps = $grpc.ClientMethod<$10.ListOAuthAppsRequest, $10.ListOAuthAppsResponse>( - '/viam.app.v1.AppService/ListOAuthApps', - ($10.ListOAuthAppsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListOAuthAppsResponse.fromBuffer(value)); - static final _$createLocation = $grpc.ClientMethod<$10.CreateLocationRequest, $10.CreateLocationResponse>( - '/viam.app.v1.AppService/CreateLocation', - ($10.CreateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateLocationResponse.fromBuffer(value)); - static final _$getLocation = $grpc.ClientMethod<$10.GetLocationRequest, $10.GetLocationResponse>( - '/viam.app.v1.AppService/GetLocation', - ($10.GetLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetLocationResponse.fromBuffer(value)); - static final _$updateLocation = $grpc.ClientMethod<$10.UpdateLocationRequest, $10.UpdateLocationResponse>( - '/viam.app.v1.AppService/UpdateLocation', - ($10.UpdateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateLocationResponse.fromBuffer(value)); - static final _$deleteLocation = $grpc.ClientMethod<$10.DeleteLocationRequest, $10.DeleteLocationResponse>( - '/viam.app.v1.AppService/DeleteLocation', - ($10.DeleteLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteLocationResponse.fromBuffer(value)); - static final _$getLocationMetadata = $grpc.ClientMethod<$10.GetLocationMetadataRequest, $10.GetLocationMetadataResponse>( - '/viam.app.v1.AppService/GetLocationMetadata', - ($10.GetLocationMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetLocationMetadataResponse.fromBuffer(value)); - static final _$updateLocationMetadata = $grpc.ClientMethod<$10.UpdateLocationMetadataRequest, $10.UpdateLocationMetadataResponse>( - '/viam.app.v1.AppService/UpdateLocationMetadata', - ($10.UpdateLocationMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateLocationMetadataResponse.fromBuffer(value)); - static final _$listLocations = $grpc.ClientMethod<$10.ListLocationsRequest, $10.ListLocationsResponse>( - '/viam.app.v1.AppService/ListLocations', - ($10.ListLocationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListLocationsResponse.fromBuffer(value)); - static final _$shareLocation = $grpc.ClientMethod<$10.ShareLocationRequest, $10.ShareLocationResponse>( - '/viam.app.v1.AppService/ShareLocation', - ($10.ShareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ShareLocationResponse.fromBuffer(value)); - static final _$unshareLocation = $grpc.ClientMethod<$10.UnshareLocationRequest, $10.UnshareLocationResponse>( - '/viam.app.v1.AppService/UnshareLocation', - ($10.UnshareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UnshareLocationResponse.fromBuffer(value)); - static final _$locationAuth = $grpc.ClientMethod<$10.LocationAuthRequest, $10.LocationAuthResponse>( - '/viam.app.v1.AppService/LocationAuth', - ($10.LocationAuthRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.LocationAuthResponse.fromBuffer(value)); - static final _$createLocationSecret = $grpc.ClientMethod<$10.CreateLocationSecretRequest, $10.CreateLocationSecretResponse>( - '/viam.app.v1.AppService/CreateLocationSecret', - ($10.CreateLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateLocationSecretResponse.fromBuffer(value)); - static final _$deleteLocationSecret = $grpc.ClientMethod<$10.DeleteLocationSecretRequest, $10.DeleteLocationSecretResponse>( - '/viam.app.v1.AppService/DeleteLocationSecret', - ($10.DeleteLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteLocationSecretResponse.fromBuffer(value)); - static final _$getRobot = $grpc.ClientMethod<$10.GetRobotRequest, $10.GetRobotResponse>( - '/viam.app.v1.AppService/GetRobot', - ($10.GetRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotResponse.fromBuffer(value)); - static final _$getRobotMetadata = $grpc.ClientMethod<$10.GetRobotMetadataRequest, $10.GetRobotMetadataResponse>( - '/viam.app.v1.AppService/GetRobotMetadata', - ($10.GetRobotMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotMetadataResponse.fromBuffer(value)); - static final _$updateRobotMetadata = $grpc.ClientMethod<$10.UpdateRobotMetadataRequest, $10.UpdateRobotMetadataResponse>( - '/viam.app.v1.AppService/UpdateRobotMetadata', - ($10.UpdateRobotMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateRobotMetadataResponse.fromBuffer(value)); - static final _$getRoverRentalRobots = $grpc.ClientMethod<$10.GetRoverRentalRobotsRequest, $10.GetRoverRentalRobotsResponse>( - '/viam.app.v1.AppService/GetRoverRentalRobots', - ($10.GetRoverRentalRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRoverRentalRobotsResponse.fromBuffer(value)); - static final _$getRobotParts = $grpc.ClientMethod<$10.GetRobotPartsRequest, $10.GetRobotPartsResponse>( - '/viam.app.v1.AppService/GetRobotParts', - ($10.GetRobotPartsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotPartsResponse.fromBuffer(value)); - static final _$getRobotPart = $grpc.ClientMethod<$10.GetRobotPartRequest, $10.GetRobotPartResponse>( - '/viam.app.v1.AppService/GetRobotPart', - ($10.GetRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotPartResponse.fromBuffer(value)); - static final _$getRobotPartLogs = $grpc.ClientMethod<$10.GetRobotPartLogsRequest, $10.GetRobotPartLogsResponse>( - '/viam.app.v1.AppService/GetRobotPartLogs', - ($10.GetRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotPartLogsResponse.fromBuffer(value)); - static final _$tailRobotPartLogs = $grpc.ClientMethod<$10.TailRobotPartLogsRequest, $10.TailRobotPartLogsResponse>( - '/viam.app.v1.AppService/TailRobotPartLogs', - ($10.TailRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.TailRobotPartLogsResponse.fromBuffer(value)); - static final _$getRobotPartHistory = $grpc.ClientMethod<$10.GetRobotPartHistoryRequest, $10.GetRobotPartHistoryResponse>( - '/viam.app.v1.AppService/GetRobotPartHistory', - ($10.GetRobotPartHistoryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotPartHistoryResponse.fromBuffer(value)); - static final _$updateRobotPart = $grpc.ClientMethod<$10.UpdateRobotPartRequest, $10.UpdateRobotPartResponse>( - '/viam.app.v1.AppService/UpdateRobotPart', - ($10.UpdateRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateRobotPartResponse.fromBuffer(value)); - static final _$newRobotPart = $grpc.ClientMethod<$10.NewRobotPartRequest, $10.NewRobotPartResponse>( - '/viam.app.v1.AppService/NewRobotPart', - ($10.NewRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.NewRobotPartResponse.fromBuffer(value)); - static final _$deleteRobotPart = $grpc.ClientMethod<$10.DeleteRobotPartRequest, $10.DeleteRobotPartResponse>( - '/viam.app.v1.AppService/DeleteRobotPart', - ($10.DeleteRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteRobotPartResponse.fromBuffer(value)); - static final _$getRobotPartMetadata = $grpc.ClientMethod<$10.GetRobotPartMetadataRequest, $10.GetRobotPartMetadataResponse>( - '/viam.app.v1.AppService/GetRobotPartMetadata', - ($10.GetRobotPartMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotPartMetadataResponse.fromBuffer(value)); - static final _$updateRobotPartMetadata = $grpc.ClientMethod<$10.UpdateRobotPartMetadataRequest, $10.UpdateRobotPartMetadataResponse>( - '/viam.app.v1.AppService/UpdateRobotPartMetadata', - ($10.UpdateRobotPartMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateRobotPartMetadataResponse.fromBuffer(value)); - static final _$getRobotAPIKeys = $grpc.ClientMethod<$10.GetRobotAPIKeysRequest, $10.GetRobotAPIKeysResponse>( - '/viam.app.v1.AppService/GetRobotAPIKeys', - ($10.GetRobotAPIKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRobotAPIKeysResponse.fromBuffer(value)); - static final _$markPartAsMain = $grpc.ClientMethod<$10.MarkPartAsMainRequest, $10.MarkPartAsMainResponse>( - '/viam.app.v1.AppService/MarkPartAsMain', - ($10.MarkPartAsMainRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.MarkPartAsMainResponse.fromBuffer(value)); - static final _$markPartForRestart = $grpc.ClientMethod<$10.MarkPartForRestartRequest, $10.MarkPartForRestartResponse>( - '/viam.app.v1.AppService/MarkPartForRestart', - ($10.MarkPartForRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.MarkPartForRestartResponse.fromBuffer(value)); - static final _$createRobotPartSecret = $grpc.ClientMethod<$10.CreateRobotPartSecretRequest, $10.CreateRobotPartSecretResponse>( - '/viam.app.v1.AppService/CreateRobotPartSecret', - ($10.CreateRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateRobotPartSecretResponse.fromBuffer(value)); - static final _$deleteRobotPartSecret = $grpc.ClientMethod<$10.DeleteRobotPartSecretRequest, $10.DeleteRobotPartSecretResponse>( - '/viam.app.v1.AppService/DeleteRobotPartSecret', - ($10.DeleteRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteRobotPartSecretResponse.fromBuffer(value)); - static final _$listRobots = $grpc.ClientMethod<$10.ListRobotsRequest, $10.ListRobotsResponse>( - '/viam.app.v1.AppService/ListRobots', - ($10.ListRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListRobotsResponse.fromBuffer(value)); - static final _$newRobot = $grpc.ClientMethod<$10.NewRobotRequest, $10.NewRobotResponse>( - '/viam.app.v1.AppService/NewRobot', - ($10.NewRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.NewRobotResponse.fromBuffer(value)); - static final _$updateRobot = $grpc.ClientMethod<$10.UpdateRobotRequest, $10.UpdateRobotResponse>( - '/viam.app.v1.AppService/UpdateRobot', - ($10.UpdateRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateRobotResponse.fromBuffer(value)); - static final _$deleteRobot = $grpc.ClientMethod<$10.DeleteRobotRequest, $10.DeleteRobotResponse>( - '/viam.app.v1.AppService/DeleteRobot', - ($10.DeleteRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteRobotResponse.fromBuffer(value)); - static final _$listFragments = $grpc.ClientMethod<$10.ListFragmentsRequest, $10.ListFragmentsResponse>( - '/viam.app.v1.AppService/ListFragments', - ($10.ListFragmentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListFragmentsResponse.fromBuffer(value)); - static final _$getFragment = $grpc.ClientMethod<$10.GetFragmentRequest, $10.GetFragmentResponse>( - '/viam.app.v1.AppService/GetFragment', - ($10.GetFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetFragmentResponse.fromBuffer(value)); - static final _$createFragment = $grpc.ClientMethod<$10.CreateFragmentRequest, $10.CreateFragmentResponse>( - '/viam.app.v1.AppService/CreateFragment', - ($10.CreateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateFragmentResponse.fromBuffer(value)); - static final _$updateFragment = $grpc.ClientMethod<$10.UpdateFragmentRequest, $10.UpdateFragmentResponse>( - '/viam.app.v1.AppService/UpdateFragment', - ($10.UpdateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateFragmentResponse.fromBuffer(value)); - static final _$deleteFragment = $grpc.ClientMethod<$10.DeleteFragmentRequest, $10.DeleteFragmentResponse>( - '/viam.app.v1.AppService/DeleteFragment', - ($10.DeleteFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteFragmentResponse.fromBuffer(value)); - static final _$listMachineFragments = $grpc.ClientMethod<$10.ListMachineFragmentsRequest, $10.ListMachineFragmentsResponse>( - '/viam.app.v1.AppService/ListMachineFragments', - ($10.ListMachineFragmentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListMachineFragmentsResponse.fromBuffer(value)); - static final _$getFragmentHistory = $grpc.ClientMethod<$10.GetFragmentHistoryRequest, $10.GetFragmentHistoryResponse>( - '/viam.app.v1.AppService/GetFragmentHistory', - ($10.GetFragmentHistoryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetFragmentHistoryResponse.fromBuffer(value)); - static final _$getFragmentUsage = $grpc.ClientMethod<$10.GetFragmentUsageRequest, $10.GetFragmentUsageResponse>( - '/viam.app.v1.AppService/GetFragmentUsage', - ($10.GetFragmentUsageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetFragmentUsageResponse.fromBuffer(value)); - static final _$setFragmentTag = $grpc.ClientMethod<$10.SetFragmentTagRequest, $10.SetFragmentTagResponse>( - '/viam.app.v1.AppService/SetFragmentTag', - ($10.SetFragmentTagRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.SetFragmentTagResponse.fromBuffer(value)); - static final _$deleteFragmentTag = $grpc.ClientMethod<$10.DeleteFragmentTagRequest, $10.DeleteFragmentTagResponse>( - '/viam.app.v1.AppService/DeleteFragmentTag', - ($10.DeleteFragmentTagRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteFragmentTagResponse.fromBuffer(value)); - static final _$addRole = $grpc.ClientMethod<$10.AddRoleRequest, $10.AddRoleResponse>( - '/viam.app.v1.AppService/AddRole', - ($10.AddRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.AddRoleResponse.fromBuffer(value)); - static final _$removeRole = $grpc.ClientMethod<$10.RemoveRoleRequest, $10.RemoveRoleResponse>( - '/viam.app.v1.AppService/RemoveRole', - ($10.RemoveRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.RemoveRoleResponse.fromBuffer(value)); - static final _$changeRole = $grpc.ClientMethod<$10.ChangeRoleRequest, $10.ChangeRoleResponse>( - '/viam.app.v1.AppService/ChangeRole', - ($10.ChangeRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ChangeRoleResponse.fromBuffer(value)); - static final _$listAuthorizations = $grpc.ClientMethod<$10.ListAuthorizationsRequest, $10.ListAuthorizationsResponse>( - '/viam.app.v1.AppService/ListAuthorizations', - ($10.ListAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListAuthorizationsResponse.fromBuffer(value)); - static final _$checkPermissions = $grpc.ClientMethod<$10.CheckPermissionsRequest, $10.CheckPermissionsResponse>( - '/viam.app.v1.AppService/CheckPermissions', - ($10.CheckPermissionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CheckPermissionsResponse.fromBuffer(value)); - static final _$getRegistryItem = $grpc.ClientMethod<$10.GetRegistryItemRequest, $10.GetRegistryItemResponse>( - '/viam.app.v1.AppService/GetRegistryItem', - ($10.GetRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetRegistryItemResponse.fromBuffer(value)); - static final _$createRegistryItem = $grpc.ClientMethod<$10.CreateRegistryItemRequest, $10.CreateRegistryItemResponse>( - '/viam.app.v1.AppService/CreateRegistryItem', - ($10.CreateRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateRegistryItemResponse.fromBuffer(value)); - static final _$updateRegistryItem = $grpc.ClientMethod<$10.UpdateRegistryItemRequest, $10.UpdateRegistryItemResponse>( - '/viam.app.v1.AppService/UpdateRegistryItem', - ($10.UpdateRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateRegistryItemResponse.fromBuffer(value)); - static final _$listRegistryItems = $grpc.ClientMethod<$10.ListRegistryItemsRequest, $10.ListRegistryItemsResponse>( - '/viam.app.v1.AppService/ListRegistryItems', - ($10.ListRegistryItemsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListRegistryItemsResponse.fromBuffer(value)); - static final _$deleteRegistryItem = $grpc.ClientMethod<$10.DeleteRegistryItemRequest, $10.DeleteRegistryItemResponse>( - '/viam.app.v1.AppService/DeleteRegistryItem', - ($10.DeleteRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteRegistryItemResponse.fromBuffer(value)); - static final _$transferRegistryItem = $grpc.ClientMethod<$10.TransferRegistryItemRequest, $10.TransferRegistryItemResponse>( - '/viam.app.v1.AppService/TransferRegistryItem', - ($10.TransferRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.TransferRegistryItemResponse.fromBuffer(value)); - static final _$createModule = $grpc.ClientMethod<$10.CreateModuleRequest, $10.CreateModuleResponse>( - '/viam.app.v1.AppService/CreateModule', - ($10.CreateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateModuleResponse.fromBuffer(value)); - static final _$updateModule = $grpc.ClientMethod<$10.UpdateModuleRequest, $10.UpdateModuleResponse>( - '/viam.app.v1.AppService/UpdateModule', - ($10.UpdateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateModuleResponse.fromBuffer(value)); - static final _$uploadModuleFile = $grpc.ClientMethod<$10.UploadModuleFileRequest, $10.UploadModuleFileResponse>( - '/viam.app.v1.AppService/UploadModuleFile', - ($10.UploadModuleFileRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UploadModuleFileResponse.fromBuffer(value)); - static final _$getModule = $grpc.ClientMethod<$10.GetModuleRequest, $10.GetModuleResponse>( - '/viam.app.v1.AppService/GetModule', - ($10.GetModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetModuleResponse.fromBuffer(value)); - static final _$listModules = $grpc.ClientMethod<$10.ListModulesRequest, $10.ListModulesResponse>( - '/viam.app.v1.AppService/ListModules', - ($10.ListModulesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListModulesResponse.fromBuffer(value)); - static final _$createKey = $grpc.ClientMethod<$10.CreateKeyRequest, $10.CreateKeyResponse>( - '/viam.app.v1.AppService/CreateKey', - ($10.CreateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateKeyResponse.fromBuffer(value)); - static final _$deleteKey = $grpc.ClientMethod<$10.DeleteKeyRequest, $10.DeleteKeyResponse>( - '/viam.app.v1.AppService/DeleteKey', - ($10.DeleteKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.DeleteKeyResponse.fromBuffer(value)); - static final _$listKeys = $grpc.ClientMethod<$10.ListKeysRequest, $10.ListKeysResponse>( - '/viam.app.v1.AppService/ListKeys', - ($10.ListKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.ListKeysResponse.fromBuffer(value)); - static final _$renameKey = $grpc.ClientMethod<$10.RenameKeyRequest, $10.RenameKeyResponse>( - '/viam.app.v1.AppService/RenameKey', - ($10.RenameKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.RenameKeyResponse.fromBuffer(value)); - static final _$rotateKey = $grpc.ClientMethod<$10.RotateKeyRequest, $10.RotateKeyResponse>( - '/viam.app.v1.AppService/RotateKey', - ($10.RotateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.RotateKeyResponse.fromBuffer(value)); - static final _$createKeyFromExistingKeyAuthorizations = $grpc.ClientMethod<$10.CreateKeyFromExistingKeyAuthorizationsRequest, $10.CreateKeyFromExistingKeyAuthorizationsResponse>( - '/viam.app.v1.AppService/CreateKeyFromExistingKeyAuthorizations', - ($10.CreateKeyFromExistingKeyAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer(value)); - static final _$getAppContent = $grpc.ClientMethod<$10.GetAppContentRequest, $10.GetAppContentResponse>( - '/viam.app.v1.AppService/GetAppContent', - ($10.GetAppContentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetAppContentResponse.fromBuffer(value)); - - AppServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$10.GetUserIDByEmailResponse> getUserIDByEmail($10.GetUserIDByEmailRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getUserIDByEmail, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateOrganizationResponse> createOrganization($10.CreateOrganizationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createOrganization, request, options: options); - } - - $grpc.ResponseFuture<$10.ListOrganizationsResponse> listOrganizations($10.ListOrganizationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listOrganizations, request, options: options); - } - - $grpc.ResponseFuture<$10.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($10.GetOrganizationsWithAccessToLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOrganizationsWithAccessToLocation, request, options: options); - } - - $grpc.ResponseFuture<$10.ListOrganizationsByUserResponse> listOrganizationsByUser($10.ListOrganizationsByUserRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listOrganizationsByUser, request, options: options); - } - - $grpc.ResponseFuture<$10.SearchOrganizationsResponse> searchOrganizations($10.SearchOrganizationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$searchOrganizations, request, options: options); - } - - $grpc.ResponseFuture<$10.GetOrganizationResponse> getOrganization($10.GetOrganizationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOrganization, request, options: options); - } - - $grpc.ResponseFuture<$10.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($10.GetOrganizationNamespaceAvailabilityRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOrganizationNamespaceAvailability, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateOrganizationResponse> updateOrganization($10.UpdateOrganizationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateOrganization, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteOrganizationResponse> deleteOrganization($10.DeleteOrganizationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteOrganization, request, options: options); - } - - $grpc.ResponseFuture<$10.GetOrganizationMetadataResponse> getOrganizationMetadata($10.GetOrganizationMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOrganizationMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateOrganizationMetadataResponse> updateOrganizationMetadata($10.UpdateOrganizationMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateOrganizationMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.ListOrganizationMembersResponse> listOrganizationMembers($10.ListOrganizationMembersRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listOrganizationMembers, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateOrganizationInviteResponse> createOrganizationInvite($10.CreateOrganizationInviteRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createOrganizationInvite, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($10.UpdateOrganizationInviteAuthorizationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateOrganizationInviteAuthorizations, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteOrganizationMemberResponse> deleteOrganizationMember($10.DeleteOrganizationMemberRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteOrganizationMember, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteOrganizationInviteResponse> deleteOrganizationInvite($10.DeleteOrganizationInviteRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteOrganizationInvite, request, options: options); - } - - $grpc.ResponseFuture<$10.ResendOrganizationInviteResponse> resendOrganizationInvite($10.ResendOrganizationInviteRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$resendOrganizationInvite, request, options: options); - } - - $grpc.ResponseFuture<$10.EnableBillingServiceResponse> enableBillingService($10.EnableBillingServiceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$enableBillingService, request, options: options); - } - - $grpc.ResponseFuture<$10.DisableBillingServiceResponse> disableBillingService($10.DisableBillingServiceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$disableBillingService, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateBillingServiceResponse> updateBillingService($10.UpdateBillingServiceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateBillingService, request, options: options); - } - - $grpc.ResponseFuture<$10.GetBillingServiceConfigResponse> getBillingServiceConfig($10.GetBillingServiceConfigRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getBillingServiceConfig, request, options: options); - } - - $grpc.ResponseFuture<$10.OrganizationSetSupportEmailResponse> organizationSetSupportEmail($10.OrganizationSetSupportEmailRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$organizationSetSupportEmail, request, options: options); - } - - $grpc.ResponseFuture<$10.OrganizationGetSupportEmailResponse> organizationGetSupportEmail($10.OrganizationGetSupportEmailRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$organizationGetSupportEmail, request, options: options); - } - - $grpc.ResponseFuture<$10.OrganizationSetLogoResponse> organizationSetLogo($10.OrganizationSetLogoRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$organizationSetLogo, request, options: options); - } - - $grpc.ResponseFuture<$10.OrganizationGetLogoResponse> organizationGetLogo($10.OrganizationGetLogoRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$organizationGetLogo, request, options: options); - } - - $grpc.ResponseFuture<$10.EnableAuthServiceResponse> enableAuthService($10.EnableAuthServiceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$enableAuthService, request, options: options); - } - - $grpc.ResponseFuture<$10.DisableAuthServiceResponse> disableAuthService($10.DisableAuthServiceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$disableAuthService, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateOAuthAppResponse> createOAuthApp($10.CreateOAuthAppRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createOAuthApp, request, options: options); - } - - $grpc.ResponseFuture<$10.ReadOAuthAppResponse> readOAuthApp($10.ReadOAuthAppRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$readOAuthApp, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateOAuthAppResponse> updateOAuthApp($10.UpdateOAuthAppRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateOAuthApp, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteOAuthAppResponse> deleteOAuthApp($10.DeleteOAuthAppRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteOAuthApp, request, options: options); - } - - $grpc.ResponseFuture<$10.ListOAuthAppsResponse> listOAuthApps($10.ListOAuthAppsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listOAuthApps, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateLocationResponse> createLocation($10.CreateLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createLocation, request, options: options); - } - - $grpc.ResponseFuture<$10.GetLocationResponse> getLocation($10.GetLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getLocation, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateLocationResponse> updateLocation($10.UpdateLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateLocation, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteLocationResponse> deleteLocation($10.DeleteLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteLocation, request, options: options); - } - - $grpc.ResponseFuture<$10.GetLocationMetadataResponse> getLocationMetadata($10.GetLocationMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getLocationMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateLocationMetadataResponse> updateLocationMetadata($10.UpdateLocationMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateLocationMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.ListLocationsResponse> listLocations($10.ListLocationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listLocations, request, options: options); - } - - $grpc.ResponseFuture<$10.ShareLocationResponse> shareLocation($10.ShareLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$shareLocation, request, options: options); - } - - $grpc.ResponseFuture<$10.UnshareLocationResponse> unshareLocation($10.UnshareLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$unshareLocation, request, options: options); - } - - $grpc.ResponseFuture<$10.LocationAuthResponse> locationAuth($10.LocationAuthRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$locationAuth, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateLocationSecretResponse> createLocationSecret($10.CreateLocationSecretRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createLocationSecret, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteLocationSecretResponse> deleteLocationSecret($10.DeleteLocationSecretRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteLocationSecret, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRobotResponse> getRobot($10.GetRobotRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobot, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRobotMetadataResponse> getRobotMetadata($10.GetRobotMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobotMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateRobotMetadataResponse> updateRobotMetadata($10.UpdateRobotMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateRobotMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRoverRentalRobotsResponse> getRoverRentalRobots($10.GetRoverRentalRobotsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRoverRentalRobots, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRobotPartsResponse> getRobotParts($10.GetRobotPartsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobotParts, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRobotPartResponse> getRobotPart($10.GetRobotPartRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobotPart, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRobotPartLogsResponse> getRobotPartLogs($10.GetRobotPartLogsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobotPartLogs, request, options: options); - } - - $grpc.ResponseStream<$10.TailRobotPartLogsResponse> tailRobotPartLogs($10.TailRobotPartLogsRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$tailRobotPartLogs, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$10.GetRobotPartHistoryResponse> getRobotPartHistory($10.GetRobotPartHistoryRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobotPartHistory, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateRobotPartResponse> updateRobotPart($10.UpdateRobotPartRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateRobotPart, request, options: options); - } - - $grpc.ResponseFuture<$10.NewRobotPartResponse> newRobotPart($10.NewRobotPartRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$newRobotPart, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteRobotPartResponse> deleteRobotPart($10.DeleteRobotPartRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteRobotPart, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRobotPartMetadataResponse> getRobotPartMetadata($10.GetRobotPartMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobotPartMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateRobotPartMetadataResponse> updateRobotPartMetadata($10.UpdateRobotPartMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateRobotPartMetadata, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRobotAPIKeysResponse> getRobotAPIKeys($10.GetRobotAPIKeysRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRobotAPIKeys, request, options: options); - } - - $grpc.ResponseFuture<$10.MarkPartAsMainResponse> markPartAsMain($10.MarkPartAsMainRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$markPartAsMain, request, options: options); - } - - $grpc.ResponseFuture<$10.MarkPartForRestartResponse> markPartForRestart($10.MarkPartForRestartRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$markPartForRestart, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateRobotPartSecretResponse> createRobotPartSecret($10.CreateRobotPartSecretRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createRobotPartSecret, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteRobotPartSecretResponse> deleteRobotPartSecret($10.DeleteRobotPartSecretRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteRobotPartSecret, request, options: options); - } - - $grpc.ResponseFuture<$10.ListRobotsResponse> listRobots($10.ListRobotsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listRobots, request, options: options); - } - - $grpc.ResponseFuture<$10.NewRobotResponse> newRobot($10.NewRobotRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$newRobot, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateRobotResponse> updateRobot($10.UpdateRobotRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateRobot, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteRobotResponse> deleteRobot($10.DeleteRobotRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteRobot, request, options: options); - } - - $grpc.ResponseFuture<$10.ListFragmentsResponse> listFragments($10.ListFragmentsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listFragments, request, options: options); - } - - $grpc.ResponseFuture<$10.GetFragmentResponse> getFragment($10.GetFragmentRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getFragment, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateFragmentResponse> createFragment($10.CreateFragmentRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createFragment, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateFragmentResponse> updateFragment($10.UpdateFragmentRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateFragment, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteFragmentResponse> deleteFragment($10.DeleteFragmentRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteFragment, request, options: options); - } - - $grpc.ResponseFuture<$10.ListMachineFragmentsResponse> listMachineFragments($10.ListMachineFragmentsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listMachineFragments, request, options: options); - } - - $grpc.ResponseFuture<$10.GetFragmentHistoryResponse> getFragmentHistory($10.GetFragmentHistoryRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getFragmentHistory, request, options: options); - } - - $grpc.ResponseFuture<$10.GetFragmentUsageResponse> getFragmentUsage($10.GetFragmentUsageRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getFragmentUsage, request, options: options); - } - - $grpc.ResponseFuture<$10.SetFragmentTagResponse> setFragmentTag($10.SetFragmentTagRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setFragmentTag, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteFragmentTagResponse> deleteFragmentTag($10.DeleteFragmentTagRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteFragmentTag, request, options: options); - } - - $grpc.ResponseFuture<$10.AddRoleResponse> addRole($10.AddRoleRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addRole, request, options: options); - } - - $grpc.ResponseFuture<$10.RemoveRoleResponse> removeRole($10.RemoveRoleRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeRole, request, options: options); - } - - $grpc.ResponseFuture<$10.ChangeRoleResponse> changeRole($10.ChangeRoleRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$changeRole, request, options: options); - } - - $grpc.ResponseFuture<$10.ListAuthorizationsResponse> listAuthorizations($10.ListAuthorizationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listAuthorizations, request, options: options); - } - - $grpc.ResponseFuture<$10.CheckPermissionsResponse> checkPermissions($10.CheckPermissionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$checkPermissions, request, options: options); - } - - $grpc.ResponseFuture<$10.GetRegistryItemResponse> getRegistryItem($10.GetRegistryItemRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getRegistryItem, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateRegistryItemResponse> createRegistryItem($10.CreateRegistryItemRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createRegistryItem, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateRegistryItemResponse> updateRegistryItem($10.UpdateRegistryItemRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateRegistryItem, request, options: options); - } - - $grpc.ResponseFuture<$10.ListRegistryItemsResponse> listRegistryItems($10.ListRegistryItemsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listRegistryItems, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteRegistryItemResponse> deleteRegistryItem($10.DeleteRegistryItemRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteRegistryItem, request, options: options); - } - - $grpc.ResponseFuture<$10.TransferRegistryItemResponse> transferRegistryItem($10.TransferRegistryItemRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$transferRegistryItem, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateModuleResponse> createModule($10.CreateModuleRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createModule, request, options: options); - } - - $grpc.ResponseFuture<$10.UpdateModuleResponse> updateModule($10.UpdateModuleRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateModule, request, options: options); - } - - $grpc.ResponseFuture<$10.UploadModuleFileResponse> uploadModuleFile($async.Stream<$10.UploadModuleFileRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$uploadModuleFile, request, options: options).single; - } - - $grpc.ResponseFuture<$10.GetModuleResponse> getModule($10.GetModuleRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getModule, request, options: options); - } - - $grpc.ResponseFuture<$10.ListModulesResponse> listModules($10.ListModulesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listModules, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateKeyResponse> createKey($10.CreateKeyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createKey, request, options: options); - } - - $grpc.ResponseFuture<$10.DeleteKeyResponse> deleteKey($10.DeleteKeyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteKey, request, options: options); - } - - $grpc.ResponseFuture<$10.ListKeysResponse> listKeys($10.ListKeysRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listKeys, request, options: options); - } - - $grpc.ResponseFuture<$10.RenameKeyResponse> renameKey($10.RenameKeyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$renameKey, request, options: options); - } - - $grpc.ResponseFuture<$10.RotateKeyResponse> rotateKey($10.RotateKeyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$rotateKey, request, options: options); - } - - $grpc.ResponseFuture<$10.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($10.CreateKeyFromExistingKeyAuthorizationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$createKeyFromExistingKeyAuthorizations, request, options: options); - } - - $grpc.ResponseFuture<$10.GetAppContentResponse> getAppContent($10.GetAppContentRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getAppContent, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.v1.AppService') -abstract class AppServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.v1.AppService'; - - AppServiceBase() { - $addMethod($grpc.ServiceMethod<$10.GetUserIDByEmailRequest, $10.GetUserIDByEmailResponse>( - 'GetUserIDByEmail', - getUserIDByEmail_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetUserIDByEmailRequest.fromBuffer(value), - ($10.GetUserIDByEmailResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateOrganizationRequest, $10.CreateOrganizationResponse>( - 'CreateOrganization', - createOrganization_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateOrganizationRequest.fromBuffer(value), - ($10.CreateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListOrganizationsRequest, $10.ListOrganizationsResponse>( - 'ListOrganizations', - listOrganizations_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListOrganizationsRequest.fromBuffer(value), - ($10.ListOrganizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetOrganizationsWithAccessToLocationRequest, $10.GetOrganizationsWithAccessToLocationResponse>( - 'GetOrganizationsWithAccessToLocation', - getOrganizationsWithAccessToLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetOrganizationsWithAccessToLocationRequest.fromBuffer(value), - ($10.GetOrganizationsWithAccessToLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListOrganizationsByUserRequest, $10.ListOrganizationsByUserResponse>( - 'ListOrganizationsByUser', - listOrganizationsByUser_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListOrganizationsByUserRequest.fromBuffer(value), - ($10.ListOrganizationsByUserResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.SearchOrganizationsRequest, $10.SearchOrganizationsResponse>( - 'SearchOrganizations', - searchOrganizations_Pre, - false, - false, - ($core.List<$core.int> value) => $10.SearchOrganizationsRequest.fromBuffer(value), - ($10.SearchOrganizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetOrganizationRequest, $10.GetOrganizationResponse>( - 'GetOrganization', - getOrganization_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetOrganizationRequest.fromBuffer(value), - ($10.GetOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetOrganizationNamespaceAvailabilityRequest, $10.GetOrganizationNamespaceAvailabilityResponse>( - 'GetOrganizationNamespaceAvailability', - getOrganizationNamespaceAvailability_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetOrganizationNamespaceAvailabilityRequest.fromBuffer(value), - ($10.GetOrganizationNamespaceAvailabilityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateOrganizationRequest, $10.UpdateOrganizationResponse>( - 'UpdateOrganization', - updateOrganization_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateOrganizationRequest.fromBuffer(value), - ($10.UpdateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteOrganizationRequest, $10.DeleteOrganizationResponse>( - 'DeleteOrganization', - deleteOrganization_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteOrganizationRequest.fromBuffer(value), - ($10.DeleteOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetOrganizationMetadataRequest, $10.GetOrganizationMetadataResponse>( - 'GetOrganizationMetadata', - getOrganizationMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetOrganizationMetadataRequest.fromBuffer(value), - ($10.GetOrganizationMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateOrganizationMetadataRequest, $10.UpdateOrganizationMetadataResponse>( - 'UpdateOrganizationMetadata', - updateOrganizationMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateOrganizationMetadataRequest.fromBuffer(value), - ($10.UpdateOrganizationMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListOrganizationMembersRequest, $10.ListOrganizationMembersResponse>( - 'ListOrganizationMembers', - listOrganizationMembers_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListOrganizationMembersRequest.fromBuffer(value), - ($10.ListOrganizationMembersResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateOrganizationInviteRequest, $10.CreateOrganizationInviteResponse>( - 'CreateOrganizationInvite', - createOrganizationInvite_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateOrganizationInviteRequest.fromBuffer(value), - ($10.CreateOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateOrganizationInviteAuthorizationsRequest, $10.UpdateOrganizationInviteAuthorizationsResponse>( - 'UpdateOrganizationInviteAuthorizations', - updateOrganizationInviteAuthorizations_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateOrganizationInviteAuthorizationsRequest.fromBuffer(value), - ($10.UpdateOrganizationInviteAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteOrganizationMemberRequest, $10.DeleteOrganizationMemberResponse>( - 'DeleteOrganizationMember', - deleteOrganizationMember_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteOrganizationMemberRequest.fromBuffer(value), - ($10.DeleteOrganizationMemberResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteOrganizationInviteRequest, $10.DeleteOrganizationInviteResponse>( - 'DeleteOrganizationInvite', - deleteOrganizationInvite_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteOrganizationInviteRequest.fromBuffer(value), - ($10.DeleteOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ResendOrganizationInviteRequest, $10.ResendOrganizationInviteResponse>( - 'ResendOrganizationInvite', - resendOrganizationInvite_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ResendOrganizationInviteRequest.fromBuffer(value), - ($10.ResendOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.EnableBillingServiceRequest, $10.EnableBillingServiceResponse>( - 'EnableBillingService', - enableBillingService_Pre, - false, - false, - ($core.List<$core.int> value) => $10.EnableBillingServiceRequest.fromBuffer(value), - ($10.EnableBillingServiceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DisableBillingServiceRequest, $10.DisableBillingServiceResponse>( - 'DisableBillingService', - disableBillingService_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DisableBillingServiceRequest.fromBuffer(value), - ($10.DisableBillingServiceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateBillingServiceRequest, $10.UpdateBillingServiceResponse>( - 'UpdateBillingService', - updateBillingService_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateBillingServiceRequest.fromBuffer(value), - ($10.UpdateBillingServiceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetBillingServiceConfigRequest, $10.GetBillingServiceConfigResponse>( - 'GetBillingServiceConfig', - getBillingServiceConfig_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetBillingServiceConfigRequest.fromBuffer(value), - ($10.GetBillingServiceConfigResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.OrganizationSetSupportEmailRequest, $10.OrganizationSetSupportEmailResponse>( - 'OrganizationSetSupportEmail', - organizationSetSupportEmail_Pre, - false, - false, - ($core.List<$core.int> value) => $10.OrganizationSetSupportEmailRequest.fromBuffer(value), - ($10.OrganizationSetSupportEmailResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.OrganizationGetSupportEmailRequest, $10.OrganizationGetSupportEmailResponse>( - 'OrganizationGetSupportEmail', - organizationGetSupportEmail_Pre, - false, - false, - ($core.List<$core.int> value) => $10.OrganizationGetSupportEmailRequest.fromBuffer(value), - ($10.OrganizationGetSupportEmailResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.OrganizationSetLogoRequest, $10.OrganizationSetLogoResponse>( - 'OrganizationSetLogo', - organizationSetLogo_Pre, - false, - false, - ($core.List<$core.int> value) => $10.OrganizationSetLogoRequest.fromBuffer(value), - ($10.OrganizationSetLogoResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.OrganizationGetLogoRequest, $10.OrganizationGetLogoResponse>( - 'OrganizationGetLogo', - organizationGetLogo_Pre, - false, - false, - ($core.List<$core.int> value) => $10.OrganizationGetLogoRequest.fromBuffer(value), - ($10.OrganizationGetLogoResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.EnableAuthServiceRequest, $10.EnableAuthServiceResponse>( - 'EnableAuthService', - enableAuthService_Pre, - false, - false, - ($core.List<$core.int> value) => $10.EnableAuthServiceRequest.fromBuffer(value), - ($10.EnableAuthServiceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DisableAuthServiceRequest, $10.DisableAuthServiceResponse>( - 'DisableAuthService', - disableAuthService_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DisableAuthServiceRequest.fromBuffer(value), - ($10.DisableAuthServiceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateOAuthAppRequest, $10.CreateOAuthAppResponse>( - 'CreateOAuthApp', - createOAuthApp_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateOAuthAppRequest.fromBuffer(value), - ($10.CreateOAuthAppResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ReadOAuthAppRequest, $10.ReadOAuthAppResponse>( - 'ReadOAuthApp', - readOAuthApp_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ReadOAuthAppRequest.fromBuffer(value), - ($10.ReadOAuthAppResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateOAuthAppRequest, $10.UpdateOAuthAppResponse>( - 'UpdateOAuthApp', - updateOAuthApp_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateOAuthAppRequest.fromBuffer(value), - ($10.UpdateOAuthAppResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteOAuthAppRequest, $10.DeleteOAuthAppResponse>( - 'DeleteOAuthApp', - deleteOAuthApp_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteOAuthAppRequest.fromBuffer(value), - ($10.DeleteOAuthAppResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListOAuthAppsRequest, $10.ListOAuthAppsResponse>( - 'ListOAuthApps', - listOAuthApps_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListOAuthAppsRequest.fromBuffer(value), - ($10.ListOAuthAppsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateLocationRequest, $10.CreateLocationResponse>( - 'CreateLocation', - createLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateLocationRequest.fromBuffer(value), - ($10.CreateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetLocationRequest, $10.GetLocationResponse>( - 'GetLocation', - getLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetLocationRequest.fromBuffer(value), - ($10.GetLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateLocationRequest, $10.UpdateLocationResponse>( - 'UpdateLocation', - updateLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateLocationRequest.fromBuffer(value), - ($10.UpdateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteLocationRequest, $10.DeleteLocationResponse>( - 'DeleteLocation', - deleteLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteLocationRequest.fromBuffer(value), - ($10.DeleteLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetLocationMetadataRequest, $10.GetLocationMetadataResponse>( - 'GetLocationMetadata', - getLocationMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetLocationMetadataRequest.fromBuffer(value), - ($10.GetLocationMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateLocationMetadataRequest, $10.UpdateLocationMetadataResponse>( - 'UpdateLocationMetadata', - updateLocationMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateLocationMetadataRequest.fromBuffer(value), - ($10.UpdateLocationMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListLocationsRequest, $10.ListLocationsResponse>( - 'ListLocations', - listLocations_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListLocationsRequest.fromBuffer(value), - ($10.ListLocationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ShareLocationRequest, $10.ShareLocationResponse>( - 'ShareLocation', - shareLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ShareLocationRequest.fromBuffer(value), - ($10.ShareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UnshareLocationRequest, $10.UnshareLocationResponse>( - 'UnshareLocation', - unshareLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UnshareLocationRequest.fromBuffer(value), - ($10.UnshareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.LocationAuthRequest, $10.LocationAuthResponse>( - 'LocationAuth', - locationAuth_Pre, - false, - false, - ($core.List<$core.int> value) => $10.LocationAuthRequest.fromBuffer(value), - ($10.LocationAuthResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateLocationSecretRequest, $10.CreateLocationSecretResponse>( - 'CreateLocationSecret', - createLocationSecret_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateLocationSecretRequest.fromBuffer(value), - ($10.CreateLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteLocationSecretRequest, $10.DeleteLocationSecretResponse>( - 'DeleteLocationSecret', - deleteLocationSecret_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteLocationSecretRequest.fromBuffer(value), - ($10.DeleteLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotRequest, $10.GetRobotResponse>( - 'GetRobot', - getRobot_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotRequest.fromBuffer(value), - ($10.GetRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotMetadataRequest, $10.GetRobotMetadataResponse>( - 'GetRobotMetadata', - getRobotMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotMetadataRequest.fromBuffer(value), - ($10.GetRobotMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateRobotMetadataRequest, $10.UpdateRobotMetadataResponse>( - 'UpdateRobotMetadata', - updateRobotMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateRobotMetadataRequest.fromBuffer(value), - ($10.UpdateRobotMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRoverRentalRobotsRequest, $10.GetRoverRentalRobotsResponse>( - 'GetRoverRentalRobots', - getRoverRentalRobots_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRoverRentalRobotsRequest.fromBuffer(value), - ($10.GetRoverRentalRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotPartsRequest, $10.GetRobotPartsResponse>( - 'GetRobotParts', - getRobotParts_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotPartsRequest.fromBuffer(value), - ($10.GetRobotPartsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotPartRequest, $10.GetRobotPartResponse>( - 'GetRobotPart', - getRobotPart_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotPartRequest.fromBuffer(value), - ($10.GetRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotPartLogsRequest, $10.GetRobotPartLogsResponse>( - 'GetRobotPartLogs', - getRobotPartLogs_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotPartLogsRequest.fromBuffer(value), - ($10.GetRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.TailRobotPartLogsRequest, $10.TailRobotPartLogsResponse>( - 'TailRobotPartLogs', - tailRobotPartLogs_Pre, - false, - true, - ($core.List<$core.int> value) => $10.TailRobotPartLogsRequest.fromBuffer(value), - ($10.TailRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotPartHistoryRequest, $10.GetRobotPartHistoryResponse>( - 'GetRobotPartHistory', - getRobotPartHistory_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotPartHistoryRequest.fromBuffer(value), - ($10.GetRobotPartHistoryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateRobotPartRequest, $10.UpdateRobotPartResponse>( - 'UpdateRobotPart', - updateRobotPart_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateRobotPartRequest.fromBuffer(value), - ($10.UpdateRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.NewRobotPartRequest, $10.NewRobotPartResponse>( - 'NewRobotPart', - newRobotPart_Pre, - false, - false, - ($core.List<$core.int> value) => $10.NewRobotPartRequest.fromBuffer(value), - ($10.NewRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteRobotPartRequest, $10.DeleteRobotPartResponse>( - 'DeleteRobotPart', - deleteRobotPart_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteRobotPartRequest.fromBuffer(value), - ($10.DeleteRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotPartMetadataRequest, $10.GetRobotPartMetadataResponse>( - 'GetRobotPartMetadata', - getRobotPartMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotPartMetadataRequest.fromBuffer(value), - ($10.GetRobotPartMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateRobotPartMetadataRequest, $10.UpdateRobotPartMetadataResponse>( - 'UpdateRobotPartMetadata', - updateRobotPartMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateRobotPartMetadataRequest.fromBuffer(value), - ($10.UpdateRobotPartMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRobotAPIKeysRequest, $10.GetRobotAPIKeysResponse>( - 'GetRobotAPIKeys', - getRobotAPIKeys_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRobotAPIKeysRequest.fromBuffer(value), - ($10.GetRobotAPIKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.MarkPartAsMainRequest, $10.MarkPartAsMainResponse>( - 'MarkPartAsMain', - markPartAsMain_Pre, - false, - false, - ($core.List<$core.int> value) => $10.MarkPartAsMainRequest.fromBuffer(value), - ($10.MarkPartAsMainResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.MarkPartForRestartRequest, $10.MarkPartForRestartResponse>( - 'MarkPartForRestart', - markPartForRestart_Pre, - false, - false, - ($core.List<$core.int> value) => $10.MarkPartForRestartRequest.fromBuffer(value), - ($10.MarkPartForRestartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateRobotPartSecretRequest, $10.CreateRobotPartSecretResponse>( - 'CreateRobotPartSecret', - createRobotPartSecret_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateRobotPartSecretRequest.fromBuffer(value), - ($10.CreateRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteRobotPartSecretRequest, $10.DeleteRobotPartSecretResponse>( - 'DeleteRobotPartSecret', - deleteRobotPartSecret_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteRobotPartSecretRequest.fromBuffer(value), - ($10.DeleteRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListRobotsRequest, $10.ListRobotsResponse>( - 'ListRobots', - listRobots_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListRobotsRequest.fromBuffer(value), - ($10.ListRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.NewRobotRequest, $10.NewRobotResponse>( - 'NewRobot', - newRobot_Pre, - false, - false, - ($core.List<$core.int> value) => $10.NewRobotRequest.fromBuffer(value), - ($10.NewRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateRobotRequest, $10.UpdateRobotResponse>( - 'UpdateRobot', - updateRobot_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateRobotRequest.fromBuffer(value), - ($10.UpdateRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteRobotRequest, $10.DeleteRobotResponse>( - 'DeleteRobot', - deleteRobot_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteRobotRequest.fromBuffer(value), - ($10.DeleteRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListFragmentsRequest, $10.ListFragmentsResponse>( - 'ListFragments', - listFragments_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListFragmentsRequest.fromBuffer(value), - ($10.ListFragmentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetFragmentRequest, $10.GetFragmentResponse>( - 'GetFragment', - getFragment_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetFragmentRequest.fromBuffer(value), - ($10.GetFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateFragmentRequest, $10.CreateFragmentResponse>( - 'CreateFragment', - createFragment_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateFragmentRequest.fromBuffer(value), - ($10.CreateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateFragmentRequest, $10.UpdateFragmentResponse>( - 'UpdateFragment', - updateFragment_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateFragmentRequest.fromBuffer(value), - ($10.UpdateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteFragmentRequest, $10.DeleteFragmentResponse>( - 'DeleteFragment', - deleteFragment_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteFragmentRequest.fromBuffer(value), - ($10.DeleteFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListMachineFragmentsRequest, $10.ListMachineFragmentsResponse>( - 'ListMachineFragments', - listMachineFragments_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListMachineFragmentsRequest.fromBuffer(value), - ($10.ListMachineFragmentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetFragmentHistoryRequest, $10.GetFragmentHistoryResponse>( - 'GetFragmentHistory', - getFragmentHistory_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetFragmentHistoryRequest.fromBuffer(value), - ($10.GetFragmentHistoryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetFragmentUsageRequest, $10.GetFragmentUsageResponse>( - 'GetFragmentUsage', - getFragmentUsage_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetFragmentUsageRequest.fromBuffer(value), - ($10.GetFragmentUsageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.SetFragmentTagRequest, $10.SetFragmentTagResponse>( - 'SetFragmentTag', - setFragmentTag_Pre, - false, - false, - ($core.List<$core.int> value) => $10.SetFragmentTagRequest.fromBuffer(value), - ($10.SetFragmentTagResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteFragmentTagRequest, $10.DeleteFragmentTagResponse>( - 'DeleteFragmentTag', - deleteFragmentTag_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteFragmentTagRequest.fromBuffer(value), - ($10.DeleteFragmentTagResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.AddRoleRequest, $10.AddRoleResponse>( - 'AddRole', - addRole_Pre, - false, - false, - ($core.List<$core.int> value) => $10.AddRoleRequest.fromBuffer(value), - ($10.AddRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.RemoveRoleRequest, $10.RemoveRoleResponse>( - 'RemoveRole', - removeRole_Pre, - false, - false, - ($core.List<$core.int> value) => $10.RemoveRoleRequest.fromBuffer(value), - ($10.RemoveRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ChangeRoleRequest, $10.ChangeRoleResponse>( - 'ChangeRole', - changeRole_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ChangeRoleRequest.fromBuffer(value), - ($10.ChangeRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListAuthorizationsRequest, $10.ListAuthorizationsResponse>( - 'ListAuthorizations', - listAuthorizations_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListAuthorizationsRequest.fromBuffer(value), - ($10.ListAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CheckPermissionsRequest, $10.CheckPermissionsResponse>( - 'CheckPermissions', - checkPermissions_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CheckPermissionsRequest.fromBuffer(value), - ($10.CheckPermissionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetRegistryItemRequest, $10.GetRegistryItemResponse>( - 'GetRegistryItem', - getRegistryItem_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetRegistryItemRequest.fromBuffer(value), - ($10.GetRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateRegistryItemRequest, $10.CreateRegistryItemResponse>( - 'CreateRegistryItem', - createRegistryItem_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateRegistryItemRequest.fromBuffer(value), - ($10.CreateRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateRegistryItemRequest, $10.UpdateRegistryItemResponse>( - 'UpdateRegistryItem', - updateRegistryItem_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateRegistryItemRequest.fromBuffer(value), - ($10.UpdateRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListRegistryItemsRequest, $10.ListRegistryItemsResponse>( - 'ListRegistryItems', - listRegistryItems_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListRegistryItemsRequest.fromBuffer(value), - ($10.ListRegistryItemsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteRegistryItemRequest, $10.DeleteRegistryItemResponse>( - 'DeleteRegistryItem', - deleteRegistryItem_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteRegistryItemRequest.fromBuffer(value), - ($10.DeleteRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.TransferRegistryItemRequest, $10.TransferRegistryItemResponse>( - 'TransferRegistryItem', - transferRegistryItem_Pre, - false, - false, - ($core.List<$core.int> value) => $10.TransferRegistryItemRequest.fromBuffer(value), - ($10.TransferRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateModuleRequest, $10.CreateModuleResponse>( - 'CreateModule', - createModule_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateModuleRequest.fromBuffer(value), - ($10.CreateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateModuleRequest, $10.UpdateModuleResponse>( - 'UpdateModule', - updateModule_Pre, - false, - false, - ($core.List<$core.int> value) => $10.UpdateModuleRequest.fromBuffer(value), - ($10.UpdateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UploadModuleFileRequest, $10.UploadModuleFileResponse>( - 'UploadModuleFile', - uploadModuleFile, - true, - false, - ($core.List<$core.int> value) => $10.UploadModuleFileRequest.fromBuffer(value), - ($10.UploadModuleFileResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetModuleRequest, $10.GetModuleResponse>( - 'GetModule', - getModule_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetModuleRequest.fromBuffer(value), - ($10.GetModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListModulesRequest, $10.ListModulesResponse>( - 'ListModules', - listModules_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListModulesRequest.fromBuffer(value), - ($10.ListModulesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateKeyRequest, $10.CreateKeyResponse>( - 'CreateKey', - createKey_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateKeyRequest.fromBuffer(value), - ($10.CreateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.DeleteKeyRequest, $10.DeleteKeyResponse>( - 'DeleteKey', - deleteKey_Pre, - false, - false, - ($core.List<$core.int> value) => $10.DeleteKeyRequest.fromBuffer(value), - ($10.DeleteKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.ListKeysRequest, $10.ListKeysResponse>( - 'ListKeys', - listKeys_Pre, - false, - false, - ($core.List<$core.int> value) => $10.ListKeysRequest.fromBuffer(value), - ($10.ListKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.RenameKeyRequest, $10.RenameKeyResponse>( - 'RenameKey', - renameKey_Pre, - false, - false, - ($core.List<$core.int> value) => $10.RenameKeyRequest.fromBuffer(value), - ($10.RenameKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.RotateKeyRequest, $10.RotateKeyResponse>( - 'RotateKey', - rotateKey_Pre, - false, - false, - ($core.List<$core.int> value) => $10.RotateKeyRequest.fromBuffer(value), - ($10.RotateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.CreateKeyFromExistingKeyAuthorizationsRequest, $10.CreateKeyFromExistingKeyAuthorizationsResponse>( - 'CreateKeyFromExistingKeyAuthorizations', - createKeyFromExistingKeyAuthorizations_Pre, - false, - false, - ($core.List<$core.int> value) => $10.CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer(value), - ($10.CreateKeyFromExistingKeyAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetAppContentRequest, $10.GetAppContentResponse>( - 'GetAppContent', - getAppContent_Pre, - false, - false, - ($core.List<$core.int> value) => $10.GetAppContentRequest.fromBuffer(value), - ($10.GetAppContentResponse value) => value.writeToBuffer())); - } - - $async.Future<$10.GetUserIDByEmailResponse> getUserIDByEmail_Pre($grpc.ServiceCall call, $async.Future<$10.GetUserIDByEmailRequest> request) async { - return getUserIDByEmail(call, await request); - } - - $async.Future<$10.CreateOrganizationResponse> createOrganization_Pre($grpc.ServiceCall call, $async.Future<$10.CreateOrganizationRequest> request) async { - return createOrganization(call, await request); - } - - $async.Future<$10.ListOrganizationsResponse> listOrganizations_Pre($grpc.ServiceCall call, $async.Future<$10.ListOrganizationsRequest> request) async { - return listOrganizations(call, await request); - } - - $async.Future<$10.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation_Pre($grpc.ServiceCall call, $async.Future<$10.GetOrganizationsWithAccessToLocationRequest> request) async { - return getOrganizationsWithAccessToLocation(call, await request); - } - - $async.Future<$10.ListOrganizationsByUserResponse> listOrganizationsByUser_Pre($grpc.ServiceCall call, $async.Future<$10.ListOrganizationsByUserRequest> request) async { - return listOrganizationsByUser(call, await request); - } - - $async.Future<$10.SearchOrganizationsResponse> searchOrganizations_Pre($grpc.ServiceCall call, $async.Future<$10.SearchOrganizationsRequest> request) async { - return searchOrganizations(call, await request); - } - - $async.Future<$10.GetOrganizationResponse> getOrganization_Pre($grpc.ServiceCall call, $async.Future<$10.GetOrganizationRequest> request) async { - return getOrganization(call, await request); - } - - $async.Future<$10.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability_Pre($grpc.ServiceCall call, $async.Future<$10.GetOrganizationNamespaceAvailabilityRequest> request) async { - return getOrganizationNamespaceAvailability(call, await request); - } - - $async.Future<$10.UpdateOrganizationResponse> updateOrganization_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateOrganizationRequest> request) async { - return updateOrganization(call, await request); - } - - $async.Future<$10.DeleteOrganizationResponse> deleteOrganization_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteOrganizationRequest> request) async { - return deleteOrganization(call, await request); - } - - $async.Future<$10.GetOrganizationMetadataResponse> getOrganizationMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.GetOrganizationMetadataRequest> request) async { - return getOrganizationMetadata(call, await request); - } - - $async.Future<$10.UpdateOrganizationMetadataResponse> updateOrganizationMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateOrganizationMetadataRequest> request) async { - return updateOrganizationMetadata(call, await request); - } - - $async.Future<$10.ListOrganizationMembersResponse> listOrganizationMembers_Pre($grpc.ServiceCall call, $async.Future<$10.ListOrganizationMembersRequest> request) async { - return listOrganizationMembers(call, await request); - } - - $async.Future<$10.CreateOrganizationInviteResponse> createOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$10.CreateOrganizationInviteRequest> request) async { - return createOrganizationInvite(call, await request); - } - - $async.Future<$10.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateOrganizationInviteAuthorizationsRequest> request) async { - return updateOrganizationInviteAuthorizations(call, await request); - } - - $async.Future<$10.DeleteOrganizationMemberResponse> deleteOrganizationMember_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteOrganizationMemberRequest> request) async { - return deleteOrganizationMember(call, await request); - } - - $async.Future<$10.DeleteOrganizationInviteResponse> deleteOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteOrganizationInviteRequest> request) async { - return deleteOrganizationInvite(call, await request); - } - - $async.Future<$10.ResendOrganizationInviteResponse> resendOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$10.ResendOrganizationInviteRequest> request) async { - return resendOrganizationInvite(call, await request); - } - - $async.Future<$10.EnableBillingServiceResponse> enableBillingService_Pre($grpc.ServiceCall call, $async.Future<$10.EnableBillingServiceRequest> request) async { - return enableBillingService(call, await request); - } - - $async.Future<$10.DisableBillingServiceResponse> disableBillingService_Pre($grpc.ServiceCall call, $async.Future<$10.DisableBillingServiceRequest> request) async { - return disableBillingService(call, await request); - } - - $async.Future<$10.UpdateBillingServiceResponse> updateBillingService_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateBillingServiceRequest> request) async { - return updateBillingService(call, await request); - } - - $async.Future<$10.GetBillingServiceConfigResponse> getBillingServiceConfig_Pre($grpc.ServiceCall call, $async.Future<$10.GetBillingServiceConfigRequest> request) async { - return getBillingServiceConfig(call, await request); - } - - $async.Future<$10.OrganizationSetSupportEmailResponse> organizationSetSupportEmail_Pre($grpc.ServiceCall call, $async.Future<$10.OrganizationSetSupportEmailRequest> request) async { - return organizationSetSupportEmail(call, await request); - } - - $async.Future<$10.OrganizationGetSupportEmailResponse> organizationGetSupportEmail_Pre($grpc.ServiceCall call, $async.Future<$10.OrganizationGetSupportEmailRequest> request) async { - return organizationGetSupportEmail(call, await request); - } - - $async.Future<$10.OrganizationSetLogoResponse> organizationSetLogo_Pre($grpc.ServiceCall call, $async.Future<$10.OrganizationSetLogoRequest> request) async { - return organizationSetLogo(call, await request); - } - - $async.Future<$10.OrganizationGetLogoResponse> organizationGetLogo_Pre($grpc.ServiceCall call, $async.Future<$10.OrganizationGetLogoRequest> request) async { - return organizationGetLogo(call, await request); - } - - $async.Future<$10.EnableAuthServiceResponse> enableAuthService_Pre($grpc.ServiceCall call, $async.Future<$10.EnableAuthServiceRequest> request) async { - return enableAuthService(call, await request); - } - - $async.Future<$10.DisableAuthServiceResponse> disableAuthService_Pre($grpc.ServiceCall call, $async.Future<$10.DisableAuthServiceRequest> request) async { - return disableAuthService(call, await request); - } - - $async.Future<$10.CreateOAuthAppResponse> createOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$10.CreateOAuthAppRequest> request) async { - return createOAuthApp(call, await request); - } - - $async.Future<$10.ReadOAuthAppResponse> readOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$10.ReadOAuthAppRequest> request) async { - return readOAuthApp(call, await request); - } - - $async.Future<$10.UpdateOAuthAppResponse> updateOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateOAuthAppRequest> request) async { - return updateOAuthApp(call, await request); - } - - $async.Future<$10.DeleteOAuthAppResponse> deleteOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteOAuthAppRequest> request) async { - return deleteOAuthApp(call, await request); - } - - $async.Future<$10.ListOAuthAppsResponse> listOAuthApps_Pre($grpc.ServiceCall call, $async.Future<$10.ListOAuthAppsRequest> request) async { - return listOAuthApps(call, await request); - } - - $async.Future<$10.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$10.CreateLocationRequest> request) async { - return createLocation(call, await request); - } - - $async.Future<$10.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$10.GetLocationRequest> request) async { - return getLocation(call, await request); - } - - $async.Future<$10.UpdateLocationResponse> updateLocation_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateLocationRequest> request) async { - return updateLocation(call, await request); - } - - $async.Future<$10.DeleteLocationResponse> deleteLocation_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteLocationRequest> request) async { - return deleteLocation(call, await request); - } - - $async.Future<$10.GetLocationMetadataResponse> getLocationMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.GetLocationMetadataRequest> request) async { - return getLocationMetadata(call, await request); - } - - $async.Future<$10.UpdateLocationMetadataResponse> updateLocationMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateLocationMetadataRequest> request) async { - return updateLocationMetadata(call, await request); - } - - $async.Future<$10.ListLocationsResponse> listLocations_Pre($grpc.ServiceCall call, $async.Future<$10.ListLocationsRequest> request) async { - return listLocations(call, await request); - } - - $async.Future<$10.ShareLocationResponse> shareLocation_Pre($grpc.ServiceCall call, $async.Future<$10.ShareLocationRequest> request) async { - return shareLocation(call, await request); - } - - $async.Future<$10.UnshareLocationResponse> unshareLocation_Pre($grpc.ServiceCall call, $async.Future<$10.UnshareLocationRequest> request) async { - return unshareLocation(call, await request); - } - - $async.Future<$10.LocationAuthResponse> locationAuth_Pre($grpc.ServiceCall call, $async.Future<$10.LocationAuthRequest> request) async { - return locationAuth(call, await request); - } - - $async.Future<$10.CreateLocationSecretResponse> createLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$10.CreateLocationSecretRequest> request) async { - return createLocationSecret(call, await request); - } - - $async.Future<$10.DeleteLocationSecretResponse> deleteLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteLocationSecretRequest> request) async { - return deleteLocationSecret(call, await request); - } - - $async.Future<$10.GetRobotResponse> getRobot_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotRequest> request) async { - return getRobot(call, await request); - } - - $async.Future<$10.GetRobotMetadataResponse> getRobotMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotMetadataRequest> request) async { - return getRobotMetadata(call, await request); - } - - $async.Future<$10.UpdateRobotMetadataResponse> updateRobotMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateRobotMetadataRequest> request) async { - return updateRobotMetadata(call, await request); - } - - $async.Future<$10.GetRoverRentalRobotsResponse> getRoverRentalRobots_Pre($grpc.ServiceCall call, $async.Future<$10.GetRoverRentalRobotsRequest> request) async { - return getRoverRentalRobots(call, await request); - } - - $async.Future<$10.GetRobotPartsResponse> getRobotParts_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotPartsRequest> request) async { - return getRobotParts(call, await request); - } - - $async.Future<$10.GetRobotPartResponse> getRobotPart_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotPartRequest> request) async { - return getRobotPart(call, await request); - } - - $async.Future<$10.GetRobotPartLogsResponse> getRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotPartLogsRequest> request) async { - return getRobotPartLogs(call, await request); - } - - $async.Stream<$10.TailRobotPartLogsResponse> tailRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$10.TailRobotPartLogsRequest> request) async* { - yield* tailRobotPartLogs(call, await request); - } - - $async.Future<$10.GetRobotPartHistoryResponse> getRobotPartHistory_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotPartHistoryRequest> request) async { - return getRobotPartHistory(call, await request); - } - - $async.Future<$10.UpdateRobotPartResponse> updateRobotPart_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateRobotPartRequest> request) async { - return updateRobotPart(call, await request); - } - - $async.Future<$10.NewRobotPartResponse> newRobotPart_Pre($grpc.ServiceCall call, $async.Future<$10.NewRobotPartRequest> request) async { - return newRobotPart(call, await request); - } - - $async.Future<$10.DeleteRobotPartResponse> deleteRobotPart_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteRobotPartRequest> request) async { - return deleteRobotPart(call, await request); - } - - $async.Future<$10.GetRobotPartMetadataResponse> getRobotPartMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotPartMetadataRequest> request) async { - return getRobotPartMetadata(call, await request); - } - - $async.Future<$10.UpdateRobotPartMetadataResponse> updateRobotPartMetadata_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateRobotPartMetadataRequest> request) async { - return updateRobotPartMetadata(call, await request); - } - - $async.Future<$10.GetRobotAPIKeysResponse> getRobotAPIKeys_Pre($grpc.ServiceCall call, $async.Future<$10.GetRobotAPIKeysRequest> request) async { - return getRobotAPIKeys(call, await request); - } - - $async.Future<$10.MarkPartAsMainResponse> markPartAsMain_Pre($grpc.ServiceCall call, $async.Future<$10.MarkPartAsMainRequest> request) async { - return markPartAsMain(call, await request); - } - - $async.Future<$10.MarkPartForRestartResponse> markPartForRestart_Pre($grpc.ServiceCall call, $async.Future<$10.MarkPartForRestartRequest> request) async { - return markPartForRestart(call, await request); - } - - $async.Future<$10.CreateRobotPartSecretResponse> createRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$10.CreateRobotPartSecretRequest> request) async { - return createRobotPartSecret(call, await request); - } - - $async.Future<$10.DeleteRobotPartSecretResponse> deleteRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteRobotPartSecretRequest> request) async { - return deleteRobotPartSecret(call, await request); - } - - $async.Future<$10.ListRobotsResponse> listRobots_Pre($grpc.ServiceCall call, $async.Future<$10.ListRobotsRequest> request) async { - return listRobots(call, await request); - } - - $async.Future<$10.NewRobotResponse> newRobot_Pre($grpc.ServiceCall call, $async.Future<$10.NewRobotRequest> request) async { - return newRobot(call, await request); - } - - $async.Future<$10.UpdateRobotResponse> updateRobot_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateRobotRequest> request) async { - return updateRobot(call, await request); - } - - $async.Future<$10.DeleteRobotResponse> deleteRobot_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteRobotRequest> request) async { - return deleteRobot(call, await request); - } - - $async.Future<$10.ListFragmentsResponse> listFragments_Pre($grpc.ServiceCall call, $async.Future<$10.ListFragmentsRequest> request) async { - return listFragments(call, await request); - } - - $async.Future<$10.GetFragmentResponse> getFragment_Pre($grpc.ServiceCall call, $async.Future<$10.GetFragmentRequest> request) async { - return getFragment(call, await request); - } - - $async.Future<$10.CreateFragmentResponse> createFragment_Pre($grpc.ServiceCall call, $async.Future<$10.CreateFragmentRequest> request) async { - return createFragment(call, await request); - } - - $async.Future<$10.UpdateFragmentResponse> updateFragment_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateFragmentRequest> request) async { - return updateFragment(call, await request); - } - - $async.Future<$10.DeleteFragmentResponse> deleteFragment_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteFragmentRequest> request) async { - return deleteFragment(call, await request); - } - - $async.Future<$10.ListMachineFragmentsResponse> listMachineFragments_Pre($grpc.ServiceCall call, $async.Future<$10.ListMachineFragmentsRequest> request) async { - return listMachineFragments(call, await request); - } - - $async.Future<$10.GetFragmentHistoryResponse> getFragmentHistory_Pre($grpc.ServiceCall call, $async.Future<$10.GetFragmentHistoryRequest> request) async { - return getFragmentHistory(call, await request); - } - - $async.Future<$10.GetFragmentUsageResponse> getFragmentUsage_Pre($grpc.ServiceCall call, $async.Future<$10.GetFragmentUsageRequest> request) async { - return getFragmentUsage(call, await request); - } - - $async.Future<$10.SetFragmentTagResponse> setFragmentTag_Pre($grpc.ServiceCall call, $async.Future<$10.SetFragmentTagRequest> request) async { - return setFragmentTag(call, await request); - } - - $async.Future<$10.DeleteFragmentTagResponse> deleteFragmentTag_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteFragmentTagRequest> request) async { - return deleteFragmentTag(call, await request); - } - - $async.Future<$10.AddRoleResponse> addRole_Pre($grpc.ServiceCall call, $async.Future<$10.AddRoleRequest> request) async { - return addRole(call, await request); - } - - $async.Future<$10.RemoveRoleResponse> removeRole_Pre($grpc.ServiceCall call, $async.Future<$10.RemoveRoleRequest> request) async { - return removeRole(call, await request); - } - - $async.Future<$10.ChangeRoleResponse> changeRole_Pre($grpc.ServiceCall call, $async.Future<$10.ChangeRoleRequest> request) async { - return changeRole(call, await request); - } - - $async.Future<$10.ListAuthorizationsResponse> listAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$10.ListAuthorizationsRequest> request) async { - return listAuthorizations(call, await request); - } - - $async.Future<$10.CheckPermissionsResponse> checkPermissions_Pre($grpc.ServiceCall call, $async.Future<$10.CheckPermissionsRequest> request) async { - return checkPermissions(call, await request); - } - - $async.Future<$10.GetRegistryItemResponse> getRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$10.GetRegistryItemRequest> request) async { - return getRegistryItem(call, await request); - } - - $async.Future<$10.CreateRegistryItemResponse> createRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$10.CreateRegistryItemRequest> request) async { - return createRegistryItem(call, await request); - } - - $async.Future<$10.UpdateRegistryItemResponse> updateRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateRegistryItemRequest> request) async { - return updateRegistryItem(call, await request); - } - - $async.Future<$10.ListRegistryItemsResponse> listRegistryItems_Pre($grpc.ServiceCall call, $async.Future<$10.ListRegistryItemsRequest> request) async { - return listRegistryItems(call, await request); - } - - $async.Future<$10.DeleteRegistryItemResponse> deleteRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteRegistryItemRequest> request) async { - return deleteRegistryItem(call, await request); - } - - $async.Future<$10.TransferRegistryItemResponse> transferRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$10.TransferRegistryItemRequest> request) async { - return transferRegistryItem(call, await request); - } - - $async.Future<$10.CreateModuleResponse> createModule_Pre($grpc.ServiceCall call, $async.Future<$10.CreateModuleRequest> request) async { - return createModule(call, await request); - } - - $async.Future<$10.UpdateModuleResponse> updateModule_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateModuleRequest> request) async { - return updateModule(call, await request); - } - - $async.Future<$10.GetModuleResponse> getModule_Pre($grpc.ServiceCall call, $async.Future<$10.GetModuleRequest> request) async { - return getModule(call, await request); - } - - $async.Future<$10.ListModulesResponse> listModules_Pre($grpc.ServiceCall call, $async.Future<$10.ListModulesRequest> request) async { - return listModules(call, await request); - } - - $async.Future<$10.CreateKeyResponse> createKey_Pre($grpc.ServiceCall call, $async.Future<$10.CreateKeyRequest> request) async { - return createKey(call, await request); - } - - $async.Future<$10.DeleteKeyResponse> deleteKey_Pre($grpc.ServiceCall call, $async.Future<$10.DeleteKeyRequest> request) async { - return deleteKey(call, await request); - } - - $async.Future<$10.ListKeysResponse> listKeys_Pre($grpc.ServiceCall call, $async.Future<$10.ListKeysRequest> request) async { - return listKeys(call, await request); - } - - $async.Future<$10.RenameKeyResponse> renameKey_Pre($grpc.ServiceCall call, $async.Future<$10.RenameKeyRequest> request) async { - return renameKey(call, await request); - } - - $async.Future<$10.RotateKeyResponse> rotateKey_Pre($grpc.ServiceCall call, $async.Future<$10.RotateKeyRequest> request) async { - return rotateKey(call, await request); - } - - $async.Future<$10.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$10.CreateKeyFromExistingKeyAuthorizationsRequest> request) async { - return createKeyFromExistingKeyAuthorizations(call, await request); - } - - $async.Future<$10.GetAppContentResponse> getAppContent_Pre($grpc.ServiceCall call, $async.Future<$10.GetAppContentRequest> request) async { - return getAppContent(call, await request); - } - - $async.Future<$10.GetUserIDByEmailResponse> getUserIDByEmail($grpc.ServiceCall call, $10.GetUserIDByEmailRequest request); - $async.Future<$10.CreateOrganizationResponse> createOrganization($grpc.ServiceCall call, $10.CreateOrganizationRequest request); - $async.Future<$10.ListOrganizationsResponse> listOrganizations($grpc.ServiceCall call, $10.ListOrganizationsRequest request); - $async.Future<$10.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($grpc.ServiceCall call, $10.GetOrganizationsWithAccessToLocationRequest request); - $async.Future<$10.ListOrganizationsByUserResponse> listOrganizationsByUser($grpc.ServiceCall call, $10.ListOrganizationsByUserRequest request); - $async.Future<$10.SearchOrganizationsResponse> searchOrganizations($grpc.ServiceCall call, $10.SearchOrganizationsRequest request); - $async.Future<$10.GetOrganizationResponse> getOrganization($grpc.ServiceCall call, $10.GetOrganizationRequest request); - $async.Future<$10.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($grpc.ServiceCall call, $10.GetOrganizationNamespaceAvailabilityRequest request); - $async.Future<$10.UpdateOrganizationResponse> updateOrganization($grpc.ServiceCall call, $10.UpdateOrganizationRequest request); - $async.Future<$10.DeleteOrganizationResponse> deleteOrganization($grpc.ServiceCall call, $10.DeleteOrganizationRequest request); - $async.Future<$10.GetOrganizationMetadataResponse> getOrganizationMetadata($grpc.ServiceCall call, $10.GetOrganizationMetadataRequest request); - $async.Future<$10.UpdateOrganizationMetadataResponse> updateOrganizationMetadata($grpc.ServiceCall call, $10.UpdateOrganizationMetadataRequest request); - $async.Future<$10.ListOrganizationMembersResponse> listOrganizationMembers($grpc.ServiceCall call, $10.ListOrganizationMembersRequest request); - $async.Future<$10.CreateOrganizationInviteResponse> createOrganizationInvite($grpc.ServiceCall call, $10.CreateOrganizationInviteRequest request); - $async.Future<$10.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($grpc.ServiceCall call, $10.UpdateOrganizationInviteAuthorizationsRequest request); - $async.Future<$10.DeleteOrganizationMemberResponse> deleteOrganizationMember($grpc.ServiceCall call, $10.DeleteOrganizationMemberRequest request); - $async.Future<$10.DeleteOrganizationInviteResponse> deleteOrganizationInvite($grpc.ServiceCall call, $10.DeleteOrganizationInviteRequest request); - $async.Future<$10.ResendOrganizationInviteResponse> resendOrganizationInvite($grpc.ServiceCall call, $10.ResendOrganizationInviteRequest request); - $async.Future<$10.EnableBillingServiceResponse> enableBillingService($grpc.ServiceCall call, $10.EnableBillingServiceRequest request); - $async.Future<$10.DisableBillingServiceResponse> disableBillingService($grpc.ServiceCall call, $10.DisableBillingServiceRequest request); - $async.Future<$10.UpdateBillingServiceResponse> updateBillingService($grpc.ServiceCall call, $10.UpdateBillingServiceRequest request); - $async.Future<$10.GetBillingServiceConfigResponse> getBillingServiceConfig($grpc.ServiceCall call, $10.GetBillingServiceConfigRequest request); - $async.Future<$10.OrganizationSetSupportEmailResponse> organizationSetSupportEmail($grpc.ServiceCall call, $10.OrganizationSetSupportEmailRequest request); - $async.Future<$10.OrganizationGetSupportEmailResponse> organizationGetSupportEmail($grpc.ServiceCall call, $10.OrganizationGetSupportEmailRequest request); - $async.Future<$10.OrganizationSetLogoResponse> organizationSetLogo($grpc.ServiceCall call, $10.OrganizationSetLogoRequest request); - $async.Future<$10.OrganizationGetLogoResponse> organizationGetLogo($grpc.ServiceCall call, $10.OrganizationGetLogoRequest request); - $async.Future<$10.EnableAuthServiceResponse> enableAuthService($grpc.ServiceCall call, $10.EnableAuthServiceRequest request); - $async.Future<$10.DisableAuthServiceResponse> disableAuthService($grpc.ServiceCall call, $10.DisableAuthServiceRequest request); - $async.Future<$10.CreateOAuthAppResponse> createOAuthApp($grpc.ServiceCall call, $10.CreateOAuthAppRequest request); - $async.Future<$10.ReadOAuthAppResponse> readOAuthApp($grpc.ServiceCall call, $10.ReadOAuthAppRequest request); - $async.Future<$10.UpdateOAuthAppResponse> updateOAuthApp($grpc.ServiceCall call, $10.UpdateOAuthAppRequest request); - $async.Future<$10.DeleteOAuthAppResponse> deleteOAuthApp($grpc.ServiceCall call, $10.DeleteOAuthAppRequest request); - $async.Future<$10.ListOAuthAppsResponse> listOAuthApps($grpc.ServiceCall call, $10.ListOAuthAppsRequest request); - $async.Future<$10.CreateLocationResponse> createLocation($grpc.ServiceCall call, $10.CreateLocationRequest request); - $async.Future<$10.GetLocationResponse> getLocation($grpc.ServiceCall call, $10.GetLocationRequest request); - $async.Future<$10.UpdateLocationResponse> updateLocation($grpc.ServiceCall call, $10.UpdateLocationRequest request); - $async.Future<$10.DeleteLocationResponse> deleteLocation($grpc.ServiceCall call, $10.DeleteLocationRequest request); - $async.Future<$10.GetLocationMetadataResponse> getLocationMetadata($grpc.ServiceCall call, $10.GetLocationMetadataRequest request); - $async.Future<$10.UpdateLocationMetadataResponse> updateLocationMetadata($grpc.ServiceCall call, $10.UpdateLocationMetadataRequest request); - $async.Future<$10.ListLocationsResponse> listLocations($grpc.ServiceCall call, $10.ListLocationsRequest request); - $async.Future<$10.ShareLocationResponse> shareLocation($grpc.ServiceCall call, $10.ShareLocationRequest request); - $async.Future<$10.UnshareLocationResponse> unshareLocation($grpc.ServiceCall call, $10.UnshareLocationRequest request); - $async.Future<$10.LocationAuthResponse> locationAuth($grpc.ServiceCall call, $10.LocationAuthRequest request); - $async.Future<$10.CreateLocationSecretResponse> createLocationSecret($grpc.ServiceCall call, $10.CreateLocationSecretRequest request); - $async.Future<$10.DeleteLocationSecretResponse> deleteLocationSecret($grpc.ServiceCall call, $10.DeleteLocationSecretRequest request); - $async.Future<$10.GetRobotResponse> getRobot($grpc.ServiceCall call, $10.GetRobotRequest request); - $async.Future<$10.GetRobotMetadataResponse> getRobotMetadata($grpc.ServiceCall call, $10.GetRobotMetadataRequest request); - $async.Future<$10.UpdateRobotMetadataResponse> updateRobotMetadata($grpc.ServiceCall call, $10.UpdateRobotMetadataRequest request); - $async.Future<$10.GetRoverRentalRobotsResponse> getRoverRentalRobots($grpc.ServiceCall call, $10.GetRoverRentalRobotsRequest request); - $async.Future<$10.GetRobotPartsResponse> getRobotParts($grpc.ServiceCall call, $10.GetRobotPartsRequest request); - $async.Future<$10.GetRobotPartResponse> getRobotPart($grpc.ServiceCall call, $10.GetRobotPartRequest request); - $async.Future<$10.GetRobotPartLogsResponse> getRobotPartLogs($grpc.ServiceCall call, $10.GetRobotPartLogsRequest request); - $async.Stream<$10.TailRobotPartLogsResponse> tailRobotPartLogs($grpc.ServiceCall call, $10.TailRobotPartLogsRequest request); - $async.Future<$10.GetRobotPartHistoryResponse> getRobotPartHistory($grpc.ServiceCall call, $10.GetRobotPartHistoryRequest request); - $async.Future<$10.UpdateRobotPartResponse> updateRobotPart($grpc.ServiceCall call, $10.UpdateRobotPartRequest request); - $async.Future<$10.NewRobotPartResponse> newRobotPart($grpc.ServiceCall call, $10.NewRobotPartRequest request); - $async.Future<$10.DeleteRobotPartResponse> deleteRobotPart($grpc.ServiceCall call, $10.DeleteRobotPartRequest request); - $async.Future<$10.GetRobotPartMetadataResponse> getRobotPartMetadata($grpc.ServiceCall call, $10.GetRobotPartMetadataRequest request); - $async.Future<$10.UpdateRobotPartMetadataResponse> updateRobotPartMetadata($grpc.ServiceCall call, $10.UpdateRobotPartMetadataRequest request); - $async.Future<$10.GetRobotAPIKeysResponse> getRobotAPIKeys($grpc.ServiceCall call, $10.GetRobotAPIKeysRequest request); - $async.Future<$10.MarkPartAsMainResponse> markPartAsMain($grpc.ServiceCall call, $10.MarkPartAsMainRequest request); - $async.Future<$10.MarkPartForRestartResponse> markPartForRestart($grpc.ServiceCall call, $10.MarkPartForRestartRequest request); - $async.Future<$10.CreateRobotPartSecretResponse> createRobotPartSecret($grpc.ServiceCall call, $10.CreateRobotPartSecretRequest request); - $async.Future<$10.DeleteRobotPartSecretResponse> deleteRobotPartSecret($grpc.ServiceCall call, $10.DeleteRobotPartSecretRequest request); - $async.Future<$10.ListRobotsResponse> listRobots($grpc.ServiceCall call, $10.ListRobotsRequest request); - $async.Future<$10.NewRobotResponse> newRobot($grpc.ServiceCall call, $10.NewRobotRequest request); - $async.Future<$10.UpdateRobotResponse> updateRobot($grpc.ServiceCall call, $10.UpdateRobotRequest request); - $async.Future<$10.DeleteRobotResponse> deleteRobot($grpc.ServiceCall call, $10.DeleteRobotRequest request); - $async.Future<$10.ListFragmentsResponse> listFragments($grpc.ServiceCall call, $10.ListFragmentsRequest request); - $async.Future<$10.GetFragmentResponse> getFragment($grpc.ServiceCall call, $10.GetFragmentRequest request); - $async.Future<$10.CreateFragmentResponse> createFragment($grpc.ServiceCall call, $10.CreateFragmentRequest request); - $async.Future<$10.UpdateFragmentResponse> updateFragment($grpc.ServiceCall call, $10.UpdateFragmentRequest request); - $async.Future<$10.DeleteFragmentResponse> deleteFragment($grpc.ServiceCall call, $10.DeleteFragmentRequest request); - $async.Future<$10.ListMachineFragmentsResponse> listMachineFragments($grpc.ServiceCall call, $10.ListMachineFragmentsRequest request); - $async.Future<$10.GetFragmentHistoryResponse> getFragmentHistory($grpc.ServiceCall call, $10.GetFragmentHistoryRequest request); - $async.Future<$10.GetFragmentUsageResponse> getFragmentUsage($grpc.ServiceCall call, $10.GetFragmentUsageRequest request); - $async.Future<$10.SetFragmentTagResponse> setFragmentTag($grpc.ServiceCall call, $10.SetFragmentTagRequest request); - $async.Future<$10.DeleteFragmentTagResponse> deleteFragmentTag($grpc.ServiceCall call, $10.DeleteFragmentTagRequest request); - $async.Future<$10.AddRoleResponse> addRole($grpc.ServiceCall call, $10.AddRoleRequest request); - $async.Future<$10.RemoveRoleResponse> removeRole($grpc.ServiceCall call, $10.RemoveRoleRequest request); - $async.Future<$10.ChangeRoleResponse> changeRole($grpc.ServiceCall call, $10.ChangeRoleRequest request); - $async.Future<$10.ListAuthorizationsResponse> listAuthorizations($grpc.ServiceCall call, $10.ListAuthorizationsRequest request); - $async.Future<$10.CheckPermissionsResponse> checkPermissions($grpc.ServiceCall call, $10.CheckPermissionsRequest request); - $async.Future<$10.GetRegistryItemResponse> getRegistryItem($grpc.ServiceCall call, $10.GetRegistryItemRequest request); - $async.Future<$10.CreateRegistryItemResponse> createRegistryItem($grpc.ServiceCall call, $10.CreateRegistryItemRequest request); - $async.Future<$10.UpdateRegistryItemResponse> updateRegistryItem($grpc.ServiceCall call, $10.UpdateRegistryItemRequest request); - $async.Future<$10.ListRegistryItemsResponse> listRegistryItems($grpc.ServiceCall call, $10.ListRegistryItemsRequest request); - $async.Future<$10.DeleteRegistryItemResponse> deleteRegistryItem($grpc.ServiceCall call, $10.DeleteRegistryItemRequest request); - $async.Future<$10.TransferRegistryItemResponse> transferRegistryItem($grpc.ServiceCall call, $10.TransferRegistryItemRequest request); - $async.Future<$10.CreateModuleResponse> createModule($grpc.ServiceCall call, $10.CreateModuleRequest request); - $async.Future<$10.UpdateModuleResponse> updateModule($grpc.ServiceCall call, $10.UpdateModuleRequest request); - $async.Future<$10.UploadModuleFileResponse> uploadModuleFile($grpc.ServiceCall call, $async.Stream<$10.UploadModuleFileRequest> request); - $async.Future<$10.GetModuleResponse> getModule($grpc.ServiceCall call, $10.GetModuleRequest request); - $async.Future<$10.ListModulesResponse> listModules($grpc.ServiceCall call, $10.ListModulesRequest request); - $async.Future<$10.CreateKeyResponse> createKey($grpc.ServiceCall call, $10.CreateKeyRequest request); - $async.Future<$10.DeleteKeyResponse> deleteKey($grpc.ServiceCall call, $10.DeleteKeyRequest request); - $async.Future<$10.ListKeysResponse> listKeys($grpc.ServiceCall call, $10.ListKeysRequest request); - $async.Future<$10.RenameKeyResponse> renameKey($grpc.ServiceCall call, $10.RenameKeyRequest request); - $async.Future<$10.RotateKeyResponse> rotateKey($grpc.ServiceCall call, $10.RotateKeyRequest request); - $async.Future<$10.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($grpc.ServiceCall call, $10.CreateKeyFromExistingKeyAuthorizationsRequest request); - $async.Future<$10.GetAppContentResponse> getAppContent($grpc.ServiceCall call, $10.GetAppContentRequest request); -} diff --git a/lib/src/gen/app/v1/app.pbjson.dart b/lib/src/gen/app/v1/app.pbjson.dart deleted file mode 100644 index 6d1292eadf5..00000000000 --- a/lib/src/gen/app/v1/app.pbjson.dart +++ /dev/null @@ -1,3866 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/app.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use authenticationTypeDescriptor instead') -const AuthenticationType$json = { - '1': 'AuthenticationType', - '2': [ - {'1': 'AUTHENTICATION_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'AUTHENTICATION_TYPE_WEB_OAUTH', '2': 1}, - {'1': 'AUTHENTICATION_TYPE_API_KEY', '2': 2}, - {'1': 'AUTHENTICATION_TYPE_ROBOT_PART_SECRET', '2': 3}, - {'1': 'AUTHENTICATION_TYPE_LOCATION_SECRET', '2': 4}, - ], -}; - -/// Descriptor for `AuthenticationType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List authenticationTypeDescriptor = $convert.base64Decode( - 'ChJBdXRoZW50aWNhdGlvblR5cGUSIwofQVVUSEVOVElDQVRJT05fVFlQRV9VTlNQRUNJRklFRB' - 'AAEiEKHUFVVEhFTlRJQ0FUSU9OX1RZUEVfV0VCX09BVVRIEAESHwobQVVUSEVOVElDQVRJT05f' - 'VFlQRV9BUElfS0VZEAISKQolQVVUSEVOVElDQVRJT05fVFlQRV9ST0JPVF9QQVJUX1NFQ1JFVB' - 'ADEicKI0FVVEhFTlRJQ0FUSU9OX1RZUEVfTE9DQVRJT05fU0VDUkVUEAQ='); - -@$core.Deprecated('Use fragmentVisibilityDescriptor instead') -const FragmentVisibility$json = { - '1': 'FragmentVisibility', - '2': [ - {'1': 'FRAGMENT_VISIBILITY_UNSPECIFIED', '2': 0}, - {'1': 'FRAGMENT_VISIBILITY_PRIVATE', '2': 1}, - {'1': 'FRAGMENT_VISIBILITY_PUBLIC', '2': 2}, - {'1': 'FRAGMENT_VISIBILITY_PUBLIC_UNLISTED', '2': 3}, - ], -}; - -/// Descriptor for `FragmentVisibility`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List fragmentVisibilityDescriptor = $convert.base64Decode( - 'ChJGcmFnbWVudFZpc2liaWxpdHkSIwofRlJBR01FTlRfVklTSUJJTElUWV9VTlNQRUNJRklFRB' - 'AAEh8KG0ZSQUdNRU5UX1ZJU0lCSUxJVFlfUFJJVkFURRABEh4KGkZSQUdNRU5UX1ZJU0lCSUxJ' - 'VFlfUFVCTElDEAISJwojRlJBR01FTlRfVklTSUJJTElUWV9QVUJMSUNfVU5MSVNURUQQAw=='); - -@$core.Deprecated('Use fragmentErrorTypeDescriptor instead') -const FragmentErrorType$json = { - '1': 'FragmentErrorType', - '2': [ - {'1': 'FRAGMENT_ERROR_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'FRAGMENT_ERROR_TYPE_NO_ACCESS', '2': 1}, - {'1': 'FRAGMENT_ERROR_TYPE_NESTING_LIMIT_EXCEEDED', '2': 2}, - {'1': 'FRAGMENT_ERROR_TYPE_CHILD_ID_INVALID', '2': 3}, - {'1': 'FRAGMENT_ERROR_TYPE_CYCLE_DETECTED', '2': 4}, - ], -}; - -/// Descriptor for `FragmentErrorType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List fragmentErrorTypeDescriptor = $convert.base64Decode( - 'ChFGcmFnbWVudEVycm9yVHlwZRIjCh9GUkFHTUVOVF9FUlJPUl9UWVBFX1VOU1BFQ0lGSUVEEA' - 'ASIQodRlJBR01FTlRfRVJST1JfVFlQRV9OT19BQ0NFU1MQARIuCipGUkFHTUVOVF9FUlJPUl9U' - 'WVBFX05FU1RJTkdfTElNSVRfRVhDRUVERUQQAhIoCiRGUkFHTUVOVF9FUlJPUl9UWVBFX0NISU' - 'xEX0lEX0lOVkFMSUQQAxImCiJGUkFHTUVOVF9FUlJPUl9UWVBFX0NZQ0xFX0RFVEVDVEVEEAQ='); - -@$core.Deprecated('Use registryItemStatusDescriptor instead') -const RegistryItemStatus$json = { - '1': 'RegistryItemStatus', - '2': [ - {'1': 'REGISTRY_ITEM_STATUS_UNSPECIFIED', '2': 0}, - {'1': 'REGISTRY_ITEM_STATUS_PUBLISHED', '2': 1}, - {'1': 'REGISTRY_ITEM_STATUS_IN_DEVELOPMENT', '2': 2}, - ], -}; - -/// Descriptor for `RegistryItemStatus`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List registryItemStatusDescriptor = $convert.base64Decode( - 'ChJSZWdpc3RyeUl0ZW1TdGF0dXMSJAogUkVHSVNUUllfSVRFTV9TVEFUVVNfVU5TUEVDSUZJRU' - 'QQABIiCh5SRUdJU1RSWV9JVEVNX1NUQVRVU19QVUJMSVNIRUQQARInCiNSRUdJU1RSWV9JVEVN' - 'X1NUQVRVU19JTl9ERVZFTE9QTUVOVBAC'); - -@$core.Deprecated('Use visibilityDescriptor instead') -const Visibility$json = { - '1': 'Visibility', - '2': [ - {'1': 'VISIBILITY_UNSPECIFIED', '2': 0}, - {'1': 'VISIBILITY_PRIVATE', '2': 1}, - {'1': 'VISIBILITY_PUBLIC', '2': 2}, - {'1': 'VISIBILITY_PUBLIC_UNLISTED', '2': 3}, - ], -}; - -/// Descriptor for `Visibility`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List visibilityDescriptor = $convert.base64Decode( - 'CgpWaXNpYmlsaXR5EhoKFlZJU0lCSUxJVFlfVU5TUEVDSUZJRUQQABIWChJWSVNJQklMSVRZX1' - 'BSSVZBVEUQARIVChFWSVNJQklMSVRZX1BVQkxJQxACEh4KGlZJU0lCSUxJVFlfUFVCTElDX1VO' - 'TElTVEVEEAM='); - -@$core.Deprecated('Use clientAuthenticationDescriptor instead') -const ClientAuthentication$json = { - '1': 'ClientAuthentication', - '2': [ - {'1': 'CLIENT_AUTHENTICATION_UNSPECIFIED', '2': 0}, - {'1': 'CLIENT_AUTHENTICATION_REQUIRED', '2': 1}, - {'1': 'CLIENT_AUTHENTICATION_NOT_REQUIRED', '2': 2}, - {'1': 'CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE', '2': 3}, - ], -}; - -/// Descriptor for `ClientAuthentication`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List clientAuthenticationDescriptor = $convert.base64Decode( - 'ChRDbGllbnRBdXRoZW50aWNhdGlvbhIlCiFDTElFTlRfQVVUSEVOVElDQVRJT05fVU5TUEVDSU' - 'ZJRUQQABIiCh5DTElFTlRfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQQARImCiJDTElFTlRfQVVU' - 'SEVOVElDQVRJT05fTk9UX1JFUVVJUkVEEAISNgoyQ0xJRU5UX0FVVEhFTlRJQ0FUSU9OX05PVF' - '9SRVFVSVJFRF9XSEVOX1VTSU5HX1BLQ0UQAw=='); - -@$core.Deprecated('Use pKCEDescriptor instead') -const PKCE$json = { - '1': 'PKCE', - '2': [ - {'1': 'PKCE_UNSPECIFIED', '2': 0}, - {'1': 'PKCE_REQUIRED', '2': 1}, - {'1': 'PKCE_NOT_REQUIRED', '2': 2}, - {'1': 'PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION', '2': 3}, - ], -}; - -/// Descriptor for `PKCE`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List pKCEDescriptor = $convert.base64Decode( - 'CgRQS0NFEhQKEFBLQ0VfVU5TUEVDSUZJRUQQABIRCg1QS0NFX1JFUVVJUkVEEAESFQoRUEtDRV' - '9OT1RfUkVRVUlSRUQQAhI2CjJQS0NFX05PVF9SRVFVSVJFRF9XSEVOX1VTSU5HX0NMSUVOVF9B' - 'VVRIRU5USUNBVElPThAD'); - -@$core.Deprecated('Use uRLValidationDescriptor instead') -const URLValidation$json = { - '1': 'URLValidation', - '2': [ - {'1': 'URL_VALIDATION_UNSPECIFIED', '2': 0}, - {'1': 'URL_VALIDATION_EXACT_MATCH', '2': 1}, - {'1': 'URL_VALIDATION_ALLOW_WILDCARDS', '2': 2}, - ], -}; - -/// Descriptor for `URLValidation`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List uRLValidationDescriptor = $convert.base64Decode( - 'Cg1VUkxWYWxpZGF0aW9uEh4KGlVSTF9WQUxJREFUSU9OX1VOU1BFQ0lGSUVEEAASHgoaVVJMX1' - 'ZBTElEQVRJT05fRVhBQ1RfTUFUQ0gQARIiCh5VUkxfVkFMSURBVElPTl9BTExPV19XSUxEQ0FS' - 'RFMQAg=='); - -@$core.Deprecated('Use enabledGrantDescriptor instead') -const EnabledGrant$json = { - '1': 'EnabledGrant', - '2': [ - {'1': 'ENABLED_GRANT_UNSPECIFIED', '2': 0}, - {'1': 'ENABLED_GRANT_AUTHORIZATION_CODE', '2': 1}, - {'1': 'ENABLED_GRANT_IMPLICIT', '2': 2}, - {'1': 'ENABLED_GRANT_PASSWORD', '2': 3}, - {'1': 'ENABLED_GRANT_REFRESH_TOKEN', '2': 4}, - {'1': 'ENABLED_GRANT_DEVICE_CODE', '2': 5}, - ], -}; - -/// Descriptor for `EnabledGrant`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List enabledGrantDescriptor = $convert.base64Decode( - 'CgxFbmFibGVkR3JhbnQSHQoZRU5BQkxFRF9HUkFOVF9VTlNQRUNJRklFRBAAEiQKIEVOQUJMRU' - 'RfR1JBTlRfQVVUSE9SSVpBVElPTl9DT0RFEAESGgoWRU5BQkxFRF9HUkFOVF9JTVBMSUNJVBAC' - 'EhoKFkVOQUJMRURfR1JBTlRfUEFTU1dPUkQQAxIfChtFTkFCTEVEX0dSQU5UX1JFRlJFU0hfVE' - '9LRU4QBBIdChlFTkFCTEVEX0dSQU5UX0RFVklDRV9DT0RFEAU='); - -@$core.Deprecated('Use robotDescriptor instead') -const Robot$json = { - '1': 'Robot', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'name'}, - {'1': 'location', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'location'}, - {'1': 'last_access', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'lastAccess'}, - {'1': 'created_on', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'createdOn'}, - ], -}; - -/// Descriptor for `Robot`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List robotDescriptor = $convert.base64Decode( - 'CgVSb2JvdBIzCgJpZBgBIAEoCUIjmoSeAx5ic29uOiJfaWQiIGpzb246ImlkLG9taXRlbXB0eS' - 'JSAmlkEjAKBG5hbWUYAiABKAlCHJqEngMXYnNvbjoibmFtZSIganNvbjoibmFtZSJSBG5hbWUS' - 'QAoIbG9jYXRpb24YAyABKAlCJJqEngMfYnNvbjoibG9jYXRpb24iIGpzb246ImxvY2F0aW9uIl' - 'IIbG9jYXRpb24SZwoLbGFzdF9hY2Nlc3MYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0' - 'YW1wQiqahJ4DJWJzb246Imxhc3RfYWNjZXNzIiBqc29uOiJsYXN0X2FjY2VzcyJSCmxhc3RBY2' - 'Nlc3MSUQoKY3JlYXRlZF9vbhgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCFpqE' - 'ngMRYnNvbjoiY3JlYXRlZF9vbiJSCWNyZWF0ZWRPbg=='); - -@$core.Deprecated('Use robotPartDescriptor instead') -const RobotPart$json = { - '1': 'RobotPart', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'name'}, - {'1': 'dns_name', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'dnsName'}, - {'1': 'secret', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'secret'}, - {'1': 'robot', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'robot'}, - {'1': 'location_id', '3': 12, '4': 1, '5': 9, '8': {}, '10': 'locationId'}, - {'1': 'robot_config', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '8': {}, '10': 'robotConfig'}, - {'1': 'last_access', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'lastAccess'}, - {'1': 'user_supplied_info', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '8': {}, '10': 'userSuppliedInfo'}, - {'1': 'main_part', '3': 8, '4': 1, '5': 8, '8': {}, '10': 'mainPart'}, - {'1': 'fqdn', '3': 9, '4': 1, '5': 9, '10': 'fqdn'}, - {'1': 'local_fqdn', '3': 11, '4': 1, '5': 9, '10': 'localFqdn'}, - {'1': 'created_on', '3': 13, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'createdOn'}, - {'1': 'secrets', '3': 14, '4': 3, '5': 11, '6': '.viam.app.v1.SharedSecret', '8': {}, '10': 'secrets'}, - {'1': 'last_updated', '3': 15, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'lastUpdated'}, - ], -}; - -/// Descriptor for `RobotPart`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List robotPartDescriptor = $convert.base64Decode( - 'CglSb2JvdFBhcnQSMwoCaWQYASABKAlCI5qEngMeYnNvbjoiX2lkIiBqc29uOiJpZCxvbWl0ZW' - '1wdHkiUgJpZBIwCgRuYW1lGAIgASgJQhyahJ4DF2Jzb246Im5hbWUiIGpzb246Im5hbWUiUgRu' - 'YW1lEj8KCGRuc19uYW1lGAogASgJQiSahJ4DH2Jzb246ImRuc19uYW1lIiBqc29uOiJkbnNfbm' - 'FtZSJSB2Ruc05hbWUSQgoGc2VjcmV0GAMgASgJQiqahJ4DJWJzb246InNlY3JldCIganNvbjoi' - 'c2VjcmV0LG9taXRlbXB0eSJSBnNlY3JldBI0CgVyb2JvdBgEIAEoCUIemoSeAxlic29uOiJyb2' - 'JvdCIganNvbjoicm9ib3QiUgVyb2JvdBJBCgtsb2NhdGlvbl9pZBgMIAEoCUIgmoSeAxtic29u' - 'OiJsb2NhdGlvbl9pZCIganNvbjoiLSJSCmxvY2F0aW9uSWQSYgoMcm9ib3RfY29uZmlnGAUgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdEImmoSeAyFic29uOiJjb25maWciIGpzb246InJv' - 'Ym90X2NvbmZpZyJSC3JvYm90Q29uZmlnEmcKC2xhc3RfYWNjZXNzGAYgASgLMhouZ29vZ2xlLn' - 'Byb3RvYnVmLlRpbWVzdGFtcEIqmoSeAyVic29uOiJsYXN0X2FjY2VzcyIganNvbjoibGFzdF9h' - 'Y2Nlc3MiUgpsYXN0QWNjZXNzEn8KEnVzZXJfc3VwcGxpZWRfaW5mbxgHIAEoCzIXLmdvb2dsZS' - '5wcm90b2J1Zi5TdHJ1Y3RCOJqEngMzYnNvbjoidXNlcl9zdXBwbGllZF9pbmZvIiBqc29uOiJ1' - 'c2VyX3N1cHBsaWVkX2luZm8iUhB1c2VyU3VwcGxpZWRJbmZvEkMKCW1haW5fcGFydBgIIAEoCE' - 'ImmoSeAyFic29uOiJtYWluX3BhcnQiIGpzb246Im1haW5fcGFydCJSCG1haW5QYXJ0EhIKBGZx' - 'ZG4YCSABKAlSBGZxZG4SHQoKbG9jYWxfZnFkbhgLIAEoCVIJbG9jYWxGcWRuElEKCmNyZWF0ZW' - 'Rfb24YDSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQhaahJ4DEWJzb246ImNyZWF0' - 'ZWRfb24iUgljcmVhdGVkT24SSAoHc2VjcmV0cxgOIAMoCzIZLnZpYW0uYXBwLnYxLlNoYXJlZF' - 'NlY3JldEITmoSeAw5ic29uOiJzZWNyZXRzIlIHc2VjcmV0cxJaCgxsYXN0X3VwZGF0ZWQYDyAB' - 'KAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQhuahJ4DFmJzb246Imxhc3RfdXBkYXRlZF' - '9hdCJSC2xhc3RVcGRhdGVk'); - -@$core.Deprecated('Use robotPartHistoryEntryDescriptor instead') -const RobotPartHistoryEntry$json = { - '1': 'RobotPartHistoryEntry', - '2': [ - {'1': 'part', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'part'}, - {'1': 'robot', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'robot'}, - {'1': 'when', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'when'}, - {'1': 'old', '3': 4, '4': 1, '5': 11, '6': '.viam.app.v1.RobotPart', '8': {}, '10': 'old'}, - {'1': 'edited_by', '3': 5, '4': 1, '5': 11, '6': '.viam.app.v1.AuthenticatorInfo', '8': {}, '10': 'editedBy'}, - ], -}; - -/// Descriptor for `RobotPartHistoryEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List robotPartHistoryEntryDescriptor = $convert.base64Decode( - 'ChVSb2JvdFBhcnRIaXN0b3J5RW50cnkSMAoEcGFydBgBIAEoCUIcmoSeAxdic29uOiJwYXJ0Ii' - 'Bqc29uOiJwYXJ0IlIEcGFydBI0CgVyb2JvdBgCIAEoCUIemoSeAxlic29uOiJyb2JvdCIganNv' - 'bjoicm9ib3QiUgVyb2JvdBJMCgR3aGVuGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcEIcmoSeAxdic29uOiJ3aGVuIiBqc29uOiJ3aGVuIlIEd2hlbhJECgNvbGQYBCABKAsyFi52' - 'aWFtLmFwcC52MS5Sb2JvdFBhcnRCGpqEngMVYnNvbjoib2xkIiBqc29uOiJvbGQiUgNvbGQSYw' - 'oJZWRpdGVkX2J5GAUgASgLMh4udmlhbS5hcHAudjEuQXV0aGVudGljYXRvckluZm9CJpqEngMh' - 'YnNvbjoiZWRpdGVkX2J5IiBqc29uOiJlZGl0ZWRfYnkiUghlZGl0ZWRCeQ=='); - -@$core.Deprecated('Use authenticatorInfoDescriptor instead') -const AuthenticatorInfo$json = { - '1': 'AuthenticatorInfo', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.AuthenticationType', '10': 'type'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - {'1': 'is_deactivated', '3': 3, '4': 1, '5': 8, '10': 'isDeactivated'}, - ], -}; - -/// Descriptor for `AuthenticatorInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authenticatorInfoDescriptor = $convert.base64Decode( - 'ChFBdXRoZW50aWNhdG9ySW5mbxIzCgR0eXBlGAEgASgOMh8udmlhbS5hcHAudjEuQXV0aGVudG' - 'ljYXRpb25UeXBlUgR0eXBlEhQKBXZhbHVlGAIgASgJUgV2YWx1ZRIlCg5pc19kZWFjdGl2YXRl' - 'ZBgDIAEoCFINaXNEZWFjdGl2YXRlZA=='); - -@$core.Deprecated('Use listOrganizationsRequestDescriptor instead') -const ListOrganizationsRequest$json = { - '1': 'ListOrganizationsRequest', -}; - -/// Descriptor for `ListOrganizationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOrganizationsRequestDescriptor = $convert.base64Decode( - 'ChhMaXN0T3JnYW5pemF0aW9uc1JlcXVlc3Q='); - -@$core.Deprecated('Use organizationDescriptor instead') -const Organization$json = { - '1': 'Organization', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'created_on', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdOn'}, - {'1': 'public_namespace', '3': 4, '4': 1, '5': 9, '10': 'publicNamespace'}, - {'1': 'default_region', '3': 5, '4': 1, '5': 9, '10': 'defaultRegion'}, - {'1': 'cid', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'cid', '17': true}, - ], - '8': [ - {'1': '_cid'}, - ], -}; - -/// Descriptor for `Organization`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationDescriptor = $convert.base64Decode( - 'CgxPcmdhbml6YXRpb24SDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbWUSOQoKY3' - 'JlYXRlZF9vbhgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCWNyZWF0ZWRPbhIp' - 'ChBwdWJsaWNfbmFtZXNwYWNlGAQgASgJUg9wdWJsaWNOYW1lc3BhY2USJQoOZGVmYXVsdF9yZW' - 'dpb24YBSABKAlSDWRlZmF1bHRSZWdpb24SFQoDY2lkGAYgASgJSABSA2NpZIgBAUIGCgRfY2lk'); - -@$core.Deprecated('Use organizationMemberDescriptor instead') -const OrganizationMember$json = { - '1': 'OrganizationMember', - '2': [ - {'1': 'user_id', '3': 1, '4': 1, '5': 9, '10': 'userId'}, - {'1': 'emails', '3': 2, '4': 3, '5': 9, '10': 'emails'}, - {'1': 'date_added', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dateAdded'}, - {'1': 'last_login', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 0, '10': 'lastLogin', '17': true}, - ], - '8': [ - {'1': '_last_login'}, - ], -}; - -/// Descriptor for `OrganizationMember`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationMemberDescriptor = $convert.base64Decode( - 'ChJPcmdhbml6YXRpb25NZW1iZXISFwoHdXNlcl9pZBgBIAEoCVIGdXNlcklkEhYKBmVtYWlscx' - 'gCIAMoCVIGZW1haWxzEjkKCmRhdGVfYWRkZWQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGlt' - 'ZXN0YW1wUglkYXRlQWRkZWQSPgoKbGFzdF9sb2dpbhgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi' - '5UaW1lc3RhbXBIAFIJbGFzdExvZ2luiAEBQg0KC19sYXN0X2xvZ2lu'); - -@$core.Deprecated('Use listOrganizationsResponseDescriptor instead') -const ListOrganizationsResponse$json = { - '1': 'ListOrganizationsResponse', - '2': [ - {'1': 'organizations', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Organization', '10': 'organizations'}, - ], -}; - -/// Descriptor for `ListOrganizationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOrganizationsResponseDescriptor = $convert.base64Decode( - 'ChlMaXN0T3JnYW5pemF0aW9uc1Jlc3BvbnNlEj8KDW9yZ2FuaXphdGlvbnMYASADKAsyGS52aW' - 'FtLmFwcC52MS5Pcmdhbml6YXRpb25SDW9yZ2FuaXphdGlvbnM='); - -@$core.Deprecated('Use organizationInviteDescriptor instead') -const OrganizationInvite$json = { - '1': 'OrganizationInvite', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, - {'1': 'created_on', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdOn'}, - {'1': 'authorizations', '3': 4, '4': 3, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'authorizations'}, - ], -}; - -/// Descriptor for `OrganizationInvite`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationInviteDescriptor = $convert.base64Decode( - 'ChJPcmdhbml6YXRpb25JbnZpdGUSJwoPb3JnYW5pemF0aW9uX2lkGAEgASgJUg5vcmdhbml6YX' - 'Rpb25JZBIUCgVlbWFpbBgCIAEoCVIFZW1haWwSOQoKY3JlYXRlZF9vbhgDIAEoCzIaLmdvb2ds' - 'ZS5wcm90b2J1Zi5UaW1lc3RhbXBSCWNyZWF0ZWRPbhJCCg5hdXRob3JpemF0aW9ucxgEIAMoCz' - 'IaLnZpYW0uYXBwLnYxLkF1dGhvcml6YXRpb25SDmF1dGhvcml6YXRpb25z'); - -@$core.Deprecated('Use createOrganizationRequestDescriptor instead') -const CreateOrganizationRequest$json = { - '1': 'CreateOrganizationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `CreateOrganizationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createOrganizationRequestDescriptor = $convert.base64Decode( - 'ChlDcmVhdGVPcmdhbml6YXRpb25SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWU='); - -@$core.Deprecated('Use createOrganizationResponseDescriptor instead') -const CreateOrganizationResponse$json = { - '1': 'CreateOrganizationResponse', - '2': [ - {'1': 'organization', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Organization', '10': 'organization'}, - ], -}; - -/// Descriptor for `CreateOrganizationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createOrganizationResponseDescriptor = $convert.base64Decode( - 'ChpDcmVhdGVPcmdhbml6YXRpb25SZXNwb25zZRI9Cgxvcmdhbml6YXRpb24YASABKAsyGS52aW' - 'FtLmFwcC52MS5Pcmdhbml6YXRpb25SDG9yZ2FuaXphdGlvbg=='); - -@$core.Deprecated('Use getOrganizationRequestDescriptor instead') -const GetOrganizationRequest$json = { - '1': 'GetOrganizationRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `GetOrganizationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationRequestDescriptor = $convert.base64Decode( - 'ChZHZXRPcmdhbml6YXRpb25SZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3JnYW' - '5pemF0aW9uSWQ='); - -@$core.Deprecated('Use getOrganizationResponseDescriptor instead') -const GetOrganizationResponse$json = { - '1': 'GetOrganizationResponse', - '2': [ - {'1': 'organization', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Organization', '10': 'organization'}, - ], -}; - -/// Descriptor for `GetOrganizationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationResponseDescriptor = $convert.base64Decode( - 'ChdHZXRPcmdhbml6YXRpb25SZXNwb25zZRI9Cgxvcmdhbml6YXRpb24YASABKAsyGS52aWFtLm' - 'FwcC52MS5Pcmdhbml6YXRpb25SDG9yZ2FuaXphdGlvbg=='); - -@$core.Deprecated('Use getOrganizationNamespaceAvailabilityRequestDescriptor instead') -const GetOrganizationNamespaceAvailabilityRequest$json = { - '1': 'GetOrganizationNamespaceAvailabilityRequest', - '2': [ - {'1': 'public_namespace', '3': 1, '4': 1, '5': 9, '10': 'publicNamespace'}, - ], -}; - -/// Descriptor for `GetOrganizationNamespaceAvailabilityRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationNamespaceAvailabilityRequestDescriptor = $convert.base64Decode( - 'CitHZXRPcmdhbml6YXRpb25OYW1lc3BhY2VBdmFpbGFiaWxpdHlSZXF1ZXN0EikKEHB1YmxpY1' - '9uYW1lc3BhY2UYASABKAlSD3B1YmxpY05hbWVzcGFjZQ=='); - -@$core.Deprecated('Use getOrganizationNamespaceAvailabilityResponseDescriptor instead') -const GetOrganizationNamespaceAvailabilityResponse$json = { - '1': 'GetOrganizationNamespaceAvailabilityResponse', - '2': [ - {'1': 'available', '3': 1, '4': 1, '5': 8, '10': 'available'}, - ], -}; - -/// Descriptor for `GetOrganizationNamespaceAvailabilityResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationNamespaceAvailabilityResponseDescriptor = $convert.base64Decode( - 'CixHZXRPcmdhbml6YXRpb25OYW1lc3BhY2VBdmFpbGFiaWxpdHlSZXNwb25zZRIcCglhdmFpbG' - 'FibGUYASABKAhSCWF2YWlsYWJsZQ=='); - -@$core.Deprecated('Use updateOrganizationRequestDescriptor instead') -const UpdateOrganizationRequest$json = { - '1': 'UpdateOrganizationRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'name', '17': true}, - {'1': 'public_namespace', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'publicNamespace', '17': true}, - {'1': 'region', '3': 4, '4': 1, '5': 9, '9': 2, '10': 'region', '17': true}, - {'1': 'cid', '3': 5, '4': 1, '5': 9, '9': 3, '10': 'cid', '17': true}, - ], - '8': [ - {'1': '_name'}, - {'1': '_public_namespace'}, - {'1': '_region'}, - {'1': '_cid'}, - ], -}; - -/// Descriptor for `UpdateOrganizationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOrganizationRequestDescriptor = $convert.base64Decode( - 'ChlVcGRhdGVPcmdhbml6YXRpb25SZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3' - 'JnYW5pemF0aW9uSWQSFwoEbmFtZRgCIAEoCUgAUgRuYW1liAEBEi4KEHB1YmxpY19uYW1lc3Bh' - 'Y2UYAyABKAlIAVIPcHVibGljTmFtZXNwYWNliAEBEhsKBnJlZ2lvbhgEIAEoCUgCUgZyZWdpb2' - '6IAQESFQoDY2lkGAUgASgJSANSA2NpZIgBAUIHCgVfbmFtZUITChFfcHVibGljX25hbWVzcGFj' - 'ZUIJCgdfcmVnaW9uQgYKBF9jaWQ='); - -@$core.Deprecated('Use updateOrganizationResponseDescriptor instead') -const UpdateOrganizationResponse$json = { - '1': 'UpdateOrganizationResponse', - '2': [ - {'1': 'organization', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Organization', '10': 'organization'}, - ], -}; - -/// Descriptor for `UpdateOrganizationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOrganizationResponseDescriptor = $convert.base64Decode( - 'ChpVcGRhdGVPcmdhbml6YXRpb25SZXNwb25zZRI9Cgxvcmdhbml6YXRpb24YASABKAsyGS52aW' - 'FtLmFwcC52MS5Pcmdhbml6YXRpb25SDG9yZ2FuaXphdGlvbg=='); - -@$core.Deprecated('Use deleteOrganizationRequestDescriptor instead') -const DeleteOrganizationRequest$json = { - '1': 'DeleteOrganizationRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `DeleteOrganizationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOrganizationRequestDescriptor = $convert.base64Decode( - 'ChlEZWxldGVPcmdhbml6YXRpb25SZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3' - 'JnYW5pemF0aW9uSWQ='); - -@$core.Deprecated('Use deleteOrganizationResponseDescriptor instead') -const DeleteOrganizationResponse$json = { - '1': 'DeleteOrganizationResponse', -}; - -/// Descriptor for `DeleteOrganizationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOrganizationResponseDescriptor = $convert.base64Decode( - 'ChpEZWxldGVPcmdhbml6YXRpb25SZXNwb25zZQ=='); - -@$core.Deprecated('Use getOrganizationMetadataRequestDescriptor instead') -const GetOrganizationMetadataRequest$json = { - '1': 'GetOrganizationMetadataRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `GetOrganizationMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationMetadataRequestDescriptor = $convert.base64Decode( - 'Ch5HZXRPcmdhbml6YXRpb25NZXRhZGF0YVJlcXVlc3QSJwoPb3JnYW5pemF0aW9uX2lkGAEgAS' - 'gJUg5vcmdhbml6YXRpb25JZA=='); - -@$core.Deprecated('Use getOrganizationMetadataResponseDescriptor instead') -const GetOrganizationMetadataResponse$json = { - '1': 'GetOrganizationMetadataResponse', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `GetOrganizationMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationMetadataResponseDescriptor = $convert.base64Decode( - 'Ch9HZXRPcmdhbml6YXRpb25NZXRhZGF0YVJlc3BvbnNlEisKBGRhdGEYASABKAsyFy5nb29nbG' - 'UucHJvdG9idWYuU3RydWN0UgRkYXRh'); - -@$core.Deprecated('Use updateOrganizationMetadataRequestDescriptor instead') -const UpdateOrganizationMetadataRequest$json = { - '1': 'UpdateOrganizationMetadataRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'data', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `UpdateOrganizationMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOrganizationMetadataRequestDescriptor = $convert.base64Decode( - 'CiFVcGRhdGVPcmdhbml6YXRpb25NZXRhZGF0YVJlcXVlc3QSJwoPb3JnYW5pemF0aW9uX2lkGA' - 'EgASgJUg5vcmdhbml6YXRpb25JZBIrCgRkYXRhGAIgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0' - 'cnVjdFIEZGF0YQ=='); - -@$core.Deprecated('Use updateOrganizationMetadataResponseDescriptor instead') -const UpdateOrganizationMetadataResponse$json = { - '1': 'UpdateOrganizationMetadataResponse', -}; - -/// Descriptor for `UpdateOrganizationMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOrganizationMetadataResponseDescriptor = $convert.base64Decode( - 'CiJVcGRhdGVPcmdhbml6YXRpb25NZXRhZGF0YVJlc3BvbnNl'); - -@$core.Deprecated('Use listOrganizationMembersRequestDescriptor instead') -const ListOrganizationMembersRequest$json = { - '1': 'ListOrganizationMembersRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `ListOrganizationMembersRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOrganizationMembersRequestDescriptor = $convert.base64Decode( - 'Ch5MaXN0T3JnYW5pemF0aW9uTWVtYmVyc1JlcXVlc3QSJwoPb3JnYW5pemF0aW9uX2lkGAEgAS' - 'gJUg5vcmdhbml6YXRpb25JZA=='); - -@$core.Deprecated('Use listOrganizationMembersResponseDescriptor instead') -const ListOrganizationMembersResponse$json = { - '1': 'ListOrganizationMembersResponse', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'members', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.OrganizationMember', '10': 'members'}, - {'1': 'invites', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.OrganizationInvite', '10': 'invites'}, - ], -}; - -/// Descriptor for `ListOrganizationMembersResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOrganizationMembersResponseDescriptor = $convert.base64Decode( - 'Ch9MaXN0T3JnYW5pemF0aW9uTWVtYmVyc1Jlc3BvbnNlEicKD29yZ2FuaXphdGlvbl9pZBgBIA' - 'EoCVIOb3JnYW5pemF0aW9uSWQSOQoHbWVtYmVycxgCIAMoCzIfLnZpYW0uYXBwLnYxLk9yZ2Fu' - 'aXphdGlvbk1lbWJlclIHbWVtYmVycxI5CgdpbnZpdGVzGAMgAygLMh8udmlhbS5hcHAudjEuT3' - 'JnYW5pemF0aW9uSW52aXRlUgdpbnZpdGVz'); - -@$core.Deprecated('Use createOrganizationInviteRequestDescriptor instead') -const CreateOrganizationInviteRequest$json = { - '1': 'CreateOrganizationInviteRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, - {'1': 'authorizations', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'authorizations'}, - {'1': 'send_email_invite', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'sendEmailInvite', '17': true}, - ], - '8': [ - {'1': '_send_email_invite'}, - ], -}; - -/// Descriptor for `CreateOrganizationInviteRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createOrganizationInviteRequestDescriptor = $convert.base64Decode( - 'Ch9DcmVhdGVPcmdhbml6YXRpb25JbnZpdGVSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIA' - 'EoCVIOb3JnYW5pemF0aW9uSWQSFAoFZW1haWwYAiABKAlSBWVtYWlsEkIKDmF1dGhvcml6YXRp' - 'b25zGAMgAygLMhoudmlhbS5hcHAudjEuQXV0aG9yaXphdGlvblIOYXV0aG9yaXphdGlvbnMSLw' - 'oRc2VuZF9lbWFpbF9pbnZpdGUYBCABKAhIAFIPc2VuZEVtYWlsSW52aXRliAEBQhQKEl9zZW5k' - 'X2VtYWlsX2ludml0ZQ=='); - -@$core.Deprecated('Use createOrganizationInviteResponseDescriptor instead') -const CreateOrganizationInviteResponse$json = { - '1': 'CreateOrganizationInviteResponse', - '2': [ - {'1': 'invite', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.OrganizationInvite', '10': 'invite'}, - ], -}; - -/// Descriptor for `CreateOrganizationInviteResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createOrganizationInviteResponseDescriptor = $convert.base64Decode( - 'CiBDcmVhdGVPcmdhbml6YXRpb25JbnZpdGVSZXNwb25zZRI3CgZpbnZpdGUYASABKAsyHy52aW' - 'FtLmFwcC52MS5Pcmdhbml6YXRpb25JbnZpdGVSBmludml0ZQ=='); - -@$core.Deprecated('Use updateOrganizationInviteAuthorizationsRequestDescriptor instead') -const UpdateOrganizationInviteAuthorizationsRequest$json = { - '1': 'UpdateOrganizationInviteAuthorizationsRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, - {'1': 'add_authorizations', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'addAuthorizations'}, - {'1': 'remove_authorizations', '3': 4, '4': 3, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'removeAuthorizations'}, - ], -}; - -/// Descriptor for `UpdateOrganizationInviteAuthorizationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOrganizationInviteAuthorizationsRequestDescriptor = $convert.base64Decode( - 'Ci1VcGRhdGVPcmdhbml6YXRpb25JbnZpdGVBdXRob3JpemF0aW9uc1JlcXVlc3QSJwoPb3JnYW' - '5pemF0aW9uX2lkGAEgASgJUg5vcmdhbml6YXRpb25JZBIUCgVlbWFpbBgCIAEoCVIFZW1haWwS' - 'SQoSYWRkX2F1dGhvcml6YXRpb25zGAMgAygLMhoudmlhbS5hcHAudjEuQXV0aG9yaXphdGlvbl' - 'IRYWRkQXV0aG9yaXphdGlvbnMSTwoVcmVtb3ZlX2F1dGhvcml6YXRpb25zGAQgAygLMhoudmlh' - 'bS5hcHAudjEuQXV0aG9yaXphdGlvblIUcmVtb3ZlQXV0aG9yaXphdGlvbnM='); - -@$core.Deprecated('Use updateOrganizationInviteAuthorizationsResponseDescriptor instead') -const UpdateOrganizationInviteAuthorizationsResponse$json = { - '1': 'UpdateOrganizationInviteAuthorizationsResponse', - '2': [ - {'1': 'invite', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.OrganizationInvite', '10': 'invite'}, - ], -}; - -/// Descriptor for `UpdateOrganizationInviteAuthorizationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOrganizationInviteAuthorizationsResponseDescriptor = $convert.base64Decode( - 'Ci5VcGRhdGVPcmdhbml6YXRpb25JbnZpdGVBdXRob3JpemF0aW9uc1Jlc3BvbnNlEjcKBmludm' - 'l0ZRgBIAEoCzIfLnZpYW0uYXBwLnYxLk9yZ2FuaXphdGlvbkludml0ZVIGaW52aXRl'); - -@$core.Deprecated('Use deleteOrganizationInviteRequestDescriptor instead') -const DeleteOrganizationInviteRequest$json = { - '1': 'DeleteOrganizationInviteRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, - ], -}; - -/// Descriptor for `DeleteOrganizationInviteRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOrganizationInviteRequestDescriptor = $convert.base64Decode( - 'Ch9EZWxldGVPcmdhbml6YXRpb25JbnZpdGVSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIA' - 'EoCVIOb3JnYW5pemF0aW9uSWQSFAoFZW1haWwYAiABKAlSBWVtYWls'); - -@$core.Deprecated('Use deleteOrganizationInviteResponseDescriptor instead') -const DeleteOrganizationInviteResponse$json = { - '1': 'DeleteOrganizationInviteResponse', -}; - -/// Descriptor for `DeleteOrganizationInviteResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOrganizationInviteResponseDescriptor = $convert.base64Decode( - 'CiBEZWxldGVPcmdhbml6YXRpb25JbnZpdGVSZXNwb25zZQ=='); - -@$core.Deprecated('Use resendOrganizationInviteRequestDescriptor instead') -const ResendOrganizationInviteRequest$json = { - '1': 'ResendOrganizationInviteRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, - ], -}; - -/// Descriptor for `ResendOrganizationInviteRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resendOrganizationInviteRequestDescriptor = $convert.base64Decode( - 'Ch9SZXNlbmRPcmdhbml6YXRpb25JbnZpdGVSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIA' - 'EoCVIOb3JnYW5pemF0aW9uSWQSFAoFZW1haWwYAiABKAlSBWVtYWls'); - -@$core.Deprecated('Use resendOrganizationInviteResponseDescriptor instead') -const ResendOrganizationInviteResponse$json = { - '1': 'ResendOrganizationInviteResponse', - '2': [ - {'1': 'invite', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.OrganizationInvite', '10': 'invite'}, - ], -}; - -/// Descriptor for `ResendOrganizationInviteResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resendOrganizationInviteResponseDescriptor = $convert.base64Decode( - 'CiBSZXNlbmRPcmdhbml6YXRpb25JbnZpdGVSZXNwb25zZRI3CgZpbnZpdGUYASABKAsyHy52aW' - 'FtLmFwcC52MS5Pcmdhbml6YXRpb25JbnZpdGVSBmludml0ZQ=='); - -@$core.Deprecated('Use deleteOrganizationMemberRequestDescriptor instead') -const DeleteOrganizationMemberRequest$json = { - '1': 'DeleteOrganizationMemberRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'user_id', '3': 2, '4': 1, '5': 9, '10': 'userId'}, - ], -}; - -/// Descriptor for `DeleteOrganizationMemberRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOrganizationMemberRequestDescriptor = $convert.base64Decode( - 'Ch9EZWxldGVPcmdhbml6YXRpb25NZW1iZXJSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIA' - 'EoCVIOb3JnYW5pemF0aW9uSWQSFwoHdXNlcl9pZBgCIAEoCVIGdXNlcklk'); - -@$core.Deprecated('Use deleteOrganizationMemberResponseDescriptor instead') -const DeleteOrganizationMemberResponse$json = { - '1': 'DeleteOrganizationMemberResponse', -}; - -/// Descriptor for `DeleteOrganizationMemberResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOrganizationMemberResponseDescriptor = $convert.base64Decode( - 'CiBEZWxldGVPcmdhbml6YXRpb25NZW1iZXJSZXNwb25zZQ=='); - -@$core.Deprecated('Use billingAddressDescriptor instead') -const BillingAddress$json = { - '1': 'BillingAddress', - '2': [ - {'1': 'address_line_1', '3': 1, '4': 1, '5': 9, '10': 'addressLine1'}, - {'1': 'address_line_2', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'addressLine2', '17': true}, - {'1': 'city', '3': 3, '4': 1, '5': 9, '10': 'city'}, - {'1': 'state', '3': 4, '4': 1, '5': 9, '10': 'state'}, - {'1': 'zipcode', '3': 5, '4': 1, '5': 9, '10': 'zipcode'}, - {'1': 'country', '3': 6, '4': 1, '5': 9, '10': 'country'}, - ], - '8': [ - {'1': '_address_line_2'}, - ], -}; - -/// Descriptor for `BillingAddress`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List billingAddressDescriptor = $convert.base64Decode( - 'Cg5CaWxsaW5nQWRkcmVzcxIkCg5hZGRyZXNzX2xpbmVfMRgBIAEoCVIMYWRkcmVzc0xpbmUxEi' - 'kKDmFkZHJlc3NfbGluZV8yGAIgASgJSABSDGFkZHJlc3NMaW5lMogBARISCgRjaXR5GAMgASgJ' - 'UgRjaXR5EhQKBXN0YXRlGAQgASgJUgVzdGF0ZRIYCgd6aXBjb2RlGAUgASgJUgd6aXBjb2RlEh' - 'gKB2NvdW50cnkYBiABKAlSB2NvdW50cnlCEQoPX2FkZHJlc3NfbGluZV8y'); - -@$core.Deprecated('Use enableBillingServiceRequestDescriptor instead') -const EnableBillingServiceRequest$json = { - '1': 'EnableBillingServiceRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'billing_address', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.BillingAddress', '10': 'billingAddress'}, - ], -}; - -/// Descriptor for `EnableBillingServiceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enableBillingServiceRequestDescriptor = $convert.base64Decode( - 'ChtFbmFibGVCaWxsaW5nU2VydmljZVJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBJECg' - '9iaWxsaW5nX2FkZHJlc3MYAiABKAsyGy52aWFtLmFwcC52MS5CaWxsaW5nQWRkcmVzc1IOYmls' - 'bGluZ0FkZHJlc3M='); - -@$core.Deprecated('Use enableBillingServiceResponseDescriptor instead') -const EnableBillingServiceResponse$json = { - '1': 'EnableBillingServiceResponse', -}; - -/// Descriptor for `EnableBillingServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enableBillingServiceResponseDescriptor = $convert.base64Decode( - 'ChxFbmFibGVCaWxsaW5nU2VydmljZVJlc3BvbnNl'); - -@$core.Deprecated('Use updateBillingServiceRequestDescriptor instead') -const UpdateBillingServiceRequest$json = { - '1': 'UpdateBillingServiceRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'billing_address', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.BillingAddress', '10': 'billingAddress'}, - ], -}; - -/// Descriptor for `UpdateBillingServiceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateBillingServiceRequestDescriptor = $convert.base64Decode( - 'ChtVcGRhdGVCaWxsaW5nU2VydmljZVJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBJECg' - '9iaWxsaW5nX2FkZHJlc3MYAiABKAsyGy52aWFtLmFwcC52MS5CaWxsaW5nQWRkcmVzc1IOYmls' - 'bGluZ0FkZHJlc3M='); - -@$core.Deprecated('Use updateBillingServiceResponseDescriptor instead') -const UpdateBillingServiceResponse$json = { - '1': 'UpdateBillingServiceResponse', -}; - -/// Descriptor for `UpdateBillingServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateBillingServiceResponseDescriptor = $convert.base64Decode( - 'ChxVcGRhdGVCaWxsaW5nU2VydmljZVJlc3BvbnNl'); - -@$core.Deprecated('Use getBillingServiceConfigRequestDescriptor instead') -const GetBillingServiceConfigRequest$json = { - '1': 'GetBillingServiceConfigRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `GetBillingServiceConfigRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBillingServiceConfigRequestDescriptor = $convert.base64Decode( - 'Ch5HZXRCaWxsaW5nU2VydmljZUNvbmZpZ1JlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZA' - '=='); - -@$core.Deprecated('Use getBillingServiceConfigResponseDescriptor instead') -const GetBillingServiceConfigResponse$json = { - '1': 'GetBillingServiceConfigResponse', - '2': [ - {'1': 'billing_address', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.BillingAddress', '10': 'billingAddress'}, - {'1': 'support_email', '3': 2, '4': 1, '5': 9, '10': 'supportEmail'}, - {'1': 'logo_url', '3': 3, '4': 1, '5': 9, '10': 'logoUrl'}, - {'1': 'billing_dashboard_url', '3': 4, '4': 1, '5': 9, '10': 'billingDashboardUrl'}, - ], -}; - -/// Descriptor for `GetBillingServiceConfigResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getBillingServiceConfigResponseDescriptor = $convert.base64Decode( - 'Ch9HZXRCaWxsaW5nU2VydmljZUNvbmZpZ1Jlc3BvbnNlEkQKD2JpbGxpbmdfYWRkcmVzcxgBIA' - 'EoCzIbLnZpYW0uYXBwLnYxLkJpbGxpbmdBZGRyZXNzUg5iaWxsaW5nQWRkcmVzcxIjCg1zdXBw' - 'b3J0X2VtYWlsGAIgASgJUgxzdXBwb3J0RW1haWwSGQoIbG9nb191cmwYAyABKAlSB2xvZ29Vcm' - 'wSMgoVYmlsbGluZ19kYXNoYm9hcmRfdXJsGAQgASgJUhNiaWxsaW5nRGFzaGJvYXJkVXJs'); - -@$core.Deprecated('Use disableBillingServiceRequestDescriptor instead') -const DisableBillingServiceRequest$json = { - '1': 'DisableBillingServiceRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `DisableBillingServiceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disableBillingServiceRequestDescriptor = $convert.base64Decode( - 'ChxEaXNhYmxlQmlsbGluZ1NlcnZpY2VSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQ='); - -@$core.Deprecated('Use disableBillingServiceResponseDescriptor instead') -const DisableBillingServiceResponse$json = { - '1': 'DisableBillingServiceResponse', -}; - -/// Descriptor for `DisableBillingServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disableBillingServiceResponseDescriptor = $convert.base64Decode( - 'Ch1EaXNhYmxlQmlsbGluZ1NlcnZpY2VSZXNwb25zZQ=='); - -@$core.Deprecated('Use organizationSetSupportEmailRequestDescriptor instead') -const OrganizationSetSupportEmailRequest$json = { - '1': 'OrganizationSetSupportEmailRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'}, - ], -}; - -/// Descriptor for `OrganizationSetSupportEmailRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationSetSupportEmailRequestDescriptor = $convert.base64Decode( - 'CiJPcmdhbml6YXRpb25TZXRTdXBwb3J0RW1haWxSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3' - 'JnSWQSFAoFZW1haWwYAiABKAlSBWVtYWls'); - -@$core.Deprecated('Use organizationSetSupportEmailResponseDescriptor instead') -const OrganizationSetSupportEmailResponse$json = { - '1': 'OrganizationSetSupportEmailResponse', -}; - -/// Descriptor for `OrganizationSetSupportEmailResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationSetSupportEmailResponseDescriptor = $convert.base64Decode( - 'CiNPcmdhbml6YXRpb25TZXRTdXBwb3J0RW1haWxSZXNwb25zZQ=='); - -@$core.Deprecated('Use organizationGetSupportEmailRequestDescriptor instead') -const OrganizationGetSupportEmailRequest$json = { - '1': 'OrganizationGetSupportEmailRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `OrganizationGetSupportEmailRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationGetSupportEmailRequestDescriptor = $convert.base64Decode( - 'CiJPcmdhbml6YXRpb25HZXRTdXBwb3J0RW1haWxSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3' - 'JnSWQ='); - -@$core.Deprecated('Use organizationGetSupportEmailResponseDescriptor instead') -const OrganizationGetSupportEmailResponse$json = { - '1': 'OrganizationGetSupportEmailResponse', - '2': [ - {'1': 'email', '3': 1, '4': 1, '5': 9, '10': 'email'}, - ], -}; - -/// Descriptor for `OrganizationGetSupportEmailResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationGetSupportEmailResponseDescriptor = $convert.base64Decode( - 'CiNPcmdhbml6YXRpb25HZXRTdXBwb3J0RW1haWxSZXNwb25zZRIUCgVlbWFpbBgBIAEoCVIFZW' - '1haWw='); - -@$core.Deprecated('Use organizationIdentityDescriptor instead') -const OrganizationIdentity$json = { - '1': 'OrganizationIdentity', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `OrganizationIdentity`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationIdentityDescriptor = $convert.base64Decode( - 'ChRPcmdhbml6YXRpb25JZGVudGl0eRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbm' - 'FtZQ=='); - -@$core.Deprecated('Use locationOrganizationDescriptor instead') -const LocationOrganization$json = { - '1': 'LocationOrganization', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'primary', '3': 2, '4': 1, '5': 8, '10': 'primary'}, - ], -}; - -/// Descriptor for `LocationOrganization`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List locationOrganizationDescriptor = $convert.base64Decode( - 'ChRMb2NhdGlvbk9yZ2FuaXphdGlvbhInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2FuaX' - 'phdGlvbklkEhgKB3ByaW1hcnkYAiABKAhSB3ByaW1hcnk='); - -@$core.Deprecated('Use locationAuthDescriptor instead') -const LocationAuth$json = { - '1': 'LocationAuth', - '2': [ - { - '1': 'secret', - '3': 1, - '4': 1, - '5': 9, - '8': {'3': true}, - '10': 'secret', - }, - {'1': 'location_id', '3': 2, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'secrets', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.SharedSecret', '10': 'secrets'}, - ], -}; - -/// Descriptor for `LocationAuth`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List locationAuthDescriptor = $convert.base64Decode( - 'CgxMb2NhdGlvbkF1dGgSGgoGc2VjcmV0GAEgASgJQgIYAVIGc2VjcmV0Eh8KC2xvY2F0aW9uX2' - 'lkGAIgASgJUgpsb2NhdGlvbklkEjMKB3NlY3JldHMYAyADKAsyGS52aWFtLmFwcC52MS5TaGFy' - 'ZWRTZWNyZXRSB3NlY3JldHM='); - -@$core.Deprecated('Use storageConfigDescriptor instead') -const StorageConfig$json = { - '1': 'StorageConfig', - '2': [ - {'1': 'region', '3': 1, '4': 1, '5': 9, '10': 'region'}, - ], -}; - -/// Descriptor for `StorageConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List storageConfigDescriptor = $convert.base64Decode( - 'Cg1TdG9yYWdlQ29uZmlnEhYKBnJlZ2lvbhgBIAEoCVIGcmVnaW9u'); - -@$core.Deprecated('Use locationDescriptor instead') -const Location$json = { - '1': 'Location', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'parent_location_id', '3': 4, '4': 1, '5': 9, '10': 'parentLocationId'}, - {'1': 'auth', '3': 5, '4': 1, '5': 11, '6': '.viam.app.v1.LocationAuth', '10': 'auth'}, - {'1': 'organizations', '3': 6, '4': 3, '5': 11, '6': '.viam.app.v1.LocationOrganization', '10': 'organizations'}, - {'1': 'created_on', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdOn'}, - {'1': 'robot_count', '3': 7, '4': 1, '5': 5, '10': 'robotCount'}, - {'1': 'config', '3': 8, '4': 1, '5': 11, '6': '.viam.app.v1.StorageConfig', '10': 'config'}, - {'1': 'primary_org_identity', '3': 9, '4': 1, '5': 11, '6': '.viam.app.v1.OrganizationIdentity', '9': 0, '10': 'primaryOrgIdentity', '17': true}, - ], - '8': [ - {'1': '_primary_org_identity'}, - ], -}; - -/// Descriptor for `Location`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List locationDescriptor = $convert.base64Decode( - 'CghMb2NhdGlvbhIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZRIsChJwYXJlbn' - 'RfbG9jYXRpb25faWQYBCABKAlSEHBhcmVudExvY2F0aW9uSWQSLQoEYXV0aBgFIAEoCzIZLnZp' - 'YW0uYXBwLnYxLkxvY2F0aW9uQXV0aFIEYXV0aBJHCg1vcmdhbml6YXRpb25zGAYgAygLMiEudm' - 'lhbS5hcHAudjEuTG9jYXRpb25Pcmdhbml6YXRpb25SDW9yZ2FuaXphdGlvbnMSOQoKY3JlYXRl' - 'ZF9vbhgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCWNyZWF0ZWRPbhIfCgtyb2' - 'JvdF9jb3VudBgHIAEoBVIKcm9ib3RDb3VudBIyCgZjb25maWcYCCABKAsyGi52aWFtLmFwcC52' - 'MS5TdG9yYWdlQ29uZmlnUgZjb25maWcSWAoUcHJpbWFyeV9vcmdfaWRlbnRpdHkYCSABKAsyIS' - '52aWFtLmFwcC52MS5Pcmdhbml6YXRpb25JZGVudGl0eUgAUhJwcmltYXJ5T3JnSWRlbnRpdHmI' - 'AQFCFwoVX3ByaW1hcnlfb3JnX2lkZW50aXR5'); - -@$core.Deprecated('Use sharedSecretDescriptor instead') -const SharedSecret$json = { - '1': 'SharedSecret', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'id'}, - {'1': 'secret', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'secret'}, - {'1': 'created_on', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'createdOn'}, - {'1': 'state', '3': 4, '4': 1, '5': 14, '6': '.viam.app.v1.SharedSecret.State', '8': {}, '10': 'state'}, - ], - '4': [SharedSecret_State$json], -}; - -@$core.Deprecated('Use sharedSecretDescriptor instead') -const SharedSecret_State$json = { - '1': 'State', - '2': [ - {'1': 'STATE_UNSPECIFIED', '2': 0}, - {'1': 'STATE_ENABLED', '2': 1}, - {'1': 'STATE_DISABLED', '2': 2}, - ], -}; - -/// Descriptor for `SharedSecret`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sharedSecretDescriptor = $convert.base64Decode( - 'CgxTaGFyZWRTZWNyZXQSHgoCaWQYASABKAlCDpqEngMJYnNvbjoiaWQiUgJpZBIqCgZzZWNyZX' - 'QYAiABKAlCEpqEngMNYnNvbjoic2VjcmV0IlIGc2VjcmV0EmMKCmNyZWF0ZWRfb24YAyABKAsy' - 'Gi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQiiahJ4DI2Jzb246ImNyZWF0ZWRfb24iIGpzb2' - '46ImNyZWF0ZWRfb24iUgljcmVhdGVkT24SSAoFc3RhdGUYBCABKA4yHy52aWFtLmFwcC52MS5T' - 'aGFyZWRTZWNyZXQuU3RhdGVCEZqEngMMYnNvbjoic3RhdGUiUgVzdGF0ZSJFCgVTdGF0ZRIVCh' - 'FTVEFURV9VTlNQRUNJRklFRBAAEhEKDVNUQVRFX0VOQUJMRUQQARISCg5TVEFURV9ESVNBQkxF' - 'RBAC'); - -@$core.Deprecated('Use createLocationRequestDescriptor instead') -const CreateLocationRequest$json = { - '1': 'CreateLocationRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'parent_location_id', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'parentLocationId', '17': true}, - ], - '8': [ - {'1': '_parent_location_id'}, - ], -}; - -/// Descriptor for `CreateLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createLocationRequestDescriptor = $convert.base64Decode( - 'ChVDcmVhdGVMb2NhdGlvblJlcXVlc3QSJwoPb3JnYW5pemF0aW9uX2lkGAEgASgJUg5vcmdhbm' - 'l6YXRpb25JZBISCgRuYW1lGAIgASgJUgRuYW1lEjEKEnBhcmVudF9sb2NhdGlvbl9pZBgDIAEo' - 'CUgAUhBwYXJlbnRMb2NhdGlvbklkiAEBQhUKE19wYXJlbnRfbG9jYXRpb25faWQ='); - -@$core.Deprecated('Use createLocationResponseDescriptor instead') -const CreateLocationResponse$json = { - '1': 'CreateLocationResponse', - '2': [ - {'1': 'location', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Location', '10': 'location'}, - ], -}; - -/// Descriptor for `CreateLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createLocationResponseDescriptor = $convert.base64Decode( - 'ChZDcmVhdGVMb2NhdGlvblJlc3BvbnNlEjEKCGxvY2F0aW9uGAEgASgLMhUudmlhbS5hcHAudj' - 'EuTG9jYXRpb25SCGxvY2F0aW9u'); - -@$core.Deprecated('Use getLocationRequestDescriptor instead') -const GetLocationRequest$json = { - '1': 'GetLocationRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `GetLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLocationRequestDescriptor = $convert.base64Decode( - 'ChJHZXRMb2NhdGlvblJlcXVlc3QSHwoLbG9jYXRpb25faWQYASABKAlSCmxvY2F0aW9uSWQ='); - -@$core.Deprecated('Use getLocationResponseDescriptor instead') -const GetLocationResponse$json = { - '1': 'GetLocationResponse', - '2': [ - {'1': 'location', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Location', '10': 'location'}, - ], -}; - -/// Descriptor for `GetLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLocationResponseDescriptor = $convert.base64Decode( - 'ChNHZXRMb2NhdGlvblJlc3BvbnNlEjEKCGxvY2F0aW9uGAEgASgLMhUudmlhbS5hcHAudjEuTG' - '9jYXRpb25SCGxvY2F0aW9u'); - -@$core.Deprecated('Use updateLocationRequestDescriptor instead') -const UpdateLocationRequest$json = { - '1': 'UpdateLocationRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'name', '17': true}, - {'1': 'parent_location_id', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'parentLocationId', '17': true}, - {'1': 'region', '3': 4, '4': 1, '5': 9, '9': 2, '10': 'region', '17': true}, - ], - '8': [ - {'1': '_name'}, - {'1': '_parent_location_id'}, - {'1': '_region'}, - ], -}; - -/// Descriptor for `UpdateLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocationRequestDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVMb2NhdGlvblJlcXVlc3QSHwoLbG9jYXRpb25faWQYASABKAlSCmxvY2F0aW9uSW' - 'QSFwoEbmFtZRgCIAEoCUgAUgRuYW1liAEBEjEKEnBhcmVudF9sb2NhdGlvbl9pZBgDIAEoCUgB' - 'UhBwYXJlbnRMb2NhdGlvbklkiAEBEhsKBnJlZ2lvbhgEIAEoCUgCUgZyZWdpb26IAQFCBwoFX2' - '5hbWVCFQoTX3BhcmVudF9sb2NhdGlvbl9pZEIJCgdfcmVnaW9u'); - -@$core.Deprecated('Use updateLocationResponseDescriptor instead') -const UpdateLocationResponse$json = { - '1': 'UpdateLocationResponse', - '2': [ - {'1': 'location', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Location', '10': 'location'}, - ], -}; - -/// Descriptor for `UpdateLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocationResponseDescriptor = $convert.base64Decode( - 'ChZVcGRhdGVMb2NhdGlvblJlc3BvbnNlEjEKCGxvY2F0aW9uGAEgASgLMhUudmlhbS5hcHAudj' - 'EuTG9jYXRpb25SCGxvY2F0aW9u'); - -@$core.Deprecated('Use deleteLocationRequestDescriptor instead') -const DeleteLocationRequest$json = { - '1': 'DeleteLocationRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `DeleteLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteLocationRequestDescriptor = $convert.base64Decode( - 'ChVEZWxldGVMb2NhdGlvblJlcXVlc3QSHwoLbG9jYXRpb25faWQYASABKAlSCmxvY2F0aW9uSW' - 'Q='); - -@$core.Deprecated('Use deleteLocationResponseDescriptor instead') -const DeleteLocationResponse$json = { - '1': 'DeleteLocationResponse', -}; - -/// Descriptor for `DeleteLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteLocationResponseDescriptor = $convert.base64Decode( - 'ChZEZWxldGVMb2NhdGlvblJlc3BvbnNl'); - -@$core.Deprecated('Use getLocationMetadataRequestDescriptor instead') -const GetLocationMetadataRequest$json = { - '1': 'GetLocationMetadataRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `GetLocationMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLocationMetadataRequestDescriptor = $convert.base64Decode( - 'ChpHZXRMb2NhdGlvbk1ldGFkYXRhUmVxdWVzdBIfCgtsb2NhdGlvbl9pZBgBIAEoCVIKbG9jYX' - 'Rpb25JZA=='); - -@$core.Deprecated('Use getLocationMetadataResponseDescriptor instead') -const GetLocationMetadataResponse$json = { - '1': 'GetLocationMetadataResponse', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `GetLocationMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLocationMetadataResponseDescriptor = $convert.base64Decode( - 'ChtHZXRMb2NhdGlvbk1ldGFkYXRhUmVzcG9uc2USKwoEZGF0YRgBIAEoCzIXLmdvb2dsZS5wcm' - '90b2J1Zi5TdHJ1Y3RSBGRhdGE='); - -@$core.Deprecated('Use updateLocationMetadataRequestDescriptor instead') -const UpdateLocationMetadataRequest$json = { - '1': 'UpdateLocationMetadataRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'data', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `UpdateLocationMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocationMetadataRequestDescriptor = $convert.base64Decode( - 'Ch1VcGRhdGVMb2NhdGlvbk1ldGFkYXRhUmVxdWVzdBIfCgtsb2NhdGlvbl9pZBgBIAEoCVIKbG' - '9jYXRpb25JZBIrCgRkYXRhGAIgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIEZGF0YQ=='); - -@$core.Deprecated('Use updateLocationMetadataResponseDescriptor instead') -const UpdateLocationMetadataResponse$json = { - '1': 'UpdateLocationMetadataResponse', -}; - -/// Descriptor for `UpdateLocationMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateLocationMetadataResponseDescriptor = $convert.base64Decode( - 'Ch5VcGRhdGVMb2NhdGlvbk1ldGFkYXRhUmVzcG9uc2U='); - -@$core.Deprecated('Use getOrganizationsWithAccessToLocationRequestDescriptor instead') -const GetOrganizationsWithAccessToLocationRequest$json = { - '1': 'GetOrganizationsWithAccessToLocationRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `GetOrganizationsWithAccessToLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationsWithAccessToLocationRequestDescriptor = $convert.base64Decode( - 'CitHZXRPcmdhbml6YXRpb25zV2l0aEFjY2Vzc1RvTG9jYXRpb25SZXF1ZXN0Eh8KC2xvY2F0aW' - '9uX2lkGAEgASgJUgpsb2NhdGlvbklk'); - -@$core.Deprecated('Use getOrganizationsWithAccessToLocationResponseDescriptor instead') -const GetOrganizationsWithAccessToLocationResponse$json = { - '1': 'GetOrganizationsWithAccessToLocationResponse', - '2': [ - {'1': 'organization_identities', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.OrganizationIdentity', '10': 'organizationIdentities'}, - ], -}; - -/// Descriptor for `GetOrganizationsWithAccessToLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrganizationsWithAccessToLocationResponseDescriptor = $convert.base64Decode( - 'CixHZXRPcmdhbml6YXRpb25zV2l0aEFjY2Vzc1RvTG9jYXRpb25SZXNwb25zZRJaChdvcmdhbm' - 'l6YXRpb25faWRlbnRpdGllcxgBIAMoCzIhLnZpYW0uYXBwLnYxLk9yZ2FuaXphdGlvbklkZW50' - 'aXR5UhZvcmdhbml6YXRpb25JZGVudGl0aWVz'); - -@$core.Deprecated('Use listLocationsRequestDescriptor instead') -const ListLocationsRequest$json = { - '1': 'ListLocationsRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `ListLocationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listLocationsRequestDescriptor = $convert.base64Decode( - 'ChRMaXN0TG9jYXRpb25zUmVxdWVzdBInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2FuaX' - 'phdGlvbklk'); - -@$core.Deprecated('Use shareLocationRequestDescriptor instead') -const ShareLocationRequest$json = { - '1': 'ShareLocationRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'organization_id', '3': 2, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `ShareLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shareLocationRequestDescriptor = $convert.base64Decode( - 'ChRTaGFyZUxvY2F0aW9uUmVxdWVzdBIfCgtsb2NhdGlvbl9pZBgBIAEoCVIKbG9jYXRpb25JZB' - 'InCg9vcmdhbml6YXRpb25faWQYAiABKAlSDm9yZ2FuaXphdGlvbklk'); - -@$core.Deprecated('Use shareLocationResponseDescriptor instead') -const ShareLocationResponse$json = { - '1': 'ShareLocationResponse', -}; - -/// Descriptor for `ShareLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shareLocationResponseDescriptor = $convert.base64Decode( - 'ChVTaGFyZUxvY2F0aW9uUmVzcG9uc2U='); - -@$core.Deprecated('Use unshareLocationRequestDescriptor instead') -const UnshareLocationRequest$json = { - '1': 'UnshareLocationRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'organization_id', '3': 2, '4': 1, '5': 9, '10': 'organizationId'}, - ], -}; - -/// Descriptor for `UnshareLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unshareLocationRequestDescriptor = $convert.base64Decode( - 'ChZVbnNoYXJlTG9jYXRpb25SZXF1ZXN0Eh8KC2xvY2F0aW9uX2lkGAEgASgJUgpsb2NhdGlvbk' - 'lkEicKD29yZ2FuaXphdGlvbl9pZBgCIAEoCVIOb3JnYW5pemF0aW9uSWQ='); - -@$core.Deprecated('Use unshareLocationResponseDescriptor instead') -const UnshareLocationResponse$json = { - '1': 'UnshareLocationResponse', -}; - -/// Descriptor for `UnshareLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unshareLocationResponseDescriptor = $convert.base64Decode( - 'ChdVbnNoYXJlTG9jYXRpb25SZXNwb25zZQ=='); - -@$core.Deprecated('Use listLocationsResponseDescriptor instead') -const ListLocationsResponse$json = { - '1': 'ListLocationsResponse', - '2': [ - {'1': 'locations', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Location', '10': 'locations'}, - ], -}; - -/// Descriptor for `ListLocationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listLocationsResponseDescriptor = $convert.base64Decode( - 'ChVMaXN0TG9jYXRpb25zUmVzcG9uc2USMwoJbG9jYXRpb25zGAEgAygLMhUudmlhbS5hcHAudj' - 'EuTG9jYXRpb25SCWxvY2F0aW9ucw=='); - -@$core.Deprecated('Use createLocationSecretRequestDescriptor instead') -const CreateLocationSecretRequest$json = { - '1': 'CreateLocationSecretRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `CreateLocationSecretRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createLocationSecretRequestDescriptor = $convert.base64Decode( - 'ChtDcmVhdGVMb2NhdGlvblNlY3JldFJlcXVlc3QSHwoLbG9jYXRpb25faWQYASABKAlSCmxvY2' - 'F0aW9uSWQ='); - -@$core.Deprecated('Use createLocationSecretResponseDescriptor instead') -const CreateLocationSecretResponse$json = { - '1': 'CreateLocationSecretResponse', - '2': [ - {'1': 'auth', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.LocationAuth', '10': 'auth'}, - ], -}; - -/// Descriptor for `CreateLocationSecretResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createLocationSecretResponseDescriptor = $convert.base64Decode( - 'ChxDcmVhdGVMb2NhdGlvblNlY3JldFJlc3BvbnNlEi0KBGF1dGgYASABKAsyGS52aWFtLmFwcC' - '52MS5Mb2NhdGlvbkF1dGhSBGF1dGg='); - -@$core.Deprecated('Use deleteLocationSecretRequestDescriptor instead') -const DeleteLocationSecretRequest$json = { - '1': 'DeleteLocationSecretRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'secret_id', '3': 2, '4': 1, '5': 9, '10': 'secretId'}, - ], -}; - -/// Descriptor for `DeleteLocationSecretRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteLocationSecretRequestDescriptor = $convert.base64Decode( - 'ChtEZWxldGVMb2NhdGlvblNlY3JldFJlcXVlc3QSHwoLbG9jYXRpb25faWQYASABKAlSCmxvY2' - 'F0aW9uSWQSGwoJc2VjcmV0X2lkGAIgASgJUghzZWNyZXRJZA=='); - -@$core.Deprecated('Use deleteLocationSecretResponseDescriptor instead') -const DeleteLocationSecretResponse$json = { - '1': 'DeleteLocationSecretResponse', -}; - -/// Descriptor for `DeleteLocationSecretResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteLocationSecretResponseDescriptor = $convert.base64Decode( - 'ChxEZWxldGVMb2NhdGlvblNlY3JldFJlc3BvbnNl'); - -@$core.Deprecated('Use locationAuthRequestDescriptor instead') -const LocationAuthRequest$json = { - '1': 'LocationAuthRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `LocationAuthRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List locationAuthRequestDescriptor = $convert.base64Decode( - 'ChNMb2NhdGlvbkF1dGhSZXF1ZXN0Eh8KC2xvY2F0aW9uX2lkGAEgASgJUgpsb2NhdGlvbklk'); - -@$core.Deprecated('Use locationAuthResponseDescriptor instead') -const LocationAuthResponse$json = { - '1': 'LocationAuthResponse', - '2': [ - {'1': 'auth', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.LocationAuth', '10': 'auth'}, - ], -}; - -/// Descriptor for `LocationAuthResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List locationAuthResponseDescriptor = $convert.base64Decode( - 'ChRMb2NhdGlvbkF1dGhSZXNwb25zZRItCgRhdXRoGAEgASgLMhkudmlhbS5hcHAudjEuTG9jYX' - 'Rpb25BdXRoUgRhdXRo'); - -@$core.Deprecated('Use getRobotRequestDescriptor instead') -const GetRobotRequest$json = { - '1': 'GetRobotRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `GetRobotRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotRequestDescriptor = $convert.base64Decode( - 'Cg9HZXRSb2JvdFJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use getRoverRentalRobotsRequestDescriptor instead') -const GetRoverRentalRobotsRequest$json = { - '1': 'GetRoverRentalRobotsRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `GetRoverRentalRobotsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRoverRentalRobotsRequestDescriptor = $convert.base64Decode( - 'ChtHZXRSb3ZlclJlbnRhbFJvYm90c1JlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZA=='); - -@$core.Deprecated('Use roverRentalRobotDescriptor instead') -const RoverRentalRobot$json = { - '1': 'RoverRentalRobot', - '2': [ - {'1': 'robot_id', '3': 1, '4': 1, '5': 9, '10': 'robotId'}, - {'1': 'location_id', '3': 2, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'robot_name', '3': 3, '4': 1, '5': 9, '10': 'robotName'}, - {'1': 'robot_main_part_id', '3': 4, '4': 1, '5': 9, '10': 'robotMainPartId'}, - ], -}; - -/// Descriptor for `RoverRentalRobot`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List roverRentalRobotDescriptor = $convert.base64Decode( - 'ChBSb3ZlclJlbnRhbFJvYm90EhkKCHJvYm90X2lkGAEgASgJUgdyb2JvdElkEh8KC2xvY2F0aW' - '9uX2lkGAIgASgJUgpsb2NhdGlvbklkEh0KCnJvYm90X25hbWUYAyABKAlSCXJvYm90TmFtZRIr' - 'ChJyb2JvdF9tYWluX3BhcnRfaWQYBCABKAlSD3JvYm90TWFpblBhcnRJZA=='); - -@$core.Deprecated('Use getRoverRentalRobotsResponseDescriptor instead') -const GetRoverRentalRobotsResponse$json = { - '1': 'GetRoverRentalRobotsResponse', - '2': [ - {'1': 'robots', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.RoverRentalRobot', '10': 'robots'}, - ], -}; - -/// Descriptor for `GetRoverRentalRobotsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRoverRentalRobotsResponseDescriptor = $convert.base64Decode( - 'ChxHZXRSb3ZlclJlbnRhbFJvYm90c1Jlc3BvbnNlEjUKBnJvYm90cxgBIAMoCzIdLnZpYW0uYX' - 'BwLnYxLlJvdmVyUmVudGFsUm9ib3RSBnJvYm90cw=='); - -@$core.Deprecated('Use getRobotResponseDescriptor instead') -const GetRobotResponse$json = { - '1': 'GetRobotResponse', - '2': [ - {'1': 'robot', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Robot', '10': 'robot'}, - ], -}; - -/// Descriptor for `GetRobotResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotResponseDescriptor = $convert.base64Decode( - 'ChBHZXRSb2JvdFJlc3BvbnNlEigKBXJvYm90GAEgASgLMhIudmlhbS5hcHAudjEuUm9ib3RSBX' - 'JvYm90'); - -@$core.Deprecated('Use getRobotPartsRequestDescriptor instead') -const GetRobotPartsRequest$json = { - '1': 'GetRobotPartsRequest', - '2': [ - {'1': 'robot_id', '3': 1, '4': 1, '5': 9, '10': 'robotId'}, - ], -}; - -/// Descriptor for `GetRobotPartsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartsRequestDescriptor = $convert.base64Decode( - 'ChRHZXRSb2JvdFBhcnRzUmVxdWVzdBIZCghyb2JvdF9pZBgBIAEoCVIHcm9ib3RJZA=='); - -@$core.Deprecated('Use getRobotPartsResponseDescriptor instead') -const GetRobotPartsResponse$json = { - '1': 'GetRobotPartsResponse', - '2': [ - {'1': 'parts', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.RobotPart', '10': 'parts'}, - ], -}; - -/// Descriptor for `GetRobotPartsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartsResponseDescriptor = $convert.base64Decode( - 'ChVHZXRSb2JvdFBhcnRzUmVzcG9uc2USLAoFcGFydHMYASADKAsyFi52aWFtLmFwcC52MS5Sb2' - 'JvdFBhcnRSBXBhcnRz'); - -@$core.Deprecated('Use getRobotPartRequestDescriptor instead') -const GetRobotPartRequest$json = { - '1': 'GetRobotPartRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `GetRobotPartRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartRequestDescriptor = $convert.base64Decode( - 'ChNHZXRSb2JvdFBhcnRSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use getRobotPartResponseDescriptor instead') -const GetRobotPartResponse$json = { - '1': 'GetRobotPartResponse', - '2': [ - {'1': 'part', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.RobotPart', '10': 'part'}, - {'1': 'config_json', '3': 2, '4': 1, '5': 9, '10': 'configJson'}, - ], -}; - -/// Descriptor for `GetRobotPartResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartResponseDescriptor = $convert.base64Decode( - 'ChRHZXRSb2JvdFBhcnRSZXNwb25zZRIqCgRwYXJ0GAEgASgLMhYudmlhbS5hcHAudjEuUm9ib3' - 'RQYXJ0UgRwYXJ0Eh8KC2NvbmZpZ19qc29uGAIgASgJUgpjb25maWdKc29u'); - -@$core.Deprecated('Use getRobotPartLogsRequestDescriptor instead') -const GetRobotPartLogsRequest$json = { - '1': 'GetRobotPartLogsRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - { - '1': 'errors_only', - '3': 2, - '4': 1, - '5': 8, - '8': {'3': true}, - '10': 'errorsOnly', - }, - {'1': 'filter', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'filter', '17': true}, - {'1': 'page_token', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'pageToken', '17': true}, - {'1': 'levels', '3': 5, '4': 3, '5': 9, '10': 'levels'}, - {'1': 'start', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 2, '10': 'start', '17': true}, - {'1': 'end', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 3, '10': 'end', '17': true}, - {'1': 'limit', '3': 8, '4': 1, '5': 3, '9': 4, '10': 'limit', '17': true}, - {'1': 'source', '3': 9, '4': 1, '5': 9, '9': 5, '10': 'source', '17': true}, - ], - '8': [ - {'1': '_filter'}, - {'1': '_page_token'}, - {'1': '_start'}, - {'1': '_end'}, - {'1': '_limit'}, - {'1': '_source'}, - ], -}; - -/// Descriptor for `GetRobotPartLogsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartLogsRequestDescriptor = $convert.base64Decode( - 'ChdHZXRSb2JvdFBhcnRMb2dzUmVxdWVzdBIOCgJpZBgBIAEoCVICaWQSIwoLZXJyb3JzX29ubH' - 'kYAiABKAhCAhgBUgplcnJvcnNPbmx5EhsKBmZpbHRlchgDIAEoCUgAUgZmaWx0ZXKIAQESIgoK' - 'cGFnZV90b2tlbhgEIAEoCUgBUglwYWdlVG9rZW6IAQESFgoGbGV2ZWxzGAUgAygJUgZsZXZlbH' - 'MSNQoFc3RhcnQYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAJSBXN0YXJ0iAEB' - 'EjEKA2VuZBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIA1IDZW5kiAEBEhkKBW' - 'xpbWl0GAggASgDSARSBWxpbWl0iAEBEhsKBnNvdXJjZRgJIAEoCUgFUgZzb3VyY2WIAQFCCQoH' - 'X2ZpbHRlckINCgtfcGFnZV90b2tlbkIICgZfc3RhcnRCBgoEX2VuZEIICgZfbGltaXRCCQoHX3' - 'NvdXJjZQ=='); - -@$core.Deprecated('Use getRobotPartLogsResponseDescriptor instead') -const GetRobotPartLogsResponse$json = { - '1': 'GetRobotPartLogsResponse', - '2': [ - {'1': 'logs', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.LogEntry', '10': 'logs'}, - {'1': 'next_page_token', '3': 2, '4': 1, '5': 9, '10': 'nextPageToken'}, - ], -}; - -/// Descriptor for `GetRobotPartLogsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartLogsResponseDescriptor = $convert.base64Decode( - 'ChhHZXRSb2JvdFBhcnRMb2dzUmVzcG9uc2USLAoEbG9ncxgBIAMoCzIYLnZpYW0uY29tbW9uLn' - 'YxLkxvZ0VudHJ5UgRsb2dzEiYKD25leHRfcGFnZV90b2tlbhgCIAEoCVINbmV4dFBhZ2VUb2tl' - 'bg=='); - -@$core.Deprecated('Use tailRobotPartLogsRequestDescriptor instead') -const TailRobotPartLogsRequest$json = { - '1': 'TailRobotPartLogsRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'errors_only', '3': 2, '4': 1, '5': 8, '10': 'errorsOnly'}, - {'1': 'filter', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'filter', '17': true}, - ], - '8': [ - {'1': '_filter'}, - ], -}; - -/// Descriptor for `TailRobotPartLogsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tailRobotPartLogsRequestDescriptor = $convert.base64Decode( - 'ChhUYWlsUm9ib3RQYXJ0TG9nc1JlcXVlc3QSDgoCaWQYASABKAlSAmlkEh8KC2Vycm9yc19vbm' - 'x5GAIgASgIUgplcnJvcnNPbmx5EhsKBmZpbHRlchgDIAEoCUgAUgZmaWx0ZXKIAQFCCQoHX2Zp' - 'bHRlcg=='); - -@$core.Deprecated('Use tailRobotPartLogsResponseDescriptor instead') -const TailRobotPartLogsResponse$json = { - '1': 'TailRobotPartLogsResponse', - '2': [ - {'1': 'logs', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.LogEntry', '10': 'logs'}, - ], -}; - -/// Descriptor for `TailRobotPartLogsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tailRobotPartLogsResponseDescriptor = $convert.base64Decode( - 'ChlUYWlsUm9ib3RQYXJ0TG9nc1Jlc3BvbnNlEiwKBGxvZ3MYASADKAsyGC52aWFtLmNvbW1vbi' - '52MS5Mb2dFbnRyeVIEbG9ncw=='); - -@$core.Deprecated('Use getRobotPartHistoryRequestDescriptor instead') -const GetRobotPartHistoryRequest$json = { - '1': 'GetRobotPartHistoryRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `GetRobotPartHistoryRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartHistoryRequestDescriptor = $convert.base64Decode( - 'ChpHZXRSb2JvdFBhcnRIaXN0b3J5UmVxdWVzdBIOCgJpZBgBIAEoCVICaWQ='); - -@$core.Deprecated('Use getRobotPartHistoryResponseDescriptor instead') -const GetRobotPartHistoryResponse$json = { - '1': 'GetRobotPartHistoryResponse', - '2': [ - {'1': 'history', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.RobotPartHistoryEntry', '10': 'history'}, - ], -}; - -/// Descriptor for `GetRobotPartHistoryResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartHistoryResponseDescriptor = $convert.base64Decode( - 'ChtHZXRSb2JvdFBhcnRIaXN0b3J5UmVzcG9uc2USPAoHaGlzdG9yeRgBIAMoCzIiLnZpYW0uYX' - 'BwLnYxLlJvYm90UGFydEhpc3RvcnlFbnRyeVIHaGlzdG9yeQ=='); - -@$core.Deprecated('Use updateRobotPartRequestDescriptor instead') -const UpdateRobotPartRequest$json = { - '1': 'UpdateRobotPartRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'robot_config', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'robotConfig'}, - ], -}; - -/// Descriptor for `UpdateRobotPartRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotPartRequestDescriptor = $convert.base64Decode( - 'ChZVcGRhdGVSb2JvdFBhcnRSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUg' - 'RuYW1lEjoKDHJvYm90X2NvbmZpZxgDIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSC3Jv' - 'Ym90Q29uZmln'); - -@$core.Deprecated('Use updateRobotPartResponseDescriptor instead') -const UpdateRobotPartResponse$json = { - '1': 'UpdateRobotPartResponse', - '2': [ - {'1': 'part', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.RobotPart', '10': 'part'}, - ], -}; - -/// Descriptor for `UpdateRobotPartResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotPartResponseDescriptor = $convert.base64Decode( - 'ChdVcGRhdGVSb2JvdFBhcnRSZXNwb25zZRIqCgRwYXJ0GAEgASgLMhYudmlhbS5hcHAudjEuUm' - '9ib3RQYXJ0UgRwYXJ0'); - -@$core.Deprecated('Use newRobotPartRequestDescriptor instead') -const NewRobotPartRequest$json = { - '1': 'NewRobotPartRequest', - '2': [ - {'1': 'robot_id', '3': 1, '4': 1, '5': 9, '10': 'robotId'}, - {'1': 'part_name', '3': 2, '4': 1, '5': 9, '10': 'partName'}, - ], -}; - -/// Descriptor for `NewRobotPartRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List newRobotPartRequestDescriptor = $convert.base64Decode( - 'ChNOZXdSb2JvdFBhcnRSZXF1ZXN0EhkKCHJvYm90X2lkGAEgASgJUgdyb2JvdElkEhsKCXBhcn' - 'RfbmFtZRgCIAEoCVIIcGFydE5hbWU='); - -@$core.Deprecated('Use newRobotPartResponseDescriptor instead') -const NewRobotPartResponse$json = { - '1': 'NewRobotPartResponse', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - ], -}; - -/// Descriptor for `NewRobotPartResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List newRobotPartResponseDescriptor = $convert.base64Decode( - 'ChROZXdSb2JvdFBhcnRSZXNwb25zZRIXCgdwYXJ0X2lkGAEgASgJUgZwYXJ0SWQ='); - -@$core.Deprecated('Use deleteRobotPartRequestDescriptor instead') -const DeleteRobotPartRequest$json = { - '1': 'DeleteRobotPartRequest', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - ], -}; - -/// Descriptor for `DeleteRobotPartRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRobotPartRequestDescriptor = $convert.base64Decode( - 'ChZEZWxldGVSb2JvdFBhcnRSZXF1ZXN0EhcKB3BhcnRfaWQYASABKAlSBnBhcnRJZA=='); - -@$core.Deprecated('Use getRobotPartMetadataRequestDescriptor instead') -const GetRobotPartMetadataRequest$json = { - '1': 'GetRobotPartMetadataRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `GetRobotPartMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartMetadataRequestDescriptor = $convert.base64Decode( - 'ChtHZXRSb2JvdFBhcnRNZXRhZGF0YVJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use getRobotPartMetadataResponseDescriptor instead') -const GetRobotPartMetadataResponse$json = { - '1': 'GetRobotPartMetadataResponse', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `GetRobotPartMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotPartMetadataResponseDescriptor = $convert.base64Decode( - 'ChxHZXRSb2JvdFBhcnRNZXRhZGF0YVJlc3BvbnNlEisKBGRhdGEYASABKAsyFy5nb29nbGUucH' - 'JvdG9idWYuU3RydWN0UgRkYXRh'); - -@$core.Deprecated('Use updateRobotPartMetadataRequestDescriptor instead') -const UpdateRobotPartMetadataRequest$json = { - '1': 'UpdateRobotPartMetadataRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'data', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `UpdateRobotPartMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotPartMetadataRequestDescriptor = $convert.base64Decode( - 'Ch5VcGRhdGVSb2JvdFBhcnRNZXRhZGF0YVJlcXVlc3QSDgoCaWQYASABKAlSAmlkEisKBGRhdG' - 'EYAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgRkYXRh'); - -@$core.Deprecated('Use updateRobotPartMetadataResponseDescriptor instead') -const UpdateRobotPartMetadataResponse$json = { - '1': 'UpdateRobotPartMetadataResponse', -}; - -/// Descriptor for `UpdateRobotPartMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotPartMetadataResponseDescriptor = $convert.base64Decode( - 'Ch9VcGRhdGVSb2JvdFBhcnRNZXRhZGF0YVJlc3BvbnNl'); - -@$core.Deprecated('Use getRobotAPIKeysRequestDescriptor instead') -const GetRobotAPIKeysRequest$json = { - '1': 'GetRobotAPIKeysRequest', - '2': [ - {'1': 'robot_id', '3': 1, '4': 1, '5': 9, '10': 'robotId'}, - ], -}; - -/// Descriptor for `GetRobotAPIKeysRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotAPIKeysRequestDescriptor = $convert.base64Decode( - 'ChZHZXRSb2JvdEFQSUtleXNSZXF1ZXN0EhkKCHJvYm90X2lkGAEgASgJUgdyb2JvdElk'); - -@$core.Deprecated('Use aPIKeyDescriptor instead') -const APIKey$json = { - '1': 'APIKey', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'key', '3': 2, '4': 1, '5': 9, '10': 'key'}, - {'1': 'name', '3': 3, '4': 1, '5': 9, '10': 'name'}, - {'1': 'created_on', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdOn'}, - ], -}; - -/// Descriptor for `APIKey`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List aPIKeyDescriptor = $convert.base64Decode( - 'CgZBUElLZXkSDgoCaWQYASABKAlSAmlkEhAKA2tleRgCIAEoCVIDa2V5EhIKBG5hbWUYAyABKA' - 'lSBG5hbWUSOQoKY3JlYXRlZF9vbhgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBS' - 'CWNyZWF0ZWRPbg=='); - -@$core.Deprecated('Use getRobotAPIKeysResponseDescriptor instead') -const GetRobotAPIKeysResponse$json = { - '1': 'GetRobotAPIKeysResponse', - '2': [ - {'1': 'api_keys', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.APIKeyWithAuthorizations', '10': 'apiKeys'}, - ], -}; - -/// Descriptor for `GetRobotAPIKeysResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotAPIKeysResponseDescriptor = $convert.base64Decode( - 'ChdHZXRSb2JvdEFQSUtleXNSZXNwb25zZRJACghhcGlfa2V5cxgBIAMoCzIlLnZpYW0uYXBwLn' - 'YxLkFQSUtleVdpdGhBdXRob3JpemF0aW9uc1IHYXBpS2V5cw=='); - -@$core.Deprecated('Use deleteRobotPartResponseDescriptor instead') -const DeleteRobotPartResponse$json = { - '1': 'DeleteRobotPartResponse', -}; - -/// Descriptor for `DeleteRobotPartResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRobotPartResponseDescriptor = $convert.base64Decode( - 'ChdEZWxldGVSb2JvdFBhcnRSZXNwb25zZQ=='); - -@$core.Deprecated('Use fragmentDescriptor instead') -const Fragment$json = { - '1': 'Fragment', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'name'}, - {'1': 'fragment', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '8': {}, '10': 'fragment'}, - {'1': 'organization_owner', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'organizationOwner'}, - {'1': 'public', '3': 5, '4': 1, '5': 8, '8': {}, '10': 'public'}, - {'1': 'created_on', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'createdOn'}, - {'1': 'organization_name', '3': 7, '4': 1, '5': 9, '10': 'organizationName'}, - {'1': 'robot_part_count', '3': 9, '4': 1, '5': 5, '10': 'robotPartCount'}, - {'1': 'organization_count', '3': 10, '4': 1, '5': 5, '10': 'organizationCount'}, - {'1': 'only_used_by_owner', '3': 11, '4': 1, '5': 8, '10': 'onlyUsedByOwner'}, - {'1': 'visibility', '3': 12, '4': 1, '5': 14, '6': '.viam.app.v1.FragmentVisibility', '10': 'visibility'}, - {'1': 'last_updated', '3': 13, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'lastUpdated'}, - {'1': 'revision', '3': 14, '4': 1, '5': 9, '10': 'revision'}, - ], -}; - -/// Descriptor for `Fragment`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fragmentDescriptor = $convert.base64Decode( - 'CghGcmFnbWVudBIzCgJpZBgBIAEoCUIjmoSeAx5ic29uOiJfaWQiIGpzb246ImlkLG9taXRlbX' - 'B0eSJSAmlkEjAKBG5hbWUYAiABKAlCHJqEngMXYnNvbjoibmFtZSIganNvbjoibmFtZSJSBG5h' - 'bWUSWQoIZnJhZ21lbnQYAyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0QiSahJ4DH2Jzb2' - '46ImZyYWdtZW50IiBqc29uOiJmcmFnbWVudCJSCGZyYWdtZW50EloKEm9yZ2FuaXphdGlvbl9v' - 'd25lchgEIAEoCUIrmoSeAyZic29uOiJvcmdhbml6YXRpb25fb3duZXIiIGpzb246Im93bmVyIl' - 'IRb3JnYW5pemF0aW9uT3duZXISOAoGcHVibGljGAUgASgIQiCahJ4DG2Jzb246InB1YmxpYyIg' - 'anNvbjoicHVibGljIlIGcHVibGljElEKCmNyZWF0ZWRfb24YBiABKAsyGi5nb29nbGUucHJvdG' - '9idWYuVGltZXN0YW1wQhaahJ4DEWJzb246ImNyZWF0ZWRfb24iUgljcmVhdGVkT24SKwoRb3Jn' - 'YW5pemF0aW9uX25hbWUYByABKAlSEG9yZ2FuaXphdGlvbk5hbWUSKAoQcm9ib3RfcGFydF9jb3' - 'VudBgJIAEoBVIOcm9ib3RQYXJ0Q291bnQSLQoSb3JnYW5pemF0aW9uX2NvdW50GAogASgFUhFv' - 'cmdhbml6YXRpb25Db3VudBIrChJvbmx5X3VzZWRfYnlfb3duZXIYCyABKAhSD29ubHlVc2VkQn' - 'lPd25lchI/Cgp2aXNpYmlsaXR5GAwgASgOMh8udmlhbS5hcHAudjEuRnJhZ21lbnRWaXNpYmls' - 'aXR5Ugp2aXNpYmlsaXR5EloKDGxhc3RfdXBkYXRlZBgNIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi' - '5UaW1lc3RhbXBCG5qEngMWYnNvbjoibGFzdF91cGRhdGVkX2F0IlILbGFzdFVwZGF0ZWQSGgoI' - 'cmV2aXNpb24YDiABKAlSCHJldmlzaW9u'); - -@$core.Deprecated('Use fragmentHistoryEntryDescriptor instead') -const FragmentHistoryEntry$json = { - '1': 'FragmentHistoryEntry', - '2': [ - {'1': 'fragment', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'fragment'}, - {'1': 'edited_on', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'editedOn'}, - {'1': 'old', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.Fragment', '8': {}, '10': 'old'}, - {'1': 'edited_by', '3': 4, '4': 1, '5': 11, '6': '.viam.app.v1.AuthenticatorInfo', '8': {}, '10': 'editedBy'}, - {'1': 'revision', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'revision'}, - {'1': 'config', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '8': {}, '10': 'config'}, - ], -}; - -/// Descriptor for `FragmentHistoryEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fragmentHistoryEntryDescriptor = $convert.base64Decode( - 'ChRGcmFnbWVudEhpc3RvcnlFbnRyeRJACghmcmFnbWVudBgBIAEoCUIkmoSeAx9ic29uOiJmcm' - 'FnbWVudCIganNvbjoiZnJhZ21lbnQiUghmcmFnbWVudBJfCgllZGl0ZWRfb24YAiABKAsyGi5n' - 'b29nbGUucHJvdG9idWYuVGltZXN0YW1wQiaahJ4DIWJzb246ImVkaXRlZF9vbiIganNvbjoiZW' - 'RpdGVkX29uIlIIZWRpdGVkT24SQwoDb2xkGAMgASgLMhUudmlhbS5hcHAudjEuRnJhZ21lbnRC' - 'GpqEngMVYnNvbjoib2xkIiBqc29uOiJvbGQiUgNvbGQSYwoJZWRpdGVkX2J5GAQgASgLMh4udm' - 'lhbS5hcHAudjEuQXV0aGVudGljYXRvckluZm9CJpqEngMhYnNvbjoiZWRpdGVkX2J5IiBqc29u' - 'OiJlZGl0ZWRfYnkiUghlZGl0ZWRCeRJACghyZXZpc2lvbhgFIAEoCUIkmoSeAx9ic29uOiJyZX' - 'Zpc2lvbiIganNvbjoicmV2aXNpb24iUghyZXZpc2lvbhJRCgZjb25maWcYBiABKAsyFy5nb29n' - 'bGUucHJvdG9idWYuU3RydWN0QiCahJ4DG2Jzb246ImNvbmZpZyIganNvbjoiY29uZmlnIlIGY2' - '9uZmln'); - -@$core.Deprecated('Use fragmentRevisionDescriptor instead') -const FragmentRevision$json = { - '1': 'FragmentRevision', - '2': [ - {'1': 'revision', '3': 1, '4': 1, '5': 9, '10': 'revision'}, - {'1': 'created_at', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdAt'}, - ], -}; - -/// Descriptor for `FragmentRevision`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fragmentRevisionDescriptor = $convert.base64Decode( - 'ChBGcmFnbWVudFJldmlzaW9uEhoKCHJldmlzaW9uGAEgASgJUghyZXZpc2lvbhI5CgpjcmVhdG' - 'VkX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIJY3JlYXRlZEF0'); - -@$core.Deprecated('Use fragmentTagDescriptor instead') -const FragmentTag$json = { - '1': 'FragmentTag', - '2': [ - {'1': 'tag', '3': 1, '4': 1, '5': 9, '10': 'tag'}, - {'1': 'revision', '3': 2, '4': 1, '5': 9, '10': 'revision'}, - ], -}; - -/// Descriptor for `FragmentTag`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fragmentTagDescriptor = $convert.base64Decode( - 'CgtGcmFnbWVudFRhZxIQCgN0YWcYASABKAlSA3RhZxIaCghyZXZpc2lvbhgCIAEoCVIIcmV2aX' - 'Npb24='); - -@$core.Deprecated('Use fragmentErrorDescriptor instead') -const FragmentError$json = { - '1': 'FragmentError', - '2': [ - {'1': 'error_type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.FragmentErrorType', '10': 'errorType'}, - {'1': 'fragment_id', '3': 2, '4': 1, '5': 9, '10': 'fragmentId'}, - {'1': 'detail', '3': 3, '4': 1, '5': 9, '10': 'detail'}, - ], -}; - -/// Descriptor for `FragmentError`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fragmentErrorDescriptor = $convert.base64Decode( - 'Cg1GcmFnbWVudEVycm9yEj0KCmVycm9yX3R5cGUYASABKA4yHi52aWFtLmFwcC52MS5GcmFnbW' - 'VudEVycm9yVHlwZVIJZXJyb3JUeXBlEh8KC2ZyYWdtZW50X2lkGAIgASgJUgpmcmFnbWVudElk' - 'EhYKBmRldGFpbBgDIAEoCVIGZGV0YWls'); - -@$core.Deprecated('Use fragmentUsageDescriptor instead') -const FragmentUsage$json = { - '1': 'FragmentUsage', - '2': [ - {'1': 'fragment_id', '3': 1, '4': 1, '5': 9, '10': 'fragmentId'}, - {'1': 'organizations', '3': 2, '4': 1, '5': 5, '10': 'organizations'}, - {'1': 'machines', '3': 3, '4': 1, '5': 5, '10': 'machines'}, - {'1': 'machines_in_current_org', '3': 4, '4': 1, '5': 5, '10': 'machinesInCurrentOrg'}, - {'1': 'version', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'version', '17': true}, - ], - '8': [ - {'1': '_version'}, - ], -}; - -/// Descriptor for `FragmentUsage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fragmentUsageDescriptor = $convert.base64Decode( - 'Cg1GcmFnbWVudFVzYWdlEh8KC2ZyYWdtZW50X2lkGAEgASgJUgpmcmFnbWVudElkEiQKDW9yZ2' - 'FuaXphdGlvbnMYAiABKAVSDW9yZ2FuaXphdGlvbnMSGgoIbWFjaGluZXMYAyABKAVSCG1hY2hp' - 'bmVzEjUKF21hY2hpbmVzX2luX2N1cnJlbnRfb3JnGAQgASgFUhRtYWNoaW5lc0luQ3VycmVudE' - '9yZxIdCgd2ZXJzaW9uGAUgASgJSABSB3ZlcnNpb26IAQFCCgoIX3ZlcnNpb24='); - -@$core.Deprecated('Use resolvedFragmentDescriptor instead') -const ResolvedFragment$json = { - '1': 'ResolvedFragment', - '2': [ - {'1': 'fragment_id', '3': 1, '4': 1, '5': 9, '10': 'fragmentId'}, - {'1': 'resolved_config', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'resolvedConfig'}, - {'1': 'error', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.FragmentError', '10': 'error'}, - {'1': 'revision', '3': 4, '4': 1, '5': 9, '10': 'revision'}, - ], -}; - -/// Descriptor for `ResolvedFragment`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resolvedFragmentDescriptor = $convert.base64Decode( - 'ChBSZXNvbHZlZEZyYWdtZW50Eh8KC2ZyYWdtZW50X2lkGAEgASgJUgpmcmFnbWVudElkEkAKD3' - 'Jlc29sdmVkX2NvbmZpZxgCIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSDnJlc29sdmVk' - 'Q29uZmlnEjAKBWVycm9yGAMgASgLMhoudmlhbS5hcHAudjEuRnJhZ21lbnRFcnJvclIFZXJyb3' - 'ISGgoIcmV2aXNpb24YBCABKAlSCHJldmlzaW9u'); - -@$core.Deprecated('Use listFragmentsRequestDescriptor instead') -const ListFragmentsRequest$json = { - '1': 'ListFragmentsRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'show_public', '3': 2, '4': 1, '5': 8, '10': 'showPublic'}, - {'1': 'fragment_visibility', '3': 3, '4': 3, '5': 14, '6': '.viam.app.v1.FragmentVisibility', '10': 'fragmentVisibility'}, - ], -}; - -/// Descriptor for `ListFragmentsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listFragmentsRequestDescriptor = $convert.base64Decode( - 'ChRMaXN0RnJhZ21lbnRzUmVxdWVzdBInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2FuaX' - 'phdGlvbklkEh8KC3Nob3dfcHVibGljGAIgASgIUgpzaG93UHVibGljElAKE2ZyYWdtZW50X3Zp' - 'c2liaWxpdHkYAyADKA4yHy52aWFtLmFwcC52MS5GcmFnbWVudFZpc2liaWxpdHlSEmZyYWdtZW' - '50VmlzaWJpbGl0eQ=='); - -@$core.Deprecated('Use listFragmentsResponseDescriptor instead') -const ListFragmentsResponse$json = { - '1': 'ListFragmentsResponse', - '2': [ - {'1': 'fragments', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Fragment', '10': 'fragments'}, - {'1': 'fragment_usages', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.FragmentUsage', '10': 'fragmentUsages'}, - ], -}; - -/// Descriptor for `ListFragmentsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listFragmentsResponseDescriptor = $convert.base64Decode( - 'ChVMaXN0RnJhZ21lbnRzUmVzcG9uc2USMwoJZnJhZ21lbnRzGAEgAygLMhUudmlhbS5hcHAudj' - 'EuRnJhZ21lbnRSCWZyYWdtZW50cxJDCg9mcmFnbWVudF91c2FnZXMYAiADKAsyGi52aWFtLmFw' - 'cC52MS5GcmFnbWVudFVzYWdlUg5mcmFnbWVudFVzYWdlcw=='); - -@$core.Deprecated('Use getFragmentRequestDescriptor instead') -const GetFragmentRequest$json = { - '1': 'GetFragmentRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'current_organization_id', '3': 2, '4': 1, '5': 9, '10': 'currentOrganizationId'}, - {'1': 'version', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'version', '17': true}, - ], - '8': [ - {'1': '_version'}, - ], -}; - -/// Descriptor for `GetFragmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getFragmentRequestDescriptor = $convert.base64Decode( - 'ChJHZXRGcmFnbWVudFJlcXVlc3QSDgoCaWQYASABKAlSAmlkEjYKF2N1cnJlbnRfb3JnYW5pem' - 'F0aW9uX2lkGAIgASgJUhVjdXJyZW50T3JnYW5pemF0aW9uSWQSHQoHdmVyc2lvbhgDIAEoCUgA' - 'Ugd2ZXJzaW9uiAEBQgoKCF92ZXJzaW9u'); - -@$core.Deprecated('Use getFragmentResponseDescriptor instead') -const GetFragmentResponse$json = { - '1': 'GetFragmentResponse', - '2': [ - {'1': 'fragment', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Fragment', '10': 'fragment'}, - {'1': 'fragment_usage', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.FragmentUsage', '10': 'fragmentUsage'}, - {'1': 'revisions', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.FragmentRevision', '10': 'revisions'}, - {'1': 'tags', '3': 4, '4': 3, '5': 11, '6': '.viam.app.v1.FragmentTag', '10': 'tags'}, - ], -}; - -/// Descriptor for `GetFragmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getFragmentResponseDescriptor = $convert.base64Decode( - 'ChNHZXRGcmFnbWVudFJlc3BvbnNlEjEKCGZyYWdtZW50GAEgASgLMhUudmlhbS5hcHAudjEuRn' - 'JhZ21lbnRSCGZyYWdtZW50EkEKDmZyYWdtZW50X3VzYWdlGAIgASgLMhoudmlhbS5hcHAudjEu' - 'RnJhZ21lbnRVc2FnZVINZnJhZ21lbnRVc2FnZRI7CglyZXZpc2lvbnMYAyADKAsyHS52aWFtLm' - 'FwcC52MS5GcmFnbWVudFJldmlzaW9uUglyZXZpc2lvbnMSLAoEdGFncxgEIAMoCzIYLnZpYW0u' - 'YXBwLnYxLkZyYWdtZW50VGFnUgR0YWdz'); - -@$core.Deprecated('Use createFragmentRequestDescriptor instead') -const CreateFragmentRequest$json = { - '1': 'CreateFragmentRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'config', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'config'}, - {'1': 'organization_id', '3': 3, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'visibility', '3': 4, '4': 1, '5': 14, '6': '.viam.app.v1.FragmentVisibility', '9': 0, '10': 'visibility', '17': true}, - ], - '8': [ - {'1': '_visibility'}, - ], -}; - -/// Descriptor for `CreateFragmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createFragmentRequestDescriptor = $convert.base64Decode( - 'ChVDcmVhdGVGcmFnbWVudFJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIvCgZjb25maWcYAi' - 'ABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgZjb25maWcSJwoPb3JnYW5pemF0aW9uX2lk' - 'GAMgASgJUg5vcmdhbml6YXRpb25JZBJECgp2aXNpYmlsaXR5GAQgASgOMh8udmlhbS5hcHAudj' - 'EuRnJhZ21lbnRWaXNpYmlsaXR5SABSCnZpc2liaWxpdHmIAQFCDQoLX3Zpc2liaWxpdHk='); - -@$core.Deprecated('Use createFragmentResponseDescriptor instead') -const CreateFragmentResponse$json = { - '1': 'CreateFragmentResponse', - '2': [ - {'1': 'fragment', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Fragment', '10': 'fragment'}, - ], -}; - -/// Descriptor for `CreateFragmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createFragmentResponseDescriptor = $convert.base64Decode( - 'ChZDcmVhdGVGcmFnbWVudFJlc3BvbnNlEjEKCGZyYWdtZW50GAEgASgLMhUudmlhbS5hcHAudj' - 'EuRnJhZ21lbnRSCGZyYWdtZW50'); - -@$core.Deprecated('Use updateFragmentRequestDescriptor instead') -const UpdateFragmentRequest$json = { - '1': 'UpdateFragmentRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'config', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'config'}, - {'1': 'public', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'public', '17': true}, - {'1': 'visibility', '3': 5, '4': 1, '5': 14, '6': '.viam.app.v1.FragmentVisibility', '9': 1, '10': 'visibility', '17': true}, - ], - '8': [ - {'1': '_public'}, - {'1': '_visibility'}, - ], -}; - -/// Descriptor for `UpdateFragmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateFragmentRequestDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVGcmFnbWVudFJlcXVlc3QSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG' - '5hbWUSLwoGY29uZmlnGAMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIGY29uZmlnEhsK' - 'BnB1YmxpYxgEIAEoCEgAUgZwdWJsaWOIAQESRAoKdmlzaWJpbGl0eRgFIAEoDjIfLnZpYW0uYX' - 'BwLnYxLkZyYWdtZW50VmlzaWJpbGl0eUgBUgp2aXNpYmlsaXR5iAEBQgkKB19wdWJsaWNCDQoL' - 'X3Zpc2liaWxpdHk='); - -@$core.Deprecated('Use updateFragmentResponseDescriptor instead') -const UpdateFragmentResponse$json = { - '1': 'UpdateFragmentResponse', - '2': [ - {'1': 'fragment', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Fragment', '10': 'fragment'}, - ], -}; - -/// Descriptor for `UpdateFragmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateFragmentResponseDescriptor = $convert.base64Decode( - 'ChZVcGRhdGVGcmFnbWVudFJlc3BvbnNlEjEKCGZyYWdtZW50GAEgASgLMhUudmlhbS5hcHAudj' - 'EuRnJhZ21lbnRSCGZyYWdtZW50'); - -@$core.Deprecated('Use deleteFragmentRequestDescriptor instead') -const DeleteFragmentRequest$json = { - '1': 'DeleteFragmentRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `DeleteFragmentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteFragmentRequestDescriptor = $convert.base64Decode( - 'ChVEZWxldGVGcmFnbWVudFJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use deleteFragmentResponseDescriptor instead') -const DeleteFragmentResponse$json = { - '1': 'DeleteFragmentResponse', -}; - -/// Descriptor for `DeleteFragmentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteFragmentResponseDescriptor = $convert.base64Decode( - 'ChZEZWxldGVGcmFnbWVudFJlc3BvbnNl'); - -@$core.Deprecated('Use getFragmentHistoryRequestDescriptor instead') -const GetFragmentHistoryRequest$json = { - '1': 'GetFragmentHistoryRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'page_token', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'pageToken', '17': true}, - {'1': 'page_limit', '3': 3, '4': 1, '5': 3, '9': 1, '10': 'pageLimit', '17': true}, - ], - '8': [ - {'1': '_page_token'}, - {'1': '_page_limit'}, - ], -}; - -/// Descriptor for `GetFragmentHistoryRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getFragmentHistoryRequestDescriptor = $convert.base64Decode( - 'ChlHZXRGcmFnbWVudEhpc3RvcnlSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIiCgpwYWdlX3Rva2' - 'VuGAIgASgJSABSCXBhZ2VUb2tlbogBARIiCgpwYWdlX2xpbWl0GAMgASgDSAFSCXBhZ2VMaW1p' - 'dIgBAUINCgtfcGFnZV90b2tlbkINCgtfcGFnZV9saW1pdA=='); - -@$core.Deprecated('Use getFragmentHistoryResponseDescriptor instead') -const GetFragmentHistoryResponse$json = { - '1': 'GetFragmentHistoryResponse', - '2': [ - {'1': 'history', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.FragmentHistoryEntry', '10': 'history'}, - {'1': 'next_page_token', '3': 2, '4': 1, '5': 9, '10': 'nextPageToken'}, - ], -}; - -/// Descriptor for `GetFragmentHistoryResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getFragmentHistoryResponseDescriptor = $convert.base64Decode( - 'ChpHZXRGcmFnbWVudEhpc3RvcnlSZXNwb25zZRI7CgdoaXN0b3J5GAEgAygLMiEudmlhbS5hcH' - 'AudjEuRnJhZ21lbnRIaXN0b3J5RW50cnlSB2hpc3RvcnkSJgoPbmV4dF9wYWdlX3Rva2VuGAIg' - 'ASgJUg1uZXh0UGFnZVRva2Vu'); - -@$core.Deprecated('Use getFragmentUsageRequestDescriptor instead') -const GetFragmentUsageRequest$json = { - '1': 'GetFragmentUsageRequest', - '2': [ - {'1': 'fragment_id', '3': 1, '4': 1, '5': 9, '10': 'fragmentId'}, - ], -}; - -/// Descriptor for `GetFragmentUsageRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getFragmentUsageRequestDescriptor = $convert.base64Decode( - 'ChdHZXRGcmFnbWVudFVzYWdlUmVxdWVzdBIfCgtmcmFnbWVudF9pZBgBIAEoCVIKZnJhZ21lbn' - 'RJZA=='); - -@$core.Deprecated('Use getFragmentUsageResponseDescriptor instead') -const GetFragmentUsageResponse$json = { - '1': 'GetFragmentUsageResponse', - '2': [ - {'1': 'version_usages', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.FragmentUsage', '10': 'versionUsages'}, - ], -}; - -/// Descriptor for `GetFragmentUsageResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getFragmentUsageResponseDescriptor = $convert.base64Decode( - 'ChhHZXRGcmFnbWVudFVzYWdlUmVzcG9uc2USQQoOdmVyc2lvbl91c2FnZXMYASADKAsyGi52aW' - 'FtLmFwcC52MS5GcmFnbWVudFVzYWdlUg12ZXJzaW9uVXNhZ2Vz'); - -@$core.Deprecated('Use setFragmentTagRequestDescriptor instead') -const SetFragmentTagRequest$json = { - '1': 'SetFragmentTagRequest', - '2': [ - {'1': 'fragment_id', '3': 1, '4': 1, '5': 9, '10': 'fragmentId'}, - {'1': 'tag', '3': 2, '4': 1, '5': 9, '10': 'tag'}, - {'1': 'revision', '3': 3, '4': 1, '5': 9, '10': 'revision'}, - ], -}; - -/// Descriptor for `SetFragmentTagRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setFragmentTagRequestDescriptor = $convert.base64Decode( - 'ChVTZXRGcmFnbWVudFRhZ1JlcXVlc3QSHwoLZnJhZ21lbnRfaWQYASABKAlSCmZyYWdtZW50SW' - 'QSEAoDdGFnGAIgASgJUgN0YWcSGgoIcmV2aXNpb24YAyABKAlSCHJldmlzaW9u'); - -@$core.Deprecated('Use setFragmentTagResponseDescriptor instead') -const SetFragmentTagResponse$json = { - '1': 'SetFragmentTagResponse', - '2': [ - {'1': 'tags', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.FragmentTag', '10': 'tags'}, - ], -}; - -/// Descriptor for `SetFragmentTagResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setFragmentTagResponseDescriptor = $convert.base64Decode( - 'ChZTZXRGcmFnbWVudFRhZ1Jlc3BvbnNlEiwKBHRhZ3MYASADKAsyGC52aWFtLmFwcC52MS5Gcm' - 'FnbWVudFRhZ1IEdGFncw=='); - -@$core.Deprecated('Use deleteFragmentTagRequestDescriptor instead') -const DeleteFragmentTagRequest$json = { - '1': 'DeleteFragmentTagRequest', - '2': [ - {'1': 'fragment_id', '3': 1, '4': 1, '5': 9, '10': 'fragmentId'}, - {'1': 'tag', '3': 2, '4': 1, '5': 9, '10': 'tag'}, - ], -}; - -/// Descriptor for `DeleteFragmentTagRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteFragmentTagRequestDescriptor = $convert.base64Decode( - 'ChhEZWxldGVGcmFnbWVudFRhZ1JlcXVlc3QSHwoLZnJhZ21lbnRfaWQYASABKAlSCmZyYWdtZW' - '50SWQSEAoDdGFnGAIgASgJUgN0YWc='); - -@$core.Deprecated('Use deleteFragmentTagResponseDescriptor instead') -const DeleteFragmentTagResponse$json = { - '1': 'DeleteFragmentTagResponse', - '2': [ - {'1': 'tags', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.FragmentTag', '10': 'tags'}, - ], -}; - -/// Descriptor for `DeleteFragmentTagResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteFragmentTagResponseDescriptor = $convert.base64Decode( - 'ChlEZWxldGVGcmFnbWVudFRhZ1Jlc3BvbnNlEiwKBHRhZ3MYASADKAsyGC52aWFtLmFwcC52MS' - '5GcmFnbWVudFRhZ1IEdGFncw=='); - -@$core.Deprecated('Use listRobotsRequestDescriptor instead') -const ListRobotsRequest$json = { - '1': 'ListRobotsRequest', - '2': [ - {'1': 'location_id', '3': 1, '4': 1, '5': 9, '10': 'locationId'}, - ], -}; - -/// Descriptor for `ListRobotsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listRobotsRequestDescriptor = $convert.base64Decode( - 'ChFMaXN0Um9ib3RzUmVxdWVzdBIfCgtsb2NhdGlvbl9pZBgBIAEoCVIKbG9jYXRpb25JZA=='); - -@$core.Deprecated('Use additionalFragmentDescriptor instead') -const AdditionalFragment$json = { - '1': 'AdditionalFragment', - '2': [ - {'1': 'fragment_id', '3': 1, '4': 1, '5': 9, '10': 'fragmentId'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'version', '17': true}, - ], - '8': [ - {'1': '_version'}, - ], -}; - -/// Descriptor for `AdditionalFragment`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List additionalFragmentDescriptor = $convert.base64Decode( - 'ChJBZGRpdGlvbmFsRnJhZ21lbnQSHwoLZnJhZ21lbnRfaWQYASABKAlSCmZyYWdtZW50SWQSHQ' - 'oHdmVyc2lvbhgCIAEoCUgAUgd2ZXJzaW9uiAEBQgoKCF92ZXJzaW9u'); - -@$core.Deprecated('Use listMachineFragmentsRequestDescriptor instead') -const ListMachineFragmentsRequest$json = { - '1': 'ListMachineFragmentsRequest', - '2': [ - {'1': 'machine_id', '3': 1, '4': 1, '5': 9, '10': 'machineId'}, - {'1': 'additional_fragment_ids', '3': 2, '4': 3, '5': 9, '10': 'additionalFragmentIds'}, - {'1': 'additional_fragments', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.AdditionalFragment', '10': 'additionalFragments'}, - ], -}; - -/// Descriptor for `ListMachineFragmentsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listMachineFragmentsRequestDescriptor = $convert.base64Decode( - 'ChtMaXN0TWFjaGluZUZyYWdtZW50c1JlcXVlc3QSHQoKbWFjaGluZV9pZBgBIAEoCVIJbWFjaG' - 'luZUlkEjYKF2FkZGl0aW9uYWxfZnJhZ21lbnRfaWRzGAIgAygJUhVhZGRpdGlvbmFsRnJhZ21l' - 'bnRJZHMSUgoUYWRkaXRpb25hbF9mcmFnbWVudHMYAyADKAsyHy52aWFtLmFwcC52MS5BZGRpdG' - 'lvbmFsRnJhZ21lbnRSE2FkZGl0aW9uYWxGcmFnbWVudHM='); - -@$core.Deprecated('Use listMachineFragmentsResponseDescriptor instead') -const ListMachineFragmentsResponse$json = { - '1': 'ListMachineFragmentsResponse', - '2': [ - {'1': 'fragments', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Fragment', '10': 'fragments'}, - {'1': 'resolved_fragments', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.ResolvedFragment', '10': 'resolvedFragments'}, - ], -}; - -/// Descriptor for `ListMachineFragmentsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listMachineFragmentsResponseDescriptor = $convert.base64Decode( - 'ChxMaXN0TWFjaGluZUZyYWdtZW50c1Jlc3BvbnNlEjMKCWZyYWdtZW50cxgBIAMoCzIVLnZpYW' - '0uYXBwLnYxLkZyYWdtZW50UglmcmFnbWVudHMSTAoScmVzb2x2ZWRfZnJhZ21lbnRzGAIgAygL' - 'Mh0udmlhbS5hcHAudjEuUmVzb2x2ZWRGcmFnbWVudFIRcmVzb2x2ZWRGcmFnbWVudHM='); - -@$core.Deprecated('Use listRobotsResponseDescriptor instead') -const ListRobotsResponse$json = { - '1': 'ListRobotsResponse', - '2': [ - {'1': 'robots', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Robot', '10': 'robots'}, - ], -}; - -/// Descriptor for `ListRobotsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listRobotsResponseDescriptor = $convert.base64Decode( - 'ChJMaXN0Um9ib3RzUmVzcG9uc2USKgoGcm9ib3RzGAEgAygLMhIudmlhbS5hcHAudjEuUm9ib3' - 'RSBnJvYm90cw=='); - -@$core.Deprecated('Use newRobotRequestDescriptor instead') -const NewRobotRequest$json = { - '1': 'NewRobotRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'location', '3': 2, '4': 1, '5': 9, '10': 'location'}, - ], -}; - -/// Descriptor for `NewRobotRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List newRobotRequestDescriptor = $convert.base64Decode( - 'Cg9OZXdSb2JvdFJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIaCghsb2NhdGlvbhgCIAEoCV' - 'IIbG9jYXRpb24='); - -@$core.Deprecated('Use newRobotResponseDescriptor instead') -const NewRobotResponse$json = { - '1': 'NewRobotResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `NewRobotResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List newRobotResponseDescriptor = $convert.base64Decode( - 'ChBOZXdSb2JvdFJlc3BvbnNlEg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use updateRobotRequestDescriptor instead') -const UpdateRobotRequest$json = { - '1': 'UpdateRobotRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'location', '3': 3, '4': 1, '5': 9, '10': 'location'}, - ], -}; - -/// Descriptor for `UpdateRobotRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotRequestDescriptor = $convert.base64Decode( - 'ChJVcGRhdGVSb2JvdFJlcXVlc3QSDgoCaWQYASABKAlSAmlkEhIKBG5hbWUYAiABKAlSBG5hbW' - 'USGgoIbG9jYXRpb24YAyABKAlSCGxvY2F0aW9u'); - -@$core.Deprecated('Use updateRobotResponseDescriptor instead') -const UpdateRobotResponse$json = { - '1': 'UpdateRobotResponse', - '2': [ - {'1': 'robot', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Robot', '10': 'robot'}, - ], -}; - -/// Descriptor for `UpdateRobotResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotResponseDescriptor = $convert.base64Decode( - 'ChNVcGRhdGVSb2JvdFJlc3BvbnNlEigKBXJvYm90GAEgASgLMhIudmlhbS5hcHAudjEuUm9ib3' - 'RSBXJvYm90'); - -@$core.Deprecated('Use deleteRobotRequestDescriptor instead') -const DeleteRobotRequest$json = { - '1': 'DeleteRobotRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `DeleteRobotRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRobotRequestDescriptor = $convert.base64Decode( - 'ChJEZWxldGVSb2JvdFJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use deleteRobotResponseDescriptor instead') -const DeleteRobotResponse$json = { - '1': 'DeleteRobotResponse', -}; - -/// Descriptor for `DeleteRobotResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRobotResponseDescriptor = $convert.base64Decode( - 'ChNEZWxldGVSb2JvdFJlc3BvbnNl'); - -@$core.Deprecated('Use getRobotMetadataRequestDescriptor instead') -const GetRobotMetadataRequest$json = { - '1': 'GetRobotMetadataRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `GetRobotMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotMetadataRequestDescriptor = $convert.base64Decode( - 'ChdHZXRSb2JvdE1ldGFkYXRhUmVxdWVzdBIOCgJpZBgBIAEoCVICaWQ='); - -@$core.Deprecated('Use getRobotMetadataResponseDescriptor instead') -const GetRobotMetadataResponse$json = { - '1': 'GetRobotMetadataResponse', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `GetRobotMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRobotMetadataResponseDescriptor = $convert.base64Decode( - 'ChhHZXRSb2JvdE1ldGFkYXRhUmVzcG9uc2USKwoEZGF0YRgBIAEoCzIXLmdvb2dsZS5wcm90b2' - 'J1Zi5TdHJ1Y3RSBGRhdGE='); - -@$core.Deprecated('Use updateRobotMetadataRequestDescriptor instead') -const UpdateRobotMetadataRequest$json = { - '1': 'UpdateRobotMetadataRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'data', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, - ], -}; - -/// Descriptor for `UpdateRobotMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotMetadataRequestDescriptor = $convert.base64Decode( - 'ChpVcGRhdGVSb2JvdE1ldGFkYXRhUmVxdWVzdBIOCgJpZBgBIAEoCVICaWQSKwoEZGF0YRgCIA' - 'EoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBGRhdGE='); - -@$core.Deprecated('Use updateRobotMetadataResponseDescriptor instead') -const UpdateRobotMetadataResponse$json = { - '1': 'UpdateRobotMetadataResponse', -}; - -/// Descriptor for `UpdateRobotMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRobotMetadataResponseDescriptor = $convert.base64Decode( - 'ChtVcGRhdGVSb2JvdE1ldGFkYXRhUmVzcG9uc2U='); - -@$core.Deprecated('Use markPartAsMainRequestDescriptor instead') -const MarkPartAsMainRequest$json = { - '1': 'MarkPartAsMainRequest', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - ], -}; - -/// Descriptor for `MarkPartAsMainRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List markPartAsMainRequestDescriptor = $convert.base64Decode( - 'ChVNYXJrUGFydEFzTWFpblJlcXVlc3QSFwoHcGFydF9pZBgBIAEoCVIGcGFydElk'); - -@$core.Deprecated('Use markPartAsMainResponseDescriptor instead') -const MarkPartAsMainResponse$json = { - '1': 'MarkPartAsMainResponse', -}; - -/// Descriptor for `MarkPartAsMainResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List markPartAsMainResponseDescriptor = $convert.base64Decode( - 'ChZNYXJrUGFydEFzTWFpblJlc3BvbnNl'); - -@$core.Deprecated('Use markPartForRestartRequestDescriptor instead') -const MarkPartForRestartRequest$json = { - '1': 'MarkPartForRestartRequest', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - ], -}; - -/// Descriptor for `MarkPartForRestartRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List markPartForRestartRequestDescriptor = $convert.base64Decode( - 'ChlNYXJrUGFydEZvclJlc3RhcnRSZXF1ZXN0EhcKB3BhcnRfaWQYASABKAlSBnBhcnRJZA=='); - -@$core.Deprecated('Use markPartForRestartResponseDescriptor instead') -const MarkPartForRestartResponse$json = { - '1': 'MarkPartForRestartResponse', -}; - -/// Descriptor for `MarkPartForRestartResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List markPartForRestartResponseDescriptor = $convert.base64Decode( - 'ChpNYXJrUGFydEZvclJlc3RhcnRSZXNwb25zZQ=='); - -@$core.Deprecated('Use createRobotPartSecretRequestDescriptor instead') -const CreateRobotPartSecretRequest$json = { - '1': 'CreateRobotPartSecretRequest', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - ], -}; - -/// Descriptor for `CreateRobotPartSecretRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createRobotPartSecretRequestDescriptor = $convert.base64Decode( - 'ChxDcmVhdGVSb2JvdFBhcnRTZWNyZXRSZXF1ZXN0EhcKB3BhcnRfaWQYASABKAlSBnBhcnRJZA' - '=='); - -@$core.Deprecated('Use createRobotPartSecretResponseDescriptor instead') -const CreateRobotPartSecretResponse$json = { - '1': 'CreateRobotPartSecretResponse', - '2': [ - {'1': 'part', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.RobotPart', '10': 'part'}, - ], -}; - -/// Descriptor for `CreateRobotPartSecretResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createRobotPartSecretResponseDescriptor = $convert.base64Decode( - 'Ch1DcmVhdGVSb2JvdFBhcnRTZWNyZXRSZXNwb25zZRIqCgRwYXJ0GAEgASgLMhYudmlhbS5hcH' - 'AudjEuUm9ib3RQYXJ0UgRwYXJ0'); - -@$core.Deprecated('Use deleteRobotPartSecretRequestDescriptor instead') -const DeleteRobotPartSecretRequest$json = { - '1': 'DeleteRobotPartSecretRequest', - '2': [ - {'1': 'part_id', '3': 1, '4': 1, '5': 9, '10': 'partId'}, - {'1': 'secret_id', '3': 2, '4': 1, '5': 9, '10': 'secretId'}, - ], -}; - -/// Descriptor for `DeleteRobotPartSecretRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRobotPartSecretRequestDescriptor = $convert.base64Decode( - 'ChxEZWxldGVSb2JvdFBhcnRTZWNyZXRSZXF1ZXN0EhcKB3BhcnRfaWQYASABKAlSBnBhcnRJZB' - 'IbCglzZWNyZXRfaWQYAiABKAlSCHNlY3JldElk'); - -@$core.Deprecated('Use deleteRobotPartSecretResponseDescriptor instead') -const DeleteRobotPartSecretResponse$json = { - '1': 'DeleteRobotPartSecretResponse', -}; - -/// Descriptor for `DeleteRobotPartSecretResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRobotPartSecretResponseDescriptor = $convert.base64Decode( - 'Ch1EZWxldGVSb2JvdFBhcnRTZWNyZXRSZXNwb25zZQ=='); - -@$core.Deprecated('Use authorizationDescriptor instead') -const Authorization$json = { - '1': 'Authorization', - '2': [ - {'1': 'authorization_type', '3': 1, '4': 1, '5': 9, '10': 'authorizationType'}, - {'1': 'authorization_id', '3': 2, '4': 1, '5': 9, '10': 'authorizationId'}, - {'1': 'resource_type', '3': 3, '4': 1, '5': 9, '10': 'resourceType'}, - {'1': 'resource_id', '3': 4, '4': 1, '5': 9, '10': 'resourceId'}, - {'1': 'identity_id', '3': 5, '4': 1, '5': 9, '10': 'identityId'}, - {'1': 'organization_id', '3': 6, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'identity_type', '3': 7, '4': 1, '5': 9, '10': 'identityType'}, - ], -}; - -/// Descriptor for `Authorization`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authorizationDescriptor = $convert.base64Decode( - 'Cg1BdXRob3JpemF0aW9uEi0KEmF1dGhvcml6YXRpb25fdHlwZRgBIAEoCVIRYXV0aG9yaXphdG' - 'lvblR5cGUSKQoQYXV0aG9yaXphdGlvbl9pZBgCIAEoCVIPYXV0aG9yaXphdGlvbklkEiMKDXJl' - 'c291cmNlX3R5cGUYAyABKAlSDHJlc291cmNlVHlwZRIfCgtyZXNvdXJjZV9pZBgEIAEoCVIKcm' - 'Vzb3VyY2VJZBIfCgtpZGVudGl0eV9pZBgFIAEoCVIKaWRlbnRpdHlJZBInCg9vcmdhbml6YXRp' - 'b25faWQYBiABKAlSDm9yZ2FuaXphdGlvbklkEiMKDWlkZW50aXR5X3R5cGUYByABKAlSDGlkZW' - '50aXR5VHlwZQ=='); - -@$core.Deprecated('Use addRoleRequestDescriptor instead') -const AddRoleRequest$json = { - '1': 'AddRoleRequest', - '2': [ - {'1': 'authorization', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'authorization'}, - ], -}; - -/// Descriptor for `AddRoleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addRoleRequestDescriptor = $convert.base64Decode( - 'Cg5BZGRSb2xlUmVxdWVzdBJACg1hdXRob3JpemF0aW9uGAEgASgLMhoudmlhbS5hcHAudjEuQX' - 'V0aG9yaXphdGlvblINYXV0aG9yaXphdGlvbg=='); - -@$core.Deprecated('Use addRoleResponseDescriptor instead') -const AddRoleResponse$json = { - '1': 'AddRoleResponse', -}; - -/// Descriptor for `AddRoleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addRoleResponseDescriptor = $convert.base64Decode( - 'Cg9BZGRSb2xlUmVzcG9uc2U='); - -@$core.Deprecated('Use removeRoleRequestDescriptor instead') -const RemoveRoleRequest$json = { - '1': 'RemoveRoleRequest', - '2': [ - {'1': 'authorization', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'authorization'}, - ], -}; - -/// Descriptor for `RemoveRoleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeRoleRequestDescriptor = $convert.base64Decode( - 'ChFSZW1vdmVSb2xlUmVxdWVzdBJACg1hdXRob3JpemF0aW9uGAEgASgLMhoudmlhbS5hcHAudj' - 'EuQXV0aG9yaXphdGlvblINYXV0aG9yaXphdGlvbg=='); - -@$core.Deprecated('Use removeRoleResponseDescriptor instead') -const RemoveRoleResponse$json = { - '1': 'RemoveRoleResponse', -}; - -/// Descriptor for `RemoveRoleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeRoleResponseDescriptor = $convert.base64Decode( - 'ChJSZW1vdmVSb2xlUmVzcG9uc2U='); - -@$core.Deprecated('Use changeRoleRequestDescriptor instead') -const ChangeRoleRequest$json = { - '1': 'ChangeRoleRequest', - '2': [ - {'1': 'old_authorization', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'oldAuthorization'}, - {'1': 'new_authorization', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'newAuthorization'}, - ], -}; - -/// Descriptor for `ChangeRoleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List changeRoleRequestDescriptor = $convert.base64Decode( - 'ChFDaGFuZ2VSb2xlUmVxdWVzdBJHChFvbGRfYXV0aG9yaXphdGlvbhgBIAEoCzIaLnZpYW0uYX' - 'BwLnYxLkF1dGhvcml6YXRpb25SEG9sZEF1dGhvcml6YXRpb24SRwoRbmV3X2F1dGhvcml6YXRp' - 'b24YAiABKAsyGi52aWFtLmFwcC52MS5BdXRob3JpemF0aW9uUhBuZXdBdXRob3JpemF0aW9u'); - -@$core.Deprecated('Use changeRoleResponseDescriptor instead') -const ChangeRoleResponse$json = { - '1': 'ChangeRoleResponse', -}; - -/// Descriptor for `ChangeRoleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List changeRoleResponseDescriptor = $convert.base64Decode( - 'ChJDaGFuZ2VSb2xlUmVzcG9uc2U='); - -@$core.Deprecated('Use listAuthorizationsRequestDescriptor instead') -const ListAuthorizationsRequest$json = { - '1': 'ListAuthorizationsRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'resource_ids', '3': 2, '4': 3, '5': 9, '10': 'resourceIds'}, - ], -}; - -/// Descriptor for `ListAuthorizationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listAuthorizationsRequestDescriptor = $convert.base64Decode( - 'ChlMaXN0QXV0aG9yaXphdGlvbnNSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3' - 'JnYW5pemF0aW9uSWQSIQoMcmVzb3VyY2VfaWRzGAIgAygJUgtyZXNvdXJjZUlkcw=='); - -@$core.Deprecated('Use listAuthorizationsResponseDescriptor instead') -const ListAuthorizationsResponse$json = { - '1': 'ListAuthorizationsResponse', - '2': [ - {'1': 'authorizations', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'authorizations'}, - ], -}; - -/// Descriptor for `ListAuthorizationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listAuthorizationsResponseDescriptor = $convert.base64Decode( - 'ChpMaXN0QXV0aG9yaXphdGlvbnNSZXNwb25zZRJCCg5hdXRob3JpemF0aW9ucxgBIAMoCzIaLn' - 'ZpYW0uYXBwLnYxLkF1dGhvcml6YXRpb25SDmF1dGhvcml6YXRpb25z'); - -@$core.Deprecated('Use checkPermissionsRequestDescriptor instead') -const CheckPermissionsRequest$json = { - '1': 'CheckPermissionsRequest', - '2': [ - {'1': 'permissions', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.AuthorizedPermissions', '10': 'permissions'}, - ], -}; - -/// Descriptor for `CheckPermissionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List checkPermissionsRequestDescriptor = $convert.base64Decode( - 'ChdDaGVja1Blcm1pc3Npb25zUmVxdWVzdBJECgtwZXJtaXNzaW9ucxgBIAMoCzIiLnZpYW0uYX' - 'BwLnYxLkF1dGhvcml6ZWRQZXJtaXNzaW9uc1ILcGVybWlzc2lvbnM='); - -@$core.Deprecated('Use authorizedPermissionsDescriptor instead') -const AuthorizedPermissions$json = { - '1': 'AuthorizedPermissions', - '2': [ - {'1': 'resource_type', '3': 1, '4': 1, '5': 9, '10': 'resourceType'}, - {'1': 'resource_id', '3': 2, '4': 1, '5': 9, '10': 'resourceId'}, - {'1': 'permissions', '3': 3, '4': 3, '5': 9, '10': 'permissions'}, - ], -}; - -/// Descriptor for `AuthorizedPermissions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authorizedPermissionsDescriptor = $convert.base64Decode( - 'ChVBdXRob3JpemVkUGVybWlzc2lvbnMSIwoNcmVzb3VyY2VfdHlwZRgBIAEoCVIMcmVzb3VyY2' - 'VUeXBlEh8KC3Jlc291cmNlX2lkGAIgASgJUgpyZXNvdXJjZUlkEiAKC3Blcm1pc3Npb25zGAMg' - 'AygJUgtwZXJtaXNzaW9ucw=='); - -@$core.Deprecated('Use checkPermissionsResponseDescriptor instead') -const CheckPermissionsResponse$json = { - '1': 'CheckPermissionsResponse', - '2': [ - {'1': 'authorized_permissions', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.AuthorizedPermissions', '10': 'authorizedPermissions'}, - ], -}; - -/// Descriptor for `CheckPermissionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List checkPermissionsResponseDescriptor = $convert.base64Decode( - 'ChhDaGVja1Blcm1pc3Npb25zUmVzcG9uc2USWQoWYXV0aG9yaXplZF9wZXJtaXNzaW9ucxgBIA' - 'MoCzIiLnZpYW0uYXBwLnYxLkF1dGhvcml6ZWRQZXJtaXNzaW9uc1IVYXV0aG9yaXplZFBlcm1p' - 'c3Npb25z'); - -@$core.Deprecated('Use moduleVersionDescriptor instead') -const ModuleVersion$json = { - '1': 'ModuleVersion', - '2': [ - {'1': 'version', '3': 1, '4': 1, '5': 9, '10': 'version'}, - {'1': 'files', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.Uploads', '10': 'files'}, - {'1': 'models', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, - {'1': 'entrypoint', '3': 4, '4': 1, '5': 9, '10': 'entrypoint'}, - {'1': 'first_run', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, - ], - '8': [ - {'1': '_first_run'}, - ], -}; - -/// Descriptor for `ModuleVersion`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moduleVersionDescriptor = $convert.base64Decode( - 'Cg1Nb2R1bGVWZXJzaW9uEhgKB3ZlcnNpb24YASABKAlSB3ZlcnNpb24SKgoFZmlsZXMYAiADKA' - 'syFC52aWFtLmFwcC52MS5VcGxvYWRzUgVmaWxlcxIqCgZtb2RlbHMYAyADKAsyEi52aWFtLmFw' - 'cC52MS5Nb2RlbFIGbW9kZWxzEh4KCmVudHJ5cG9pbnQYBCABKAlSCmVudHJ5cG9pbnQSIAoJZm' - 'lyc3RfcnVuGAUgASgJSABSCGZpcnN0UnVuiAEBQgwKCl9maXJzdF9ydW4='); - -@$core.Deprecated('Use moduleMetadataDescriptor instead') -const ModuleMetadata$json = { - '1': 'ModuleMetadata', - '2': [ - {'1': 'models', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, - {'1': 'versions', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.ModuleVersion', '10': 'versions'}, - {'1': 'entrypoint', '3': 3, '4': 1, '5': 9, '10': 'entrypoint'}, - {'1': 'first_run', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, - ], - '8': [ - {'1': '_first_run'}, - ], -}; - -/// Descriptor for `ModuleMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moduleMetadataDescriptor = $convert.base64Decode( - 'Cg5Nb2R1bGVNZXRhZGF0YRIqCgZtb2RlbHMYASADKAsyEi52aWFtLmFwcC52MS5Nb2RlbFIGbW' - '9kZWxzEjYKCHZlcnNpb25zGAIgAygLMhoudmlhbS5hcHAudjEuTW9kdWxlVmVyc2lvblIIdmVy' - 'c2lvbnMSHgoKZW50cnlwb2ludBgDIAEoCVIKZW50cnlwb2ludBIgCglmaXJzdF9ydW4YBCABKA' - 'lIAFIIZmlyc3RSdW6IAQFCDAoKX2ZpcnN0X3J1bg=='); - -@$core.Deprecated('Use mLModelMetadataDescriptor instead') -const MLModelMetadata$json = { - '1': 'MLModelMetadata', - '2': [ - {'1': 'versions', '3': 1, '4': 3, '5': 9, '10': 'versions'}, - {'1': 'model_type', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelType', '10': 'modelType'}, - {'1': 'model_framework', '3': 3, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelFramework', '10': 'modelFramework'}, - ], -}; - -/// Descriptor for `MLModelMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mLModelMetadataDescriptor = $convert.base64Decode( - 'Cg9NTE1vZGVsTWV0YWRhdGESGgoIdmVyc2lvbnMYASADKAlSCHZlcnNpb25zEkAKCm1vZGVsX3' - 'R5cGUYAiABKA4yIS52aWFtLmFwcC5tbHRyYWluaW5nLnYxLk1vZGVsVHlwZVIJbW9kZWxUeXBl' - 'Ek8KD21vZGVsX2ZyYW1ld29yaxgDIAEoDjImLnZpYW0uYXBwLm1sdHJhaW5pbmcudjEuTW9kZW' - 'xGcmFtZXdvcmtSDm1vZGVsRnJhbWV3b3Jr'); - -@$core.Deprecated('Use mLTrainingVersionDescriptor instead') -const MLTrainingVersion$json = { - '1': 'MLTrainingVersion', - '2': [ - {'1': 'version', '3': 1, '4': 1, '5': 9, '10': 'version'}, - {'1': 'created_on', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdOn'}, - ], -}; - -/// Descriptor for `MLTrainingVersion`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mLTrainingVersionDescriptor = $convert.base64Decode( - 'ChFNTFRyYWluaW5nVmVyc2lvbhIYCgd2ZXJzaW9uGAEgASgJUgd2ZXJzaW9uEjkKCmNyZWF0ZW' - 'Rfb24YAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgljcmVhdGVkT24='); - -@$core.Deprecated('Use mLTrainingMetadataDescriptor instead') -const MLTrainingMetadata$json = { - '1': 'MLTrainingMetadata', - '2': [ - {'1': 'versions', '3': 5, '4': 3, '5': 11, '6': '.viam.app.v1.MLTrainingVersion', '10': 'versions'}, - {'1': 'model_type', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelType', '10': 'modelType'}, - {'1': 'model_framework', '3': 3, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelFramework', '10': 'modelFramework'}, - {'1': 'draft', '3': 4, '4': 1, '5': 8, '10': 'draft'}, - ], - '9': [ - {'1': 1, '2': 2}, - ], -}; - -/// Descriptor for `MLTrainingMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mLTrainingMetadataDescriptor = $convert.base64Decode( - 'ChJNTFRyYWluaW5nTWV0YWRhdGESOgoIdmVyc2lvbnMYBSADKAsyHi52aWFtLmFwcC52MS5NTF' - 'RyYWluaW5nVmVyc2lvblIIdmVyc2lvbnMSQAoKbW9kZWxfdHlwZRgCIAEoDjIhLnZpYW0uYXBw' - 'Lm1sdHJhaW5pbmcudjEuTW9kZWxUeXBlUgltb2RlbFR5cGUSTwoPbW9kZWxfZnJhbWV3b3JrGA' - 'MgASgOMiYudmlhbS5hcHAubWx0cmFpbmluZy52MS5Nb2RlbEZyYW1ld29ya1IObW9kZWxGcmFt' - 'ZXdvcmsSFAoFZHJhZnQYBCABKAhSBWRyYWZ0SgQIARAC'); - -@$core.Deprecated('Use registryItemDescriptor instead') -const RegistryItem$json = { - '1': 'RegistryItem', - '2': [ - {'1': 'item_id', '3': 1, '4': 1, '5': 9, '10': 'itemId'}, - {'1': 'organization_id', '3': 2, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'public_namespace', '3': 3, '4': 1, '5': 9, '10': 'publicNamespace'}, - {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'type'}, - {'1': 'visibility', '3': 6, '4': 1, '5': 14, '6': '.viam.app.v1.Visibility', '10': 'visibility'}, - {'1': 'url', '3': 7, '4': 1, '5': 9, '10': 'url'}, - {'1': 'description', '3': 8, '4': 1, '5': 9, '10': 'description'}, - {'1': 'total_robot_usage', '3': 9, '4': 1, '5': 3, '10': 'totalRobotUsage'}, - {'1': 'total_external_robot_usage', '3': 13, '4': 1, '5': 3, '10': 'totalExternalRobotUsage'}, - {'1': 'total_organization_usage', '3': 10, '4': 1, '5': 3, '10': 'totalOrganizationUsage'}, - {'1': 'total_external_organization_usage', '3': 14, '4': 1, '5': 3, '10': 'totalExternalOrganizationUsage'}, - {'1': 'module_metadata', '3': 11, '4': 1, '5': 11, '6': '.viam.app.v1.ModuleMetadata', '9': 0, '10': 'moduleMetadata'}, - {'1': 'ml_model_metadata', '3': 12, '4': 1, '5': 11, '6': '.viam.app.v1.MLModelMetadata', '9': 0, '10': 'mlModelMetadata'}, - {'1': 'ml_training_metadata', '3': 18, '4': 1, '5': 11, '6': '.viam.app.v1.MLTrainingMetadata', '9': 0, '10': 'mlTrainingMetadata'}, - {'1': 'created_at', '3': 15, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdAt'}, - {'1': 'updated_at', '3': 16, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'updatedAt'}, - ], - '8': [ - {'1': 'metadata'}, - ], -}; - -/// Descriptor for `RegistryItem`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List registryItemDescriptor = $convert.base64Decode( - 'CgxSZWdpc3RyeUl0ZW0SFwoHaXRlbV9pZBgBIAEoCVIGaXRlbUlkEicKD29yZ2FuaXphdGlvbl' - '9pZBgCIAEoCVIOb3JnYW5pemF0aW9uSWQSKQoQcHVibGljX25hbWVzcGFjZRgDIAEoCVIPcHVi' - 'bGljTmFtZXNwYWNlEhIKBG5hbWUYBCABKAlSBG5hbWUSNQoEdHlwZRgFIAEoDjIhLnZpYW0uYX' - 'BwLnBhY2thZ2VzLnYxLlBhY2thZ2VUeXBlUgR0eXBlEjcKCnZpc2liaWxpdHkYBiABKA4yFy52' - 'aWFtLmFwcC52MS5WaXNpYmlsaXR5Ugp2aXNpYmlsaXR5EhAKA3VybBgHIAEoCVIDdXJsEiAKC2' - 'Rlc2NyaXB0aW9uGAggASgJUgtkZXNjcmlwdGlvbhIqChF0b3RhbF9yb2JvdF91c2FnZRgJIAEo' - 'A1IPdG90YWxSb2JvdFVzYWdlEjsKGnRvdGFsX2V4dGVybmFsX3JvYm90X3VzYWdlGA0gASgDUh' - 'd0b3RhbEV4dGVybmFsUm9ib3RVc2FnZRI4Chh0b3RhbF9vcmdhbml6YXRpb25fdXNhZ2UYCiAB' - 'KANSFnRvdGFsT3JnYW5pemF0aW9uVXNhZ2USSQohdG90YWxfZXh0ZXJuYWxfb3JnYW5pemF0aW' - '9uX3VzYWdlGA4gASgDUh50b3RhbEV4dGVybmFsT3JnYW5pemF0aW9uVXNhZ2USRgoPbW9kdWxl' - 'X21ldGFkYXRhGAsgASgLMhsudmlhbS5hcHAudjEuTW9kdWxlTWV0YWRhdGFIAFIObW9kdWxlTW' - 'V0YWRhdGESSgoRbWxfbW9kZWxfbWV0YWRhdGEYDCABKAsyHC52aWFtLmFwcC52MS5NTE1vZGVs' - 'TWV0YWRhdGFIAFIPbWxNb2RlbE1ldGFkYXRhElMKFG1sX3RyYWluaW5nX21ldGFkYXRhGBIgAS' - 'gLMh8udmlhbS5hcHAudjEuTUxUcmFpbmluZ01ldGFkYXRhSABSEm1sVHJhaW5pbmdNZXRhZGF0' - 'YRI5CgpjcmVhdGVkX2F0GA8gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIJY3JlYX' - 'RlZEF0EjkKCnVwZGF0ZWRfYXQYECABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgl1' - 'cGRhdGVkQXRCCgoIbWV0YWRhdGE='); - -@$core.Deprecated('Use getRegistryItemRequestDescriptor instead') -const GetRegistryItemRequest$json = { - '1': 'GetRegistryItemRequest', - '2': [ - {'1': 'item_id', '3': 1, '4': 1, '5': 9, '10': 'itemId'}, - {'1': 'include_markdown_documentation', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'includeMarkdownDocumentation', '17': true}, - ], - '8': [ - {'1': '_include_markdown_documentation'}, - ], -}; - -/// Descriptor for `GetRegistryItemRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRegistryItemRequestDescriptor = $convert.base64Decode( - 'ChZHZXRSZWdpc3RyeUl0ZW1SZXF1ZXN0EhcKB2l0ZW1faWQYASABKAlSBml0ZW1JZBJJCh5pbm' - 'NsdWRlX21hcmtkb3duX2RvY3VtZW50YXRpb24YAiABKAhIAFIcaW5jbHVkZU1hcmtkb3duRG9j' - 'dW1lbnRhdGlvbogBAUIhCh9faW5jbHVkZV9tYXJrZG93bl9kb2N1bWVudGF0aW9u'); - -@$core.Deprecated('Use getRegistryItemResponseDescriptor instead') -const GetRegistryItemResponse$json = { - '1': 'GetRegistryItemResponse', - '2': [ - {'1': 'item', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.RegistryItem', '10': 'item'}, - ], -}; - -/// Descriptor for `GetRegistryItemResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getRegistryItemResponseDescriptor = $convert.base64Decode( - 'ChdHZXRSZWdpc3RyeUl0ZW1SZXNwb25zZRItCgRpdGVtGAEgASgLMhkudmlhbS5hcHAudjEuUm' - 'VnaXN0cnlJdGVtUgRpdGVt'); - -@$core.Deprecated('Use createRegistryItemRequestDescriptor instead') -const CreateRegistryItemRequest$json = { - '1': 'CreateRegistryItemRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'type'}, - ], -}; - -/// Descriptor for `CreateRegistryItemRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createRegistryItemRequestDescriptor = $convert.base64Decode( - 'ChlDcmVhdGVSZWdpc3RyeUl0ZW1SZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3' - 'JnYW5pemF0aW9uSWQSEgoEbmFtZRgCIAEoCVIEbmFtZRI1CgR0eXBlGAMgASgOMiEudmlhbS5h' - 'cHAucGFja2FnZXMudjEuUGFja2FnZVR5cGVSBHR5cGU='); - -@$core.Deprecated('Use createRegistryItemResponseDescriptor instead') -const CreateRegistryItemResponse$json = { - '1': 'CreateRegistryItemResponse', -}; - -/// Descriptor for `CreateRegistryItemResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createRegistryItemResponseDescriptor = $convert.base64Decode( - 'ChpDcmVhdGVSZWdpc3RyeUl0ZW1SZXNwb25zZQ=='); - -@$core.Deprecated('Use updateRegistryItemRequestDescriptor instead') -const UpdateRegistryItemRequest$json = { - '1': 'UpdateRegistryItemRequest', - '2': [ - {'1': 'item_id', '3': 1, '4': 1, '5': 9, '10': 'itemId'}, - {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'type'}, - {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'visibility', '3': 4, '4': 1, '5': 14, '6': '.viam.app.v1.Visibility', '10': 'visibility'}, - {'1': 'url', '3': 5, '4': 1, '5': 9, '9': 1, '10': 'url', '17': true}, - {'1': 'update_module_metadata', '3': 6, '4': 1, '5': 11, '6': '.viam.app.v1.UpdateModuleMetadata', '9': 0, '10': 'updateModuleMetadata'}, - {'1': 'update_ml_model_metadata', '3': 7, '4': 1, '5': 11, '6': '.viam.app.v1.UpdateMLModelMetadata', '9': 0, '10': 'updateMlModelMetadata'}, - {'1': 'update_ml_training_metadata', '3': 8, '4': 1, '5': 11, '6': '.viam.app.v1.UpdateMLTrainingMetadata', '9': 0, '10': 'updateMlTrainingMetadata'}, - ], - '8': [ - {'1': 'metadata'}, - {'1': '_url'}, - ], -}; - -/// Descriptor for `UpdateRegistryItemRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRegistryItemRequestDescriptor = $convert.base64Decode( - 'ChlVcGRhdGVSZWdpc3RyeUl0ZW1SZXF1ZXN0EhcKB2l0ZW1faWQYASABKAlSBml0ZW1JZBI1Cg' - 'R0eXBlGAIgASgOMiEudmlhbS5hcHAucGFja2FnZXMudjEuUGFja2FnZVR5cGVSBHR5cGUSIAoL' - 'ZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEjcKCnZpc2liaWxpdHkYBCABKA4yFy52aW' - 'FtLmFwcC52MS5WaXNpYmlsaXR5Ugp2aXNpYmlsaXR5EhUKA3VybBgFIAEoCUgBUgN1cmyIAQES' - 'WQoWdXBkYXRlX21vZHVsZV9tZXRhZGF0YRgGIAEoCzIhLnZpYW0uYXBwLnYxLlVwZGF0ZU1vZH' - 'VsZU1ldGFkYXRhSABSFHVwZGF0ZU1vZHVsZU1ldGFkYXRhEl0KGHVwZGF0ZV9tbF9tb2RlbF9t' - 'ZXRhZGF0YRgHIAEoCzIiLnZpYW0uYXBwLnYxLlVwZGF0ZU1MTW9kZWxNZXRhZGF0YUgAUhV1cG' - 'RhdGVNbE1vZGVsTWV0YWRhdGESZgobdXBkYXRlX21sX3RyYWluaW5nX21ldGFkYXRhGAggASgL' - 'MiUudmlhbS5hcHAudjEuVXBkYXRlTUxUcmFpbmluZ01ldGFkYXRhSABSGHVwZGF0ZU1sVHJhaW' - '5pbmdNZXRhZGF0YUIKCghtZXRhZGF0YUIGCgRfdXJs'); - -@$core.Deprecated('Use updateRegistryItemResponseDescriptor instead') -const UpdateRegistryItemResponse$json = { - '1': 'UpdateRegistryItemResponse', -}; - -/// Descriptor for `UpdateRegistryItemResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateRegistryItemResponseDescriptor = $convert.base64Decode( - 'ChpVcGRhdGVSZWdpc3RyeUl0ZW1SZXNwb25zZQ=='); - -@$core.Deprecated('Use listRegistryItemsRequestDescriptor instead') -const ListRegistryItemsRequest$json = { - '1': 'ListRegistryItemsRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'organizationId', '17': true}, - {'1': 'types', '3': 2, '4': 3, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'types'}, - {'1': 'visibilities', '3': 3, '4': 3, '5': 14, '6': '.viam.app.v1.Visibility', '10': 'visibilities'}, - {'1': 'platforms', '3': 4, '4': 3, '5': 9, '10': 'platforms'}, - {'1': 'statuses', '3': 5, '4': 3, '5': 14, '6': '.viam.app.v1.RegistryItemStatus', '10': 'statuses'}, - {'1': 'search_term', '3': 6, '4': 1, '5': 9, '9': 1, '10': 'searchTerm', '17': true}, - {'1': 'page_token', '3': 7, '4': 1, '5': 9, '9': 2, '10': 'pageToken', '17': true}, - {'1': 'public_namespaces', '3': 8, '4': 3, '5': 9, '10': 'publicNamespaces'}, - {'1': 'include_markdown_documentation', '3': 9, '4': 1, '5': 8, '9': 3, '10': 'includeMarkdownDocumentation', '17': true}, - ], - '8': [ - {'1': '_organization_id'}, - {'1': '_search_term'}, - {'1': '_page_token'}, - {'1': '_include_markdown_documentation'}, - ], -}; - -/// Descriptor for `ListRegistryItemsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listRegistryItemsRequestDescriptor = $convert.base64Decode( - 'ChhMaXN0UmVnaXN0cnlJdGVtc1JlcXVlc3QSLAoPb3JnYW5pemF0aW9uX2lkGAEgASgJSABSDm' - '9yZ2FuaXphdGlvbklkiAEBEjcKBXR5cGVzGAIgAygOMiEudmlhbS5hcHAucGFja2FnZXMudjEu' - 'UGFja2FnZVR5cGVSBXR5cGVzEjsKDHZpc2liaWxpdGllcxgDIAMoDjIXLnZpYW0uYXBwLnYxLl' - 'Zpc2liaWxpdHlSDHZpc2liaWxpdGllcxIcCglwbGF0Zm9ybXMYBCADKAlSCXBsYXRmb3JtcxI7' - 'CghzdGF0dXNlcxgFIAMoDjIfLnZpYW0uYXBwLnYxLlJlZ2lzdHJ5SXRlbVN0YXR1c1IIc3RhdH' - 'VzZXMSJAoLc2VhcmNoX3Rlcm0YBiABKAlIAVIKc2VhcmNoVGVybYgBARIiCgpwYWdlX3Rva2Vu' - 'GAcgASgJSAJSCXBhZ2VUb2tlbogBARIrChFwdWJsaWNfbmFtZXNwYWNlcxgIIAMoCVIQcHVibG' - 'ljTmFtZXNwYWNlcxJJCh5pbmNsdWRlX21hcmtkb3duX2RvY3VtZW50YXRpb24YCSABKAhIA1Ic' - 'aW5jbHVkZU1hcmtkb3duRG9jdW1lbnRhdGlvbogBAUISChBfb3JnYW5pemF0aW9uX2lkQg4KDF' - '9zZWFyY2hfdGVybUINCgtfcGFnZV90b2tlbkIhCh9faW5jbHVkZV9tYXJrZG93bl9kb2N1bWVu' - 'dGF0aW9u'); - -@$core.Deprecated('Use listRegistryItemsResponseDescriptor instead') -const ListRegistryItemsResponse$json = { - '1': 'ListRegistryItemsResponse', - '2': [ - {'1': 'items', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.RegistryItem', '10': 'items'}, - ], -}; - -/// Descriptor for `ListRegistryItemsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listRegistryItemsResponseDescriptor = $convert.base64Decode( - 'ChlMaXN0UmVnaXN0cnlJdGVtc1Jlc3BvbnNlEi8KBWl0ZW1zGAEgAygLMhkudmlhbS5hcHAudj' - 'EuUmVnaXN0cnlJdGVtUgVpdGVtcw=='); - -@$core.Deprecated('Use deleteRegistryItemRequestDescriptor instead') -const DeleteRegistryItemRequest$json = { - '1': 'DeleteRegistryItemRequest', - '2': [ - {'1': 'item_id', '3': 1, '4': 1, '5': 9, '10': 'itemId'}, - ], -}; - -/// Descriptor for `DeleteRegistryItemRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRegistryItemRequestDescriptor = $convert.base64Decode( - 'ChlEZWxldGVSZWdpc3RyeUl0ZW1SZXF1ZXN0EhcKB2l0ZW1faWQYASABKAlSBml0ZW1JZA=='); - -@$core.Deprecated('Use deleteRegistryItemResponseDescriptor instead') -const DeleteRegistryItemResponse$json = { - '1': 'DeleteRegistryItemResponse', -}; - -/// Descriptor for `DeleteRegistryItemResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteRegistryItemResponseDescriptor = $convert.base64Decode( - 'ChpEZWxldGVSZWdpc3RyeUl0ZW1SZXNwb25zZQ=='); - -@$core.Deprecated('Use transferRegistryItemRequestDescriptor instead') -const TransferRegistryItemRequest$json = { - '1': 'TransferRegistryItemRequest', - '2': [ - {'1': 'item_id', '3': 1, '4': 1, '5': 9, '10': 'itemId'}, - {'1': 'new_public_namespace', '3': 2, '4': 1, '5': 9, '10': 'newPublicNamespace'}, - ], -}; - -/// Descriptor for `TransferRegistryItemRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transferRegistryItemRequestDescriptor = $convert.base64Decode( - 'ChtUcmFuc2ZlclJlZ2lzdHJ5SXRlbVJlcXVlc3QSFwoHaXRlbV9pZBgBIAEoCVIGaXRlbUlkEj' - 'AKFG5ld19wdWJsaWNfbmFtZXNwYWNlGAIgASgJUhJuZXdQdWJsaWNOYW1lc3BhY2U='); - -@$core.Deprecated('Use transferRegistryItemResponseDescriptor instead') -const TransferRegistryItemResponse$json = { - '1': 'TransferRegistryItemResponse', -}; - -/// Descriptor for `TransferRegistryItemResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transferRegistryItemResponseDescriptor = $convert.base64Decode( - 'ChxUcmFuc2ZlclJlZ2lzdHJ5SXRlbVJlc3BvbnNl'); - -@$core.Deprecated('Use createModuleRequestDescriptor instead') -const CreateModuleRequest$json = { - '1': 'CreateModuleRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `CreateModuleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createModuleRequestDescriptor = $convert.base64Decode( - 'ChNDcmVhdGVNb2R1bGVSZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3JnYW5pem' - 'F0aW9uSWQSEgoEbmFtZRgCIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use createModuleResponseDescriptor instead') -const CreateModuleResponse$json = { - '1': 'CreateModuleResponse', - '2': [ - {'1': 'module_id', '3': 1, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, - ], -}; - -/// Descriptor for `CreateModuleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createModuleResponseDescriptor = $convert.base64Decode( - 'ChRDcmVhdGVNb2R1bGVSZXNwb25zZRIbCgltb2R1bGVfaWQYASABKAlSCG1vZHVsZUlkEhAKA3' - 'VybBgCIAEoCVIDdXJs'); - -@$core.Deprecated('Use updateModuleRequestDescriptor instead') -const UpdateModuleRequest$json = { - '1': 'UpdateModuleRequest', - '2': [ - {'1': 'module_id', '3': 1, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'visibility', '3': 2, '4': 1, '5': 14, '6': '.viam.app.v1.Visibility', '10': 'visibility'}, - {'1': 'url', '3': 3, '4': 1, '5': 9, '10': 'url'}, - {'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'}, - {'1': 'models', '3': 5, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, - {'1': 'entrypoint', '3': 6, '4': 1, '5': 9, '10': 'entrypoint'}, - {'1': 'first_run', '3': 7, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, - {'1': 'apps', '3': 8, '4': 3, '5': 11, '6': '.viam.app.v1.App', '10': 'apps'}, - ], - '8': [ - {'1': '_first_run'}, - ], -}; - -/// Descriptor for `UpdateModuleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateModuleRequestDescriptor = $convert.base64Decode( - 'ChNVcGRhdGVNb2R1bGVSZXF1ZXN0EhsKCW1vZHVsZV9pZBgBIAEoCVIIbW9kdWxlSWQSNwoKdm' - 'lzaWJpbGl0eRgCIAEoDjIXLnZpYW0uYXBwLnYxLlZpc2liaWxpdHlSCnZpc2liaWxpdHkSEAoD' - 'dXJsGAMgASgJUgN1cmwSIAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9uEioKBm1vZG' - 'VscxgFIAMoCzISLnZpYW0uYXBwLnYxLk1vZGVsUgZtb2RlbHMSHgoKZW50cnlwb2ludBgGIAEo' - 'CVIKZW50cnlwb2ludBIgCglmaXJzdF9ydW4YByABKAlIAFIIZmlyc3RSdW6IAQESJAoEYXBwcx' - 'gIIAMoCzIQLnZpYW0uYXBwLnYxLkFwcFIEYXBwc0IMCgpfZmlyc3RfcnVu'); - -@$core.Deprecated('Use appDescriptor instead') -const App$json = { - '1': 'App', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 2, '4': 1, '5': 9, '10': 'type'}, - {'1': 'entrypoint', '3': 3, '4': 1, '5': 9, '10': 'entrypoint'}, - ], -}; - -/// Descriptor for `App`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List appDescriptor = $convert.base64Decode( - 'CgNBcHASEgoEbmFtZRgBIAEoCVIEbmFtZRISCgR0eXBlGAIgASgJUgR0eXBlEh4KCmVudHJ5cG' - '9pbnQYAyABKAlSCmVudHJ5cG9pbnQ='); - -@$core.Deprecated('Use updateModuleResponseDescriptor instead') -const UpdateModuleResponse$json = { - '1': 'UpdateModuleResponse', - '2': [ - {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, - ], -}; - -/// Descriptor for `UpdateModuleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateModuleResponseDescriptor = $convert.base64Decode( - 'ChRVcGRhdGVNb2R1bGVSZXNwb25zZRIQCgN1cmwYASABKAlSA3VybA=='); - -@$core.Deprecated('Use updateModuleMetadataDescriptor instead') -const UpdateModuleMetadata$json = { - '1': 'UpdateModuleMetadata', - '2': [ - {'1': 'models', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, - {'1': 'entrypoint', '3': 2, '4': 1, '5': 9, '10': 'entrypoint'}, - ], -}; - -/// Descriptor for `UpdateModuleMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateModuleMetadataDescriptor = $convert.base64Decode( - 'ChRVcGRhdGVNb2R1bGVNZXRhZGF0YRIqCgZtb2RlbHMYASADKAsyEi52aWFtLmFwcC52MS5Nb2' - 'RlbFIGbW9kZWxzEh4KCmVudHJ5cG9pbnQYAiABKAlSCmVudHJ5cG9pbnQ='); - -@$core.Deprecated('Use updateMLModelMetadataDescriptor instead') -const UpdateMLModelMetadata$json = { - '1': 'UpdateMLModelMetadata', - '2': [ - {'1': 'model_type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelType', '10': 'modelType'}, - {'1': 'model_framework', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelFramework', '10': 'modelFramework'}, - ], -}; - -/// Descriptor for `UpdateMLModelMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateMLModelMetadataDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVNTE1vZGVsTWV0YWRhdGESQAoKbW9kZWxfdHlwZRgBIAEoDjIhLnZpYW0uYXBwLm' - '1sdHJhaW5pbmcudjEuTW9kZWxUeXBlUgltb2RlbFR5cGUSTwoPbW9kZWxfZnJhbWV3b3JrGAIg' - 'ASgOMiYudmlhbS5hcHAubWx0cmFpbmluZy52MS5Nb2RlbEZyYW1ld29ya1IObW9kZWxGcmFtZX' - 'dvcms='); - -@$core.Deprecated('Use updateMLTrainingMetadataDescriptor instead') -const UpdateMLTrainingMetadata$json = { - '1': 'UpdateMLTrainingMetadata', - '2': [ - {'1': 'model_type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelType', '10': 'modelType'}, - {'1': 'model_framework', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelFramework', '10': 'modelFramework'}, - {'1': 'draft', '3': 3, '4': 1, '5': 8, '10': 'draft'}, - ], -}; - -/// Descriptor for `UpdateMLTrainingMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateMLTrainingMetadataDescriptor = $convert.base64Decode( - 'ChhVcGRhdGVNTFRyYWluaW5nTWV0YWRhdGESQAoKbW9kZWxfdHlwZRgBIAEoDjIhLnZpYW0uYX' - 'BwLm1sdHJhaW5pbmcudjEuTW9kZWxUeXBlUgltb2RlbFR5cGUSTwoPbW9kZWxfZnJhbWV3b3Jr' - 'GAIgASgOMiYudmlhbS5hcHAubWx0cmFpbmluZy52MS5Nb2RlbEZyYW1ld29ya1IObW9kZWxGcm' - 'FtZXdvcmsSFAoFZHJhZnQYAyABKAhSBWRyYWZ0'); - -@$core.Deprecated('Use modelDescriptor instead') -const Model$json = { - '1': 'Model', - '2': [ - {'1': 'api', '3': 1, '4': 1, '5': 9, '10': 'api'}, - {'1': 'model', '3': 2, '4': 1, '5': 9, '10': 'model'}, - {'1': 'markdown_documentation', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'markdownDocumentation', '17': true}, - {'1': 'description', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'description', '17': true}, - {'1': 'supported_hardware', '3': 5, '4': 3, '5': 9, '10': 'supportedHardware'}, - ], - '8': [ - {'1': '_markdown_documentation'}, - {'1': '_description'}, - ], -}; - -/// Descriptor for `Model`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List modelDescriptor = $convert.base64Decode( - 'CgVNb2RlbBIQCgNhcGkYASABKAlSA2FwaRIUCgVtb2RlbBgCIAEoCVIFbW9kZWwSOgoWbWFya2' - 'Rvd25fZG9jdW1lbnRhdGlvbhgDIAEoCUgAUhVtYXJrZG93bkRvY3VtZW50YXRpb26IAQESJQoL' - 'ZGVzY3JpcHRpb24YBCABKAlIAVILZGVzY3JpcHRpb26IAQESLQoSc3VwcG9ydGVkX2hhcmR3YX' - 'JlGAUgAygJUhFzdXBwb3J0ZWRIYXJkd2FyZUIZChdfbWFya2Rvd25fZG9jdW1lbnRhdGlvbkIO' - 'CgxfZGVzY3JpcHRpb24='); - -@$core.Deprecated('Use moduleFileInfoDescriptor instead') -const ModuleFileInfo$json = { - '1': 'ModuleFileInfo', - '2': [ - {'1': 'module_id', '3': 1, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, - {'1': 'platform', '3': 3, '4': 1, '5': 9, '10': 'platform'}, - {'1': 'platform_tags', '3': 5, '4': 3, '5': 9, '10': 'platformTags'}, - ], -}; - -/// Descriptor for `ModuleFileInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moduleFileInfoDescriptor = $convert.base64Decode( - 'Cg5Nb2R1bGVGaWxlSW5mbxIbCgltb2R1bGVfaWQYASABKAlSCG1vZHVsZUlkEhgKB3ZlcnNpb2' - '4YAiABKAlSB3ZlcnNpb24SGgoIcGxhdGZvcm0YAyABKAlSCHBsYXRmb3JtEiMKDXBsYXRmb3Jt' - 'X3RhZ3MYBSADKAlSDHBsYXRmb3JtVGFncw=='); - -@$core.Deprecated('Use uploadModuleFileRequestDescriptor instead') -const UploadModuleFileRequest$json = { - '1': 'UploadModuleFileRequest', - '2': [ - {'1': 'module_file_info', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.ModuleFileInfo', '9': 0, '10': 'moduleFileInfo'}, - {'1': 'file', '3': 2, '4': 1, '5': 12, '9': 0, '10': 'file'}, - ], - '8': [ - {'1': 'module_file'}, - ], -}; - -/// Descriptor for `UploadModuleFileRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uploadModuleFileRequestDescriptor = $convert.base64Decode( - 'ChdVcGxvYWRNb2R1bGVGaWxlUmVxdWVzdBJHChBtb2R1bGVfZmlsZV9pbmZvGAEgASgLMhsudm' - 'lhbS5hcHAudjEuTW9kdWxlRmlsZUluZm9IAFIObW9kdWxlRmlsZUluZm8SFAoEZmlsZRgCIAEo' - 'DEgAUgRmaWxlQg0KC21vZHVsZV9maWxl'); - -@$core.Deprecated('Use uploadModuleFileResponseDescriptor instead') -const UploadModuleFileResponse$json = { - '1': 'UploadModuleFileResponse', - '2': [ - {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, - ], -}; - -/// Descriptor for `UploadModuleFileResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uploadModuleFileResponseDescriptor = $convert.base64Decode( - 'ChhVcGxvYWRNb2R1bGVGaWxlUmVzcG9uc2USEAoDdXJsGAEgASgJUgN1cmw='); - -@$core.Deprecated('Use getModuleRequestDescriptor instead') -const GetModuleRequest$json = { - '1': 'GetModuleRequest', - '2': [ - {'1': 'module_id', '3': 1, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'include_markdown_documentation', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'includeMarkdownDocumentation', '17': true}, - ], - '8': [ - {'1': '_include_markdown_documentation'}, - ], -}; - -/// Descriptor for `GetModuleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getModuleRequestDescriptor = $convert.base64Decode( - 'ChBHZXRNb2R1bGVSZXF1ZXN0EhsKCW1vZHVsZV9pZBgBIAEoCVIIbW9kdWxlSWQSSQoeaW5jbH' - 'VkZV9tYXJrZG93bl9kb2N1bWVudGF0aW9uGAIgASgISABSHGluY2x1ZGVNYXJrZG93bkRvY3Vt' - 'ZW50YXRpb26IAQFCIQofX2luY2x1ZGVfbWFya2Rvd25fZG9jdW1lbnRhdGlvbg=='); - -@$core.Deprecated('Use getModuleResponseDescriptor instead') -const GetModuleResponse$json = { - '1': 'GetModuleResponse', - '2': [ - {'1': 'module', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Module', '10': 'module'}, - ], -}; - -/// Descriptor for `GetModuleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getModuleResponseDescriptor = $convert.base64Decode( - 'ChFHZXRNb2R1bGVSZXNwb25zZRIrCgZtb2R1bGUYASABKAsyEy52aWFtLmFwcC52MS5Nb2R1bG' - 'VSBm1vZHVsZQ=='); - -@$core.Deprecated('Use moduleDescriptor instead') -const Module$json = { - '1': 'Module', - '2': [ - {'1': 'module_id', '3': 1, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'visibility', '3': 3, '4': 1, '5': 14, '6': '.viam.app.v1.Visibility', '10': 'visibility'}, - {'1': 'versions', '3': 4, '4': 3, '5': 11, '6': '.viam.app.v1.VersionHistory', '10': 'versions'}, - {'1': 'url', '3': 5, '4': 1, '5': 9, '10': 'url'}, - {'1': 'description', '3': 6, '4': 1, '5': 9, '10': 'description'}, - {'1': 'models', '3': 7, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, - {'1': 'total_robot_usage', '3': 8, '4': 1, '5': 3, '10': 'totalRobotUsage'}, - {'1': 'total_organization_usage', '3': 9, '4': 1, '5': 3, '10': 'totalOrganizationUsage'}, - {'1': 'organization_id', '3': 10, '4': 1, '5': 9, '10': 'organizationId'}, - {'1': 'entrypoint', '3': 11, '4': 1, '5': 9, '10': 'entrypoint'}, - {'1': 'public_namespace', '3': 12, '4': 1, '5': 9, '10': 'publicNamespace'}, - {'1': 'first_run', '3': 13, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, - ], - '8': [ - {'1': '_first_run'}, - ], -}; - -/// Descriptor for `Module`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moduleDescriptor = $convert.base64Decode( - 'CgZNb2R1bGUSGwoJbW9kdWxlX2lkGAEgASgJUghtb2R1bGVJZBISCgRuYW1lGAIgASgJUgRuYW' - '1lEjcKCnZpc2liaWxpdHkYAyABKA4yFy52aWFtLmFwcC52MS5WaXNpYmlsaXR5Ugp2aXNpYmls' - 'aXR5EjcKCHZlcnNpb25zGAQgAygLMhsudmlhbS5hcHAudjEuVmVyc2lvbkhpc3RvcnlSCHZlcn' - 'Npb25zEhAKA3VybBgFIAEoCVIDdXJsEiAKC2Rlc2NyaXB0aW9uGAYgASgJUgtkZXNjcmlwdGlv' - 'bhIqCgZtb2RlbHMYByADKAsyEi52aWFtLmFwcC52MS5Nb2RlbFIGbW9kZWxzEioKEXRvdGFsX3' - 'JvYm90X3VzYWdlGAggASgDUg90b3RhbFJvYm90VXNhZ2USOAoYdG90YWxfb3JnYW5pemF0aW9u' - 'X3VzYWdlGAkgASgDUhZ0b3RhbE9yZ2FuaXphdGlvblVzYWdlEicKD29yZ2FuaXphdGlvbl9pZB' - 'gKIAEoCVIOb3JnYW5pemF0aW9uSWQSHgoKZW50cnlwb2ludBgLIAEoCVIKZW50cnlwb2ludBIp' - 'ChBwdWJsaWNfbmFtZXNwYWNlGAwgASgJUg9wdWJsaWNOYW1lc3BhY2USIAoJZmlyc3RfcnVuGA' - '0gASgJSABSCGZpcnN0UnVuiAEBQgwKCl9maXJzdF9ydW4='); - -@$core.Deprecated('Use versionHistoryDescriptor instead') -const VersionHistory$json = { - '1': 'VersionHistory', - '2': [ - {'1': 'version', '3': 1, '4': 1, '5': 9, '10': 'version'}, - {'1': 'files', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.Uploads', '10': 'files'}, - {'1': 'models', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, - {'1': 'entrypoint', '3': 4, '4': 1, '5': 9, '10': 'entrypoint'}, - {'1': 'first_run', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, - ], - '8': [ - {'1': '_first_run'}, - ], -}; - -/// Descriptor for `VersionHistory`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List versionHistoryDescriptor = $convert.base64Decode( - 'Cg5WZXJzaW9uSGlzdG9yeRIYCgd2ZXJzaW9uGAEgASgJUgd2ZXJzaW9uEioKBWZpbGVzGAIgAy' - 'gLMhQudmlhbS5hcHAudjEuVXBsb2Fkc1IFZmlsZXMSKgoGbW9kZWxzGAMgAygLMhIudmlhbS5h' - 'cHAudjEuTW9kZWxSBm1vZGVscxIeCgplbnRyeXBvaW50GAQgASgJUgplbnRyeXBvaW50EiAKCW' - 'ZpcnN0X3J1bhgFIAEoCUgAUghmaXJzdFJ1bogBAUIMCgpfZmlyc3RfcnVu'); - -@$core.Deprecated('Use uploadsDescriptor instead') -const Uploads$json = { - '1': 'Uploads', - '2': [ - {'1': 'platform', '3': 1, '4': 1, '5': 9, '10': 'platform'}, - {'1': 'uploaded_at', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'uploadedAt'}, - ], -}; - -/// Descriptor for `Uploads`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uploadsDescriptor = $convert.base64Decode( - 'CgdVcGxvYWRzEhoKCHBsYXRmb3JtGAEgASgJUghwbGF0Zm9ybRI7Cgt1cGxvYWRlZF9hdBgCIA' - 'EoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCnVwbG9hZGVkQXQ='); - -@$core.Deprecated('Use listModulesRequestDescriptor instead') -const ListModulesRequest$json = { - '1': 'ListModulesRequest', - '2': [ - {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'organizationId', '17': true}, - {'1': 'include_markdown_documentation', '3': 2, '4': 1, '5': 8, '9': 1, '10': 'includeMarkdownDocumentation', '17': true}, - ], - '8': [ - {'1': '_organization_id'}, - {'1': '_include_markdown_documentation'}, - ], -}; - -/// Descriptor for `ListModulesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listModulesRequestDescriptor = $convert.base64Decode( - 'ChJMaXN0TW9kdWxlc1JlcXVlc3QSLAoPb3JnYW5pemF0aW9uX2lkGAEgASgJSABSDm9yZ2FuaX' - 'phdGlvbklkiAEBEkkKHmluY2x1ZGVfbWFya2Rvd25fZG9jdW1lbnRhdGlvbhgCIAEoCEgBUhxp' - 'bmNsdWRlTWFya2Rvd25Eb2N1bWVudGF0aW9uiAEBQhIKEF9vcmdhbml6YXRpb25faWRCIQofX2' - 'luY2x1ZGVfbWFya2Rvd25fZG9jdW1lbnRhdGlvbg=='); - -@$core.Deprecated('Use listModulesResponseDescriptor instead') -const ListModulesResponse$json = { - '1': 'ListModulesResponse', - '2': [ - {'1': 'modules', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Module', '10': 'modules'}, - ], -}; - -/// Descriptor for `ListModulesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listModulesResponseDescriptor = $convert.base64Decode( - 'ChNMaXN0TW9kdWxlc1Jlc3BvbnNlEi0KB21vZHVsZXMYASADKAsyEy52aWFtLmFwcC52MS5Nb2' - 'R1bGVSB21vZHVsZXM='); - -@$core.Deprecated('Use getUserIDByEmailRequestDescriptor instead') -const GetUserIDByEmailRequest$json = { - '1': 'GetUserIDByEmailRequest', - '2': [ - {'1': 'email', '3': 1, '4': 1, '5': 9, '10': 'email'}, - ], -}; - -/// Descriptor for `GetUserIDByEmailRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getUserIDByEmailRequestDescriptor = $convert.base64Decode( - 'ChdHZXRVc2VySURCeUVtYWlsUmVxdWVzdBIUCgVlbWFpbBgBIAEoCVIFZW1haWw='); - -@$core.Deprecated('Use getUserIDByEmailResponseDescriptor instead') -const GetUserIDByEmailResponse$json = { - '1': 'GetUserIDByEmailResponse', - '2': [ - {'1': 'user_id', '3': 1, '4': 1, '5': 9, '10': 'userId'}, - ], -}; - -/// Descriptor for `GetUserIDByEmailResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getUserIDByEmailResponseDescriptor = $convert.base64Decode( - 'ChhHZXRVc2VySURCeUVtYWlsUmVzcG9uc2USFwoHdXNlcl9pZBgBIAEoCVIGdXNlcklk'); - -@$core.Deprecated('Use listOrganizationsByUserRequestDescriptor instead') -const ListOrganizationsByUserRequest$json = { - '1': 'ListOrganizationsByUserRequest', - '2': [ - {'1': 'user_id', '3': 1, '4': 1, '5': 9, '10': 'userId'}, - ], -}; - -/// Descriptor for `ListOrganizationsByUserRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOrganizationsByUserRequestDescriptor = $convert.base64Decode( - 'Ch5MaXN0T3JnYW5pemF0aW9uc0J5VXNlclJlcXVlc3QSFwoHdXNlcl9pZBgBIAEoCVIGdXNlck' - 'lk'); - -@$core.Deprecated('Use orgDetailsDescriptor instead') -const OrgDetails$json = { - '1': 'OrgDetails', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'org_name', '3': 2, '4': 1, '5': 9, '10': 'orgName'}, - {'1': 'org_cid', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'orgCid', '17': true}, - {'1': 'public_namespace', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'publicNamespace', '17': true}, - ], - '8': [ - {'1': '_org_cid'}, - {'1': '_public_namespace'}, - ], -}; - -/// Descriptor for `OrgDetails`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List orgDetailsDescriptor = $convert.base64Decode( - 'CgpPcmdEZXRhaWxzEhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQSGQoIb3JnX25hbWUYAiABKAlSB2' - '9yZ05hbWUSHAoHb3JnX2NpZBgDIAEoCUgAUgZvcmdDaWSIAQESLgoQcHVibGljX25hbWVzcGFj' - 'ZRgEIAEoCUgBUg9wdWJsaWNOYW1lc3BhY2WIAQFCCgoIX29yZ19jaWRCEwoRX3B1YmxpY19uYW' - '1lc3BhY2U='); - -@$core.Deprecated('Use listOrganizationsByUserResponseDescriptor instead') -const ListOrganizationsByUserResponse$json = { - '1': 'ListOrganizationsByUserResponse', - '2': [ - {'1': 'orgs', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.OrgDetails', '10': 'orgs'}, - ], -}; - -/// Descriptor for `ListOrganizationsByUserResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOrganizationsByUserResponseDescriptor = $convert.base64Decode( - 'Ch9MaXN0T3JnYW5pemF0aW9uc0J5VXNlclJlc3BvbnNlEisKBG9yZ3MYASADKAsyFy52aWFtLm' - 'FwcC52MS5PcmdEZXRhaWxzUgRvcmdz'); - -@$core.Deprecated('Use searchOrganizationsRequestDescriptor instead') -const SearchOrganizationsRequest$json = { - '1': 'SearchOrganizationsRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'orgId', '17': true}, - {'1': 'org_name', '3': 2, '4': 1, '5': 9, '9': 1, '10': 'orgName', '17': true}, - {'1': 'cid', '3': 3, '4': 1, '5': 9, '9': 2, '10': 'cid', '17': true}, - {'1': 'public_namespace', '3': 4, '4': 1, '5': 9, '9': 3, '10': 'publicNamespace', '17': true}, - ], - '8': [ - {'1': '_org_id'}, - {'1': '_org_name'}, - {'1': '_cid'}, - {'1': '_public_namespace'}, - ], -}; - -/// Descriptor for `SearchOrganizationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List searchOrganizationsRequestDescriptor = $convert.base64Decode( - 'ChpTZWFyY2hPcmdhbml6YXRpb25zUmVxdWVzdBIaCgZvcmdfaWQYASABKAlIAFIFb3JnSWSIAQ' - 'ESHgoIb3JnX25hbWUYAiABKAlIAVIHb3JnTmFtZYgBARIVCgNjaWQYAyABKAlIAlIDY2lkiAEB' - 'Ei4KEHB1YmxpY19uYW1lc3BhY2UYBCABKAlIA1IPcHVibGljTmFtZXNwYWNliAEBQgkKB19vcm' - 'dfaWRCCwoJX29yZ19uYW1lQgYKBF9jaWRCEwoRX3B1YmxpY19uYW1lc3BhY2U='); - -@$core.Deprecated('Use searchOrganizationsResponseDescriptor instead') -const SearchOrganizationsResponse$json = { - '1': 'SearchOrganizationsResponse', - '2': [ - {'1': 'organizations', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.OrgDetails', '10': 'organizations'}, - ], -}; - -/// Descriptor for `SearchOrganizationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List searchOrganizationsResponseDescriptor = $convert.base64Decode( - 'ChtTZWFyY2hPcmdhbml6YXRpb25zUmVzcG9uc2USPQoNb3JnYW5pemF0aW9ucxgBIAMoCzIXLn' - 'ZpYW0uYXBwLnYxLk9yZ0RldGFpbHNSDW9yZ2FuaXphdGlvbnM='); - -@$core.Deprecated('Use createKeyRequestDescriptor instead') -const CreateKeyRequest$json = { - '1': 'CreateKeyRequest', - '2': [ - {'1': 'authorizations', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Authorization', '10': 'authorizations'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `CreateKeyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createKeyRequestDescriptor = $convert.base64Decode( - 'ChBDcmVhdGVLZXlSZXF1ZXN0EkIKDmF1dGhvcml6YXRpb25zGAEgAygLMhoudmlhbS5hcHAudj' - 'EuQXV0aG9yaXphdGlvblIOYXV0aG9yaXphdGlvbnMSEgoEbmFtZRgCIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use createKeyResponseDescriptor instead') -const CreateKeyResponse$json = { - '1': 'CreateKeyResponse', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'id', '3': 2, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `CreateKeyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createKeyResponseDescriptor = $convert.base64Decode( - 'ChFDcmVhdGVLZXlSZXNwb25zZRIQCgNrZXkYASABKAlSA2tleRIOCgJpZBgCIAEoCVICaWQ='); - -@$core.Deprecated('Use deleteKeyRequestDescriptor instead') -const DeleteKeyRequest$json = { - '1': 'DeleteKeyRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `DeleteKeyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteKeyRequestDescriptor = $convert.base64Decode( - 'ChBEZWxldGVLZXlSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use deleteKeyResponseDescriptor instead') -const DeleteKeyResponse$json = { - '1': 'DeleteKeyResponse', -}; - -/// Descriptor for `DeleteKeyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteKeyResponseDescriptor = $convert.base64Decode( - 'ChFEZWxldGVLZXlSZXNwb25zZQ=='); - -@$core.Deprecated('Use renameKeyRequestDescriptor instead') -const RenameKeyRequest$json = { - '1': 'RenameKeyRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `RenameKeyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List renameKeyRequestDescriptor = $convert.base64Decode( - 'ChBSZW5hbWVLZXlSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1l'); - -@$core.Deprecated('Use renameKeyResponseDescriptor instead') -const RenameKeyResponse$json = { - '1': 'RenameKeyResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `RenameKeyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List renameKeyResponseDescriptor = $convert.base64Decode( - 'ChFSZW5hbWVLZXlSZXNwb25zZRIOCgJpZBgBIAEoCVICaWQSEgoEbmFtZRgCIAEoCVIEbmFtZQ' - '=='); - -@$core.Deprecated('Use authorizationDetailsDescriptor instead') -const AuthorizationDetails$json = { - '1': 'AuthorizationDetails', - '2': [ - {'1': 'authorization_type', '3': 1, '4': 1, '5': 9, '10': 'authorizationType'}, - {'1': 'authorization_id', '3': 2, '4': 1, '5': 9, '10': 'authorizationId'}, - {'1': 'resource_type', '3': 3, '4': 1, '5': 9, '10': 'resourceType'}, - {'1': 'resource_id', '3': 4, '4': 1, '5': 9, '10': 'resourceId'}, - {'1': 'org_id', '3': 5, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `AuthorizationDetails`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authorizationDetailsDescriptor = $convert.base64Decode( - 'ChRBdXRob3JpemF0aW9uRGV0YWlscxItChJhdXRob3JpemF0aW9uX3R5cGUYASABKAlSEWF1dG' - 'hvcml6YXRpb25UeXBlEikKEGF1dGhvcml6YXRpb25faWQYAiABKAlSD2F1dGhvcml6YXRpb25J' - 'ZBIjCg1yZXNvdXJjZV90eXBlGAMgASgJUgxyZXNvdXJjZVR5cGUSHwoLcmVzb3VyY2VfaWQYBC' - 'ABKAlSCnJlc291cmNlSWQSFQoGb3JnX2lkGAUgASgJUgVvcmdJZA=='); - -@$core.Deprecated('Use aPIKeyWithAuthorizationsDescriptor instead') -const APIKeyWithAuthorizations$json = { - '1': 'APIKeyWithAuthorizations', - '2': [ - {'1': 'api_key', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.APIKey', '10': 'apiKey'}, - {'1': 'authorizations', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.AuthorizationDetails', '10': 'authorizations'}, - ], -}; - -/// Descriptor for `APIKeyWithAuthorizations`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List aPIKeyWithAuthorizationsDescriptor = $convert.base64Decode( - 'ChhBUElLZXlXaXRoQXV0aG9yaXphdGlvbnMSLAoHYXBpX2tleRgBIAEoCzITLnZpYW0uYXBwLn' - 'YxLkFQSUtleVIGYXBpS2V5EkkKDmF1dGhvcml6YXRpb25zGAIgAygLMiEudmlhbS5hcHAudjEu' - 'QXV0aG9yaXphdGlvbkRldGFpbHNSDmF1dGhvcml6YXRpb25z'); - -@$core.Deprecated('Use listKeysRequestDescriptor instead') -const ListKeysRequest$json = { - '1': 'ListKeysRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `ListKeysRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listKeysRequestDescriptor = $convert.base64Decode( - 'Cg9MaXN0S2V5c1JlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZA=='); - -@$core.Deprecated('Use listKeysResponseDescriptor instead') -const ListKeysResponse$json = { - '1': 'ListKeysResponse', - '2': [ - {'1': 'api_keys', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.APIKeyWithAuthorizations', '10': 'apiKeys'}, - ], -}; - -/// Descriptor for `ListKeysResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listKeysResponseDescriptor = $convert.base64Decode( - 'ChBMaXN0S2V5c1Jlc3BvbnNlEkAKCGFwaV9rZXlzGAEgAygLMiUudmlhbS5hcHAudjEuQVBJS2' - 'V5V2l0aEF1dGhvcml6YXRpb25zUgdhcGlLZXlz'); - -@$core.Deprecated('Use rotateKeyRequestDescriptor instead') -const RotateKeyRequest$json = { - '1': 'RotateKeyRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `RotateKeyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rotateKeyRequestDescriptor = $convert.base64Decode( - 'ChBSb3RhdGVLZXlSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use rotateKeyResponseDescriptor instead') -const RotateKeyResponse$json = { - '1': 'RotateKeyResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'key', '3': 2, '4': 1, '5': 9, '10': 'key'}, - ], -}; - -/// Descriptor for `RotateKeyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rotateKeyResponseDescriptor = $convert.base64Decode( - 'ChFSb3RhdGVLZXlSZXNwb25zZRIOCgJpZBgBIAEoCVICaWQSEAoDa2V5GAIgASgJUgNrZXk='); - -@$core.Deprecated('Use createKeyFromExistingKeyAuthorizationsRequestDescriptor instead') -const CreateKeyFromExistingKeyAuthorizationsRequest$json = { - '1': 'CreateKeyFromExistingKeyAuthorizationsRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `CreateKeyFromExistingKeyAuthorizationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createKeyFromExistingKeyAuthorizationsRequestDescriptor = $convert.base64Decode( - 'Ci1DcmVhdGVLZXlGcm9tRXhpc3RpbmdLZXlBdXRob3JpemF0aW9uc1JlcXVlc3QSDgoCaWQYAS' - 'ABKAlSAmlk'); - -@$core.Deprecated('Use createKeyFromExistingKeyAuthorizationsResponseDescriptor instead') -const CreateKeyFromExistingKeyAuthorizationsResponse$json = { - '1': 'CreateKeyFromExistingKeyAuthorizationsResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'key', '3': 2, '4': 1, '5': 9, '10': 'key'}, - ], -}; - -/// Descriptor for `CreateKeyFromExistingKeyAuthorizationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createKeyFromExistingKeyAuthorizationsResponseDescriptor = $convert.base64Decode( - 'Ci5DcmVhdGVLZXlGcm9tRXhpc3RpbmdLZXlBdXRob3JpemF0aW9uc1Jlc3BvbnNlEg4KAmlkGA' - 'EgASgJUgJpZBIQCgNrZXkYAiABKAlSA2tleQ=='); - -@$core.Deprecated('Use getAppContentRequestDescriptor instead') -const GetAppContentRequest$json = { - '1': 'GetAppContentRequest', - '2': [ - {'1': 'public_namespace', '3': 1, '4': 1, '5': 9, '10': 'publicNamespace'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetAppContentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAppContentRequestDescriptor = $convert.base64Decode( - 'ChRHZXRBcHBDb250ZW50UmVxdWVzdBIpChBwdWJsaWNfbmFtZXNwYWNlGAEgASgJUg9wdWJsaW' - 'NOYW1lc3BhY2USEgoEbmFtZRgCIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use getAppContentResponseDescriptor instead') -const GetAppContentResponse$json = { - '1': 'GetAppContentResponse', - '2': [ - {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, - ], -}; - -/// Descriptor for `GetAppContentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAppContentResponseDescriptor = $convert.base64Decode( - 'ChVHZXRBcHBDb250ZW50UmVzcG9uc2USEAoDdXJsGAEgASgJUgN1cmw='); - -@$core.Deprecated('Use organizationSetLogoRequestDescriptor instead') -const OrganizationSetLogoRequest$json = { - '1': 'OrganizationSetLogoRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'logo', '3': 2, '4': 1, '5': 12, '10': 'logo'}, - ], -}; - -/// Descriptor for `OrganizationSetLogoRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationSetLogoRequestDescriptor = $convert.base64Decode( - 'ChpPcmdhbml6YXRpb25TZXRMb2dvUmVxdWVzdBIVCgZvcmdfaWQYASABKAlSBW9yZ0lkEhIKBG' - 'xvZ28YAiABKAxSBGxvZ28='); - -@$core.Deprecated('Use organizationSetLogoResponseDescriptor instead') -const OrganizationSetLogoResponse$json = { - '1': 'OrganizationSetLogoResponse', -}; - -/// Descriptor for `OrganizationSetLogoResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationSetLogoResponseDescriptor = $convert.base64Decode( - 'ChtPcmdhbml6YXRpb25TZXRMb2dvUmVzcG9uc2U='); - -@$core.Deprecated('Use organizationGetLogoRequestDescriptor instead') -const OrganizationGetLogoRequest$json = { - '1': 'OrganizationGetLogoRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `OrganizationGetLogoRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationGetLogoRequestDescriptor = $convert.base64Decode( - 'ChpPcmdhbml6YXRpb25HZXRMb2dvUmVxdWVzdBIVCgZvcmdfaWQYASABKAlSBW9yZ0lk'); - -@$core.Deprecated('Use organizationGetLogoResponseDescriptor instead') -const OrganizationGetLogoResponse$json = { - '1': 'OrganizationGetLogoResponse', - '2': [ - {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, - ], -}; - -/// Descriptor for `OrganizationGetLogoResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List organizationGetLogoResponseDescriptor = $convert.base64Decode( - 'ChtPcmdhbml6YXRpb25HZXRMb2dvUmVzcG9uc2USEAoDdXJsGAEgASgJUgN1cmw='); - -@$core.Deprecated('Use enableAuthServiceRequestDescriptor instead') -const EnableAuthServiceRequest$json = { - '1': 'EnableAuthServiceRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `EnableAuthServiceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enableAuthServiceRequestDescriptor = $convert.base64Decode( - 'ChhFbmFibGVBdXRoU2VydmljZVJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZA=='); - -@$core.Deprecated('Use enableAuthServiceResponseDescriptor instead') -const EnableAuthServiceResponse$json = { - '1': 'EnableAuthServiceResponse', -}; - -/// Descriptor for `EnableAuthServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enableAuthServiceResponseDescriptor = $convert.base64Decode( - 'ChlFbmFibGVBdXRoU2VydmljZVJlc3BvbnNl'); - -@$core.Deprecated('Use disableAuthServiceRequestDescriptor instead') -const DisableAuthServiceRequest$json = { - '1': 'DisableAuthServiceRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `DisableAuthServiceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disableAuthServiceRequestDescriptor = $convert.base64Decode( - 'ChlEaXNhYmxlQXV0aFNlcnZpY2VSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQ='); - -@$core.Deprecated('Use disableAuthServiceResponseDescriptor instead') -const DisableAuthServiceResponse$json = { - '1': 'DisableAuthServiceResponse', -}; - -/// Descriptor for `DisableAuthServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List disableAuthServiceResponseDescriptor = $convert.base64Decode( - 'ChpEaXNhYmxlQXV0aFNlcnZpY2VSZXNwb25zZQ=='); - -@$core.Deprecated('Use createOAuthAppRequestDescriptor instead') -const CreateOAuthAppRequest$json = { - '1': 'CreateOAuthAppRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'client_name', '3': 2, '4': 1, '5': 9, '10': 'clientName'}, - {'1': 'oauth_config', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.OAuthConfig', '10': 'oauthConfig'}, - ], -}; - -/// Descriptor for `CreateOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createOAuthAppRequestDescriptor = $convert.base64Decode( - 'ChVDcmVhdGVPQXV0aEFwcFJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBIfCgtjbGllbn' - 'RfbmFtZRgCIAEoCVIKY2xpZW50TmFtZRI7CgxvYXV0aF9jb25maWcYAyABKAsyGC52aWFtLmFw' - 'cC52MS5PQXV0aENvbmZpZ1ILb2F1dGhDb25maWc='); - -@$core.Deprecated('Use createOAuthAppResponseDescriptor instead') -const CreateOAuthAppResponse$json = { - '1': 'CreateOAuthAppResponse', - '2': [ - {'1': 'client_id', '3': 1, '4': 1, '5': 9, '10': 'clientId'}, - {'1': 'client_secret', '3': 2, '4': 1, '5': 9, '10': 'clientSecret'}, - ], -}; - -/// Descriptor for `CreateOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List createOAuthAppResponseDescriptor = $convert.base64Decode( - 'ChZDcmVhdGVPQXV0aEFwcFJlc3BvbnNlEhsKCWNsaWVudF9pZBgBIAEoCVIIY2xpZW50SWQSIw' - 'oNY2xpZW50X3NlY3JldBgCIAEoCVIMY2xpZW50U2VjcmV0'); - -@$core.Deprecated('Use readOAuthAppRequestDescriptor instead') -const ReadOAuthAppRequest$json = { - '1': 'ReadOAuthAppRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'client_id', '3': 2, '4': 1, '5': 9, '10': 'clientId'}, - ], -}; - -/// Descriptor for `ReadOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readOAuthAppRequestDescriptor = $convert.base64Decode( - 'ChNSZWFkT0F1dGhBcHBSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQSGwoJY2xpZW50X2' - 'lkGAIgASgJUghjbGllbnRJZA=='); - -@$core.Deprecated('Use readOAuthAppResponseDescriptor instead') -const ReadOAuthAppResponse$json = { - '1': 'ReadOAuthAppResponse', - '2': [ - {'1': 'client_name', '3': 1, '4': 1, '5': 9, '10': 'clientName'}, - {'1': 'client_secret', '3': 2, '4': 1, '5': 9, '10': 'clientSecret'}, - {'1': 'oauth_config', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.OAuthConfig', '10': 'oauthConfig'}, - ], -}; - -/// Descriptor for `ReadOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readOAuthAppResponseDescriptor = $convert.base64Decode( - 'ChRSZWFkT0F1dGhBcHBSZXNwb25zZRIfCgtjbGllbnRfbmFtZRgBIAEoCVIKY2xpZW50TmFtZR' - 'IjCg1jbGllbnRfc2VjcmV0GAIgASgJUgxjbGllbnRTZWNyZXQSOwoMb2F1dGhfY29uZmlnGAMg' - 'ASgLMhgudmlhbS5hcHAudjEuT0F1dGhDb25maWdSC29hdXRoQ29uZmln'); - -@$core.Deprecated('Use updateOAuthAppRequestDescriptor instead') -const UpdateOAuthAppRequest$json = { - '1': 'UpdateOAuthAppRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'client_id', '3': 2, '4': 1, '5': 9, '10': 'clientId'}, - {'1': 'client_name', '3': 3, '4': 1, '5': 9, '10': 'clientName'}, - {'1': 'oauth_config', '3': 4, '4': 1, '5': 11, '6': '.viam.app.v1.OAuthConfig', '10': 'oauthConfig'}, - ], -}; - -/// Descriptor for `UpdateOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOAuthAppRequestDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVPQXV0aEFwcFJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBIbCgljbGllbn' - 'RfaWQYAiABKAlSCGNsaWVudElkEh8KC2NsaWVudF9uYW1lGAMgASgJUgpjbGllbnROYW1lEjsK' - 'DG9hdXRoX2NvbmZpZxgEIAEoCzIYLnZpYW0uYXBwLnYxLk9BdXRoQ29uZmlnUgtvYXV0aENvbm' - 'ZpZw=='); - -@$core.Deprecated('Use updateOAuthAppResponseDescriptor instead') -const UpdateOAuthAppResponse$json = { - '1': 'UpdateOAuthAppResponse', -}; - -/// Descriptor for `UpdateOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateOAuthAppResponseDescriptor = $convert.base64Decode( - 'ChZVcGRhdGVPQXV0aEFwcFJlc3BvbnNl'); - -@$core.Deprecated('Use deleteOAuthAppRequestDescriptor instead') -const DeleteOAuthAppRequest$json = { - '1': 'DeleteOAuthAppRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'client_id', '3': 2, '4': 1, '5': 9, '10': 'clientId'}, - ], -}; - -/// Descriptor for `DeleteOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOAuthAppRequestDescriptor = $convert.base64Decode( - 'ChVEZWxldGVPQXV0aEFwcFJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBIbCgljbGllbn' - 'RfaWQYAiABKAlSCGNsaWVudElk'); - -@$core.Deprecated('Use deleteOAuthAppResponseDescriptor instead') -const DeleteOAuthAppResponse$json = { - '1': 'DeleteOAuthAppResponse', -}; - -/// Descriptor for `DeleteOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOAuthAppResponseDescriptor = $convert.base64Decode( - 'ChZEZWxldGVPQXV0aEFwcFJlc3BvbnNl'); - -@$core.Deprecated('Use listOAuthAppsRequestDescriptor instead') -const ListOAuthAppsRequest$json = { - '1': 'ListOAuthAppsRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `ListOAuthAppsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOAuthAppsRequestDescriptor = $convert.base64Decode( - 'ChRMaXN0T0F1dGhBcHBzUmVxdWVzdBIVCgZvcmdfaWQYASABKAlSBW9yZ0lk'); - -@$core.Deprecated('Use listOAuthAppsResponseDescriptor instead') -const ListOAuthAppsResponse$json = { - '1': 'ListOAuthAppsResponse', - '2': [ - {'1': 'client_ids', '3': 1, '4': 3, '5': 9, '10': 'clientIds'}, - ], -}; - -/// Descriptor for `ListOAuthAppsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOAuthAppsResponseDescriptor = $convert.base64Decode( - 'ChVMaXN0T0F1dGhBcHBzUmVzcG9uc2USHQoKY2xpZW50X2lkcxgBIAMoCVIJY2xpZW50SWRz'); - -@$core.Deprecated('Use oAuthConfigDescriptor instead') -const OAuthConfig$json = { - '1': 'OAuthConfig', - '2': [ - {'1': 'client_authentication', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.ClientAuthentication', '10': 'clientAuthentication'}, - {'1': 'pkce', '3': 2, '4': 1, '5': 14, '6': '.viam.app.v1.PKCE', '10': 'pkce'}, - {'1': 'url_validation', '3': 3, '4': 1, '5': 14, '6': '.viam.app.v1.URLValidation', '10': 'urlValidation'}, - {'1': 'origin_uris', '3': 4, '4': 3, '5': 9, '10': 'originUris'}, - {'1': 'redirect_uris', '3': 5, '4': 3, '5': 9, '10': 'redirectUris'}, - {'1': 'logout_uri', '3': 6, '4': 1, '5': 9, '10': 'logoutUri'}, - {'1': 'enabled_grants', '3': 7, '4': 3, '5': 14, '6': '.viam.app.v1.EnabledGrant', '10': 'enabledGrants'}, - ], -}; - -/// Descriptor for `OAuthConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List oAuthConfigDescriptor = $convert.base64Decode( - 'CgtPQXV0aENvbmZpZxJWChVjbGllbnRfYXV0aGVudGljYXRpb24YASABKA4yIS52aWFtLmFwcC' - '52MS5DbGllbnRBdXRoZW50aWNhdGlvblIUY2xpZW50QXV0aGVudGljYXRpb24SJQoEcGtjZRgC' - 'IAEoDjIRLnZpYW0uYXBwLnYxLlBLQ0VSBHBrY2USQQoOdXJsX3ZhbGlkYXRpb24YAyABKA4yGi' - '52aWFtLmFwcC52MS5VUkxWYWxpZGF0aW9uUg11cmxWYWxpZGF0aW9uEh8KC29yaWdpbl91cmlz' - 'GAQgAygJUgpvcmlnaW5VcmlzEiMKDXJlZGlyZWN0X3VyaXMYBSADKAlSDHJlZGlyZWN0VXJpcx' - 'IdCgpsb2dvdXRfdXJpGAYgASgJUglsb2dvdXRVcmkSQAoOZW5hYmxlZF9ncmFudHMYByADKA4y' - 'GS52aWFtLmFwcC52MS5FbmFibGVkR3JhbnRSDWVuYWJsZWRHcmFudHM='); - diff --git a/lib/src/gen/app/v1/billing.pb.dart b/lib/src/gen/app/v1/billing.pb.dart deleted file mode 100644 index 99f6276f2ef..00000000000 --- a/lib/src/gen/app/v1/billing.pb.dart +++ /dev/null @@ -1,1270 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/billing.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../google/protobuf/timestamp.pb.dart' as $47; -import 'billing.pbenum.dart'; - -export 'billing.pbenum.dart'; - -class InvoiceSummary extends $pb.GeneratedMessage { - factory InvoiceSummary({ - $core.String? id, - $47.Timestamp? invoiceDate, - $core.double? invoiceAmount, - $core.String? status, - $47.Timestamp? dueDate, - $47.Timestamp? paidDate, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (invoiceDate != null) { - $result.invoiceDate = invoiceDate; - } - if (invoiceAmount != null) { - $result.invoiceAmount = invoiceAmount; - } - if (status != null) { - $result.status = status; - } - if (dueDate != null) { - $result.dueDate = dueDate; - } - if (paidDate != null) { - $result.paidDate = paidDate; - } - return $result; - } - InvoiceSummary._() : super(); - factory InvoiceSummary.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory InvoiceSummary.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InvoiceSummary', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $47.Timestamp.create) - ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) - ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$47.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - InvoiceSummary clone() => InvoiceSummary()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - InvoiceSummary copyWith(void Function(InvoiceSummary) updates) => super.copyWith((message) => updates(message as InvoiceSummary)) as InvoiceSummary; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static InvoiceSummary create() => InvoiceSummary._(); - InvoiceSummary createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static InvoiceSummary getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static InvoiceSummary? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $47.Timestamp get invoiceDate => $_getN(1); - @$pb.TagNumber(2) - set invoiceDate($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasInvoiceDate() => $_has(1); - @$pb.TagNumber(2) - void clearInvoiceDate() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureInvoiceDate() => $_ensure(1); - - @$pb.TagNumber(3) - $core.double get invoiceAmount => $_getN(2); - @$pb.TagNumber(3) - set invoiceAmount($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasInvoiceAmount() => $_has(2); - @$pb.TagNumber(3) - void clearInvoiceAmount() => clearField(3); - - @$pb.TagNumber(4) - $core.String get status => $_getSZ(3); - @$pb.TagNumber(4) - set status($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasStatus() => $_has(3); - @$pb.TagNumber(4) - void clearStatus() => clearField(4); - - @$pb.TagNumber(5) - $47.Timestamp get dueDate => $_getN(4); - @$pb.TagNumber(5) - set dueDate($47.Timestamp v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasDueDate() => $_has(4); - @$pb.TagNumber(5) - void clearDueDate() => clearField(5); - @$pb.TagNumber(5) - $47.Timestamp ensureDueDate() => $_ensure(4); - - @$pb.TagNumber(6) - $47.Timestamp get paidDate => $_getN(5); - @$pb.TagNumber(6) - set paidDate($47.Timestamp v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasPaidDate() => $_has(5); - @$pb.TagNumber(6) - void clearPaidDate() => clearField(6); - @$pb.TagNumber(6) - $47.Timestamp ensurePaidDate() => $_ensure(5); -} - -class PaymentMethodCard extends $pb.GeneratedMessage { - factory PaymentMethodCard({ - $core.String? brand, - $core.String? lastFourDigits, - }) { - final $result = create(); - if (brand != null) { - $result.brand = brand; - } - if (lastFourDigits != null) { - $result.lastFourDigits = lastFourDigits; - } - return $result; - } - PaymentMethodCard._() : super(); - factory PaymentMethodCard.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PaymentMethodCard.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PaymentMethodCard', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'brand') - ..aOS(2, _omitFieldNames ? '' : 'lastFourDigits') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PaymentMethodCard clone() => PaymentMethodCard()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PaymentMethodCard copyWith(void Function(PaymentMethodCard) updates) => super.copyWith((message) => updates(message as PaymentMethodCard)) as PaymentMethodCard; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PaymentMethodCard create() => PaymentMethodCard._(); - PaymentMethodCard createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PaymentMethodCard getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PaymentMethodCard? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get brand => $_getSZ(0); - @$pb.TagNumber(1) - set brand($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBrand() => $_has(0); - @$pb.TagNumber(1) - void clearBrand() => clearField(1); - - @$pb.TagNumber(2) - $core.String get lastFourDigits => $_getSZ(1); - @$pb.TagNumber(2) - set lastFourDigits($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLastFourDigits() => $_has(1); - @$pb.TagNumber(2) - void clearLastFourDigits() => clearField(2); -} - -class GetCurrentMonthUsageRequest extends $pb.GeneratedMessage { - factory GetCurrentMonthUsageRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - GetCurrentMonthUsageRequest._() : super(); - factory GetCurrentMonthUsageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCurrentMonthUsageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCurrentMonthUsageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCurrentMonthUsageRequest clone() => GetCurrentMonthUsageRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCurrentMonthUsageRequest copyWith(void Function(GetCurrentMonthUsageRequest) updates) => super.copyWith((message) => updates(message as GetCurrentMonthUsageRequest)) as GetCurrentMonthUsageRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCurrentMonthUsageRequest create() => GetCurrentMonthUsageRequest._(); - GetCurrentMonthUsageRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCurrentMonthUsageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCurrentMonthUsageRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class UsageCost extends $pb.GeneratedMessage { - factory UsageCost({ - UsageCostType? resourceType, - $core.double? cost, - }) { - final $result = create(); - if (resourceType != null) { - $result.resourceType = resourceType; - } - if (cost != null) { - $result.cost = cost; - } - return $result; - } - UsageCost._() : super(); - factory UsageCost.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UsageCost.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UsageCost', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'resourceType', $pb.PbFieldType.OE, defaultOrMaker: UsageCostType.USAGE_COST_TYPE_UNSPECIFIED, valueOf: UsageCostType.valueOf, enumValues: UsageCostType.values) - ..a<$core.double>(2, _omitFieldNames ? '' : 'cost', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UsageCost clone() => UsageCost()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UsageCost copyWith(void Function(UsageCost) updates) => super.copyWith((message) => updates(message as UsageCost)) as UsageCost; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UsageCost create() => UsageCost._(); - UsageCost createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UsageCost getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UsageCost? _defaultInstance; - - @$pb.TagNumber(1) - UsageCostType get resourceType => $_getN(0); - @$pb.TagNumber(1) - set resourceType(UsageCostType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasResourceType() => $_has(0); - @$pb.TagNumber(1) - void clearResourceType() => clearField(1); - - @$pb.TagNumber(2) - $core.double get cost => $_getN(1); - @$pb.TagNumber(2) - set cost($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasCost() => $_has(1); - @$pb.TagNumber(2) - void clearCost() => clearField(2); -} - -class ResourceUsageCostsBySource extends $pb.GeneratedMessage { - factory ResourceUsageCostsBySource({ - SourceType? sourceType, - ResourceUsageCosts? resourceUsageCosts, - $core.String? tierName, - }) { - final $result = create(); - if (sourceType != null) { - $result.sourceType = sourceType; - } - if (resourceUsageCosts != null) { - $result.resourceUsageCosts = resourceUsageCosts; - } - if (tierName != null) { - $result.tierName = tierName; - } - return $result; - } - ResourceUsageCostsBySource._() : super(); - factory ResourceUsageCostsBySource.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceUsageCostsBySource.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceUsageCostsBySource', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'sourceType', $pb.PbFieldType.OE, defaultOrMaker: SourceType.SOURCE_TYPE_UNSPECIFIED, valueOf: SourceType.valueOf, enumValues: SourceType.values) - ..aOM(2, _omitFieldNames ? '' : 'resourceUsageCosts', subBuilder: ResourceUsageCosts.create) - ..aOS(3, _omitFieldNames ? '' : 'tierName') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceUsageCostsBySource clone() => ResourceUsageCostsBySource()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceUsageCostsBySource copyWith(void Function(ResourceUsageCostsBySource) updates) => super.copyWith((message) => updates(message as ResourceUsageCostsBySource)) as ResourceUsageCostsBySource; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceUsageCostsBySource create() => ResourceUsageCostsBySource._(); - ResourceUsageCostsBySource createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceUsageCostsBySource getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceUsageCostsBySource? _defaultInstance; - - @$pb.TagNumber(1) - SourceType get sourceType => $_getN(0); - @$pb.TagNumber(1) - set sourceType(SourceType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSourceType() => $_has(0); - @$pb.TagNumber(1) - void clearSourceType() => clearField(1); - - @$pb.TagNumber(2) - ResourceUsageCosts get resourceUsageCosts => $_getN(1); - @$pb.TagNumber(2) - set resourceUsageCosts(ResourceUsageCosts v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasResourceUsageCosts() => $_has(1); - @$pb.TagNumber(2) - void clearResourceUsageCosts() => clearField(2); - @$pb.TagNumber(2) - ResourceUsageCosts ensureResourceUsageCosts() => $_ensure(1); - - @$pb.TagNumber(3) - $core.String get tierName => $_getSZ(2); - @$pb.TagNumber(3) - set tierName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasTierName() => $_has(2); - @$pb.TagNumber(3) - void clearTierName() => clearField(3); -} - -class ResourceUsageCosts extends $pb.GeneratedMessage { - factory ResourceUsageCosts({ - $core.Iterable? usageCosts, - $core.double? discount, - $core.double? totalWithDiscount, - $core.double? totalWithoutDiscount, - }) { - final $result = create(); - if (usageCosts != null) { - $result.usageCosts.addAll(usageCosts); - } - if (discount != null) { - $result.discount = discount; - } - if (totalWithDiscount != null) { - $result.totalWithDiscount = totalWithDiscount; - } - if (totalWithoutDiscount != null) { - $result.totalWithoutDiscount = totalWithoutDiscount; - } - return $result; - } - ResourceUsageCosts._() : super(); - factory ResourceUsageCosts.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceUsageCosts.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceUsageCosts', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'usageCosts', $pb.PbFieldType.PM, subBuilder: UsageCost.create) - ..a<$core.double>(2, _omitFieldNames ? '' : 'discount', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'totalWithDiscount', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'totalWithoutDiscount', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceUsageCosts clone() => ResourceUsageCosts()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceUsageCosts copyWith(void Function(ResourceUsageCosts) updates) => super.copyWith((message) => updates(message as ResourceUsageCosts)) as ResourceUsageCosts; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceUsageCosts create() => ResourceUsageCosts._(); - ResourceUsageCosts createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceUsageCosts getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceUsageCosts? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get usageCosts => $_getList(0); - - @$pb.TagNumber(2) - $core.double get discount => $_getN(1); - @$pb.TagNumber(2) - set discount($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasDiscount() => $_has(1); - @$pb.TagNumber(2) - void clearDiscount() => clearField(2); - - @$pb.TagNumber(3) - $core.double get totalWithDiscount => $_getN(2); - @$pb.TagNumber(3) - set totalWithDiscount($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasTotalWithDiscount() => $_has(2); - @$pb.TagNumber(3) - void clearTotalWithDiscount() => clearField(3); - - @$pb.TagNumber(4) - $core.double get totalWithoutDiscount => $_getN(3); - @$pb.TagNumber(4) - set totalWithoutDiscount($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasTotalWithoutDiscount() => $_has(3); - @$pb.TagNumber(4) - void clearTotalWithoutDiscount() => clearField(4); -} - -class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { - factory GetCurrentMonthUsageResponse({ - $47.Timestamp? startDate, - $47.Timestamp? endDate, - @$core.Deprecated('This field is deprecated.') - $core.double? cloudStorageUsageCost, - @$core.Deprecated('This field is deprecated.') - $core.double? dataUploadUsageCost, - @$core.Deprecated('This field is deprecated.') - $core.double? dataEgresUsageCost, - @$core.Deprecated('This field is deprecated.') - $core.double? remoteControlUsageCost, - @$core.Deprecated('This field is deprecated.') - $core.double? standardComputeUsageCost, - @$core.Deprecated('This field is deprecated.') - $core.double? discountAmount, - @$core.Deprecated('This field is deprecated.') - $core.double? totalUsageWithDiscount, - @$core.Deprecated('This field is deprecated.') - $core.double? totalUsageWithoutDiscount, - @$core.Deprecated('This field is deprecated.') - $core.double? perMachineUsageCost, - @$core.Deprecated('This field is deprecated.') - $core.double? binaryDataCloudStorageUsageCost, - @$core.Deprecated('This field is deprecated.') - $core.double? otherCloudStorageUsageCost, - $core.Iterable? resourceUsageCostsBySource, - $core.double? subtotal, - }) { - final $result = create(); - if (startDate != null) { - $result.startDate = startDate; - } - if (endDate != null) { - $result.endDate = endDate; - } - if (cloudStorageUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.cloudStorageUsageCost = cloudStorageUsageCost; - } - if (dataUploadUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.dataUploadUsageCost = dataUploadUsageCost; - } - if (dataEgresUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.dataEgresUsageCost = dataEgresUsageCost; - } - if (remoteControlUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.remoteControlUsageCost = remoteControlUsageCost; - } - if (standardComputeUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.standardComputeUsageCost = standardComputeUsageCost; - } - if (discountAmount != null) { - // ignore: deprecated_member_use_from_same_package - $result.discountAmount = discountAmount; - } - if (totalUsageWithDiscount != null) { - // ignore: deprecated_member_use_from_same_package - $result.totalUsageWithDiscount = totalUsageWithDiscount; - } - if (totalUsageWithoutDiscount != null) { - // ignore: deprecated_member_use_from_same_package - $result.totalUsageWithoutDiscount = totalUsageWithoutDiscount; - } - if (perMachineUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.perMachineUsageCost = perMachineUsageCost; - } - if (binaryDataCloudStorageUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.binaryDataCloudStorageUsageCost = binaryDataCloudStorageUsageCost; - } - if (otherCloudStorageUsageCost != null) { - // ignore: deprecated_member_use_from_same_package - $result.otherCloudStorageUsageCost = otherCloudStorageUsageCost; - } - if (resourceUsageCostsBySource != null) { - $result.resourceUsageCostsBySource.addAll(resourceUsageCostsBySource); - } - if (subtotal != null) { - $result.subtotal = subtotal; - } - return $result; - } - GetCurrentMonthUsageResponse._() : super(); - factory GetCurrentMonthUsageResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCurrentMonthUsageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCurrentMonthUsageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $47.Timestamp.create) - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $47.Timestamp.create) - ..a<$core.double>(3, _omitFieldNames ? '' : 'cloudStorageUsageCost', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'dataUploadUsageCost', $pb.PbFieldType.OD) - ..a<$core.double>(5, _omitFieldNames ? '' : 'dataEgresUsageCost', $pb.PbFieldType.OD) - ..a<$core.double>(6, _omitFieldNames ? '' : 'remoteControlUsageCost', $pb.PbFieldType.OD) - ..a<$core.double>(7, _omitFieldNames ? '' : 'standardComputeUsageCost', $pb.PbFieldType.OD) - ..a<$core.double>(8, _omitFieldNames ? '' : 'discountAmount', $pb.PbFieldType.OD) - ..a<$core.double>(9, _omitFieldNames ? '' : 'totalUsageWithDiscount', $pb.PbFieldType.OD) - ..a<$core.double>(10, _omitFieldNames ? '' : 'totalUsageWithoutDiscount', $pb.PbFieldType.OD) - ..a<$core.double>(11, _omitFieldNames ? '' : 'perMachineUsageCost', $pb.PbFieldType.OD) - ..a<$core.double>(12, _omitFieldNames ? '' : 'binaryDataCloudStorageUsageCost', $pb.PbFieldType.OD) - ..a<$core.double>(13, _omitFieldNames ? '' : 'otherCloudStorageUsageCost', $pb.PbFieldType.OD) - ..pc(14, _omitFieldNames ? '' : 'resourceUsageCostsBySource', $pb.PbFieldType.PM, subBuilder: ResourceUsageCostsBySource.create) - ..a<$core.double>(15, _omitFieldNames ? '' : 'subtotal', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCurrentMonthUsageResponse clone() => GetCurrentMonthUsageResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCurrentMonthUsageResponse copyWith(void Function(GetCurrentMonthUsageResponse) updates) => super.copyWith((message) => updates(message as GetCurrentMonthUsageResponse)) as GetCurrentMonthUsageResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCurrentMonthUsageResponse create() => GetCurrentMonthUsageResponse._(); - GetCurrentMonthUsageResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCurrentMonthUsageResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCurrentMonthUsageResponse? _defaultInstance; - - @$pb.TagNumber(1) - $47.Timestamp get startDate => $_getN(0); - @$pb.TagNumber(1) - set startDate($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStartDate() => $_has(0); - @$pb.TagNumber(1) - void clearStartDate() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureStartDate() => $_ensure(0); - - @$pb.TagNumber(2) - $47.Timestamp get endDate => $_getN(1); - @$pb.TagNumber(2) - set endDate($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEndDate() => $_has(1); - @$pb.TagNumber(2) - void clearEndDate() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureEndDate() => $_ensure(1); - - /// all fields below are deprecated - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(3) - $core.double get cloudStorageUsageCost => $_getN(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(3) - set cloudStorageUsageCost($core.double v) { $_setDouble(2, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(3) - $core.bool hasCloudStorageUsageCost() => $_has(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(3) - void clearCloudStorageUsageCost() => clearField(3); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(4) - $core.double get dataUploadUsageCost => $_getN(3); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(4) - set dataUploadUsageCost($core.double v) { $_setDouble(3, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(4) - $core.bool hasDataUploadUsageCost() => $_has(3); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(4) - void clearDataUploadUsageCost() => clearField(4); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(5) - $core.double get dataEgresUsageCost => $_getN(4); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(5) - set dataEgresUsageCost($core.double v) { $_setDouble(4, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(5) - $core.bool hasDataEgresUsageCost() => $_has(4); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(5) - void clearDataEgresUsageCost() => clearField(5); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - $core.double get remoteControlUsageCost => $_getN(5); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - set remoteControlUsageCost($core.double v) { $_setDouble(5, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - $core.bool hasRemoteControlUsageCost() => $_has(5); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - void clearRemoteControlUsageCost() => clearField(6); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - $core.double get standardComputeUsageCost => $_getN(6); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - set standardComputeUsageCost($core.double v) { $_setDouble(6, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - $core.bool hasStandardComputeUsageCost() => $_has(6); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - void clearStandardComputeUsageCost() => clearField(7); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - $core.double get discountAmount => $_getN(7); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - set discountAmount($core.double v) { $_setDouble(7, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - $core.bool hasDiscountAmount() => $_has(7); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - void clearDiscountAmount() => clearField(8); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - $core.double get totalUsageWithDiscount => $_getN(8); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - set totalUsageWithDiscount($core.double v) { $_setDouble(8, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - $core.bool hasTotalUsageWithDiscount() => $_has(8); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - void clearTotalUsageWithDiscount() => clearField(9); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(10) - $core.double get totalUsageWithoutDiscount => $_getN(9); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(10) - set totalUsageWithoutDiscount($core.double v) { $_setDouble(9, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(10) - $core.bool hasTotalUsageWithoutDiscount() => $_has(9); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(10) - void clearTotalUsageWithoutDiscount() => clearField(10); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - $core.double get perMachineUsageCost => $_getN(10); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - set perMachineUsageCost($core.double v) { $_setDouble(10, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - $core.bool hasPerMachineUsageCost() => $_has(10); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - void clearPerMachineUsageCost() => clearField(11); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(12) - $core.double get binaryDataCloudStorageUsageCost => $_getN(11); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(12) - set binaryDataCloudStorageUsageCost($core.double v) { $_setDouble(11, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(12) - $core.bool hasBinaryDataCloudStorageUsageCost() => $_has(11); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(12) - void clearBinaryDataCloudStorageUsageCost() => clearField(12); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(13) - $core.double get otherCloudStorageUsageCost => $_getN(12); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(13) - set otherCloudStorageUsageCost($core.double v) { $_setDouble(12, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(13) - $core.bool hasOtherCloudStorageUsageCost() => $_has(12); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(13) - void clearOtherCloudStorageUsageCost() => clearField(13); - - @$pb.TagNumber(14) - $core.List get resourceUsageCostsBySource => $_getList(13); - - @$pb.TagNumber(15) - $core.double get subtotal => $_getN(14); - @$pb.TagNumber(15) - set subtotal($core.double v) { $_setDouble(14, v); } - @$pb.TagNumber(15) - $core.bool hasSubtotal() => $_has(14); - @$pb.TagNumber(15) - void clearSubtotal() => clearField(15); -} - -class GetOrgBillingInformationRequest extends $pb.GeneratedMessage { - factory GetOrgBillingInformationRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - GetOrgBillingInformationRequest._() : super(); - factory GetOrgBillingInformationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrgBillingInformationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrgBillingInformationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrgBillingInformationRequest clone() => GetOrgBillingInformationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrgBillingInformationRequest copyWith(void Function(GetOrgBillingInformationRequest) updates) => super.copyWith((message) => updates(message as GetOrgBillingInformationRequest)) as GetOrgBillingInformationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrgBillingInformationRequest create() => GetOrgBillingInformationRequest._(); - GetOrgBillingInformationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrgBillingInformationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrgBillingInformationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class GetOrgBillingInformationResponse extends $pb.GeneratedMessage { - factory GetOrgBillingInformationResponse({ - PaymentMethodType? type, - $core.String? billingEmail, - PaymentMethodCard? method, - $core.String? billingTier, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (billingEmail != null) { - $result.billingEmail = billingEmail; - } - if (method != null) { - $result.method = method; - } - if (billingTier != null) { - $result.billingTier = billingTier; - } - return $result; - } - GetOrgBillingInformationResponse._() : super(); - factory GetOrgBillingInformationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrgBillingInformationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrgBillingInformationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PaymentMethodType.PAYMENT_METHOD_TYPE_UNSPECIFIED, valueOf: PaymentMethodType.valueOf, enumValues: PaymentMethodType.values) - ..aOS(2, _omitFieldNames ? '' : 'billingEmail') - ..aOM(3, _omitFieldNames ? '' : 'method', subBuilder: PaymentMethodCard.create) - ..aOS(4, _omitFieldNames ? '' : 'billingTier') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrgBillingInformationResponse clone() => GetOrgBillingInformationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrgBillingInformationResponse copyWith(void Function(GetOrgBillingInformationResponse) updates) => super.copyWith((message) => updates(message as GetOrgBillingInformationResponse)) as GetOrgBillingInformationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrgBillingInformationResponse create() => GetOrgBillingInformationResponse._(); - GetOrgBillingInformationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrgBillingInformationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrgBillingInformationResponse? _defaultInstance; - - @$pb.TagNumber(1) - PaymentMethodType get type => $_getN(0); - @$pb.TagNumber(1) - set type(PaymentMethodType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get billingEmail => $_getSZ(1); - @$pb.TagNumber(2) - set billingEmail($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasBillingEmail() => $_has(1); - @$pb.TagNumber(2) - void clearBillingEmail() => clearField(2); - - /// defined if type is PAYMENT_METHOD_TYPE_CARD - @$pb.TagNumber(3) - PaymentMethodCard get method => $_getN(2); - @$pb.TagNumber(3) - set method(PaymentMethodCard v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasMethod() => $_has(2); - @$pb.TagNumber(3) - void clearMethod() => clearField(3); - @$pb.TagNumber(3) - PaymentMethodCard ensureMethod() => $_ensure(2); - - /// Only return billing_tier for billing dashboard admin users - @$pb.TagNumber(4) - $core.String get billingTier => $_getSZ(3); - @$pb.TagNumber(4) - set billingTier($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasBillingTier() => $_has(3); - @$pb.TagNumber(4) - void clearBillingTier() => clearField(4); -} - -class GetInvoicesSummaryRequest extends $pb.GeneratedMessage { - factory GetInvoicesSummaryRequest({ - $core.String? orgId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - GetInvoicesSummaryRequest._() : super(); - factory GetInvoicesSummaryRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInvoicesSummaryRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvoicesSummaryRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInvoicesSummaryRequest clone() => GetInvoicesSummaryRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInvoicesSummaryRequest copyWith(void Function(GetInvoicesSummaryRequest) updates) => super.copyWith((message) => updates(message as GetInvoicesSummaryRequest)) as GetInvoicesSummaryRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInvoicesSummaryRequest create() => GetInvoicesSummaryRequest._(); - GetInvoicesSummaryRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInvoicesSummaryRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInvoicesSummaryRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); -} - -class GetInvoicesSummaryResponse extends $pb.GeneratedMessage { - factory GetInvoicesSummaryResponse({ - $core.double? outstandingBalance, - $core.Iterable? invoices, - }) { - final $result = create(); - if (outstandingBalance != null) { - $result.outstandingBalance = outstandingBalance; - } - if (invoices != null) { - $result.invoices.addAll(invoices); - } - return $result; - } - GetInvoicesSummaryResponse._() : super(); - factory GetInvoicesSummaryResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInvoicesSummaryResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvoicesSummaryResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'outstandingBalance', $pb.PbFieldType.OD) - ..pc(2, _omitFieldNames ? '' : 'invoices', $pb.PbFieldType.PM, subBuilder: InvoiceSummary.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInvoicesSummaryResponse clone() => GetInvoicesSummaryResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInvoicesSummaryResponse copyWith(void Function(GetInvoicesSummaryResponse) updates) => super.copyWith((message) => updates(message as GetInvoicesSummaryResponse)) as GetInvoicesSummaryResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInvoicesSummaryResponse create() => GetInvoicesSummaryResponse._(); - GetInvoicesSummaryResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInvoicesSummaryResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInvoicesSummaryResponse? _defaultInstance; - - /// all unpaid balances at the end of the last billing cycle - @$pb.TagNumber(1) - $core.double get outstandingBalance => $_getN(0); - @$pb.TagNumber(1) - set outstandingBalance($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasOutstandingBalance() => $_has(0); - @$pb.TagNumber(1) - void clearOutstandingBalance() => clearField(1); - - /// all previous invoices - @$pb.TagNumber(2) - $core.List get invoices => $_getList(1); -} - -class GetInvoicePdfRequest extends $pb.GeneratedMessage { - factory GetInvoicePdfRequest({ - $core.String? id, - $core.String? orgId, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (orgId != null) { - $result.orgId = orgId; - } - return $result; - } - GetInvoicePdfRequest._() : super(); - factory GetInvoicePdfRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInvoicePdfRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvoicePdfRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'orgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInvoicePdfRequest clone() => GetInvoicePdfRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInvoicePdfRequest copyWith(void Function(GetInvoicePdfRequest) updates) => super.copyWith((message) => updates(message as GetInvoicePdfRequest)) as GetInvoicePdfRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInvoicePdfRequest create() => GetInvoicePdfRequest._(); - GetInvoicePdfRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInvoicePdfRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInvoicePdfRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get orgId => $_getSZ(1); - @$pb.TagNumber(2) - set orgId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrgId() => $_has(1); - @$pb.TagNumber(2) - void clearOrgId() => clearField(2); -} - -class GetInvoicePdfResponse extends $pb.GeneratedMessage { - factory GetInvoicePdfResponse({ - $core.List<$core.int>? chunk, - }) { - final $result = create(); - if (chunk != null) { - $result.chunk = chunk; - } - return $result; - } - GetInvoicePdfResponse._() : super(); - factory GetInvoicePdfResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInvoicePdfResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInvoicePdfResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'chunk', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInvoicePdfResponse clone() => GetInvoicePdfResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInvoicePdfResponse copyWith(void Function(GetInvoicePdfResponse) updates) => super.copyWith((message) => updates(message as GetInvoicePdfResponse)) as GetInvoicePdfResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInvoicePdfResponse create() => GetInvoicePdfResponse._(); - GetInvoicePdfResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInvoicePdfResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInvoicePdfResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get chunk => $_getN(0); - @$pb.TagNumber(1) - set chunk($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasChunk() => $_has(0); - @$pb.TagNumber(1) - void clearChunk() => clearField(1); -} - -class SendPaymentRequiredEmailRequest extends $pb.GeneratedMessage { - factory SendPaymentRequiredEmailRequest({ - $core.String? customerOrgId, - $core.String? billingOwnerOrgId, - }) { - final $result = create(); - if (customerOrgId != null) { - $result.customerOrgId = customerOrgId; - } - if (billingOwnerOrgId != null) { - $result.billingOwnerOrgId = billingOwnerOrgId; - } - return $result; - } - SendPaymentRequiredEmailRequest._() : super(); - factory SendPaymentRequiredEmailRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SendPaymentRequiredEmailRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendPaymentRequiredEmailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'customerOrgId') - ..aOS(2, _omitFieldNames ? '' : 'billingOwnerOrgId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SendPaymentRequiredEmailRequest clone() => SendPaymentRequiredEmailRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SendPaymentRequiredEmailRequest copyWith(void Function(SendPaymentRequiredEmailRequest) updates) => super.copyWith((message) => updates(message as SendPaymentRequiredEmailRequest)) as SendPaymentRequiredEmailRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SendPaymentRequiredEmailRequest create() => SendPaymentRequiredEmailRequest._(); - SendPaymentRequiredEmailRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SendPaymentRequiredEmailRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SendPaymentRequiredEmailRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get customerOrgId => $_getSZ(0); - @$pb.TagNumber(1) - set customerOrgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasCustomerOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearCustomerOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get billingOwnerOrgId => $_getSZ(1); - @$pb.TagNumber(2) - set billingOwnerOrgId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasBillingOwnerOrgId() => $_has(1); - @$pb.TagNumber(2) - void clearBillingOwnerOrgId() => clearField(2); -} - -class SendPaymentRequiredEmailResponse extends $pb.GeneratedMessage { - factory SendPaymentRequiredEmailResponse() => create(); - SendPaymentRequiredEmailResponse._() : super(); - factory SendPaymentRequiredEmailResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SendPaymentRequiredEmailResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendPaymentRequiredEmailResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SendPaymentRequiredEmailResponse clone() => SendPaymentRequiredEmailResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SendPaymentRequiredEmailResponse copyWith(void Function(SendPaymentRequiredEmailResponse) updates) => super.copyWith((message) => updates(message as SendPaymentRequiredEmailResponse)) as SendPaymentRequiredEmailResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SendPaymentRequiredEmailResponse create() => SendPaymentRequiredEmailResponse._(); - SendPaymentRequiredEmailResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SendPaymentRequiredEmailResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SendPaymentRequiredEmailResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/v1/billing.pbenum.dart b/lib/src/gen/app/v1/billing.pbenum.dart deleted file mode 100644 index 03baee0433e..00000000000 --- a/lib/src/gen/app/v1/billing.pbenum.dart +++ /dev/null @@ -1,108 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/billing.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class PaymentMethodType extends $pb.ProtobufEnum { - static const PaymentMethodType PAYMENT_METHOD_TYPE_UNSPECIFIED = PaymentMethodType._(0, _omitEnumNames ? '' : 'PAYMENT_METHOD_TYPE_UNSPECIFIED'); - static const PaymentMethodType PAYMENT_METHOD_TYPE_CARD = PaymentMethodType._(1, _omitEnumNames ? '' : 'PAYMENT_METHOD_TYPE_CARD'); - - static const $core.List values = [ - PAYMENT_METHOD_TYPE_UNSPECIFIED, - PAYMENT_METHOD_TYPE_CARD, - ]; - - static final $core.Map<$core.int, PaymentMethodType> _byValue = $pb.ProtobufEnum.initByValue(values); - static PaymentMethodType? valueOf($core.int value) => _byValue[value]; - - const PaymentMethodType._($core.int v, $core.String n) : super(v, n); -} - -class UsageCostType extends $pb.ProtobufEnum { - static const UsageCostType USAGE_COST_TYPE_UNSPECIFIED = UsageCostType._(0, _omitEnumNames ? '' : 'USAGE_COST_TYPE_UNSPECIFIED'); - static const UsageCostType USAGE_COST_TYPE_DATA_UPLOAD = UsageCostType._(1, _omitEnumNames ? '' : 'USAGE_COST_TYPE_DATA_UPLOAD'); - static const UsageCostType USAGE_COST_TYPE_DATA_EGRESS = UsageCostType._(2, _omitEnumNames ? '' : 'USAGE_COST_TYPE_DATA_EGRESS'); - static const UsageCostType USAGE_COST_TYPE_REMOTE_CONTROL = UsageCostType._(3, _omitEnumNames ? '' : 'USAGE_COST_TYPE_REMOTE_CONTROL'); - static const UsageCostType USAGE_COST_TYPE_STANDARD_COMPUTE = UsageCostType._(4, _omitEnumNames ? '' : 'USAGE_COST_TYPE_STANDARD_COMPUTE'); - static const UsageCostType USAGE_COST_TYPE_CLOUD_STORAGE = UsageCostType._(5, _omitEnumNames ? '' : 'USAGE_COST_TYPE_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE = UsageCostType._(6, _omitEnumNames ? '' : 'USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_OTHER_CLOUD_STORAGE = UsageCostType._(7, _omitEnumNames ? '' : 'USAGE_COST_TYPE_OTHER_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_PER_MACHINE = UsageCostType._(8, _omitEnumNames ? '' : 'USAGE_COST_TYPE_PER_MACHINE'); - static const UsageCostType USAGE_COST_TYPE_TRIGGER_NOTIFICATION = UsageCostType._(9, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TRIGGER_NOTIFICATION'); - static const UsageCostType USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE = UsageCostType._(10, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE = UsageCostType._(11, _omitEnumNames ? '' : 'USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_LOGS_CLOUD_STORAGE = UsageCostType._(12, _omitEnumNames ? '' : 'USAGE_COST_TYPE_LOGS_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE = UsageCostType._(13, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE = UsageCostType._(14, _omitEnumNames ? '' : 'USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_BINARY_DATA_UPLOAD = UsageCostType._(15, _omitEnumNames ? '' : 'USAGE_COST_TYPE_BINARY_DATA_UPLOAD'); - static const UsageCostType USAGE_COST_TYPE_TABULAR_DATA_UPLOAD = UsageCostType._(16, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TABULAR_DATA_UPLOAD'); - static const UsageCostType USAGE_COST_TYPE_LOGS_UPLOAD = UsageCostType._(17, _omitEnumNames ? '' : 'USAGE_COST_TYPE_LOGS_UPLOAD'); - static const UsageCostType USAGE_COST_TYPE_BINARY_DATA_EGRESS = UsageCostType._(18, _omitEnumNames ? '' : 'USAGE_COST_TYPE_BINARY_DATA_EGRESS'); - static const UsageCostType USAGE_COST_TYPE_TABULAR_DATA_EGRESS = UsageCostType._(19, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TABULAR_DATA_EGRESS'); - static const UsageCostType USAGE_COST_TYPE_LOGS_EGRESS = UsageCostType._(20, _omitEnumNames ? '' : 'USAGE_COST_TYPE_LOGS_EGRESS'); - static const UsageCostType USAGE_COST_TYPE_TRAINING_LOGS_EGRESS = UsageCostType._(21, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TRAINING_LOGS_EGRESS'); - static const UsageCostType USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE = UsageCostType._(22, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE'); - static const UsageCostType USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE = UsageCostType._(23, _omitEnumNames ? '' : 'USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE'); - - static const $core.List values = [ - USAGE_COST_TYPE_UNSPECIFIED, - USAGE_COST_TYPE_DATA_UPLOAD, - USAGE_COST_TYPE_DATA_EGRESS, - USAGE_COST_TYPE_REMOTE_CONTROL, - USAGE_COST_TYPE_STANDARD_COMPUTE, - USAGE_COST_TYPE_CLOUD_STORAGE, - USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE, - USAGE_COST_TYPE_OTHER_CLOUD_STORAGE, - USAGE_COST_TYPE_PER_MACHINE, - USAGE_COST_TYPE_TRIGGER_NOTIFICATION, - USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE, - USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE, - USAGE_COST_TYPE_LOGS_CLOUD_STORAGE, - USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE, - USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE, - USAGE_COST_TYPE_BINARY_DATA_UPLOAD, - USAGE_COST_TYPE_TABULAR_DATA_UPLOAD, - USAGE_COST_TYPE_LOGS_UPLOAD, - USAGE_COST_TYPE_BINARY_DATA_EGRESS, - USAGE_COST_TYPE_TABULAR_DATA_EGRESS, - USAGE_COST_TYPE_LOGS_EGRESS, - USAGE_COST_TYPE_TRAINING_LOGS_EGRESS, - USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE, - USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE, - ]; - - static final $core.Map<$core.int, UsageCostType> _byValue = $pb.ProtobufEnum.initByValue(values); - static UsageCostType? valueOf($core.int value) => _byValue[value]; - - const UsageCostType._($core.int v, $core.String n) : super(v, n); -} - -class SourceType extends $pb.ProtobufEnum { - static const SourceType SOURCE_TYPE_UNSPECIFIED = SourceType._(0, _omitEnumNames ? '' : 'SOURCE_TYPE_UNSPECIFIED'); - static const SourceType SOURCE_TYPE_ORG = SourceType._(1, _omitEnumNames ? '' : 'SOURCE_TYPE_ORG'); - static const SourceType SOURCE_TYPE_FRAGMENT = SourceType._(2, _omitEnumNames ? '' : 'SOURCE_TYPE_FRAGMENT'); - - static const $core.List values = [ - SOURCE_TYPE_UNSPECIFIED, - SOURCE_TYPE_ORG, - SOURCE_TYPE_FRAGMENT, - ]; - - static final $core.Map<$core.int, SourceType> _byValue = $pb.ProtobufEnum.initByValue(values); - static SourceType? valueOf($core.int value) => _byValue[value]; - - const SourceType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/v1/billing.pbgrpc.dart b/lib/src/gen/app/v1/billing.pbgrpc.dart deleted file mode 100644 index ae9574837a0..00000000000 --- a/lib/src/gen/app/v1/billing.pbgrpc.dart +++ /dev/null @@ -1,139 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/billing.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'billing.pb.dart' as $11; - -export 'billing.pb.dart'; - -@$pb.GrpcServiceName('viam.app.v1.BillingService') -class BillingServiceClient extends $grpc.Client { - static final _$getCurrentMonthUsage = $grpc.ClientMethod<$11.GetCurrentMonthUsageRequest, $11.GetCurrentMonthUsageResponse>( - '/viam.app.v1.BillingService/GetCurrentMonthUsage', - ($11.GetCurrentMonthUsageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.GetCurrentMonthUsageResponse.fromBuffer(value)); - static final _$getOrgBillingInformation = $grpc.ClientMethod<$11.GetOrgBillingInformationRequest, $11.GetOrgBillingInformationResponse>( - '/viam.app.v1.BillingService/GetOrgBillingInformation', - ($11.GetOrgBillingInformationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.GetOrgBillingInformationResponse.fromBuffer(value)); - static final _$getInvoicesSummary = $grpc.ClientMethod<$11.GetInvoicesSummaryRequest, $11.GetInvoicesSummaryResponse>( - '/viam.app.v1.BillingService/GetInvoicesSummary', - ($11.GetInvoicesSummaryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.GetInvoicesSummaryResponse.fromBuffer(value)); - static final _$getInvoicePdf = $grpc.ClientMethod<$11.GetInvoicePdfRequest, $11.GetInvoicePdfResponse>( - '/viam.app.v1.BillingService/GetInvoicePdf', - ($11.GetInvoicePdfRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.GetInvoicePdfResponse.fromBuffer(value)); - static final _$sendPaymentRequiredEmail = $grpc.ClientMethod<$11.SendPaymentRequiredEmailRequest, $11.SendPaymentRequiredEmailResponse>( - '/viam.app.v1.BillingService/SendPaymentRequiredEmail', - ($11.SendPaymentRequiredEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.SendPaymentRequiredEmailResponse.fromBuffer(value)); - - BillingServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$11.GetCurrentMonthUsageResponse> getCurrentMonthUsage($11.GetCurrentMonthUsageRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getCurrentMonthUsage, request, options: options); - } - - $grpc.ResponseFuture<$11.GetOrgBillingInformationResponse> getOrgBillingInformation($11.GetOrgBillingInformationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOrgBillingInformation, request, options: options); - } - - $grpc.ResponseFuture<$11.GetInvoicesSummaryResponse> getInvoicesSummary($11.GetInvoicesSummaryRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getInvoicesSummary, request, options: options); - } - - $grpc.ResponseStream<$11.GetInvoicePdfResponse> getInvoicePdf($11.GetInvoicePdfRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$getInvoicePdf, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$11.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail($11.SendPaymentRequiredEmailRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$sendPaymentRequiredEmail, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.v1.BillingService') -abstract class BillingServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.v1.BillingService'; - - BillingServiceBase() { - $addMethod($grpc.ServiceMethod<$11.GetCurrentMonthUsageRequest, $11.GetCurrentMonthUsageResponse>( - 'GetCurrentMonthUsage', - getCurrentMonthUsage_Pre, - false, - false, - ($core.List<$core.int> value) => $11.GetCurrentMonthUsageRequest.fromBuffer(value), - ($11.GetCurrentMonthUsageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$11.GetOrgBillingInformationRequest, $11.GetOrgBillingInformationResponse>( - 'GetOrgBillingInformation', - getOrgBillingInformation_Pre, - false, - false, - ($core.List<$core.int> value) => $11.GetOrgBillingInformationRequest.fromBuffer(value), - ($11.GetOrgBillingInformationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$11.GetInvoicesSummaryRequest, $11.GetInvoicesSummaryResponse>( - 'GetInvoicesSummary', - getInvoicesSummary_Pre, - false, - false, - ($core.List<$core.int> value) => $11.GetInvoicesSummaryRequest.fromBuffer(value), - ($11.GetInvoicesSummaryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$11.GetInvoicePdfRequest, $11.GetInvoicePdfResponse>( - 'GetInvoicePdf', - getInvoicePdf_Pre, - false, - true, - ($core.List<$core.int> value) => $11.GetInvoicePdfRequest.fromBuffer(value), - ($11.GetInvoicePdfResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$11.SendPaymentRequiredEmailRequest, $11.SendPaymentRequiredEmailResponse>( - 'SendPaymentRequiredEmail', - sendPaymentRequiredEmail_Pre, - false, - false, - ($core.List<$core.int> value) => $11.SendPaymentRequiredEmailRequest.fromBuffer(value), - ($11.SendPaymentRequiredEmailResponse value) => value.writeToBuffer())); - } - - $async.Future<$11.GetCurrentMonthUsageResponse> getCurrentMonthUsage_Pre($grpc.ServiceCall call, $async.Future<$11.GetCurrentMonthUsageRequest> request) async { - return getCurrentMonthUsage(call, await request); - } - - $async.Future<$11.GetOrgBillingInformationResponse> getOrgBillingInformation_Pre($grpc.ServiceCall call, $async.Future<$11.GetOrgBillingInformationRequest> request) async { - return getOrgBillingInformation(call, await request); - } - - $async.Future<$11.GetInvoicesSummaryResponse> getInvoicesSummary_Pre($grpc.ServiceCall call, $async.Future<$11.GetInvoicesSummaryRequest> request) async { - return getInvoicesSummary(call, await request); - } - - $async.Stream<$11.GetInvoicePdfResponse> getInvoicePdf_Pre($grpc.ServiceCall call, $async.Future<$11.GetInvoicePdfRequest> request) async* { - yield* getInvoicePdf(call, await request); - } - - $async.Future<$11.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail_Pre($grpc.ServiceCall call, $async.Future<$11.SendPaymentRequiredEmailRequest> request) async { - return sendPaymentRequiredEmail(call, await request); - } - - $async.Future<$11.GetCurrentMonthUsageResponse> getCurrentMonthUsage($grpc.ServiceCall call, $11.GetCurrentMonthUsageRequest request); - $async.Future<$11.GetOrgBillingInformationResponse> getOrgBillingInformation($grpc.ServiceCall call, $11.GetOrgBillingInformationRequest request); - $async.Future<$11.GetInvoicesSummaryResponse> getInvoicesSummary($grpc.ServiceCall call, $11.GetInvoicesSummaryRequest request); - $async.Stream<$11.GetInvoicePdfResponse> getInvoicePdf($grpc.ServiceCall call, $11.GetInvoicePdfRequest request); - $async.Future<$11.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail($grpc.ServiceCall call, $11.SendPaymentRequiredEmailRequest request); -} diff --git a/lib/src/gen/app/v1/billing.pbjson.dart b/lib/src/gen/app/v1/billing.pbjson.dart deleted file mode 100644 index 883b8393779..00000000000 --- a/lib/src/gen/app/v1/billing.pbjson.dart +++ /dev/null @@ -1,442 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/billing.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use paymentMethodTypeDescriptor instead') -const PaymentMethodType$json = { - '1': 'PaymentMethodType', - '2': [ - {'1': 'PAYMENT_METHOD_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'PAYMENT_METHOD_TYPE_CARD', '2': 1}, - ], -}; - -/// Descriptor for `PaymentMethodType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List paymentMethodTypeDescriptor = $convert.base64Decode( - 'ChFQYXltZW50TWV0aG9kVHlwZRIjCh9QQVlNRU5UX01FVEhPRF9UWVBFX1VOU1BFQ0lGSUVEEA' - 'ASHAoYUEFZTUVOVF9NRVRIT0RfVFlQRV9DQVJEEAE='); - -@$core.Deprecated('Use usageCostTypeDescriptor instead') -const UsageCostType$json = { - '1': 'UsageCostType', - '2': [ - {'1': 'USAGE_COST_TYPE_UNSPECIFIED', '2': 0}, - { - '1': 'USAGE_COST_TYPE_DATA_UPLOAD', - '2': 1, - '3': {'1': true}, - }, - { - '1': 'USAGE_COST_TYPE_DATA_EGRESS', - '2': 2, - '3': {'1': true}, - }, - {'1': 'USAGE_COST_TYPE_REMOTE_CONTROL', '2': 3}, - {'1': 'USAGE_COST_TYPE_STANDARD_COMPUTE', '2': 4}, - { - '1': 'USAGE_COST_TYPE_CLOUD_STORAGE', - '2': 5, - '3': {'1': true}, - }, - {'1': 'USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE', '2': 6}, - { - '1': 'USAGE_COST_TYPE_OTHER_CLOUD_STORAGE', - '2': 7, - '3': {'1': true}, - }, - {'1': 'USAGE_COST_TYPE_PER_MACHINE', '2': 8}, - {'1': 'USAGE_COST_TYPE_TRIGGER_NOTIFICATION', '2': 9}, - {'1': 'USAGE_COST_TYPE_TABULAR_DATA_CLOUD_STORAGE', '2': 10}, - {'1': 'USAGE_COST_TYPE_CONFIG_HISTORY_CLOUD_STORAGE', '2': 11}, - {'1': 'USAGE_COST_TYPE_LOGS_CLOUD_STORAGE', '2': 12}, - {'1': 'USAGE_COST_TYPE_TRAINING_LOGS_CLOUD_STORAGE', '2': 13}, - {'1': 'USAGE_COST_TYPE_PACKAGES_CLOUD_STORAGE', '2': 14}, - {'1': 'USAGE_COST_TYPE_BINARY_DATA_UPLOAD', '2': 15}, - {'1': 'USAGE_COST_TYPE_TABULAR_DATA_UPLOAD', '2': 16}, - {'1': 'USAGE_COST_TYPE_LOGS_UPLOAD', '2': 17}, - {'1': 'USAGE_COST_TYPE_BINARY_DATA_EGRESS', '2': 18}, - {'1': 'USAGE_COST_TYPE_TABULAR_DATA_EGRESS', '2': 19}, - {'1': 'USAGE_COST_TYPE_LOGS_EGRESS', '2': 20}, - {'1': 'USAGE_COST_TYPE_TRAINING_LOGS_EGRESS', '2': 21}, - {'1': 'USAGE_COST_TYPE_TABULAR_DATA_DATABASE_CLOUD_STORAGE', '2': 22}, - {'1': 'USAGE_COST_TYPE_TABULAR_DATA_DATABASE_COMPUTE', '2': 23}, - ], -}; - -/// Descriptor for `UsageCostType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List usageCostTypeDescriptor = $convert.base64Decode( - 'Cg1Vc2FnZUNvc3RUeXBlEh8KG1VTQUdFX0NPU1RfVFlQRV9VTlNQRUNJRklFRBAAEiMKG1VTQU' - 'dFX0NPU1RfVFlQRV9EQVRBX1VQTE9BRBABGgIIARIjChtVU0FHRV9DT1NUX1RZUEVfREFUQV9F' - 'R1JFU1MQAhoCCAESIgoeVVNBR0VfQ09TVF9UWVBFX1JFTU9URV9DT05UUk9MEAMSJAogVVNBR0' - 'VfQ09TVF9UWVBFX1NUQU5EQVJEX0NPTVBVVEUQBBIlCh1VU0FHRV9DT1NUX1RZUEVfQ0xPVURf' - 'U1RPUkFHRRAFGgIIARItCilVU0FHRV9DT1NUX1RZUEVfQklOQVJZX0RBVEFfQ0xPVURfU1RPUk' - 'FHRRAGEisKI1VTQUdFX0NPU1RfVFlQRV9PVEhFUl9DTE9VRF9TVE9SQUdFEAcaAggBEh8KG1VT' - 'QUdFX0NPU1RfVFlQRV9QRVJfTUFDSElORRAIEigKJFVTQUdFX0NPU1RfVFlQRV9UUklHR0VSX0' - '5PVElGSUNBVElPThAJEi4KKlVTQUdFX0NPU1RfVFlQRV9UQUJVTEFSX0RBVEFfQ0xPVURfU1RP' - 'UkFHRRAKEjAKLFVTQUdFX0NPU1RfVFlQRV9DT05GSUdfSElTVE9SWV9DTE9VRF9TVE9SQUdFEA' - 'sSJgoiVVNBR0VfQ09TVF9UWVBFX0xPR1NfQ0xPVURfU1RPUkFHRRAMEi8KK1VTQUdFX0NPU1Rf' - 'VFlQRV9UUkFJTklOR19MT0dTX0NMT1VEX1NUT1JBR0UQDRIqCiZVU0FHRV9DT1NUX1RZUEVfUE' - 'FDS0FHRVNfQ0xPVURfU1RPUkFHRRAOEiYKIlVTQUdFX0NPU1RfVFlQRV9CSU5BUllfREFUQV9V' - 'UExPQUQQDxInCiNVU0FHRV9DT1NUX1RZUEVfVEFCVUxBUl9EQVRBX1VQTE9BRBAQEh8KG1VTQU' - 'dFX0NPU1RfVFlQRV9MT0dTX1VQTE9BRBAREiYKIlVTQUdFX0NPU1RfVFlQRV9CSU5BUllfREFU' - 'QV9FR1JFU1MQEhInCiNVU0FHRV9DT1NUX1RZUEVfVEFCVUxBUl9EQVRBX0VHUkVTUxATEh8KG1' - 'VTQUdFX0NPU1RfVFlQRV9MT0dTX0VHUkVTUxAUEigKJFVTQUdFX0NPU1RfVFlQRV9UUkFJTklO' - 'R19MT0dTX0VHUkVTUxAVEjcKM1VTQUdFX0NPU1RfVFlQRV9UQUJVTEFSX0RBVEFfREFUQUJBU0' - 'VfQ0xPVURfU1RPUkFHRRAWEjEKLVVTQUdFX0NPU1RfVFlQRV9UQUJVTEFSX0RBVEFfREFUQUJB' - 'U0VfQ09NUFVURRAX'); - -@$core.Deprecated('Use sourceTypeDescriptor instead') -const SourceType$json = { - '1': 'SourceType', - '2': [ - {'1': 'SOURCE_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'SOURCE_TYPE_ORG', '2': 1}, - {'1': 'SOURCE_TYPE_FRAGMENT', '2': 2}, - ], -}; - -/// Descriptor for `SourceType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List sourceTypeDescriptor = $convert.base64Decode( - 'CgpTb3VyY2VUeXBlEhsKF1NPVVJDRV9UWVBFX1VOU1BFQ0lGSUVEEAASEwoPU09VUkNFX1RZUE' - 'VfT1JHEAESGAoUU09VUkNFX1RZUEVfRlJBR01FTlQQAg=='); - -@$core.Deprecated('Use invoiceSummaryDescriptor instead') -const InvoiceSummary$json = { - '1': 'InvoiceSummary', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'invoice_date', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'invoiceDate'}, - {'1': 'invoice_amount', '3': 3, '4': 1, '5': 1, '10': 'invoiceAmount'}, - {'1': 'status', '3': 4, '4': 1, '5': 9, '10': 'status'}, - {'1': 'due_date', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'dueDate'}, - {'1': 'paid_date', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'paidDate'}, - ], -}; - -/// Descriptor for `InvoiceSummary`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List invoiceSummaryDescriptor = $convert.base64Decode( - 'Cg5JbnZvaWNlU3VtbWFyeRIOCgJpZBgBIAEoCVICaWQSPQoMaW52b2ljZV9kYXRlGAIgASgLMh' - 'ouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFILaW52b2ljZURhdGUSJQoOaW52b2ljZV9hbW91' - 'bnQYAyABKAFSDWludm9pY2VBbW91bnQSFgoGc3RhdHVzGAQgASgJUgZzdGF0dXMSNQoIZHVlX2' - 'RhdGUYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdkdWVEYXRlEjcKCXBhaWRf' - 'ZGF0ZRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCHBhaWREYXRl'); - -@$core.Deprecated('Use paymentMethodCardDescriptor instead') -const PaymentMethodCard$json = { - '1': 'PaymentMethodCard', - '2': [ - {'1': 'brand', '3': 1, '4': 1, '5': 9, '10': 'brand'}, - {'1': 'last_four_digits', '3': 2, '4': 1, '5': 9, '10': 'lastFourDigits'}, - ], -}; - -/// Descriptor for `PaymentMethodCard`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List paymentMethodCardDescriptor = $convert.base64Decode( - 'ChFQYXltZW50TWV0aG9kQ2FyZBIUCgVicmFuZBgBIAEoCVIFYnJhbmQSKAoQbGFzdF9mb3VyX2' - 'RpZ2l0cxgCIAEoCVIObGFzdEZvdXJEaWdpdHM='); - -@$core.Deprecated('Use getCurrentMonthUsageRequestDescriptor instead') -const GetCurrentMonthUsageRequest$json = { - '1': 'GetCurrentMonthUsageRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `GetCurrentMonthUsageRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCurrentMonthUsageRequestDescriptor = $convert.base64Decode( - 'ChtHZXRDdXJyZW50TW9udGhVc2FnZVJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZA=='); - -@$core.Deprecated('Use usageCostDescriptor instead') -const UsageCost$json = { - '1': 'UsageCost', - '2': [ - {'1': 'resource_type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.UsageCostType', '10': 'resourceType'}, - {'1': 'cost', '3': 2, '4': 1, '5': 1, '10': 'cost'}, - ], -}; - -/// Descriptor for `UsageCost`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List usageCostDescriptor = $convert.base64Decode( - 'CglVc2FnZUNvc3QSPwoNcmVzb3VyY2VfdHlwZRgBIAEoDjIaLnZpYW0uYXBwLnYxLlVzYWdlQ2' - '9zdFR5cGVSDHJlc291cmNlVHlwZRISCgRjb3N0GAIgASgBUgRjb3N0'); - -@$core.Deprecated('Use resourceUsageCostsBySourceDescriptor instead') -const ResourceUsageCostsBySource$json = { - '1': 'ResourceUsageCostsBySource', - '2': [ - {'1': 'source_type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.SourceType', '10': 'sourceType'}, - {'1': 'resource_usage_costs', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.ResourceUsageCosts', '10': 'resourceUsageCosts'}, - {'1': 'tier_name', '3': 3, '4': 1, '5': 9, '10': 'tierName'}, - ], -}; - -/// Descriptor for `ResourceUsageCostsBySource`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceUsageCostsBySourceDescriptor = $convert.base64Decode( - 'ChpSZXNvdXJjZVVzYWdlQ29zdHNCeVNvdXJjZRI4Cgtzb3VyY2VfdHlwZRgBIAEoDjIXLnZpYW' - '0uYXBwLnYxLlNvdXJjZVR5cGVSCnNvdXJjZVR5cGUSUQoUcmVzb3VyY2VfdXNhZ2VfY29zdHMY' - 'AiABKAsyHy52aWFtLmFwcC52MS5SZXNvdXJjZVVzYWdlQ29zdHNSEnJlc291cmNlVXNhZ2VDb3' - 'N0cxIbCgl0aWVyX25hbWUYAyABKAlSCHRpZXJOYW1l'); - -@$core.Deprecated('Use resourceUsageCostsDescriptor instead') -const ResourceUsageCosts$json = { - '1': 'ResourceUsageCosts', - '2': [ - {'1': 'usage_costs', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.UsageCost', '10': 'usageCosts'}, - {'1': 'discount', '3': 2, '4': 1, '5': 1, '10': 'discount'}, - {'1': 'total_with_discount', '3': 3, '4': 1, '5': 1, '10': 'totalWithDiscount'}, - {'1': 'total_without_discount', '3': 4, '4': 1, '5': 1, '10': 'totalWithoutDiscount'}, - ], -}; - -/// Descriptor for `ResourceUsageCosts`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceUsageCostsDescriptor = $convert.base64Decode( - 'ChJSZXNvdXJjZVVzYWdlQ29zdHMSNwoLdXNhZ2VfY29zdHMYASADKAsyFi52aWFtLmFwcC52MS' - '5Vc2FnZUNvc3RSCnVzYWdlQ29zdHMSGgoIZGlzY291bnQYAiABKAFSCGRpc2NvdW50Ei4KE3Rv' - 'dGFsX3dpdGhfZGlzY291bnQYAyABKAFSEXRvdGFsV2l0aERpc2NvdW50EjQKFnRvdGFsX3dpdG' - 'hvdXRfZGlzY291bnQYBCABKAFSFHRvdGFsV2l0aG91dERpc2NvdW50'); - -@$core.Deprecated('Use getCurrentMonthUsageResponseDescriptor instead') -const GetCurrentMonthUsageResponse$json = { - '1': 'GetCurrentMonthUsageResponse', - '2': [ - {'1': 'start_date', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startDate'}, - {'1': 'end_date', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endDate'}, - {'1': 'resource_usage_costs_by_source', '3': 14, '4': 3, '5': 11, '6': '.viam.app.v1.ResourceUsageCostsBySource', '10': 'resourceUsageCostsBySource'}, - {'1': 'subtotal', '3': 15, '4': 1, '5': 1, '10': 'subtotal'}, - { - '1': 'cloud_storage_usage_cost', - '3': 3, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'cloudStorageUsageCost', - }, - { - '1': 'data_upload_usage_cost', - '3': 4, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'dataUploadUsageCost', - }, - { - '1': 'data_egres_usage_cost', - '3': 5, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'dataEgresUsageCost', - }, - { - '1': 'remote_control_usage_cost', - '3': 6, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'remoteControlUsageCost', - }, - { - '1': 'standard_compute_usage_cost', - '3': 7, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'standardComputeUsageCost', - }, - { - '1': 'discount_amount', - '3': 8, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'discountAmount', - }, - { - '1': 'total_usage_with_discount', - '3': 9, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'totalUsageWithDiscount', - }, - { - '1': 'total_usage_without_discount', - '3': 10, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'totalUsageWithoutDiscount', - }, - { - '1': 'per_machine_usage_cost', - '3': 11, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'perMachineUsageCost', - }, - { - '1': 'binary_data_cloud_storage_usage_cost', - '3': 12, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'binaryDataCloudStorageUsageCost', - }, - { - '1': 'other_cloud_storage_usage_cost', - '3': 13, - '4': 1, - '5': 1, - '8': {'3': true}, - '10': 'otherCloudStorageUsageCost', - }, - ], -}; - -/// Descriptor for `GetCurrentMonthUsageResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCurrentMonthUsageResponseDescriptor = $convert.base64Decode( - 'ChxHZXRDdXJyZW50TW9udGhVc2FnZVJlc3BvbnNlEjkKCnN0YXJ0X2RhdGUYASABKAsyGi5nb2' - '9nbGUucHJvdG9idWYuVGltZXN0YW1wUglzdGFydERhdGUSNQoIZW5kX2RhdGUYAiABKAsyGi5n' - 'b29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdlbmREYXRlEmsKHnJlc291cmNlX3VzYWdlX2Nvc3' - 'RzX2J5X3NvdXJjZRgOIAMoCzInLnZpYW0uYXBwLnYxLlJlc291cmNlVXNhZ2VDb3N0c0J5U291' - 'cmNlUhpyZXNvdXJjZVVzYWdlQ29zdHNCeVNvdXJjZRIaCghzdWJ0b3RhbBgPIAEoAVIIc3VidG' - '90YWwSOwoYY2xvdWRfc3RvcmFnZV91c2FnZV9jb3N0GAMgASgBQgIYAVIVY2xvdWRTdG9yYWdl' - 'VXNhZ2VDb3N0EjcKFmRhdGFfdXBsb2FkX3VzYWdlX2Nvc3QYBCABKAFCAhgBUhNkYXRhVXBsb2' - 'FkVXNhZ2VDb3N0EjUKFWRhdGFfZWdyZXNfdXNhZ2VfY29zdBgFIAEoAUICGAFSEmRhdGFFZ3Jl' - 'c1VzYWdlQ29zdBI9ChlyZW1vdGVfY29udHJvbF91c2FnZV9jb3N0GAYgASgBQgIYAVIWcmVtb3' - 'RlQ29udHJvbFVzYWdlQ29zdBJBChtzdGFuZGFyZF9jb21wdXRlX3VzYWdlX2Nvc3QYByABKAFC' - 'AhgBUhhzdGFuZGFyZENvbXB1dGVVc2FnZUNvc3QSKwoPZGlzY291bnRfYW1vdW50GAggASgBQg' - 'IYAVIOZGlzY291bnRBbW91bnQSPQoZdG90YWxfdXNhZ2Vfd2l0aF9kaXNjb3VudBgJIAEoAUIC' - 'GAFSFnRvdGFsVXNhZ2VXaXRoRGlzY291bnQSQwocdG90YWxfdXNhZ2Vfd2l0aG91dF9kaXNjb3' - 'VudBgKIAEoAUICGAFSGXRvdGFsVXNhZ2VXaXRob3V0RGlzY291bnQSNwoWcGVyX21hY2hpbmVf' - 'dXNhZ2VfY29zdBgLIAEoAUICGAFSE3Blck1hY2hpbmVVc2FnZUNvc3QSUQokYmluYXJ5X2RhdG' - 'FfY2xvdWRfc3RvcmFnZV91c2FnZV9jb3N0GAwgASgBQgIYAVIfYmluYXJ5RGF0YUNsb3VkU3Rv' - 'cmFnZVVzYWdlQ29zdBJGCh5vdGhlcl9jbG91ZF9zdG9yYWdlX3VzYWdlX2Nvc3QYDSABKAFCAh' - 'gBUhpvdGhlckNsb3VkU3RvcmFnZVVzYWdlQ29zdA=='); - -@$core.Deprecated('Use getOrgBillingInformationRequestDescriptor instead') -const GetOrgBillingInformationRequest$json = { - '1': 'GetOrgBillingInformationRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `GetOrgBillingInformationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrgBillingInformationRequestDescriptor = $convert.base64Decode( - 'Ch9HZXRPcmdCaWxsaW5nSW5mb3JtYXRpb25SZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSW' - 'Q='); - -@$core.Deprecated('Use getOrgBillingInformationResponseDescriptor instead') -const GetOrgBillingInformationResponse$json = { - '1': 'GetOrgBillingInformationResponse', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.PaymentMethodType', '10': 'type'}, - {'1': 'billing_email', '3': 2, '4': 1, '5': 9, '10': 'billingEmail'}, - {'1': 'method', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.PaymentMethodCard', '9': 0, '10': 'method', '17': true}, - {'1': 'billing_tier', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'billingTier', '17': true}, - ], - '8': [ - {'1': '_method'}, - {'1': '_billing_tier'}, - ], -}; - -/// Descriptor for `GetOrgBillingInformationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrgBillingInformationResponseDescriptor = $convert.base64Decode( - 'CiBHZXRPcmdCaWxsaW5nSW5mb3JtYXRpb25SZXNwb25zZRIyCgR0eXBlGAEgASgOMh4udmlhbS' - '5hcHAudjEuUGF5bWVudE1ldGhvZFR5cGVSBHR5cGUSIwoNYmlsbGluZ19lbWFpbBgCIAEoCVIM' - 'YmlsbGluZ0VtYWlsEjsKBm1ldGhvZBgDIAEoCzIeLnZpYW0uYXBwLnYxLlBheW1lbnRNZXRob2' - 'RDYXJkSABSBm1ldGhvZIgBARImCgxiaWxsaW5nX3RpZXIYBCABKAlIAVILYmlsbGluZ1RpZXKI' - 'AQFCCQoHX21ldGhvZEIPCg1fYmlsbGluZ190aWVy'); - -@$core.Deprecated('Use getInvoicesSummaryRequestDescriptor instead') -const GetInvoicesSummaryRequest$json = { - '1': 'GetInvoicesSummaryRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `GetInvoicesSummaryRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInvoicesSummaryRequestDescriptor = $convert.base64Decode( - 'ChlHZXRJbnZvaWNlc1N1bW1hcnlSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQ='); - -@$core.Deprecated('Use getInvoicesSummaryResponseDescriptor instead') -const GetInvoicesSummaryResponse$json = { - '1': 'GetInvoicesSummaryResponse', - '2': [ - {'1': 'outstanding_balance', '3': 1, '4': 1, '5': 1, '10': 'outstandingBalance'}, - {'1': 'invoices', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.InvoiceSummary', '10': 'invoices'}, - ], -}; - -/// Descriptor for `GetInvoicesSummaryResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInvoicesSummaryResponseDescriptor = $convert.base64Decode( - 'ChpHZXRJbnZvaWNlc1N1bW1hcnlSZXNwb25zZRIvChNvdXRzdGFuZGluZ19iYWxhbmNlGAEgAS' - 'gBUhJvdXRzdGFuZGluZ0JhbGFuY2USNwoIaW52b2ljZXMYAiADKAsyGy52aWFtLmFwcC52MS5J' - 'bnZvaWNlU3VtbWFyeVIIaW52b2ljZXM='); - -@$core.Deprecated('Use getInvoicePdfRequestDescriptor instead') -const GetInvoicePdfRequest$json = { - '1': 'GetInvoicePdfRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'org_id', '3': 2, '4': 1, '5': 9, '10': 'orgId'}, - ], -}; - -/// Descriptor for `GetInvoicePdfRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInvoicePdfRequestDescriptor = $convert.base64Decode( - 'ChRHZXRJbnZvaWNlUGRmUmVxdWVzdBIOCgJpZBgBIAEoCVICaWQSFQoGb3JnX2lkGAIgASgJUg' - 'VvcmdJZA=='); - -@$core.Deprecated('Use getInvoicePdfResponseDescriptor instead') -const GetInvoicePdfResponse$json = { - '1': 'GetInvoicePdfResponse', - '2': [ - {'1': 'chunk', '3': 1, '4': 1, '5': 12, '10': 'chunk'}, - ], -}; - -/// Descriptor for `GetInvoicePdfResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInvoicePdfResponseDescriptor = $convert.base64Decode( - 'ChVHZXRJbnZvaWNlUGRmUmVzcG9uc2USFAoFY2h1bmsYASABKAxSBWNodW5r'); - -@$core.Deprecated('Use sendPaymentRequiredEmailRequestDescriptor instead') -const SendPaymentRequiredEmailRequest$json = { - '1': 'SendPaymentRequiredEmailRequest', - '2': [ - {'1': 'customer_org_id', '3': 1, '4': 1, '5': 9, '10': 'customerOrgId'}, - {'1': 'billing_owner_org_id', '3': 2, '4': 1, '5': 9, '10': 'billingOwnerOrgId'}, - ], -}; - -/// Descriptor for `SendPaymentRequiredEmailRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sendPaymentRequiredEmailRequestDescriptor = $convert.base64Decode( - 'Ch9TZW5kUGF5bWVudFJlcXVpcmVkRW1haWxSZXF1ZXN0EiYKD2N1c3RvbWVyX29yZ19pZBgBIA' - 'EoCVINY3VzdG9tZXJPcmdJZBIvChRiaWxsaW5nX293bmVyX29yZ19pZBgCIAEoCVIRYmlsbGlu' - 'Z093bmVyT3JnSWQ='); - -@$core.Deprecated('Use sendPaymentRequiredEmailResponseDescriptor instead') -const SendPaymentRequiredEmailResponse$json = { - '1': 'SendPaymentRequiredEmailResponse', -}; - -/// Descriptor for `SendPaymentRequiredEmailResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sendPaymentRequiredEmailResponseDescriptor = $convert.base64Decode( - 'CiBTZW5kUGF5bWVudFJlcXVpcmVkRW1haWxSZXNwb25zZQ=='); - diff --git a/lib/src/gen/app/v1/end_user.pb.dart b/lib/src/gen/app/v1/end_user.pb.dart deleted file mode 100644 index f6a1675c716..00000000000 --- a/lib/src/gen/app/v1/end_user.pb.dart +++ /dev/null @@ -1,681 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/end_user.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class IsLegalAcceptedRequest extends $pb.GeneratedMessage { - factory IsLegalAcceptedRequest() => create(); - IsLegalAcceptedRequest._() : super(); - factory IsLegalAcceptedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsLegalAcceptedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsLegalAcceptedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsLegalAcceptedRequest clone() => IsLegalAcceptedRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsLegalAcceptedRequest copyWith(void Function(IsLegalAcceptedRequest) updates) => super.copyWith((message) => updates(message as IsLegalAcceptedRequest)) as IsLegalAcceptedRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsLegalAcceptedRequest create() => IsLegalAcceptedRequest._(); - IsLegalAcceptedRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsLegalAcceptedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsLegalAcceptedRequest? _defaultInstance; -} - -class IsLegalAcceptedResponse extends $pb.GeneratedMessage { - factory IsLegalAcceptedResponse({ - $core.bool? acceptedLegal, - }) { - final $result = create(); - if (acceptedLegal != null) { - $result.acceptedLegal = acceptedLegal; - } - return $result; - } - IsLegalAcceptedResponse._() : super(); - factory IsLegalAcceptedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsLegalAcceptedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsLegalAcceptedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'acceptedLegal') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsLegalAcceptedResponse clone() => IsLegalAcceptedResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsLegalAcceptedResponse copyWith(void Function(IsLegalAcceptedResponse) updates) => super.copyWith((message) => updates(message as IsLegalAcceptedResponse)) as IsLegalAcceptedResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsLegalAcceptedResponse create() => IsLegalAcceptedResponse._(); - IsLegalAcceptedResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsLegalAcceptedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsLegalAcceptedResponse? _defaultInstance; - - /// If false, the user should not be able to use the application. - @$pb.TagNumber(1) - $core.bool get acceptedLegal => $_getBF(0); - @$pb.TagNumber(1) - set acceptedLegal($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasAcceptedLegal() => $_has(0); - @$pb.TagNumber(1) - void clearAcceptedLegal() => clearField(1); -} - -class AcceptLegalRequest extends $pb.GeneratedMessage { - factory AcceptLegalRequest() => create(); - AcceptLegalRequest._() : super(); - factory AcceptLegalRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AcceptLegalRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AcceptLegalRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AcceptLegalRequest clone() => AcceptLegalRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AcceptLegalRequest copyWith(void Function(AcceptLegalRequest) updates) => super.copyWith((message) => updates(message as AcceptLegalRequest)) as AcceptLegalRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AcceptLegalRequest create() => AcceptLegalRequest._(); - AcceptLegalRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AcceptLegalRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AcceptLegalRequest? _defaultInstance; -} - -class AcceptLegalResponse extends $pb.GeneratedMessage { - factory AcceptLegalResponse() => create(); - AcceptLegalResponse._() : super(); - factory AcceptLegalResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AcceptLegalResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AcceptLegalResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AcceptLegalResponse clone() => AcceptLegalResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AcceptLegalResponse copyWith(void Function(AcceptLegalResponse) updates) => super.copyWith((message) => updates(message as AcceptLegalResponse)) as AcceptLegalResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AcceptLegalResponse create() => AcceptLegalResponse._(); - AcceptLegalResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AcceptLegalResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AcceptLegalResponse? _defaultInstance; -} - -class RegisterAuthApplicationRequest extends $pb.GeneratedMessage { - factory RegisterAuthApplicationRequest({ - $core.String? applicationName, - $core.String? orgId, - $core.Iterable<$core.String>? originUris, - $core.Iterable<$core.String>? redirectUris, - $core.String? logoutUri, - }) { - final $result = create(); - if (applicationName != null) { - $result.applicationName = applicationName; - } - if (orgId != null) { - $result.orgId = orgId; - } - if (originUris != null) { - $result.originUris.addAll(originUris); - } - if (redirectUris != null) { - $result.redirectUris.addAll(redirectUris); - } - if (logoutUri != null) { - $result.logoutUri = logoutUri; - } - return $result; - } - RegisterAuthApplicationRequest._() : super(); - factory RegisterAuthApplicationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegisterAuthApplicationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegisterAuthApplicationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'applicationName') - ..aOS(2, _omitFieldNames ? '' : 'orgId') - ..pPS(3, _omitFieldNames ? '' : 'originUris') - ..pPS(4, _omitFieldNames ? '' : 'redirectUris') - ..aOS(5, _omitFieldNames ? '' : 'logoutUri') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RegisterAuthApplicationRequest clone() => RegisterAuthApplicationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegisterAuthApplicationRequest copyWith(void Function(RegisterAuthApplicationRequest) updates) => super.copyWith((message) => updates(message as RegisterAuthApplicationRequest)) as RegisterAuthApplicationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RegisterAuthApplicationRequest create() => RegisterAuthApplicationRequest._(); - RegisterAuthApplicationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RegisterAuthApplicationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RegisterAuthApplicationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get applicationName => $_getSZ(0); - @$pb.TagNumber(1) - set applicationName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasApplicationName() => $_has(0); - @$pb.TagNumber(1) - void clearApplicationName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get orgId => $_getSZ(1); - @$pb.TagNumber(2) - set orgId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrgId() => $_has(1); - @$pb.TagNumber(2) - void clearOrgId() => clearField(2); - - @$pb.TagNumber(3) - $core.List<$core.String> get originUris => $_getList(2); - - @$pb.TagNumber(4) - $core.List<$core.String> get redirectUris => $_getList(3); - - @$pb.TagNumber(5) - $core.String get logoutUri => $_getSZ(4); - @$pb.TagNumber(5) - set logoutUri($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasLogoutUri() => $_has(4); - @$pb.TagNumber(5) - void clearLogoutUri() => clearField(5); -} - -class RegisterAuthApplicationResponse extends $pb.GeneratedMessage { - factory RegisterAuthApplicationResponse({ - $core.String? applicationId, - $core.String? applicationName, - $core.String? clientSecret, - }) { - final $result = create(); - if (applicationId != null) { - $result.applicationId = applicationId; - } - if (applicationName != null) { - $result.applicationName = applicationName; - } - if (clientSecret != null) { - $result.clientSecret = clientSecret; - } - return $result; - } - RegisterAuthApplicationResponse._() : super(); - factory RegisterAuthApplicationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegisterAuthApplicationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegisterAuthApplicationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'applicationId') - ..aOS(2, _omitFieldNames ? '' : 'applicationName') - ..aOS(3, _omitFieldNames ? '' : 'clientSecret') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RegisterAuthApplicationResponse clone() => RegisterAuthApplicationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegisterAuthApplicationResponse copyWith(void Function(RegisterAuthApplicationResponse) updates) => super.copyWith((message) => updates(message as RegisterAuthApplicationResponse)) as RegisterAuthApplicationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RegisterAuthApplicationResponse create() => RegisterAuthApplicationResponse._(); - RegisterAuthApplicationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RegisterAuthApplicationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RegisterAuthApplicationResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get applicationId => $_getSZ(0); - @$pb.TagNumber(1) - set applicationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasApplicationId() => $_has(0); - @$pb.TagNumber(1) - void clearApplicationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get applicationName => $_getSZ(1); - @$pb.TagNumber(2) - set applicationName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasApplicationName() => $_has(1); - @$pb.TagNumber(2) - void clearApplicationName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get clientSecret => $_getSZ(2); - @$pb.TagNumber(3) - set clientSecret($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasClientSecret() => $_has(2); - @$pb.TagNumber(3) - void clearClientSecret() => clearField(3); -} - -class UpdateAuthApplicationRequest extends $pb.GeneratedMessage { - factory UpdateAuthApplicationRequest({ - $core.String? orgId, - $core.String? applicationId, - $core.String? applicationName, - $core.Iterable<$core.String>? originUris, - $core.Iterable<$core.String>? redirectUris, - $core.String? logoutUri, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (applicationId != null) { - $result.applicationId = applicationId; - } - if (applicationName != null) { - $result.applicationName = applicationName; - } - if (originUris != null) { - $result.originUris.addAll(originUris); - } - if (redirectUris != null) { - $result.redirectUris.addAll(redirectUris); - } - if (logoutUri != null) { - $result.logoutUri = logoutUri; - } - return $result; - } - UpdateAuthApplicationRequest._() : super(); - factory UpdateAuthApplicationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateAuthApplicationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAuthApplicationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'applicationId') - ..aOS(3, _omitFieldNames ? '' : 'applicationName') - ..pPS(4, _omitFieldNames ? '' : 'originUris') - ..pPS(5, _omitFieldNames ? '' : 'redirectUris') - ..aOS(6, _omitFieldNames ? '' : 'logoutUri') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateAuthApplicationRequest clone() => UpdateAuthApplicationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateAuthApplicationRequest copyWith(void Function(UpdateAuthApplicationRequest) updates) => super.copyWith((message) => updates(message as UpdateAuthApplicationRequest)) as UpdateAuthApplicationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateAuthApplicationRequest create() => UpdateAuthApplicationRequest._(); - UpdateAuthApplicationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateAuthApplicationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateAuthApplicationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get applicationId => $_getSZ(1); - @$pb.TagNumber(2) - set applicationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasApplicationId() => $_has(1); - @$pb.TagNumber(2) - void clearApplicationId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get applicationName => $_getSZ(2); - @$pb.TagNumber(3) - set applicationName($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasApplicationName() => $_has(2); - @$pb.TagNumber(3) - void clearApplicationName() => clearField(3); - - @$pb.TagNumber(4) - $core.List<$core.String> get originUris => $_getList(3); - - @$pb.TagNumber(5) - $core.List<$core.String> get redirectUris => $_getList(4); - - @$pb.TagNumber(6) - $core.String get logoutUri => $_getSZ(5); - @$pb.TagNumber(6) - set logoutUri($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasLogoutUri() => $_has(5); - @$pb.TagNumber(6) - void clearLogoutUri() => clearField(6); -} - -class UpdateAuthApplicationResponse extends $pb.GeneratedMessage { - factory UpdateAuthApplicationResponse({ - $core.String? applicationId, - $core.String? applicationName, - }) { - final $result = create(); - if (applicationId != null) { - $result.applicationId = applicationId; - } - if (applicationName != null) { - $result.applicationName = applicationName; - } - return $result; - } - UpdateAuthApplicationResponse._() : super(); - factory UpdateAuthApplicationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateAuthApplicationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateAuthApplicationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'applicationId') - ..aOS(2, _omitFieldNames ? '' : 'applicationName') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateAuthApplicationResponse clone() => UpdateAuthApplicationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateAuthApplicationResponse copyWith(void Function(UpdateAuthApplicationResponse) updates) => super.copyWith((message) => updates(message as UpdateAuthApplicationResponse)) as UpdateAuthApplicationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateAuthApplicationResponse create() => UpdateAuthApplicationResponse._(); - UpdateAuthApplicationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UpdateAuthApplicationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UpdateAuthApplicationResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get applicationId => $_getSZ(0); - @$pb.TagNumber(1) - set applicationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasApplicationId() => $_has(0); - @$pb.TagNumber(1) - void clearApplicationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get applicationName => $_getSZ(1); - @$pb.TagNumber(2) - set applicationName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasApplicationName() => $_has(1); - @$pb.TagNumber(2) - void clearApplicationName() => clearField(2); -} - -class GetAuthApplicationRequest extends $pb.GeneratedMessage { - factory GetAuthApplicationRequest({ - $core.String? orgId, - $core.String? applicationId, - }) { - final $result = create(); - if (orgId != null) { - $result.orgId = orgId; - } - if (applicationId != null) { - $result.applicationId = applicationId; - } - return $result; - } - GetAuthApplicationRequest._() : super(); - factory GetAuthApplicationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAuthApplicationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAuthApplicationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'orgId') - ..aOS(2, _omitFieldNames ? '' : 'applicationId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAuthApplicationRequest clone() => GetAuthApplicationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAuthApplicationRequest copyWith(void Function(GetAuthApplicationRequest) updates) => super.copyWith((message) => updates(message as GetAuthApplicationRequest)) as GetAuthApplicationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAuthApplicationRequest create() => GetAuthApplicationRequest._(); - GetAuthApplicationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAuthApplicationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAuthApplicationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get orgId => $_getSZ(0); - @$pb.TagNumber(1) - set orgId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrgId() => $_has(0); - @$pb.TagNumber(1) - void clearOrgId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get applicationId => $_getSZ(1); - @$pb.TagNumber(2) - set applicationId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasApplicationId() => $_has(1); - @$pb.TagNumber(2) - void clearApplicationId() => clearField(2); -} - -class GetAuthApplicationResponse extends $pb.GeneratedMessage { - factory GetAuthApplicationResponse({ - $core.String? applicationId, - $core.String? applicationName, - $core.String? clientSecret, - $core.Iterable<$core.String>? originUris, - $core.Iterable<$core.String>? redirectUris, - $core.String? logoutUri, - }) { - final $result = create(); - if (applicationId != null) { - $result.applicationId = applicationId; - } - if (applicationName != null) { - $result.applicationName = applicationName; - } - if (clientSecret != null) { - $result.clientSecret = clientSecret; - } - if (originUris != null) { - $result.originUris.addAll(originUris); - } - if (redirectUris != null) { - $result.redirectUris.addAll(redirectUris); - } - if (logoutUri != null) { - $result.logoutUri = logoutUri; - } - return $result; - } - GetAuthApplicationResponse._() : super(); - factory GetAuthApplicationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAuthApplicationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAuthApplicationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'applicationId') - ..aOS(2, _omitFieldNames ? '' : 'applicationName') - ..aOS(3, _omitFieldNames ? '' : 'clientSecret') - ..pPS(4, _omitFieldNames ? '' : 'originUris') - ..pPS(5, _omitFieldNames ? '' : 'redirectUris') - ..aOS(6, _omitFieldNames ? '' : 'logoutUri') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAuthApplicationResponse clone() => GetAuthApplicationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAuthApplicationResponse copyWith(void Function(GetAuthApplicationResponse) updates) => super.copyWith((message) => updates(message as GetAuthApplicationResponse)) as GetAuthApplicationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAuthApplicationResponse create() => GetAuthApplicationResponse._(); - GetAuthApplicationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAuthApplicationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAuthApplicationResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get applicationId => $_getSZ(0); - @$pb.TagNumber(1) - set applicationId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasApplicationId() => $_has(0); - @$pb.TagNumber(1) - void clearApplicationId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get applicationName => $_getSZ(1); - @$pb.TagNumber(2) - set applicationName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasApplicationName() => $_has(1); - @$pb.TagNumber(2) - void clearApplicationName() => clearField(2); - - @$pb.TagNumber(3) - $core.String get clientSecret => $_getSZ(2); - @$pb.TagNumber(3) - set clientSecret($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasClientSecret() => $_has(2); - @$pb.TagNumber(3) - void clearClientSecret() => clearField(3); - - @$pb.TagNumber(4) - $core.List<$core.String> get originUris => $_getList(3); - - @$pb.TagNumber(5) - $core.List<$core.String> get redirectUris => $_getList(4); - - @$pb.TagNumber(6) - $core.String get logoutUri => $_getSZ(5); - @$pb.TagNumber(6) - set logoutUri($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasLogoutUri() => $_has(5); - @$pb.TagNumber(6) - void clearLogoutUri() => clearField(6); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/v1/end_user.pbenum.dart b/lib/src/gen/app/v1/end_user.pbenum.dart deleted file mode 100644 index 7cc9968667e..00000000000 --- a/lib/src/gen/app/v1/end_user.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/end_user.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/app/v1/end_user.pbgrpc.dart b/lib/src/gen/app/v1/end_user.pbgrpc.dart deleted file mode 100644 index 6b511aaeafd..00000000000 --- a/lib/src/gen/app/v1/end_user.pbgrpc.dart +++ /dev/null @@ -1,139 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/end_user.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'end_user.pb.dart' as $12; - -export 'end_user.pb.dart'; - -@$pb.GrpcServiceName('viam.app.v1.EndUserService') -class EndUserServiceClient extends $grpc.Client { - static final _$isLegalAccepted = $grpc.ClientMethod<$12.IsLegalAcceptedRequest, $12.IsLegalAcceptedResponse>( - '/viam.app.v1.EndUserService/IsLegalAccepted', - ($12.IsLegalAcceptedRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.IsLegalAcceptedResponse.fromBuffer(value)); - static final _$acceptLegal = $grpc.ClientMethod<$12.AcceptLegalRequest, $12.AcceptLegalResponse>( - '/viam.app.v1.EndUserService/AcceptLegal', - ($12.AcceptLegalRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.AcceptLegalResponse.fromBuffer(value)); - static final _$registerAuthApplication = $grpc.ClientMethod<$12.RegisterAuthApplicationRequest, $12.RegisterAuthApplicationResponse>( - '/viam.app.v1.EndUserService/RegisterAuthApplication', - ($12.RegisterAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.RegisterAuthApplicationResponse.fromBuffer(value)); - static final _$updateAuthApplication = $grpc.ClientMethod<$12.UpdateAuthApplicationRequest, $12.UpdateAuthApplicationResponse>( - '/viam.app.v1.EndUserService/UpdateAuthApplication', - ($12.UpdateAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.UpdateAuthApplicationResponse.fromBuffer(value)); - static final _$getAuthApplication = $grpc.ClientMethod<$12.GetAuthApplicationRequest, $12.GetAuthApplicationResponse>( - '/viam.app.v1.EndUserService/GetAuthApplication', - ($12.GetAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.GetAuthApplicationResponse.fromBuffer(value)); - - EndUserServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$12.IsLegalAcceptedResponse> isLegalAccepted($12.IsLegalAcceptedRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isLegalAccepted, request, options: options); - } - - $grpc.ResponseFuture<$12.AcceptLegalResponse> acceptLegal($12.AcceptLegalRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$acceptLegal, request, options: options); - } - - $grpc.ResponseFuture<$12.RegisterAuthApplicationResponse> registerAuthApplication($12.RegisterAuthApplicationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$registerAuthApplication, request, options: options); - } - - $grpc.ResponseFuture<$12.UpdateAuthApplicationResponse> updateAuthApplication($12.UpdateAuthApplicationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateAuthApplication, request, options: options); - } - - $grpc.ResponseFuture<$12.GetAuthApplicationResponse> getAuthApplication($12.GetAuthApplicationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getAuthApplication, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.v1.EndUserService') -abstract class EndUserServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.v1.EndUserService'; - - EndUserServiceBase() { - $addMethod($grpc.ServiceMethod<$12.IsLegalAcceptedRequest, $12.IsLegalAcceptedResponse>( - 'IsLegalAccepted', - isLegalAccepted_Pre, - false, - false, - ($core.List<$core.int> value) => $12.IsLegalAcceptedRequest.fromBuffer(value), - ($12.IsLegalAcceptedResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.AcceptLegalRequest, $12.AcceptLegalResponse>( - 'AcceptLegal', - acceptLegal_Pre, - false, - false, - ($core.List<$core.int> value) => $12.AcceptLegalRequest.fromBuffer(value), - ($12.AcceptLegalResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.RegisterAuthApplicationRequest, $12.RegisterAuthApplicationResponse>( - 'RegisterAuthApplication', - registerAuthApplication_Pre, - false, - false, - ($core.List<$core.int> value) => $12.RegisterAuthApplicationRequest.fromBuffer(value), - ($12.RegisterAuthApplicationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.UpdateAuthApplicationRequest, $12.UpdateAuthApplicationResponse>( - 'UpdateAuthApplication', - updateAuthApplication_Pre, - false, - false, - ($core.List<$core.int> value) => $12.UpdateAuthApplicationRequest.fromBuffer(value), - ($12.UpdateAuthApplicationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.GetAuthApplicationRequest, $12.GetAuthApplicationResponse>( - 'GetAuthApplication', - getAuthApplication_Pre, - false, - false, - ($core.List<$core.int> value) => $12.GetAuthApplicationRequest.fromBuffer(value), - ($12.GetAuthApplicationResponse value) => value.writeToBuffer())); - } - - $async.Future<$12.IsLegalAcceptedResponse> isLegalAccepted_Pre($grpc.ServiceCall call, $async.Future<$12.IsLegalAcceptedRequest> request) async { - return isLegalAccepted(call, await request); - } - - $async.Future<$12.AcceptLegalResponse> acceptLegal_Pre($grpc.ServiceCall call, $async.Future<$12.AcceptLegalRequest> request) async { - return acceptLegal(call, await request); - } - - $async.Future<$12.RegisterAuthApplicationResponse> registerAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$12.RegisterAuthApplicationRequest> request) async { - return registerAuthApplication(call, await request); - } - - $async.Future<$12.UpdateAuthApplicationResponse> updateAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$12.UpdateAuthApplicationRequest> request) async { - return updateAuthApplication(call, await request); - } - - $async.Future<$12.GetAuthApplicationResponse> getAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$12.GetAuthApplicationRequest> request) async { - return getAuthApplication(call, await request); - } - - $async.Future<$12.IsLegalAcceptedResponse> isLegalAccepted($grpc.ServiceCall call, $12.IsLegalAcceptedRequest request); - $async.Future<$12.AcceptLegalResponse> acceptLegal($grpc.ServiceCall call, $12.AcceptLegalRequest request); - $async.Future<$12.RegisterAuthApplicationResponse> registerAuthApplication($grpc.ServiceCall call, $12.RegisterAuthApplicationRequest request); - $async.Future<$12.UpdateAuthApplicationResponse> updateAuthApplication($grpc.ServiceCall call, $12.UpdateAuthApplicationRequest request); - $async.Future<$12.GetAuthApplicationResponse> getAuthApplication($grpc.ServiceCall call, $12.GetAuthApplicationRequest request); -} diff --git a/lib/src/gen/app/v1/end_user.pbjson.dart b/lib/src/gen/app/v1/end_user.pbjson.dart deleted file mode 100644 index 247675e08b4..00000000000 --- a/lib/src/gen/app/v1/end_user.pbjson.dart +++ /dev/null @@ -1,167 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/end_user.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use isLegalAcceptedRequestDescriptor instead') -const IsLegalAcceptedRequest$json = { - '1': 'IsLegalAcceptedRequest', -}; - -/// Descriptor for `IsLegalAcceptedRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isLegalAcceptedRequestDescriptor = $convert.base64Decode( - 'ChZJc0xlZ2FsQWNjZXB0ZWRSZXF1ZXN0'); - -@$core.Deprecated('Use isLegalAcceptedResponseDescriptor instead') -const IsLegalAcceptedResponse$json = { - '1': 'IsLegalAcceptedResponse', - '2': [ - {'1': 'accepted_legal', '3': 1, '4': 1, '5': 8, '10': 'acceptedLegal'}, - ], -}; - -/// Descriptor for `IsLegalAcceptedResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isLegalAcceptedResponseDescriptor = $convert.base64Decode( - 'ChdJc0xlZ2FsQWNjZXB0ZWRSZXNwb25zZRIlCg5hY2NlcHRlZF9sZWdhbBgBIAEoCFINYWNjZX' - 'B0ZWRMZWdhbA=='); - -@$core.Deprecated('Use acceptLegalRequestDescriptor instead') -const AcceptLegalRequest$json = { - '1': 'AcceptLegalRequest', -}; - -/// Descriptor for `AcceptLegalRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List acceptLegalRequestDescriptor = $convert.base64Decode( - 'ChJBY2NlcHRMZWdhbFJlcXVlc3Q='); - -@$core.Deprecated('Use acceptLegalResponseDescriptor instead') -const AcceptLegalResponse$json = { - '1': 'AcceptLegalResponse', -}; - -/// Descriptor for `AcceptLegalResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List acceptLegalResponseDescriptor = $convert.base64Decode( - 'ChNBY2NlcHRMZWdhbFJlc3BvbnNl'); - -@$core.Deprecated('Use registerAuthApplicationRequestDescriptor instead') -const RegisterAuthApplicationRequest$json = { - '1': 'RegisterAuthApplicationRequest', - '2': [ - {'1': 'application_name', '3': 1, '4': 1, '5': 9, '10': 'applicationName'}, - {'1': 'org_id', '3': 2, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'origin_uris', '3': 3, '4': 3, '5': 9, '10': 'originUris'}, - {'1': 'redirect_uris', '3': 4, '4': 3, '5': 9, '10': 'redirectUris'}, - {'1': 'logout_uri', '3': 5, '4': 1, '5': 9, '10': 'logoutUri'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `RegisterAuthApplicationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List registerAuthApplicationRequestDescriptor = $convert.base64Decode( - 'Ch5SZWdpc3RlckF1dGhBcHBsaWNhdGlvblJlcXVlc3QSKQoQYXBwbGljYXRpb25fbmFtZRgBIA' - 'EoCVIPYXBwbGljYXRpb25OYW1lEhUKBm9yZ19pZBgCIAEoCVIFb3JnSWQSHwoLb3JpZ2luX3Vy' - 'aXMYAyADKAlSCm9yaWdpblVyaXMSIwoNcmVkaXJlY3RfdXJpcxgEIAMoCVIMcmVkaXJlY3RVcm' - 'lzEh0KCmxvZ291dF91cmkYBSABKAlSCWxvZ291dFVyaToCGAE='); - -@$core.Deprecated('Use registerAuthApplicationResponseDescriptor instead') -const RegisterAuthApplicationResponse$json = { - '1': 'RegisterAuthApplicationResponse', - '2': [ - {'1': 'application_id', '3': 1, '4': 1, '5': 9, '10': 'applicationId'}, - {'1': 'application_name', '3': 2, '4': 1, '5': 9, '10': 'applicationName'}, - {'1': 'client_secret', '3': 3, '4': 1, '5': 9, '10': 'clientSecret'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `RegisterAuthApplicationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List registerAuthApplicationResponseDescriptor = $convert.base64Decode( - 'Ch9SZWdpc3RlckF1dGhBcHBsaWNhdGlvblJlc3BvbnNlEiUKDmFwcGxpY2F0aW9uX2lkGAEgAS' - 'gJUg1hcHBsaWNhdGlvbklkEikKEGFwcGxpY2F0aW9uX25hbWUYAiABKAlSD2FwcGxpY2F0aW9u' - 'TmFtZRIjCg1jbGllbnRfc2VjcmV0GAMgASgJUgxjbGllbnRTZWNyZXQ6AhgB'); - -@$core.Deprecated('Use updateAuthApplicationRequestDescriptor instead') -const UpdateAuthApplicationRequest$json = { - '1': 'UpdateAuthApplicationRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'application_id', '3': 2, '4': 1, '5': 9, '10': 'applicationId'}, - {'1': 'application_name', '3': 3, '4': 1, '5': 9, '10': 'applicationName'}, - {'1': 'origin_uris', '3': 4, '4': 3, '5': 9, '10': 'originUris'}, - {'1': 'redirect_uris', '3': 5, '4': 3, '5': 9, '10': 'redirectUris'}, - {'1': 'logout_uri', '3': 6, '4': 1, '5': 9, '10': 'logoutUri'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `UpdateAuthApplicationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateAuthApplicationRequestDescriptor = $convert.base64Decode( - 'ChxVcGRhdGVBdXRoQXBwbGljYXRpb25SZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQSJQ' - 'oOYXBwbGljYXRpb25faWQYAiABKAlSDWFwcGxpY2F0aW9uSWQSKQoQYXBwbGljYXRpb25fbmFt' - 'ZRgDIAEoCVIPYXBwbGljYXRpb25OYW1lEh8KC29yaWdpbl91cmlzGAQgAygJUgpvcmlnaW5Vcm' - 'lzEiMKDXJlZGlyZWN0X3VyaXMYBSADKAlSDHJlZGlyZWN0VXJpcxIdCgpsb2dvdXRfdXJpGAYg' - 'ASgJUglsb2dvdXRVcmk6AhgB'); - -@$core.Deprecated('Use updateAuthApplicationResponseDescriptor instead') -const UpdateAuthApplicationResponse$json = { - '1': 'UpdateAuthApplicationResponse', - '2': [ - {'1': 'application_id', '3': 1, '4': 1, '5': 9, '10': 'applicationId'}, - {'1': 'application_name', '3': 2, '4': 1, '5': 9, '10': 'applicationName'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `UpdateAuthApplicationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateAuthApplicationResponseDescriptor = $convert.base64Decode( - 'Ch1VcGRhdGVBdXRoQXBwbGljYXRpb25SZXNwb25zZRIlCg5hcHBsaWNhdGlvbl9pZBgBIAEoCV' - 'INYXBwbGljYXRpb25JZBIpChBhcHBsaWNhdGlvbl9uYW1lGAIgASgJUg9hcHBsaWNhdGlvbk5h' - 'bWU6AhgB'); - -@$core.Deprecated('Use getAuthApplicationRequestDescriptor instead') -const GetAuthApplicationRequest$json = { - '1': 'GetAuthApplicationRequest', - '2': [ - {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, - {'1': 'application_id', '3': 2, '4': 1, '5': 9, '10': 'applicationId'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `GetAuthApplicationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAuthApplicationRequestDescriptor = $convert.base64Decode( - 'ChlHZXRBdXRoQXBwbGljYXRpb25SZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQSJQoOYX' - 'BwbGljYXRpb25faWQYAiABKAlSDWFwcGxpY2F0aW9uSWQ6AhgB'); - -@$core.Deprecated('Use getAuthApplicationResponseDescriptor instead') -const GetAuthApplicationResponse$json = { - '1': 'GetAuthApplicationResponse', - '2': [ - {'1': 'application_id', '3': 1, '4': 1, '5': 9, '10': 'applicationId'}, - {'1': 'application_name', '3': 2, '4': 1, '5': 9, '10': 'applicationName'}, - {'1': 'client_secret', '3': 3, '4': 1, '5': 9, '10': 'clientSecret'}, - {'1': 'origin_uris', '3': 4, '4': 3, '5': 9, '10': 'originUris'}, - {'1': 'redirect_uris', '3': 5, '4': 3, '5': 9, '10': 'redirectUris'}, - {'1': 'logout_uri', '3': 6, '4': 1, '5': 9, '10': 'logoutUri'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `GetAuthApplicationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAuthApplicationResponseDescriptor = $convert.base64Decode( - 'ChpHZXRBdXRoQXBwbGljYXRpb25SZXNwb25zZRIlCg5hcHBsaWNhdGlvbl9pZBgBIAEoCVINYX' - 'BwbGljYXRpb25JZBIpChBhcHBsaWNhdGlvbl9uYW1lGAIgASgJUg9hcHBsaWNhdGlvbk5hbWUS' - 'IwoNY2xpZW50X3NlY3JldBgDIAEoCVIMY2xpZW50U2VjcmV0Eh8KC29yaWdpbl91cmlzGAQgAy' - 'gJUgpvcmlnaW5VcmlzEiMKDXJlZGlyZWN0X3VyaXMYBSADKAlSDHJlZGlyZWN0VXJpcxIdCgps' - 'b2dvdXRfdXJpGAYgASgJUglsb2dvdXRVcmk6AhgB'); - diff --git a/lib/src/gen/app/v1/robot.pb.dart b/lib/src/gen/app/v1/robot.pb.dart deleted file mode 100644 index 65820a746c2..00000000000 --- a/lib/src/gen/app/v1/robot.pb.dart +++ /dev/null @@ -1,3821 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../common/v1/common.pb.dart' as $15; -import '../../google/protobuf/duration.pb.dart' as $45; -import '../../google/protobuf/struct.pb.dart' as $46; -import 'robot.pbenum.dart'; - -export 'robot.pbenum.dart'; - -class RobotConfig extends $pb.GeneratedMessage { - factory RobotConfig({ - CloudConfig? cloud, - $core.Iterable? remotes, - $core.Iterable? components, - $core.Iterable? processes, - $core.Iterable? services, - NetworkConfig? network, - AuthConfig? auth, - $core.bool? debug, - $core.Iterable? modules, - $core.bool? disablePartialStart, - $core.Iterable? packages, - $core.Iterable? overwriteFragmentStatus, - $core.bool? enableWebProfile, - $core.Iterable? log, - $core.String? revision, - MaintenanceConfig? maintenance, - $core.bool? disableLogDeduplication, - }) { - final $result = create(); - if (cloud != null) { - $result.cloud = cloud; - } - if (remotes != null) { - $result.remotes.addAll(remotes); - } - if (components != null) { - $result.components.addAll(components); - } - if (processes != null) { - $result.processes.addAll(processes); - } - if (services != null) { - $result.services.addAll(services); - } - if (network != null) { - $result.network = network; - } - if (auth != null) { - $result.auth = auth; - } - if (debug != null) { - $result.debug = debug; - } - if (modules != null) { - $result.modules.addAll(modules); - } - if (disablePartialStart != null) { - $result.disablePartialStart = disablePartialStart; - } - if (packages != null) { - $result.packages.addAll(packages); - } - if (overwriteFragmentStatus != null) { - $result.overwriteFragmentStatus.addAll(overwriteFragmentStatus); - } - if (enableWebProfile != null) { - $result.enableWebProfile = enableWebProfile; - } - if (log != null) { - $result.log.addAll(log); - } - if (revision != null) { - $result.revision = revision; - } - if (maintenance != null) { - $result.maintenance = maintenance; - } - if (disableLogDeduplication != null) { - $result.disableLogDeduplication = disableLogDeduplication; - } - return $result; - } - RobotConfig._() : super(); - factory RobotConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RobotConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RobotConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'cloud', subBuilder: CloudConfig.create) - ..pc(2, _omitFieldNames ? '' : 'remotes', $pb.PbFieldType.PM, subBuilder: RemoteConfig.create) - ..pc(3, _omitFieldNames ? '' : 'components', $pb.PbFieldType.PM, subBuilder: ComponentConfig.create) - ..pc(4, _omitFieldNames ? '' : 'processes', $pb.PbFieldType.PM, subBuilder: ProcessConfig.create) - ..pc(5, _omitFieldNames ? '' : 'services', $pb.PbFieldType.PM, subBuilder: ServiceConfig.create) - ..aOM(6, _omitFieldNames ? '' : 'network', subBuilder: NetworkConfig.create) - ..aOM(7, _omitFieldNames ? '' : 'auth', subBuilder: AuthConfig.create) - ..aOB(8, _omitFieldNames ? '' : 'debug') - ..pc(9, _omitFieldNames ? '' : 'modules', $pb.PbFieldType.PM, subBuilder: ModuleConfig.create) - ..aOB(10, _omitFieldNames ? '' : 'disablePartialStart') - ..pc(11, _omitFieldNames ? '' : 'packages', $pb.PbFieldType.PM, subBuilder: PackageConfig.create) - ..pc(12, _omitFieldNames ? '' : 'overwriteFragmentStatus', $pb.PbFieldType.PM, subBuilder: AppValidationStatus.create) - ..aOB(13, _omitFieldNames ? '' : 'enableWebProfile') - ..pc(14, _omitFieldNames ? '' : 'log', $pb.PbFieldType.PM, subBuilder: LogPatternConfig.create) - ..aOS(15, _omitFieldNames ? '' : 'revision') - ..aOM(16, _omitFieldNames ? '' : 'maintenance', subBuilder: MaintenanceConfig.create) - ..aOB(17, _omitFieldNames ? '' : 'disableLogDeduplication') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RobotConfig clone() => RobotConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RobotConfig copyWith(void Function(RobotConfig) updates) => super.copyWith((message) => updates(message as RobotConfig)) as RobotConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RobotConfig create() => RobotConfig._(); - RobotConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RobotConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RobotConfig? _defaultInstance; - - @$pb.TagNumber(1) - CloudConfig get cloud => $_getN(0); - @$pb.TagNumber(1) - set cloud(CloudConfig v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCloud() => $_has(0); - @$pb.TagNumber(1) - void clearCloud() => clearField(1); - @$pb.TagNumber(1) - CloudConfig ensureCloud() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List get remotes => $_getList(1); - - @$pb.TagNumber(3) - $core.List get components => $_getList(2); - - @$pb.TagNumber(4) - $core.List get processes => $_getList(3); - - @$pb.TagNumber(5) - $core.List get services => $_getList(4); - - @$pb.TagNumber(6) - NetworkConfig get network => $_getN(5); - @$pb.TagNumber(6) - set network(NetworkConfig v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasNetwork() => $_has(5); - @$pb.TagNumber(6) - void clearNetwork() => clearField(6); - @$pb.TagNumber(6) - NetworkConfig ensureNetwork() => $_ensure(5); - - @$pb.TagNumber(7) - AuthConfig get auth => $_getN(6); - @$pb.TagNumber(7) - set auth(AuthConfig v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasAuth() => $_has(6); - @$pb.TagNumber(7) - void clearAuth() => clearField(7); - @$pb.TagNumber(7) - AuthConfig ensureAuth() => $_ensure(6); - - /// Turns on debug mode for robot, adding an echo server and more logging and tracing. Only works after restart - @$pb.TagNumber(8) - $core.bool get debug => $_getBF(7); - @$pb.TagNumber(8) - set debug($core.bool v) { $_setBool(7, v); } - @$pb.TagNumber(8) - $core.bool hasDebug() => $_has(7); - @$pb.TagNumber(8) - void clearDebug() => clearField(8); - - @$pb.TagNumber(9) - $core.List get modules => $_getList(8); - - @$pb.TagNumber(10) - $core.bool get disablePartialStart => $_getBF(9); - @$pb.TagNumber(10) - set disablePartialStart($core.bool v) { $_setBool(9, v); } - @$pb.TagNumber(10) - $core.bool hasDisablePartialStart() => $_has(9); - @$pb.TagNumber(10) - void clearDisablePartialStart() => clearField(10); - - @$pb.TagNumber(11) - $core.List get packages => $_getList(10); - - @$pb.TagNumber(12) - $core.List get overwriteFragmentStatus => $_getList(11); - - /// Turns on pprof http server on localhost. By default false. - @$pb.TagNumber(13) - $core.bool get enableWebProfile => $_getBF(12); - @$pb.TagNumber(13) - set enableWebProfile($core.bool v) { $_setBool(12, v); } - @$pb.TagNumber(13) - $core.bool hasEnableWebProfile() => $_has(12); - @$pb.TagNumber(13) - void clearEnableWebProfile() => clearField(13); - - @$pb.TagNumber(14) - $core.List get log => $_getList(13); - - /// Attributes a particular revision to the config. - @$pb.TagNumber(15) - $core.String get revision => $_getSZ(14); - @$pb.TagNumber(15) - set revision($core.String v) { $_setString(14, v); } - @$pb.TagNumber(15) - $core.bool hasRevision() => $_has(14); - @$pb.TagNumber(15) - void clearRevision() => clearField(15); - - @$pb.TagNumber(16) - MaintenanceConfig get maintenance => $_getN(15); - @$pb.TagNumber(16) - set maintenance(MaintenanceConfig v) { setField(16, v); } - @$pb.TagNumber(16) - $core.bool hasMaintenance() => $_has(15); - @$pb.TagNumber(16) - void clearMaintenance() => clearField(16); - @$pb.TagNumber(16) - MaintenanceConfig ensureMaintenance() => $_ensure(15); - - /// Disables the robot's log deduplication (identical, noisy logs will still - /// be output individually instead of aggregated.) - @$pb.TagNumber(17) - $core.bool get disableLogDeduplication => $_getBF(16); - @$pb.TagNumber(17) - set disableLogDeduplication($core.bool v) { $_setBool(16, v); } - @$pb.TagNumber(17) - $core.bool hasDisableLogDeduplication() => $_has(16); - @$pb.TagNumber(17) - void clearDisableLogDeduplication() => clearField(17); -} - -/// LogPatternConfig allows you to specify a 2-tuple consisting -/// of a logger name and its corresponding log level. -class LogPatternConfig extends $pb.GeneratedMessage { - factory LogPatternConfig({ - $core.String? pattern, - $core.String? level, - }) { - final $result = create(); - if (pattern != null) { - $result.pattern = pattern; - } - if (level != null) { - $result.level = level; - } - return $result; - } - LogPatternConfig._() : super(); - factory LogPatternConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LogPatternConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogPatternConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'pattern') - ..aOS(2, _omitFieldNames ? '' : 'level') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LogPatternConfig clone() => LogPatternConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LogPatternConfig copyWith(void Function(LogPatternConfig) updates) => super.copyWith((message) => updates(message as LogPatternConfig)) as LogPatternConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LogPatternConfig create() => LogPatternConfig._(); - LogPatternConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LogPatternConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LogPatternConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get pattern => $_getSZ(0); - @$pb.TagNumber(1) - set pattern($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPattern() => $_has(0); - @$pb.TagNumber(1) - void clearPattern() => clearField(1); - - @$pb.TagNumber(2) - $core.String get level => $_getSZ(1); - @$pb.TagNumber(2) - set level($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLevel() => $_has(1); - @$pb.TagNumber(2) - void clearLevel() => clearField(2); -} - -/// Valid location secret that can be used for authentication to the robot. -class LocationSecret extends $pb.GeneratedMessage { - factory LocationSecret({ - $core.String? id, - $core.String? secret, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (secret != null) { - $result.secret = secret; - } - return $result; - } - LocationSecret._() : super(); - factory LocationSecret.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LocationSecret.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocationSecret', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'secret') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LocationSecret clone() => LocationSecret()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LocationSecret copyWith(void Function(LocationSecret) updates) => super.copyWith((message) => updates(message as LocationSecret)) as LocationSecret; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LocationSecret create() => LocationSecret._(); - LocationSecret createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LocationSecret getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LocationSecret? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// secret payload - @$pb.TagNumber(2) - $core.String get secret => $_getSZ(1); - @$pb.TagNumber(2) - set secret($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSecret() => $_has(1); - @$pb.TagNumber(2) - void clearSecret() => clearField(2); -} - -class AppValidationStatus extends $pb.GeneratedMessage { - factory AppValidationStatus({ - $core.String? error, - }) { - final $result = create(); - if (error != null) { - $result.error = error; - } - return $result; - } - AppValidationStatus._() : super(); - factory AppValidationStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AppValidationStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppValidationStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'error') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AppValidationStatus clone() => AppValidationStatus()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AppValidationStatus copyWith(void Function(AppValidationStatus) updates) => super.copyWith((message) => updates(message as AppValidationStatus)) as AppValidationStatus; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AppValidationStatus create() => AppValidationStatus._(); - AppValidationStatus createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AppValidationStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AppValidationStatus? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get error => $_getSZ(0); - @$pb.TagNumber(1) - set error($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasError() => $_has(0); - @$pb.TagNumber(1) - void clearError() => clearField(1); -} - -class CloudConfig extends $pb.GeneratedMessage { - factory CloudConfig({ - $core.String? id, - $core.String? fqdn, - $core.String? localFqdn, - $core.String? managedBy, - $core.String? signalingAddress, - $core.bool? signalingInsecure, - @$core.Deprecated('This field is deprecated.') - $core.String? locationSecret, - $core.String? secret, - $core.Iterable? locationSecrets, - $core.String? primaryOrgId, - $core.String? locationId, - $core.String? machineId, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (fqdn != null) { - $result.fqdn = fqdn; - } - if (localFqdn != null) { - $result.localFqdn = localFqdn; - } - if (managedBy != null) { - $result.managedBy = managedBy; - } - if (signalingAddress != null) { - $result.signalingAddress = signalingAddress; - } - if (signalingInsecure != null) { - $result.signalingInsecure = signalingInsecure; - } - if (locationSecret != null) { - // ignore: deprecated_member_use_from_same_package - $result.locationSecret = locationSecret; - } - if (secret != null) { - $result.secret = secret; - } - if (locationSecrets != null) { - $result.locationSecrets.addAll(locationSecrets); - } - if (primaryOrgId != null) { - $result.primaryOrgId = primaryOrgId; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (machineId != null) { - $result.machineId = machineId; - } - return $result; - } - CloudConfig._() : super(); - factory CloudConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CloudConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CloudConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'fqdn') - ..aOS(3, _omitFieldNames ? '' : 'localFqdn') - ..aOS(4, _omitFieldNames ? '' : 'managedBy') - ..aOS(5, _omitFieldNames ? '' : 'signalingAddress') - ..aOB(6, _omitFieldNames ? '' : 'signalingInsecure') - ..aOS(7, _omitFieldNames ? '' : 'locationSecret') - ..aOS(8, _omitFieldNames ? '' : 'secret') - ..pc(9, _omitFieldNames ? '' : 'locationSecrets', $pb.PbFieldType.PM, subBuilder: LocationSecret.create) - ..aOS(10, _omitFieldNames ? '' : 'primaryOrgId') - ..aOS(11, _omitFieldNames ? '' : 'locationId') - ..aOS(12, _omitFieldNames ? '' : 'machineId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CloudConfig clone() => CloudConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CloudConfig copyWith(void Function(CloudConfig) updates) => super.copyWith((message) => updates(message as CloudConfig)) as CloudConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CloudConfig create() => CloudConfig._(); - CloudConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CloudConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CloudConfig? _defaultInstance; - - /// Robot part id. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get fqdn => $_getSZ(1); - @$pb.TagNumber(2) - set fqdn($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFqdn() => $_has(1); - @$pb.TagNumber(2) - void clearFqdn() => clearField(2); - - @$pb.TagNumber(3) - $core.String get localFqdn => $_getSZ(2); - @$pb.TagNumber(3) - set localFqdn($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLocalFqdn() => $_has(2); - @$pb.TagNumber(3) - void clearLocalFqdn() => clearField(3); - - @$pb.TagNumber(4) - $core.String get managedBy => $_getSZ(3); - @$pb.TagNumber(4) - set managedBy($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasManagedBy() => $_has(3); - @$pb.TagNumber(4) - void clearManagedBy() => clearField(4); - - @$pb.TagNumber(5) - $core.String get signalingAddress => $_getSZ(4); - @$pb.TagNumber(5) - set signalingAddress($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasSignalingAddress() => $_has(4); - @$pb.TagNumber(5) - void clearSignalingAddress() => clearField(5); - - @$pb.TagNumber(6) - $core.bool get signalingInsecure => $_getBF(5); - @$pb.TagNumber(6) - set signalingInsecure($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(6) - $core.bool hasSignalingInsecure() => $_has(5); - @$pb.TagNumber(6) - void clearSignalingInsecure() => clearField(6); - - /// Deprecated use location_secrets - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - $core.String get locationSecret => $_getSZ(6); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - set locationSecret($core.String v) { $_setString(6, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - $core.bool hasLocationSecret() => $_has(6); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(7) - void clearLocationSecret() => clearField(7); - - /// Robot part secret - @$pb.TagNumber(8) - $core.String get secret => $_getSZ(7); - @$pb.TagNumber(8) - set secret($core.String v) { $_setString(7, v); } - @$pb.TagNumber(8) - $core.bool hasSecret() => $_has(7); - @$pb.TagNumber(8) - void clearSecret() => clearField(8); - - /// All valid location secrets. - @$pb.TagNumber(9) - $core.List get locationSecrets => $_getList(8); - - @$pb.TagNumber(10) - $core.String get primaryOrgId => $_getSZ(9); - @$pb.TagNumber(10) - set primaryOrgId($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasPrimaryOrgId() => $_has(9); - @$pb.TagNumber(10) - void clearPrimaryOrgId() => clearField(10); - - @$pb.TagNumber(11) - $core.String get locationId => $_getSZ(10); - @$pb.TagNumber(11) - set locationId($core.String v) { $_setString(10, v); } - @$pb.TagNumber(11) - $core.bool hasLocationId() => $_has(10); - @$pb.TagNumber(11) - void clearLocationId() => clearField(11); - - @$pb.TagNumber(12) - $core.String get machineId => $_getSZ(11); - @$pb.TagNumber(12) - set machineId($core.String v) { $_setString(11, v); } - @$pb.TagNumber(12) - $core.bool hasMachineId() => $_has(11); - @$pb.TagNumber(12) - void clearMachineId() => clearField(12); -} - -class ComponentConfig extends $pb.GeneratedMessage { - factory ComponentConfig({ - $core.String? name, - $core.String? namespace, - $core.String? type, - $core.String? model, - Frame? frame, - $core.Iterable<$core.String>? dependsOn, - $core.Iterable? serviceConfigs, - $46.Struct? attributes, - $core.String? api, - LogConfiguration? logConfiguration, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (namespace != null) { - $result.namespace = namespace; - } - if (type != null) { - $result.type = type; - } - if (model != null) { - $result.model = model; - } - if (frame != null) { - $result.frame = frame; - } - if (dependsOn != null) { - $result.dependsOn.addAll(dependsOn); - } - if (serviceConfigs != null) { - $result.serviceConfigs.addAll(serviceConfigs); - } - if (attributes != null) { - $result.attributes = attributes; - } - if (api != null) { - $result.api = api; - } - if (logConfiguration != null) { - $result.logConfiguration = logConfiguration; - } - return $result; - } - ComponentConfig._() : super(); - factory ComponentConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ComponentConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComponentConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'namespace') - ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOS(4, _omitFieldNames ? '' : 'model') - ..aOM(5, _omitFieldNames ? '' : 'frame', subBuilder: Frame.create) - ..pPS(6, _omitFieldNames ? '' : 'dependsOn') - ..pc(7, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) - ..aOM<$46.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $46.Struct.create) - ..aOS(9, _omitFieldNames ? '' : 'api') - ..aOM(10, _omitFieldNames ? '' : 'logConfiguration', subBuilder: LogConfiguration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ComponentConfig clone() => ComponentConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ComponentConfig copyWith(void Function(ComponentConfig) updates) => super.copyWith((message) => updates(message as ComponentConfig)) as ComponentConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ComponentConfig create() => ComponentConfig._(); - ComponentConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ComponentConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ComponentConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get namespace => $_getSZ(1); - @$pb.TagNumber(2) - set namespace($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNamespace() => $_has(1); - @$pb.TagNumber(2) - void clearNamespace() => clearField(2); - - @$pb.TagNumber(3) - $core.String get type => $_getSZ(2); - @$pb.TagNumber(3) - set type($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasType() => $_has(2); - @$pb.TagNumber(3) - void clearType() => clearField(3); - - @$pb.TagNumber(4) - $core.String get model => $_getSZ(3); - @$pb.TagNumber(4) - set model($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasModel() => $_has(3); - @$pb.TagNumber(4) - void clearModel() => clearField(4); - - @$pb.TagNumber(5) - Frame get frame => $_getN(4); - @$pb.TagNumber(5) - set frame(Frame v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasFrame() => $_has(4); - @$pb.TagNumber(5) - void clearFrame() => clearField(5); - @$pb.TagNumber(5) - Frame ensureFrame() => $_ensure(4); - - @$pb.TagNumber(6) - $core.List<$core.String> get dependsOn => $_getList(5); - - @$pb.TagNumber(7) - $core.List get serviceConfigs => $_getList(6); - - @$pb.TagNumber(8) - $46.Struct get attributes => $_getN(7); - @$pb.TagNumber(8) - set attributes($46.Struct v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasAttributes() => $_has(7); - @$pb.TagNumber(8) - void clearAttributes() => clearField(8); - @$pb.TagNumber(8) - $46.Struct ensureAttributes() => $_ensure(7); - - @$pb.TagNumber(9) - $core.String get api => $_getSZ(8); - @$pb.TagNumber(9) - set api($core.String v) { $_setString(8, v); } - @$pb.TagNumber(9) - $core.bool hasApi() => $_has(8); - @$pb.TagNumber(9) - void clearApi() => clearField(9); - - @$pb.TagNumber(10) - LogConfiguration get logConfiguration => $_getN(9); - @$pb.TagNumber(10) - set logConfiguration(LogConfiguration v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasLogConfiguration() => $_has(9); - @$pb.TagNumber(10) - void clearLogConfiguration() => clearField(10); - @$pb.TagNumber(10) - LogConfiguration ensureLogConfiguration() => $_ensure(9); -} - -/// A ResourceLevelServiceConfig describes component or remote configuration for a service. -class ResourceLevelServiceConfig extends $pb.GeneratedMessage { - factory ResourceLevelServiceConfig({ - $core.String? type, - $46.Struct? attributes, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (attributes != null) { - $result.attributes = attributes; - } - return $result; - } - ResourceLevelServiceConfig._() : super(); - factory ResourceLevelServiceConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceLevelServiceConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceLevelServiceConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceLevelServiceConfig clone() => ResourceLevelServiceConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceLevelServiceConfig copyWith(void Function(ResourceLevelServiceConfig) updates) => super.copyWith((message) => updates(message as ResourceLevelServiceConfig)) as ResourceLevelServiceConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceLevelServiceConfig create() => ResourceLevelServiceConfig._(); - ResourceLevelServiceConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceLevelServiceConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceLevelServiceConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// TODO(adam): Should this be move to a structured type as defined in the typescript frontend. - @$pb.TagNumber(2) - $46.Struct get attributes => $_getN(1); - @$pb.TagNumber(2) - set attributes($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasAttributes() => $_has(1); - @$pb.TagNumber(2) - void clearAttributes() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureAttributes() => $_ensure(1); -} - -/// A ProcessConfig describes how to manage a system process. -class ProcessConfig extends $pb.GeneratedMessage { - factory ProcessConfig({ - $core.String? id, - $core.String? name, - $core.Iterable<$core.String>? args, - $core.String? cwd, - $core.bool? oneShot, - $core.bool? log, - $core.int? stopSignal, - $45.Duration? stopTimeout, - $core.Map<$core.String, $core.String>? env, - $core.String? username, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (args != null) { - $result.args.addAll(args); - } - if (cwd != null) { - $result.cwd = cwd; - } - if (oneShot != null) { - $result.oneShot = oneShot; - } - if (log != null) { - $result.log = log; - } - if (stopSignal != null) { - $result.stopSignal = stopSignal; - } - if (stopTimeout != null) { - $result.stopTimeout = stopTimeout; - } - if (env != null) { - $result.env.addAll(env); - } - if (username != null) { - $result.username = username; - } - return $result; - } - ProcessConfig._() : super(); - factory ProcessConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ProcessConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ProcessConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..pPS(3, _omitFieldNames ? '' : 'args') - ..aOS(4, _omitFieldNames ? '' : 'cwd') - ..aOB(5, _omitFieldNames ? '' : 'oneShot') - ..aOB(6, _omitFieldNames ? '' : 'log') - ..a<$core.int>(7, _omitFieldNames ? '' : 'stopSignal', $pb.PbFieldType.O3) - ..aOM<$45.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $45.Duration.create) - ..m<$core.String, $core.String>(9, _omitFieldNames ? '' : 'env', entryClassName: 'ProcessConfig.EnvEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('viam.app.v1')) - ..aOS(10, _omitFieldNames ? '' : 'username') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ProcessConfig clone() => ProcessConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ProcessConfig copyWith(void Function(ProcessConfig) updates) => super.copyWith((message) => updates(message as ProcessConfig)) as ProcessConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ProcessConfig create() => ProcessConfig._(); - ProcessConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ProcessConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ProcessConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - @$pb.TagNumber(3) - $core.List<$core.String> get args => $_getList(2); - - @$pb.TagNumber(4) - $core.String get cwd => $_getSZ(3); - @$pb.TagNumber(4) - set cwd($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasCwd() => $_has(3); - @$pb.TagNumber(4) - void clearCwd() => clearField(4); - - @$pb.TagNumber(5) - $core.bool get oneShot => $_getBF(4); - @$pb.TagNumber(5) - set oneShot($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasOneShot() => $_has(4); - @$pb.TagNumber(5) - void clearOneShot() => clearField(5); - - @$pb.TagNumber(6) - $core.bool get log => $_getBF(5); - @$pb.TagNumber(6) - set log($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(6) - $core.bool hasLog() => $_has(5); - @$pb.TagNumber(6) - void clearLog() => clearField(6); - - @$pb.TagNumber(7) - $core.int get stopSignal => $_getIZ(6); - @$pb.TagNumber(7) - set stopSignal($core.int v) { $_setSignedInt32(6, v); } - @$pb.TagNumber(7) - $core.bool hasStopSignal() => $_has(6); - @$pb.TagNumber(7) - void clearStopSignal() => clearField(7); - - @$pb.TagNumber(8) - $45.Duration get stopTimeout => $_getN(7); - @$pb.TagNumber(8) - set stopTimeout($45.Duration v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasStopTimeout() => $_has(7); - @$pb.TagNumber(8) - void clearStopTimeout() => clearField(8); - @$pb.TagNumber(8) - $45.Duration ensureStopTimeout() => $_ensure(7); - - /// additional environment variables passed to the process - @$pb.TagNumber(9) - $core.Map<$core.String, $core.String> get env => $_getMap(8); - - @$pb.TagNumber(10) - $core.String get username => $_getSZ(9); - @$pb.TagNumber(10) - set username($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasUsername() => $_has(9); - @$pb.TagNumber(10) - void clearUsername() => clearField(10); -} - -class ServiceConfig extends $pb.GeneratedMessage { - factory ServiceConfig({ - $core.String? name, - $core.String? namespace, - $core.String? type, - $46.Struct? attributes, - $core.Iterable<$core.String>? dependsOn, - $core.String? model, - $core.String? api, - $core.Iterable? serviceConfigs, - LogConfiguration? logConfiguration, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (namespace != null) { - $result.namespace = namespace; - } - if (type != null) { - $result.type = type; - } - if (attributes != null) { - $result.attributes = attributes; - } - if (dependsOn != null) { - $result.dependsOn.addAll(dependsOn); - } - if (model != null) { - $result.model = model; - } - if (api != null) { - $result.api = api; - } - if (serviceConfigs != null) { - $result.serviceConfigs.addAll(serviceConfigs); - } - if (logConfiguration != null) { - $result.logConfiguration = logConfiguration; - } - return $result; - } - ServiceConfig._() : super(); - factory ServiceConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ServiceConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'namespace') - ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOM<$46.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $46.Struct.create) - ..pPS(5, _omitFieldNames ? '' : 'dependsOn') - ..aOS(6, _omitFieldNames ? '' : 'model') - ..aOS(9, _omitFieldNames ? '' : 'api') - ..pc(10, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) - ..aOM(11, _omitFieldNames ? '' : 'logConfiguration', subBuilder: LogConfiguration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ServiceConfig clone() => ServiceConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ServiceConfig copyWith(void Function(ServiceConfig) updates) => super.copyWith((message) => updates(message as ServiceConfig)) as ServiceConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ServiceConfig create() => ServiceConfig._(); - ServiceConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ServiceConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ServiceConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get namespace => $_getSZ(1); - @$pb.TagNumber(2) - set namespace($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNamespace() => $_has(1); - @$pb.TagNumber(2) - void clearNamespace() => clearField(2); - - @$pb.TagNumber(3) - $core.String get type => $_getSZ(2); - @$pb.TagNumber(3) - set type($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasType() => $_has(2); - @$pb.TagNumber(3) - void clearType() => clearField(3); - - @$pb.TagNumber(4) - $46.Struct get attributes => $_getN(3); - @$pb.TagNumber(4) - set attributes($46.Struct v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasAttributes() => $_has(3); - @$pb.TagNumber(4) - void clearAttributes() => clearField(4); - @$pb.TagNumber(4) - $46.Struct ensureAttributes() => $_ensure(3); - - @$pb.TagNumber(5) - $core.List<$core.String> get dependsOn => $_getList(4); - - @$pb.TagNumber(6) - $core.String get model => $_getSZ(5); - @$pb.TagNumber(6) - set model($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasModel() => $_has(5); - @$pb.TagNumber(6) - void clearModel() => clearField(6); - - @$pb.TagNumber(9) - $core.String get api => $_getSZ(6); - @$pb.TagNumber(9) - set api($core.String v) { $_setString(6, v); } - @$pb.TagNumber(9) - $core.bool hasApi() => $_has(6); - @$pb.TagNumber(9) - void clearApi() => clearField(9); - - @$pb.TagNumber(10) - $core.List get serviceConfigs => $_getList(7); - - @$pb.TagNumber(11) - LogConfiguration get logConfiguration => $_getN(8); - @$pb.TagNumber(11) - set logConfiguration(LogConfiguration v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasLogConfiguration() => $_has(8); - @$pb.TagNumber(11) - void clearLogConfiguration() => clearField(11); - @$pb.TagNumber(11) - LogConfiguration ensureLogConfiguration() => $_ensure(8); -} - -class NetworkConfig extends $pb.GeneratedMessage { - factory NetworkConfig({ - $core.String? fqdn, - $core.String? bindAddress, - $core.String? tlsCertFile, - $core.String? tlsKeyFile, - SessionsConfig? sessions, - $core.Iterable? trafficTunnelEndpoints, - }) { - final $result = create(); - if (fqdn != null) { - $result.fqdn = fqdn; - } - if (bindAddress != null) { - $result.bindAddress = bindAddress; - } - if (tlsCertFile != null) { - $result.tlsCertFile = tlsCertFile; - } - if (tlsKeyFile != null) { - $result.tlsKeyFile = tlsKeyFile; - } - if (sessions != null) { - $result.sessions = sessions; - } - if (trafficTunnelEndpoints != null) { - $result.trafficTunnelEndpoints.addAll(trafficTunnelEndpoints); - } - return $result; - } - NetworkConfig._() : super(); - factory NetworkConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NetworkConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NetworkConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fqdn') - ..aOS(2, _omitFieldNames ? '' : 'bindAddress') - ..aOS(3, _omitFieldNames ? '' : 'tlsCertFile') - ..aOS(4, _omitFieldNames ? '' : 'tlsKeyFile') - ..aOM(5, _omitFieldNames ? '' : 'sessions', subBuilder: SessionsConfig.create) - ..pc(6, _omitFieldNames ? '' : 'trafficTunnelEndpoints', $pb.PbFieldType.PM, subBuilder: TrafficTunnelEndpoint.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NetworkConfig clone() => NetworkConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NetworkConfig copyWith(void Function(NetworkConfig) updates) => super.copyWith((message) => updates(message as NetworkConfig)) as NetworkConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NetworkConfig create() => NetworkConfig._(); - NetworkConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NetworkConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NetworkConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fqdn => $_getSZ(0); - @$pb.TagNumber(1) - set fqdn($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFqdn() => $_has(0); - @$pb.TagNumber(1) - void clearFqdn() => clearField(1); - - @$pb.TagNumber(2) - $core.String get bindAddress => $_getSZ(1); - @$pb.TagNumber(2) - set bindAddress($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasBindAddress() => $_has(1); - @$pb.TagNumber(2) - void clearBindAddress() => clearField(2); - - @$pb.TagNumber(3) - $core.String get tlsCertFile => $_getSZ(2); - @$pb.TagNumber(3) - set tlsCertFile($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasTlsCertFile() => $_has(2); - @$pb.TagNumber(3) - void clearTlsCertFile() => clearField(3); - - @$pb.TagNumber(4) - $core.String get tlsKeyFile => $_getSZ(3); - @$pb.TagNumber(4) - set tlsKeyFile($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasTlsKeyFile() => $_has(3); - @$pb.TagNumber(4) - void clearTlsKeyFile() => clearField(4); - - @$pb.TagNumber(5) - SessionsConfig get sessions => $_getN(4); - @$pb.TagNumber(5) - set sessions(SessionsConfig v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasSessions() => $_has(4); - @$pb.TagNumber(5) - void clearSessions() => clearField(5); - @$pb.TagNumber(5) - SessionsConfig ensureSessions() => $_ensure(4); - - @$pb.TagNumber(6) - $core.List get trafficTunnelEndpoints => $_getList(5); -} - -class SessionsConfig extends $pb.GeneratedMessage { - factory SessionsConfig({ - $45.Duration? heartbeatWindow, - }) { - final $result = create(); - if (heartbeatWindow != null) { - $result.heartbeatWindow = heartbeatWindow; - } - return $result; - } - SessionsConfig._() : super(); - factory SessionsConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SessionsConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionsConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$45.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SessionsConfig clone() => SessionsConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SessionsConfig copyWith(void Function(SessionsConfig) updates) => super.copyWith((message) => updates(message as SessionsConfig)) as SessionsConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SessionsConfig create() => SessionsConfig._(); - SessionsConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SessionsConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SessionsConfig? _defaultInstance; - - @$pb.TagNumber(1) - $45.Duration get heartbeatWindow => $_getN(0); - @$pb.TagNumber(1) - set heartbeatWindow($45.Duration v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasHeartbeatWindow() => $_has(0); - @$pb.TagNumber(1) - void clearHeartbeatWindow() => clearField(1); - @$pb.TagNumber(1) - $45.Duration ensureHeartbeatWindow() => $_ensure(0); -} - -class TrafficTunnelEndpoint extends $pb.GeneratedMessage { - factory TrafficTunnelEndpoint({ - $core.int? port, - $45.Duration? connectionTimeout, - }) { - final $result = create(); - if (port != null) { - $result.port = port; - } - if (connectionTimeout != null) { - $result.connectionTimeout = connectionTimeout; - } - return $result; - } - TrafficTunnelEndpoint._() : super(); - factory TrafficTunnelEndpoint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TrafficTunnelEndpoint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrafficTunnelEndpoint', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'port', $pb.PbFieldType.O3) - ..aOM<$45.Duration>(2, _omitFieldNames ? '' : 'connectionTimeout', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TrafficTunnelEndpoint clone() => TrafficTunnelEndpoint()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TrafficTunnelEndpoint copyWith(void Function(TrafficTunnelEndpoint) updates) => super.copyWith((message) => updates(message as TrafficTunnelEndpoint)) as TrafficTunnelEndpoint; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TrafficTunnelEndpoint create() => TrafficTunnelEndpoint._(); - TrafficTunnelEndpoint createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TrafficTunnelEndpoint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TrafficTunnelEndpoint? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get port => $_getIZ(0); - @$pb.TagNumber(1) - set port($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasPort() => $_has(0); - @$pb.TagNumber(1) - void clearPort() => clearField(1); - - @$pb.TagNumber(2) - $45.Duration get connectionTimeout => $_getN(1); - @$pb.TagNumber(2) - set connectionTimeout($45.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasConnectionTimeout() => $_has(1); - @$pb.TagNumber(2) - void clearConnectionTimeout() => clearField(2); - @$pb.TagNumber(2) - $45.Duration ensureConnectionTimeout() => $_ensure(1); -} - -class AuthConfig extends $pb.GeneratedMessage { - factory AuthConfig({ - $core.Iterable? handlers, - $core.Iterable<$core.String>? tlsAuthEntities, - ExternalAuthConfig? externalAuthConfig, - }) { - final $result = create(); - if (handlers != null) { - $result.handlers.addAll(handlers); - } - if (tlsAuthEntities != null) { - $result.tlsAuthEntities.addAll(tlsAuthEntities); - } - if (externalAuthConfig != null) { - $result.externalAuthConfig = externalAuthConfig; - } - return $result; - } - AuthConfig._() : super(); - factory AuthConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'handlers', $pb.PbFieldType.PM, subBuilder: AuthHandlerConfig.create) - ..pPS(2, _omitFieldNames ? '' : 'tlsAuthEntities') - ..aOM(3, _omitFieldNames ? '' : 'externalAuthConfig', subBuilder: ExternalAuthConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthConfig clone() => AuthConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthConfig copyWith(void Function(AuthConfig) updates) => super.copyWith((message) => updates(message as AuthConfig)) as AuthConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthConfig create() => AuthConfig._(); - AuthConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get handlers => $_getList(0); - - @$pb.TagNumber(2) - $core.List<$core.String> get tlsAuthEntities => $_getList(1); - - @$pb.TagNumber(3) - ExternalAuthConfig get externalAuthConfig => $_getN(2); - @$pb.TagNumber(3) - set externalAuthConfig(ExternalAuthConfig v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasExternalAuthConfig() => $_has(2); - @$pb.TagNumber(3) - void clearExternalAuthConfig() => clearField(3); - @$pb.TagNumber(3) - ExternalAuthConfig ensureExternalAuthConfig() => $_ensure(2); -} - -class JWKSFile extends $pb.GeneratedMessage { - factory JWKSFile({ - $46.Struct? json, - }) { - final $result = create(); - if (json != null) { - $result.json = json; - } - return $result; - } - JWKSFile._() : super(); - factory JWKSFile.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory JWKSFile.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JWKSFile', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$46.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - JWKSFile clone() => JWKSFile()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - JWKSFile copyWith(void Function(JWKSFile) updates) => super.copyWith((message) => updates(message as JWKSFile)) as JWKSFile; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static JWKSFile create() => JWKSFile._(); - JWKSFile createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static JWKSFile getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static JWKSFile? _defaultInstance; - - /// JSON Web Keys (JWKS) file as arbitary json. - /// See https://www.rfc-editor.org/rfc/rfc7517 - @$pb.TagNumber(1) - $46.Struct get json => $_getN(0); - @$pb.TagNumber(1) - set json($46.Struct v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasJson() => $_has(0); - @$pb.TagNumber(1) - void clearJson() => clearField(1); - @$pb.TagNumber(1) - $46.Struct ensureJson() => $_ensure(0); -} - -/// ExternalAuthConfig describes how a viam managed robot can accept -/// credentials signed by the cloud app. -class ExternalAuthConfig extends $pb.GeneratedMessage { - factory ExternalAuthConfig({ - JWKSFile? jwks, - }) { - final $result = create(); - if (jwks != null) { - $result.jwks = jwks; - } - return $result; - } - ExternalAuthConfig._() : super(); - factory ExternalAuthConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExternalAuthConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExternalAuthConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'jwks', subBuilder: JWKSFile.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExternalAuthConfig clone() => ExternalAuthConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExternalAuthConfig copyWith(void Function(ExternalAuthConfig) updates) => super.copyWith((message) => updates(message as ExternalAuthConfig)) as ExternalAuthConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExternalAuthConfig create() => ExternalAuthConfig._(); - ExternalAuthConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExternalAuthConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExternalAuthConfig? _defaultInstance; - - @$pb.TagNumber(1) - JWKSFile get jwks => $_getN(0); - @$pb.TagNumber(1) - set jwks(JWKSFile v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasJwks() => $_has(0); - @$pb.TagNumber(1) - void clearJwks() => clearField(1); - @$pb.TagNumber(1) - JWKSFile ensureJwks() => $_ensure(0); -} - -class AuthHandlerConfig extends $pb.GeneratedMessage { - factory AuthHandlerConfig({ - CredentialsType? type, - $46.Struct? config, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (config != null) { - $result.config = config; - } - return $result; - } - AuthHandlerConfig._() : super(); - factory AuthHandlerConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthHandlerConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthHandlerConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: CredentialsType.CREDENTIALS_TYPE_UNSPECIFIED, valueOf: CredentialsType.valueOf, enumValues: CredentialsType.values) - ..aOM<$46.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthHandlerConfig clone() => AuthHandlerConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthHandlerConfig copyWith(void Function(AuthHandlerConfig) updates) => super.copyWith((message) => updates(message as AuthHandlerConfig)) as AuthHandlerConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthHandlerConfig create() => AuthHandlerConfig._(); - AuthHandlerConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthHandlerConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthHandlerConfig? _defaultInstance; - - @$pb.TagNumber(1) - CredentialsType get type => $_getN(0); - @$pb.TagNumber(1) - set type(CredentialsType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - @$pb.TagNumber(5) - $46.Struct get config => $_getN(1); - @$pb.TagNumber(5) - set config($46.Struct v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasConfig() => $_has(1); - @$pb.TagNumber(5) - void clearConfig() => clearField(5); - @$pb.TagNumber(5) - $46.Struct ensureConfig() => $_ensure(1); -} - -class Frame extends $pb.GeneratedMessage { - factory Frame({ - $core.String? parent, - Translation? translation, - Orientation? orientation, - $15.Geometry? geometry, - }) { - final $result = create(); - if (parent != null) { - $result.parent = parent; - } - if (translation != null) { - $result.translation = translation; - } - if (orientation != null) { - $result.orientation = orientation; - } - if (geometry != null) { - $result.geometry = geometry; - } - return $result; - } - Frame._() : super(); - factory Frame.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Frame.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Frame', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'parent') - ..aOM(2, _omitFieldNames ? '' : 'translation', subBuilder: Translation.create) - ..aOM(3, _omitFieldNames ? '' : 'orientation', subBuilder: Orientation.create) - ..aOM<$15.Geometry>(4, _omitFieldNames ? '' : 'geometry', subBuilder: $15.Geometry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Frame clone() => Frame()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Frame copyWith(void Function(Frame) updates) => super.copyWith((message) => updates(message as Frame)) as Frame; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Frame create() => Frame._(); - Frame createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Frame getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Frame? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get parent => $_getSZ(0); - @$pb.TagNumber(1) - set parent($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasParent() => $_has(0); - @$pb.TagNumber(1) - void clearParent() => clearField(1); - - @$pb.TagNumber(2) - Translation get translation => $_getN(1); - @$pb.TagNumber(2) - set translation(Translation v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasTranslation() => $_has(1); - @$pb.TagNumber(2) - void clearTranslation() => clearField(2); - @$pb.TagNumber(2) - Translation ensureTranslation() => $_ensure(1); - - @$pb.TagNumber(3) - Orientation get orientation => $_getN(2); - @$pb.TagNumber(3) - set orientation(Orientation v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOrientation() => $_has(2); - @$pb.TagNumber(3) - void clearOrientation() => clearField(3); - @$pb.TagNumber(3) - Orientation ensureOrientation() => $_ensure(2); - - @$pb.TagNumber(4) - $15.Geometry get geometry => $_getN(3); - @$pb.TagNumber(4) - set geometry($15.Geometry v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasGeometry() => $_has(3); - @$pb.TagNumber(4) - void clearGeometry() => clearField(4); - @$pb.TagNumber(4) - $15.Geometry ensureGeometry() => $_ensure(3); -} - -class LogConfiguration extends $pb.GeneratedMessage { - factory LogConfiguration({ - $core.String? level, - }) { - final $result = create(); - if (level != null) { - $result.level = level; - } - return $result; - } - LogConfiguration._() : super(); - factory LogConfiguration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LogConfiguration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogConfiguration', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'level') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LogConfiguration clone() => LogConfiguration()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LogConfiguration copyWith(void Function(LogConfiguration) updates) => super.copyWith((message) => updates(message as LogConfiguration)) as LogConfiguration; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LogConfiguration create() => LogConfiguration._(); - LogConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LogConfiguration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LogConfiguration? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get level => $_getSZ(0); - @$pb.TagNumber(1) - set level($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLevel() => $_has(0); - @$pb.TagNumber(1) - void clearLevel() => clearField(1); -} - -class Translation extends $pb.GeneratedMessage { - factory Translation({ - $core.double? x, - $core.double? y, - $core.double? z, - }) { - final $result = create(); - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - return $result; - } - Translation._() : super(); - factory Translation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Translation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Translation', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Translation clone() => Translation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Translation copyWith(void Function(Translation) updates) => super.copyWith((message) => updates(message as Translation)) as Translation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Translation create() => Translation._(); - Translation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Translation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Translation? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get x => $_getN(0); - @$pb.TagNumber(1) - set x($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasX() => $_has(0); - @$pb.TagNumber(1) - void clearX() => clearField(1); - - @$pb.TagNumber(2) - $core.double get y => $_getN(1); - @$pb.TagNumber(2) - set y($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasY() => $_has(1); - @$pb.TagNumber(2) - void clearY() => clearField(2); - - @$pb.TagNumber(3) - $core.double get z => $_getN(2); - @$pb.TagNumber(3) - set z($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasZ() => $_has(2); - @$pb.TagNumber(3) - void clearZ() => clearField(3); -} - -class Orientation_NoOrientation extends $pb.GeneratedMessage { - factory Orientation_NoOrientation() => create(); - Orientation_NoOrientation._() : super(); - factory Orientation_NoOrientation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation_NoOrientation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation.NoOrientation', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation_NoOrientation clone() => Orientation_NoOrientation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation_NoOrientation copyWith(void Function(Orientation_NoOrientation) updates) => super.copyWith((message) => updates(message as Orientation_NoOrientation)) as Orientation_NoOrientation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation_NoOrientation create() => Orientation_NoOrientation._(); - Orientation_NoOrientation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation_NoOrientation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation_NoOrientation? _defaultInstance; -} - -/// OrientationVector containing ox, oy, oz, theta represents an orientation vector -/// Structured similarly to an angle axis, an orientation vector works differently. Rather than representing an orientation -/// with an arbitrary axis and a rotation around it from an origin, an orientation vector represents orientation -/// such that the ox/oy/oz components represent the point on the cartesian unit sphere at which your end effector is pointing -/// from the origin, and that unit vector forms an axis around which theta rotates. This means that incrementing/decrementing -/// theta will perform an in-line rotation of the end effector. -/// Theta is defined as rotation between two planes: the plane defined by the origin, the point (0,0,1), and the rx,ry,rz -/// point, and the plane defined by the origin, the rx,ry,rz point, and the new local Z axis. So if theta is kept at -/// zero as the north/south pole is circled, the Roll will correct itself to remain in-line. -class Orientation_OrientationVectorRadians extends $pb.GeneratedMessage { - factory Orientation_OrientationVectorRadians({ - $core.double? theta, - $core.double? x, - $core.double? y, - $core.double? z, - }) { - final $result = create(); - if (theta != null) { - $result.theta = theta; - } - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - return $result; - } - Orientation_OrientationVectorRadians._() : super(); - factory Orientation_OrientationVectorRadians.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation_OrientationVectorRadians.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation.OrientationVectorRadians', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'theta', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation_OrientationVectorRadians clone() => Orientation_OrientationVectorRadians()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation_OrientationVectorRadians copyWith(void Function(Orientation_OrientationVectorRadians) updates) => super.copyWith((message) => updates(message as Orientation_OrientationVectorRadians)) as Orientation_OrientationVectorRadians; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation_OrientationVectorRadians create() => Orientation_OrientationVectorRadians._(); - Orientation_OrientationVectorRadians createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation_OrientationVectorRadians getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation_OrientationVectorRadians? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get theta => $_getN(0); - @$pb.TagNumber(1) - set theta($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasTheta() => $_has(0); - @$pb.TagNumber(1) - void clearTheta() => clearField(1); - - @$pb.TagNumber(2) - $core.double get x => $_getN(1); - @$pb.TagNumber(2) - set x($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasX() => $_has(1); - @$pb.TagNumber(2) - void clearX() => clearField(2); - - @$pb.TagNumber(3) - $core.double get y => $_getN(2); - @$pb.TagNumber(3) - set y($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasY() => $_has(2); - @$pb.TagNumber(3) - void clearY() => clearField(3); - - @$pb.TagNumber(4) - $core.double get z => $_getN(3); - @$pb.TagNumber(4) - set z($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasZ() => $_has(3); - @$pb.TagNumber(4) - void clearZ() => clearField(4); -} - -/// OrientationVectorDegrees is the orientation vector between two objects, but expressed in degrees rather than radians. -/// Because protobuf Pose is in degrees, this is necessary. -class Orientation_OrientationVectorDegrees extends $pb.GeneratedMessage { - factory Orientation_OrientationVectorDegrees({ - $core.double? theta, - $core.double? x, - $core.double? y, - $core.double? z, - }) { - final $result = create(); - if (theta != null) { - $result.theta = theta; - } - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - return $result; - } - Orientation_OrientationVectorDegrees._() : super(); - factory Orientation_OrientationVectorDegrees.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation_OrientationVectorDegrees.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation.OrientationVectorDegrees', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'theta', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation_OrientationVectorDegrees clone() => Orientation_OrientationVectorDegrees()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation_OrientationVectorDegrees copyWith(void Function(Orientation_OrientationVectorDegrees) updates) => super.copyWith((message) => updates(message as Orientation_OrientationVectorDegrees)) as Orientation_OrientationVectorDegrees; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation_OrientationVectorDegrees create() => Orientation_OrientationVectorDegrees._(); - Orientation_OrientationVectorDegrees createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation_OrientationVectorDegrees getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation_OrientationVectorDegrees? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get theta => $_getN(0); - @$pb.TagNumber(1) - set theta($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasTheta() => $_has(0); - @$pb.TagNumber(1) - void clearTheta() => clearField(1); - - @$pb.TagNumber(2) - $core.double get x => $_getN(1); - @$pb.TagNumber(2) - set x($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasX() => $_has(1); - @$pb.TagNumber(2) - void clearX() => clearField(2); - - @$pb.TagNumber(3) - $core.double get y => $_getN(2); - @$pb.TagNumber(3) - set y($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasY() => $_has(2); - @$pb.TagNumber(3) - void clearY() => clearField(3); - - @$pb.TagNumber(4) - $core.double get z => $_getN(3); - @$pb.TagNumber(4) - set z($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasZ() => $_has(3); - @$pb.TagNumber(4) - void clearZ() => clearField(4); -} - -/// EulerAngles are three angles (in radians) used to represent the rotation of an object in 3D Euclidean space -/// The Tait–Bryan angle formalism is used, with rotations around three distinct axes in the z-y′-x″ sequence. -class Orientation_EulerAngles extends $pb.GeneratedMessage { - factory Orientation_EulerAngles({ - $core.double? roll, - $core.double? pitch, - $core.double? yaw, - }) { - final $result = create(); - if (roll != null) { - $result.roll = roll; - } - if (pitch != null) { - $result.pitch = pitch; - } - if (yaw != null) { - $result.yaw = yaw; - } - return $result; - } - Orientation_EulerAngles._() : super(); - factory Orientation_EulerAngles.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation_EulerAngles.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation.EulerAngles', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'roll', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'pitch', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'yaw', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation_EulerAngles clone() => Orientation_EulerAngles()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation_EulerAngles copyWith(void Function(Orientation_EulerAngles) updates) => super.copyWith((message) => updates(message as Orientation_EulerAngles)) as Orientation_EulerAngles; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation_EulerAngles create() => Orientation_EulerAngles._(); - Orientation_EulerAngles createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation_EulerAngles getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation_EulerAngles? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get roll => $_getN(0); - @$pb.TagNumber(1) - set roll($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasRoll() => $_has(0); - @$pb.TagNumber(1) - void clearRoll() => clearField(1); - - @$pb.TagNumber(2) - $core.double get pitch => $_getN(1); - @$pb.TagNumber(2) - set pitch($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasPitch() => $_has(1); - @$pb.TagNumber(2) - void clearPitch() => clearField(2); - - @$pb.TagNumber(3) - $core.double get yaw => $_getN(2); - @$pb.TagNumber(3) - set yaw($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasYaw() => $_has(2); - @$pb.TagNumber(3) - void clearYaw() => clearField(3); -} - -/// See here for a thorough explanation: https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation -/// Basic explanation: Imagine a 3d cartesian grid centered at 0,0,0, and a sphere of radius 1 centered at -/// that same point. An orientation can be expressed by first specifying an axis, i.e. a line from the origin -/// to a point on that sphere, represented by (rx, ry, rz), and a rotation around that axis, theta. -/// These four numbers can be used as-is (R4), or they can be converted to R3, where theta is multiplied by each of -/// the unit sphere components to give a vector whose length is theta and whose direction is the original axis. -/// AxisAngles represents an R4 axis angle. -class Orientation_AxisAngles extends $pb.GeneratedMessage { - factory Orientation_AxisAngles({ - $core.double? theta, - $core.double? x, - $core.double? y, - $core.double? z, - }) { - final $result = create(); - if (theta != null) { - $result.theta = theta; - } - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - return $result; - } - Orientation_AxisAngles._() : super(); - factory Orientation_AxisAngles.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation_AxisAngles.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation.AxisAngles', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'theta', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation_AxisAngles clone() => Orientation_AxisAngles()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation_AxisAngles copyWith(void Function(Orientation_AxisAngles) updates) => super.copyWith((message) => updates(message as Orientation_AxisAngles)) as Orientation_AxisAngles; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation_AxisAngles create() => Orientation_AxisAngles._(); - Orientation_AxisAngles createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation_AxisAngles getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation_AxisAngles? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get theta => $_getN(0); - @$pb.TagNumber(1) - set theta($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasTheta() => $_has(0); - @$pb.TagNumber(1) - void clearTheta() => clearField(1); - - @$pb.TagNumber(2) - $core.double get x => $_getN(1); - @$pb.TagNumber(2) - set x($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasX() => $_has(1); - @$pb.TagNumber(2) - void clearX() => clearField(2); - - @$pb.TagNumber(3) - $core.double get y => $_getN(2); - @$pb.TagNumber(3) - set y($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasY() => $_has(2); - @$pb.TagNumber(3) - void clearY() => clearField(3); - - @$pb.TagNumber(4) - $core.double get z => $_getN(3); - @$pb.TagNumber(4) - set z($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasZ() => $_has(3); - @$pb.TagNumber(4) - void clearZ() => clearField(4); -} - -/// Quaternion is a float64 precision quaternion. -class Orientation_Quaternion extends $pb.GeneratedMessage { - factory Orientation_Quaternion({ - $core.double? w, - $core.double? x, - $core.double? y, - $core.double? z, - }) { - final $result = create(); - if (w != null) { - $result.w = w; - } - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - return $result; - } - Orientation_Quaternion._() : super(); - factory Orientation_Quaternion.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation_Quaternion.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation.Quaternion', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'w', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation_Quaternion clone() => Orientation_Quaternion()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation_Quaternion copyWith(void Function(Orientation_Quaternion) updates) => super.copyWith((message) => updates(message as Orientation_Quaternion)) as Orientation_Quaternion; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation_Quaternion create() => Orientation_Quaternion._(); - Orientation_Quaternion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation_Quaternion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation_Quaternion? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get w => $_getN(0); - @$pb.TagNumber(1) - set w($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasW() => $_has(0); - @$pb.TagNumber(1) - void clearW() => clearField(1); - - @$pb.TagNumber(2) - $core.double get x => $_getN(1); - @$pb.TagNumber(2) - set x($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasX() => $_has(1); - @$pb.TagNumber(2) - void clearX() => clearField(2); - - @$pb.TagNumber(3) - $core.double get y => $_getN(2); - @$pb.TagNumber(3) - set y($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasY() => $_has(2); - @$pb.TagNumber(3) - void clearY() => clearField(3); - - @$pb.TagNumber(4) - $core.double get z => $_getN(3); - @$pb.TagNumber(4) - set z($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasZ() => $_has(3); - @$pb.TagNumber(4) - void clearZ() => clearField(4); -} - -enum Orientation_Type { - noOrientation, - vectorRadians, - vectorDegrees, - eulerAngles, - axisAngles, - quaternion, - notSet -} - -class Orientation extends $pb.GeneratedMessage { - factory Orientation({ - Orientation_NoOrientation? noOrientation, - Orientation_OrientationVectorRadians? vectorRadians, - Orientation_OrientationVectorDegrees? vectorDegrees, - Orientation_EulerAngles? eulerAngles, - Orientation_AxisAngles? axisAngles, - Orientation_Quaternion? quaternion, - }) { - final $result = create(); - if (noOrientation != null) { - $result.noOrientation = noOrientation; - } - if (vectorRadians != null) { - $result.vectorRadians = vectorRadians; - } - if (vectorDegrees != null) { - $result.vectorDegrees = vectorDegrees; - } - if (eulerAngles != null) { - $result.eulerAngles = eulerAngles; - } - if (axisAngles != null) { - $result.axisAngles = axisAngles; - } - if (quaternion != null) { - $result.quaternion = quaternion; - } - return $result; - } - Orientation._() : super(); - factory Orientation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Orientation_Type> _Orientation_TypeByTag = { - 1 : Orientation_Type.noOrientation, - 2 : Orientation_Type.vectorRadians, - 3 : Orientation_Type.vectorDegrees, - 4 : Orientation_Type.eulerAngles, - 5 : Orientation_Type.axisAngles, - 6 : Orientation_Type.quaternion, - 0 : Orientation_Type.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6]) - ..aOM(1, _omitFieldNames ? '' : 'noOrientation', subBuilder: Orientation_NoOrientation.create) - ..aOM(2, _omitFieldNames ? '' : 'vectorRadians', subBuilder: Orientation_OrientationVectorRadians.create) - ..aOM(3, _omitFieldNames ? '' : 'vectorDegrees', subBuilder: Orientation_OrientationVectorDegrees.create) - ..aOM(4, _omitFieldNames ? '' : 'eulerAngles', subBuilder: Orientation_EulerAngles.create) - ..aOM(5, _omitFieldNames ? '' : 'axisAngles', subBuilder: Orientation_AxisAngles.create) - ..aOM(6, _omitFieldNames ? '' : 'quaternion', subBuilder: Orientation_Quaternion.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation clone() => Orientation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation copyWith(void Function(Orientation) updates) => super.copyWith((message) => updates(message as Orientation)) as Orientation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation create() => Orientation._(); - Orientation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation? _defaultInstance; - - Orientation_Type whichType() => _Orientation_TypeByTag[$_whichOneof(0)]!; - void clearType() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - Orientation_NoOrientation get noOrientation => $_getN(0); - @$pb.TagNumber(1) - set noOrientation(Orientation_NoOrientation v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasNoOrientation() => $_has(0); - @$pb.TagNumber(1) - void clearNoOrientation() => clearField(1); - @$pb.TagNumber(1) - Orientation_NoOrientation ensureNoOrientation() => $_ensure(0); - - @$pb.TagNumber(2) - Orientation_OrientationVectorRadians get vectorRadians => $_getN(1); - @$pb.TagNumber(2) - set vectorRadians(Orientation_OrientationVectorRadians v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasVectorRadians() => $_has(1); - @$pb.TagNumber(2) - void clearVectorRadians() => clearField(2); - @$pb.TagNumber(2) - Orientation_OrientationVectorRadians ensureVectorRadians() => $_ensure(1); - - @$pb.TagNumber(3) - Orientation_OrientationVectorDegrees get vectorDegrees => $_getN(2); - @$pb.TagNumber(3) - set vectorDegrees(Orientation_OrientationVectorDegrees v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasVectorDegrees() => $_has(2); - @$pb.TagNumber(3) - void clearVectorDegrees() => clearField(3); - @$pb.TagNumber(3) - Orientation_OrientationVectorDegrees ensureVectorDegrees() => $_ensure(2); - - @$pb.TagNumber(4) - Orientation_EulerAngles get eulerAngles => $_getN(3); - @$pb.TagNumber(4) - set eulerAngles(Orientation_EulerAngles v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasEulerAngles() => $_has(3); - @$pb.TagNumber(4) - void clearEulerAngles() => clearField(4); - @$pb.TagNumber(4) - Orientation_EulerAngles ensureEulerAngles() => $_ensure(3); - - @$pb.TagNumber(5) - Orientation_AxisAngles get axisAngles => $_getN(4); - @$pb.TagNumber(5) - set axisAngles(Orientation_AxisAngles v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasAxisAngles() => $_has(4); - @$pb.TagNumber(5) - void clearAxisAngles() => clearField(5); - @$pb.TagNumber(5) - Orientation_AxisAngles ensureAxisAngles() => $_ensure(4); - - @$pb.TagNumber(6) - Orientation_Quaternion get quaternion => $_getN(5); - @$pb.TagNumber(6) - set quaternion(Orientation_Quaternion v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasQuaternion() => $_has(5); - @$pb.TagNumber(6) - void clearQuaternion() => clearField(6); - @$pb.TagNumber(6) - Orientation_Quaternion ensureQuaternion() => $_ensure(5); -} - -/// A RemoteConfig describes a remote robot that should be integrated. -/// The Frame field defines how the "world" node of the remote robot should be reconciled with the "world" node of the -/// the current robot. All components of the remote robot who have Parent as "world" will be attached to the parent defined -/// in Frame, and with the given offset as well. -class RemoteConfig extends $pb.GeneratedMessage { - factory RemoteConfig({ - $core.String? name, - $core.String? address, - Frame? frame, - RemoteAuth? auth, - $core.String? managedBy, - $core.bool? insecure, - $45.Duration? connectionCheckInterval, - $45.Duration? reconnectInterval, - $core.Iterable? serviceConfigs, - $core.String? secret, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (address != null) { - $result.address = address; - } - if (frame != null) { - $result.frame = frame; - } - if (auth != null) { - $result.auth = auth; - } - if (managedBy != null) { - $result.managedBy = managedBy; - } - if (insecure != null) { - $result.insecure = insecure; - } - if (connectionCheckInterval != null) { - $result.connectionCheckInterval = connectionCheckInterval; - } - if (reconnectInterval != null) { - $result.reconnectInterval = reconnectInterval; - } - if (serviceConfigs != null) { - $result.serviceConfigs.addAll(serviceConfigs); - } - if (secret != null) { - $result.secret = secret; - } - return $result; - } - RemoteConfig._() : super(); - factory RemoteConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoteConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoteConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'address') - ..aOM(3, _omitFieldNames ? '' : 'frame', subBuilder: Frame.create) - ..aOM(4, _omitFieldNames ? '' : 'auth', subBuilder: RemoteAuth.create) - ..aOS(5, _omitFieldNames ? '' : 'managedBy') - ..aOB(6, _omitFieldNames ? '' : 'insecure') - ..aOM<$45.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $45.Duration.create) - ..aOM<$45.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $45.Duration.create) - ..pc(9, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) - ..aOS(10, _omitFieldNames ? '' : 'secret') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoteConfig clone() => RemoteConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoteConfig copyWith(void Function(RemoteConfig) updates) => super.copyWith((message) => updates(message as RemoteConfig)) as RemoteConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoteConfig create() => RemoteConfig._(); - RemoteConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoteConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoteConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get address => $_getSZ(1); - @$pb.TagNumber(2) - set address($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasAddress() => $_has(1); - @$pb.TagNumber(2) - void clearAddress() => clearField(2); - - @$pb.TagNumber(3) - Frame get frame => $_getN(2); - @$pb.TagNumber(3) - set frame(Frame v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasFrame() => $_has(2); - @$pb.TagNumber(3) - void clearFrame() => clearField(3); - @$pb.TagNumber(3) - Frame ensureFrame() => $_ensure(2); - - @$pb.TagNumber(4) - RemoteAuth get auth => $_getN(3); - @$pb.TagNumber(4) - set auth(RemoteAuth v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasAuth() => $_has(3); - @$pb.TagNumber(4) - void clearAuth() => clearField(4); - @$pb.TagNumber(4) - RemoteAuth ensureAuth() => $_ensure(3); - - @$pb.TagNumber(5) - $core.String get managedBy => $_getSZ(4); - @$pb.TagNumber(5) - set managedBy($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasManagedBy() => $_has(4); - @$pb.TagNumber(5) - void clearManagedBy() => clearField(5); - - @$pb.TagNumber(6) - $core.bool get insecure => $_getBF(5); - @$pb.TagNumber(6) - set insecure($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(6) - $core.bool hasInsecure() => $_has(5); - @$pb.TagNumber(6) - void clearInsecure() => clearField(6); - - @$pb.TagNumber(7) - $45.Duration get connectionCheckInterval => $_getN(6); - @$pb.TagNumber(7) - set connectionCheckInterval($45.Duration v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasConnectionCheckInterval() => $_has(6); - @$pb.TagNumber(7) - void clearConnectionCheckInterval() => clearField(7); - @$pb.TagNumber(7) - $45.Duration ensureConnectionCheckInterval() => $_ensure(6); - - @$pb.TagNumber(8) - $45.Duration get reconnectInterval => $_getN(7); - @$pb.TagNumber(8) - set reconnectInterval($45.Duration v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasReconnectInterval() => $_has(7); - @$pb.TagNumber(8) - void clearReconnectInterval() => clearField(8); - @$pb.TagNumber(8) - $45.Duration ensureReconnectInterval() => $_ensure(7); - - @$pb.TagNumber(9) - $core.List get serviceConfigs => $_getList(8); - - /// Secret is a helper for a robot location secret. - @$pb.TagNumber(10) - $core.String get secret => $_getSZ(9); - @$pb.TagNumber(10) - set secret($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasSecret() => $_has(9); - @$pb.TagNumber(10) - void clearSecret() => clearField(10); -} - -/// Credentials packages up both a type of credential along with its payload which -/// is formatted specific to the type. -class RemoteAuth_Credentials extends $pb.GeneratedMessage { - factory RemoteAuth_Credentials({ - CredentialsType? type, - $core.String? payload, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (payload != null) { - $result.payload = payload; - } - return $result; - } - RemoteAuth_Credentials._() : super(); - factory RemoteAuth_Credentials.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoteAuth_Credentials.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoteAuth.Credentials', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: CredentialsType.CREDENTIALS_TYPE_UNSPECIFIED, valueOf: CredentialsType.valueOf, enumValues: CredentialsType.values) - ..aOS(2, _omitFieldNames ? '' : 'payload') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoteAuth_Credentials clone() => RemoteAuth_Credentials()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoteAuth_Credentials copyWith(void Function(RemoteAuth_Credentials) updates) => super.copyWith((message) => updates(message as RemoteAuth_Credentials)) as RemoteAuth_Credentials; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoteAuth_Credentials create() => RemoteAuth_Credentials._(); - RemoteAuth_Credentials createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoteAuth_Credentials getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoteAuth_Credentials? _defaultInstance; - - @$pb.TagNumber(1) - CredentialsType get type => $_getN(0); - @$pb.TagNumber(1) - set type(CredentialsType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get payload => $_getSZ(1); - @$pb.TagNumber(2) - set payload($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPayload() => $_has(1); - @$pb.TagNumber(2) - void clearPayload() => clearField(2); -} - -/// RemoteAuth specifies how to authenticate against a remote. If no credentials are -/// specified, authentication does not happen. If an entity is specified, the -/// authentication request will specify it. -class RemoteAuth extends $pb.GeneratedMessage { - factory RemoteAuth({ - RemoteAuth_Credentials? credentials, - $core.String? entity, - }) { - final $result = create(); - if (credentials != null) { - $result.credentials = credentials; - } - if (entity != null) { - $result.entity = entity; - } - return $result; - } - RemoteAuth._() : super(); - factory RemoteAuth.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoteAuth.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoteAuth', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'credentials', subBuilder: RemoteAuth_Credentials.create) - ..aOS(2, _omitFieldNames ? '' : 'entity') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoteAuth clone() => RemoteAuth()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoteAuth copyWith(void Function(RemoteAuth) updates) => super.copyWith((message) => updates(message as RemoteAuth)) as RemoteAuth; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoteAuth create() => RemoteAuth._(); - RemoteAuth createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoteAuth getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoteAuth? _defaultInstance; - - @$pb.TagNumber(1) - RemoteAuth_Credentials get credentials => $_getN(0); - @$pb.TagNumber(1) - set credentials(RemoteAuth_Credentials v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCredentials() => $_has(0); - @$pb.TagNumber(1) - void clearCredentials() => clearField(1); - @$pb.TagNumber(1) - RemoteAuth_Credentials ensureCredentials() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get entity => $_getSZ(1); - @$pb.TagNumber(2) - set entity($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEntity() => $_has(1); - @$pb.TagNumber(2) - void clearEntity() => clearField(2); -} - -class AgentInfo extends $pb.GeneratedMessage { - factory AgentInfo({ - $core.String? host, - $core.String? os, - $core.Iterable<$core.String>? ips, - $core.String? version, - $core.String? gitRevision, - $core.String? platform, - $core.Iterable<$core.String>? platformTags, - }) { - final $result = create(); - if (host != null) { - $result.host = host; - } - if (os != null) { - $result.os = os; - } - if (ips != null) { - $result.ips.addAll(ips); - } - if (version != null) { - $result.version = version; - } - if (gitRevision != null) { - $result.gitRevision = gitRevision; - } - if (platform != null) { - $result.platform = platform; - } - if (platformTags != null) { - $result.platformTags.addAll(platformTags); - } - return $result; - } - AgentInfo._() : super(); - factory AgentInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AgentInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AgentInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'host') - ..aOS(2, _omitFieldNames ? '' : 'os') - ..pPS(3, _omitFieldNames ? '' : 'ips') - ..aOS(4, _omitFieldNames ? '' : 'version') - ..aOS(5, _omitFieldNames ? '' : 'gitRevision') - ..aOS(6, _omitFieldNames ? '' : 'platform') - ..pPS(7, _omitFieldNames ? '' : 'platformTags') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AgentInfo clone() => AgentInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AgentInfo copyWith(void Function(AgentInfo) updates) => super.copyWith((message) => updates(message as AgentInfo)) as AgentInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AgentInfo create() => AgentInfo._(); - AgentInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AgentInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AgentInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get host => $_getSZ(0); - @$pb.TagNumber(1) - set host($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasHost() => $_has(0); - @$pb.TagNumber(1) - void clearHost() => clearField(1); - - @$pb.TagNumber(2) - $core.String get os => $_getSZ(1); - @$pb.TagNumber(2) - set os($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOs() => $_has(1); - @$pb.TagNumber(2) - void clearOs() => clearField(2); - - /// list of all ipv4 ips. - @$pb.TagNumber(3) - $core.List<$core.String> get ips => $_getList(2); - - /// RDK version - @$pb.TagNumber(4) - $core.String get version => $_getSZ(3); - @$pb.TagNumber(4) - set version($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasVersion() => $_has(3); - @$pb.TagNumber(4) - void clearVersion() => clearField(4); - - @$pb.TagNumber(5) - $core.String get gitRevision => $_getSZ(4); - @$pb.TagNumber(5) - set gitRevision($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasGitRevision() => $_has(4); - @$pb.TagNumber(5) - void clearGitRevision() => clearField(5); - - /// The platform the RDK is running on. For example linux/amd64 - @$pb.TagNumber(6) - $core.String get platform => $_getSZ(5); - @$pb.TagNumber(6) - set platform($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasPlatform() => $_has(5); - @$pb.TagNumber(6) - void clearPlatform() => clearField(6); - - /// Optional tags to further constrain which artifact is returned for modules. - @$pb.TagNumber(7) - $core.List<$core.String> get platformTags => $_getList(6); -} - -class ConfigRequest extends $pb.GeneratedMessage { - factory ConfigRequest({ - $core.String? id, - AgentInfo? agentInfo, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (agentInfo != null) { - $result.agentInfo = agentInfo; - } - return $result; - } - ConfigRequest._() : super(); - factory ConfigRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM(2, _omitFieldNames ? '' : 'agentInfo', subBuilder: AgentInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ConfigRequest clone() => ConfigRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConfigRequest copyWith(void Function(ConfigRequest) updates) => super.copyWith((message) => updates(message as ConfigRequest)) as ConfigRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ConfigRequest create() => ConfigRequest._(); - ConfigRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ConfigRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ConfigRequest? _defaultInstance; - - /// Robot part id. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// Details about the RDK (os, version) are updated during this request. - @$pb.TagNumber(2) - AgentInfo get agentInfo => $_getN(1); - @$pb.TagNumber(2) - set agentInfo(AgentInfo v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasAgentInfo() => $_has(1); - @$pb.TagNumber(2) - void clearAgentInfo() => clearField(2); - @$pb.TagNumber(2) - AgentInfo ensureAgentInfo() => $_ensure(1); -} - -class ConfigResponse extends $pb.GeneratedMessage { - factory ConfigResponse({ - RobotConfig? config, - }) { - final $result = create(); - if (config != null) { - $result.config = config; - } - return $result; - } - ConfigResponse._() : super(); - factory ConfigResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConfigResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConfigResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'config', subBuilder: RobotConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ConfigResponse clone() => ConfigResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConfigResponse copyWith(void Function(ConfigResponse) updates) => super.copyWith((message) => updates(message as ConfigResponse)) as ConfigResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ConfigResponse create() => ConfigResponse._(); - ConfigResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ConfigResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ConfigResponse? _defaultInstance; - - @$pb.TagNumber(1) - RobotConfig get config => $_getN(0); - @$pb.TagNumber(1) - set config(RobotConfig v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasConfig() => $_has(0); - @$pb.TagNumber(1) - void clearConfig() => clearField(1); - @$pb.TagNumber(1) - RobotConfig ensureConfig() => $_ensure(0); -} - -class CertificateRequest extends $pb.GeneratedMessage { - factory CertificateRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - CertificateRequest._() : super(); - factory CertificateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CertificateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CertificateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CertificateRequest clone() => CertificateRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CertificateRequest copyWith(void Function(CertificateRequest) updates) => super.copyWith((message) => updates(message as CertificateRequest)) as CertificateRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CertificateRequest create() => CertificateRequest._(); - CertificateRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CertificateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CertificateRequest? _defaultInstance; - - /// Robot part id. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class CertificateResponse extends $pb.GeneratedMessage { - factory CertificateResponse({ - $core.String? id, - $core.String? tlsCertificate, - $core.String? tlsPrivateKey, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (tlsCertificate != null) { - $result.tlsCertificate = tlsCertificate; - } - if (tlsPrivateKey != null) { - $result.tlsPrivateKey = tlsPrivateKey; - } - return $result; - } - CertificateResponse._() : super(); - factory CertificateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CertificateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CertificateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'tlsCertificate') - ..aOS(3, _omitFieldNames ? '' : 'tlsPrivateKey') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CertificateResponse clone() => CertificateResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CertificateResponse copyWith(void Function(CertificateResponse) updates) => super.copyWith((message) => updates(message as CertificateResponse)) as CertificateResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CertificateResponse create() => CertificateResponse._(); - CertificateResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CertificateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CertificateResponse? _defaultInstance; - - /// Robot part id. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get tlsCertificate => $_getSZ(1); - @$pb.TagNumber(2) - set tlsCertificate($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasTlsCertificate() => $_has(1); - @$pb.TagNumber(2) - void clearTlsCertificate() => clearField(2); - - @$pb.TagNumber(3) - $core.String get tlsPrivateKey => $_getSZ(2); - @$pb.TagNumber(3) - set tlsPrivateKey($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasTlsPrivateKey() => $_has(2); - @$pb.TagNumber(3) - void clearTlsPrivateKey() => clearField(3); -} - -class LogRequest extends $pb.GeneratedMessage { - factory LogRequest({ - $core.String? id, - $core.Iterable<$15.LogEntry>? logs, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (logs != null) { - $result.logs.addAll(logs); - } - return $result; - } - LogRequest._() : super(); - factory LogRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LogRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..pc<$15.LogEntry>(2, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $15.LogEntry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LogRequest clone() => LogRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LogRequest copyWith(void Function(LogRequest) updates) => super.copyWith((message) => updates(message as LogRequest)) as LogRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LogRequest create() => LogRequest._(); - LogRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LogRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LogRequest? _defaultInstance; - - /// Robot part id. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$15.LogEntry> get logs => $_getList(1); -} - -class LogResponse extends $pb.GeneratedMessage { - factory LogResponse() => create(); - LogResponse._() : super(); - factory LogResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LogResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LogResponse clone() => LogResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LogResponse copyWith(void Function(LogResponse) updates) => super.copyWith((message) => updates(message as LogResponse)) as LogResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LogResponse create() => LogResponse._(); - LogResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LogResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LogResponse? _defaultInstance; -} - -class NeedsRestartRequest extends $pb.GeneratedMessage { - factory NeedsRestartRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - NeedsRestartRequest._() : super(); - factory NeedsRestartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NeedsRestartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NeedsRestartRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NeedsRestartRequest clone() => NeedsRestartRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NeedsRestartRequest copyWith(void Function(NeedsRestartRequest) updates) => super.copyWith((message) => updates(message as NeedsRestartRequest)) as NeedsRestartRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NeedsRestartRequest create() => NeedsRestartRequest._(); - NeedsRestartRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NeedsRestartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NeedsRestartRequest? _defaultInstance; - - /// Robot part id. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class NeedsRestartResponse extends $pb.GeneratedMessage { - factory NeedsRestartResponse({ - $core.String? id, - $core.bool? mustRestart, - $45.Duration? restartCheckInterval, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (mustRestart != null) { - $result.mustRestart = mustRestart; - } - if (restartCheckInterval != null) { - $result.restartCheckInterval = restartCheckInterval; - } - return $result; - } - NeedsRestartResponse._() : super(); - factory NeedsRestartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NeedsRestartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NeedsRestartResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOB(2, _omitFieldNames ? '' : 'mustRestart') - ..aOM<$45.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NeedsRestartResponse clone() => NeedsRestartResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NeedsRestartResponse copyWith(void Function(NeedsRestartResponse) updates) => super.copyWith((message) => updates(message as NeedsRestartResponse)) as NeedsRestartResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NeedsRestartResponse create() => NeedsRestartResponse._(); - NeedsRestartResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NeedsRestartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NeedsRestartResponse? _defaultInstance; - - /// Robot part id. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get mustRestart => $_getBF(1); - @$pb.TagNumber(2) - set mustRestart($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasMustRestart() => $_has(1); - @$pb.TagNumber(2) - void clearMustRestart() => clearField(2); - - @$pb.TagNumber(3) - $45.Duration get restartCheckInterval => $_getN(2); - @$pb.TagNumber(3) - set restartCheckInterval($45.Duration v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasRestartCheckInterval() => $_has(2); - @$pb.TagNumber(3) - void clearRestartCheckInterval() => clearField(3); - @$pb.TagNumber(3) - $45.Duration ensureRestartCheckInterval() => $_ensure(2); -} - -/// ModuleConfig is the configuration for a module. -class ModuleConfig extends $pb.GeneratedMessage { - factory ModuleConfig({ - $core.String? name, - $core.String? path, - $core.String? logLevel, - $core.String? type, - $core.String? moduleId, - $core.Map<$core.String, $core.String>? env, - AppValidationStatus? status, - $45.Duration? firstRunTimeout, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (path != null) { - $result.path = path; - } - if (logLevel != null) { - $result.logLevel = logLevel; - } - if (type != null) { - $result.type = type; - } - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (env != null) { - $result.env.addAll(env); - } - if (status != null) { - $result.status = status; - } - if (firstRunTimeout != null) { - $result.firstRunTimeout = firstRunTimeout; - } - return $result; - } - ModuleConfig._() : super(); - factory ModuleConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ModuleConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ModuleConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'path') - ..aOS(3, _omitFieldNames ? '' : 'logLevel') - ..aOS(4, _omitFieldNames ? '' : 'type') - ..aOS(5, _omitFieldNames ? '' : 'moduleId') - ..m<$core.String, $core.String>(6, _omitFieldNames ? '' : 'env', entryClassName: 'ModuleConfig.EnvEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('viam.app.v1')) - ..aOM(7, _omitFieldNames ? '' : 'status', subBuilder: AppValidationStatus.create) - ..aOM<$45.Duration>(8, _omitFieldNames ? '' : 'firstRunTimeout', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ModuleConfig clone() => ModuleConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ModuleConfig copyWith(void Function(ModuleConfig) updates) => super.copyWith((message) => updates(message as ModuleConfig)) as ModuleConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ModuleConfig create() => ModuleConfig._(); - ModuleConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ModuleConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ModuleConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// path to the executable - @$pb.TagNumber(2) - $core.String get path => $_getSZ(1); - @$pb.TagNumber(2) - set path($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPath() => $_has(1); - @$pb.TagNumber(2) - void clearPath() => clearField(2); - - /// log level for module - @$pb.TagNumber(3) - $core.String get logLevel => $_getSZ(2); - @$pb.TagNumber(3) - set logLevel($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLogLevel() => $_has(2); - @$pb.TagNumber(3) - void clearLogLevel() => clearField(3); - - /// type of the module ("local" or "registry") - @$pb.TagNumber(4) - $core.String get type => $_getSZ(3); - @$pb.TagNumber(4) - set type($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasType() => $_has(3); - @$pb.TagNumber(4) - void clearType() => clearField(4); - - /// the id of the module if it is a registry module - @$pb.TagNumber(5) - $core.String get moduleId => $_getSZ(4); - @$pb.TagNumber(5) - set moduleId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasModuleId() => $_has(4); - @$pb.TagNumber(5) - void clearModuleId() => clearField(5); - - /// additional environment variables passed to the module process - @$pb.TagNumber(6) - $core.Map<$core.String, $core.String> get env => $_getMap(5); - - /// info about the validity of the module - @$pb.TagNumber(7) - AppValidationStatus get status => $_getN(6); - @$pb.TagNumber(7) - set status(AppValidationStatus v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasStatus() => $_has(6); - @$pb.TagNumber(7) - void clearStatus() => clearField(7); - @$pb.TagNumber(7) - AppValidationStatus ensureStatus() => $_ensure(6); - - /// timeout for first_run script - @$pb.TagNumber(8) - $45.Duration get firstRunTimeout => $_getN(7); - @$pb.TagNumber(8) - set firstRunTimeout($45.Duration v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasFirstRunTimeout() => $_has(7); - @$pb.TagNumber(8) - void clearFirstRunTimeout() => clearField(8); - @$pb.TagNumber(8) - $45.Duration ensureFirstRunTimeout() => $_ensure(7); -} - -/// PackageConfig is the configration for deployed Packages. -class PackageConfig extends $pb.GeneratedMessage { - factory PackageConfig({ - $core.String? name, - $core.String? package, - $core.String? version, - $core.String? type, - AppValidationStatus? status, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (package != null) { - $result.package = package; - } - if (version != null) { - $result.version = version; - } - if (type != null) { - $result.type = type; - } - if (status != null) { - $result.status = status; - } - return $result; - } - PackageConfig._() : super(); - factory PackageConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PackageConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PackageConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'package') - ..aOS(3, _omitFieldNames ? '' : 'version') - ..aOS(4, _omitFieldNames ? '' : 'type') - ..aOM(5, _omitFieldNames ? '' : 'status', subBuilder: AppValidationStatus.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PackageConfig clone() => PackageConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PackageConfig copyWith(void Function(PackageConfig) updates) => super.copyWith((message) => updates(message as PackageConfig)) as PackageConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PackageConfig create() => PackageConfig._(); - PackageConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PackageConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PackageConfig? _defaultInstance; - - /// Name is the local name of the package on the RDK. Must be unique across Packages. Must not be empty. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Package is the unique package name hosted by Viam. Must not be empty. - @$pb.TagNumber(2) - $core.String get package => $_getSZ(1); - @$pb.TagNumber(2) - set package($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPackage() => $_has(1); - @$pb.TagNumber(2) - void clearPackage() => clearField(2); - - /// version of the package ID hosted by Viam. If not specified "latest" is assumed. - @$pb.TagNumber(3) - $core.String get version => $_getSZ(2); - @$pb.TagNumber(3) - set version($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(3) - void clearVersion() => clearField(3); - - /// type of the package - @$pb.TagNumber(4) - $core.String get type => $_getSZ(3); - @$pb.TagNumber(4) - set type($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasType() => $_has(3); - @$pb.TagNumber(4) - void clearType() => clearField(4); - - /// info about the validity of the package - @$pb.TagNumber(5) - AppValidationStatus get status => $_getN(4); - @$pb.TagNumber(5) - set status(AppValidationStatus v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasStatus() => $_has(4); - @$pb.TagNumber(5) - void clearStatus() => clearField(5); - @$pb.TagNumber(5) - AppValidationStatus ensureStatus() => $_ensure(4); -} - -class MaintenanceConfig extends $pb.GeneratedMessage { - factory MaintenanceConfig({ - $15.ResourceName? sensorName, - $core.String? maintenanceAllowedKey, - }) { - final $result = create(); - if (sensorName != null) { - $result.sensorName = sensorName; - } - if (maintenanceAllowedKey != null) { - $result.maintenanceAllowedKey = maintenanceAllowedKey; - } - return $result; - } - MaintenanceConfig._() : super(); - factory MaintenanceConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MaintenanceConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MaintenanceConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'sensorName', subBuilder: $15.ResourceName.create) - ..aOS(2, _omitFieldNames ? '' : 'maintenanceAllowedKey') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MaintenanceConfig clone() => MaintenanceConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MaintenanceConfig copyWith(void Function(MaintenanceConfig) updates) => super.copyWith((message) => updates(message as MaintenanceConfig)) as MaintenanceConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MaintenanceConfig create() => MaintenanceConfig._(); - MaintenanceConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MaintenanceConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MaintenanceConfig? _defaultInstance; - - @$pb.TagNumber(1) - $15.ResourceName get sensorName => $_getN(0); - @$pb.TagNumber(1) - set sensorName($15.ResourceName v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSensorName() => $_has(0); - @$pb.TagNumber(1) - void clearSensorName() => clearField(1); - @$pb.TagNumber(1) - $15.ResourceName ensureSensorName() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get maintenanceAllowedKey => $_getSZ(1); - @$pb.TagNumber(2) - set maintenanceAllowedKey($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMaintenanceAllowedKey() => $_has(1); - @$pb.TagNumber(2) - void clearMaintenanceAllowedKey() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/v1/robot.pbenum.dart b/lib/src/gen/app/v1/robot.pbenum.dart deleted file mode 100644 index 826db043649..00000000000 --- a/lib/src/gen/app/v1/robot.pbenum.dart +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class CredentialsType extends $pb.ProtobufEnum { - static const CredentialsType CREDENTIALS_TYPE_UNSPECIFIED = CredentialsType._(0, _omitEnumNames ? '' : 'CREDENTIALS_TYPE_UNSPECIFIED'); - static const CredentialsType CREDENTIALS_TYPE_INTERNAL = CredentialsType._(1, _omitEnumNames ? '' : 'CREDENTIALS_TYPE_INTERNAL'); - static const CredentialsType CREDENTIALS_TYPE_API_KEY = CredentialsType._(2, _omitEnumNames ? '' : 'CREDENTIALS_TYPE_API_KEY'); - static const CredentialsType CREDENTIALS_TYPE_ROBOT_SECRET = CredentialsType._(3, _omitEnumNames ? '' : 'CREDENTIALS_TYPE_ROBOT_SECRET'); - static const CredentialsType CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET = CredentialsType._(4, _omitEnumNames ? '' : 'CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET'); - - static const $core.List values = [ - CREDENTIALS_TYPE_UNSPECIFIED, - CREDENTIALS_TYPE_INTERNAL, - CREDENTIALS_TYPE_API_KEY, - CREDENTIALS_TYPE_ROBOT_SECRET, - CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET, - ]; - - static final $core.Map<$core.int, CredentialsType> _byValue = $pb.ProtobufEnum.initByValue(values); - static CredentialsType? valueOf($core.int value) => _byValue[value]; - - const CredentialsType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/app/v1/robot.pbgrpc.dart b/lib/src/gen/app/v1/robot.pbgrpc.dart deleted file mode 100644 index e1f73270777..00000000000 --- a/lib/src/gen/app/v1/robot.pbgrpc.dart +++ /dev/null @@ -1,119 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'robot.pb.dart' as $13; - -export 'robot.pb.dart'; - -@$pb.GrpcServiceName('viam.app.v1.RobotService') -class RobotServiceClient extends $grpc.Client { - static final _$config = $grpc.ClientMethod<$13.ConfigRequest, $13.ConfigResponse>( - '/viam.app.v1.RobotService/Config', - ($13.ConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.ConfigResponse.fromBuffer(value)); - static final _$certificate = $grpc.ClientMethod<$13.CertificateRequest, $13.CertificateResponse>( - '/viam.app.v1.RobotService/Certificate', - ($13.CertificateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.CertificateResponse.fromBuffer(value)); - static final _$log = $grpc.ClientMethod<$13.LogRequest, $13.LogResponse>( - '/viam.app.v1.RobotService/Log', - ($13.LogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.LogResponse.fromBuffer(value)); - static final _$needsRestart = $grpc.ClientMethod<$13.NeedsRestartRequest, $13.NeedsRestartResponse>( - '/viam.app.v1.RobotService/NeedsRestart', - ($13.NeedsRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.NeedsRestartResponse.fromBuffer(value)); - - RobotServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$13.ConfigResponse> config($13.ConfigRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$config, request, options: options); - } - - $grpc.ResponseFuture<$13.CertificateResponse> certificate($13.CertificateRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$certificate, request, options: options); - } - - $grpc.ResponseFuture<$13.LogResponse> log($13.LogRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$log, request, options: options); - } - - $grpc.ResponseFuture<$13.NeedsRestartResponse> needsRestart($13.NeedsRestartRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$needsRestart, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.app.v1.RobotService') -abstract class RobotServiceBase extends $grpc.Service { - $core.String get $name => 'viam.app.v1.RobotService'; - - RobotServiceBase() { - $addMethod($grpc.ServiceMethod<$13.ConfigRequest, $13.ConfigResponse>( - 'Config', - config_Pre, - false, - false, - ($core.List<$core.int> value) => $13.ConfigRequest.fromBuffer(value), - ($13.ConfigResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.CertificateRequest, $13.CertificateResponse>( - 'Certificate', - certificate_Pre, - false, - false, - ($core.List<$core.int> value) => $13.CertificateRequest.fromBuffer(value), - ($13.CertificateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.LogRequest, $13.LogResponse>( - 'Log', - log_Pre, - false, - false, - ($core.List<$core.int> value) => $13.LogRequest.fromBuffer(value), - ($13.LogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.NeedsRestartRequest, $13.NeedsRestartResponse>( - 'NeedsRestart', - needsRestart_Pre, - false, - false, - ($core.List<$core.int> value) => $13.NeedsRestartRequest.fromBuffer(value), - ($13.NeedsRestartResponse value) => value.writeToBuffer())); - } - - $async.Future<$13.ConfigResponse> config_Pre($grpc.ServiceCall call, $async.Future<$13.ConfigRequest> request) async { - return config(call, await request); - } - - $async.Future<$13.CertificateResponse> certificate_Pre($grpc.ServiceCall call, $async.Future<$13.CertificateRequest> request) async { - return certificate(call, await request); - } - - $async.Future<$13.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$13.LogRequest> request) async { - return log(call, await request); - } - - $async.Future<$13.NeedsRestartResponse> needsRestart_Pre($grpc.ServiceCall call, $async.Future<$13.NeedsRestartRequest> request) async { - return needsRestart(call, await request); - } - - $async.Future<$13.ConfigResponse> config($grpc.ServiceCall call, $13.ConfigRequest request); - $async.Future<$13.CertificateResponse> certificate($grpc.ServiceCall call, $13.CertificateRequest request); - $async.Future<$13.LogResponse> log($grpc.ServiceCall call, $13.LogRequest request); - $async.Future<$13.NeedsRestartResponse> needsRestart($grpc.ServiceCall call, $13.NeedsRestartRequest request); -} diff --git a/lib/src/gen/app/v1/robot.pbjson.dart b/lib/src/gen/app/v1/robot.pbjson.dart deleted file mode 100644 index fe8b0572978..00000000000 --- a/lib/src/gen/app/v1/robot.pbjson.dart +++ /dev/null @@ -1,784 +0,0 @@ -// -// Generated code. Do not modify. -// source: app/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use credentialsTypeDescriptor instead') -const CredentialsType$json = { - '1': 'CredentialsType', - '2': [ - {'1': 'CREDENTIALS_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'CREDENTIALS_TYPE_INTERNAL', '2': 1}, - {'1': 'CREDENTIALS_TYPE_API_KEY', '2': 2}, - {'1': 'CREDENTIALS_TYPE_ROBOT_SECRET', '2': 3}, - {'1': 'CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET', '2': 4}, - ], -}; - -/// Descriptor for `CredentialsType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List credentialsTypeDescriptor = $convert.base64Decode( - 'Cg9DcmVkZW50aWFsc1R5cGUSIAocQ1JFREVOVElBTFNfVFlQRV9VTlNQRUNJRklFRBAAEh0KGU' - 'NSRURFTlRJQUxTX1RZUEVfSU5URVJOQUwQARIcChhDUkVERU5USUFMU19UWVBFX0FQSV9LRVkQ' - 'AhIhCh1DUkVERU5USUFMU19UWVBFX1JPQk9UX1NFQ1JFVBADEioKJkNSRURFTlRJQUxTX1RZUE' - 'VfUk9CT1RfTE9DQVRJT05fU0VDUkVUEAQ='); - -@$core.Deprecated('Use robotConfigDescriptor instead') -const RobotConfig$json = { - '1': 'RobotConfig', - '2': [ - {'1': 'cloud', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.CloudConfig', '10': 'cloud'}, - {'1': 'remotes', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.RemoteConfig', '10': 'remotes'}, - {'1': 'components', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.ComponentConfig', '10': 'components'}, - {'1': 'processes', '3': 4, '4': 3, '5': 11, '6': '.viam.app.v1.ProcessConfig', '10': 'processes'}, - {'1': 'services', '3': 5, '4': 3, '5': 11, '6': '.viam.app.v1.ServiceConfig', '10': 'services'}, - {'1': 'network', '3': 6, '4': 1, '5': 11, '6': '.viam.app.v1.NetworkConfig', '9': 0, '10': 'network', '17': true}, - {'1': 'auth', '3': 7, '4': 1, '5': 11, '6': '.viam.app.v1.AuthConfig', '9': 1, '10': 'auth', '17': true}, - {'1': 'debug', '3': 8, '4': 1, '5': 8, '9': 2, '10': 'debug', '17': true}, - {'1': 'modules', '3': 9, '4': 3, '5': 11, '6': '.viam.app.v1.ModuleConfig', '10': 'modules'}, - {'1': 'disable_partial_start', '3': 10, '4': 1, '5': 8, '9': 3, '10': 'disablePartialStart', '17': true}, - {'1': 'packages', '3': 11, '4': 3, '5': 11, '6': '.viam.app.v1.PackageConfig', '10': 'packages'}, - {'1': 'overwrite_fragment_status', '3': 12, '4': 3, '5': 11, '6': '.viam.app.v1.AppValidationStatus', '10': 'overwriteFragmentStatus'}, - {'1': 'enable_web_profile', '3': 13, '4': 1, '5': 8, '10': 'enableWebProfile'}, - {'1': 'log', '3': 14, '4': 3, '5': 11, '6': '.viam.app.v1.LogPatternConfig', '10': 'log'}, - {'1': 'revision', '3': 15, '4': 1, '5': 9, '10': 'revision'}, - {'1': 'maintenance', '3': 16, '4': 1, '5': 11, '6': '.viam.app.v1.MaintenanceConfig', '9': 4, '10': 'maintenance', '17': true}, - {'1': 'disable_log_deduplication', '3': 17, '4': 1, '5': 8, '10': 'disableLogDeduplication'}, - ], - '8': [ - {'1': '_network'}, - {'1': '_auth'}, - {'1': '_debug'}, - {'1': '_disable_partial_start'}, - {'1': '_maintenance'}, - ], -}; - -/// Descriptor for `RobotConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List robotConfigDescriptor = $convert.base64Decode( - 'CgtSb2JvdENvbmZpZxIuCgVjbG91ZBgBIAEoCzIYLnZpYW0uYXBwLnYxLkNsb3VkQ29uZmlnUg' - 'VjbG91ZBIzCgdyZW1vdGVzGAIgAygLMhkudmlhbS5hcHAudjEuUmVtb3RlQ29uZmlnUgdyZW1v' - 'dGVzEjwKCmNvbXBvbmVudHMYAyADKAsyHC52aWFtLmFwcC52MS5Db21wb25lbnRDb25maWdSCm' - 'NvbXBvbmVudHMSOAoJcHJvY2Vzc2VzGAQgAygLMhoudmlhbS5hcHAudjEuUHJvY2Vzc0NvbmZp' - 'Z1IJcHJvY2Vzc2VzEjYKCHNlcnZpY2VzGAUgAygLMhoudmlhbS5hcHAudjEuU2VydmljZUNvbm' - 'ZpZ1IIc2VydmljZXMSOQoHbmV0d29yaxgGIAEoCzIaLnZpYW0uYXBwLnYxLk5ldHdvcmtDb25m' - 'aWdIAFIHbmV0d29ya4gBARIwCgRhdXRoGAcgASgLMhcudmlhbS5hcHAudjEuQXV0aENvbmZpZ0' - 'gBUgRhdXRoiAEBEhkKBWRlYnVnGAggASgISAJSBWRlYnVniAEBEjMKB21vZHVsZXMYCSADKAsy' - 'GS52aWFtLmFwcC52MS5Nb2R1bGVDb25maWdSB21vZHVsZXMSNwoVZGlzYWJsZV9wYXJ0aWFsX3' - 'N0YXJ0GAogASgISANSE2Rpc2FibGVQYXJ0aWFsU3RhcnSIAQESNgoIcGFja2FnZXMYCyADKAsy' - 'Gi52aWFtLmFwcC52MS5QYWNrYWdlQ29uZmlnUghwYWNrYWdlcxJcChlvdmVyd3JpdGVfZnJhZ2' - '1lbnRfc3RhdHVzGAwgAygLMiAudmlhbS5hcHAudjEuQXBwVmFsaWRhdGlvblN0YXR1c1IXb3Zl' - 'cndyaXRlRnJhZ21lbnRTdGF0dXMSLAoSZW5hYmxlX3dlYl9wcm9maWxlGA0gASgIUhBlbmFibG' - 'VXZWJQcm9maWxlEi8KA2xvZxgOIAMoCzIdLnZpYW0uYXBwLnYxLkxvZ1BhdHRlcm5Db25maWdS' - 'A2xvZxIaCghyZXZpc2lvbhgPIAEoCVIIcmV2aXNpb24SRQoLbWFpbnRlbmFuY2UYECABKAsyHi' - '52aWFtLmFwcC52MS5NYWludGVuYW5jZUNvbmZpZ0gEUgttYWludGVuYW5jZYgBARI6ChlkaXNh' - 'YmxlX2xvZ19kZWR1cGxpY2F0aW9uGBEgASgIUhdkaXNhYmxlTG9nRGVkdXBsaWNhdGlvbkIKCg' - 'hfbmV0d29ya0IHCgVfYXV0aEIICgZfZGVidWdCGAoWX2Rpc2FibGVfcGFydGlhbF9zdGFydEIO' - 'CgxfbWFpbnRlbmFuY2U='); - -@$core.Deprecated('Use logPatternConfigDescriptor instead') -const LogPatternConfig$json = { - '1': 'LogPatternConfig', - '2': [ - {'1': 'pattern', '3': 1, '4': 1, '5': 9, '10': 'pattern'}, - {'1': 'level', '3': 2, '4': 1, '5': 9, '10': 'level'}, - ], -}; - -/// Descriptor for `LogPatternConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List logPatternConfigDescriptor = $convert.base64Decode( - 'ChBMb2dQYXR0ZXJuQ29uZmlnEhgKB3BhdHRlcm4YASABKAlSB3BhdHRlcm4SFAoFbGV2ZWwYAi' - 'ABKAlSBWxldmVs'); - -@$core.Deprecated('Use locationSecretDescriptor instead') -const LocationSecret$json = { - '1': 'LocationSecret', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'secret', '3': 2, '4': 1, '5': 9, '10': 'secret'}, - ], -}; - -/// Descriptor for `LocationSecret`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List locationSecretDescriptor = $convert.base64Decode( - 'Cg5Mb2NhdGlvblNlY3JldBIOCgJpZBgBIAEoCVICaWQSFgoGc2VjcmV0GAIgASgJUgZzZWNyZX' - 'Q='); - -@$core.Deprecated('Use appValidationStatusDescriptor instead') -const AppValidationStatus$json = { - '1': 'AppValidationStatus', - '2': [ - {'1': 'error', '3': 1, '4': 1, '5': 9, '10': 'error'}, - ], -}; - -/// Descriptor for `AppValidationStatus`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List appValidationStatusDescriptor = $convert.base64Decode( - 'ChNBcHBWYWxpZGF0aW9uU3RhdHVzEhQKBWVycm9yGAEgASgJUgVlcnJvcg=='); - -@$core.Deprecated('Use cloudConfigDescriptor instead') -const CloudConfig$json = { - '1': 'CloudConfig', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'fqdn', '3': 2, '4': 1, '5': 9, '10': 'fqdn'}, - {'1': 'local_fqdn', '3': 3, '4': 1, '5': 9, '10': 'localFqdn'}, - {'1': 'managed_by', '3': 4, '4': 1, '5': 9, '10': 'managedBy'}, - {'1': 'signaling_address', '3': 5, '4': 1, '5': 9, '10': 'signalingAddress'}, - {'1': 'signaling_insecure', '3': 6, '4': 1, '5': 8, '10': 'signalingInsecure'}, - { - '1': 'location_secret', - '3': 7, - '4': 1, - '5': 9, - '8': {'3': true}, - '10': 'locationSecret', - }, - {'1': 'secret', '3': 8, '4': 1, '5': 9, '10': 'secret'}, - {'1': 'location_secrets', '3': 9, '4': 3, '5': 11, '6': '.viam.app.v1.LocationSecret', '10': 'locationSecrets'}, - {'1': 'primary_org_id', '3': 10, '4': 1, '5': 9, '10': 'primaryOrgId'}, - {'1': 'location_id', '3': 11, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'machine_id', '3': 12, '4': 1, '5': 9, '10': 'machineId'}, - ], -}; - -/// Descriptor for `CloudConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cloudConfigDescriptor = $convert.base64Decode( - 'CgtDbG91ZENvbmZpZxIOCgJpZBgBIAEoCVICaWQSEgoEZnFkbhgCIAEoCVIEZnFkbhIdCgpsb2' - 'NhbF9mcWRuGAMgASgJUglsb2NhbEZxZG4SHQoKbWFuYWdlZF9ieRgEIAEoCVIJbWFuYWdlZEJ5' - 'EisKEXNpZ25hbGluZ19hZGRyZXNzGAUgASgJUhBzaWduYWxpbmdBZGRyZXNzEi0KEnNpZ25hbG' - 'luZ19pbnNlY3VyZRgGIAEoCFIRc2lnbmFsaW5nSW5zZWN1cmUSKwoPbG9jYXRpb25fc2VjcmV0' - 'GAcgASgJQgIYAVIObG9jYXRpb25TZWNyZXQSFgoGc2VjcmV0GAggASgJUgZzZWNyZXQSRgoQbG' - '9jYXRpb25fc2VjcmV0cxgJIAMoCzIbLnZpYW0uYXBwLnYxLkxvY2F0aW9uU2VjcmV0Ug9sb2Nh' - 'dGlvblNlY3JldHMSJAoOcHJpbWFyeV9vcmdfaWQYCiABKAlSDHByaW1hcnlPcmdJZBIfCgtsb2' - 'NhdGlvbl9pZBgLIAEoCVIKbG9jYXRpb25JZBIdCgptYWNoaW5lX2lkGAwgASgJUgltYWNoaW5l' - 'SWQ='); - -@$core.Deprecated('Use componentConfigDescriptor instead') -const ComponentConfig$json = { - '1': 'ComponentConfig', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'namespace', '3': 2, '4': 1, '5': 9, '10': 'namespace'}, - {'1': 'type', '3': 3, '4': 1, '5': 9, '10': 'type'}, - {'1': 'model', '3': 4, '4': 1, '5': 9, '10': 'model'}, - {'1': 'frame', '3': 5, '4': 1, '5': 11, '6': '.viam.app.v1.Frame', '10': 'frame'}, - {'1': 'depends_on', '3': 6, '4': 3, '5': 9, '10': 'dependsOn'}, - {'1': 'service_configs', '3': 7, '4': 3, '5': 11, '6': '.viam.app.v1.ResourceLevelServiceConfig', '8': {}, '10': 'serviceConfigs'}, - {'1': 'attributes', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'attributes'}, - {'1': 'api', '3': 9, '4': 1, '5': 9, '10': 'api'}, - {'1': 'log_configuration', '3': 10, '4': 1, '5': 11, '6': '.viam.app.v1.LogConfiguration', '10': 'logConfiguration'}, - ], -}; - -/// Descriptor for `ComponentConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List componentConfigDescriptor = $convert.base64Decode( - 'Cg9Db21wb25lbnRDb25maWcSEgoEbmFtZRgBIAEoCVIEbmFtZRIcCgluYW1lc3BhY2UYAiABKA' - 'lSCW5hbWVzcGFjZRISCgR0eXBlGAMgASgJUgR0eXBlEhQKBW1vZGVsGAQgASgJUgVtb2RlbBIo' - 'CgVmcmFtZRgFIAEoCzISLnZpYW0uYXBwLnYxLkZyYW1lUgVmcmFtZRIdCgpkZXBlbmRzX29uGA' - 'YgAygJUglkZXBlbmRzT24SbAoPc2VydmljZV9jb25maWdzGAcgAygLMicudmlhbS5hcHAudjEu' - 'UmVzb3VyY2VMZXZlbFNlcnZpY2VDb25maWdCGpqEngMVanNvbjoic2VydmljZV9jb25maWciUg' - '5zZXJ2aWNlQ29uZmlncxI3CgphdHRyaWJ1dGVzGAggASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0' - 'cnVjdFIKYXR0cmlidXRlcxIQCgNhcGkYCSABKAlSA2FwaRJKChFsb2dfY29uZmlndXJhdGlvbh' - 'gKIAEoCzIdLnZpYW0uYXBwLnYxLkxvZ0NvbmZpZ3VyYXRpb25SEGxvZ0NvbmZpZ3VyYXRpb24='); - -@$core.Deprecated('Use resourceLevelServiceConfigDescriptor instead') -const ResourceLevelServiceConfig$json = { - '1': 'ResourceLevelServiceConfig', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'attributes', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'attributes'}, - ], -}; - -/// Descriptor for `ResourceLevelServiceConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceLevelServiceConfigDescriptor = $convert.base64Decode( - 'ChpSZXNvdXJjZUxldmVsU2VydmljZUNvbmZpZxISCgR0eXBlGAEgASgJUgR0eXBlEjcKCmF0dH' - 'JpYnV0ZXMYAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgphdHRyaWJ1dGVz'); - -@$core.Deprecated('Use processConfigDescriptor instead') -const ProcessConfig$json = { - '1': 'ProcessConfig', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'args', '3': 3, '4': 3, '5': 9, '10': 'args'}, - {'1': 'cwd', '3': 4, '4': 1, '5': 9, '10': 'cwd'}, - {'1': 'one_shot', '3': 5, '4': 1, '5': 8, '10': 'oneShot'}, - {'1': 'log', '3': 6, '4': 1, '5': 8, '10': 'log'}, - {'1': 'stop_signal', '3': 7, '4': 1, '5': 5, '10': 'stopSignal'}, - {'1': 'stop_timeout', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'stopTimeout'}, - {'1': 'env', '3': 9, '4': 3, '5': 11, '6': '.viam.app.v1.ProcessConfig.EnvEntry', '10': 'env'}, - {'1': 'username', '3': 10, '4': 1, '5': 9, '10': 'username'}, - ], - '3': [ProcessConfig_EnvEntry$json], -}; - -@$core.Deprecated('Use processConfigDescriptor instead') -const ProcessConfig_EnvEntry$json = { - '1': 'EnvEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `ProcessConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List processConfigDescriptor = $convert.base64Decode( - 'Cg1Qcm9jZXNzQ29uZmlnEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhIKBG' - 'FyZ3MYAyADKAlSBGFyZ3MSEAoDY3dkGAQgASgJUgNjd2QSGQoIb25lX3Nob3QYBSABKAhSB29u' - 'ZVNob3QSEAoDbG9nGAYgASgIUgNsb2cSHwoLc3RvcF9zaWduYWwYByABKAVSCnN0b3BTaWduYW' - 'wSPAoMc3RvcF90aW1lb3V0GAggASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uUgtzdG9w' - 'VGltZW91dBI1CgNlbnYYCSADKAsyIy52aWFtLmFwcC52MS5Qcm9jZXNzQ29uZmlnLkVudkVudH' - 'J5UgNlbnYSGgoIdXNlcm5hbWUYCiABKAlSCHVzZXJuYW1lGjYKCEVudkVudHJ5EhAKA2tleRgB' - 'IAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use serviceConfigDescriptor instead') -const ServiceConfig$json = { - '1': 'ServiceConfig', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'namespace', '3': 2, '4': 1, '5': 9, '10': 'namespace'}, - {'1': 'type', '3': 3, '4': 1, '5': 9, '10': 'type'}, - {'1': 'attributes', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'attributes'}, - {'1': 'depends_on', '3': 5, '4': 3, '5': 9, '10': 'dependsOn'}, - {'1': 'model', '3': 6, '4': 1, '5': 9, '10': 'model'}, - {'1': 'api', '3': 9, '4': 1, '5': 9, '10': 'api'}, - {'1': 'service_configs', '3': 10, '4': 3, '5': 11, '6': '.viam.app.v1.ResourceLevelServiceConfig', '8': {}, '10': 'serviceConfigs'}, - {'1': 'log_configuration', '3': 11, '4': 1, '5': 11, '6': '.viam.app.v1.LogConfiguration', '10': 'logConfiguration'}, - ], -}; - -/// Descriptor for `ServiceConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serviceConfigDescriptor = $convert.base64Decode( - 'Cg1TZXJ2aWNlQ29uZmlnEhIKBG5hbWUYASABKAlSBG5hbWUSHAoJbmFtZXNwYWNlGAIgASgJUg' - 'luYW1lc3BhY2USEgoEdHlwZRgDIAEoCVIEdHlwZRI3CgphdHRyaWJ1dGVzGAQgASgLMhcuZ29v' - 'Z2xlLnByb3RvYnVmLlN0cnVjdFIKYXR0cmlidXRlcxIdCgpkZXBlbmRzX29uGAUgAygJUglkZX' - 'BlbmRzT24SFAoFbW9kZWwYBiABKAlSBW1vZGVsEhAKA2FwaRgJIAEoCVIDYXBpEmwKD3NlcnZp' - 'Y2VfY29uZmlncxgKIAMoCzInLnZpYW0uYXBwLnYxLlJlc291cmNlTGV2ZWxTZXJ2aWNlQ29uZm' - 'lnQhqahJ4DFWpzb246InNlcnZpY2VfY29uZmlnIlIOc2VydmljZUNvbmZpZ3MSSgoRbG9nX2Nv' - 'bmZpZ3VyYXRpb24YCyABKAsyHS52aWFtLmFwcC52MS5Mb2dDb25maWd1cmF0aW9uUhBsb2dDb2' - '5maWd1cmF0aW9u'); - -@$core.Deprecated('Use networkConfigDescriptor instead') -const NetworkConfig$json = { - '1': 'NetworkConfig', - '2': [ - {'1': 'fqdn', '3': 1, '4': 1, '5': 9, '10': 'fqdn'}, - {'1': 'bind_address', '3': 2, '4': 1, '5': 9, '10': 'bindAddress'}, - {'1': 'tls_cert_file', '3': 3, '4': 1, '5': 9, '10': 'tlsCertFile'}, - {'1': 'tls_key_file', '3': 4, '4': 1, '5': 9, '10': 'tlsKeyFile'}, - {'1': 'sessions', '3': 5, '4': 1, '5': 11, '6': '.viam.app.v1.SessionsConfig', '10': 'sessions'}, - {'1': 'traffic_tunnel_endpoints', '3': 6, '4': 3, '5': 11, '6': '.viam.app.v1.TrafficTunnelEndpoint', '10': 'trafficTunnelEndpoints'}, - ], -}; - -/// Descriptor for `NetworkConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List networkConfigDescriptor = $convert.base64Decode( - 'Cg1OZXR3b3JrQ29uZmlnEhIKBGZxZG4YASABKAlSBGZxZG4SIQoMYmluZF9hZGRyZXNzGAIgAS' - 'gJUgtiaW5kQWRkcmVzcxIiCg10bHNfY2VydF9maWxlGAMgASgJUgt0bHNDZXJ0RmlsZRIgCgx0' - 'bHNfa2V5X2ZpbGUYBCABKAlSCnRsc0tleUZpbGUSNwoIc2Vzc2lvbnMYBSABKAsyGy52aWFtLm' - 'FwcC52MS5TZXNzaW9uc0NvbmZpZ1IIc2Vzc2lvbnMSXAoYdHJhZmZpY190dW5uZWxfZW5kcG9p' - 'bnRzGAYgAygLMiIudmlhbS5hcHAudjEuVHJhZmZpY1R1bm5lbEVuZHBvaW50UhZ0cmFmZmljVH' - 'VubmVsRW5kcG9pbnRz'); - -@$core.Deprecated('Use sessionsConfigDescriptor instead') -const SessionsConfig$json = { - '1': 'SessionsConfig', - '2': [ - {'1': 'heartbeat_window', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'heartbeatWindow'}, - ], -}; - -/// Descriptor for `SessionsConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sessionsConfigDescriptor = $convert.base64Decode( - 'Cg5TZXNzaW9uc0NvbmZpZxJEChBoZWFydGJlYXRfd2luZG93GAEgASgLMhkuZ29vZ2xlLnByb3' - 'RvYnVmLkR1cmF0aW9uUg9oZWFydGJlYXRXaW5kb3c='); - -@$core.Deprecated('Use trafficTunnelEndpointDescriptor instead') -const TrafficTunnelEndpoint$json = { - '1': 'TrafficTunnelEndpoint', - '2': [ - {'1': 'port', '3': 1, '4': 1, '5': 5, '10': 'port'}, - {'1': 'connection_timeout', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'connectionTimeout'}, - ], -}; - -/// Descriptor for `TrafficTunnelEndpoint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List trafficTunnelEndpointDescriptor = $convert.base64Decode( - 'ChVUcmFmZmljVHVubmVsRW5kcG9pbnQSEgoEcG9ydBgBIAEoBVIEcG9ydBJIChJjb25uZWN0aW' - '9uX3RpbWVvdXQYAiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25SEWNvbm5lY3Rpb25U' - 'aW1lb3V0'); - -@$core.Deprecated('Use authConfigDescriptor instead') -const AuthConfig$json = { - '1': 'AuthConfig', - '2': [ - {'1': 'handlers', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.AuthHandlerConfig', '10': 'handlers'}, - {'1': 'tls_auth_entities', '3': 2, '4': 3, '5': 9, '10': 'tlsAuthEntities'}, - {'1': 'external_auth_config', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.ExternalAuthConfig', '9': 0, '10': 'externalAuthConfig', '17': true}, - ], - '8': [ - {'1': '_external_auth_config'}, - ], -}; - -/// Descriptor for `AuthConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authConfigDescriptor = $convert.base64Decode( - 'CgpBdXRoQ29uZmlnEjoKCGhhbmRsZXJzGAEgAygLMh4udmlhbS5hcHAudjEuQXV0aEhhbmRsZX' - 'JDb25maWdSCGhhbmRsZXJzEioKEXRsc19hdXRoX2VudGl0aWVzGAIgAygJUg90bHNBdXRoRW50' - 'aXRpZXMSVgoUZXh0ZXJuYWxfYXV0aF9jb25maWcYAyABKAsyHy52aWFtLmFwcC52MS5FeHRlcm' - '5hbEF1dGhDb25maWdIAFISZXh0ZXJuYWxBdXRoQ29uZmlniAEBQhcKFV9leHRlcm5hbF9hdXRo' - 'X2NvbmZpZw=='); - -@$core.Deprecated('Use jWKSFileDescriptor instead') -const JWKSFile$json = { - '1': 'JWKSFile', - '2': [ - {'1': 'json', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'json'}, - ], -}; - -/// Descriptor for `JWKSFile`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List jWKSFileDescriptor = $convert.base64Decode( - 'CghKV0tTRmlsZRIrCgRqc29uGAEgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIEanNvbg' - '=='); - -@$core.Deprecated('Use externalAuthConfigDescriptor instead') -const ExternalAuthConfig$json = { - '1': 'ExternalAuthConfig', - '2': [ - {'1': 'jwks', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.JWKSFile', '10': 'jwks'}, - ], -}; - -/// Descriptor for `ExternalAuthConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List externalAuthConfigDescriptor = $convert.base64Decode( - 'ChJFeHRlcm5hbEF1dGhDb25maWcSKQoEandrcxgBIAEoCzIVLnZpYW0uYXBwLnYxLkpXS1NGaW' - 'xlUgRqd2tz'); - -@$core.Deprecated('Use authHandlerConfigDescriptor instead') -const AuthHandlerConfig$json = { - '1': 'AuthHandlerConfig', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.CredentialsType', '10': 'type'}, - {'1': 'config', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'config'}, - ], -}; - -/// Descriptor for `AuthHandlerConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authHandlerConfigDescriptor = $convert.base64Decode( - 'ChFBdXRoSGFuZGxlckNvbmZpZxIwCgR0eXBlGAEgASgOMhwudmlhbS5hcHAudjEuQ3JlZGVudG' - 'lhbHNUeXBlUgR0eXBlEi8KBmNvbmZpZxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RS' - 'BmNvbmZpZw=='); - -@$core.Deprecated('Use frameDescriptor instead') -const Frame$json = { - '1': 'Frame', - '2': [ - {'1': 'parent', '3': 1, '4': 1, '5': 9, '10': 'parent'}, - {'1': 'translation', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.Translation', '10': 'translation'}, - {'1': 'orientation', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.Orientation', '10': 'orientation'}, - {'1': 'geometry', '3': 4, '4': 1, '5': 11, '6': '.viam.common.v1.Geometry', '10': 'geometry'}, - ], -}; - -/// Descriptor for `Frame`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List frameDescriptor = $convert.base64Decode( - 'CgVGcmFtZRIWCgZwYXJlbnQYASABKAlSBnBhcmVudBI6Cgt0cmFuc2xhdGlvbhgCIAEoCzIYLn' - 'ZpYW0uYXBwLnYxLlRyYW5zbGF0aW9uUgt0cmFuc2xhdGlvbhI6CgtvcmllbnRhdGlvbhgDIAEo' - 'CzIYLnZpYW0uYXBwLnYxLk9yaWVudGF0aW9uUgtvcmllbnRhdGlvbhI0CghnZW9tZXRyeRgEIA' - 'EoCzIYLnZpYW0uY29tbW9uLnYxLkdlb21ldHJ5UghnZW9tZXRyeQ=='); - -@$core.Deprecated('Use logConfigurationDescriptor instead') -const LogConfiguration$json = { - '1': 'LogConfiguration', - '2': [ - {'1': 'level', '3': 1, '4': 1, '5': 9, '10': 'level'}, - ], -}; - -/// Descriptor for `LogConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List logConfigurationDescriptor = $convert.base64Decode( - 'ChBMb2dDb25maWd1cmF0aW9uEhQKBWxldmVsGAEgASgJUgVsZXZlbA=='); - -@$core.Deprecated('Use translationDescriptor instead') -const Translation$json = { - '1': 'Translation', - '2': [ - {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 3, '4': 1, '5': 1, '10': 'z'}, - ], -}; - -/// Descriptor for `Translation`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List translationDescriptor = $convert.base64Decode( - 'CgtUcmFuc2xhdGlvbhIMCgF4GAEgASgBUgF4EgwKAXkYAiABKAFSAXkSDAoBehgDIAEoAVIBeg' - '=='); - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation$json = { - '1': 'Orientation', - '2': [ - {'1': 'no_orientation', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.Orientation.NoOrientation', '9': 0, '10': 'noOrientation'}, - {'1': 'vector_radians', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.Orientation.OrientationVectorRadians', '9': 0, '10': 'vectorRadians'}, - {'1': 'vector_degrees', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.Orientation.OrientationVectorDegrees', '9': 0, '10': 'vectorDegrees'}, - {'1': 'euler_angles', '3': 4, '4': 1, '5': 11, '6': '.viam.app.v1.Orientation.EulerAngles', '9': 0, '10': 'eulerAngles'}, - {'1': 'axis_angles', '3': 5, '4': 1, '5': 11, '6': '.viam.app.v1.Orientation.AxisAngles', '9': 0, '10': 'axisAngles'}, - {'1': 'quaternion', '3': 6, '4': 1, '5': 11, '6': '.viam.app.v1.Orientation.Quaternion', '9': 0, '10': 'quaternion'}, - ], - '3': [Orientation_NoOrientation$json, Orientation_OrientationVectorRadians$json, Orientation_OrientationVectorDegrees$json, Orientation_EulerAngles$json, Orientation_AxisAngles$json, Orientation_Quaternion$json], - '8': [ - {'1': 'type'}, - ], -}; - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation_NoOrientation$json = { - '1': 'NoOrientation', -}; - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation_OrientationVectorRadians$json = { - '1': 'OrientationVectorRadians', - '2': [ - {'1': 'theta', '3': 1, '4': 1, '5': 1, '8': {}, '10': 'theta'}, - {'1': 'x', '3': 2, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 3, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 4, '4': 1, '5': 1, '10': 'z'}, - ], -}; - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation_OrientationVectorDegrees$json = { - '1': 'OrientationVectorDegrees', - '2': [ - {'1': 'theta', '3': 1, '4': 1, '5': 1, '8': {}, '10': 'theta'}, - {'1': 'x', '3': 2, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 3, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 4, '4': 1, '5': 1, '10': 'z'}, - ], -}; - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation_EulerAngles$json = { - '1': 'EulerAngles', - '2': [ - {'1': 'roll', '3': 1, '4': 1, '5': 1, '10': 'roll'}, - {'1': 'pitch', '3': 2, '4': 1, '5': 1, '10': 'pitch'}, - {'1': 'yaw', '3': 3, '4': 1, '5': 1, '10': 'yaw'}, - ], -}; - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation_AxisAngles$json = { - '1': 'AxisAngles', - '2': [ - {'1': 'theta', '3': 1, '4': 1, '5': 1, '8': {}, '10': 'theta'}, - {'1': 'x', '3': 2, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 3, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 4, '4': 1, '5': 1, '10': 'z'}, - ], -}; - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation_Quaternion$json = { - '1': 'Quaternion', - '2': [ - {'1': 'w', '3': 1, '4': 1, '5': 1, '10': 'w'}, - {'1': 'x', '3': 2, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 3, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 4, '4': 1, '5': 1, '10': 'z'}, - ], -}; - -/// Descriptor for `Orientation`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List orientationDescriptor = $convert.base64Decode( - 'CgtPcmllbnRhdGlvbhJPCg5ub19vcmllbnRhdGlvbhgBIAEoCzImLnZpYW0uYXBwLnYxLk9yaW' - 'VudGF0aW9uLk5vT3JpZW50YXRpb25IAFINbm9PcmllbnRhdGlvbhJaCg52ZWN0b3JfcmFkaWFu' - 'cxgCIAEoCzIxLnZpYW0uYXBwLnYxLk9yaWVudGF0aW9uLk9yaWVudGF0aW9uVmVjdG9yUmFkaW' - 'Fuc0gAUg12ZWN0b3JSYWRpYW5zEloKDnZlY3Rvcl9kZWdyZWVzGAMgASgLMjEudmlhbS5hcHAu' - 'djEuT3JpZW50YXRpb24uT3JpZW50YXRpb25WZWN0b3JEZWdyZWVzSABSDXZlY3RvckRlZ3JlZX' - 'MSSQoMZXVsZXJfYW5nbGVzGAQgASgLMiQudmlhbS5hcHAudjEuT3JpZW50YXRpb24uRXVsZXJB' - 'bmdsZXNIAFILZXVsZXJBbmdsZXMSRgoLYXhpc19hbmdsZXMYBSABKAsyIy52aWFtLmFwcC52MS' - '5PcmllbnRhdGlvbi5BeGlzQW5nbGVzSABSCmF4aXNBbmdsZXMSRQoKcXVhdGVybmlvbhgGIAEo' - 'CzIjLnZpYW0uYXBwLnYxLk9yaWVudGF0aW9uLlF1YXRlcm5pb25IAFIKcXVhdGVybmlvbhoPCg' - '1Ob09yaWVudGF0aW9uGmoKGE9yaWVudGF0aW9uVmVjdG9yUmFkaWFucxIkCgV0aGV0YRgBIAEo' - 'AUIOmoSeAwlqc29uOiJ0aCJSBXRoZXRhEgwKAXgYAiABKAFSAXgSDAoBeRgDIAEoAVIBeRIMCg' - 'F6GAQgASgBUgF6GmoKGE9yaWVudGF0aW9uVmVjdG9yRGVncmVlcxIkCgV0aGV0YRgBIAEoAUIO' - 'moSeAwlqc29uOiJ0aCJSBXRoZXRhEgwKAXgYAiABKAFSAXgSDAoBeRgDIAEoAVIBeRIMCgF6GA' - 'QgASgBUgF6GkkKC0V1bGVyQW5nbGVzEhIKBHJvbGwYASABKAFSBHJvbGwSFAoFcGl0Y2gYAiAB' - 'KAFSBXBpdGNoEhAKA3lhdxgDIAEoAVIDeWF3GlwKCkF4aXNBbmdsZXMSJAoFdGhldGEYASABKA' - 'FCDpqEngMJanNvbjoidGgiUgV0aGV0YRIMCgF4GAIgASgBUgF4EgwKAXkYAyABKAFSAXkSDAoB' - 'ehgEIAEoAVIBehpECgpRdWF0ZXJuaW9uEgwKAXcYASABKAFSAXcSDAoBeBgCIAEoAVIBeBIMCg' - 'F5GAMgASgBUgF5EgwKAXoYBCABKAFSAXpCBgoEdHlwZQ=='); - -@$core.Deprecated('Use remoteConfigDescriptor instead') -const RemoteConfig$json = { - '1': 'RemoteConfig', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'address', '3': 2, '4': 1, '5': 9, '10': 'address'}, - {'1': 'frame', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.Frame', '10': 'frame'}, - {'1': 'auth', '3': 4, '4': 1, '5': 11, '6': '.viam.app.v1.RemoteAuth', '10': 'auth'}, - {'1': 'managed_by', '3': 5, '4': 1, '5': 9, '10': 'managedBy'}, - {'1': 'insecure', '3': 6, '4': 1, '5': 8, '10': 'insecure'}, - {'1': 'connection_check_interval', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'connectionCheckInterval'}, - {'1': 'reconnect_interval', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'reconnectInterval'}, - {'1': 'service_configs', '3': 9, '4': 3, '5': 11, '6': '.viam.app.v1.ResourceLevelServiceConfig', '8': {}, '10': 'serviceConfigs'}, - {'1': 'secret', '3': 10, '4': 1, '5': 9, '10': 'secret'}, - ], -}; - -/// Descriptor for `RemoteConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List remoteConfigDescriptor = $convert.base64Decode( - 'CgxSZW1vdGVDb25maWcSEgoEbmFtZRgBIAEoCVIEbmFtZRIYCgdhZGRyZXNzGAIgASgJUgdhZG' - 'RyZXNzEigKBWZyYW1lGAMgASgLMhIudmlhbS5hcHAudjEuRnJhbWVSBWZyYW1lEisKBGF1dGgY' - 'BCABKAsyFy52aWFtLmFwcC52MS5SZW1vdGVBdXRoUgRhdXRoEh0KCm1hbmFnZWRfYnkYBSABKA' - 'lSCW1hbmFnZWRCeRIaCghpbnNlY3VyZRgGIAEoCFIIaW5zZWN1cmUSVQoZY29ubmVjdGlvbl9j' - 'aGVja19pbnRlcnZhbBgHIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvblIXY29ubmVjdG' - 'lvbkNoZWNrSW50ZXJ2YWwSSAoScmVjb25uZWN0X2ludGVydmFsGAggASgLMhkuZ29vZ2xlLnBy' - 'b3RvYnVmLkR1cmF0aW9uUhFyZWNvbm5lY3RJbnRlcnZhbBJsCg9zZXJ2aWNlX2NvbmZpZ3MYCS' - 'ADKAsyJy52aWFtLmFwcC52MS5SZXNvdXJjZUxldmVsU2VydmljZUNvbmZpZ0IamoSeAxVqc29u' - 'OiJzZXJ2aWNlX2NvbmZpZyJSDnNlcnZpY2VDb25maWdzEhYKBnNlY3JldBgKIAEoCVIGc2Vjcm' - 'V0'); - -@$core.Deprecated('Use remoteAuthDescriptor instead') -const RemoteAuth$json = { - '1': 'RemoteAuth', - '2': [ - {'1': 'credentials', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.RemoteAuth.Credentials', '10': 'credentials'}, - {'1': 'entity', '3': 2, '4': 1, '5': 9, '10': 'entity'}, - ], - '3': [RemoteAuth_Credentials$json], -}; - -@$core.Deprecated('Use remoteAuthDescriptor instead') -const RemoteAuth_Credentials$json = { - '1': 'Credentials', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.CredentialsType', '10': 'type'}, - {'1': 'payload', '3': 2, '4': 1, '5': 9, '10': 'payload'}, - ], -}; - -/// Descriptor for `RemoteAuth`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List remoteAuthDescriptor = $convert.base64Decode( - 'CgpSZW1vdGVBdXRoEkUKC2NyZWRlbnRpYWxzGAEgASgLMiMudmlhbS5hcHAudjEuUmVtb3RlQX' - 'V0aC5DcmVkZW50aWFsc1ILY3JlZGVudGlhbHMSFgoGZW50aXR5GAIgASgJUgZlbnRpdHkaWQoL' - 'Q3JlZGVudGlhbHMSMAoEdHlwZRgBIAEoDjIcLnZpYW0uYXBwLnYxLkNyZWRlbnRpYWxzVHlwZV' - 'IEdHlwZRIYCgdwYXlsb2FkGAIgASgJUgdwYXlsb2Fk'); - -@$core.Deprecated('Use agentInfoDescriptor instead') -const AgentInfo$json = { - '1': 'AgentInfo', - '2': [ - {'1': 'host', '3': 1, '4': 1, '5': 9, '10': 'host'}, - {'1': 'os', '3': 2, '4': 1, '5': 9, '10': 'os'}, - {'1': 'ips', '3': 3, '4': 3, '5': 9, '10': 'ips'}, - {'1': 'version', '3': 4, '4': 1, '5': 9, '10': 'version'}, - {'1': 'git_revision', '3': 5, '4': 1, '5': 9, '10': 'gitRevision'}, - {'1': 'platform', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'platform', '17': true}, - {'1': 'platform_tags', '3': 7, '4': 3, '5': 9, '10': 'platformTags'}, - ], - '8': [ - {'1': '_platform'}, - ], -}; - -/// Descriptor for `AgentInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List agentInfoDescriptor = $convert.base64Decode( - 'CglBZ2VudEluZm8SEgoEaG9zdBgBIAEoCVIEaG9zdBIOCgJvcxgCIAEoCVICb3MSEAoDaXBzGA' - 'MgAygJUgNpcHMSGAoHdmVyc2lvbhgEIAEoCVIHdmVyc2lvbhIhCgxnaXRfcmV2aXNpb24YBSAB' - 'KAlSC2dpdFJldmlzaW9uEh8KCHBsYXRmb3JtGAYgASgJSABSCHBsYXRmb3JtiAEBEiMKDXBsYX' - 'Rmb3JtX3RhZ3MYByADKAlSDHBsYXRmb3JtVGFnc0ILCglfcGxhdGZvcm0='); - -@$core.Deprecated('Use configRequestDescriptor instead') -const ConfigRequest$json = { - '1': 'ConfigRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'agent_info', '3': 2, '4': 1, '5': 11, '6': '.viam.app.v1.AgentInfo', '9': 0, '10': 'agentInfo', '17': true}, - ], - '8': [ - {'1': '_agent_info'}, - ], -}; - -/// Descriptor for `ConfigRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List configRequestDescriptor = $convert.base64Decode( - 'Cg1Db25maWdSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBI6CgphZ2VudF9pbmZvGAIgASgLMhYudm' - 'lhbS5hcHAudjEuQWdlbnRJbmZvSABSCWFnZW50SW5mb4gBAUINCgtfYWdlbnRfaW5mbw=='); - -@$core.Deprecated('Use configResponseDescriptor instead') -const ConfigResponse$json = { - '1': 'ConfigResponse', - '2': [ - {'1': 'config', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.RobotConfig', '10': 'config'}, - ], -}; - -/// Descriptor for `ConfigResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List configResponseDescriptor = $convert.base64Decode( - 'Cg5Db25maWdSZXNwb25zZRIwCgZjb25maWcYASABKAsyGC52aWFtLmFwcC52MS5Sb2JvdENvbm' - 'ZpZ1IGY29uZmln'); - -@$core.Deprecated('Use certificateRequestDescriptor instead') -const CertificateRequest$json = { - '1': 'CertificateRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `CertificateRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List certificateRequestDescriptor = $convert.base64Decode( - 'ChJDZXJ0aWZpY2F0ZVJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use certificateResponseDescriptor instead') -const CertificateResponse$json = { - '1': 'CertificateResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'tls_certificate', '3': 2, '4': 1, '5': 9, '10': 'tlsCertificate'}, - {'1': 'tls_private_key', '3': 3, '4': 1, '5': 9, '10': 'tlsPrivateKey'}, - ], -}; - -/// Descriptor for `CertificateResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List certificateResponseDescriptor = $convert.base64Decode( - 'ChNDZXJ0aWZpY2F0ZVJlc3BvbnNlEg4KAmlkGAEgASgJUgJpZBInCg90bHNfY2VydGlmaWNhdG' - 'UYAiABKAlSDnRsc0NlcnRpZmljYXRlEiYKD3Rsc19wcml2YXRlX2tleRgDIAEoCVINdGxzUHJp' - 'dmF0ZUtleQ=='); - -@$core.Deprecated('Use logRequestDescriptor instead') -const LogRequest$json = { - '1': 'LogRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'logs', '3': 2, '4': 3, '5': 11, '6': '.viam.common.v1.LogEntry', '10': 'logs'}, - ], -}; - -/// Descriptor for `LogRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List logRequestDescriptor = $convert.base64Decode( - 'CgpMb2dSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIsCgRsb2dzGAIgAygLMhgudmlhbS5jb21tb2' - '4udjEuTG9nRW50cnlSBGxvZ3M='); - -@$core.Deprecated('Use logResponseDescriptor instead') -const LogResponse$json = { - '1': 'LogResponse', -}; - -/// Descriptor for `LogResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List logResponseDescriptor = $convert.base64Decode( - 'CgtMb2dSZXNwb25zZQ=='); - -@$core.Deprecated('Use needsRestartRequestDescriptor instead') -const NeedsRestartRequest$json = { - '1': 'NeedsRestartRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `NeedsRestartRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List needsRestartRequestDescriptor = $convert.base64Decode( - 'ChNOZWVkc1Jlc3RhcnRSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use needsRestartResponseDescriptor instead') -const NeedsRestartResponse$json = { - '1': 'NeedsRestartResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'must_restart', '3': 2, '4': 1, '5': 8, '10': 'mustRestart'}, - {'1': 'restart_check_interval', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'restartCheckInterval'}, - ], -}; - -/// Descriptor for `NeedsRestartResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List needsRestartResponseDescriptor = $convert.base64Decode( - 'ChROZWVkc1Jlc3RhcnRSZXNwb25zZRIOCgJpZBgBIAEoCVICaWQSIQoMbXVzdF9yZXN0YXJ0GA' - 'IgASgIUgttdXN0UmVzdGFydBJPChZyZXN0YXJ0X2NoZWNrX2ludGVydmFsGAMgASgLMhkuZ29v' - 'Z2xlLnByb3RvYnVmLkR1cmF0aW9uUhRyZXN0YXJ0Q2hlY2tJbnRlcnZhbA=='); - -@$core.Deprecated('Use moduleConfigDescriptor instead') -const ModuleConfig$json = { - '1': 'ModuleConfig', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'path', '3': 2, '4': 1, '5': 9, '10': 'path'}, - {'1': 'log_level', '3': 3, '4': 1, '5': 9, '10': 'logLevel'}, - {'1': 'type', '3': 4, '4': 1, '5': 9, '10': 'type'}, - {'1': 'module_id', '3': 5, '4': 1, '5': 9, '10': 'moduleId'}, - {'1': 'env', '3': 6, '4': 3, '5': 11, '6': '.viam.app.v1.ModuleConfig.EnvEntry', '10': 'env'}, - {'1': 'status', '3': 7, '4': 1, '5': 11, '6': '.viam.app.v1.AppValidationStatus', '10': 'status'}, - {'1': 'first_run_timeout', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'firstRunTimeout'}, - ], - '3': [ModuleConfig_EnvEntry$json], -}; - -@$core.Deprecated('Use moduleConfigDescriptor instead') -const ModuleConfig_EnvEntry$json = { - '1': 'EnvEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `ModuleConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moduleConfigDescriptor = $convert.base64Decode( - 'CgxNb2R1bGVDb25maWcSEgoEbmFtZRgBIAEoCVIEbmFtZRISCgRwYXRoGAIgASgJUgRwYXRoEh' - 'sKCWxvZ19sZXZlbBgDIAEoCVIIbG9nTGV2ZWwSEgoEdHlwZRgEIAEoCVIEdHlwZRIbCgltb2R1' - 'bGVfaWQYBSABKAlSCG1vZHVsZUlkEjQKA2VudhgGIAMoCzIiLnZpYW0uYXBwLnYxLk1vZHVsZU' - 'NvbmZpZy5FbnZFbnRyeVIDZW52EjgKBnN0YXR1cxgHIAEoCzIgLnZpYW0uYXBwLnYxLkFwcFZh' - 'bGlkYXRpb25TdGF0dXNSBnN0YXR1cxJFChFmaXJzdF9ydW5fdGltZW91dBgIIAEoCzIZLmdvb2' - 'dsZS5wcm90b2J1Zi5EdXJhdGlvblIPZmlyc3RSdW5UaW1lb3V0GjYKCEVudkVudHJ5EhAKA2tl' - 'eRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use packageConfigDescriptor instead') -const PackageConfig$json = { - '1': 'PackageConfig', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'package', '3': 2, '4': 1, '5': 9, '10': 'package'}, - {'1': 'version', '3': 3, '4': 1, '5': 9, '10': 'version'}, - {'1': 'type', '3': 4, '4': 1, '5': 9, '10': 'type'}, - {'1': 'status', '3': 5, '4': 1, '5': 11, '6': '.viam.app.v1.AppValidationStatus', '10': 'status'}, - ], -}; - -/// Descriptor for `PackageConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List packageConfigDescriptor = $convert.base64Decode( - 'Cg1QYWNrYWdlQ29uZmlnEhIKBG5hbWUYASABKAlSBG5hbWUSGAoHcGFja2FnZRgCIAEoCVIHcG' - 'Fja2FnZRIYCgd2ZXJzaW9uGAMgASgJUgd2ZXJzaW9uEhIKBHR5cGUYBCABKAlSBHR5cGUSOAoG' - 'c3RhdHVzGAUgASgLMiAudmlhbS5hcHAudjEuQXBwVmFsaWRhdGlvblN0YXR1c1IGc3RhdHVz'); - -@$core.Deprecated('Use maintenanceConfigDescriptor instead') -const MaintenanceConfig$json = { - '1': 'MaintenanceConfig', - '2': [ - {'1': 'sensor_name', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'sensorName'}, - {'1': 'maintenance_allowed_key', '3': 2, '4': 1, '5': 9, '10': 'maintenanceAllowedKey'}, - ], -}; - -/// Descriptor for `MaintenanceConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List maintenanceConfigDescriptor = $convert.base64Decode( - 'ChFNYWludGVuYW5jZUNvbmZpZxI9CgtzZW5zb3JfbmFtZRgBIAEoCzIcLnZpYW0uY29tbW9uLn' - 'YxLlJlc291cmNlTmFtZVIKc2Vuc29yTmFtZRI2ChdtYWludGVuYW5jZV9hbGxvd2VkX2tleRgC' - 'IAEoCVIVbWFpbnRlbmFuY2VBbGxvd2VkS2V5'); - diff --git a/lib/src/gen/common/v1/common.pb.dart b/lib/src/gen/common/v1/common.pb.dart deleted file mode 100644 index f5636ae36ef..00000000000 --- a/lib/src/gen/common/v1/common.pb.dart +++ /dev/null @@ -1,1974 +0,0 @@ -// -// Generated code. Do not modify. -// source: common/v1/common.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../google/protobuf/struct.pb.dart' as $46; -import '../../google/protobuf/timestamp.pb.dart' as $47; -import 'common.pbenum.dart'; - -export 'common.pbenum.dart'; - -class ResourceName extends $pb.GeneratedMessage { - factory ResourceName({ - $core.String? namespace, - $core.String? type, - $core.String? subtype, - $core.String? name, - $core.Iterable<$core.String>? remotePath, - $core.String? localName, - }) { - final $result = create(); - if (namespace != null) { - $result.namespace = namespace; - } - if (type != null) { - $result.type = type; - } - if (subtype != null) { - $result.subtype = subtype; - } - if (name != null) { - $result.name = name; - } - if (remotePath != null) { - $result.remotePath.addAll(remotePath); - } - if (localName != null) { - $result.localName = localName; - } - return $result; - } - ResourceName._() : super(); - factory ResourceName.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceName.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceName', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'namespace') - ..aOS(2, _omitFieldNames ? '' : 'type') - ..aOS(3, _omitFieldNames ? '' : 'subtype') - ..aOS(4, _omitFieldNames ? '' : 'name') - ..pPS(5, _omitFieldNames ? '' : 'remotePath') - ..aOS(6, _omitFieldNames ? '' : 'localName') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceName clone() => ResourceName()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceName copyWith(void Function(ResourceName) updates) => super.copyWith((message) => updates(message as ResourceName)) as ResourceName; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceName create() => ResourceName._(); - ResourceName createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceName getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceName? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get namespace => $_getSZ(0); - @$pb.TagNumber(1) - set namespace($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasNamespace() => $_has(0); - @$pb.TagNumber(1) - void clearNamespace() => clearField(1); - - @$pb.TagNumber(2) - $core.String get type => $_getSZ(1); - @$pb.TagNumber(2) - set type($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasType() => $_has(1); - @$pb.TagNumber(2) - void clearType() => clearField(2); - - @$pb.TagNumber(3) - $core.String get subtype => $_getSZ(2); - @$pb.TagNumber(3) - set subtype($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasSubtype() => $_has(2); - @$pb.TagNumber(3) - void clearSubtype() => clearField(3); - - @$pb.TagNumber(4) - $core.String get name => $_getSZ(3); - @$pb.TagNumber(4) - set name($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasName() => $_has(3); - @$pb.TagNumber(4) - void clearName() => clearField(4); - - @$pb.TagNumber(5) - $core.List<$core.String> get remotePath => $_getList(4); - - @$pb.TagNumber(6) - $core.String get localName => $_getSZ(5); - @$pb.TagNumber(6) - set localName($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasLocalName() => $_has(5); - @$pb.TagNumber(6) - void clearLocalName() => clearField(6); -} - -/// Pose is a combination of location and orientation. -/// Location is expressed as distance which is represented by x , y, z coordinates. Orientation is expressed as an orientation vector which -/// is represented by o_x, o_y, o_z and theta. The o_x, o_y, o_z coordinates represent the point on the cartesian unit sphere that the end of -/// the arm is pointing to (with the origin as reference). That unit vector forms an axis around which theta rotates. This means that -/// incrementing / decrementing theta will perform an inline rotation of the end effector. -/// Theta is defined as rotation between two planes: the first being defined by the origin, the point (0,0,1), and the rx, ry, rz point, and the -/// second being defined by the origin, the rx, ry, rz point and the local Z axis. Therefore, if theta is kept at zero as the north/south pole -/// is circled, the Roll will correct itself to remain in-line. -class Pose extends $pb.GeneratedMessage { - factory Pose({ - $core.double? x, - $core.double? y, - $core.double? z, - $core.double? oX, - $core.double? oY, - $core.double? oZ, - $core.double? theta, - }) { - final $result = create(); - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - if (oX != null) { - $result.oX = oX; - } - if (oY != null) { - $result.oY = oY; - } - if (oZ != null) { - $result.oZ = oZ; - } - if (theta != null) { - $result.theta = theta; - } - return $result; - } - Pose._() : super(); - factory Pose.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Pose.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Pose', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'oX', $pb.PbFieldType.OD) - ..a<$core.double>(5, _omitFieldNames ? '' : 'oY', $pb.PbFieldType.OD) - ..a<$core.double>(6, _omitFieldNames ? '' : 'oZ', $pb.PbFieldType.OD) - ..a<$core.double>(7, _omitFieldNames ? '' : 'theta', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Pose clone() => Pose()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Pose copyWith(void Function(Pose) updates) => super.copyWith((message) => updates(message as Pose)) as Pose; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Pose create() => Pose._(); - Pose createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Pose getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Pose? _defaultInstance; - - /// millimeters from the origin - @$pb.TagNumber(1) - $core.double get x => $_getN(0); - @$pb.TagNumber(1) - set x($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasX() => $_has(0); - @$pb.TagNumber(1) - void clearX() => clearField(1); - - /// millimeters from the origin - @$pb.TagNumber(2) - $core.double get y => $_getN(1); - @$pb.TagNumber(2) - set y($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasY() => $_has(1); - @$pb.TagNumber(2) - void clearY() => clearField(2); - - /// millimeters from the origin - @$pb.TagNumber(3) - $core.double get z => $_getN(2); - @$pb.TagNumber(3) - set z($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasZ() => $_has(2); - @$pb.TagNumber(3) - void clearZ() => clearField(3); - - /// z component of a vector defining axis of rotation - @$pb.TagNumber(4) - $core.double get oX => $_getN(3); - @$pb.TagNumber(4) - set oX($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasOX() => $_has(3); - @$pb.TagNumber(4) - void clearOX() => clearField(4); - - /// x component of a vector defining axis of rotation - @$pb.TagNumber(5) - $core.double get oY => $_getN(4); - @$pb.TagNumber(5) - set oY($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasOY() => $_has(4); - @$pb.TagNumber(5) - void clearOY() => clearField(5); - - /// y component of a vector defining axis of rotation - @$pb.TagNumber(6) - $core.double get oZ => $_getN(5); - @$pb.TagNumber(6) - set oZ($core.double v) { $_setDouble(5, v); } - @$pb.TagNumber(6) - $core.bool hasOZ() => $_has(5); - @$pb.TagNumber(6) - void clearOZ() => clearField(6); - - /// degrees - @$pb.TagNumber(7) - $core.double get theta => $_getN(6); - @$pb.TagNumber(7) - set theta($core.double v) { $_setDouble(6, v); } - @$pb.TagNumber(7) - $core.bool hasTheta() => $_has(6); - @$pb.TagNumber(7) - void clearTheta() => clearField(7); -} - -class Orientation extends $pb.GeneratedMessage { - factory Orientation({ - $core.double? oX, - $core.double? oY, - $core.double? oZ, - $core.double? theta, - }) { - final $result = create(); - if (oX != null) { - $result.oX = oX; - } - if (oY != null) { - $result.oY = oY; - } - if (oZ != null) { - $result.oZ = oZ; - } - if (theta != null) { - $result.theta = theta; - } - return $result; - } - Orientation._() : super(); - factory Orientation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Orientation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Orientation', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'oX', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'oY', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'oZ', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'theta', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Orientation clone() => Orientation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Orientation copyWith(void Function(Orientation) updates) => super.copyWith((message) => updates(message as Orientation)) as Orientation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Orientation create() => Orientation._(); - Orientation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Orientation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Orientation? _defaultInstance; - - /// x component of a vector defining axis of rotation - @$pb.TagNumber(1) - $core.double get oX => $_getN(0); - @$pb.TagNumber(1) - set oX($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasOX() => $_has(0); - @$pb.TagNumber(1) - void clearOX() => clearField(1); - - /// y component of a vector defining axis of rotation - @$pb.TagNumber(2) - $core.double get oY => $_getN(1); - @$pb.TagNumber(2) - set oY($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasOY() => $_has(1); - @$pb.TagNumber(2) - void clearOY() => clearField(2); - - /// z component of a vector defining axis of rotation - @$pb.TagNumber(3) - $core.double get oZ => $_getN(2); - @$pb.TagNumber(3) - set oZ($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasOZ() => $_has(2); - @$pb.TagNumber(3) - void clearOZ() => clearField(3); - - /// degrees - @$pb.TagNumber(4) - $core.double get theta => $_getN(3); - @$pb.TagNumber(4) - set theta($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasTheta() => $_has(3); - @$pb.TagNumber(4) - void clearTheta() => clearField(4); -} - -/// PoseInFrame contains a pose and the and the reference frame in which it was observed -class PoseInFrame extends $pb.GeneratedMessage { - factory PoseInFrame({ - $core.String? referenceFrame, - Pose? pose, - }) { - final $result = create(); - if (referenceFrame != null) { - $result.referenceFrame = referenceFrame; - } - if (pose != null) { - $result.pose = pose; - } - return $result; - } - PoseInFrame._() : super(); - factory PoseInFrame.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PoseInFrame.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PoseInFrame', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'referenceFrame') - ..aOM(2, _omitFieldNames ? '' : 'pose', subBuilder: Pose.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PoseInFrame clone() => PoseInFrame()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PoseInFrame copyWith(void Function(PoseInFrame) updates) => super.copyWith((message) => updates(message as PoseInFrame)) as PoseInFrame; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PoseInFrame create() => PoseInFrame._(); - PoseInFrame createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PoseInFrame getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PoseInFrame? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get referenceFrame => $_getSZ(0); - @$pb.TagNumber(1) - set referenceFrame($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasReferenceFrame() => $_has(0); - @$pb.TagNumber(1) - void clearReferenceFrame() => clearField(1); - - @$pb.TagNumber(2) - Pose get pose => $_getN(1); - @$pb.TagNumber(2) - set pose(Pose v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPose() => $_has(1); - @$pb.TagNumber(2) - void clearPose() => clearField(2); - @$pb.TagNumber(2) - Pose ensurePose() => $_ensure(1); -} - -class Vector3 extends $pb.GeneratedMessage { - factory Vector3({ - $core.double? x, - $core.double? y, - $core.double? z, - }) { - final $result = create(); - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - return $result; - } - Vector3._() : super(); - factory Vector3.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Vector3.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Vector3', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Vector3 clone() => Vector3()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Vector3 copyWith(void Function(Vector3) updates) => super.copyWith((message) => updates(message as Vector3)) as Vector3; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Vector3 create() => Vector3._(); - Vector3 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Vector3 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Vector3? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get x => $_getN(0); - @$pb.TagNumber(1) - set x($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasX() => $_has(0); - @$pb.TagNumber(1) - void clearX() => clearField(1); - - @$pb.TagNumber(2) - $core.double get y => $_getN(1); - @$pb.TagNumber(2) - set y($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasY() => $_has(1); - @$pb.TagNumber(2) - void clearY() => clearField(2); - - @$pb.TagNumber(3) - $core.double get z => $_getN(2); - @$pb.TagNumber(3) - set z($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasZ() => $_has(2); - @$pb.TagNumber(3) - void clearZ() => clearField(3); -} - -class Sphere extends $pb.GeneratedMessage { - factory Sphere({ - $core.double? radiusMm, - }) { - final $result = create(); - if (radiusMm != null) { - $result.radiusMm = radiusMm; - } - return $result; - } - Sphere._() : super(); - factory Sphere.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Sphere.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Sphere', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'radiusMm', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Sphere clone() => Sphere()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Sphere copyWith(void Function(Sphere) updates) => super.copyWith((message) => updates(message as Sphere)) as Sphere; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Sphere create() => Sphere._(); - Sphere createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Sphere getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Sphere? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get radiusMm => $_getN(0); - @$pb.TagNumber(1) - set radiusMm($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasRadiusMm() => $_has(0); - @$pb.TagNumber(1) - void clearRadiusMm() => clearField(1); -} - -class Capsule extends $pb.GeneratedMessage { - factory Capsule({ - $core.double? radiusMm, - $core.double? lengthMm, - }) { - final $result = create(); - if (radiusMm != null) { - $result.radiusMm = radiusMm; - } - if (lengthMm != null) { - $result.lengthMm = lengthMm; - } - return $result; - } - Capsule._() : super(); - factory Capsule.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Capsule.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Capsule', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'radiusMm', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'lengthMm', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Capsule clone() => Capsule()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Capsule copyWith(void Function(Capsule) updates) => super.copyWith((message) => updates(message as Capsule)) as Capsule; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Capsule create() => Capsule._(); - Capsule createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Capsule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Capsule? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get radiusMm => $_getN(0); - @$pb.TagNumber(1) - set radiusMm($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasRadiusMm() => $_has(0); - @$pb.TagNumber(1) - void clearRadiusMm() => clearField(1); - - @$pb.TagNumber(2) - $core.double get lengthMm => $_getN(1); - @$pb.TagNumber(2) - set lengthMm($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasLengthMm() => $_has(1); - @$pb.TagNumber(2) - void clearLengthMm() => clearField(2); -} - -/// RectangularPrism contains a Vector3 field corresponding to the X, Y, Z dimensions of the prism in mms -/// These dimensions are with respect to the referenceframe in which the RectangularPrism is defined -class RectangularPrism extends $pb.GeneratedMessage { - factory RectangularPrism({ - Vector3? dimsMm, - }) { - final $result = create(); - if (dimsMm != null) { - $result.dimsMm = dimsMm; - } - return $result; - } - RectangularPrism._() : super(); - factory RectangularPrism.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RectangularPrism.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RectangularPrism', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'dimsMm', subBuilder: Vector3.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RectangularPrism clone() => RectangularPrism()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RectangularPrism copyWith(void Function(RectangularPrism) updates) => super.copyWith((message) => updates(message as RectangularPrism)) as RectangularPrism; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RectangularPrism create() => RectangularPrism._(); - RectangularPrism createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RectangularPrism getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RectangularPrism? _defaultInstance; - - @$pb.TagNumber(1) - Vector3 get dimsMm => $_getN(0); - @$pb.TagNumber(1) - set dimsMm(Vector3 v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasDimsMm() => $_has(0); - @$pb.TagNumber(1) - void clearDimsMm() => clearField(1); - @$pb.TagNumber(1) - Vector3 ensureDimsMm() => $_ensure(0); -} - -enum Geometry_GeometryType { - sphere, - box, - capsule, - notSet -} - -/// Geometry contains the dimensions of a given geometry and the pose of its center. The geometry is one of either a sphere or a box. -class Geometry extends $pb.GeneratedMessage { - factory Geometry({ - Pose? center, - Sphere? sphere, - RectangularPrism? box, - $core.String? label, - Capsule? capsule, - }) { - final $result = create(); - if (center != null) { - $result.center = center; - } - if (sphere != null) { - $result.sphere = sphere; - } - if (box != null) { - $result.box = box; - } - if (label != null) { - $result.label = label; - } - if (capsule != null) { - $result.capsule = capsule; - } - return $result; - } - Geometry._() : super(); - factory Geometry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Geometry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Geometry_GeometryType> _Geometry_GeometryTypeByTag = { - 2 : Geometry_GeometryType.sphere, - 3 : Geometry_GeometryType.box, - 5 : Geometry_GeometryType.capsule, - 0 : Geometry_GeometryType.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Geometry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..oo(0, [2, 3, 5]) - ..aOM(1, _omitFieldNames ? '' : 'center', subBuilder: Pose.create) - ..aOM(2, _omitFieldNames ? '' : 'sphere', subBuilder: Sphere.create) - ..aOM(3, _omitFieldNames ? '' : 'box', subBuilder: RectangularPrism.create) - ..aOS(4, _omitFieldNames ? '' : 'label') - ..aOM(5, _omitFieldNames ? '' : 'capsule', subBuilder: Capsule.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Geometry clone() => Geometry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Geometry copyWith(void Function(Geometry) updates) => super.copyWith((message) => updates(message as Geometry)) as Geometry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Geometry create() => Geometry._(); - Geometry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Geometry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Geometry? _defaultInstance; - - Geometry_GeometryType whichGeometryType() => _Geometry_GeometryTypeByTag[$_whichOneof(0)]!; - void clearGeometryType() => clearField($_whichOneof(0)); - - /// Pose of a geometries center point - @$pb.TagNumber(1) - Pose get center => $_getN(0); - @$pb.TagNumber(1) - set center(Pose v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCenter() => $_has(0); - @$pb.TagNumber(1) - void clearCenter() => clearField(1); - @$pb.TagNumber(1) - Pose ensureCenter() => $_ensure(0); - - @$pb.TagNumber(2) - Sphere get sphere => $_getN(1); - @$pb.TagNumber(2) - set sphere(Sphere v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasSphere() => $_has(1); - @$pb.TagNumber(2) - void clearSphere() => clearField(2); - @$pb.TagNumber(2) - Sphere ensureSphere() => $_ensure(1); - - @$pb.TagNumber(3) - RectangularPrism get box => $_getN(2); - @$pb.TagNumber(3) - set box(RectangularPrism v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasBox() => $_has(2); - @$pb.TagNumber(3) - void clearBox() => clearField(3); - @$pb.TagNumber(3) - RectangularPrism ensureBox() => $_ensure(2); - - /// Label of the geometry. If none supplied, will be an empty string. - @$pb.TagNumber(4) - $core.String get label => $_getSZ(3); - @$pb.TagNumber(4) - set label($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasLabel() => $_has(3); - @$pb.TagNumber(4) - void clearLabel() => clearField(4); - - @$pb.TagNumber(5) - Capsule get capsule => $_getN(4); - @$pb.TagNumber(5) - set capsule(Capsule v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasCapsule() => $_has(4); - @$pb.TagNumber(5) - void clearCapsule() => clearField(5); - @$pb.TagNumber(5) - Capsule ensureCapsule() => $_ensure(4); -} - -/// GeometriesinFrame contains the dimensions of a given geometry, pose of its center point, and the reference frame by which it was -/// observed. -class GeometriesInFrame extends $pb.GeneratedMessage { - factory GeometriesInFrame({ - $core.String? referenceFrame, - $core.Iterable? geometries, - }) { - final $result = create(); - if (referenceFrame != null) { - $result.referenceFrame = referenceFrame; - } - if (geometries != null) { - $result.geometries.addAll(geometries); - } - return $result; - } - GeometriesInFrame._() : super(); - factory GeometriesInFrame.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GeometriesInFrame.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeometriesInFrame', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'referenceFrame') - ..pc(2, _omitFieldNames ? '' : 'geometries', $pb.PbFieldType.PM, subBuilder: Geometry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GeometriesInFrame clone() => GeometriesInFrame()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GeometriesInFrame copyWith(void Function(GeometriesInFrame) updates) => super.copyWith((message) => updates(message as GeometriesInFrame)) as GeometriesInFrame; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GeometriesInFrame create() => GeometriesInFrame._(); - GeometriesInFrame createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GeometriesInFrame getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GeometriesInFrame? _defaultInstance; - - /// Reference frame of the observer of the geometry - @$pb.TagNumber(1) - $core.String get referenceFrame => $_getSZ(0); - @$pb.TagNumber(1) - set referenceFrame($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasReferenceFrame() => $_has(0); - @$pb.TagNumber(1) - void clearReferenceFrame() => clearField(1); - - /// Dimensional type - @$pb.TagNumber(2) - $core.List get geometries => $_getList(1); -} - -/// PointCloudObject contains an image in bytes with point cloud data of all of the objects captured by a given observer as well as a -/// repeated list of geometries which respresents the center point and geometry of each of the objects within the point cloud -class PointCloudObject extends $pb.GeneratedMessage { - factory PointCloudObject({ - $core.List<$core.int>? pointCloud, - GeometriesInFrame? geometries, - }) { - final $result = create(); - if (pointCloud != null) { - $result.pointCloud = pointCloud; - } - if (geometries != null) { - $result.geometries = geometries; - } - return $result; - } - PointCloudObject._() : super(); - factory PointCloudObject.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PointCloudObject.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PointCloudObject', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'pointCloud', $pb.PbFieldType.OY) - ..aOM(2, _omitFieldNames ? '' : 'geometries', subBuilder: GeometriesInFrame.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PointCloudObject clone() => PointCloudObject()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PointCloudObject copyWith(void Function(PointCloudObject) updates) => super.copyWith((message) => updates(message as PointCloudObject)) as PointCloudObject; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PointCloudObject create() => PointCloudObject._(); - PointCloudObject createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PointCloudObject getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PointCloudObject? _defaultInstance; - - /// image frame expressed in bytes - @$pb.TagNumber(1) - $core.List<$core.int> get pointCloud => $_getN(0); - @$pb.TagNumber(1) - set pointCloud($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasPointCloud() => $_has(0); - @$pb.TagNumber(1) - void clearPointCloud() => clearField(1); - - /// volume of a given geometry - @$pb.TagNumber(2) - GeometriesInFrame get geometries => $_getN(1); - @$pb.TagNumber(2) - set geometries(GeometriesInFrame v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasGeometries() => $_has(1); - @$pb.TagNumber(2) - void clearGeometries() => clearField(2); - @$pb.TagNumber(2) - GeometriesInFrame ensureGeometries() => $_ensure(1); -} - -class GeoPoint extends $pb.GeneratedMessage { - factory GeoPoint({ - $core.double? latitude, - $core.double? longitude, - }) { - final $result = create(); - if (latitude != null) { - $result.latitude = latitude; - } - if (longitude != null) { - $result.longitude = longitude; - } - return $result; - } - GeoPoint._() : super(); - factory GeoPoint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GeoPoint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeoPoint', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'latitude', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'longitude', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GeoPoint clone() => GeoPoint()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GeoPoint copyWith(void Function(GeoPoint) updates) => super.copyWith((message) => updates(message as GeoPoint)) as GeoPoint; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GeoPoint create() => GeoPoint._(); - GeoPoint createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GeoPoint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GeoPoint? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get latitude => $_getN(0); - @$pb.TagNumber(1) - set latitude($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasLatitude() => $_has(0); - @$pb.TagNumber(1) - void clearLatitude() => clearField(1); - - @$pb.TagNumber(2) - $core.double get longitude => $_getN(1); - @$pb.TagNumber(2) - set longitude($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasLongitude() => $_has(1); - @$pb.TagNumber(2) - void clearLongitude() => clearField(2); -} - -/// GeoGeometry contains information describing Geometry(s) that is located at a GeoPoint -class GeoGeometry extends $pb.GeneratedMessage { - factory GeoGeometry({ - GeoPoint? location, - $core.Iterable? geometries, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - if (geometries != null) { - $result.geometries.addAll(geometries); - } - return $result; - } - GeoGeometry._() : super(); - factory GeoGeometry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GeoGeometry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeoGeometry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'location', subBuilder: GeoPoint.create) - ..pc(2, _omitFieldNames ? '' : 'geometries', $pb.PbFieldType.PM, subBuilder: Geometry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GeoGeometry clone() => GeoGeometry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GeoGeometry copyWith(void Function(GeoGeometry) updates) => super.copyWith((message) => updates(message as GeoGeometry)) as GeoGeometry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GeoGeometry create() => GeoGeometry._(); - GeoGeometry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GeoGeometry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GeoGeometry? _defaultInstance; - - /// Location of the geometry - @$pb.TagNumber(1) - GeoPoint get location => $_getN(0); - @$pb.TagNumber(1) - set location(GeoPoint v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(1) - void clearLocation() => clearField(1); - @$pb.TagNumber(1) - GeoPoint ensureLocation() => $_ensure(0); - - /// Geometries associated with the location, where embedded Pose data is with respect to the specified location - @$pb.TagNumber(2) - $core.List get geometries => $_getList(1); -} - -/// Transform contains a pose and two reference frames. The first reference frame is the starting reference frame, and the second reference -/// frame is the observer reference frame. The second reference frame has a pose which represents the pose of an object in the first -/// reference frame as observed within the second reference frame. -class Transform extends $pb.GeneratedMessage { - factory Transform({ - $core.String? referenceFrame, - PoseInFrame? poseInObserverFrame, - Geometry? physicalObject, - }) { - final $result = create(); - if (referenceFrame != null) { - $result.referenceFrame = referenceFrame; - } - if (poseInObserverFrame != null) { - $result.poseInObserverFrame = poseInObserverFrame; - } - if (physicalObject != null) { - $result.physicalObject = physicalObject; - } - return $result; - } - Transform._() : super(); - factory Transform.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Transform.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Transform', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'referenceFrame') - ..aOM(2, _omitFieldNames ? '' : 'poseInObserverFrame', subBuilder: PoseInFrame.create) - ..aOM(3, _omitFieldNames ? '' : 'physicalObject', subBuilder: Geometry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Transform clone() => Transform()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Transform copyWith(void Function(Transform) updates) => super.copyWith((message) => updates(message as Transform)) as Transform; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Transform create() => Transform._(); - Transform createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Transform getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Transform? _defaultInstance; - - /// the name of a given reference frame - @$pb.TagNumber(1) - $core.String get referenceFrame => $_getSZ(0); - @$pb.TagNumber(1) - set referenceFrame($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasReferenceFrame() => $_has(0); - @$pb.TagNumber(1) - void clearReferenceFrame() => clearField(1); - - /// the pose of the above reference frame with respect to a different observer reference frame - @$pb.TagNumber(2) - PoseInFrame get poseInObserverFrame => $_getN(1); - @$pb.TagNumber(2) - set poseInObserverFrame(PoseInFrame v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPoseInObserverFrame() => $_has(1); - @$pb.TagNumber(2) - void clearPoseInObserverFrame() => clearField(2); - @$pb.TagNumber(2) - PoseInFrame ensurePoseInObserverFrame() => $_ensure(1); - - @$pb.TagNumber(3) - Geometry get physicalObject => $_getN(2); - @$pb.TagNumber(3) - set physicalObject(Geometry v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasPhysicalObject() => $_has(2); - @$pb.TagNumber(3) - void clearPhysicalObject() => clearField(3); - @$pb.TagNumber(3) - Geometry ensurePhysicalObject() => $_ensure(2); -} - -/// WorldState contains information about the physical environment around a given robot. All of the fields within this message are optional, -/// they can include information about the physical dimensions of an obstacle, the freespace of a robot, and any desired transforms between a -/// given reference frame and a new target reference frame. -class WorldState extends $pb.GeneratedMessage { - factory WorldState({ - $core.Iterable? obstacles, - $core.Iterable? transforms, - }) { - final $result = create(); - if (obstacles != null) { - $result.obstacles.addAll(obstacles); - } - if (transforms != null) { - $result.transforms.addAll(transforms); - } - return $result; - } - WorldState._() : super(); - factory WorldState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WorldState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WorldState', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: GeometriesInFrame.create) - ..pc(3, _omitFieldNames ? '' : 'transforms', $pb.PbFieldType.PM, subBuilder: Transform.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WorldState clone() => WorldState()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WorldState copyWith(void Function(WorldState) updates) => super.copyWith((message) => updates(message as WorldState)) as WorldState; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WorldState create() => WorldState._(); - WorldState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WorldState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WorldState? _defaultInstance; - - /// a list of obstacles expressed as a geometry and the reference frame in which it was observed; this field is optional - @$pb.TagNumber(1) - $core.List get obstacles => $_getList(0); - - /// a list of Transforms, optionally with geometries. Used as supplemental transforms to transform a pose from one reference frame to - /// another, or to attach moving geometries to the frame system. This field is optional - @$pb.TagNumber(3) - $core.List get transforms => $_getList(1); -} - -/// ActuatorStatus is a generic status for resources that only need to return actuator status. -class ActuatorStatus extends $pb.GeneratedMessage { - factory ActuatorStatus({ - $core.bool? isMoving, - }) { - final $result = create(); - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - ActuatorStatus._() : super(); - factory ActuatorStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ActuatorStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActuatorStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ActuatorStatus clone() => ActuatorStatus()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ActuatorStatus copyWith(void Function(ActuatorStatus) updates) => super.copyWith((message) => updates(message as ActuatorStatus)) as ActuatorStatus; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ActuatorStatus create() => ActuatorStatus._(); - ActuatorStatus createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ActuatorStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ActuatorStatus? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get isMoving => $_getBF(0); - @$pb.TagNumber(1) - set isMoving($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsMoving() => $_has(0); - @$pb.TagNumber(1) - void clearIsMoving() => clearField(1); -} - -class ResponseMetadata extends $pb.GeneratedMessage { - factory ResponseMetadata({ - $47.Timestamp? capturedAt, - }) { - final $result = create(); - if (capturedAt != null) { - $result.capturedAt = capturedAt; - } - return $result; - } - ResponseMetadata._() : super(); - factory ResponseMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResponseMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResponseMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'capturedAt', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResponseMetadata clone() => ResponseMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResponseMetadata copyWith(void Function(ResponseMetadata) updates) => super.copyWith((message) => updates(message as ResponseMetadata)) as ResponseMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResponseMetadata create() => ResponseMetadata._(); - ResponseMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResponseMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResponseMetadata? _defaultInstance; - - /// captured_at is the time at which the resource as close as physically possible, captured - /// the data in the response. - /// Note: If correlating between other resources, be sure that the means - /// of measuring the capture are similar enough such that comparison can be made between them. - @$pb.TagNumber(1) - $47.Timestamp get capturedAt => $_getN(0); - @$pb.TagNumber(1) - set capturedAt($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCapturedAt() => $_has(0); - @$pb.TagNumber(1) - void clearCapturedAt() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureCapturedAt() => $_ensure(0); -} - -/// DoCommandRequest represents a generic DoCommand input -class DoCommandRequest extends $pb.GeneratedMessage { - factory DoCommandRequest({ - $core.String? name, - $46.Struct? command, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (command != null) { - $result.command = command; - } - return $result; - } - DoCommandRequest._() : super(); - factory DoCommandRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DoCommandRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoCommandRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'command', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DoCommandRequest clone() => DoCommandRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DoCommandRequest copyWith(void Function(DoCommandRequest) updates) => super.copyWith((message) => updates(message as DoCommandRequest)) as DoCommandRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DoCommandRequest create() => DoCommandRequest._(); - DoCommandRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DoCommandRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DoCommandRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $46.Struct get command => $_getN(1); - @$pb.TagNumber(2) - set command($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCommand() => $_has(1); - @$pb.TagNumber(2) - void clearCommand() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureCommand() => $_ensure(1); -} - -/// DoCommandResponse represents a generic DoCommand output -class DoCommandResponse extends $pb.GeneratedMessage { - factory DoCommandResponse({ - $46.Struct? result, - }) { - final $result = create(); - if (result != null) { - $result.result = result; - } - return $result; - } - DoCommandResponse._() : super(); - factory DoCommandResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DoCommandResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoCommandResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOM<$46.Struct>(1, _omitFieldNames ? '' : 'result', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DoCommandResponse clone() => DoCommandResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DoCommandResponse copyWith(void Function(DoCommandResponse) updates) => super.copyWith((message) => updates(message as DoCommandResponse)) as DoCommandResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DoCommandResponse create() => DoCommandResponse._(); - DoCommandResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DoCommandResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DoCommandResponse? _defaultInstance; - - @$pb.TagNumber(1) - $46.Struct get result => $_getN(0); - @$pb.TagNumber(1) - set result($46.Struct v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasResult() => $_has(0); - @$pb.TagNumber(1) - void clearResult() => clearField(1); - @$pb.TagNumber(1) - $46.Struct ensureResult() => $_ensure(0); -} - -class GetKinematicsRequest extends $pb.GeneratedMessage { - factory GetKinematicsRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetKinematicsRequest._() : super(); - factory GetKinematicsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetKinematicsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKinematicsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetKinematicsRequest clone() => GetKinematicsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetKinematicsRequest copyWith(void Function(GetKinematicsRequest) updates) => super.copyWith((message) => updates(message as GetKinematicsRequest)) as GetKinematicsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetKinematicsRequest create() => GetKinematicsRequest._(); - GetKinematicsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetKinematicsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetKinematicsRequest? _defaultInstance; - - /// The component name - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetKinematicsResponse extends $pb.GeneratedMessage { - factory GetKinematicsResponse({ - KinematicsFileFormat? format, - $core.List<$core.int>? kinematicsData, - }) { - final $result = create(); - if (format != null) { - $result.format = format; - } - if (kinematicsData != null) { - $result.kinematicsData = kinematicsData; - } - return $result; - } - GetKinematicsResponse._() : super(); - factory GetKinematicsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetKinematicsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKinematicsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'format', $pb.PbFieldType.OE, defaultOrMaker: KinematicsFileFormat.KINEMATICS_FILE_FORMAT_UNSPECIFIED, valueOf: KinematicsFileFormat.valueOf, enumValues: KinematicsFileFormat.values) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'kinematicsData', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetKinematicsResponse clone() => GetKinematicsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetKinematicsResponse copyWith(void Function(GetKinematicsResponse) updates) => super.copyWith((message) => updates(message as GetKinematicsResponse)) as GetKinematicsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetKinematicsResponse create() => GetKinematicsResponse._(); - GetKinematicsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetKinematicsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetKinematicsResponse? _defaultInstance; - - /// The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) - /// https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters - @$pb.TagNumber(1) - KinematicsFileFormat get format => $_getN(0); - @$pb.TagNumber(1) - set format(KinematicsFileFormat v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFormat() => $_has(0); - @$pb.TagNumber(1) - void clearFormat() => clearField(1); - - /// The byte contents of the file - @$pb.TagNumber(2) - $core.List<$core.int> get kinematicsData => $_getN(1); - @$pb.TagNumber(2) - set kinematicsData($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasKinematicsData() => $_has(1); - @$pb.TagNumber(2) - void clearKinematicsData() => clearField(2); -} - -class GetGeometriesRequest extends $pb.GeneratedMessage { - factory GetGeometriesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetGeometriesRequest._() : super(); - factory GetGeometriesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetGeometriesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetGeometriesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetGeometriesRequest clone() => GetGeometriesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetGeometriesRequest copyWith(void Function(GetGeometriesRequest) updates) => super.copyWith((message) => updates(message as GetGeometriesRequest)) as GetGeometriesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetGeometriesRequest create() => GetGeometriesRequest._(); - GetGeometriesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetGeometriesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetGeometriesRequest? _defaultInstance; - - /// The component name - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetGeometriesResponse extends $pb.GeneratedMessage { - factory GetGeometriesResponse({ - $core.Iterable? geometries, - }) { - final $result = create(); - if (geometries != null) { - $result.geometries.addAll(geometries); - } - return $result; - } - GetGeometriesResponse._() : super(); - factory GetGeometriesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetGeometriesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetGeometriesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'geometries', $pb.PbFieldType.PM, subBuilder: Geometry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetGeometriesResponse clone() => GetGeometriesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetGeometriesResponse copyWith(void Function(GetGeometriesResponse) updates) => super.copyWith((message) => updates(message as GetGeometriesResponse)) as GetGeometriesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetGeometriesResponse create() => GetGeometriesResponse._(); - GetGeometriesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetGeometriesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetGeometriesResponse? _defaultInstance; - - /// All geometries associated with the component, in their current configuration, in the frame of that component. - @$pb.TagNumber(1) - $core.List get geometries => $_getList(0); -} - -class GetReadingsRequest extends $pb.GeneratedMessage { - factory GetReadingsRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetReadingsRequest._() : super(); - factory GetReadingsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetReadingsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetReadingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetReadingsRequest clone() => GetReadingsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetReadingsRequest copyWith(void Function(GetReadingsRequest) updates) => super.copyWith((message) => updates(message as GetReadingsRequest)) as GetReadingsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetReadingsRequest create() => GetReadingsRequest._(); - GetReadingsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetReadingsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetReadingsRequest? _defaultInstance; - - /// Name of a sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetReadingsResponse extends $pb.GeneratedMessage { - factory GetReadingsResponse({ - $core.Map<$core.String, $46.Value>? readings, - }) { - final $result = create(); - if (readings != null) { - $result.readings.addAll(readings); - } - return $result; - } - GetReadingsResponse._() : super(); - factory GetReadingsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetReadingsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetReadingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..m<$core.String, $46.Value>(1, _omitFieldNames ? '' : 'readings', entryClassName: 'GetReadingsResponse.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $46.Value.create, valueDefaultOrMaker: $46.Value.getDefault, packageName: const $pb.PackageName('viam.common.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetReadingsResponse clone() => GetReadingsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetReadingsResponse copyWith(void Function(GetReadingsResponse) updates) => super.copyWith((message) => updates(message as GetReadingsResponse)) as GetReadingsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetReadingsResponse create() => GetReadingsResponse._(); - GetReadingsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetReadingsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetReadingsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.String, $46.Value> get readings => $_getMap(0); -} - -class LogEntry extends $pb.GeneratedMessage { - factory LogEntry({ - $core.String? host, - $core.String? level, - $47.Timestamp? time, - $core.String? loggerName, - $core.String? message, - $46.Struct? caller, - $core.String? stack, - $core.Iterable<$46.Struct>? fields, - }) { - final $result = create(); - if (host != null) { - $result.host = host; - } - if (level != null) { - $result.level = level; - } - if (time != null) { - $result.time = time; - } - if (loggerName != null) { - $result.loggerName = loggerName; - } - if (message != null) { - $result.message = message; - } - if (caller != null) { - $result.caller = caller; - } - if (stack != null) { - $result.stack = stack; - } - if (fields != null) { - $result.fields.addAll(fields); - } - return $result; - } - LogEntry._() : super(); - factory LogEntry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LogEntry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'host') - ..aOS(2, _omitFieldNames ? '' : 'level') - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'time', subBuilder: $47.Timestamp.create) - ..aOS(4, _omitFieldNames ? '' : 'loggerName') - ..aOS(5, _omitFieldNames ? '' : 'message') - ..aOM<$46.Struct>(6, _omitFieldNames ? '' : 'caller', subBuilder: $46.Struct.create) - ..aOS(7, _omitFieldNames ? '' : 'stack') - ..pc<$46.Struct>(8, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LogEntry clone() => LogEntry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LogEntry copyWith(void Function(LogEntry) updates) => super.copyWith((message) => updates(message as LogEntry)) as LogEntry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LogEntry create() => LogEntry._(); - LogEntry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LogEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LogEntry? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get host => $_getSZ(0); - @$pb.TagNumber(1) - set host($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasHost() => $_has(0); - @$pb.TagNumber(1) - void clearHost() => clearField(1); - - @$pb.TagNumber(2) - $core.String get level => $_getSZ(1); - @$pb.TagNumber(2) - set level($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLevel() => $_has(1); - @$pb.TagNumber(2) - void clearLevel() => clearField(2); - - @$pb.TagNumber(3) - $47.Timestamp get time => $_getN(2); - @$pb.TagNumber(3) - set time($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasTime() => $_has(2); - @$pb.TagNumber(3) - void clearTime() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureTime() => $_ensure(2); - - @$pb.TagNumber(4) - $core.String get loggerName => $_getSZ(3); - @$pb.TagNumber(4) - set loggerName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasLoggerName() => $_has(3); - @$pb.TagNumber(4) - void clearLoggerName() => clearField(4); - - @$pb.TagNumber(5) - $core.String get message => $_getSZ(4); - @$pb.TagNumber(5) - set message($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasMessage() => $_has(4); - @$pb.TagNumber(5) - void clearMessage() => clearField(5); - - @$pb.TagNumber(6) - $46.Struct get caller => $_getN(5); - @$pb.TagNumber(6) - set caller($46.Struct v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasCaller() => $_has(5); - @$pb.TagNumber(6) - void clearCaller() => clearField(6); - @$pb.TagNumber(6) - $46.Struct ensureCaller() => $_ensure(5); - - @$pb.TagNumber(7) - $core.String get stack => $_getSZ(6); - @$pb.TagNumber(7) - set stack($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasStack() => $_has(6); - @$pb.TagNumber(7) - void clearStack() => clearField(7); - - @$pb.TagNumber(8) - $core.List<$46.Struct> get fields => $_getList(7); -} - -class Common { - static final safetyHeartbeatMonitored = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'safetyHeartbeatMonitored', 84260, $pb.PbFieldType.OB); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(safetyHeartbeatMonitored); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/common/v1/common.pbenum.dart b/lib/src/gen/common/v1/common.pbenum.dart deleted file mode 100644 index f98be43ea71..00000000000 --- a/lib/src/gen/common/v1/common.pbenum.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// Generated code. Do not modify. -// source: common/v1/common.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class KinematicsFileFormat extends $pb.ProtobufEnum { - static const KinematicsFileFormat KINEMATICS_FILE_FORMAT_UNSPECIFIED = KinematicsFileFormat._(0, _omitEnumNames ? '' : 'KINEMATICS_FILE_FORMAT_UNSPECIFIED'); - static const KinematicsFileFormat KINEMATICS_FILE_FORMAT_SVA = KinematicsFileFormat._(1, _omitEnumNames ? '' : 'KINEMATICS_FILE_FORMAT_SVA'); - static const KinematicsFileFormat KINEMATICS_FILE_FORMAT_URDF = KinematicsFileFormat._(2, _omitEnumNames ? '' : 'KINEMATICS_FILE_FORMAT_URDF'); - - static const $core.List values = [ - KINEMATICS_FILE_FORMAT_UNSPECIFIED, - KINEMATICS_FILE_FORMAT_SVA, - KINEMATICS_FILE_FORMAT_URDF, - ]; - - static final $core.Map<$core.int, KinematicsFileFormat> _byValue = $pb.ProtobufEnum.initByValue(values); - static KinematicsFileFormat? valueOf($core.int value) => _byValue[value]; - - const KinematicsFileFormat._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/common/v1/common.pbjson.dart b/lib/src/gen/common/v1/common.pbjson.dart deleted file mode 100644 index d682650a229..00000000000 --- a/lib/src/gen/common/v1/common.pbjson.dart +++ /dev/null @@ -1,447 +0,0 @@ -// -// Generated code. Do not modify. -// source: common/v1/common.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use kinematicsFileFormatDescriptor instead') -const KinematicsFileFormat$json = { - '1': 'KinematicsFileFormat', - '2': [ - {'1': 'KINEMATICS_FILE_FORMAT_UNSPECIFIED', '2': 0}, - {'1': 'KINEMATICS_FILE_FORMAT_SVA', '2': 1}, - {'1': 'KINEMATICS_FILE_FORMAT_URDF', '2': 2}, - ], -}; - -/// Descriptor for `KinematicsFileFormat`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List kinematicsFileFormatDescriptor = $convert.base64Decode( - 'ChRLaW5lbWF0aWNzRmlsZUZvcm1hdBImCiJLSU5FTUFUSUNTX0ZJTEVfRk9STUFUX1VOU1BFQ0' - 'lGSUVEEAASHgoaS0lORU1BVElDU19GSUxFX0ZPUk1BVF9TVkEQARIfChtLSU5FTUFUSUNTX0ZJ' - 'TEVfRk9STUFUX1VSREYQAg=='); - -@$core.Deprecated('Use resourceNameDescriptor instead') -const ResourceName$json = { - '1': 'ResourceName', - '2': [ - {'1': 'namespace', '3': 1, '4': 1, '5': 9, '10': 'namespace'}, - {'1': 'type', '3': 2, '4': 1, '5': 9, '10': 'type'}, - {'1': 'subtype', '3': 3, '4': 1, '5': 9, '10': 'subtype'}, - {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, - {'1': 'remote_path', '3': 5, '4': 3, '5': 9, '10': 'remotePath'}, - {'1': 'local_name', '3': 6, '4': 1, '5': 9, '10': 'localName'}, - ], -}; - -/// Descriptor for `ResourceName`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceNameDescriptor = $convert.base64Decode( - 'CgxSZXNvdXJjZU5hbWUSHAoJbmFtZXNwYWNlGAEgASgJUgluYW1lc3BhY2USEgoEdHlwZRgCIA' - 'EoCVIEdHlwZRIYCgdzdWJ0eXBlGAMgASgJUgdzdWJ0eXBlEhIKBG5hbWUYBCABKAlSBG5hbWUS' - 'HwoLcmVtb3RlX3BhdGgYBSADKAlSCnJlbW90ZVBhdGgSHQoKbG9jYWxfbmFtZRgGIAEoCVIJbG' - '9jYWxOYW1l'); - -@$core.Deprecated('Use poseDescriptor instead') -const Pose$json = { - '1': 'Pose', - '2': [ - {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 3, '4': 1, '5': 1, '10': 'z'}, - {'1': 'o_x', '3': 4, '4': 1, '5': 1, '10': 'oX'}, - {'1': 'o_y', '3': 5, '4': 1, '5': 1, '10': 'oY'}, - {'1': 'o_z', '3': 6, '4': 1, '5': 1, '10': 'oZ'}, - {'1': 'theta', '3': 7, '4': 1, '5': 1, '10': 'theta'}, - ], -}; - -/// Descriptor for `Pose`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List poseDescriptor = $convert.base64Decode( - 'CgRQb3NlEgwKAXgYASABKAFSAXgSDAoBeRgCIAEoAVIBeRIMCgF6GAMgASgBUgF6Eg8KA29feB' - 'gEIAEoAVICb1gSDwoDb195GAUgASgBUgJvWRIPCgNvX3oYBiABKAFSAm9aEhQKBXRoZXRhGAcg' - 'ASgBUgV0aGV0YQ=='); - -@$core.Deprecated('Use orientationDescriptor instead') -const Orientation$json = { - '1': 'Orientation', - '2': [ - {'1': 'o_x', '3': 1, '4': 1, '5': 1, '10': 'oX'}, - {'1': 'o_y', '3': 2, '4': 1, '5': 1, '10': 'oY'}, - {'1': 'o_z', '3': 3, '4': 1, '5': 1, '10': 'oZ'}, - {'1': 'theta', '3': 4, '4': 1, '5': 1, '10': 'theta'}, - ], -}; - -/// Descriptor for `Orientation`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List orientationDescriptor = $convert.base64Decode( - 'CgtPcmllbnRhdGlvbhIPCgNvX3gYASABKAFSAm9YEg8KA29feRgCIAEoAVICb1kSDwoDb196GA' - 'MgASgBUgJvWhIUCgV0aGV0YRgEIAEoAVIFdGhldGE='); - -@$core.Deprecated('Use poseInFrameDescriptor instead') -const PoseInFrame$json = { - '1': 'PoseInFrame', - '2': [ - {'1': 'reference_frame', '3': 1, '4': 1, '5': 9, '10': 'referenceFrame'}, - {'1': 'pose', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'pose'}, - ], -}; - -/// Descriptor for `PoseInFrame`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List poseInFrameDescriptor = $convert.base64Decode( - 'CgtQb3NlSW5GcmFtZRInCg9yZWZlcmVuY2VfZnJhbWUYASABKAlSDnJlZmVyZW5jZUZyYW1lEi' - 'gKBHBvc2UYAiABKAsyFC52aWFtLmNvbW1vbi52MS5Qb3NlUgRwb3Nl'); - -@$core.Deprecated('Use vector3Descriptor instead') -const Vector3$json = { - '1': 'Vector3', - '2': [ - {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 3, '4': 1, '5': 1, '10': 'z'}, - ], -}; - -/// Descriptor for `Vector3`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List vector3Descriptor = $convert.base64Decode( - 'CgdWZWN0b3IzEgwKAXgYASABKAFSAXgSDAoBeRgCIAEoAVIBeRIMCgF6GAMgASgBUgF6'); - -@$core.Deprecated('Use sphereDescriptor instead') -const Sphere$json = { - '1': 'Sphere', - '2': [ - {'1': 'radius_mm', '3': 1, '4': 1, '5': 1, '10': 'radiusMm'}, - ], -}; - -/// Descriptor for `Sphere`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sphereDescriptor = $convert.base64Decode( - 'CgZTcGhlcmUSGwoJcmFkaXVzX21tGAEgASgBUghyYWRpdXNNbQ=='); - -@$core.Deprecated('Use capsuleDescriptor instead') -const Capsule$json = { - '1': 'Capsule', - '2': [ - {'1': 'radius_mm', '3': 1, '4': 1, '5': 1, '10': 'radiusMm'}, - {'1': 'length_mm', '3': 2, '4': 1, '5': 1, '10': 'lengthMm'}, - ], -}; - -/// Descriptor for `Capsule`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List capsuleDescriptor = $convert.base64Decode( - 'CgdDYXBzdWxlEhsKCXJhZGl1c19tbRgBIAEoAVIIcmFkaXVzTW0SGwoJbGVuZ3RoX21tGAIgAS' - 'gBUghsZW5ndGhNbQ=='); - -@$core.Deprecated('Use rectangularPrismDescriptor instead') -const RectangularPrism$json = { - '1': 'RectangularPrism', - '2': [ - {'1': 'dims_mm', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'dimsMm'}, - ], -}; - -/// Descriptor for `RectangularPrism`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rectangularPrismDescriptor = $convert.base64Decode( - 'ChBSZWN0YW5ndWxhclByaXNtEjAKB2RpbXNfbW0YASABKAsyFy52aWFtLmNvbW1vbi52MS5WZW' - 'N0b3IzUgZkaW1zTW0='); - -@$core.Deprecated('Use geometryDescriptor instead') -const Geometry$json = { - '1': 'Geometry', - '2': [ - {'1': 'center', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'center'}, - {'1': 'sphere', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.Sphere', '9': 0, '10': 'sphere'}, - {'1': 'box', '3': 3, '4': 1, '5': 11, '6': '.viam.common.v1.RectangularPrism', '9': 0, '10': 'box'}, - {'1': 'capsule', '3': 5, '4': 1, '5': 11, '6': '.viam.common.v1.Capsule', '9': 0, '10': 'capsule'}, - {'1': 'label', '3': 4, '4': 1, '5': 9, '10': 'label'}, - ], - '8': [ - {'1': 'geometry_type'}, - ], -}; - -/// Descriptor for `Geometry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List geometryDescriptor = $convert.base64Decode( - 'CghHZW9tZXRyeRIsCgZjZW50ZXIYASABKAsyFC52aWFtLmNvbW1vbi52MS5Qb3NlUgZjZW50ZX' - 'ISMAoGc3BoZXJlGAIgASgLMhYudmlhbS5jb21tb24udjEuU3BoZXJlSABSBnNwaGVyZRI0CgNi' - 'b3gYAyABKAsyIC52aWFtLmNvbW1vbi52MS5SZWN0YW5ndWxhclByaXNtSABSA2JveBIzCgdjYX' - 'BzdWxlGAUgASgLMhcudmlhbS5jb21tb24udjEuQ2Fwc3VsZUgAUgdjYXBzdWxlEhQKBWxhYmVs' - 'GAQgASgJUgVsYWJlbEIPCg1nZW9tZXRyeV90eXBl'); - -@$core.Deprecated('Use geometriesInFrameDescriptor instead') -const GeometriesInFrame$json = { - '1': 'GeometriesInFrame', - '2': [ - {'1': 'reference_frame', '3': 1, '4': 1, '5': 9, '10': 'referenceFrame'}, - {'1': 'geometries', '3': 2, '4': 3, '5': 11, '6': '.viam.common.v1.Geometry', '10': 'geometries'}, - ], -}; - -/// Descriptor for `GeometriesInFrame`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List geometriesInFrameDescriptor = $convert.base64Decode( - 'ChFHZW9tZXRyaWVzSW5GcmFtZRInCg9yZWZlcmVuY2VfZnJhbWUYASABKAlSDnJlZmVyZW5jZU' - 'ZyYW1lEjgKCmdlb21ldHJpZXMYAiADKAsyGC52aWFtLmNvbW1vbi52MS5HZW9tZXRyeVIKZ2Vv' - 'bWV0cmllcw=='); - -@$core.Deprecated('Use pointCloudObjectDescriptor instead') -const PointCloudObject$json = { - '1': 'PointCloudObject', - '2': [ - {'1': 'point_cloud', '3': 1, '4': 1, '5': 12, '10': 'pointCloud'}, - {'1': 'geometries', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.GeometriesInFrame', '10': 'geometries'}, - ], -}; - -/// Descriptor for `PointCloudObject`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pointCloudObjectDescriptor = $convert.base64Decode( - 'ChBQb2ludENsb3VkT2JqZWN0Eh8KC3BvaW50X2Nsb3VkGAEgASgMUgpwb2ludENsb3VkEkEKCm' - 'dlb21ldHJpZXMYAiABKAsyIS52aWFtLmNvbW1vbi52MS5HZW9tZXRyaWVzSW5GcmFtZVIKZ2Vv' - 'bWV0cmllcw=='); - -@$core.Deprecated('Use geoPointDescriptor instead') -const GeoPoint$json = { - '1': 'GeoPoint', - '2': [ - {'1': 'latitude', '3': 1, '4': 1, '5': 1, '10': 'latitude'}, - {'1': 'longitude', '3': 2, '4': 1, '5': 1, '10': 'longitude'}, - ], -}; - -/// Descriptor for `GeoPoint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List geoPointDescriptor = $convert.base64Decode( - 'CghHZW9Qb2ludBIaCghsYXRpdHVkZRgBIAEoAVIIbGF0aXR1ZGUSHAoJbG9uZ2l0dWRlGAIgAS' - 'gBUglsb25naXR1ZGU='); - -@$core.Deprecated('Use geoGeometryDescriptor instead') -const GeoGeometry$json = { - '1': 'GeoGeometry', - '2': [ - {'1': 'location', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.GeoPoint', '10': 'location'}, - {'1': 'geometries', '3': 2, '4': 3, '5': 11, '6': '.viam.common.v1.Geometry', '10': 'geometries'}, - ], -}; - -/// Descriptor for `GeoGeometry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List geoGeometryDescriptor = $convert.base64Decode( - 'CgtHZW9HZW9tZXRyeRI0Cghsb2NhdGlvbhgBIAEoCzIYLnZpYW0uY29tbW9uLnYxLkdlb1BvaW' - '50Ughsb2NhdGlvbhI4CgpnZW9tZXRyaWVzGAIgAygLMhgudmlhbS5jb21tb24udjEuR2VvbWV0' - 'cnlSCmdlb21ldHJpZXM='); - -@$core.Deprecated('Use transformDescriptor instead') -const Transform$json = { - '1': 'Transform', - '2': [ - {'1': 'reference_frame', '3': 1, '4': 1, '5': 9, '10': 'referenceFrame'}, - {'1': 'pose_in_observer_frame', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.PoseInFrame', '10': 'poseInObserverFrame'}, - {'1': 'physical_object', '3': 3, '4': 1, '5': 11, '6': '.viam.common.v1.Geometry', '9': 0, '10': 'physicalObject', '17': true}, - ], - '8': [ - {'1': '_physical_object'}, - ], -}; - -/// Descriptor for `Transform`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transformDescriptor = $convert.base64Decode( - 'CglUcmFuc2Zvcm0SJwoPcmVmZXJlbmNlX2ZyYW1lGAEgASgJUg5yZWZlcmVuY2VGcmFtZRJQCh' - 'Zwb3NlX2luX29ic2VydmVyX2ZyYW1lGAIgASgLMhsudmlhbS5jb21tb24udjEuUG9zZUluRnJh' - 'bWVSE3Bvc2VJbk9ic2VydmVyRnJhbWUSRgoPcGh5c2ljYWxfb2JqZWN0GAMgASgLMhgudmlhbS' - '5jb21tb24udjEuR2VvbWV0cnlIAFIOcGh5c2ljYWxPYmplY3SIAQFCEgoQX3BoeXNpY2FsX29i' - 'amVjdA=='); - -@$core.Deprecated('Use worldStateDescriptor instead') -const WorldState$json = { - '1': 'WorldState', - '2': [ - {'1': 'obstacles', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.GeometriesInFrame', '10': 'obstacles'}, - {'1': 'transforms', '3': 3, '4': 3, '5': 11, '6': '.viam.common.v1.Transform', '10': 'transforms'}, - ], -}; - -/// Descriptor for `WorldState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List worldStateDescriptor = $convert.base64Decode( - 'CgpXb3JsZFN0YXRlEj8KCW9ic3RhY2xlcxgBIAMoCzIhLnZpYW0uY29tbW9uLnYxLkdlb21ldH' - 'JpZXNJbkZyYW1lUglvYnN0YWNsZXMSOQoKdHJhbnNmb3JtcxgDIAMoCzIZLnZpYW0uY29tbW9u' - 'LnYxLlRyYW5zZm9ybVIKdHJhbnNmb3Jtcw=='); - -@$core.Deprecated('Use actuatorStatusDescriptor instead') -const ActuatorStatus$json = { - '1': 'ActuatorStatus', - '2': [ - {'1': 'is_moving', '3': 1, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `ActuatorStatus`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List actuatorStatusDescriptor = $convert.base64Decode( - 'Cg5BY3R1YXRvclN0YXR1cxIbCglpc19tb3ZpbmcYASABKAhSCGlzTW92aW5n'); - -@$core.Deprecated('Use responseMetadataDescriptor instead') -const ResponseMetadata$json = { - '1': 'ResponseMetadata', - '2': [ - {'1': 'captured_at', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 0, '10': 'capturedAt', '17': true}, - ], - '8': [ - {'1': '_captured_at'}, - ], -}; - -/// Descriptor for `ResponseMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List responseMetadataDescriptor = $convert.base64Decode( - 'ChBSZXNwb25zZU1ldGFkYXRhEkAKC2NhcHR1cmVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYn' - 'VmLlRpbWVzdGFtcEgAUgpjYXB0dXJlZEF0iAEBQg4KDF9jYXB0dXJlZF9hdA=='); - -@$core.Deprecated('Use doCommandRequestDescriptor instead') -const DoCommandRequest$json = { - '1': 'DoCommandRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'command', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'command'}, - ], -}; - -/// Descriptor for `DoCommandRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List doCommandRequestDescriptor = $convert.base64Decode( - 'ChBEb0NvbW1hbmRSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSMQoHY29tbWFuZBgCIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSB2NvbW1hbmQ='); - -@$core.Deprecated('Use doCommandResponseDescriptor instead') -const DoCommandResponse$json = { - '1': 'DoCommandResponse', - '2': [ - {'1': 'result', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'result'}, - ], -}; - -/// Descriptor for `DoCommandResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List doCommandResponseDescriptor = $convert.base64Decode( - 'ChFEb0NvbW1hbmRSZXNwb25zZRIvCgZyZXN1bHQYASABKAsyFy5nb29nbGUucHJvdG9idWYuU3' - 'RydWN0UgZyZXN1bHQ='); - -@$core.Deprecated('Use getKinematicsRequestDescriptor instead') -const GetKinematicsRequest$json = { - '1': 'GetKinematicsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetKinematicsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getKinematicsRequestDescriptor = $convert.base64Decode( - 'ChRHZXRLaW5lbWF0aWNzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getKinematicsResponseDescriptor instead') -const GetKinematicsResponse$json = { - '1': 'GetKinematicsResponse', - '2': [ - {'1': 'format', '3': 1, '4': 1, '5': 14, '6': '.viam.common.v1.KinematicsFileFormat', '10': 'format'}, - {'1': 'kinematics_data', '3': 2, '4': 1, '5': 12, '10': 'kinematicsData'}, - ], -}; - -/// Descriptor for `GetKinematicsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getKinematicsResponseDescriptor = $convert.base64Decode( - 'ChVHZXRLaW5lbWF0aWNzUmVzcG9uc2USPAoGZm9ybWF0GAEgASgOMiQudmlhbS5jb21tb24udj' - 'EuS2luZW1hdGljc0ZpbGVGb3JtYXRSBmZvcm1hdBInCg9raW5lbWF0aWNzX2RhdGEYAiABKAxS' - 'DmtpbmVtYXRpY3NEYXRh'); - -@$core.Deprecated('Use getGeometriesRequestDescriptor instead') -const GetGeometriesRequest$json = { - '1': 'GetGeometriesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetGeometriesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getGeometriesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRHZW9tZXRyaWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getGeometriesResponseDescriptor instead') -const GetGeometriesResponse$json = { - '1': 'GetGeometriesResponse', - '2': [ - {'1': 'geometries', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.Geometry', '10': 'geometries'}, - ], -}; - -/// Descriptor for `GetGeometriesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getGeometriesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRHZW9tZXRyaWVzUmVzcG9uc2USOAoKZ2VvbWV0cmllcxgBIAMoCzIYLnZpYW0uY29tbW' - '9uLnYxLkdlb21ldHJ5UgpnZW9tZXRyaWVz'); - -@$core.Deprecated('Use getReadingsRequestDescriptor instead') -const GetReadingsRequest$json = { - '1': 'GetReadingsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetReadingsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getReadingsRequestDescriptor = $convert.base64Decode( - 'ChJHZXRSZWFkaW5nc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getReadingsResponseDescriptor instead') -const GetReadingsResponse$json = { - '1': 'GetReadingsResponse', - '2': [ - {'1': 'readings', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.GetReadingsResponse.ReadingsEntry', '10': 'readings'}, - ], - '3': [GetReadingsResponse_ReadingsEntry$json], -}; - -@$core.Deprecated('Use getReadingsResponseDescriptor instead') -const GetReadingsResponse_ReadingsEntry$json = { - '1': 'ReadingsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `GetReadingsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getReadingsResponseDescriptor = $convert.base64Decode( - 'ChNHZXRSZWFkaW5nc1Jlc3BvbnNlEk0KCHJlYWRpbmdzGAEgAygLMjEudmlhbS5jb21tb24udj' - 'EuR2V0UmVhZGluZ3NSZXNwb25zZS5SZWFkaW5nc0VudHJ5UghyZWFkaW5ncxpTCg1SZWFkaW5n' - 'c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiwKBXZhbHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYn' - 'VmLlZhbHVlUgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use logEntryDescriptor instead') -const LogEntry$json = { - '1': 'LogEntry', - '2': [ - {'1': 'host', '3': 1, '4': 1, '5': 9, '10': 'host'}, - {'1': 'level', '3': 2, '4': 1, '5': 9, '10': 'level'}, - {'1': 'time', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'time'}, - {'1': 'logger_name', '3': 4, '4': 1, '5': 9, '10': 'loggerName'}, - {'1': 'message', '3': 5, '4': 1, '5': 9, '10': 'message'}, - {'1': 'caller', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'caller'}, - {'1': 'stack', '3': 7, '4': 1, '5': 9, '10': 'stack'}, - {'1': 'fields', '3': 8, '4': 3, '5': 11, '6': '.google.protobuf.Struct', '10': 'fields'}, - ], -}; - -/// Descriptor for `LogEntry`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List logEntryDescriptor = $convert.base64Decode( - 'CghMb2dFbnRyeRISCgRob3N0GAEgASgJUgRob3N0EhQKBWxldmVsGAIgASgJUgVsZXZlbBIuCg' - 'R0aW1lGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIEdGltZRIfCgtsb2dnZXJf' - 'bmFtZRgEIAEoCVIKbG9nZ2VyTmFtZRIYCgdtZXNzYWdlGAUgASgJUgdtZXNzYWdlEi8KBmNhbG' - 'xlchgGIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBmNhbGxlchIUCgVzdGFjaxgHIAEo' - 'CVIFc3RhY2sSLwoGZmllbGRzGAggAygLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIGZmllbG' - 'Rz'); - diff --git a/lib/src/gen/component/arm/v1/arm.pb.dart b/lib/src/gen/component/arm/v1/arm.pb.dart deleted file mode 100644 index e60088b998a..00000000000 --- a/lib/src/gen/component/arm/v1/arm.pb.dart +++ /dev/null @@ -1,1022 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/arm/v1/arm.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; - -class GetEndPositionRequest extends $pb.GeneratedMessage { - factory GetEndPositionRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetEndPositionRequest._() : super(); - factory GetEndPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetEndPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEndPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetEndPositionRequest clone() => GetEndPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetEndPositionRequest copyWith(void Function(GetEndPositionRequest) updates) => super.copyWith((message) => updates(message as GetEndPositionRequest)) as GetEndPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetEndPositionRequest create() => GetEndPositionRequest._(); - GetEndPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetEndPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetEndPositionRequest? _defaultInstance; - - /// Name of an arm - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetEndPositionResponse extends $pb.GeneratedMessage { - factory GetEndPositionResponse({ - $15.Pose? pose, - }) { - final $result = create(); - if (pose != null) { - $result.pose = pose; - } - return $result; - } - GetEndPositionResponse._() : super(); - factory GetEndPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetEndPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEndPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOM<$15.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $15.Pose.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetEndPositionResponse clone() => GetEndPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetEndPositionResponse copyWith(void Function(GetEndPositionResponse) updates) => super.copyWith((message) => updates(message as GetEndPositionResponse)) as GetEndPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetEndPositionResponse create() => GetEndPositionResponse._(); - GetEndPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetEndPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetEndPositionResponse? _defaultInstance; - - /// Returns 6d pose of the end effector relative to the base, represented by X,Y,Z coordinates which express - /// millimeters and theta, ox, oy, oz coordinates which express an orientation vector - @$pb.TagNumber(1) - $15.Pose get pose => $_getN(0); - @$pb.TagNumber(1) - set pose($15.Pose v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPose() => $_has(0); - @$pb.TagNumber(1) - void clearPose() => clearField(1); - @$pb.TagNumber(1) - $15.Pose ensurePose() => $_ensure(0); -} - -class JointPositions extends $pb.GeneratedMessage { - factory JointPositions({ - $core.Iterable<$core.double>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - JointPositions._() : super(); - factory JointPositions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory JointPositions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JointPositions', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - JointPositions clone() => JointPositions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - JointPositions copyWith(void Function(JointPositions) updates) => super.copyWith((message) => updates(message as JointPositions)) as JointPositions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static JointPositions create() => JointPositions._(); - JointPositions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static JointPositions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static JointPositions? _defaultInstance; - - /// A list of joint positions. Rotations values are in degrees, translational values in mm. - /// There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm - @$pb.TagNumber(1) - $core.List<$core.double> get values => $_getList(0); -} - -class GetJointPositionsRequest extends $pb.GeneratedMessage { - factory GetJointPositionsRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetJointPositionsRequest._() : super(); - factory GetJointPositionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetJointPositionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetJointPositionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetJointPositionsRequest clone() => GetJointPositionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetJointPositionsRequest copyWith(void Function(GetJointPositionsRequest) updates) => super.copyWith((message) => updates(message as GetJointPositionsRequest)) as GetJointPositionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetJointPositionsRequest create() => GetJointPositionsRequest._(); - GetJointPositionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetJointPositionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetJointPositionsRequest? _defaultInstance; - - /// Name of an arm - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetJointPositionsResponse extends $pb.GeneratedMessage { - factory GetJointPositionsResponse({ - JointPositions? positions, - }) { - final $result = create(); - if (positions != null) { - $result.positions = positions; - } - return $result; - } - GetJointPositionsResponse._() : super(); - factory GetJointPositionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetJointPositionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetJointPositionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'positions', subBuilder: JointPositions.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetJointPositionsResponse clone() => GetJointPositionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetJointPositionsResponse copyWith(void Function(GetJointPositionsResponse) updates) => super.copyWith((message) => updates(message as GetJointPositionsResponse)) as GetJointPositionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetJointPositionsResponse create() => GetJointPositionsResponse._(); - GetJointPositionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetJointPositionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetJointPositionsResponse? _defaultInstance; - - /// a list JointPositions - @$pb.TagNumber(1) - JointPositions get positions => $_getN(0); - @$pb.TagNumber(1) - set positions(JointPositions v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPositions() => $_has(0); - @$pb.TagNumber(1) - void clearPositions() => clearField(1); - @$pb.TagNumber(1) - JointPositions ensurePositions() => $_ensure(0); -} - -/// Moves an arm to the specified pose that is within the reference frame of the arm. -/// Move request in Motion API has the same behavior except that it performs obstacle avoidance when a world_state -/// message is specified. -class MoveToPositionRequest extends $pb.GeneratedMessage { - factory MoveToPositionRequest({ - $core.String? name, - $15.Pose? to, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (to != null) { - $result.to = to; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveToPositionRequest._() : super(); - factory MoveToPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveToPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.Pose>(2, _omitFieldNames ? '' : 'to', subBuilder: $15.Pose.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveToPositionRequest clone() => MoveToPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveToPositionRequest copyWith(void Function(MoveToPositionRequest) updates) => super.copyWith((message) => updates(message as MoveToPositionRequest)) as MoveToPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveToPositionRequest create() => MoveToPositionRequest._(); - MoveToPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveToPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveToPositionRequest? _defaultInstance; - - /// Name of an arm - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// The destination to move the arm to; this is from the reference frame of the arm. - @$pb.TagNumber(2) - $15.Pose get to => $_getN(1); - @$pb.TagNumber(2) - set to($15.Pose v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasTo() => $_has(1); - @$pb.TagNumber(2) - void clearTo() => clearField(2); - @$pb.TagNumber(2) - $15.Pose ensureTo() => $_ensure(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class MoveToPositionResponse extends $pb.GeneratedMessage { - factory MoveToPositionResponse() => create(); - MoveToPositionResponse._() : super(); - factory MoveToPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveToPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveToPositionResponse clone() => MoveToPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveToPositionResponse copyWith(void Function(MoveToPositionResponse) updates) => super.copyWith((message) => updates(message as MoveToPositionResponse)) as MoveToPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveToPositionResponse create() => MoveToPositionResponse._(); - MoveToPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveToPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveToPositionResponse? _defaultInstance; -} - -class MoveToJointPositionsRequest extends $pb.GeneratedMessage { - factory MoveToJointPositionsRequest({ - $core.String? name, - JointPositions? positions, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (positions != null) { - $result.positions = positions; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveToJointPositionsRequest._() : super(); - factory MoveToJointPositionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveToJointPositionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToJointPositionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM(2, _omitFieldNames ? '' : 'positions', subBuilder: JointPositions.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveToJointPositionsRequest clone() => MoveToJointPositionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveToJointPositionsRequest copyWith(void Function(MoveToJointPositionsRequest) updates) => super.copyWith((message) => updates(message as MoveToJointPositionsRequest)) as MoveToJointPositionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveToJointPositionsRequest create() => MoveToJointPositionsRequest._(); - MoveToJointPositionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveToJointPositionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveToJointPositionsRequest? _defaultInstance; - - /// Name of an arm - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// A list of joint positions - /// There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector - @$pb.TagNumber(2) - JointPositions get positions => $_getN(1); - @$pb.TagNumber(2) - set positions(JointPositions v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPositions() => $_has(1); - @$pb.TagNumber(2) - void clearPositions() => clearField(2); - @$pb.TagNumber(2) - JointPositions ensurePositions() => $_ensure(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class MoveToJointPositionsResponse extends $pb.GeneratedMessage { - factory MoveToJointPositionsResponse() => create(); - MoveToJointPositionsResponse._() : super(); - factory MoveToJointPositionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveToJointPositionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToJointPositionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveToJointPositionsResponse clone() => MoveToJointPositionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveToJointPositionsResponse copyWith(void Function(MoveToJointPositionsResponse) updates) => super.copyWith((message) => updates(message as MoveToJointPositionsResponse)) as MoveToJointPositionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveToJointPositionsResponse create() => MoveToJointPositionsResponse._(); - MoveToJointPositionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveToJointPositionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveToJointPositionsResponse? _defaultInstance; -} - -class MoveThroughJointPositionsRequest extends $pb.GeneratedMessage { - factory MoveThroughJointPositionsRequest({ - $core.String? name, - $core.Iterable? positions, - MoveOptions? options, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (positions != null) { - $result.positions.addAll(positions); - } - if (options != null) { - $result.options = options; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveThroughJointPositionsRequest._() : super(); - factory MoveThroughJointPositionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveThroughJointPositionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveThroughJointPositionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pc(2, _omitFieldNames ? '' : 'positions', $pb.PbFieldType.PM, subBuilder: JointPositions.create) - ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: MoveOptions.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveThroughJointPositionsRequest clone() => MoveThroughJointPositionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveThroughJointPositionsRequest copyWith(void Function(MoveThroughJointPositionsRequest) updates) => super.copyWith((message) => updates(message as MoveThroughJointPositionsRequest)) as MoveThroughJointPositionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveThroughJointPositionsRequest create() => MoveThroughJointPositionsRequest._(); - MoveThroughJointPositionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveThroughJointPositionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveThroughJointPositionsRequest? _defaultInstance; - - /// Name of an arm - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// A list of joint positions which will be moved to in the order they are specified - @$pb.TagNumber(2) - $core.List get positions => $_getList(1); - - /// optional specifications to be obeyed during the motion - @$pb.TagNumber(3) - MoveOptions get options => $_getN(2); - @$pb.TagNumber(3) - set options(MoveOptions v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOptions() => $_has(2); - @$pb.TagNumber(3) - void clearOptions() => clearField(3); - @$pb.TagNumber(3) - MoveOptions ensureOptions() => $_ensure(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class MoveThroughJointPositionsResponse extends $pb.GeneratedMessage { - factory MoveThroughJointPositionsResponse() => create(); - MoveThroughJointPositionsResponse._() : super(); - factory MoveThroughJointPositionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveThroughJointPositionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveThroughJointPositionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveThroughJointPositionsResponse clone() => MoveThroughJointPositionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveThroughJointPositionsResponse copyWith(void Function(MoveThroughJointPositionsResponse) updates) => super.copyWith((message) => updates(message as MoveThroughJointPositionsResponse)) as MoveThroughJointPositionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveThroughJointPositionsResponse create() => MoveThroughJointPositionsResponse._(); - MoveThroughJointPositionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveThroughJointPositionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveThroughJointPositionsResponse? _defaultInstance; -} - -class StopRequest extends $pb.GeneratedMessage { - factory StopRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StopRequest._() : super(); - factory StopRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopRequest clone() => StopRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopRequest copyWith(void Function(StopRequest) updates) => super.copyWith((message) => updates(message as StopRequest)) as StopRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopRequest create() => StopRequest._(); - StopRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopRequest? _defaultInstance; - - /// Name of an arm - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class StopResponse extends $pb.GeneratedMessage { - factory StopResponse() => create(); - StopResponse._() : super(); - factory StopResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopResponse clone() => StopResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopResponse copyWith(void Function(StopResponse) updates) => super.copyWith((message) => updates(message as StopResponse)) as StopResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopResponse create() => StopResponse._(); - StopResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopResponse? _defaultInstance; -} - -class Status extends $pb.GeneratedMessage { - factory Status({ - $15.Pose? endPosition, - JointPositions? jointPositions, - $core.bool? isMoving, - }) { - final $result = create(); - if (endPosition != null) { - $result.endPosition = endPosition; - } - if (jointPositions != null) { - $result.jointPositions = jointPositions; - } - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOM<$15.Pose>(1, _omitFieldNames ? '' : 'endPosition', subBuilder: $15.Pose.create) - ..aOM(2, _omitFieldNames ? '' : 'jointPositions', subBuilder: JointPositions.create) - ..aOB(3, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - @$pb.TagNumber(1) - $15.Pose get endPosition => $_getN(0); - @$pb.TagNumber(1) - set endPosition($15.Pose v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasEndPosition() => $_has(0); - @$pb.TagNumber(1) - void clearEndPosition() => clearField(1); - @$pb.TagNumber(1) - $15.Pose ensureEndPosition() => $_ensure(0); - - @$pb.TagNumber(2) - JointPositions get jointPositions => $_getN(1); - @$pb.TagNumber(2) - set jointPositions(JointPositions v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasJointPositions() => $_has(1); - @$pb.TagNumber(2) - void clearJointPositions() => clearField(2); - @$pb.TagNumber(2) - JointPositions ensureJointPositions() => $_ensure(1); - - @$pb.TagNumber(3) - $core.bool get isMoving => $_getBF(2); - @$pb.TagNumber(3) - set isMoving($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIsMoving() => $_has(2); - @$pb.TagNumber(3) - void clearIsMoving() => clearField(3); -} - -class IsMovingRequest extends $pb.GeneratedMessage { - factory IsMovingRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - IsMovingRequest._() : super(); - factory IsMovingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingRequest clone() => IsMovingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingRequest copyWith(void Function(IsMovingRequest) updates) => super.copyWith((message) => updates(message as IsMovingRequest)) as IsMovingRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingRequest create() => IsMovingRequest._(); - IsMovingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class IsMovingResponse extends $pb.GeneratedMessage { - factory IsMovingResponse({ - $core.bool? isMoving, - }) { - final $result = create(); - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - IsMovingResponse._() : super(); - factory IsMovingResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingResponse clone() => IsMovingResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingResponse copyWith(void Function(IsMovingResponse) updates) => super.copyWith((message) => updates(message as IsMovingResponse)) as IsMovingResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingResponse create() => IsMovingResponse._(); - IsMovingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get isMoving => $_getBF(0); - @$pb.TagNumber(1) - set isMoving($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsMoving() => $_has(0); - @$pb.TagNumber(1) - void clearIsMoving() => clearField(1); -} - -class MoveOptions extends $pb.GeneratedMessage { - factory MoveOptions({ - $core.double? maxVelDegsPerSec, - $core.double? maxAccDegsPerSec2, - }) { - final $result = create(); - if (maxVelDegsPerSec != null) { - $result.maxVelDegsPerSec = maxVelDegsPerSec; - } - if (maxAccDegsPerSec2 != null) { - $result.maxAccDegsPerSec2 = maxAccDegsPerSec2; - } - return $result; - } - MoveOptions._() : super(); - factory MoveOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'maxVelDegsPerSec', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'maxAccDegsPerSec2', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveOptions clone() => MoveOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveOptions copyWith(void Function(MoveOptions) updates) => super.copyWith((message) => updates(message as MoveOptions)) as MoveOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveOptions create() => MoveOptions._(); - MoveOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveOptions? _defaultInstance; - - /// Maximum allowable velocity of an arm joint, in degrees per second - @$pb.TagNumber(1) - $core.double get maxVelDegsPerSec => $_getN(0); - @$pb.TagNumber(1) - set maxVelDegsPerSec($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasMaxVelDegsPerSec() => $_has(0); - @$pb.TagNumber(1) - void clearMaxVelDegsPerSec() => clearField(1); - - /// Maximum allowable acceleration of an arm joint, in degrees per second squared - @$pb.TagNumber(2) - $core.double get maxAccDegsPerSec2 => $_getN(1); - @$pb.TagNumber(2) - set maxAccDegsPerSec2($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasMaxAccDegsPerSec2() => $_has(1); - @$pb.TagNumber(2) - void clearMaxAccDegsPerSec2() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/arm/v1/arm.pbenum.dart b/lib/src/gen/component/arm/v1/arm.pbenum.dart deleted file mode 100644 index fb67c887bf0..00000000000 --- a/lib/src/gen/component/arm/v1/arm.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/arm/v1/arm.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/arm/v1/arm.pbgrpc.dart b/lib/src/gen/component/arm/v1/arm.pbgrpc.dart deleted file mode 100644 index 3302c8d7204..00000000000 --- a/lib/src/gen/component/arm/v1/arm.pbgrpc.dart +++ /dev/null @@ -1,240 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/arm/v1/arm.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'arm.pb.dart' as $14; - -export 'arm.pb.dart'; - -@$pb.GrpcServiceName('viam.component.arm.v1.ArmService') -class ArmServiceClient extends $grpc.Client { - static final _$getEndPosition = $grpc.ClientMethod<$14.GetEndPositionRequest, $14.GetEndPositionResponse>( - '/viam.component.arm.v1.ArmService/GetEndPosition', - ($14.GetEndPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.GetEndPositionResponse.fromBuffer(value)); - static final _$moveToPosition = $grpc.ClientMethod<$14.MoveToPositionRequest, $14.MoveToPositionResponse>( - '/viam.component.arm.v1.ArmService/MoveToPosition', - ($14.MoveToPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.MoveToPositionResponse.fromBuffer(value)); - static final _$getJointPositions = $grpc.ClientMethod<$14.GetJointPositionsRequest, $14.GetJointPositionsResponse>( - '/viam.component.arm.v1.ArmService/GetJointPositions', - ($14.GetJointPositionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.GetJointPositionsResponse.fromBuffer(value)); - static final _$moveToJointPositions = $grpc.ClientMethod<$14.MoveToJointPositionsRequest, $14.MoveToJointPositionsResponse>( - '/viam.component.arm.v1.ArmService/MoveToJointPositions', - ($14.MoveToJointPositionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.MoveToJointPositionsResponse.fromBuffer(value)); - static final _$moveThroughJointPositions = $grpc.ClientMethod<$14.MoveThroughJointPositionsRequest, $14.MoveThroughJointPositionsResponse>( - '/viam.component.arm.v1.ArmService/MoveThroughJointPositions', - ($14.MoveThroughJointPositionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.MoveThroughJointPositionsResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$14.StopRequest, $14.StopResponse>( - '/viam.component.arm.v1.ArmService/Stop', - ($14.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$14.IsMovingRequest, $14.IsMovingResponse>( - '/viam.component.arm.v1.ArmService/IsMoving', - ($14.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.arm.v1.ArmService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getKinematics = $grpc.ClientMethod<$15.GetKinematicsRequest, $15.GetKinematicsResponse>( - '/viam.component.arm.v1.ArmService/GetKinematics', - ($15.GetKinematicsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetKinematicsResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.arm.v1.ArmService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - ArmServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$14.GetEndPositionResponse> getEndPosition($14.GetEndPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getEndPosition, request, options: options); - } - - $grpc.ResponseFuture<$14.MoveToPositionResponse> moveToPosition($14.MoveToPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$moveToPosition, request, options: options); - } - - $grpc.ResponseFuture<$14.GetJointPositionsResponse> getJointPositions($14.GetJointPositionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getJointPositions, request, options: options); - } - - $grpc.ResponseFuture<$14.MoveToJointPositionsResponse> moveToJointPositions($14.MoveToJointPositionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$moveToJointPositions, request, options: options); - } - - $grpc.ResponseFuture<$14.MoveThroughJointPositionsResponse> moveThroughJointPositions($14.MoveThroughJointPositionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$moveThroughJointPositions, request, options: options); - } - - $grpc.ResponseFuture<$14.StopResponse> stop($14.StopRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stop, request, options: options); - } - - $grpc.ResponseFuture<$14.IsMovingResponse> isMoving($14.IsMovingRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isMoving, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetKinematicsResponse> getKinematics($15.GetKinematicsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getKinematics, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.arm.v1.ArmService') -abstract class ArmServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.arm.v1.ArmService'; - - ArmServiceBase() { - $addMethod($grpc.ServiceMethod<$14.GetEndPositionRequest, $14.GetEndPositionResponse>( - 'GetEndPosition', - getEndPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $14.GetEndPositionRequest.fromBuffer(value), - ($14.GetEndPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.MoveToPositionRequest, $14.MoveToPositionResponse>( - 'MoveToPosition', - moveToPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $14.MoveToPositionRequest.fromBuffer(value), - ($14.MoveToPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.GetJointPositionsRequest, $14.GetJointPositionsResponse>( - 'GetJointPositions', - getJointPositions_Pre, - false, - false, - ($core.List<$core.int> value) => $14.GetJointPositionsRequest.fromBuffer(value), - ($14.GetJointPositionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.MoveToJointPositionsRequest, $14.MoveToJointPositionsResponse>( - 'MoveToJointPositions', - moveToJointPositions_Pre, - false, - false, - ($core.List<$core.int> value) => $14.MoveToJointPositionsRequest.fromBuffer(value), - ($14.MoveToJointPositionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.MoveThroughJointPositionsRequest, $14.MoveThroughJointPositionsResponse>( - 'MoveThroughJointPositions', - moveThroughJointPositions_Pre, - false, - false, - ($core.List<$core.int> value) => $14.MoveThroughJointPositionsRequest.fromBuffer(value), - ($14.MoveThroughJointPositionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.StopRequest, $14.StopResponse>( - 'Stop', - stop_Pre, - false, - false, - ($core.List<$core.int> value) => $14.StopRequest.fromBuffer(value), - ($14.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.IsMovingRequest, $14.IsMovingResponse>( - 'IsMoving', - isMoving_Pre, - false, - false, - ($core.List<$core.int> value) => $14.IsMovingRequest.fromBuffer(value), - ($14.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetKinematicsRequest, $15.GetKinematicsResponse>( - 'GetKinematics', - getKinematics_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetKinematicsRequest.fromBuffer(value), - ($15.GetKinematicsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$14.GetEndPositionResponse> getEndPosition_Pre($grpc.ServiceCall call, $async.Future<$14.GetEndPositionRequest> request) async { - return getEndPosition(call, await request); - } - - $async.Future<$14.MoveToPositionResponse> moveToPosition_Pre($grpc.ServiceCall call, $async.Future<$14.MoveToPositionRequest> request) async { - return moveToPosition(call, await request); - } - - $async.Future<$14.GetJointPositionsResponse> getJointPositions_Pre($grpc.ServiceCall call, $async.Future<$14.GetJointPositionsRequest> request) async { - return getJointPositions(call, await request); - } - - $async.Future<$14.MoveToJointPositionsResponse> moveToJointPositions_Pre($grpc.ServiceCall call, $async.Future<$14.MoveToJointPositionsRequest> request) async { - return moveToJointPositions(call, await request); - } - - $async.Future<$14.MoveThroughJointPositionsResponse> moveThroughJointPositions_Pre($grpc.ServiceCall call, $async.Future<$14.MoveThroughJointPositionsRequest> request) async { - return moveThroughJointPositions(call, await request); - } - - $async.Future<$14.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$14.StopRequest> request) async { - return stop(call, await request); - } - - $async.Future<$14.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$14.IsMovingRequest> request) async { - return isMoving(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetKinematicsResponse> getKinematics_Pre($grpc.ServiceCall call, $async.Future<$15.GetKinematicsRequest> request) async { - return getKinematics(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$14.GetEndPositionResponse> getEndPosition($grpc.ServiceCall call, $14.GetEndPositionRequest request); - $async.Future<$14.MoveToPositionResponse> moveToPosition($grpc.ServiceCall call, $14.MoveToPositionRequest request); - $async.Future<$14.GetJointPositionsResponse> getJointPositions($grpc.ServiceCall call, $14.GetJointPositionsRequest request); - $async.Future<$14.MoveToJointPositionsResponse> moveToJointPositions($grpc.ServiceCall call, $14.MoveToJointPositionsRequest request); - $async.Future<$14.MoveThroughJointPositionsResponse> moveThroughJointPositions($grpc.ServiceCall call, $14.MoveThroughJointPositionsRequest request); - $async.Future<$14.StopResponse> stop($grpc.ServiceCall call, $14.StopRequest request); - $async.Future<$14.IsMovingResponse> isMoving($grpc.ServiceCall call, $14.IsMovingRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetKinematicsResponse> getKinematics($grpc.ServiceCall call, $15.GetKinematicsRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/arm/v1/arm.pbjson.dart b/lib/src/gen/component/arm/v1/arm.pbjson.dart deleted file mode 100644 index 6a80d409e32..00000000000 --- a/lib/src/gen/component/arm/v1/arm.pbjson.dart +++ /dev/null @@ -1,246 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/arm/v1/arm.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getEndPositionRequestDescriptor instead') -const GetEndPositionRequest$json = { - '1': 'GetEndPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetEndPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getEndPositionRequestDescriptor = $convert.base64Decode( - 'ChVHZXRFbmRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIA' - 'EoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getEndPositionResponseDescriptor instead') -const GetEndPositionResponse$json = { - '1': 'GetEndPositionResponse', - '2': [ - {'1': 'pose', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'pose'}, - ], -}; - -/// Descriptor for `GetEndPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getEndPositionResponseDescriptor = $convert.base64Decode( - 'ChZHZXRFbmRQb3NpdGlvblJlc3BvbnNlEigKBHBvc2UYASABKAsyFC52aWFtLmNvbW1vbi52MS' - '5Qb3NlUgRwb3Nl'); - -@$core.Deprecated('Use jointPositionsDescriptor instead') -const JointPositions$json = { - '1': 'JointPositions', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 1, '10': 'values'}, - ], -}; - -/// Descriptor for `JointPositions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List jointPositionsDescriptor = $convert.base64Decode( - 'Cg5Kb2ludFBvc2l0aW9ucxIWCgZ2YWx1ZXMYASADKAFSBnZhbHVlcw=='); - -@$core.Deprecated('Use getJointPositionsRequestDescriptor instead') -const GetJointPositionsRequest$json = { - '1': 'GetJointPositionsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetJointPositionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getJointPositionsRequestDescriptor = $convert.base64Decode( - 'ChhHZXRKb2ludFBvc2l0aW9uc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYR' - 'hjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getJointPositionsResponseDescriptor instead') -const GetJointPositionsResponse$json = { - '1': 'GetJointPositionsResponse', - '2': [ - {'1': 'positions', '3': 1, '4': 1, '5': 11, '6': '.viam.component.arm.v1.JointPositions', '10': 'positions'}, - ], -}; - -/// Descriptor for `GetJointPositionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getJointPositionsResponseDescriptor = $convert.base64Decode( - 'ChlHZXRKb2ludFBvc2l0aW9uc1Jlc3BvbnNlEkMKCXBvc2l0aW9ucxgBIAEoCzIlLnZpYW0uY2' - '9tcG9uZW50LmFybS52MS5Kb2ludFBvc2l0aW9uc1IJcG9zaXRpb25z'); - -@$core.Deprecated('Use moveToPositionRequestDescriptor instead') -const MoveToPositionRequest$json = { - '1': 'MoveToPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'to', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'to'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `MoveToPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveToPositionRequestDescriptor = $convert.base64Decode( - 'ChVNb3ZlVG9Qb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIkCgJ0bxgCIAEoCz' - 'IULnZpYW0uY29tbW9uLnYxLlBvc2VSAnRvEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3Rv' - 'YnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use moveToPositionResponseDescriptor instead') -const MoveToPositionResponse$json = { - '1': 'MoveToPositionResponse', -}; - -/// Descriptor for `MoveToPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveToPositionResponseDescriptor = $convert.base64Decode( - 'ChZNb3ZlVG9Qb3NpdGlvblJlc3BvbnNl'); - -@$core.Deprecated('Use moveToJointPositionsRequestDescriptor instead') -const MoveToJointPositionsRequest$json = { - '1': 'MoveToJointPositionsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'positions', '3': 2, '4': 1, '5': 11, '6': '.viam.component.arm.v1.JointPositions', '10': 'positions'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `MoveToJointPositionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveToJointPositionsRequestDescriptor = $convert.base64Decode( - 'ChtNb3ZlVG9Kb2ludFBvc2l0aW9uc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRJDCglwb3' - 'NpdGlvbnMYAiABKAsyJS52aWFtLmNvbXBvbmVudC5hcm0udjEuSm9pbnRQb3NpdGlvbnNSCXBv' - 'c2l0aW9ucxItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use moveToJointPositionsResponseDescriptor instead') -const MoveToJointPositionsResponse$json = { - '1': 'MoveToJointPositionsResponse', -}; - -/// Descriptor for `MoveToJointPositionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveToJointPositionsResponseDescriptor = $convert.base64Decode( - 'ChxNb3ZlVG9Kb2ludFBvc2l0aW9uc1Jlc3BvbnNl'); - -@$core.Deprecated('Use moveThroughJointPositionsRequestDescriptor instead') -const MoveThroughJointPositionsRequest$json = { - '1': 'MoveThroughJointPositionsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'positions', '3': 2, '4': 3, '5': 11, '6': '.viam.component.arm.v1.JointPositions', '10': 'positions'}, - {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.viam.component.arm.v1.MoveOptions', '9': 0, '10': 'options', '17': true}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '8': [ - {'1': '_options'}, - ], -}; - -/// Descriptor for `MoveThroughJointPositionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveThroughJointPositionsRequestDescriptor = $convert.base64Decode( - 'CiBNb3ZlVGhyb3VnaEpvaW50UG9zaXRpb25zUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEk' - 'MKCXBvc2l0aW9ucxgCIAMoCzIlLnZpYW0uY29tcG9uZW50LmFybS52MS5Kb2ludFBvc2l0aW9u' - 'c1IJcG9zaXRpb25zEkEKB29wdGlvbnMYAyABKAsyIi52aWFtLmNvbXBvbmVudC5hcm0udjEuTW' - '92ZU9wdGlvbnNIAFIHb3B0aW9uc4gBARItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1' - 'Zi5TdHJ1Y3RSBWV4dHJhQgoKCF9vcHRpb25z'); - -@$core.Deprecated('Use moveThroughJointPositionsResponseDescriptor instead') -const MoveThroughJointPositionsResponse$json = { - '1': 'MoveThroughJointPositionsResponse', -}; - -/// Descriptor for `MoveThroughJointPositionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveThroughJointPositionsResponseDescriptor = $convert.base64Decode( - 'CiFNb3ZlVGhyb3VnaEpvaW50UG9zaXRpb25zUmVzcG9uc2U='); - -@$core.Deprecated('Use stopRequestDescriptor instead') -const StopRequest$json = { - '1': 'StopRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopRequestDescriptor = $convert.base64Decode( - 'CgtTdG9wUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use stopResponseDescriptor instead') -const StopResponse$json = { - '1': 'StopResponse', -}; - -/// Descriptor for `StopResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopResponseDescriptor = $convert.base64Decode( - 'CgxTdG9wUmVzcG9uc2U='); - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'end_position', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'endPosition'}, - {'1': 'joint_positions', '3': 2, '4': 1, '5': 11, '6': '.viam.component.arm.v1.JointPositions', '10': 'jointPositions'}, - {'1': 'is_moving', '3': 3, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSNwoMZW5kX3Bvc2l0aW9uGAEgASgLMhQudmlhbS5jb21tb24udjEuUG9zZVILZW' - '5kUG9zaXRpb24STgoPam9pbnRfcG9zaXRpb25zGAIgASgLMiUudmlhbS5jb21wb25lbnQuYXJt' - 'LnYxLkpvaW50UG9zaXRpb25zUg5qb2ludFBvc2l0aW9ucxIbCglpc19tb3ZpbmcYAyABKAhSCG' - 'lzTW92aW5n'); - -@$core.Deprecated('Use isMovingRequestDescriptor instead') -const IsMovingRequest$json = { - '1': 'IsMovingRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `IsMovingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingRequestDescriptor = $convert.base64Decode( - 'Cg9Jc01vdmluZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use isMovingResponseDescriptor instead') -const IsMovingResponse$json = { - '1': 'IsMovingResponse', - '2': [ - {'1': 'is_moving', '3': 1, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `IsMovingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingResponseDescriptor = $convert.base64Decode( - 'ChBJc01vdmluZ1Jlc3BvbnNlEhsKCWlzX21vdmluZxgBIAEoCFIIaXNNb3Zpbmc='); - -@$core.Deprecated('Use moveOptionsDescriptor instead') -const MoveOptions$json = { - '1': 'MoveOptions', - '2': [ - {'1': 'max_vel_degs_per_sec', '3': 1, '4': 1, '5': 1, '9': 0, '10': 'maxVelDegsPerSec', '17': true}, - {'1': 'max_acc_degs_per_sec2', '3': 2, '4': 1, '5': 1, '9': 1, '10': 'maxAccDegsPerSec2', '17': true}, - ], - '8': [ - {'1': '_max_vel_degs_per_sec'}, - {'1': '_max_acc_degs_per_sec2'}, - ], -}; - -/// Descriptor for `MoveOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveOptionsDescriptor = $convert.base64Decode( - 'CgtNb3ZlT3B0aW9ucxIzChRtYXhfdmVsX2RlZ3NfcGVyX3NlYxgBIAEoAUgAUhBtYXhWZWxEZW' - 'dzUGVyU2VjiAEBEjUKFW1heF9hY2NfZGVnc19wZXJfc2VjMhgCIAEoAUgBUhFtYXhBY2NEZWdz' - 'UGVyU2VjMogBAUIXChVfbWF4X3ZlbF9kZWdzX3Blcl9zZWNCGAoWX21heF9hY2NfZGVnc19wZX' - 'Jfc2VjMg=='); - diff --git a/lib/src/gen/component/audioinput/v1/audioinput.pb.dart b/lib/src/gen/component/audioinput/v1/audioinput.pb.dart deleted file mode 100644 index 4276069a953..00000000000 --- a/lib/src/gen/component/audioinput/v1/audioinput.pb.dart +++ /dev/null @@ -1,574 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/audioinput/v1/audioinput.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/duration.pb.dart' as $45; -import 'audioinput.pbenum.dart'; - -export 'audioinput.pbenum.dart'; - -class RecordRequest extends $pb.GeneratedMessage { - factory RecordRequest({ - $core.String? name, - $45.Duration? duration, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (duration != null) { - $result.duration = duration; - } - return $result; - } - RecordRequest._() : super(); - factory RecordRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RecordRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RecordRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$45.Duration>(2, _omitFieldNames ? '' : 'duration', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RecordRequest clone() => RecordRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RecordRequest copyWith(void Function(RecordRequest) updates) => super.copyWith((message) => updates(message as RecordRequest)) as RecordRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RecordRequest create() => RecordRequest._(); - RecordRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RecordRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RecordRequest? _defaultInstance; - - /// Name of an audio input - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $45.Duration get duration => $_getN(1); - @$pb.TagNumber(2) - set duration($45.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasDuration() => $_has(1); - @$pb.TagNumber(2) - void clearDuration() => clearField(2); - @$pb.TagNumber(2) - $45.Duration ensureDuration() => $_ensure(1); -} - -class AudioChunkInfo extends $pb.GeneratedMessage { - factory AudioChunkInfo({ - SampleFormat? sampleFormat, - $core.int? channels, - $fixnum.Int64? samplingRate, - }) { - final $result = create(); - if (sampleFormat != null) { - $result.sampleFormat = sampleFormat; - } - if (channels != null) { - $result.channels = channels; - } - if (samplingRate != null) { - $result.samplingRate = samplingRate; - } - return $result; - } - AudioChunkInfo._() : super(); - factory AudioChunkInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AudioChunkInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AudioChunkInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'sampleFormat', $pb.PbFieldType.OE, defaultOrMaker: SampleFormat.SAMPLE_FORMAT_UNSPECIFIED, valueOf: SampleFormat.valueOf, enumValues: SampleFormat.values) - ..a<$core.int>(2, _omitFieldNames ? '' : 'channels', $pb.PbFieldType.OU3) - ..aInt64(3, _omitFieldNames ? '' : 'samplingRate') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AudioChunkInfo clone() => AudioChunkInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AudioChunkInfo copyWith(void Function(AudioChunkInfo) updates) => super.copyWith((message) => updates(message as AudioChunkInfo)) as AudioChunkInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AudioChunkInfo create() => AudioChunkInfo._(); - AudioChunkInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AudioChunkInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AudioChunkInfo? _defaultInstance; - - /// Actual sample encoding format of the response - @$pb.TagNumber(1) - SampleFormat get sampleFormat => $_getN(0); - @$pb.TagNumber(1) - set sampleFormat(SampleFormat v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSampleFormat() => $_has(0); - @$pb.TagNumber(1) - void clearSampleFormat() => clearField(1); - - @$pb.TagNumber(2) - $core.int get channels => $_getIZ(1); - @$pb.TagNumber(2) - set channels($core.int v) { $_setUnsignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasChannels() => $_has(1); - @$pb.TagNumber(2) - void clearChannels() => clearField(2); - - @$pb.TagNumber(3) - $fixnum.Int64 get samplingRate => $_getI64(2); - @$pb.TagNumber(3) - set samplingRate($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasSamplingRate() => $_has(2); - @$pb.TagNumber(3) - void clearSamplingRate() => clearField(3); -} - -class AudioChunk extends $pb.GeneratedMessage { - factory AudioChunk({ - $core.List<$core.int>? data, - $core.int? length, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - if (length != null) { - $result.length = length; - } - return $result; - } - AudioChunk._() : super(); - factory AudioChunk.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AudioChunk.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AudioChunk', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..a<$core.int>(2, _omitFieldNames ? '' : 'length', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AudioChunk clone() => AudioChunk()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AudioChunk copyWith(void Function(AudioChunk) updates) => super.copyWith((message) => updates(message as AudioChunk)) as AudioChunk; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AudioChunk create() => AudioChunk._(); - AudioChunk createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AudioChunk getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AudioChunk? _defaultInstance; - - /// Data is PCM data that is organized according to the sample format - /// along with its possible interleaving. Data in each format is - /// Little Endian. - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getN(0); - @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); - - /// Length is the number of samples - @$pb.TagNumber(2) - $core.int get length => $_getIZ(1); - @$pb.TagNumber(2) - set length($core.int v) { $_setUnsignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasLength() => $_has(1); - @$pb.TagNumber(2) - void clearLength() => clearField(2); -} - -class ChunksRequest extends $pb.GeneratedMessage { - factory ChunksRequest({ - $core.String? name, - SampleFormat? sampleFormat, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (sampleFormat != null) { - $result.sampleFormat = sampleFormat; - } - return $result; - } - ChunksRequest._() : super(); - factory ChunksRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ChunksRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChunksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..e(2, _omitFieldNames ? '' : 'sampleFormat', $pb.PbFieldType.OE, defaultOrMaker: SampleFormat.SAMPLE_FORMAT_UNSPECIFIED, valueOf: SampleFormat.valueOf, enumValues: SampleFormat.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ChunksRequest clone() => ChunksRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ChunksRequest copyWith(void Function(ChunksRequest) updates) => super.copyWith((message) => updates(message as ChunksRequest)) as ChunksRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ChunksRequest create() => ChunksRequest._(); - ChunksRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ChunksRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ChunksRequest? _defaultInstance; - - /// Name of an audio input - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Requested sample encoding format of the response - @$pb.TagNumber(2) - SampleFormat get sampleFormat => $_getN(1); - @$pb.TagNumber(2) - set sampleFormat(SampleFormat v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasSampleFormat() => $_has(1); - @$pb.TagNumber(2) - void clearSampleFormat() => clearField(2); -} - -enum ChunksResponse_Type { - info, - chunk, - notSet -} - -class ChunksResponse extends $pb.GeneratedMessage { - factory ChunksResponse({ - AudioChunkInfo? info, - AudioChunk? chunk, - }) { - final $result = create(); - if (info != null) { - $result.info = info; - } - if (chunk != null) { - $result.chunk = chunk; - } - return $result; - } - ChunksResponse._() : super(); - factory ChunksResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ChunksResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, ChunksResponse_Type> _ChunksResponse_TypeByTag = { - 1 : ChunksResponse_Type.info, - 2 : ChunksResponse_Type.chunk, - 0 : ChunksResponse_Type.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ChunksResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'info', subBuilder: AudioChunkInfo.create) - ..aOM(2, _omitFieldNames ? '' : 'chunk', subBuilder: AudioChunk.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ChunksResponse clone() => ChunksResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ChunksResponse copyWith(void Function(ChunksResponse) updates) => super.copyWith((message) => updates(message as ChunksResponse)) as ChunksResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ChunksResponse create() => ChunksResponse._(); - ChunksResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ChunksResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ChunksResponse? _defaultInstance; - - ChunksResponse_Type whichType() => _ChunksResponse_TypeByTag[$_whichOneof(0)]!; - void clearType() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - AudioChunkInfo get info => $_getN(0); - @$pb.TagNumber(1) - set info(AudioChunkInfo v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasInfo() => $_has(0); - @$pb.TagNumber(1) - void clearInfo() => clearField(1); - @$pb.TagNumber(1) - AudioChunkInfo ensureInfo() => $_ensure(0); - - @$pb.TagNumber(2) - AudioChunk get chunk => $_getN(1); - @$pb.TagNumber(2) - set chunk(AudioChunk v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasChunk() => $_has(1); - @$pb.TagNumber(2) - void clearChunk() => clearField(2); - @$pb.TagNumber(2) - AudioChunk ensureChunk() => $_ensure(1); -} - -class PropertiesRequest extends $pb.GeneratedMessage { - factory PropertiesRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - PropertiesRequest._() : super(); - factory PropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PropertiesRequest clone() => PropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PropertiesRequest copyWith(void Function(PropertiesRequest) updates) => super.copyWith((message) => updates(message as PropertiesRequest)) as PropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PropertiesRequest create() => PropertiesRequest._(); - PropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PropertiesRequest? _defaultInstance; - - /// Name of an audio input - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class PropertiesResponse extends $pb.GeneratedMessage { - factory PropertiesResponse({ - $core.int? channelCount, - $45.Duration? latency, - $core.int? sampleRate, - $core.int? sampleSize, - $core.bool? isBigEndian, - $core.bool? isFloat, - $core.bool? isInterleaved, - }) { - final $result = create(); - if (channelCount != null) { - $result.channelCount = channelCount; - } - if (latency != null) { - $result.latency = latency; - } - if (sampleRate != null) { - $result.sampleRate = sampleRate; - } - if (sampleSize != null) { - $result.sampleSize = sampleSize; - } - if (isBigEndian != null) { - $result.isBigEndian = isBigEndian; - } - if (isFloat != null) { - $result.isFloat = isFloat; - } - if (isInterleaved != null) { - $result.isInterleaved = isInterleaved; - } - return $result; - } - PropertiesResponse._() : super(); - factory PropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'channelCount', $pb.PbFieldType.OU3) - ..aOM<$45.Duration>(2, _omitFieldNames ? '' : 'latency', subBuilder: $45.Duration.create) - ..a<$core.int>(3, _omitFieldNames ? '' : 'sampleRate', $pb.PbFieldType.OU3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'sampleSize', $pb.PbFieldType.OU3) - ..aOB(5, _omitFieldNames ? '' : 'isBigEndian') - ..aOB(6, _omitFieldNames ? '' : 'isFloat') - ..aOB(7, _omitFieldNames ? '' : 'isInterleaved') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PropertiesResponse clone() => PropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PropertiesResponse copyWith(void Function(PropertiesResponse) updates) => super.copyWith((message) => updates(message as PropertiesResponse)) as PropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PropertiesResponse create() => PropertiesResponse._(); - PropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PropertiesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get channelCount => $_getIZ(0); - @$pb.TagNumber(1) - set channelCount($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasChannelCount() => $_has(0); - @$pb.TagNumber(1) - void clearChannelCount() => clearField(1); - - @$pb.TagNumber(2) - $45.Duration get latency => $_getN(1); - @$pb.TagNumber(2) - set latency($45.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLatency() => $_has(1); - @$pb.TagNumber(2) - void clearLatency() => clearField(2); - @$pb.TagNumber(2) - $45.Duration ensureLatency() => $_ensure(1); - - @$pb.TagNumber(3) - $core.int get sampleRate => $_getIZ(2); - @$pb.TagNumber(3) - set sampleRate($core.int v) { $_setUnsignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasSampleRate() => $_has(2); - @$pb.TagNumber(3) - void clearSampleRate() => clearField(3); - - @$pb.TagNumber(4) - $core.int get sampleSize => $_getIZ(3); - @$pb.TagNumber(4) - set sampleSize($core.int v) { $_setUnsignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasSampleSize() => $_has(3); - @$pb.TagNumber(4) - void clearSampleSize() => clearField(4); - - @$pb.TagNumber(5) - $core.bool get isBigEndian => $_getBF(4); - @$pb.TagNumber(5) - set isBigEndian($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasIsBigEndian() => $_has(4); - @$pb.TagNumber(5) - void clearIsBigEndian() => clearField(5); - - @$pb.TagNumber(6) - $core.bool get isFloat => $_getBF(5); - @$pb.TagNumber(6) - set isFloat($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(6) - $core.bool hasIsFloat() => $_has(5); - @$pb.TagNumber(6) - void clearIsFloat() => clearField(6); - - @$pb.TagNumber(7) - $core.bool get isInterleaved => $_getBF(6); - @$pb.TagNumber(7) - set isInterleaved($core.bool v) { $_setBool(6, v); } - @$pb.TagNumber(7) - $core.bool hasIsInterleaved() => $_has(6); - @$pb.TagNumber(7) - void clearIsInterleaved() => clearField(7); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/audioinput/v1/audioinput.pbenum.dart b/lib/src/gen/component/audioinput/v1/audioinput.pbenum.dart deleted file mode 100644 index 5e643614997..00000000000 --- a/lib/src/gen/component/audioinput/v1/audioinput.pbenum.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/audioinput/v1/audioinput.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class SampleFormat extends $pb.ProtobufEnum { - static const SampleFormat SAMPLE_FORMAT_UNSPECIFIED = SampleFormat._(0, _omitEnumNames ? '' : 'SAMPLE_FORMAT_UNSPECIFIED'); - static const SampleFormat SAMPLE_FORMAT_INT16_INTERLEAVED = SampleFormat._(1, _omitEnumNames ? '' : 'SAMPLE_FORMAT_INT16_INTERLEAVED'); - static const SampleFormat SAMPLE_FORMAT_FLOAT32_INTERLEAVED = SampleFormat._(2, _omitEnumNames ? '' : 'SAMPLE_FORMAT_FLOAT32_INTERLEAVED'); - - static const $core.List values = [ - SAMPLE_FORMAT_UNSPECIFIED, - SAMPLE_FORMAT_INT16_INTERLEAVED, - SAMPLE_FORMAT_FLOAT32_INTERLEAVED, - ]; - - static final $core.Map<$core.int, SampleFormat> _byValue = $pb.ProtobufEnum.initByValue(values); - static SampleFormat? valueOf($core.int value) => _byValue[value]; - - const SampleFormat._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/component/audioinput/v1/audioinput.pbgrpc.dart b/lib/src/gen/component/audioinput/v1/audioinput.pbgrpc.dart deleted file mode 100644 index 1053ccb4f96..00000000000 --- a/lib/src/gen/component/audioinput/v1/audioinput.pbgrpc.dart +++ /dev/null @@ -1,141 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/audioinput/v1/audioinput.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/api/httpbody.pb.dart' as $17; -import 'audioinput.pb.dart' as $16; - -export 'audioinput.pb.dart'; - -@$pb.GrpcServiceName('viam.component.audioinput.v1.AudioInputService') -class AudioInputServiceClient extends $grpc.Client { - static final _$chunks = $grpc.ClientMethod<$16.ChunksRequest, $16.ChunksResponse>( - '/viam.component.audioinput.v1.AudioInputService/Chunks', - ($16.ChunksRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.ChunksResponse.fromBuffer(value)); - static final _$properties = $grpc.ClientMethod<$16.PropertiesRequest, $16.PropertiesResponse>( - '/viam.component.audioinput.v1.AudioInputService/Properties', - ($16.PropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.PropertiesResponse.fromBuffer(value)); - static final _$record = $grpc.ClientMethod<$16.RecordRequest, $17.HttpBody>( - '/viam.component.audioinput.v1.AudioInputService/Record', - ($16.RecordRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.HttpBody.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.audioinput.v1.AudioInputService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.audioinput.v1.AudioInputService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - AudioInputServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseStream<$16.ChunksResponse> chunks($16.ChunksRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$chunks, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$16.PropertiesResponse> properties($16.PropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$properties, request, options: options); - } - - $grpc.ResponseFuture<$17.HttpBody> record($16.RecordRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$record, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.audioinput.v1.AudioInputService') -abstract class AudioInputServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.audioinput.v1.AudioInputService'; - - AudioInputServiceBase() { - $addMethod($grpc.ServiceMethod<$16.ChunksRequest, $16.ChunksResponse>( - 'Chunks', - chunks_Pre, - false, - true, - ($core.List<$core.int> value) => $16.ChunksRequest.fromBuffer(value), - ($16.ChunksResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.PropertiesRequest, $16.PropertiesResponse>( - 'Properties', - properties_Pre, - false, - false, - ($core.List<$core.int> value) => $16.PropertiesRequest.fromBuffer(value), - ($16.PropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.RecordRequest, $17.HttpBody>( - 'Record', - record_Pre, - false, - false, - ($core.List<$core.int> value) => $16.RecordRequest.fromBuffer(value), - ($17.HttpBody value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Stream<$16.ChunksResponse> chunks_Pre($grpc.ServiceCall call, $async.Future<$16.ChunksRequest> request) async* { - yield* chunks(call, await request); - } - - $async.Future<$16.PropertiesResponse> properties_Pre($grpc.ServiceCall call, $async.Future<$16.PropertiesRequest> request) async { - return properties(call, await request); - } - - $async.Future<$17.HttpBody> record_Pre($grpc.ServiceCall call, $async.Future<$16.RecordRequest> request) async { - return record(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Stream<$16.ChunksResponse> chunks($grpc.ServiceCall call, $16.ChunksRequest request); - $async.Future<$16.PropertiesResponse> properties($grpc.ServiceCall call, $16.PropertiesRequest request); - $async.Future<$17.HttpBody> record($grpc.ServiceCall call, $16.RecordRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/audioinput/v1/audioinput.pbjson.dart b/lib/src/gen/component/audioinput/v1/audioinput.pbjson.dart deleted file mode 100644 index f798e218b53..00000000000 --- a/lib/src/gen/component/audioinput/v1/audioinput.pbjson.dart +++ /dev/null @@ -1,143 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/audioinput/v1/audioinput.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use sampleFormatDescriptor instead') -const SampleFormat$json = { - '1': 'SampleFormat', - '2': [ - {'1': 'SAMPLE_FORMAT_UNSPECIFIED', '2': 0}, - {'1': 'SAMPLE_FORMAT_INT16_INTERLEAVED', '2': 1}, - {'1': 'SAMPLE_FORMAT_FLOAT32_INTERLEAVED', '2': 2}, - ], -}; - -/// Descriptor for `SampleFormat`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List sampleFormatDescriptor = $convert.base64Decode( - 'CgxTYW1wbGVGb3JtYXQSHQoZU0FNUExFX0ZPUk1BVF9VTlNQRUNJRklFRBAAEiMKH1NBTVBMRV' - '9GT1JNQVRfSU5UMTZfSU5URVJMRUFWRUQQARIlCiFTQU1QTEVfRk9STUFUX0ZMT0FUMzJfSU5U' - 'RVJMRUFWRUQQAg=='); - -@$core.Deprecated('Use recordRequestDescriptor instead') -const RecordRequest$json = { - '1': 'RecordRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'duration', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'duration'}, - ], -}; - -/// Descriptor for `RecordRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List recordRequestDescriptor = $convert.base64Decode( - 'Cg1SZWNvcmRSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSNQoIZHVyYXRpb24YAiABKAsyGS' - '5nb29nbGUucHJvdG9idWYuRHVyYXRpb25SCGR1cmF0aW9u'); - -@$core.Deprecated('Use audioChunkInfoDescriptor instead') -const AudioChunkInfo$json = { - '1': 'AudioChunkInfo', - '2': [ - {'1': 'sample_format', '3': 1, '4': 1, '5': 14, '6': '.viam.component.audioinput.v1.SampleFormat', '10': 'sampleFormat'}, - {'1': 'channels', '3': 2, '4': 1, '5': 13, '10': 'channels'}, - {'1': 'sampling_rate', '3': 3, '4': 1, '5': 3, '10': 'samplingRate'}, - ], -}; - -/// Descriptor for `AudioChunkInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List audioChunkInfoDescriptor = $convert.base64Decode( - 'Cg5BdWRpb0NodW5rSW5mbxJPCg1zYW1wbGVfZm9ybWF0GAEgASgOMioudmlhbS5jb21wb25lbn' - 'QuYXVkaW9pbnB1dC52MS5TYW1wbGVGb3JtYXRSDHNhbXBsZUZvcm1hdBIaCghjaGFubmVscxgC' - 'IAEoDVIIY2hhbm5lbHMSIwoNc2FtcGxpbmdfcmF0ZRgDIAEoA1IMc2FtcGxpbmdSYXRl'); - -@$core.Deprecated('Use audioChunkDescriptor instead') -const AudioChunk$json = { - '1': 'AudioChunk', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 12, '10': 'data'}, - {'1': 'length', '3': 2, '4': 1, '5': 13, '10': 'length'}, - ], -}; - -/// Descriptor for `AudioChunk`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List audioChunkDescriptor = $convert.base64Decode( - 'CgpBdWRpb0NodW5rEhIKBGRhdGEYASABKAxSBGRhdGESFgoGbGVuZ3RoGAIgASgNUgZsZW5ndG' - 'g='); - -@$core.Deprecated('Use chunksRequestDescriptor instead') -const ChunksRequest$json = { - '1': 'ChunksRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'sample_format', '3': 2, '4': 1, '5': 14, '6': '.viam.component.audioinput.v1.SampleFormat', '10': 'sampleFormat'}, - ], -}; - -/// Descriptor for `ChunksRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List chunksRequestDescriptor = $convert.base64Decode( - 'Cg1DaHVua3NSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSTwoNc2FtcGxlX2Zvcm1hdBgCIA' - 'EoDjIqLnZpYW0uY29tcG9uZW50LmF1ZGlvaW5wdXQudjEuU2FtcGxlRm9ybWF0UgxzYW1wbGVG' - 'b3JtYXQ='); - -@$core.Deprecated('Use chunksResponseDescriptor instead') -const ChunksResponse$json = { - '1': 'ChunksResponse', - '2': [ - {'1': 'info', '3': 1, '4': 1, '5': 11, '6': '.viam.component.audioinput.v1.AudioChunkInfo', '9': 0, '10': 'info'}, - {'1': 'chunk', '3': 2, '4': 1, '5': 11, '6': '.viam.component.audioinput.v1.AudioChunk', '9': 0, '10': 'chunk'}, - ], - '8': [ - {'1': 'type'}, - ], -}; - -/// Descriptor for `ChunksResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List chunksResponseDescriptor = $convert.base64Decode( - 'Cg5DaHVua3NSZXNwb25zZRJCCgRpbmZvGAEgASgLMiwudmlhbS5jb21wb25lbnQuYXVkaW9pbn' - 'B1dC52MS5BdWRpb0NodW5rSW5mb0gAUgRpbmZvEkAKBWNodW5rGAIgASgLMigudmlhbS5jb21w' - 'b25lbnQuYXVkaW9pbnB1dC52MS5BdWRpb0NodW5rSABSBWNodW5rQgYKBHR5cGU='); - -@$core.Deprecated('Use propertiesRequestDescriptor instead') -const PropertiesRequest$json = { - '1': 'PropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `PropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List propertiesRequestDescriptor = $convert.base64Decode( - 'ChFQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1l'); - -@$core.Deprecated('Use propertiesResponseDescriptor instead') -const PropertiesResponse$json = { - '1': 'PropertiesResponse', - '2': [ - {'1': 'channel_count', '3': 1, '4': 1, '5': 13, '10': 'channelCount'}, - {'1': 'latency', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'latency'}, - {'1': 'sample_rate', '3': 3, '4': 1, '5': 13, '10': 'sampleRate'}, - {'1': 'sample_size', '3': 4, '4': 1, '5': 13, '10': 'sampleSize'}, - {'1': 'is_big_endian', '3': 5, '4': 1, '5': 8, '10': 'isBigEndian'}, - {'1': 'is_float', '3': 6, '4': 1, '5': 8, '10': 'isFloat'}, - {'1': 'is_interleaved', '3': 7, '4': 1, '5': 8, '10': 'isInterleaved'}, - ], -}; - -/// Descriptor for `PropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List propertiesResponseDescriptor = $convert.base64Decode( - 'ChJQcm9wZXJ0aWVzUmVzcG9uc2USIwoNY2hhbm5lbF9jb3VudBgBIAEoDVIMY2hhbm5lbENvdW' - '50EjMKB2xhdGVuY3kYAiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25SB2xhdGVuY3kS' - 'HwoLc2FtcGxlX3JhdGUYAyABKA1SCnNhbXBsZVJhdGUSHwoLc2FtcGxlX3NpemUYBCABKA1SCn' - 'NhbXBsZVNpemUSIgoNaXNfYmlnX2VuZGlhbhgFIAEoCFILaXNCaWdFbmRpYW4SGQoIaXNfZmxv' - 'YXQYBiABKAhSB2lzRmxvYXQSJQoOaXNfaW50ZXJsZWF2ZWQYByABKAhSDWlzSW50ZXJsZWF2ZW' - 'Q='); - diff --git a/lib/src/gen/component/base/v1/base.pb.dart b/lib/src/gen/component/base/v1/base.pb.dart deleted file mode 100644 index b61745bcde0..00000000000 --- a/lib/src/gen/component/base/v1/base.pb.dart +++ /dev/null @@ -1,895 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/base/v1/base.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; - -class MoveStraightRequest extends $pb.GeneratedMessage { - factory MoveStraightRequest({ - $core.String? name, - $fixnum.Int64? distanceMm, - $core.double? mmPerSec, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (distanceMm != null) { - $result.distanceMm = distanceMm; - } - if (mmPerSec != null) { - $result.mmPerSec = mmPerSec; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveStraightRequest._() : super(); - factory MoveStraightRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveStraightRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveStraightRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aInt64(2, _omitFieldNames ? '' : 'distanceMm') - ..a<$core.double>(3, _omitFieldNames ? '' : 'mmPerSec', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveStraightRequest clone() => MoveStraightRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveStraightRequest copyWith(void Function(MoveStraightRequest) updates) => super.copyWith((message) => updates(message as MoveStraightRequest)) as MoveStraightRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveStraightRequest create() => MoveStraightRequest._(); - MoveStraightRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveStraightRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveStraightRequest? _defaultInstance; - - /// Name of a base - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Desired travel distance in millimeters - @$pb.TagNumber(2) - $fixnum.Int64 get distanceMm => $_getI64(1); - @$pb.TagNumber(2) - set distanceMm($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasDistanceMm() => $_has(1); - @$pb.TagNumber(2) - void clearDistanceMm() => clearField(2); - - /// Desired travel velocity in millimeters/second - @$pb.TagNumber(3) - $core.double get mmPerSec => $_getN(2); - @$pb.TagNumber(3) - set mmPerSec($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasMmPerSec() => $_has(2); - @$pb.TagNumber(3) - void clearMmPerSec() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class MoveStraightResponse extends $pb.GeneratedMessage { - factory MoveStraightResponse() => create(); - MoveStraightResponse._() : super(); - factory MoveStraightResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveStraightResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveStraightResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveStraightResponse clone() => MoveStraightResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveStraightResponse copyWith(void Function(MoveStraightResponse) updates) => super.copyWith((message) => updates(message as MoveStraightResponse)) as MoveStraightResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveStraightResponse create() => MoveStraightResponse._(); - MoveStraightResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveStraightResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveStraightResponse? _defaultInstance; -} - -class SpinRequest extends $pb.GeneratedMessage { - factory SpinRequest({ - $core.String? name, - $core.double? angleDeg, - $core.double? degsPerSec, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (angleDeg != null) { - $result.angleDeg = angleDeg; - } - if (degsPerSec != null) { - $result.degsPerSec = degsPerSec; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SpinRequest._() : super(); - factory SpinRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SpinRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpinRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.double>(2, _omitFieldNames ? '' : 'angleDeg', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'degsPerSec', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SpinRequest clone() => SpinRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SpinRequest copyWith(void Function(SpinRequest) updates) => super.copyWith((message) => updates(message as SpinRequest)) as SpinRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SpinRequest create() => SpinRequest._(); - SpinRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SpinRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SpinRequest? _defaultInstance; - - /// Name of a base - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Desired angle - @$pb.TagNumber(2) - $core.double get angleDeg => $_getN(1); - @$pb.TagNumber(2) - set angleDeg($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasAngleDeg() => $_has(1); - @$pb.TagNumber(2) - void clearAngleDeg() => clearField(2); - - /// Desired angular velocity - @$pb.TagNumber(3) - $core.double get degsPerSec => $_getN(2); - @$pb.TagNumber(3) - set degsPerSec($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasDegsPerSec() => $_has(2); - @$pb.TagNumber(3) - void clearDegsPerSec() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class SpinResponse extends $pb.GeneratedMessage { - factory SpinResponse() => create(); - SpinResponse._() : super(); - factory SpinResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SpinResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SpinResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SpinResponse clone() => SpinResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SpinResponse copyWith(void Function(SpinResponse) updates) => super.copyWith((message) => updates(message as SpinResponse)) as SpinResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SpinResponse create() => SpinResponse._(); - SpinResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SpinResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SpinResponse? _defaultInstance; -} - -class StopRequest extends $pb.GeneratedMessage { - factory StopRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StopRequest._() : super(); - factory StopRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopRequest clone() => StopRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopRequest copyWith(void Function(StopRequest) updates) => super.copyWith((message) => updates(message as StopRequest)) as StopRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopRequest create() => StopRequest._(); - StopRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopRequest? _defaultInstance; - - /// Name of a base - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class StopResponse extends $pb.GeneratedMessage { - factory StopResponse() => create(); - StopResponse._() : super(); - factory StopResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopResponse clone() => StopResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopResponse copyWith(void Function(StopResponse) updates) => super.copyWith((message) => updates(message as StopResponse)) as StopResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopResponse create() => StopResponse._(); - StopResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopResponse? _defaultInstance; -} - -class SetPowerRequest extends $pb.GeneratedMessage { - factory SetPowerRequest({ - $core.String? name, - $15.Vector3? linear, - $15.Vector3? angular, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (linear != null) { - $result.linear = linear; - } - if (angular != null) { - $result.angular = angular; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetPowerRequest._() : super(); - factory SetPowerRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPowerRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $15.Vector3.create) - ..aOM<$15.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $15.Vector3.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPowerRequest clone() => SetPowerRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPowerRequest copyWith(void Function(SetPowerRequest) updates) => super.copyWith((message) => updates(message as SetPowerRequest)) as SetPowerRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPowerRequest create() => SetPowerRequest._(); - SetPowerRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPowerRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPowerRequest? _defaultInstance; - - /// Name of a base - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Desired linear power percentage as -1 -> 1 - @$pb.TagNumber(2) - $15.Vector3 get linear => $_getN(1); - @$pb.TagNumber(2) - set linear($15.Vector3 v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLinear() => $_has(1); - @$pb.TagNumber(2) - void clearLinear() => clearField(2); - @$pb.TagNumber(2) - $15.Vector3 ensureLinear() => $_ensure(1); - - /// Desired angular power percentage % as -1 -> 1 - @$pb.TagNumber(3) - $15.Vector3 get angular => $_getN(2); - @$pb.TagNumber(3) - set angular($15.Vector3 v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasAngular() => $_has(2); - @$pb.TagNumber(3) - void clearAngular() => clearField(3); - @$pb.TagNumber(3) - $15.Vector3 ensureAngular() => $_ensure(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class SetPowerResponse extends $pb.GeneratedMessage { - factory SetPowerResponse() => create(); - SetPowerResponse._() : super(); - factory SetPowerResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPowerResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPowerResponse clone() => SetPowerResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPowerResponse copyWith(void Function(SetPowerResponse) updates) => super.copyWith((message) => updates(message as SetPowerResponse)) as SetPowerResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPowerResponse create() => SetPowerResponse._(); - SetPowerResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPowerResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPowerResponse? _defaultInstance; -} - -class SetVelocityRequest extends $pb.GeneratedMessage { - factory SetVelocityRequest({ - $core.String? name, - $15.Vector3? linear, - $15.Vector3? angular, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (linear != null) { - $result.linear = linear; - } - if (angular != null) { - $result.angular = angular; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetVelocityRequest._() : super(); - factory SetVelocityRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetVelocityRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetVelocityRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $15.Vector3.create) - ..aOM<$15.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $15.Vector3.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetVelocityRequest clone() => SetVelocityRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetVelocityRequest copyWith(void Function(SetVelocityRequest) updates) => super.copyWith((message) => updates(message as SetVelocityRequest)) as SetVelocityRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetVelocityRequest create() => SetVelocityRequest._(); - SetVelocityRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetVelocityRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetVelocityRequest? _defaultInstance; - - /// Name of a base - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Desired linear velocity in mm per second - @$pb.TagNumber(2) - $15.Vector3 get linear => $_getN(1); - @$pb.TagNumber(2) - set linear($15.Vector3 v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLinear() => $_has(1); - @$pb.TagNumber(2) - void clearLinear() => clearField(2); - @$pb.TagNumber(2) - $15.Vector3 ensureLinear() => $_ensure(1); - - /// Desired angular velocity in degrees per second - @$pb.TagNumber(3) - $15.Vector3 get angular => $_getN(2); - @$pb.TagNumber(3) - set angular($15.Vector3 v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasAngular() => $_has(2); - @$pb.TagNumber(3) - void clearAngular() => clearField(3); - @$pb.TagNumber(3) - $15.Vector3 ensureAngular() => $_ensure(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class SetVelocityResponse extends $pb.GeneratedMessage { - factory SetVelocityResponse() => create(); - SetVelocityResponse._() : super(); - factory SetVelocityResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetVelocityResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetVelocityResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetVelocityResponse clone() => SetVelocityResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetVelocityResponse copyWith(void Function(SetVelocityResponse) updates) => super.copyWith((message) => updates(message as SetVelocityResponse)) as SetVelocityResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetVelocityResponse create() => SetVelocityResponse._(); - SetVelocityResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetVelocityResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetVelocityResponse? _defaultInstance; -} - -class IsMovingRequest extends $pb.GeneratedMessage { - factory IsMovingRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - IsMovingRequest._() : super(); - factory IsMovingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingRequest clone() => IsMovingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingRequest copyWith(void Function(IsMovingRequest) updates) => super.copyWith((message) => updates(message as IsMovingRequest)) as IsMovingRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingRequest create() => IsMovingRequest._(); - IsMovingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class IsMovingResponse extends $pb.GeneratedMessage { - factory IsMovingResponse({ - $core.bool? isMoving, - }) { - final $result = create(); - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - IsMovingResponse._() : super(); - factory IsMovingResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingResponse clone() => IsMovingResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingResponse copyWith(void Function(IsMovingResponse) updates) => super.copyWith((message) => updates(message as IsMovingResponse)) as IsMovingResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingResponse create() => IsMovingResponse._(); - IsMovingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get isMoving => $_getBF(0); - @$pb.TagNumber(1) - set isMoving($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsMoving() => $_has(0); - @$pb.TagNumber(1) - void clearIsMoving() => clearField(1); -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// Name of the base - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - $core.double? widthMeters, - $core.double? turningRadiusMeters, - $core.double? wheelCircumferenceMeters, - }) { - final $result = create(); - if (widthMeters != null) { - $result.widthMeters = widthMeters; - } - if (turningRadiusMeters != null) { - $result.turningRadiusMeters = turningRadiusMeters; - } - if (wheelCircumferenceMeters != null) { - $result.wheelCircumferenceMeters = wheelCircumferenceMeters; - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'widthMeters', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'turningRadiusMeters', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'wheelCircumferenceMeters', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get widthMeters => $_getN(0); - @$pb.TagNumber(1) - set widthMeters($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasWidthMeters() => $_has(0); - @$pb.TagNumber(1) - void clearWidthMeters() => clearField(1); - - @$pb.TagNumber(2) - $core.double get turningRadiusMeters => $_getN(1); - @$pb.TagNumber(2) - set turningRadiusMeters($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasTurningRadiusMeters() => $_has(1); - @$pb.TagNumber(2) - void clearTurningRadiusMeters() => clearField(2); - - @$pb.TagNumber(3) - $core.double get wheelCircumferenceMeters => $_getN(2); - @$pb.TagNumber(3) - set wheelCircumferenceMeters($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasWheelCircumferenceMeters() => $_has(2); - @$pb.TagNumber(3) - void clearWheelCircumferenceMeters() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/base/v1/base.pbenum.dart b/lib/src/gen/component/base/v1/base.pbenum.dart deleted file mode 100644 index 58e93b493f0..00000000000 --- a/lib/src/gen/component/base/v1/base.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/base/v1/base.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/base/v1/base.pbgrpc.dart b/lib/src/gen/component/base/v1/base.pbgrpc.dart deleted file mode 100644 index 273b25d0d3a..00000000000 --- a/lib/src/gen/component/base/v1/base.pbgrpc.dart +++ /dev/null @@ -1,220 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/base/v1/base.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'base.pb.dart' as $18; - -export 'base.pb.dart'; - -@$pb.GrpcServiceName('viam.component.base.v1.BaseService') -class BaseServiceClient extends $grpc.Client { - static final _$moveStraight = $grpc.ClientMethod<$18.MoveStraightRequest, $18.MoveStraightResponse>( - '/viam.component.base.v1.BaseService/MoveStraight', - ($18.MoveStraightRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.MoveStraightResponse.fromBuffer(value)); - static final _$spin = $grpc.ClientMethod<$18.SpinRequest, $18.SpinResponse>( - '/viam.component.base.v1.BaseService/Spin', - ($18.SpinRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.SpinResponse.fromBuffer(value)); - static final _$setPower = $grpc.ClientMethod<$18.SetPowerRequest, $18.SetPowerResponse>( - '/viam.component.base.v1.BaseService/SetPower', - ($18.SetPowerRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.SetPowerResponse.fromBuffer(value)); - static final _$setVelocity = $grpc.ClientMethod<$18.SetVelocityRequest, $18.SetVelocityResponse>( - '/viam.component.base.v1.BaseService/SetVelocity', - ($18.SetVelocityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.SetVelocityResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$18.StopRequest, $18.StopResponse>( - '/viam.component.base.v1.BaseService/Stop', - ($18.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$18.IsMovingRequest, $18.IsMovingResponse>( - '/viam.component.base.v1.BaseService/IsMoving', - ($18.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.base.v1.BaseService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.base.v1.BaseService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$18.GetPropertiesRequest, $18.GetPropertiesResponse>( - '/viam.component.base.v1.BaseService/GetProperties', - ($18.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.GetPropertiesResponse.fromBuffer(value)); - - BaseServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$18.MoveStraightResponse> moveStraight($18.MoveStraightRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$moveStraight, request, options: options); - } - - $grpc.ResponseFuture<$18.SpinResponse> spin($18.SpinRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$spin, request, options: options); - } - - $grpc.ResponseFuture<$18.SetPowerResponse> setPower($18.SetPowerRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setPower, request, options: options); - } - - $grpc.ResponseFuture<$18.SetVelocityResponse> setVelocity($18.SetVelocityRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setVelocity, request, options: options); - } - - $grpc.ResponseFuture<$18.StopResponse> stop($18.StopRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stop, request, options: options); - } - - $grpc.ResponseFuture<$18.IsMovingResponse> isMoving($18.IsMovingRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isMoving, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } - - $grpc.ResponseFuture<$18.GetPropertiesResponse> getProperties($18.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.base.v1.BaseService') -abstract class BaseServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.base.v1.BaseService'; - - BaseServiceBase() { - $addMethod($grpc.ServiceMethod<$18.MoveStraightRequest, $18.MoveStraightResponse>( - 'MoveStraight', - moveStraight_Pre, - false, - false, - ($core.List<$core.int> value) => $18.MoveStraightRequest.fromBuffer(value), - ($18.MoveStraightResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.SpinRequest, $18.SpinResponse>( - 'Spin', - spin_Pre, - false, - false, - ($core.List<$core.int> value) => $18.SpinRequest.fromBuffer(value), - ($18.SpinResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.SetPowerRequest, $18.SetPowerResponse>( - 'SetPower', - setPower_Pre, - false, - false, - ($core.List<$core.int> value) => $18.SetPowerRequest.fromBuffer(value), - ($18.SetPowerResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.SetVelocityRequest, $18.SetVelocityResponse>( - 'SetVelocity', - setVelocity_Pre, - false, - false, - ($core.List<$core.int> value) => $18.SetVelocityRequest.fromBuffer(value), - ($18.SetVelocityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.StopRequest, $18.StopResponse>( - 'Stop', - stop_Pre, - false, - false, - ($core.List<$core.int> value) => $18.StopRequest.fromBuffer(value), - ($18.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.IsMovingRequest, $18.IsMovingResponse>( - 'IsMoving', - isMoving_Pre, - false, - false, - ($core.List<$core.int> value) => $18.IsMovingRequest.fromBuffer(value), - ($18.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.GetPropertiesRequest, $18.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $18.GetPropertiesRequest.fromBuffer(value), - ($18.GetPropertiesResponse value) => value.writeToBuffer())); - } - - $async.Future<$18.MoveStraightResponse> moveStraight_Pre($grpc.ServiceCall call, $async.Future<$18.MoveStraightRequest> request) async { - return moveStraight(call, await request); - } - - $async.Future<$18.SpinResponse> spin_Pre($grpc.ServiceCall call, $async.Future<$18.SpinRequest> request) async { - return spin(call, await request); - } - - $async.Future<$18.SetPowerResponse> setPower_Pre($grpc.ServiceCall call, $async.Future<$18.SetPowerRequest> request) async { - return setPower(call, await request); - } - - $async.Future<$18.SetVelocityResponse> setVelocity_Pre($grpc.ServiceCall call, $async.Future<$18.SetVelocityRequest> request) async { - return setVelocity(call, await request); - } - - $async.Future<$18.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$18.StopRequest> request) async { - return stop(call, await request); - } - - $async.Future<$18.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$18.IsMovingRequest> request) async { - return isMoving(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$18.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$18.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$18.MoveStraightResponse> moveStraight($grpc.ServiceCall call, $18.MoveStraightRequest request); - $async.Future<$18.SpinResponse> spin($grpc.ServiceCall call, $18.SpinRequest request); - $async.Future<$18.SetPowerResponse> setPower($grpc.ServiceCall call, $18.SetPowerRequest request); - $async.Future<$18.SetVelocityResponse> setVelocity($grpc.ServiceCall call, $18.SetVelocityRequest request); - $async.Future<$18.StopResponse> stop($grpc.ServiceCall call, $18.StopRequest request); - $async.Future<$18.IsMovingResponse> isMoving($grpc.ServiceCall call, $18.IsMovingRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); - $async.Future<$18.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $18.GetPropertiesRequest request); -} diff --git a/lib/src/gen/component/base/v1/base.pbjson.dart b/lib/src/gen/component/base/v1/base.pbjson.dart deleted file mode 100644 index 8fddcb7f866..00000000000 --- a/lib/src/gen/component/base/v1/base.pbjson.dart +++ /dev/null @@ -1,199 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/base/v1/base.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use moveStraightRequestDescriptor instead') -const MoveStraightRequest$json = { - '1': 'MoveStraightRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'distance_mm', '3': 2, '4': 1, '5': 3, '10': 'distanceMm'}, - {'1': 'mm_per_sec', '3': 3, '4': 1, '5': 1, '10': 'mmPerSec'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `MoveStraightRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveStraightRequestDescriptor = $convert.base64Decode( - 'ChNNb3ZlU3RyYWlnaHRSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSHwoLZGlzdGFuY2VfbW' - '0YAiABKANSCmRpc3RhbmNlTW0SHAoKbW1fcGVyX3NlYxgDIAEoAVIIbW1QZXJTZWMSLQoFZXh0' - 'cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use moveStraightResponseDescriptor instead') -const MoveStraightResponse$json = { - '1': 'MoveStraightResponse', -}; - -/// Descriptor for `MoveStraightResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveStraightResponseDescriptor = $convert.base64Decode( - 'ChRNb3ZlU3RyYWlnaHRSZXNwb25zZQ=='); - -@$core.Deprecated('Use spinRequestDescriptor instead') -const SpinRequest$json = { - '1': 'SpinRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'angle_deg', '3': 2, '4': 1, '5': 1, '10': 'angleDeg'}, - {'1': 'degs_per_sec', '3': 3, '4': 1, '5': 1, '10': 'degsPerSec'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SpinRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List spinRequestDescriptor = $convert.base64Decode( - 'CgtTcGluUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhsKCWFuZ2xlX2RlZxgCIAEoAVIIYW' - '5nbGVEZWcSIAoMZGVnc19wZXJfc2VjGAMgASgBUgpkZWdzUGVyU2VjEi0KBWV4dHJhGGMgASgL' - 'MhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use spinResponseDescriptor instead') -const SpinResponse$json = { - '1': 'SpinResponse', -}; - -/// Descriptor for `SpinResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List spinResponseDescriptor = $convert.base64Decode( - 'CgxTcGluUmVzcG9uc2U='); - -@$core.Deprecated('Use stopRequestDescriptor instead') -const StopRequest$json = { - '1': 'StopRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopRequestDescriptor = $convert.base64Decode( - 'CgtTdG9wUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use stopResponseDescriptor instead') -const StopResponse$json = { - '1': 'StopResponse', -}; - -/// Descriptor for `StopResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopResponseDescriptor = $convert.base64Decode( - 'CgxTdG9wUmVzcG9uc2U='); - -@$core.Deprecated('Use setPowerRequestDescriptor instead') -const SetPowerRequest$json = { - '1': 'SetPowerRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'linear', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'linear'}, - {'1': 'angular', '3': 3, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'angular'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetPowerRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPowerRequestDescriptor = $convert.base64Decode( - 'Cg9TZXRQb3dlclJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIvCgZsaW5lYXIYAiABKAsyFy' - '52aWFtLmNvbW1vbi52MS5WZWN0b3IzUgZsaW5lYXISMQoHYW5ndWxhchgDIAEoCzIXLnZpYW0u' - 'Y29tbW9uLnYxLlZlY3RvcjNSB2FuZ3VsYXISLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG' - '9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use setPowerResponseDescriptor instead') -const SetPowerResponse$json = { - '1': 'SetPowerResponse', -}; - -/// Descriptor for `SetPowerResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPowerResponseDescriptor = $convert.base64Decode( - 'ChBTZXRQb3dlclJlc3BvbnNl'); - -@$core.Deprecated('Use setVelocityRequestDescriptor instead') -const SetVelocityRequest$json = { - '1': 'SetVelocityRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'linear', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'linear'}, - {'1': 'angular', '3': 3, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'angular'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetVelocityRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setVelocityRequestDescriptor = $convert.base64Decode( - 'ChJTZXRWZWxvY2l0eVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIvCgZsaW5lYXIYAiABKA' - 'syFy52aWFtLmNvbW1vbi52MS5WZWN0b3IzUgZsaW5lYXISMQoHYW5ndWxhchgDIAEoCzIXLnZp' - 'YW0uY29tbW9uLnYxLlZlY3RvcjNSB2FuZ3VsYXISLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucH' - 'JvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use setVelocityResponseDescriptor instead') -const SetVelocityResponse$json = { - '1': 'SetVelocityResponse', -}; - -/// Descriptor for `SetVelocityResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setVelocityResponseDescriptor = $convert.base64Decode( - 'ChNTZXRWZWxvY2l0eVJlc3BvbnNl'); - -@$core.Deprecated('Use isMovingRequestDescriptor instead') -const IsMovingRequest$json = { - '1': 'IsMovingRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `IsMovingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingRequestDescriptor = $convert.base64Decode( - 'Cg9Jc01vdmluZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use isMovingResponseDescriptor instead') -const IsMovingResponse$json = { - '1': 'IsMovingResponse', - '2': [ - {'1': 'is_moving', '3': 1, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `IsMovingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingResponseDescriptor = $convert.base64Decode( - 'ChBJc01vdmluZ1Jlc3BvbnNlEhsKCWlzX21vdmluZxgBIAEoCFIIaXNNb3Zpbmc='); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'width_meters', '3': 1, '4': 1, '5': 1, '10': 'widthMeters'}, - {'1': 'turning_radius_meters', '3': 2, '4': 1, '5': 1, '10': 'turningRadiusMeters'}, - {'1': 'wheel_circumference_meters', '3': 3, '4': 1, '5': 1, '10': 'wheelCircumferenceMeters'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USIQoMd2lkdGhfbWV0ZXJzGAEgASgBUgt3aWR0aE1ldG' - 'VycxIyChV0dXJuaW5nX3JhZGl1c19tZXRlcnMYAiABKAFSE3R1cm5pbmdSYWRpdXNNZXRlcnMS' - 'PAoad2hlZWxfY2lyY3VtZmVyZW5jZV9tZXRlcnMYAyABKAFSGHdoZWVsQ2lyY3VtZmVyZW5jZU' - '1ldGVycw=='); - diff --git a/lib/src/gen/component/board/v1/board.pb.dart b/lib/src/gen/component/board/v1/board.pb.dart deleted file mode 100644 index 7e3f43b9db4..00000000000 --- a/lib/src/gen/component/board/v1/board.pb.dart +++ /dev/null @@ -1,1572 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/board/v1/board.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/duration.pb.dart' as $45; -import '../../../google/protobuf/struct.pb.dart' as $46; -import 'board.pbenum.dart'; - -export 'board.pbenum.dart'; - -class Status extends $pb.GeneratedMessage { - factory Status({ - $core.Map<$core.String, $core.int>? analogs, - $core.Map<$core.String, $fixnum.Int64>? digitalInterrupts, - }) { - final $result = create(); - if (analogs != null) { - $result.analogs.addAll(analogs); - } - if (digitalInterrupts != null) { - $result.digitalInterrupts.addAll(digitalInterrupts); - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..m<$core.String, $core.int>(1, _omitFieldNames ? '' : 'analogs', entryClassName: 'Status.AnalogsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.O3, packageName: const $pb.PackageName('viam.component.board.v1')) - ..m<$core.String, $fixnum.Int64>(2, _omitFieldNames ? '' : 'digitalInterrupts', entryClassName: 'Status.DigitalInterruptsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.O6, packageName: const $pb.PackageName('viam.component.board.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.String, $core.int> get analogs => $_getMap(0); - - @$pb.TagNumber(2) - $core.Map<$core.String, $fixnum.Int64> get digitalInterrupts => $_getMap(1); -} - -class SetGPIORequest extends $pb.GeneratedMessage { - factory SetGPIORequest({ - $core.String? name, - $core.String? pin, - $core.bool? high, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pin != null) { - $result.pin = pin; - } - if (high != null) { - $result.high = high; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetGPIORequest._() : super(); - factory SetGPIORequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetGPIORequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetGPIORequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'pin') - ..aOB(3, _omitFieldNames ? '' : 'high') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetGPIORequest clone() => SetGPIORequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetGPIORequest copyWith(void Function(SetGPIORequest) updates) => super.copyWith((message) => updates(message as SetGPIORequest)) as SetGPIORequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetGPIORequest create() => SetGPIORequest._(); - SetGPIORequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetGPIORequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetGPIORequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pin => $_getSZ(1); - @$pb.TagNumber(2) - set pin($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPin() => $_has(1); - @$pb.TagNumber(2) - void clearPin() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get high => $_getBF(2); - @$pb.TagNumber(3) - set high($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasHigh() => $_has(2); - @$pb.TagNumber(3) - void clearHigh() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class SetGPIOResponse extends $pb.GeneratedMessage { - factory SetGPIOResponse() => create(); - SetGPIOResponse._() : super(); - factory SetGPIOResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetGPIOResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetGPIOResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetGPIOResponse clone() => SetGPIOResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetGPIOResponse copyWith(void Function(SetGPIOResponse) updates) => super.copyWith((message) => updates(message as SetGPIOResponse)) as SetGPIOResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetGPIOResponse create() => SetGPIOResponse._(); - SetGPIOResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetGPIOResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetGPIOResponse? _defaultInstance; -} - -class GetGPIORequest extends $pb.GeneratedMessage { - factory GetGPIORequest({ - $core.String? name, - $core.String? pin, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pin != null) { - $result.pin = pin; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetGPIORequest._() : super(); - factory GetGPIORequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetGPIORequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetGPIORequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'pin') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetGPIORequest clone() => GetGPIORequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetGPIORequest copyWith(void Function(GetGPIORequest) updates) => super.copyWith((message) => updates(message as GetGPIORequest)) as GetGPIORequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetGPIORequest create() => GetGPIORequest._(); - GetGPIORequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetGPIORequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetGPIORequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pin => $_getSZ(1); - @$pb.TagNumber(2) - set pin($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPin() => $_has(1); - @$pb.TagNumber(2) - void clearPin() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetGPIOResponse extends $pb.GeneratedMessage { - factory GetGPIOResponse({ - $core.bool? high, - }) { - final $result = create(); - if (high != null) { - $result.high = high; - } - return $result; - } - GetGPIOResponse._() : super(); - factory GetGPIOResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetGPIOResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetGPIOResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'high') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetGPIOResponse clone() => GetGPIOResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetGPIOResponse copyWith(void Function(GetGPIOResponse) updates) => super.copyWith((message) => updates(message as GetGPIOResponse)) as GetGPIOResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetGPIOResponse create() => GetGPIOResponse._(); - GetGPIOResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetGPIOResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetGPIOResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get high => $_getBF(0); - @$pb.TagNumber(1) - set high($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasHigh() => $_has(0); - @$pb.TagNumber(1) - void clearHigh() => clearField(1); -} - -class PWMRequest extends $pb.GeneratedMessage { - factory PWMRequest({ - $core.String? name, - $core.String? pin, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pin != null) { - $result.pin = pin; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - PWMRequest._() : super(); - factory PWMRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PWMRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PWMRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'pin') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PWMRequest clone() => PWMRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PWMRequest copyWith(void Function(PWMRequest) updates) => super.copyWith((message) => updates(message as PWMRequest)) as PWMRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PWMRequest create() => PWMRequest._(); - PWMRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PWMRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PWMRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pin => $_getSZ(1); - @$pb.TagNumber(2) - set pin($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPin() => $_has(1); - @$pb.TagNumber(2) - void clearPin() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class PWMResponse extends $pb.GeneratedMessage { - factory PWMResponse({ - $core.double? dutyCyclePct, - }) { - final $result = create(); - if (dutyCyclePct != null) { - $result.dutyCyclePct = dutyCyclePct; - } - return $result; - } - PWMResponse._() : super(); - factory PWMResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PWMResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PWMResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'dutyCyclePct', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PWMResponse clone() => PWMResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PWMResponse copyWith(void Function(PWMResponse) updates) => super.copyWith((message) => updates(message as PWMResponse)) as PWMResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PWMResponse create() => PWMResponse._(); - PWMResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PWMResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PWMResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get dutyCyclePct => $_getN(0); - @$pb.TagNumber(1) - set dutyCyclePct($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasDutyCyclePct() => $_has(0); - @$pb.TagNumber(1) - void clearDutyCyclePct() => clearField(1); -} - -class SetPWMRequest extends $pb.GeneratedMessage { - factory SetPWMRequest({ - $core.String? name, - $core.String? pin, - $core.double? dutyCyclePct, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pin != null) { - $result.pin = pin; - } - if (dutyCyclePct != null) { - $result.dutyCyclePct = dutyCyclePct; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetPWMRequest._() : super(); - factory SetPWMRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPWMRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPWMRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'pin') - ..a<$core.double>(3, _omitFieldNames ? '' : 'dutyCyclePct', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPWMRequest clone() => SetPWMRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPWMRequest copyWith(void Function(SetPWMRequest) updates) => super.copyWith((message) => updates(message as SetPWMRequest)) as SetPWMRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPWMRequest create() => SetPWMRequest._(); - SetPWMRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPWMRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPWMRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pin => $_getSZ(1); - @$pb.TagNumber(2) - set pin($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPin() => $_has(1); - @$pb.TagNumber(2) - void clearPin() => clearField(2); - - @$pb.TagNumber(3) - $core.double get dutyCyclePct => $_getN(2); - @$pb.TagNumber(3) - set dutyCyclePct($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasDutyCyclePct() => $_has(2); - @$pb.TagNumber(3) - void clearDutyCyclePct() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class SetPWMResponse extends $pb.GeneratedMessage { - factory SetPWMResponse() => create(); - SetPWMResponse._() : super(); - factory SetPWMResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPWMResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPWMResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPWMResponse clone() => SetPWMResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPWMResponse copyWith(void Function(SetPWMResponse) updates) => super.copyWith((message) => updates(message as SetPWMResponse)) as SetPWMResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPWMResponse create() => SetPWMResponse._(); - SetPWMResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPWMResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPWMResponse? _defaultInstance; -} - -class PWMFrequencyRequest extends $pb.GeneratedMessage { - factory PWMFrequencyRequest({ - $core.String? name, - $core.String? pin, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pin != null) { - $result.pin = pin; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - PWMFrequencyRequest._() : super(); - factory PWMFrequencyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PWMFrequencyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PWMFrequencyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'pin') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PWMFrequencyRequest clone() => PWMFrequencyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PWMFrequencyRequest copyWith(void Function(PWMFrequencyRequest) updates) => super.copyWith((message) => updates(message as PWMFrequencyRequest)) as PWMFrequencyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PWMFrequencyRequest create() => PWMFrequencyRequest._(); - PWMFrequencyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PWMFrequencyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PWMFrequencyRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pin => $_getSZ(1); - @$pb.TagNumber(2) - set pin($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPin() => $_has(1); - @$pb.TagNumber(2) - void clearPin() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class PWMFrequencyResponse extends $pb.GeneratedMessage { - factory PWMFrequencyResponse({ - $fixnum.Int64? frequencyHz, - }) { - final $result = create(); - if (frequencyHz != null) { - $result.frequencyHz = frequencyHz; - } - return $result; - } - PWMFrequencyResponse._() : super(); - factory PWMFrequencyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PWMFrequencyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PWMFrequencyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'frequencyHz', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PWMFrequencyResponse clone() => PWMFrequencyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PWMFrequencyResponse copyWith(void Function(PWMFrequencyResponse) updates) => super.copyWith((message) => updates(message as PWMFrequencyResponse)) as PWMFrequencyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PWMFrequencyResponse create() => PWMFrequencyResponse._(); - PWMFrequencyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PWMFrequencyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PWMFrequencyResponse? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get frequencyHz => $_getI64(0); - @$pb.TagNumber(1) - set frequencyHz($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasFrequencyHz() => $_has(0); - @$pb.TagNumber(1) - void clearFrequencyHz() => clearField(1); -} - -class SetPWMFrequencyRequest extends $pb.GeneratedMessage { - factory SetPWMFrequencyRequest({ - $core.String? name, - $core.String? pin, - $fixnum.Int64? frequencyHz, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pin != null) { - $result.pin = pin; - } - if (frequencyHz != null) { - $result.frequencyHz = frequencyHz; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetPWMFrequencyRequest._() : super(); - factory SetPWMFrequencyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPWMFrequencyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPWMFrequencyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'pin') - ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'frequencyHz', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPWMFrequencyRequest clone() => SetPWMFrequencyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPWMFrequencyRequest copyWith(void Function(SetPWMFrequencyRequest) updates) => super.copyWith((message) => updates(message as SetPWMFrequencyRequest)) as SetPWMFrequencyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPWMFrequencyRequest create() => SetPWMFrequencyRequest._(); - SetPWMFrequencyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPWMFrequencyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPWMFrequencyRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pin => $_getSZ(1); - @$pb.TagNumber(2) - set pin($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPin() => $_has(1); - @$pb.TagNumber(2) - void clearPin() => clearField(2); - - @$pb.TagNumber(3) - $fixnum.Int64 get frequencyHz => $_getI64(2); - @$pb.TagNumber(3) - set frequencyHz($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasFrequencyHz() => $_has(2); - @$pb.TagNumber(3) - void clearFrequencyHz() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class SetPWMFrequencyResponse extends $pb.GeneratedMessage { - factory SetPWMFrequencyResponse() => create(); - SetPWMFrequencyResponse._() : super(); - factory SetPWMFrequencyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPWMFrequencyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPWMFrequencyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPWMFrequencyResponse clone() => SetPWMFrequencyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPWMFrequencyResponse copyWith(void Function(SetPWMFrequencyResponse) updates) => super.copyWith((message) => updates(message as SetPWMFrequencyResponse)) as SetPWMFrequencyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPWMFrequencyResponse create() => SetPWMFrequencyResponse._(); - SetPWMFrequencyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPWMFrequencyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPWMFrequencyResponse? _defaultInstance; -} - -class ReadAnalogReaderRequest extends $pb.GeneratedMessage { - factory ReadAnalogReaderRequest({ - $core.String? boardName, - $core.String? analogReaderName, - $46.Struct? extra, - }) { - final $result = create(); - if (boardName != null) { - $result.boardName = boardName; - } - if (analogReaderName != null) { - $result.analogReaderName = analogReaderName; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - ReadAnalogReaderRequest._() : super(); - factory ReadAnalogReaderRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadAnalogReaderRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadAnalogReaderRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'boardName') - ..aOS(2, _omitFieldNames ? '' : 'analogReaderName') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadAnalogReaderRequest clone() => ReadAnalogReaderRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadAnalogReaderRequest copyWith(void Function(ReadAnalogReaderRequest) updates) => super.copyWith((message) => updates(message as ReadAnalogReaderRequest)) as ReadAnalogReaderRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadAnalogReaderRequest create() => ReadAnalogReaderRequest._(); - ReadAnalogReaderRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadAnalogReaderRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadAnalogReaderRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get boardName => $_getSZ(0); - @$pb.TagNumber(1) - set boardName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBoardName() => $_has(0); - @$pb.TagNumber(1) - void clearBoardName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get analogReaderName => $_getSZ(1); - @$pb.TagNumber(2) - set analogReaderName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasAnalogReaderName() => $_has(1); - @$pb.TagNumber(2) - void clearAnalogReaderName() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class ReadAnalogReaderResponse extends $pb.GeneratedMessage { - factory ReadAnalogReaderResponse({ - $core.int? value, - $core.double? minRange, - $core.double? maxRange, - $core.double? stepSize, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - if (minRange != null) { - $result.minRange = minRange; - } - if (maxRange != null) { - $result.maxRange = maxRange; - } - if (stepSize != null) { - $result.stepSize = stepSize; - } - return $result; - } - ReadAnalogReaderResponse._() : super(); - factory ReadAnalogReaderResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadAnalogReaderResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadAnalogReaderResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) - ..a<$core.double>(2, _omitFieldNames ? '' : 'minRange', $pb.PbFieldType.OF) - ..a<$core.double>(3, _omitFieldNames ? '' : 'maxRange', $pb.PbFieldType.OF) - ..a<$core.double>(4, _omitFieldNames ? '' : 'stepSize', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadAnalogReaderResponse clone() => ReadAnalogReaderResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadAnalogReaderResponse copyWith(void Function(ReadAnalogReaderResponse) updates) => super.copyWith((message) => updates(message as ReadAnalogReaderResponse)) as ReadAnalogReaderResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadAnalogReaderResponse create() => ReadAnalogReaderResponse._(); - ReadAnalogReaderResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadAnalogReaderResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadAnalogReaderResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get value => $_getIZ(0); - @$pb.TagNumber(1) - set value($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); - - @$pb.TagNumber(2) - $core.double get minRange => $_getN(1); - @$pb.TagNumber(2) - set minRange($core.double v) { $_setFloat(1, v); } - @$pb.TagNumber(2) - $core.bool hasMinRange() => $_has(1); - @$pb.TagNumber(2) - void clearMinRange() => clearField(2); - - @$pb.TagNumber(3) - $core.double get maxRange => $_getN(2); - @$pb.TagNumber(3) - set maxRange($core.double v) { $_setFloat(2, v); } - @$pb.TagNumber(3) - $core.bool hasMaxRange() => $_has(2); - @$pb.TagNumber(3) - void clearMaxRange() => clearField(3); - - @$pb.TagNumber(4) - $core.double get stepSize => $_getN(3); - @$pb.TagNumber(4) - set stepSize($core.double v) { $_setFloat(3, v); } - @$pb.TagNumber(4) - $core.bool hasStepSize() => $_has(3); - @$pb.TagNumber(4) - void clearStepSize() => clearField(4); -} - -class WriteAnalogRequest extends $pb.GeneratedMessage { - factory WriteAnalogRequest({ - $core.String? name, - $core.String? pin, - $core.int? value, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pin != null) { - $result.pin = pin; - } - if (value != null) { - $result.value = value; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - WriteAnalogRequest._() : super(); - factory WriteAnalogRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WriteAnalogRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WriteAnalogRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'pin') - ..a<$core.int>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WriteAnalogRequest clone() => WriteAnalogRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WriteAnalogRequest copyWith(void Function(WriteAnalogRequest) updates) => super.copyWith((message) => updates(message as WriteAnalogRequest)) as WriteAnalogRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WriteAnalogRequest create() => WriteAnalogRequest._(); - WriteAnalogRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WriteAnalogRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WriteAnalogRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get pin => $_getSZ(1); - @$pb.TagNumber(2) - set pin($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPin() => $_has(1); - @$pb.TagNumber(2) - void clearPin() => clearField(2); - - @$pb.TagNumber(3) - $core.int get value => $_getIZ(2); - @$pb.TagNumber(3) - set value($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasValue() => $_has(2); - @$pb.TagNumber(3) - void clearValue() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class WriteAnalogResponse extends $pb.GeneratedMessage { - factory WriteAnalogResponse() => create(); - WriteAnalogResponse._() : super(); - factory WriteAnalogResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WriteAnalogResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WriteAnalogResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WriteAnalogResponse clone() => WriteAnalogResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WriteAnalogResponse copyWith(void Function(WriteAnalogResponse) updates) => super.copyWith((message) => updates(message as WriteAnalogResponse)) as WriteAnalogResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WriteAnalogResponse create() => WriteAnalogResponse._(); - WriteAnalogResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WriteAnalogResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WriteAnalogResponse? _defaultInstance; -} - -class GetDigitalInterruptValueRequest extends $pb.GeneratedMessage { - factory GetDigitalInterruptValueRequest({ - $core.String? boardName, - $core.String? digitalInterruptName, - $46.Struct? extra, - }) { - final $result = create(); - if (boardName != null) { - $result.boardName = boardName; - } - if (digitalInterruptName != null) { - $result.digitalInterruptName = digitalInterruptName; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetDigitalInterruptValueRequest._() : super(); - factory GetDigitalInterruptValueRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDigitalInterruptValueRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDigitalInterruptValueRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'boardName') - ..aOS(2, _omitFieldNames ? '' : 'digitalInterruptName') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDigitalInterruptValueRequest clone() => GetDigitalInterruptValueRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDigitalInterruptValueRequest copyWith(void Function(GetDigitalInterruptValueRequest) updates) => super.copyWith((message) => updates(message as GetDigitalInterruptValueRequest)) as GetDigitalInterruptValueRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDigitalInterruptValueRequest create() => GetDigitalInterruptValueRequest._(); - GetDigitalInterruptValueRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDigitalInterruptValueRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDigitalInterruptValueRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get boardName => $_getSZ(0); - @$pb.TagNumber(1) - set boardName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBoardName() => $_has(0); - @$pb.TagNumber(1) - void clearBoardName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get digitalInterruptName => $_getSZ(1); - @$pb.TagNumber(2) - set digitalInterruptName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDigitalInterruptName() => $_has(1); - @$pb.TagNumber(2) - void clearDigitalInterruptName() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetDigitalInterruptValueResponse extends $pb.GeneratedMessage { - factory GetDigitalInterruptValueResponse({ - $fixnum.Int64? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - GetDigitalInterruptValueResponse._() : super(); - factory GetDigitalInterruptValueResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDigitalInterruptValueResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDigitalInterruptValueResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'value') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDigitalInterruptValueResponse clone() => GetDigitalInterruptValueResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDigitalInterruptValueResponse copyWith(void Function(GetDigitalInterruptValueResponse) updates) => super.copyWith((message) => updates(message as GetDigitalInterruptValueResponse)) as GetDigitalInterruptValueResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDigitalInterruptValueResponse create() => GetDigitalInterruptValueResponse._(); - GetDigitalInterruptValueResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDigitalInterruptValueResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDigitalInterruptValueResponse? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get value => $_getI64(0); - @$pb.TagNumber(1) - set value($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -class StreamTicksRequest extends $pb.GeneratedMessage { - factory StreamTicksRequest({ - $core.String? name, - $core.Iterable<$core.String>? pinNames, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (pinNames != null) { - $result.pinNames.addAll(pinNames); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StreamTicksRequest._() : super(); - factory StreamTicksRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamTicksRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamTicksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pPS(2, _omitFieldNames ? '' : 'pinNames') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamTicksRequest clone() => StreamTicksRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamTicksRequest copyWith(void Function(StreamTicksRequest) updates) => super.copyWith((message) => updates(message as StreamTicksRequest)) as StreamTicksRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamTicksRequest create() => StreamTicksRequest._(); - StreamTicksRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamTicksRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamTicksRequest? _defaultInstance; - - /// Board name - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Name of digital interrupts to recieve ticks from - @$pb.TagNumber(2) - $core.List<$core.String> get pinNames => $_getList(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class StreamTicksResponse extends $pb.GeneratedMessage { - factory StreamTicksResponse({ - $core.String? pinName, - $fixnum.Int64? time, - $core.bool? high, - }) { - final $result = create(); - if (pinName != null) { - $result.pinName = pinName; - } - if (time != null) { - $result.time = time; - } - if (high != null) { - $result.high = high; - } - return $result; - } - StreamTicksResponse._() : super(); - factory StreamTicksResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamTicksResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamTicksResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'pinName') - ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'time', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOB(3, _omitFieldNames ? '' : 'high') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamTicksResponse clone() => StreamTicksResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamTicksResponse copyWith(void Function(StreamTicksResponse) updates) => super.copyWith((message) => updates(message as StreamTicksResponse)) as StreamTicksResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamTicksResponse create() => StreamTicksResponse._(); - StreamTicksResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamTicksResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamTicksResponse? _defaultInstance; - - /// name of interrupt - @$pb.TagNumber(1) - $core.String get pinName => $_getSZ(0); - @$pb.TagNumber(1) - set pinName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPinName() => $_has(0); - @$pb.TagNumber(1) - void clearPinName() => clearField(1); - - /// Time in nanoseconds of a tick - @$pb.TagNumber(2) - $fixnum.Int64 get time => $_getI64(1); - @$pb.TagNumber(2) - set time($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasTime() => $_has(1); - @$pb.TagNumber(2) - void clearTime() => clearField(2); - - /// Value high or low of the tick - @$pb.TagNumber(3) - $core.bool get high => $_getBF(2); - @$pb.TagNumber(3) - set high($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasHigh() => $_has(2); - @$pb.TagNumber(3) - void clearHigh() => clearField(3); -} - -class SetPowerModeRequest extends $pb.GeneratedMessage { - factory SetPowerModeRequest({ - $core.String? name, - PowerMode? powerMode, - $45.Duration? duration, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (powerMode != null) { - $result.powerMode = powerMode; - } - if (duration != null) { - $result.duration = duration; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetPowerModeRequest._() : super(); - factory SetPowerModeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPowerModeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerModeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..e(2, _omitFieldNames ? '' : 'powerMode', $pb.PbFieldType.OE, defaultOrMaker: PowerMode.POWER_MODE_UNSPECIFIED, valueOf: PowerMode.valueOf, enumValues: PowerMode.values) - ..aOM<$45.Duration>(3, _omitFieldNames ? '' : 'duration', subBuilder: $45.Duration.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPowerModeRequest clone() => SetPowerModeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPowerModeRequest copyWith(void Function(SetPowerModeRequest) updates) => super.copyWith((message) => updates(message as SetPowerModeRequest)) as SetPowerModeRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPowerModeRequest create() => SetPowerModeRequest._(); - SetPowerModeRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPowerModeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPowerModeRequest? _defaultInstance; - - /// name of board - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Requested power mode - @$pb.TagNumber(2) - PowerMode get powerMode => $_getN(1); - @$pb.TagNumber(2) - set powerMode(PowerMode v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPowerMode() => $_has(1); - @$pb.TagNumber(2) - void clearPowerMode() => clearField(2); - - /// Requested duration to stay in `power_mode` - @$pb.TagNumber(3) - $45.Duration get duration => $_getN(2); - @$pb.TagNumber(3) - set duration($45.Duration v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasDuration() => $_has(2); - @$pb.TagNumber(3) - void clearDuration() => clearField(3); - @$pb.TagNumber(3) - $45.Duration ensureDuration() => $_ensure(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class SetPowerModeResponse extends $pb.GeneratedMessage { - factory SetPowerModeResponse() => create(); - SetPowerModeResponse._() : super(); - factory SetPowerModeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPowerModeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerModeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPowerModeResponse clone() => SetPowerModeResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPowerModeResponse copyWith(void Function(SetPowerModeResponse) updates) => super.copyWith((message) => updates(message as SetPowerModeResponse)) as SetPowerModeResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPowerModeResponse create() => SetPowerModeResponse._(); - SetPowerModeResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPowerModeResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPowerModeResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/board/v1/board.pbenum.dart b/lib/src/gen/component/board/v1/board.pbenum.dart deleted file mode 100644 index ac4ed89280f..00000000000 --- a/lib/src/gen/component/board/v1/board.pbenum.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/board/v1/board.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class PowerMode extends $pb.ProtobufEnum { - static const PowerMode POWER_MODE_UNSPECIFIED = PowerMode._(0, _omitEnumNames ? '' : 'POWER_MODE_UNSPECIFIED'); - static const PowerMode POWER_MODE_NORMAL = PowerMode._(1, _omitEnumNames ? '' : 'POWER_MODE_NORMAL'); - static const PowerMode POWER_MODE_OFFLINE_DEEP = PowerMode._(2, _omitEnumNames ? '' : 'POWER_MODE_OFFLINE_DEEP'); - - static const $core.List values = [ - POWER_MODE_UNSPECIFIED, - POWER_MODE_NORMAL, - POWER_MODE_OFFLINE_DEEP, - ]; - - static final $core.Map<$core.int, PowerMode> _byValue = $pb.ProtobufEnum.initByValue(values); - static PowerMode? valueOf($core.int value) => _byValue[value]; - - const PowerMode._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/component/board/v1/board.pbgrpc.dart b/lib/src/gen/component/board/v1/board.pbgrpc.dart deleted file mode 100644 index cdbeb1e0376..00000000000 --- a/lib/src/gen/component/board/v1/board.pbgrpc.dart +++ /dev/null @@ -1,300 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/board/v1/board.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'board.pb.dart' as $19; - -export 'board.pb.dart'; - -@$pb.GrpcServiceName('viam.component.board.v1.BoardService') -class BoardServiceClient extends $grpc.Client { - static final _$setGPIO = $grpc.ClientMethod<$19.SetGPIORequest, $19.SetGPIOResponse>( - '/viam.component.board.v1.BoardService/SetGPIO', - ($19.SetGPIORequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.SetGPIOResponse.fromBuffer(value)); - static final _$getGPIO = $grpc.ClientMethod<$19.GetGPIORequest, $19.GetGPIOResponse>( - '/viam.component.board.v1.BoardService/GetGPIO', - ($19.GetGPIORequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.GetGPIOResponse.fromBuffer(value)); - static final _$pWM = $grpc.ClientMethod<$19.PWMRequest, $19.PWMResponse>( - '/viam.component.board.v1.BoardService/PWM', - ($19.PWMRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.PWMResponse.fromBuffer(value)); - static final _$setPWM = $grpc.ClientMethod<$19.SetPWMRequest, $19.SetPWMResponse>( - '/viam.component.board.v1.BoardService/SetPWM', - ($19.SetPWMRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.SetPWMResponse.fromBuffer(value)); - static final _$pWMFrequency = $grpc.ClientMethod<$19.PWMFrequencyRequest, $19.PWMFrequencyResponse>( - '/viam.component.board.v1.BoardService/PWMFrequency', - ($19.PWMFrequencyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.PWMFrequencyResponse.fromBuffer(value)); - static final _$setPWMFrequency = $grpc.ClientMethod<$19.SetPWMFrequencyRequest, $19.SetPWMFrequencyResponse>( - '/viam.component.board.v1.BoardService/SetPWMFrequency', - ($19.SetPWMFrequencyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.SetPWMFrequencyResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.board.v1.BoardService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$readAnalogReader = $grpc.ClientMethod<$19.ReadAnalogReaderRequest, $19.ReadAnalogReaderResponse>( - '/viam.component.board.v1.BoardService/ReadAnalogReader', - ($19.ReadAnalogReaderRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.ReadAnalogReaderResponse.fromBuffer(value)); - static final _$writeAnalog = $grpc.ClientMethod<$19.WriteAnalogRequest, $19.WriteAnalogResponse>( - '/viam.component.board.v1.BoardService/WriteAnalog', - ($19.WriteAnalogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.WriteAnalogResponse.fromBuffer(value)); - static final _$getDigitalInterruptValue = $grpc.ClientMethod<$19.GetDigitalInterruptValueRequest, $19.GetDigitalInterruptValueResponse>( - '/viam.component.board.v1.BoardService/GetDigitalInterruptValue', - ($19.GetDigitalInterruptValueRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.GetDigitalInterruptValueResponse.fromBuffer(value)); - static final _$streamTicks = $grpc.ClientMethod<$19.StreamTicksRequest, $19.StreamTicksResponse>( - '/viam.component.board.v1.BoardService/StreamTicks', - ($19.StreamTicksRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.StreamTicksResponse.fromBuffer(value)); - static final _$setPowerMode = $grpc.ClientMethod<$19.SetPowerModeRequest, $19.SetPowerModeResponse>( - '/viam.component.board.v1.BoardService/SetPowerMode', - ($19.SetPowerModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.SetPowerModeResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.board.v1.BoardService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - BoardServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$19.SetGPIOResponse> setGPIO($19.SetGPIORequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setGPIO, request, options: options); - } - - $grpc.ResponseFuture<$19.GetGPIOResponse> getGPIO($19.GetGPIORequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGPIO, request, options: options); - } - - $grpc.ResponseFuture<$19.PWMResponse> pWM($19.PWMRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$pWM, request, options: options); - } - - $grpc.ResponseFuture<$19.SetPWMResponse> setPWM($19.SetPWMRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setPWM, request, options: options); - } - - $grpc.ResponseFuture<$19.PWMFrequencyResponse> pWMFrequency($19.PWMFrequencyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$pWMFrequency, request, options: options); - } - - $grpc.ResponseFuture<$19.SetPWMFrequencyResponse> setPWMFrequency($19.SetPWMFrequencyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setPWMFrequency, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$19.ReadAnalogReaderResponse> readAnalogReader($19.ReadAnalogReaderRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$readAnalogReader, request, options: options); - } - - $grpc.ResponseFuture<$19.WriteAnalogResponse> writeAnalog($19.WriteAnalogRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$writeAnalog, request, options: options); - } - - $grpc.ResponseFuture<$19.GetDigitalInterruptValueResponse> getDigitalInterruptValue($19.GetDigitalInterruptValueRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getDigitalInterruptValue, request, options: options); - } - - $grpc.ResponseStream<$19.StreamTicksResponse> streamTicks($19.StreamTicksRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$streamTicks, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$19.SetPowerModeResponse> setPowerMode($19.SetPowerModeRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setPowerMode, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.board.v1.BoardService') -abstract class BoardServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.board.v1.BoardService'; - - BoardServiceBase() { - $addMethod($grpc.ServiceMethod<$19.SetGPIORequest, $19.SetGPIOResponse>( - 'SetGPIO', - setGPIO_Pre, - false, - false, - ($core.List<$core.int> value) => $19.SetGPIORequest.fromBuffer(value), - ($19.SetGPIOResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.GetGPIORequest, $19.GetGPIOResponse>( - 'GetGPIO', - getGPIO_Pre, - false, - false, - ($core.List<$core.int> value) => $19.GetGPIORequest.fromBuffer(value), - ($19.GetGPIOResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.PWMRequest, $19.PWMResponse>( - 'PWM', - pWM_Pre, - false, - false, - ($core.List<$core.int> value) => $19.PWMRequest.fromBuffer(value), - ($19.PWMResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.SetPWMRequest, $19.SetPWMResponse>( - 'SetPWM', - setPWM_Pre, - false, - false, - ($core.List<$core.int> value) => $19.SetPWMRequest.fromBuffer(value), - ($19.SetPWMResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.PWMFrequencyRequest, $19.PWMFrequencyResponse>( - 'PWMFrequency', - pWMFrequency_Pre, - false, - false, - ($core.List<$core.int> value) => $19.PWMFrequencyRequest.fromBuffer(value), - ($19.PWMFrequencyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.SetPWMFrequencyRequest, $19.SetPWMFrequencyResponse>( - 'SetPWMFrequency', - setPWMFrequency_Pre, - false, - false, - ($core.List<$core.int> value) => $19.SetPWMFrequencyRequest.fromBuffer(value), - ($19.SetPWMFrequencyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.ReadAnalogReaderRequest, $19.ReadAnalogReaderResponse>( - 'ReadAnalogReader', - readAnalogReader_Pre, - false, - false, - ($core.List<$core.int> value) => $19.ReadAnalogReaderRequest.fromBuffer(value), - ($19.ReadAnalogReaderResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.WriteAnalogRequest, $19.WriteAnalogResponse>( - 'WriteAnalog', - writeAnalog_Pre, - false, - false, - ($core.List<$core.int> value) => $19.WriteAnalogRequest.fromBuffer(value), - ($19.WriteAnalogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.GetDigitalInterruptValueRequest, $19.GetDigitalInterruptValueResponse>( - 'GetDigitalInterruptValue', - getDigitalInterruptValue_Pre, - false, - false, - ($core.List<$core.int> value) => $19.GetDigitalInterruptValueRequest.fromBuffer(value), - ($19.GetDigitalInterruptValueResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.StreamTicksRequest, $19.StreamTicksResponse>( - 'StreamTicks', - streamTicks_Pre, - false, - true, - ($core.List<$core.int> value) => $19.StreamTicksRequest.fromBuffer(value), - ($19.StreamTicksResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.SetPowerModeRequest, $19.SetPowerModeResponse>( - 'SetPowerMode', - setPowerMode_Pre, - false, - false, - ($core.List<$core.int> value) => $19.SetPowerModeRequest.fromBuffer(value), - ($19.SetPowerModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$19.SetGPIOResponse> setGPIO_Pre($grpc.ServiceCall call, $async.Future<$19.SetGPIORequest> request) async { - return setGPIO(call, await request); - } - - $async.Future<$19.GetGPIOResponse> getGPIO_Pre($grpc.ServiceCall call, $async.Future<$19.GetGPIORequest> request) async { - return getGPIO(call, await request); - } - - $async.Future<$19.PWMResponse> pWM_Pre($grpc.ServiceCall call, $async.Future<$19.PWMRequest> request) async { - return pWM(call, await request); - } - - $async.Future<$19.SetPWMResponse> setPWM_Pre($grpc.ServiceCall call, $async.Future<$19.SetPWMRequest> request) async { - return setPWM(call, await request); - } - - $async.Future<$19.PWMFrequencyResponse> pWMFrequency_Pre($grpc.ServiceCall call, $async.Future<$19.PWMFrequencyRequest> request) async { - return pWMFrequency(call, await request); - } - - $async.Future<$19.SetPWMFrequencyResponse> setPWMFrequency_Pre($grpc.ServiceCall call, $async.Future<$19.SetPWMFrequencyRequest> request) async { - return setPWMFrequency(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$19.ReadAnalogReaderResponse> readAnalogReader_Pre($grpc.ServiceCall call, $async.Future<$19.ReadAnalogReaderRequest> request) async { - return readAnalogReader(call, await request); - } - - $async.Future<$19.WriteAnalogResponse> writeAnalog_Pre($grpc.ServiceCall call, $async.Future<$19.WriteAnalogRequest> request) async { - return writeAnalog(call, await request); - } - - $async.Future<$19.GetDigitalInterruptValueResponse> getDigitalInterruptValue_Pre($grpc.ServiceCall call, $async.Future<$19.GetDigitalInterruptValueRequest> request) async { - return getDigitalInterruptValue(call, await request); - } - - $async.Stream<$19.StreamTicksResponse> streamTicks_Pre($grpc.ServiceCall call, $async.Future<$19.StreamTicksRequest> request) async* { - yield* streamTicks(call, await request); - } - - $async.Future<$19.SetPowerModeResponse> setPowerMode_Pre($grpc.ServiceCall call, $async.Future<$19.SetPowerModeRequest> request) async { - return setPowerMode(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$19.SetGPIOResponse> setGPIO($grpc.ServiceCall call, $19.SetGPIORequest request); - $async.Future<$19.GetGPIOResponse> getGPIO($grpc.ServiceCall call, $19.GetGPIORequest request); - $async.Future<$19.PWMResponse> pWM($grpc.ServiceCall call, $19.PWMRequest request); - $async.Future<$19.SetPWMResponse> setPWM($grpc.ServiceCall call, $19.SetPWMRequest request); - $async.Future<$19.PWMFrequencyResponse> pWMFrequency($grpc.ServiceCall call, $19.PWMFrequencyRequest request); - $async.Future<$19.SetPWMFrequencyResponse> setPWMFrequency($grpc.ServiceCall call, $19.SetPWMFrequencyRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$19.ReadAnalogReaderResponse> readAnalogReader($grpc.ServiceCall call, $19.ReadAnalogReaderRequest request); - $async.Future<$19.WriteAnalogResponse> writeAnalog($grpc.ServiceCall call, $19.WriteAnalogRequest request); - $async.Future<$19.GetDigitalInterruptValueResponse> getDigitalInterruptValue($grpc.ServiceCall call, $19.GetDigitalInterruptValueRequest request); - $async.Stream<$19.StreamTicksResponse> streamTicks($grpc.ServiceCall call, $19.StreamTicksRequest request); - $async.Future<$19.SetPowerModeResponse> setPowerMode($grpc.ServiceCall call, $19.SetPowerModeRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/board/v1/board.pbjson.dart b/lib/src/gen/component/board/v1/board.pbjson.dart deleted file mode 100644 index 6190e56ebb9..00000000000 --- a/lib/src/gen/component/board/v1/board.pbjson.dart +++ /dev/null @@ -1,379 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/board/v1/board.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use powerModeDescriptor instead') -const PowerMode$json = { - '1': 'PowerMode', - '2': [ - {'1': 'POWER_MODE_UNSPECIFIED', '2': 0}, - {'1': 'POWER_MODE_NORMAL', '2': 1}, - {'1': 'POWER_MODE_OFFLINE_DEEP', '2': 2}, - ], -}; - -/// Descriptor for `PowerMode`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List powerModeDescriptor = $convert.base64Decode( - 'CglQb3dlck1vZGUSGgoWUE9XRVJfTU9ERV9VTlNQRUNJRklFRBAAEhUKEVBPV0VSX01PREVfTk' - '9STUFMEAESGwoXUE9XRVJfTU9ERV9PRkZMSU5FX0RFRVAQAg=='); - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'analogs', '3': 1, '4': 3, '5': 11, '6': '.viam.component.board.v1.Status.AnalogsEntry', '10': 'analogs'}, - {'1': 'digital_interrupts', '3': 2, '4': 3, '5': 11, '6': '.viam.component.board.v1.Status.DigitalInterruptsEntry', '10': 'digitalInterrupts'}, - ], - '3': [Status_AnalogsEntry$json, Status_DigitalInterruptsEntry$json], -}; - -@$core.Deprecated('Use statusDescriptor instead') -const Status_AnalogsEntry$json = { - '1': 'AnalogsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 5, '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use statusDescriptor instead') -const Status_DigitalInterruptsEntry$json = { - '1': 'DigitalInterruptsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 3, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSRgoHYW5hbG9ncxgBIAMoCzIsLnZpYW0uY29tcG9uZW50LmJvYXJkLnYxLlN0YX' - 'R1cy5BbmFsb2dzRW50cnlSB2FuYWxvZ3MSZQoSZGlnaXRhbF9pbnRlcnJ1cHRzGAIgAygLMjYu' - 'dmlhbS5jb21wb25lbnQuYm9hcmQudjEuU3RhdHVzLkRpZ2l0YWxJbnRlcnJ1cHRzRW50cnlSEW' - 'RpZ2l0YWxJbnRlcnJ1cHRzGjoKDEFuYWxvZ3NFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2' - 'YWx1ZRgCIAEoBVIFdmFsdWU6AjgBGkQKFkRpZ2l0YWxJbnRlcnJ1cHRzRW50cnkSEAoDa2V5GA' - 'EgASgJUgNrZXkSFAoFdmFsdWUYAiABKANSBXZhbHVlOgI4AQ=='); - -@$core.Deprecated('Use setGPIORequestDescriptor instead') -const SetGPIORequest$json = { - '1': 'SetGPIORequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin', '3': 2, '4': 1, '5': 9, '10': 'pin'}, - {'1': 'high', '3': 3, '4': 1, '5': 8, '10': 'high'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetGPIORequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setGPIORequestDescriptor = $convert.base64Decode( - 'Cg5TZXRHUElPUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhAKA3BpbhgCIAEoCVIDcGluEh' - 'IKBGhpZ2gYAyABKAhSBGhpZ2gSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3Ry' - 'dWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use setGPIOResponseDescriptor instead') -const SetGPIOResponse$json = { - '1': 'SetGPIOResponse', -}; - -/// Descriptor for `SetGPIOResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setGPIOResponseDescriptor = $convert.base64Decode( - 'Cg9TZXRHUElPUmVzcG9uc2U='); - -@$core.Deprecated('Use getGPIORequestDescriptor instead') -const GetGPIORequest$json = { - '1': 'GetGPIORequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin', '3': 2, '4': 1, '5': 9, '10': 'pin'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetGPIORequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getGPIORequestDescriptor = $convert.base64Decode( - 'Cg5HZXRHUElPUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhAKA3BpbhgCIAEoCVIDcGluEi' - '0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getGPIOResponseDescriptor instead') -const GetGPIOResponse$json = { - '1': 'GetGPIOResponse', - '2': [ - {'1': 'high', '3': 1, '4': 1, '5': 8, '10': 'high'}, - ], -}; - -/// Descriptor for `GetGPIOResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getGPIOResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRHUElPUmVzcG9uc2USEgoEaGlnaBgBIAEoCFIEaGlnaA=='); - -@$core.Deprecated('Use pWMRequestDescriptor instead') -const PWMRequest$json = { - '1': 'PWMRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin', '3': 2, '4': 1, '5': 9, '10': 'pin'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `PWMRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pWMRequestDescriptor = $convert.base64Decode( - 'CgpQV01SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSEAoDcGluGAIgASgJUgNwaW4SLQoFZX' - 'h0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use pWMResponseDescriptor instead') -const PWMResponse$json = { - '1': 'PWMResponse', - '2': [ - {'1': 'duty_cycle_pct', '3': 1, '4': 1, '5': 1, '10': 'dutyCyclePct'}, - ], -}; - -/// Descriptor for `PWMResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pWMResponseDescriptor = $convert.base64Decode( - 'CgtQV01SZXNwb25zZRIkCg5kdXR5X2N5Y2xlX3BjdBgBIAEoAVIMZHV0eUN5Y2xlUGN0'); - -@$core.Deprecated('Use setPWMRequestDescriptor instead') -const SetPWMRequest$json = { - '1': 'SetPWMRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin', '3': 2, '4': 1, '5': 9, '10': 'pin'}, - {'1': 'duty_cycle_pct', '3': 3, '4': 1, '5': 1, '10': 'dutyCyclePct'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetPWMRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPWMRequestDescriptor = $convert.base64Decode( - 'Cg1TZXRQV01SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSEAoDcGluGAIgASgJUgNwaW4SJA' - 'oOZHV0eV9jeWNsZV9wY3QYAyABKAFSDGR1dHlDeWNsZVBjdBItCgVleHRyYRhjIAEoCzIXLmdv' - 'b2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use setPWMResponseDescriptor instead') -const SetPWMResponse$json = { - '1': 'SetPWMResponse', -}; - -/// Descriptor for `SetPWMResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPWMResponseDescriptor = $convert.base64Decode( - 'Cg5TZXRQV01SZXNwb25zZQ=='); - -@$core.Deprecated('Use pWMFrequencyRequestDescriptor instead') -const PWMFrequencyRequest$json = { - '1': 'PWMFrequencyRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin', '3': 2, '4': 1, '5': 9, '10': 'pin'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `PWMFrequencyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pWMFrequencyRequestDescriptor = $convert.base64Decode( - 'ChNQV01GcmVxdWVuY3lSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSEAoDcGluGAIgASgJUg' - 'NwaW4SLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use pWMFrequencyResponseDescriptor instead') -const PWMFrequencyResponse$json = { - '1': 'PWMFrequencyResponse', - '2': [ - {'1': 'frequency_hz', '3': 1, '4': 1, '5': 4, '10': 'frequencyHz'}, - ], -}; - -/// Descriptor for `PWMFrequencyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pWMFrequencyResponseDescriptor = $convert.base64Decode( - 'ChRQV01GcmVxdWVuY3lSZXNwb25zZRIhCgxmcmVxdWVuY3lfaHoYASABKARSC2ZyZXF1ZW5jeU' - 'h6'); - -@$core.Deprecated('Use setPWMFrequencyRequestDescriptor instead') -const SetPWMFrequencyRequest$json = { - '1': 'SetPWMFrequencyRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin', '3': 2, '4': 1, '5': 9, '10': 'pin'}, - {'1': 'frequency_hz', '3': 3, '4': 1, '5': 4, '10': 'frequencyHz'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetPWMFrequencyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPWMFrequencyRequestDescriptor = $convert.base64Decode( - 'ChZTZXRQV01GcmVxdWVuY3lSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSEAoDcGluGAIgAS' - 'gJUgNwaW4SIQoMZnJlcXVlbmN5X2h6GAMgASgEUgtmcmVxdWVuY3lIehItCgVleHRyYRhjIAEo' - 'CzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use setPWMFrequencyResponseDescriptor instead') -const SetPWMFrequencyResponse$json = { - '1': 'SetPWMFrequencyResponse', -}; - -/// Descriptor for `SetPWMFrequencyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPWMFrequencyResponseDescriptor = $convert.base64Decode( - 'ChdTZXRQV01GcmVxdWVuY3lSZXNwb25zZQ=='); - -@$core.Deprecated('Use readAnalogReaderRequestDescriptor instead') -const ReadAnalogReaderRequest$json = { - '1': 'ReadAnalogReaderRequest', - '2': [ - {'1': 'board_name', '3': 1, '4': 1, '5': 9, '10': 'boardName'}, - {'1': 'analog_reader_name', '3': 2, '4': 1, '5': 9, '10': 'analogReaderName'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `ReadAnalogReaderRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readAnalogReaderRequestDescriptor = $convert.base64Decode( - 'ChdSZWFkQW5hbG9nUmVhZGVyUmVxdWVzdBIdCgpib2FyZF9uYW1lGAEgASgJUglib2FyZE5hbW' - 'USLAoSYW5hbG9nX3JlYWRlcl9uYW1lGAIgASgJUhBhbmFsb2dSZWFkZXJOYW1lEi0KBWV4dHJh' - 'GGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use readAnalogReaderResponseDescriptor instead') -const ReadAnalogReaderResponse$json = { - '1': 'ReadAnalogReaderResponse', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 5, '10': 'value'}, - {'1': 'min_range', '3': 2, '4': 1, '5': 2, '10': 'minRange'}, - {'1': 'max_range', '3': 3, '4': 1, '5': 2, '10': 'maxRange'}, - {'1': 'step_size', '3': 4, '4': 1, '5': 2, '10': 'stepSize'}, - ], -}; - -/// Descriptor for `ReadAnalogReaderResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readAnalogReaderResponseDescriptor = $convert.base64Decode( - 'ChhSZWFkQW5hbG9nUmVhZGVyUmVzcG9uc2USFAoFdmFsdWUYASABKAVSBXZhbHVlEhsKCW1pbl' - '9yYW5nZRgCIAEoAlIIbWluUmFuZ2USGwoJbWF4X3JhbmdlGAMgASgCUghtYXhSYW5nZRIbCglz' - 'dGVwX3NpemUYBCABKAJSCHN0ZXBTaXpl'); - -@$core.Deprecated('Use writeAnalogRequestDescriptor instead') -const WriteAnalogRequest$json = { - '1': 'WriteAnalogRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin', '3': 2, '4': 1, '5': 9, '10': 'pin'}, - {'1': 'value', '3': 3, '4': 1, '5': 5, '10': 'value'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `WriteAnalogRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List writeAnalogRequestDescriptor = $convert.base64Decode( - 'ChJXcml0ZUFuYWxvZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIQCgNwaW4YAiABKAlSA3' - 'BpbhIUCgV2YWx1ZRgDIAEoBVIFdmFsdWUSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9i' - 'dWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use writeAnalogResponseDescriptor instead') -const WriteAnalogResponse$json = { - '1': 'WriteAnalogResponse', -}; - -/// Descriptor for `WriteAnalogResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List writeAnalogResponseDescriptor = $convert.base64Decode( - 'ChNXcml0ZUFuYWxvZ1Jlc3BvbnNl'); - -@$core.Deprecated('Use getDigitalInterruptValueRequestDescriptor instead') -const GetDigitalInterruptValueRequest$json = { - '1': 'GetDigitalInterruptValueRequest', - '2': [ - {'1': 'board_name', '3': 1, '4': 1, '5': 9, '10': 'boardName'}, - {'1': 'digital_interrupt_name', '3': 2, '4': 1, '5': 9, '10': 'digitalInterruptName'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetDigitalInterruptValueRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDigitalInterruptValueRequestDescriptor = $convert.base64Decode( - 'Ch9HZXREaWdpdGFsSW50ZXJydXB0VmFsdWVSZXF1ZXN0Eh0KCmJvYXJkX25hbWUYASABKAlSCW' - 'JvYXJkTmFtZRI0ChZkaWdpdGFsX2ludGVycnVwdF9uYW1lGAIgASgJUhRkaWdpdGFsSW50ZXJy' - 'dXB0TmFtZRItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getDigitalInterruptValueResponseDescriptor instead') -const GetDigitalInterruptValueResponse$json = { - '1': 'GetDigitalInterruptValueResponse', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 3, '10': 'value'}, - ], -}; - -/// Descriptor for `GetDigitalInterruptValueResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDigitalInterruptValueResponseDescriptor = $convert.base64Decode( - 'CiBHZXREaWdpdGFsSW50ZXJydXB0VmFsdWVSZXNwb25zZRIUCgV2YWx1ZRgBIAEoA1IFdmFsdW' - 'U='); - -@$core.Deprecated('Use streamTicksRequestDescriptor instead') -const StreamTicksRequest$json = { - '1': 'StreamTicksRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'pin_names', '3': 2, '4': 3, '5': 9, '10': 'pinNames'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StreamTicksRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamTicksRequestDescriptor = $convert.base64Decode( - 'ChJTdHJlYW1UaWNrc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIbCglwaW5fbmFtZXMYAi' - 'ADKAlSCHBpbk5hbWVzEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIF' - 'ZXh0cmE='); - -@$core.Deprecated('Use streamTicksResponseDescriptor instead') -const StreamTicksResponse$json = { - '1': 'StreamTicksResponse', - '2': [ - {'1': 'pin_name', '3': 1, '4': 1, '5': 9, '10': 'pinName'}, - {'1': 'time', '3': 2, '4': 1, '5': 4, '10': 'time'}, - {'1': 'high', '3': 3, '4': 1, '5': 8, '10': 'high'}, - ], -}; - -/// Descriptor for `StreamTicksResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamTicksResponseDescriptor = $convert.base64Decode( - 'ChNTdHJlYW1UaWNrc1Jlc3BvbnNlEhkKCHBpbl9uYW1lGAEgASgJUgdwaW5OYW1lEhIKBHRpbW' - 'UYAiABKARSBHRpbWUSEgoEaGlnaBgDIAEoCFIEaGlnaA=='); - -@$core.Deprecated('Use setPowerModeRequestDescriptor instead') -const SetPowerModeRequest$json = { - '1': 'SetPowerModeRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'power_mode', '3': 2, '4': 1, '5': 14, '6': '.viam.component.board.v1.PowerMode', '10': 'powerMode'}, - {'1': 'duration', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '9': 0, '10': 'duration', '17': true}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '8': [ - {'1': '_duration'}, - ], -}; - -/// Descriptor for `SetPowerModeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPowerModeRequestDescriptor = $convert.base64Decode( - 'ChNTZXRQb3dlck1vZGVSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSQQoKcG93ZXJfbW9kZR' - 'gCIAEoDjIiLnZpYW0uY29tcG9uZW50LmJvYXJkLnYxLlBvd2VyTW9kZVIJcG93ZXJNb2RlEjoK' - 'CGR1cmF0aW9uGAMgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uSABSCGR1cmF0aW9uiA' - 'EBEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmFCCwoJX2R1' - 'cmF0aW9u'); - -@$core.Deprecated('Use setPowerModeResponseDescriptor instead') -const SetPowerModeResponse$json = { - '1': 'SetPowerModeResponse', -}; - -/// Descriptor for `SetPowerModeResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPowerModeResponseDescriptor = $convert.base64Decode( - 'ChRTZXRQb3dlck1vZGVSZXNwb25zZQ=='); - diff --git a/lib/src/gen/component/button/v1/button.pb.dart b/lib/src/gen/component/button/v1/button.pb.dart deleted file mode 100644 index 2e6e002ec93..00000000000 --- a/lib/src/gen/component/button/v1/button.pb.dart +++ /dev/null @@ -1,118 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/button/v1/button.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class PushRequest extends $pb.GeneratedMessage { - factory PushRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - PushRequest._() : super(); - factory PushRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PushRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.button.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PushRequest clone() => PushRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PushRequest copyWith(void Function(PushRequest) updates) => super.copyWith((message) => updates(message as PushRequest)) as PushRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PushRequest create() => PushRequest._(); - PushRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PushRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PushRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class PushResponse extends $pb.GeneratedMessage { - factory PushResponse() => create(); - PushResponse._() : super(); - factory PushResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PushResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PushResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.button.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PushResponse clone() => PushResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PushResponse copyWith(void Function(PushResponse) updates) => super.copyWith((message) => updates(message as PushResponse)) as PushResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PushResponse create() => PushResponse._(); - PushResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PushResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PushResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/button/v1/button.pbenum.dart b/lib/src/gen/component/button/v1/button.pbenum.dart deleted file mode 100644 index d2a73552c61..00000000000 --- a/lib/src/gen/component/button/v1/button.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/button/v1/button.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/button/v1/button.pbgrpc.dart b/lib/src/gen/component/button/v1/button.pbgrpc.dart deleted file mode 100644 index df26d5b6186..00000000000 --- a/lib/src/gen/component/button/v1/button.pbgrpc.dart +++ /dev/null @@ -1,80 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/button/v1/button.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'button.pb.dart' as $20; - -export 'button.pb.dart'; - -@$pb.GrpcServiceName('viam.component.button.v1.ButtonService') -class ButtonServiceClient extends $grpc.Client { - static final _$push = $grpc.ClientMethod<$20.PushRequest, $20.PushResponse>( - '/viam.component.button.v1.ButtonService/Push', - ($20.PushRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $20.PushResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.button.v1.ButtonService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - ButtonServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$20.PushResponse> push($20.PushRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$push, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.button.v1.ButtonService') -abstract class ButtonServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.button.v1.ButtonService'; - - ButtonServiceBase() { - $addMethod($grpc.ServiceMethod<$20.PushRequest, $20.PushResponse>( - 'Push', - push_Pre, - false, - false, - ($core.List<$core.int> value) => $20.PushRequest.fromBuffer(value), - ($20.PushResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$20.PushResponse> push_Pre($grpc.ServiceCall call, $async.Future<$20.PushRequest> request) async { - return push(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$20.PushResponse> push($grpc.ServiceCall call, $20.PushRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/component/button/v1/button.pbjson.dart b/lib/src/gen/component/button/v1/button.pbjson.dart deleted file mode 100644 index 50e911d7030..00000000000 --- a/lib/src/gen/component/button/v1/button.pbjson.dart +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/button/v1/button.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use pushRequestDescriptor instead') -const PushRequest$json = { - '1': 'PushRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `PushRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pushRequestDescriptor = $convert.base64Decode( - 'CgtQdXNoUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use pushResponseDescriptor instead') -const PushResponse$json = { - '1': 'PushResponse', -}; - -/// Descriptor for `PushResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pushResponseDescriptor = $convert.base64Decode( - 'CgxQdXNoUmVzcG9uc2U='); - diff --git a/lib/src/gen/component/camera/v1/camera.pb.dart b/lib/src/gen/component/camera/v1/camera.pb.dart deleted file mode 100644 index 6ad1a74f87c..00000000000 --- a/lib/src/gen/component/camera/v1/camera.pb.dart +++ /dev/null @@ -1,1186 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/camera/v1/camera.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; -import 'camera.pbenum.dart'; - -export 'camera.pbenum.dart'; - -class GetImageRequest extends $pb.GeneratedMessage { - factory GetImageRequest({ - $core.String? name, - $core.String? mimeType, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetImageRequest._() : super(); - factory GetImageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetImageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'mimeType') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetImageRequest clone() => GetImageRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetImageRequest copyWith(void Function(GetImageRequest) updates) => super.copyWith((message) => updates(message as GetImageRequest)) as GetImageRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetImageRequest create() => GetImageRequest._(); - GetImageRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetImageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetImageRequest? _defaultInstance; - - /// Name of a camera - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Requested MIME type of response - @$pb.TagNumber(2) - $core.String get mimeType => $_getSZ(1); - @$pb.TagNumber(2) - set mimeType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMimeType() => $_has(1); - @$pb.TagNumber(2) - void clearMimeType() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetImageResponse extends $pb.GeneratedMessage { - factory GetImageResponse({ - $core.String? mimeType, - $core.List<$core.int>? image, - }) { - final $result = create(); - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (image != null) { - $result.image = image; - } - return $result; - } - GetImageResponse._() : super(); - factory GetImageResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetImageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'mimeType') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'image', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetImageResponse clone() => GetImageResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetImageResponse copyWith(void Function(GetImageResponse) updates) => super.copyWith((message) => updates(message as GetImageResponse)) as GetImageResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetImageResponse create() => GetImageResponse._(); - GetImageResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetImageResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetImageResponse? _defaultInstance; - - /// Actual MIME type of response - @$pb.TagNumber(1) - $core.String get mimeType => $_getSZ(0); - @$pb.TagNumber(1) - set mimeType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMimeType() => $_has(0); - @$pb.TagNumber(1) - void clearMimeType() => clearField(1); - - /// Frame in bytes - @$pb.TagNumber(2) - $core.List<$core.int> get image => $_getN(1); - @$pb.TagNumber(2) - set image($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasImage() => $_has(1); - @$pb.TagNumber(2) - void clearImage() => clearField(2); -} - -class GetImagesRequest extends $pb.GeneratedMessage { - factory GetImagesRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetImagesRequest._() : super(); - factory GetImagesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetImagesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImagesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetImagesRequest clone() => GetImagesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetImagesRequest copyWith(void Function(GetImagesRequest) updates) => super.copyWith((message) => updates(message as GetImagesRequest)) as GetImagesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetImagesRequest create() => GetImagesRequest._(); - GetImagesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetImagesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetImagesRequest? _defaultInstance; - - /// Name of a camera - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class GetImagesResponse extends $pb.GeneratedMessage { - factory GetImagesResponse({ - $core.Iterable? images, - $15.ResponseMetadata? responseMetadata, - }) { - final $result = create(); - if (images != null) { - $result.images.addAll(images); - } - if (responseMetadata != null) { - $result.responseMetadata = responseMetadata; - } - return $result; - } - GetImagesResponse._() : super(); - factory GetImagesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetImagesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImagesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'images', $pb.PbFieldType.PM, subBuilder: Image.create) - ..aOM<$15.ResponseMetadata>(84260, _omitFieldNames ? '' : 'responseMetadata', subBuilder: $15.ResponseMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetImagesResponse clone() => GetImagesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetImagesResponse copyWith(void Function(GetImagesResponse) updates) => super.copyWith((message) => updates(message as GetImagesResponse)) as GetImagesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetImagesResponse create() => GetImagesResponse._(); - GetImagesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetImagesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetImagesResponse? _defaultInstance; - - /// list of images returned from the camera system - @$pb.TagNumber(1) - $core.List get images => $_getList(0); - - /// contains timestamp data - @$pb.TagNumber(84260) - $15.ResponseMetadata get responseMetadata => $_getN(1); - @$pb.TagNumber(84260) - set responseMetadata($15.ResponseMetadata v) { setField(84260, v); } - @$pb.TagNumber(84260) - $core.bool hasResponseMetadata() => $_has(1); - @$pb.TagNumber(84260) - void clearResponseMetadata() => clearField(84260); - @$pb.TagNumber(84260) - $15.ResponseMetadata ensureResponseMetadata() => $_ensure(1); -} - -class Image extends $pb.GeneratedMessage { - factory Image({ - $core.String? sourceName, - Format? format, - $core.List<$core.int>? image, - }) { - final $result = create(); - if (sourceName != null) { - $result.sourceName = sourceName; - } - if (format != null) { - $result.format = format; - } - if (image != null) { - $result.image = image; - } - return $result; - } - Image._() : super(); - factory Image.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Image.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Image', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sourceName') - ..e(2, _omitFieldNames ? '' : 'format', $pb.PbFieldType.OE, defaultOrMaker: Format.FORMAT_UNSPECIFIED, valueOf: Format.valueOf, enumValues: Format.values) - ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'image', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Image clone() => Image()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Image copyWith(void Function(Image) updates) => super.copyWith((message) => updates(message as Image)) as Image; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Image create() => Image._(); - Image createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Image getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Image? _defaultInstance; - - /// the name of the sensor where the image came from - @$pb.TagNumber(1) - $core.String get sourceName => $_getSZ(0); - @$pb.TagNumber(1) - set sourceName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSourceName() => $_has(0); - @$pb.TagNumber(1) - void clearSourceName() => clearField(1); - - /// format of the response image bytes - @$pb.TagNumber(2) - Format get format => $_getN(1); - @$pb.TagNumber(2) - set format(Format v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasFormat() => $_has(1); - @$pb.TagNumber(2) - void clearFormat() => clearField(2); - - /// image in bytes - @$pb.TagNumber(3) - $core.List<$core.int> get image => $_getN(2); - @$pb.TagNumber(3) - set image($core.List<$core.int> v) { $_setBytes(2, v); } - @$pb.TagNumber(3) - $core.bool hasImage() => $_has(2); - @$pb.TagNumber(3) - void clearImage() => clearField(3); -} - -class RenderFrameRequest extends $pb.GeneratedMessage { - factory RenderFrameRequest({ - $core.String? name, - $core.String? mimeType, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - RenderFrameRequest._() : super(); - factory RenderFrameRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RenderFrameRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenderFrameRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'mimeType') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RenderFrameRequest clone() => RenderFrameRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RenderFrameRequest copyWith(void Function(RenderFrameRequest) updates) => super.copyWith((message) => updates(message as RenderFrameRequest)) as RenderFrameRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RenderFrameRequest create() => RenderFrameRequest._(); - RenderFrameRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RenderFrameRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RenderFrameRequest? _defaultInstance; - - /// Name of a camera - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Requested MIME type of response - @$pb.TagNumber(2) - $core.String get mimeType => $_getSZ(1); - @$pb.TagNumber(2) - set mimeType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMimeType() => $_has(1); - @$pb.TagNumber(2) - void clearMimeType() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetPointCloudRequest extends $pb.GeneratedMessage { - factory GetPointCloudRequest({ - $core.String? name, - $core.String? mimeType, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPointCloudRequest._() : super(); - factory GetPointCloudRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPointCloudRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPointCloudRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'mimeType') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPointCloudRequest clone() => GetPointCloudRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPointCloudRequest copyWith(void Function(GetPointCloudRequest) updates) => super.copyWith((message) => updates(message as GetPointCloudRequest)) as GetPointCloudRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPointCloudRequest create() => GetPointCloudRequest._(); - GetPointCloudRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPointCloudRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPointCloudRequest? _defaultInstance; - - /// Name of a camera - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Requested MIME type of response - @$pb.TagNumber(2) - $core.String get mimeType => $_getSZ(1); - @$pb.TagNumber(2) - set mimeType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMimeType() => $_has(1); - @$pb.TagNumber(2) - void clearMimeType() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetPointCloudResponse extends $pb.GeneratedMessage { - factory GetPointCloudResponse({ - $core.String? mimeType, - $core.List<$core.int>? pointCloud, - }) { - final $result = create(); - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (pointCloud != null) { - $result.pointCloud = pointCloud; - } - return $result; - } - GetPointCloudResponse._() : super(); - factory GetPointCloudResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPointCloudResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPointCloudResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'mimeType') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'pointCloud', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPointCloudResponse clone() => GetPointCloudResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPointCloudResponse copyWith(void Function(GetPointCloudResponse) updates) => super.copyWith((message) => updates(message as GetPointCloudResponse)) as GetPointCloudResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPointCloudResponse create() => GetPointCloudResponse._(); - GetPointCloudResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPointCloudResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPointCloudResponse? _defaultInstance; - - /// Actual MIME type of response - @$pb.TagNumber(1) - $core.String get mimeType => $_getSZ(0); - @$pb.TagNumber(1) - set mimeType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMimeType() => $_has(0); - @$pb.TagNumber(1) - void clearMimeType() => clearField(1); - - /// Frame in bytes - @$pb.TagNumber(2) - $core.List<$core.int> get pointCloud => $_getN(1); - @$pb.TagNumber(2) - set pointCloud($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasPointCloud() => $_has(1); - @$pb.TagNumber(2) - void clearPointCloud() => clearField(2); -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// Name of a camera - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - $core.bool? supportsPcd, - IntrinsicParameters? intrinsicParameters, - DistortionParameters? distortionParameters, - $core.Iterable<$core.String>? mimeTypes, - $core.double? frameRate, - }) { - final $result = create(); - if (supportsPcd != null) { - $result.supportsPcd = supportsPcd; - } - if (intrinsicParameters != null) { - $result.intrinsicParameters = intrinsicParameters; - } - if (distortionParameters != null) { - $result.distortionParameters = distortionParameters; - } - if (mimeTypes != null) { - $result.mimeTypes.addAll(mimeTypes); - } - if (frameRate != null) { - $result.frameRate = frameRate; - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'supportsPcd') - ..aOM(2, _omitFieldNames ? '' : 'intrinsicParameters', subBuilder: IntrinsicParameters.create) - ..aOM(3, _omitFieldNames ? '' : 'distortionParameters', subBuilder: DistortionParameters.create) - ..pPS(4, _omitFieldNames ? '' : 'mimeTypes') - ..a<$core.double>(5, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - /// A boolean property determining whether the camera supports the return of pointcloud data - @$pb.TagNumber(1) - $core.bool get supportsPcd => $_getBF(0); - @$pb.TagNumber(1) - set supportsPcd($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasSupportsPcd() => $_has(0); - @$pb.TagNumber(1) - void clearSupportsPcd() => clearField(1); - - /// Parameters for doing a perspective of a 3D scene to a 2D plane - /// If camera does not provide intrinsic parameters, leave the field empty - /// Initializing the parameters with 0-values is considered an error - @$pb.TagNumber(2) - IntrinsicParameters get intrinsicParameters => $_getN(1); - @$pb.TagNumber(2) - set intrinsicParameters(IntrinsicParameters v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasIntrinsicParameters() => $_has(1); - @$pb.TagNumber(2) - void clearIntrinsicParameters() => clearField(2); - @$pb.TagNumber(2) - IntrinsicParameters ensureIntrinsicParameters() => $_ensure(1); - - /// Parameters for modeling lens distortion in cameras - /// If camera does not provide distortion parameters, leave the field empty - /// Initializing the parameters with 0-values is considered an error - @$pb.TagNumber(3) - DistortionParameters get distortionParameters => $_getN(2); - @$pb.TagNumber(3) - set distortionParameters(DistortionParameters v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasDistortionParameters() => $_has(2); - @$pb.TagNumber(3) - void clearDistortionParameters() => clearField(3); - @$pb.TagNumber(3) - DistortionParameters ensureDistortionParameters() => $_ensure(2); - - /// Supported MIME types by the camera - @$pb.TagNumber(4) - $core.List<$core.String> get mimeTypes => $_getList(3); - - /// Optional camera frame rate for image capture timing - @$pb.TagNumber(5) - $core.double get frameRate => $_getN(4); - @$pb.TagNumber(5) - set frameRate($core.double v) { $_setFloat(4, v); } - @$pb.TagNumber(5) - $core.bool hasFrameRate() => $_has(4); - @$pb.TagNumber(5) - void clearFrameRate() => clearField(5); -} - -class Webcams extends $pb.GeneratedMessage { - factory Webcams({ - $core.Iterable? webcams, - }) { - final $result = create(); - if (webcams != null) { - $result.webcams.addAll(webcams); - } - return $result; - } - Webcams._() : super(); - factory Webcams.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Webcams.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Webcams', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'webcams', $pb.PbFieldType.PM, subBuilder: Webcam.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Webcams clone() => Webcams()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Webcams copyWith(void Function(Webcams) updates) => super.copyWith((message) => updates(message as Webcams)) as Webcams; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Webcams create() => Webcams._(); - Webcams createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Webcams getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Webcams? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get webcams => $_getList(0); -} - -class Webcam extends $pb.GeneratedMessage { - factory Webcam({ - $core.String? label, - $core.String? status, - $core.Iterable? properties, - $core.String? name, - $core.String? id, - }) { - final $result = create(); - if (label != null) { - $result.label = label; - } - if (status != null) { - $result.status = status; - } - if (properties != null) { - $result.properties.addAll(properties); - } - if (name != null) { - $result.name = name; - } - if (id != null) { - $result.id = id; - } - return $result; - } - Webcam._() : super(); - factory Webcam.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Webcam.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Webcam', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'label') - ..aOS(2, _omitFieldNames ? '' : 'status') - ..pc(3, _omitFieldNames ? '' : 'properties', $pb.PbFieldType.PM, subBuilder: Property.create) - ..aOS(4, _omitFieldNames ? '' : 'name') - ..aOS(5, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Webcam clone() => Webcam()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Webcam copyWith(void Function(Webcam) updates) => super.copyWith((message) => updates(message as Webcam)) as Webcam; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Webcam create() => Webcam._(); - Webcam createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Webcam getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Webcam? _defaultInstance; - - /// Camera driver label (for internal use only) - @$pb.TagNumber(1) - $core.String get label => $_getSZ(0); - @$pb.TagNumber(1) - set label($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLabel() => $_has(0); - @$pb.TagNumber(1) - void clearLabel() => clearField(1); - - /// Camera driver status - @$pb.TagNumber(2) - $core.String get status => $_getSZ(1); - @$pb.TagNumber(2) - set status($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasStatus() => $_has(1); - @$pb.TagNumber(2) - void clearStatus() => clearField(2); - - /// Camera properties - @$pb.TagNumber(3) - $core.List get properties => $_getList(2); - - /// Camera human-readable driver name - @$pb.TagNumber(4) - $core.String get name => $_getSZ(3); - @$pb.TagNumber(4) - set name($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasName() => $_has(3); - @$pb.TagNumber(4) - void clearName() => clearField(4); - - /// Camera unique identifier - @$pb.TagNumber(5) - $core.String get id => $_getSZ(4); - @$pb.TagNumber(5) - set id($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasId() => $_has(4); - @$pb.TagNumber(5) - void clearId() => clearField(5); -} - -class Property extends $pb.GeneratedMessage { - factory Property({ - $core.int? widthPx, - $core.int? heightPx, - $core.String? frameFormat, - $core.double? frameRate, - }) { - final $result = create(); - if (widthPx != null) { - $result.widthPx = widthPx; - } - if (heightPx != null) { - $result.heightPx = heightPx; - } - if (frameFormat != null) { - $result.frameFormat = frameFormat; - } - if (frameRate != null) { - $result.frameRate = frameRate; - } - return $result; - } - Property._() : super(); - factory Property.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Property.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Property', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'widthPx', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'heightPx', $pb.PbFieldType.O3) - ..aOS(3, _omitFieldNames ? '' : 'frameFormat') - ..a<$core.double>(4, _omitFieldNames ? '' : 'frameRate', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Property clone() => Property()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Property copyWith(void Function(Property) updates) => super.copyWith((message) => updates(message as Property)) as Property; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Property create() => Property._(); - Property createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Property getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Property? _defaultInstance; - - /// Video resolution width in px - @$pb.TagNumber(1) - $core.int get widthPx => $_getIZ(0); - @$pb.TagNumber(1) - set widthPx($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasWidthPx() => $_has(0); - @$pb.TagNumber(1) - void clearWidthPx() => clearField(1); - - /// Video resolution height in px - @$pb.TagNumber(2) - $core.int get heightPx => $_getIZ(1); - @$pb.TagNumber(2) - set heightPx($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasHeightPx() => $_has(1); - @$pb.TagNumber(2) - void clearHeightPx() => clearField(2); - - /// Video frame format - @$pb.TagNumber(3) - $core.String get frameFormat => $_getSZ(2); - @$pb.TagNumber(3) - set frameFormat($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasFrameFormat() => $_has(2); - @$pb.TagNumber(3) - void clearFrameFormat() => clearField(3); - - /// Video frame rate in fps - @$pb.TagNumber(4) - $core.double get frameRate => $_getN(3); - @$pb.TagNumber(4) - set frameRate($core.double v) { $_setFloat(3, v); } - @$pb.TagNumber(4) - $core.bool hasFrameRate() => $_has(3); - @$pb.TagNumber(4) - void clearFrameRate() => clearField(4); -} - -class IntrinsicParameters extends $pb.GeneratedMessage { - factory IntrinsicParameters({ - $core.int? widthPx, - $core.int? heightPx, - $core.double? focalXPx, - $core.double? focalYPx, - $core.double? centerXPx, - $core.double? centerYPx, - }) { - final $result = create(); - if (widthPx != null) { - $result.widthPx = widthPx; - } - if (heightPx != null) { - $result.heightPx = heightPx; - } - if (focalXPx != null) { - $result.focalXPx = focalXPx; - } - if (focalYPx != null) { - $result.focalYPx = focalYPx; - } - if (centerXPx != null) { - $result.centerXPx = centerXPx; - } - if (centerYPx != null) { - $result.centerYPx = centerYPx; - } - return $result; - } - IntrinsicParameters._() : super(); - factory IntrinsicParameters.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IntrinsicParameters.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IntrinsicParameters', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'widthPx', $pb.PbFieldType.OU3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'heightPx', $pb.PbFieldType.OU3) - ..a<$core.double>(3, _omitFieldNames ? '' : 'focalXPx', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'focalYPx', $pb.PbFieldType.OD) - ..a<$core.double>(5, _omitFieldNames ? '' : 'centerXPx', $pb.PbFieldType.OD) - ..a<$core.double>(6, _omitFieldNames ? '' : 'centerYPx', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IntrinsicParameters clone() => IntrinsicParameters()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IntrinsicParameters copyWith(void Function(IntrinsicParameters) updates) => super.copyWith((message) => updates(message as IntrinsicParameters)) as IntrinsicParameters; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IntrinsicParameters create() => IntrinsicParameters._(); - IntrinsicParameters createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IntrinsicParameters getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IntrinsicParameters? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get widthPx => $_getIZ(0); - @$pb.TagNumber(1) - set widthPx($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasWidthPx() => $_has(0); - @$pb.TagNumber(1) - void clearWidthPx() => clearField(1); - - @$pb.TagNumber(2) - $core.int get heightPx => $_getIZ(1); - @$pb.TagNumber(2) - set heightPx($core.int v) { $_setUnsignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasHeightPx() => $_has(1); - @$pb.TagNumber(2) - void clearHeightPx() => clearField(2); - - @$pb.TagNumber(3) - $core.double get focalXPx => $_getN(2); - @$pb.TagNumber(3) - set focalXPx($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasFocalXPx() => $_has(2); - @$pb.TagNumber(3) - void clearFocalXPx() => clearField(3); - - @$pb.TagNumber(4) - $core.double get focalYPx => $_getN(3); - @$pb.TagNumber(4) - set focalYPx($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasFocalYPx() => $_has(3); - @$pb.TagNumber(4) - void clearFocalYPx() => clearField(4); - - @$pb.TagNumber(5) - $core.double get centerXPx => $_getN(4); - @$pb.TagNumber(5) - set centerXPx($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasCenterXPx() => $_has(4); - @$pb.TagNumber(5) - void clearCenterXPx() => clearField(5); - - @$pb.TagNumber(6) - $core.double get centerYPx => $_getN(5); - @$pb.TagNumber(6) - set centerYPx($core.double v) { $_setDouble(5, v); } - @$pb.TagNumber(6) - $core.bool hasCenterYPx() => $_has(5); - @$pb.TagNumber(6) - void clearCenterYPx() => clearField(6); -} - -class DistortionParameters extends $pb.GeneratedMessage { - factory DistortionParameters({ - $core.String? model, - $core.Iterable<$core.double>? parameters, - }) { - final $result = create(); - if (model != null) { - $result.model = model; - } - if (parameters != null) { - $result.parameters.addAll(parameters); - } - return $result; - } - DistortionParameters._() : super(); - factory DistortionParameters.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DistortionParameters.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DistortionParameters', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'model') - ..p<$core.double>(2, _omitFieldNames ? '' : 'parameters', $pb.PbFieldType.KD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DistortionParameters clone() => DistortionParameters()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DistortionParameters copyWith(void Function(DistortionParameters) updates) => super.copyWith((message) => updates(message as DistortionParameters)) as DistortionParameters; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DistortionParameters create() => DistortionParameters._(); - DistortionParameters createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DistortionParameters getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DistortionParameters? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get model => $_getSZ(0); - @$pb.TagNumber(1) - set model($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModel() => $_has(0); - @$pb.TagNumber(1) - void clearModel() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$core.double> get parameters => $_getList(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/camera/v1/camera.pbenum.dart b/lib/src/gen/component/camera/v1/camera.pbenum.dart deleted file mode 100644 index 948a6729b6e..00000000000 --- a/lib/src/gen/component/camera/v1/camera.pbenum.dart +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/camera/v1/camera.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class Format extends $pb.ProtobufEnum { - static const Format FORMAT_UNSPECIFIED = Format._(0, _omitEnumNames ? '' : 'FORMAT_UNSPECIFIED'); - static const Format FORMAT_RAW_RGBA = Format._(1, _omitEnumNames ? '' : 'FORMAT_RAW_RGBA'); - static const Format FORMAT_RAW_DEPTH = Format._(2, _omitEnumNames ? '' : 'FORMAT_RAW_DEPTH'); - static const Format FORMAT_JPEG = Format._(3, _omitEnumNames ? '' : 'FORMAT_JPEG'); - static const Format FORMAT_PNG = Format._(4, _omitEnumNames ? '' : 'FORMAT_PNG'); - - static const $core.List values = [ - FORMAT_UNSPECIFIED, - FORMAT_RAW_RGBA, - FORMAT_RAW_DEPTH, - FORMAT_JPEG, - FORMAT_PNG, - ]; - - static final $core.Map<$core.int, Format> _byValue = $pb.ProtobufEnum.initByValue(values); - static Format? valueOf($core.int value) => _byValue[value]; - - const Format._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/component/camera/v1/camera.pbgrpc.dart b/lib/src/gen/component/camera/v1/camera.pbgrpc.dart deleted file mode 100644 index 91bcafb993a..00000000000 --- a/lib/src/gen/component/camera/v1/camera.pbgrpc.dart +++ /dev/null @@ -1,181 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/camera/v1/camera.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/api/httpbody.pb.dart' as $17; -import 'camera.pb.dart' as $21; - -export 'camera.pb.dart'; - -@$pb.GrpcServiceName('viam.component.camera.v1.CameraService') -class CameraServiceClient extends $grpc.Client { - static final _$getImage = $grpc.ClientMethod<$21.GetImageRequest, $21.GetImageResponse>( - '/viam.component.camera.v1.CameraService/GetImage', - ($21.GetImageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.GetImageResponse.fromBuffer(value)); - static final _$getImages = $grpc.ClientMethod<$21.GetImagesRequest, $21.GetImagesResponse>( - '/viam.component.camera.v1.CameraService/GetImages', - ($21.GetImagesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.GetImagesResponse.fromBuffer(value)); - static final _$renderFrame = $grpc.ClientMethod<$21.RenderFrameRequest, $17.HttpBody>( - '/viam.component.camera.v1.CameraService/RenderFrame', - ($21.RenderFrameRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.HttpBody.fromBuffer(value)); - static final _$getPointCloud = $grpc.ClientMethod<$21.GetPointCloudRequest, $21.GetPointCloudResponse>( - '/viam.component.camera.v1.CameraService/GetPointCloud', - ($21.GetPointCloudRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.GetPointCloudResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$21.GetPropertiesRequest, $21.GetPropertiesResponse>( - '/viam.component.camera.v1.CameraService/GetProperties', - ($21.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.camera.v1.CameraService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.camera.v1.CameraService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - CameraServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$21.GetImageResponse> getImage($21.GetImageRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getImage, request, options: options); - } - - $grpc.ResponseFuture<$21.GetImagesResponse> getImages($21.GetImagesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getImages, request, options: options); - } - - $grpc.ResponseFuture<$17.HttpBody> renderFrame($21.RenderFrameRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$renderFrame, request, options: options); - } - - $grpc.ResponseFuture<$21.GetPointCloudResponse> getPointCloud($21.GetPointCloudRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPointCloud, request, options: options); - } - - $grpc.ResponseFuture<$21.GetPropertiesResponse> getProperties($21.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.camera.v1.CameraService') -abstract class CameraServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.camera.v1.CameraService'; - - CameraServiceBase() { - $addMethod($grpc.ServiceMethod<$21.GetImageRequest, $21.GetImageResponse>( - 'GetImage', - getImage_Pre, - false, - false, - ($core.List<$core.int> value) => $21.GetImageRequest.fromBuffer(value), - ($21.GetImageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$21.GetImagesRequest, $21.GetImagesResponse>( - 'GetImages', - getImages_Pre, - false, - false, - ($core.List<$core.int> value) => $21.GetImagesRequest.fromBuffer(value), - ($21.GetImagesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$21.RenderFrameRequest, $17.HttpBody>( - 'RenderFrame', - renderFrame_Pre, - false, - false, - ($core.List<$core.int> value) => $21.RenderFrameRequest.fromBuffer(value), - ($17.HttpBody value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$21.GetPointCloudRequest, $21.GetPointCloudResponse>( - 'GetPointCloud', - getPointCloud_Pre, - false, - false, - ($core.List<$core.int> value) => $21.GetPointCloudRequest.fromBuffer(value), - ($21.GetPointCloudResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$21.GetPropertiesRequest, $21.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $21.GetPropertiesRequest.fromBuffer(value), - ($21.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$21.GetImageResponse> getImage_Pre($grpc.ServiceCall call, $async.Future<$21.GetImageRequest> request) async { - return getImage(call, await request); - } - - $async.Future<$21.GetImagesResponse> getImages_Pre($grpc.ServiceCall call, $async.Future<$21.GetImagesRequest> request) async { - return getImages(call, await request); - } - - $async.Future<$17.HttpBody> renderFrame_Pre($grpc.ServiceCall call, $async.Future<$21.RenderFrameRequest> request) async { - return renderFrame(call, await request); - } - - $async.Future<$21.GetPointCloudResponse> getPointCloud_Pre($grpc.ServiceCall call, $async.Future<$21.GetPointCloudRequest> request) async { - return getPointCloud(call, await request); - } - - $async.Future<$21.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$21.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$21.GetImageResponse> getImage($grpc.ServiceCall call, $21.GetImageRequest request); - $async.Future<$21.GetImagesResponse> getImages($grpc.ServiceCall call, $21.GetImagesRequest request); - $async.Future<$17.HttpBody> renderFrame($grpc.ServiceCall call, $21.RenderFrameRequest request); - $async.Future<$21.GetPointCloudResponse> getPointCloud($grpc.ServiceCall call, $21.GetPointCloudRequest request); - $async.Future<$21.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $21.GetPropertiesRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/camera/v1/camera.pbjson.dart b/lib/src/gen/component/camera/v1/camera.pbjson.dart deleted file mode 100644 index 2f8fb6386e9..00000000000 --- a/lib/src/gen/component/camera/v1/camera.pbjson.dart +++ /dev/null @@ -1,270 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/camera/v1/camera.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use formatDescriptor instead') -const Format$json = { - '1': 'Format', - '2': [ - {'1': 'FORMAT_UNSPECIFIED', '2': 0}, - {'1': 'FORMAT_RAW_RGBA', '2': 1}, - {'1': 'FORMAT_RAW_DEPTH', '2': 2}, - {'1': 'FORMAT_JPEG', '2': 3}, - {'1': 'FORMAT_PNG', '2': 4}, - ], -}; - -/// Descriptor for `Format`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List formatDescriptor = $convert.base64Decode( - 'CgZGb3JtYXQSFgoSRk9STUFUX1VOU1BFQ0lGSUVEEAASEwoPRk9STUFUX1JBV19SR0JBEAESFA' - 'oQRk9STUFUX1JBV19ERVBUSBACEg8KC0ZPUk1BVF9KUEVHEAMSDgoKRk9STUFUX1BORxAE'); - -@$core.Deprecated('Use getImageRequestDescriptor instead') -const GetImageRequest$json = { - '1': 'GetImageRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'mime_type', '3': 2, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetImageRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getImageRequestDescriptor = $convert.base64Decode( - 'Cg9HZXRJbWFnZVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIbCgltaW1lX3R5cGUYAiABKA' - 'lSCG1pbWVUeXBlEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0' - 'cmE='); - -@$core.Deprecated('Use getImageResponseDescriptor instead') -const GetImageResponse$json = { - '1': 'GetImageResponse', - '2': [ - {'1': 'mime_type', '3': 1, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'image', '3': 2, '4': 1, '5': 12, '10': 'image'}, - ], -}; - -/// Descriptor for `GetImageResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getImageResponseDescriptor = $convert.base64Decode( - 'ChBHZXRJbWFnZVJlc3BvbnNlEhsKCW1pbWVfdHlwZRgBIAEoCVIIbWltZVR5cGUSFAoFaW1hZ2' - 'UYAiABKAxSBWltYWdl'); - -@$core.Deprecated('Use getImagesRequestDescriptor instead') -const GetImagesRequest$json = { - '1': 'GetImagesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetImagesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getImagesRequestDescriptor = $convert.base64Decode( - 'ChBHZXRJbWFnZXNSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWU='); - -@$core.Deprecated('Use getImagesResponseDescriptor instead') -const GetImagesResponse$json = { - '1': 'GetImagesResponse', - '2': [ - {'1': 'images', '3': 1, '4': 3, '5': 11, '6': '.viam.component.camera.v1.Image', '10': 'images'}, - {'1': 'response_metadata', '3': 84260, '4': 1, '5': 11, '6': '.viam.common.v1.ResponseMetadata', '10': 'responseMetadata'}, - ], -}; - -/// Descriptor for `GetImagesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getImagesResponseDescriptor = $convert.base64Decode( - 'ChFHZXRJbWFnZXNSZXNwb25zZRI3CgZpbWFnZXMYASADKAsyHy52aWFtLmNvbXBvbmVudC5jYW' - '1lcmEudjEuSW1hZ2VSBmltYWdlcxJPChFyZXNwb25zZV9tZXRhZGF0YRikkgUgASgLMiAudmlh' - 'bS5jb21tb24udjEuUmVzcG9uc2VNZXRhZGF0YVIQcmVzcG9uc2VNZXRhZGF0YQ=='); - -@$core.Deprecated('Use imageDescriptor instead') -const Image$json = { - '1': 'Image', - '2': [ - {'1': 'source_name', '3': 1, '4': 1, '5': 9, '10': 'sourceName'}, - {'1': 'format', '3': 2, '4': 1, '5': 14, '6': '.viam.component.camera.v1.Format', '10': 'format'}, - {'1': 'image', '3': 3, '4': 1, '5': 12, '10': 'image'}, - ], -}; - -/// Descriptor for `Image`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List imageDescriptor = $convert.base64Decode( - 'CgVJbWFnZRIfCgtzb3VyY2VfbmFtZRgBIAEoCVIKc291cmNlTmFtZRI4CgZmb3JtYXQYAiABKA' - '4yIC52aWFtLmNvbXBvbmVudC5jYW1lcmEudjEuRm9ybWF0UgZmb3JtYXQSFAoFaW1hZ2UYAyAB' - 'KAxSBWltYWdl'); - -@$core.Deprecated('Use renderFrameRequestDescriptor instead') -const RenderFrameRequest$json = { - '1': 'RenderFrameRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'mime_type', '3': 2, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `RenderFrameRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List renderFrameRequestDescriptor = $convert.base64Decode( - 'ChJSZW5kZXJGcmFtZVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIbCgltaW1lX3R5cGUYAi' - 'ABKAlSCG1pbWVUeXBlEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIF' - 'ZXh0cmE='); - -@$core.Deprecated('Use getPointCloudRequestDescriptor instead') -const GetPointCloudRequest$json = { - '1': 'GetPointCloudRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'mime_type', '3': 2, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPointCloudRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPointCloudRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQb2ludENsb3VkUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhsKCW1pbWVfdHlwZR' - 'gCIAEoCVIIbWltZVR5cGUSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0' - 'UgVleHRyYQ=='); - -@$core.Deprecated('Use getPointCloudResponseDescriptor instead') -const GetPointCloudResponse$json = { - '1': 'GetPointCloudResponse', - '2': [ - {'1': 'mime_type', '3': 1, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'point_cloud', '3': 2, '4': 1, '5': 12, '10': 'pointCloud'}, - ], -}; - -/// Descriptor for `GetPointCloudResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPointCloudResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQb2ludENsb3VkUmVzcG9uc2USGwoJbWltZV90eXBlGAEgASgJUghtaW1lVHlwZRIfCg' - 'twb2ludF9jbG91ZBgCIAEoDFIKcG9pbnRDbG91ZA=='); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1l'); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'supports_pcd', '3': 1, '4': 1, '5': 8, '10': 'supportsPcd'}, - {'1': 'intrinsic_parameters', '3': 2, '4': 1, '5': 11, '6': '.viam.component.camera.v1.IntrinsicParameters', '10': 'intrinsicParameters'}, - {'1': 'distortion_parameters', '3': 3, '4': 1, '5': 11, '6': '.viam.component.camera.v1.DistortionParameters', '10': 'distortionParameters'}, - {'1': 'mime_types', '3': 4, '4': 3, '5': 9, '10': 'mimeTypes'}, - {'1': 'frame_rate', '3': 5, '4': 1, '5': 2, '9': 0, '10': 'frameRate', '17': true}, - ], - '8': [ - {'1': '_frame_rate'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USIQoMc3VwcG9ydHNfcGNkGAEgASgIUgtzdXBwb3J0c1' - 'BjZBJgChRpbnRyaW5zaWNfcGFyYW1ldGVycxgCIAEoCzItLnZpYW0uY29tcG9uZW50LmNhbWVy' - 'YS52MS5JbnRyaW5zaWNQYXJhbWV0ZXJzUhNpbnRyaW5zaWNQYXJhbWV0ZXJzEmMKFWRpc3Rvcn' - 'Rpb25fcGFyYW1ldGVycxgDIAEoCzIuLnZpYW0uY29tcG9uZW50LmNhbWVyYS52MS5EaXN0b3J0' - 'aW9uUGFyYW1ldGVyc1IUZGlzdG9ydGlvblBhcmFtZXRlcnMSHQoKbWltZV90eXBlcxgEIAMoCV' - 'IJbWltZVR5cGVzEiIKCmZyYW1lX3JhdGUYBSABKAJIAFIJZnJhbWVSYXRliAEBQg0KC19mcmFt' - 'ZV9yYXRl'); - -@$core.Deprecated('Use webcamsDescriptor instead') -const Webcams$json = { - '1': 'Webcams', - '2': [ - {'1': 'webcams', '3': 1, '4': 3, '5': 11, '6': '.viam.component.camera.v1.Webcam', '10': 'webcams'}, - ], -}; - -/// Descriptor for `Webcams`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List webcamsDescriptor = $convert.base64Decode( - 'CgdXZWJjYW1zEjoKB3dlYmNhbXMYASADKAsyIC52aWFtLmNvbXBvbmVudC5jYW1lcmEudjEuV2' - 'ViY2FtUgd3ZWJjYW1z'); - -@$core.Deprecated('Use webcamDescriptor instead') -const Webcam$json = { - '1': 'Webcam', - '2': [ - {'1': 'label', '3': 1, '4': 1, '5': 9, '10': 'label'}, - {'1': 'status', '3': 2, '4': 1, '5': 9, '10': 'status'}, - {'1': 'properties', '3': 3, '4': 3, '5': 11, '6': '.viam.component.camera.v1.Property', '10': 'properties'}, - {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, - {'1': 'id', '3': 5, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `Webcam`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List webcamDescriptor = $convert.base64Decode( - 'CgZXZWJjYW0SFAoFbGFiZWwYASABKAlSBWxhYmVsEhYKBnN0YXR1cxgCIAEoCVIGc3RhdHVzEk' - 'IKCnByb3BlcnRpZXMYAyADKAsyIi52aWFtLmNvbXBvbmVudC5jYW1lcmEudjEuUHJvcGVydHlS' - 'CnByb3BlcnRpZXMSEgoEbmFtZRgEIAEoCVIEbmFtZRIOCgJpZBgFIAEoCVICaWQ='); - -@$core.Deprecated('Use propertyDescriptor instead') -const Property$json = { - '1': 'Property', - '2': [ - {'1': 'width_px', '3': 1, '4': 1, '5': 5, '10': 'widthPx'}, - {'1': 'height_px', '3': 2, '4': 1, '5': 5, '10': 'heightPx'}, - {'1': 'frame_format', '3': 3, '4': 1, '5': 9, '10': 'frameFormat'}, - {'1': 'frame_rate', '3': 4, '4': 1, '5': 2, '10': 'frameRate'}, - ], -}; - -/// Descriptor for `Property`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List propertyDescriptor = $convert.base64Decode( - 'CghQcm9wZXJ0eRIZCgh3aWR0aF9weBgBIAEoBVIHd2lkdGhQeBIbCgloZWlnaHRfcHgYAiABKA' - 'VSCGhlaWdodFB4EiEKDGZyYW1lX2Zvcm1hdBgDIAEoCVILZnJhbWVGb3JtYXQSHQoKZnJhbWVf' - 'cmF0ZRgEIAEoAlIJZnJhbWVSYXRl'); - -@$core.Deprecated('Use intrinsicParametersDescriptor instead') -const IntrinsicParameters$json = { - '1': 'IntrinsicParameters', - '2': [ - {'1': 'width_px', '3': 1, '4': 1, '5': 13, '10': 'widthPx'}, - {'1': 'height_px', '3': 2, '4': 1, '5': 13, '10': 'heightPx'}, - {'1': 'focal_x_px', '3': 3, '4': 1, '5': 1, '10': 'focalXPx'}, - {'1': 'focal_y_px', '3': 4, '4': 1, '5': 1, '10': 'focalYPx'}, - {'1': 'center_x_px', '3': 5, '4': 1, '5': 1, '10': 'centerXPx'}, - {'1': 'center_y_px', '3': 6, '4': 1, '5': 1, '10': 'centerYPx'}, - ], -}; - -/// Descriptor for `IntrinsicParameters`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List intrinsicParametersDescriptor = $convert.base64Decode( - 'ChNJbnRyaW5zaWNQYXJhbWV0ZXJzEhkKCHdpZHRoX3B4GAEgASgNUgd3aWR0aFB4EhsKCWhlaW' - 'dodF9weBgCIAEoDVIIaGVpZ2h0UHgSHAoKZm9jYWxfeF9weBgDIAEoAVIIZm9jYWxYUHgSHAoK' - 'Zm9jYWxfeV9weBgEIAEoAVIIZm9jYWxZUHgSHgoLY2VudGVyX3hfcHgYBSABKAFSCWNlbnRlcl' - 'hQeBIeCgtjZW50ZXJfeV9weBgGIAEoAVIJY2VudGVyWVB4'); - -@$core.Deprecated('Use distortionParametersDescriptor instead') -const DistortionParameters$json = { - '1': 'DistortionParameters', - '2': [ - {'1': 'model', '3': 1, '4': 1, '5': 9, '10': 'model'}, - {'1': 'parameters', '3': 2, '4': 3, '5': 1, '10': 'parameters'}, - ], -}; - -/// Descriptor for `DistortionParameters`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List distortionParametersDescriptor = $convert.base64Decode( - 'ChREaXN0b3J0aW9uUGFyYW1ldGVycxIUCgVtb2RlbBgBIAEoCVIFbW9kZWwSHgoKcGFyYW1ldG' - 'VycxgCIAMoAVIKcGFyYW1ldGVycw=='); - diff --git a/lib/src/gen/component/encoder/v1/encoder.pb.dart b/lib/src/gen/component/encoder/v1/encoder.pb.dart deleted file mode 100644 index 60003680331..00000000000 --- a/lib/src/gen/component/encoder/v1/encoder.pb.dart +++ /dev/null @@ -1,406 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/encoder/v1/encoder.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; -import 'encoder.pbenum.dart'; - -export 'encoder.pbenum.dart'; - -class GetPositionRequest extends $pb.GeneratedMessage { - factory GetPositionRequest({ - $core.String? name, - PositionType? positionType, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (positionType != null) { - $result.positionType = positionType; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPositionRequest._() : super(); - factory GetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..e(2, _omitFieldNames ? '' : 'positionType', $pb.PbFieldType.OE, defaultOrMaker: PositionType.POSITION_TYPE_UNSPECIFIED, valueOf: PositionType.valueOf, enumValues: PositionType.values) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionRequest clone() => GetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionRequest copyWith(void Function(GetPositionRequest) updates) => super.copyWith((message) => updates(message as GetPositionRequest)) as GetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionRequest create() => GetPositionRequest._(); - GetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionRequest? _defaultInstance; - - /// Name of encoder - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// If supplied, the response will return the specified - /// position type. If the driver does not implement - /// the requested type, this call will return an error. - /// If position type is not specified, the response - /// will return a default according to the driver. - @$pb.TagNumber(2) - PositionType get positionType => $_getN(1); - @$pb.TagNumber(2) - set positionType(PositionType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPositionType() => $_has(1); - @$pb.TagNumber(2) - void clearPositionType() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetPositionResponse extends $pb.GeneratedMessage { - factory GetPositionResponse({ - $core.double? value, - PositionType? positionType, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - if (positionType != null) { - $result.positionType = positionType; - } - return $result; - } - GetPositionResponse._() : super(); - factory GetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) - ..e(2, _omitFieldNames ? '' : 'positionType', $pb.PbFieldType.OE, defaultOrMaker: PositionType.POSITION_TYPE_UNSPECIFIED, valueOf: PositionType.valueOf, enumValues: PositionType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionResponse clone() => GetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionResponse copyWith(void Function(GetPositionResponse) updates) => super.copyWith((message) => updates(message as GetPositionResponse)) as GetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionResponse create() => GetPositionResponse._(); - GetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get value => $_getN(0); - @$pb.TagNumber(1) - set value($core.double v) { $_setFloat(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); - - @$pb.TagNumber(2) - PositionType get positionType => $_getN(1); - @$pb.TagNumber(2) - set positionType(PositionType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPositionType() => $_has(1); - @$pb.TagNumber(2) - void clearPositionType() => clearField(2); -} - -class ResetPositionRequest extends $pb.GeneratedMessage { - factory ResetPositionRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - ResetPositionRequest._() : super(); - factory ResetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResetPositionRequest clone() => ResetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResetPositionRequest copyWith(void Function(ResetPositionRequest) updates) => super.copyWith((message) => updates(message as ResetPositionRequest)) as ResetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResetPositionRequest create() => ResetPositionRequest._(); - ResetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResetPositionRequest? _defaultInstance; - - /// Name of an encoder - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class ResetPositionResponse extends $pb.GeneratedMessage { - factory ResetPositionResponse() => create(); - ResetPositionResponse._() : super(); - factory ResetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResetPositionResponse clone() => ResetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResetPositionResponse copyWith(void Function(ResetPositionResponse) updates) => super.copyWith((message) => updates(message as ResetPositionResponse)) as ResetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResetPositionResponse create() => ResetPositionResponse._(); - ResetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResetPositionResponse? _defaultInstance; -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// Name of the encoder - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - $core.bool? ticksCountSupported, - $core.bool? angleDegreesSupported, - }) { - final $result = create(); - if (ticksCountSupported != null) { - $result.ticksCountSupported = ticksCountSupported; - } - if (angleDegreesSupported != null) { - $result.angleDegreesSupported = angleDegreesSupported; - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'ticksCountSupported') - ..aOB(2, _omitFieldNames ? '' : 'angleDegreesSupported') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get ticksCountSupported => $_getBF(0); - @$pb.TagNumber(1) - set ticksCountSupported($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasTicksCountSupported() => $_has(0); - @$pb.TagNumber(1) - void clearTicksCountSupported() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get angleDegreesSupported => $_getBF(1); - @$pb.TagNumber(2) - set angleDegreesSupported($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasAngleDegreesSupported() => $_has(1); - @$pb.TagNumber(2) - void clearAngleDegreesSupported() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/encoder/v1/encoder.pbenum.dart b/lib/src/gen/component/encoder/v1/encoder.pbenum.dart deleted file mode 100644 index aa5fcb323a5..00000000000 --- a/lib/src/gen/component/encoder/v1/encoder.pbenum.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/encoder/v1/encoder.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class PositionType extends $pb.ProtobufEnum { - static const PositionType POSITION_TYPE_UNSPECIFIED = PositionType._(0, _omitEnumNames ? '' : 'POSITION_TYPE_UNSPECIFIED'); - static const PositionType POSITION_TYPE_TICKS_COUNT = PositionType._(1, _omitEnumNames ? '' : 'POSITION_TYPE_TICKS_COUNT'); - static const PositionType POSITION_TYPE_ANGLE_DEGREES = PositionType._(2, _omitEnumNames ? '' : 'POSITION_TYPE_ANGLE_DEGREES'); - - static const $core.List values = [ - POSITION_TYPE_UNSPECIFIED, - POSITION_TYPE_TICKS_COUNT, - POSITION_TYPE_ANGLE_DEGREES, - ]; - - static final $core.Map<$core.int, PositionType> _byValue = $pb.ProtobufEnum.initByValue(values); - static PositionType? valueOf($core.int value) => _byValue[value]; - - const PositionType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/component/encoder/v1/encoder.pbgrpc.dart b/lib/src/gen/component/encoder/v1/encoder.pbgrpc.dart deleted file mode 100644 index bba150b4bb0..00000000000 --- a/lib/src/gen/component/encoder/v1/encoder.pbgrpc.dart +++ /dev/null @@ -1,140 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/encoder/v1/encoder.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'encoder.pb.dart' as $22; - -export 'encoder.pb.dart'; - -@$pb.GrpcServiceName('viam.component.encoder.v1.EncoderService') -class EncoderServiceClient extends $grpc.Client { - static final _$getPosition = $grpc.ClientMethod<$22.GetPositionRequest, $22.GetPositionResponse>( - '/viam.component.encoder.v1.EncoderService/GetPosition', - ($22.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $22.GetPositionResponse.fromBuffer(value)); - static final _$resetPosition = $grpc.ClientMethod<$22.ResetPositionRequest, $22.ResetPositionResponse>( - '/viam.component.encoder.v1.EncoderService/ResetPosition', - ($22.ResetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $22.ResetPositionResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$22.GetPropertiesRequest, $22.GetPropertiesResponse>( - '/viam.component.encoder.v1.EncoderService/GetProperties', - ($22.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $22.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.encoder.v1.EncoderService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.encoder.v1.EncoderService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - EncoderServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$22.GetPositionResponse> getPosition($22.GetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPosition, request, options: options); - } - - $grpc.ResponseFuture<$22.ResetPositionResponse> resetPosition($22.ResetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$resetPosition, request, options: options); - } - - $grpc.ResponseFuture<$22.GetPropertiesResponse> getProperties($22.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.encoder.v1.EncoderService') -abstract class EncoderServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.encoder.v1.EncoderService'; - - EncoderServiceBase() { - $addMethod($grpc.ServiceMethod<$22.GetPositionRequest, $22.GetPositionResponse>( - 'GetPosition', - getPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $22.GetPositionRequest.fromBuffer(value), - ($22.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$22.ResetPositionRequest, $22.ResetPositionResponse>( - 'ResetPosition', - resetPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $22.ResetPositionRequest.fromBuffer(value), - ($22.ResetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$22.GetPropertiesRequest, $22.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $22.GetPropertiesRequest.fromBuffer(value), - ($22.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$22.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$22.GetPositionRequest> request) async { - return getPosition(call, await request); - } - - $async.Future<$22.ResetPositionResponse> resetPosition_Pre($grpc.ServiceCall call, $async.Future<$22.ResetPositionRequest> request) async { - return resetPosition(call, await request); - } - - $async.Future<$22.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$22.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$22.GetPositionResponse> getPosition($grpc.ServiceCall call, $22.GetPositionRequest request); - $async.Future<$22.ResetPositionResponse> resetPosition($grpc.ServiceCall call, $22.ResetPositionRequest request); - $async.Future<$22.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $22.GetPropertiesRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/encoder/v1/encoder.pbjson.dart b/lib/src/gen/component/encoder/v1/encoder.pbjson.dart deleted file mode 100644 index 4172cfb1bf1..00000000000 --- a/lib/src/gen/component/encoder/v1/encoder.pbjson.dart +++ /dev/null @@ -1,117 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/encoder/v1/encoder.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use positionTypeDescriptor instead') -const PositionType$json = { - '1': 'PositionType', - '2': [ - {'1': 'POSITION_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'POSITION_TYPE_TICKS_COUNT', '2': 1}, - {'1': 'POSITION_TYPE_ANGLE_DEGREES', '2': 2}, - ], -}; - -/// Descriptor for `PositionType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List positionTypeDescriptor = $convert.base64Decode( - 'CgxQb3NpdGlvblR5cGUSHQoZUE9TSVRJT05fVFlQRV9VTlNQRUNJRklFRBAAEh0KGVBPU0lUSU' - '9OX1RZUEVfVElDS1NfQ09VTlQQARIfChtQT1NJVElPTl9UWVBFX0FOR0xFX0RFR1JFRVMQAg=='); - -@$core.Deprecated('Use getPositionRequestDescriptor instead') -const GetPositionRequest$json = { - '1': 'GetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'position_type', '3': 2, '4': 1, '5': 14, '6': '.viam.component.encoder.v1.PositionType', '9': 0, '10': 'positionType', '17': true}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '8': [ - {'1': '_position_type'}, - ], -}; - -/// Descriptor for `GetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRJRCg1wb3NpdGlvbl90eX' - 'BlGAIgASgOMicudmlhbS5jb21wb25lbnQuZW5jb2Rlci52MS5Qb3NpdGlvblR5cGVIAFIMcG9z' - 'aXRpb25UeXBliAEBEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZX' - 'h0cmFCEAoOX3Bvc2l0aW9uX3R5cGU='); - -@$core.Deprecated('Use getPositionResponseDescriptor instead') -const GetPositionResponse$json = { - '1': 'GetPositionResponse', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 2, '10': 'value'}, - {'1': 'position_type', '3': 2, '4': 1, '5': 14, '6': '.viam.component.encoder.v1.PositionType', '10': 'positionType'}, - ], -}; - -/// Descriptor for `GetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQb3NpdGlvblJlc3BvbnNlEhQKBXZhbHVlGAEgASgCUgV2YWx1ZRJMCg1wb3NpdGlvbl' - '90eXBlGAIgASgOMicudmlhbS5jb21wb25lbnQuZW5jb2Rlci52MS5Qb3NpdGlvblR5cGVSDHBv' - 'c2l0aW9uVHlwZQ=='); - -@$core.Deprecated('Use resetPositionRequestDescriptor instead') -const ResetPositionRequest$json = { - '1': 'ResetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `ResetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resetPositionRequestDescriptor = $convert.base64Decode( - 'ChRSZXNldFBvc2l0aW9uUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use resetPositionResponseDescriptor instead') -const ResetPositionResponse$json = { - '1': 'ResetPositionResponse', -}; - -/// Descriptor for `ResetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resetPositionResponseDescriptor = $convert.base64Decode( - 'ChVSZXNldFBvc2l0aW9uUmVzcG9uc2U='); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'ticks_count_supported', '3': 1, '4': 1, '5': 8, '10': 'ticksCountSupported'}, - {'1': 'angle_degrees_supported', '3': 2, '4': 1, '5': 8, '10': 'angleDegreesSupported'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USMgoVdGlja3NfY291bnRfc3VwcG9ydGVkGAEgASgIUh' - 'N0aWNrc0NvdW50U3VwcG9ydGVkEjYKF2FuZ2xlX2RlZ3JlZXNfc3VwcG9ydGVkGAIgASgIUhVh' - 'bmdsZURlZ3JlZXNTdXBwb3J0ZWQ='); - diff --git a/lib/src/gen/component/gantry/v1/gantry.pb.dart b/lib/src/gen/component/gantry/v1/gantry.pb.dart deleted file mode 100644 index 0d74a1bf093..00000000000 --- a/lib/src/gen/component/gantry/v1/gantry.pb.dart +++ /dev/null @@ -1,743 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gantry/v1/gantry.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class GetPositionRequest extends $pb.GeneratedMessage { - factory GetPositionRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPositionRequest._() : super(); - factory GetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionRequest clone() => GetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionRequest copyWith(void Function(GetPositionRequest) updates) => super.copyWith((message) => updates(message as GetPositionRequest)) as GetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionRequest create() => GetPositionRequest._(); - GetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPositionResponse extends $pb.GeneratedMessage { - factory GetPositionResponse({ - $core.Iterable<$core.double>? positionsMm, - }) { - final $result = create(); - if (positionsMm != null) { - $result.positionsMm.addAll(positionsMm); - } - return $result; - } - GetPositionResponse._() : super(); - factory GetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'positionsMm', $pb.PbFieldType.KD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionResponse clone() => GetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionResponse copyWith(void Function(GetPositionResponse) updates) => super.copyWith((message) => updates(message as GetPositionResponse)) as GetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionResponse create() => GetPositionResponse._(); - GetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.double> get positionsMm => $_getList(0); -} - -class MoveToPositionRequest extends $pb.GeneratedMessage { - factory MoveToPositionRequest({ - $core.String? name, - $core.Iterable<$core.double>? positionsMm, - $core.Iterable<$core.double>? speedsMmPerSec, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (positionsMm != null) { - $result.positionsMm.addAll(positionsMm); - } - if (speedsMmPerSec != null) { - $result.speedsMmPerSec.addAll(speedsMmPerSec); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveToPositionRequest._() : super(); - factory MoveToPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveToPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..p<$core.double>(2, _omitFieldNames ? '' : 'positionsMm', $pb.PbFieldType.KD) - ..p<$core.double>(3, _omitFieldNames ? '' : 'speedsMmPerSec', $pb.PbFieldType.KD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveToPositionRequest clone() => MoveToPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveToPositionRequest copyWith(void Function(MoveToPositionRequest) updates) => super.copyWith((message) => updates(message as MoveToPositionRequest)) as MoveToPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveToPositionRequest create() => MoveToPositionRequest._(); - MoveToPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveToPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveToPositionRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Number of millimeters to move the gantry by respective to each axis. - @$pb.TagNumber(2) - $core.List<$core.double> get positionsMm => $_getList(1); - - /// Speeds to move each gantry axis must match length and order of positions_mm. - @$pb.TagNumber(3) - $core.List<$core.double> get speedsMmPerSec => $_getList(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class MoveToPositionResponse extends $pb.GeneratedMessage { - factory MoveToPositionResponse() => create(); - MoveToPositionResponse._() : super(); - factory MoveToPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveToPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveToPositionResponse clone() => MoveToPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveToPositionResponse copyWith(void Function(MoveToPositionResponse) updates) => super.copyWith((message) => updates(message as MoveToPositionResponse)) as MoveToPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveToPositionResponse create() => MoveToPositionResponse._(); - MoveToPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveToPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveToPositionResponse? _defaultInstance; -} - -class HomeRequest extends $pb.GeneratedMessage { - factory HomeRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - HomeRequest._() : super(); - factory HomeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HomeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HomeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - HomeRequest clone() => HomeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HomeRequest copyWith(void Function(HomeRequest) updates) => super.copyWith((message) => updates(message as HomeRequest)) as HomeRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static HomeRequest create() => HomeRequest._(); - HomeRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static HomeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static HomeRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class HomeResponse extends $pb.GeneratedMessage { - factory HomeResponse({ - $core.bool? homed, - }) { - final $result = create(); - if (homed != null) { - $result.homed = homed; - } - return $result; - } - HomeResponse._() : super(); - factory HomeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HomeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HomeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'homed') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - HomeResponse clone() => HomeResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HomeResponse copyWith(void Function(HomeResponse) updates) => super.copyWith((message) => updates(message as HomeResponse)) as HomeResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static HomeResponse create() => HomeResponse._(); - HomeResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static HomeResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static HomeResponse? _defaultInstance; - - /// A bool describing whether the gantry has completed homing - @$pb.TagNumber(1) - $core.bool get homed => $_getBF(0); - @$pb.TagNumber(1) - set homed($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasHomed() => $_has(0); - @$pb.TagNumber(1) - void clearHomed() => clearField(1); -} - -class GetLengthsRequest extends $pb.GeneratedMessage { - factory GetLengthsRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetLengthsRequest._() : super(); - factory GetLengthsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLengthsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLengthsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLengthsRequest clone() => GetLengthsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLengthsRequest copyWith(void Function(GetLengthsRequest) updates) => super.copyWith((message) => updates(message as GetLengthsRequest)) as GetLengthsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLengthsRequest create() => GetLengthsRequest._(); - GetLengthsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLengthsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLengthsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetLengthsResponse extends $pb.GeneratedMessage { - factory GetLengthsResponse({ - $core.Iterable<$core.double>? lengthsMm, - }) { - final $result = create(); - if (lengthsMm != null) { - $result.lengthsMm.addAll(lengthsMm); - } - return $result; - } - GetLengthsResponse._() : super(); - factory GetLengthsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLengthsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLengthsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'lengthsMm', $pb.PbFieldType.KD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLengthsResponse clone() => GetLengthsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLengthsResponse copyWith(void Function(GetLengthsResponse) updates) => super.copyWith((message) => updates(message as GetLengthsResponse)) as GetLengthsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLengthsResponse create() => GetLengthsResponse._(); - GetLengthsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLengthsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLengthsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.double> get lengthsMm => $_getList(0); -} - -class StopRequest extends $pb.GeneratedMessage { - factory StopRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StopRequest._() : super(); - factory StopRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopRequest clone() => StopRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopRequest copyWith(void Function(StopRequest) updates) => super.copyWith((message) => updates(message as StopRequest)) as StopRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopRequest create() => StopRequest._(); - StopRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopRequest? _defaultInstance; - - /// Name of a gantry - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class StopResponse extends $pb.GeneratedMessage { - factory StopResponse() => create(); - StopResponse._() : super(); - factory StopResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopResponse clone() => StopResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopResponse copyWith(void Function(StopResponse) updates) => super.copyWith((message) => updates(message as StopResponse)) as StopResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopResponse create() => StopResponse._(); - StopResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopResponse? _defaultInstance; -} - -class Status extends $pb.GeneratedMessage { - factory Status({ - $core.Iterable<$core.double>? positionsMm, - $core.Iterable<$core.double>? lengthsMm, - $core.bool? isMoving, - }) { - final $result = create(); - if (positionsMm != null) { - $result.positionsMm.addAll(positionsMm); - } - if (lengthsMm != null) { - $result.lengthsMm.addAll(lengthsMm); - } - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'positionsMm', $pb.PbFieldType.KD) - ..p<$core.double>(2, _omitFieldNames ? '' : 'lengthsMm', $pb.PbFieldType.KD) - ..aOB(3, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.double> get positionsMm => $_getList(0); - - @$pb.TagNumber(2) - $core.List<$core.double> get lengthsMm => $_getList(1); - - @$pb.TagNumber(3) - $core.bool get isMoving => $_getBF(2); - @$pb.TagNumber(3) - set isMoving($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIsMoving() => $_has(2); - @$pb.TagNumber(3) - void clearIsMoving() => clearField(3); -} - -class IsMovingRequest extends $pb.GeneratedMessage { - factory IsMovingRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - IsMovingRequest._() : super(); - factory IsMovingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingRequest clone() => IsMovingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingRequest copyWith(void Function(IsMovingRequest) updates) => super.copyWith((message) => updates(message as IsMovingRequest)) as IsMovingRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingRequest create() => IsMovingRequest._(); - IsMovingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class IsMovingResponse extends $pb.GeneratedMessage { - factory IsMovingResponse({ - $core.bool? isMoving, - }) { - final $result = create(); - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - IsMovingResponse._() : super(); - factory IsMovingResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingResponse clone() => IsMovingResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingResponse copyWith(void Function(IsMovingResponse) updates) => super.copyWith((message) => updates(message as IsMovingResponse)) as IsMovingResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingResponse create() => IsMovingResponse._(); - IsMovingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get isMoving => $_getBF(0); - @$pb.TagNumber(1) - set isMoving($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsMoving() => $_has(0); - @$pb.TagNumber(1) - void clearIsMoving() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/gantry/v1/gantry.pbenum.dart b/lib/src/gen/component/gantry/v1/gantry.pbenum.dart deleted file mode 100644 index 6d7707b4f76..00000000000 --- a/lib/src/gen/component/gantry/v1/gantry.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gantry/v1/gantry.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/gantry/v1/gantry.pbgrpc.dart b/lib/src/gen/component/gantry/v1/gantry.pbgrpc.dart deleted file mode 100644 index 779ae291cd7..00000000000 --- a/lib/src/gen/component/gantry/v1/gantry.pbgrpc.dart +++ /dev/null @@ -1,200 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gantry/v1/gantry.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'gantry.pb.dart' as $23; - -export 'gantry.pb.dart'; - -@$pb.GrpcServiceName('viam.component.gantry.v1.GantryService') -class GantryServiceClient extends $grpc.Client { - static final _$getPosition = $grpc.ClientMethod<$23.GetPositionRequest, $23.GetPositionResponse>( - '/viam.component.gantry.v1.GantryService/GetPosition', - ($23.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.GetPositionResponse.fromBuffer(value)); - static final _$moveToPosition = $grpc.ClientMethod<$23.MoveToPositionRequest, $23.MoveToPositionResponse>( - '/viam.component.gantry.v1.GantryService/MoveToPosition', - ($23.MoveToPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.MoveToPositionResponse.fromBuffer(value)); - static final _$home = $grpc.ClientMethod<$23.HomeRequest, $23.HomeResponse>( - '/viam.component.gantry.v1.GantryService/Home', - ($23.HomeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.HomeResponse.fromBuffer(value)); - static final _$getLengths = $grpc.ClientMethod<$23.GetLengthsRequest, $23.GetLengthsResponse>( - '/viam.component.gantry.v1.GantryService/GetLengths', - ($23.GetLengthsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.GetLengthsResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$23.StopRequest, $23.StopResponse>( - '/viam.component.gantry.v1.GantryService/Stop', - ($23.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$23.IsMovingRequest, $23.IsMovingResponse>( - '/viam.component.gantry.v1.GantryService/IsMoving', - ($23.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.gantry.v1.GantryService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.gantry.v1.GantryService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - GantryServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$23.GetPositionResponse> getPosition($23.GetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPosition, request, options: options); - } - - $grpc.ResponseFuture<$23.MoveToPositionResponse> moveToPosition($23.MoveToPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$moveToPosition, request, options: options); - } - - $grpc.ResponseFuture<$23.HomeResponse> home($23.HomeRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$home, request, options: options); - } - - $grpc.ResponseFuture<$23.GetLengthsResponse> getLengths($23.GetLengthsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getLengths, request, options: options); - } - - $grpc.ResponseFuture<$23.StopResponse> stop($23.StopRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stop, request, options: options); - } - - $grpc.ResponseFuture<$23.IsMovingResponse> isMoving($23.IsMovingRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isMoving, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.gantry.v1.GantryService') -abstract class GantryServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.gantry.v1.GantryService'; - - GantryServiceBase() { - $addMethod($grpc.ServiceMethod<$23.GetPositionRequest, $23.GetPositionResponse>( - 'GetPosition', - getPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $23.GetPositionRequest.fromBuffer(value), - ($23.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.MoveToPositionRequest, $23.MoveToPositionResponse>( - 'MoveToPosition', - moveToPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $23.MoveToPositionRequest.fromBuffer(value), - ($23.MoveToPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.HomeRequest, $23.HomeResponse>( - 'Home', - home_Pre, - false, - false, - ($core.List<$core.int> value) => $23.HomeRequest.fromBuffer(value), - ($23.HomeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.GetLengthsRequest, $23.GetLengthsResponse>( - 'GetLengths', - getLengths_Pre, - false, - false, - ($core.List<$core.int> value) => $23.GetLengthsRequest.fromBuffer(value), - ($23.GetLengthsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.StopRequest, $23.StopResponse>( - 'Stop', - stop_Pre, - false, - false, - ($core.List<$core.int> value) => $23.StopRequest.fromBuffer(value), - ($23.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.IsMovingRequest, $23.IsMovingResponse>( - 'IsMoving', - isMoving_Pre, - false, - false, - ($core.List<$core.int> value) => $23.IsMovingRequest.fromBuffer(value), - ($23.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$23.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$23.GetPositionRequest> request) async { - return getPosition(call, await request); - } - - $async.Future<$23.MoveToPositionResponse> moveToPosition_Pre($grpc.ServiceCall call, $async.Future<$23.MoveToPositionRequest> request) async { - return moveToPosition(call, await request); - } - - $async.Future<$23.HomeResponse> home_Pre($grpc.ServiceCall call, $async.Future<$23.HomeRequest> request) async { - return home(call, await request); - } - - $async.Future<$23.GetLengthsResponse> getLengths_Pre($grpc.ServiceCall call, $async.Future<$23.GetLengthsRequest> request) async { - return getLengths(call, await request); - } - - $async.Future<$23.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$23.StopRequest> request) async { - return stop(call, await request); - } - - $async.Future<$23.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$23.IsMovingRequest> request) async { - return isMoving(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$23.GetPositionResponse> getPosition($grpc.ServiceCall call, $23.GetPositionRequest request); - $async.Future<$23.MoveToPositionResponse> moveToPosition($grpc.ServiceCall call, $23.MoveToPositionRequest request); - $async.Future<$23.HomeResponse> home($grpc.ServiceCall call, $23.HomeRequest request); - $async.Future<$23.GetLengthsResponse> getLengths($grpc.ServiceCall call, $23.GetLengthsRequest request); - $async.Future<$23.StopResponse> stop($grpc.ServiceCall call, $23.StopRequest request); - $async.Future<$23.IsMovingResponse> isMoving($grpc.ServiceCall call, $23.IsMovingRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/gantry/v1/gantry.pbjson.dart b/lib/src/gen/component/gantry/v1/gantry.pbjson.dart deleted file mode 100644 index 2fbc6cacd8e..00000000000 --- a/lib/src/gen/component/gantry/v1/gantry.pbjson.dart +++ /dev/null @@ -1,183 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gantry/v1/gantry.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getPositionRequestDescriptor instead') -const GetPositionRequest$json = { - '1': 'GetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getPositionResponseDescriptor instead') -const GetPositionResponse$json = { - '1': 'GetPositionResponse', - '2': [ - {'1': 'positions_mm', '3': 1, '4': 3, '5': 1, '10': 'positionsMm'}, - ], -}; - -/// Descriptor for `GetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQb3NpdGlvblJlc3BvbnNlEiEKDHBvc2l0aW9uc19tbRgBIAMoAVILcG9zaXRpb25zTW' - '0='); - -@$core.Deprecated('Use moveToPositionRequestDescriptor instead') -const MoveToPositionRequest$json = { - '1': 'MoveToPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'positions_mm', '3': 2, '4': 3, '5': 1, '10': 'positionsMm'}, - {'1': 'speeds_mm_per_sec', '3': 3, '4': 3, '5': 1, '10': 'speedsMmPerSec'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `MoveToPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveToPositionRequestDescriptor = $convert.base64Decode( - 'ChVNb3ZlVG9Qb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIhCgxwb3NpdGlvbn' - 'NfbW0YAiADKAFSC3Bvc2l0aW9uc01tEikKEXNwZWVkc19tbV9wZXJfc2VjGAMgAygBUg5zcGVl' - 'ZHNNbVBlclNlYxItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dH' - 'Jh'); - -@$core.Deprecated('Use moveToPositionResponseDescriptor instead') -const MoveToPositionResponse$json = { - '1': 'MoveToPositionResponse', -}; - -/// Descriptor for `MoveToPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveToPositionResponseDescriptor = $convert.base64Decode( - 'ChZNb3ZlVG9Qb3NpdGlvblJlc3BvbnNl'); - -@$core.Deprecated('Use homeRequestDescriptor instead') -const HomeRequest$json = { - '1': 'HomeRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `HomeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List homeRequestDescriptor = $convert.base64Decode( - 'CgtIb21lUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use homeResponseDescriptor instead') -const HomeResponse$json = { - '1': 'HomeResponse', - '2': [ - {'1': 'homed', '3': 1, '4': 1, '5': 8, '10': 'homed'}, - ], -}; - -/// Descriptor for `HomeResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List homeResponseDescriptor = $convert.base64Decode( - 'CgxIb21lUmVzcG9uc2USFAoFaG9tZWQYASABKAhSBWhvbWVk'); - -@$core.Deprecated('Use getLengthsRequestDescriptor instead') -const GetLengthsRequest$json = { - '1': 'GetLengthsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetLengthsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLengthsRequestDescriptor = $convert.base64Decode( - 'ChFHZXRMZW5ndGhzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMh' - 'cuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getLengthsResponseDescriptor instead') -const GetLengthsResponse$json = { - '1': 'GetLengthsResponse', - '2': [ - {'1': 'lengths_mm', '3': 1, '4': 3, '5': 1, '10': 'lengthsMm'}, - ], -}; - -/// Descriptor for `GetLengthsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLengthsResponseDescriptor = $convert.base64Decode( - 'ChJHZXRMZW5ndGhzUmVzcG9uc2USHQoKbGVuZ3Roc19tbRgBIAMoAVIJbGVuZ3Roc01t'); - -@$core.Deprecated('Use stopRequestDescriptor instead') -const StopRequest$json = { - '1': 'StopRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopRequestDescriptor = $convert.base64Decode( - 'CgtTdG9wUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use stopResponseDescriptor instead') -const StopResponse$json = { - '1': 'StopResponse', -}; - -/// Descriptor for `StopResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopResponseDescriptor = $convert.base64Decode( - 'CgxTdG9wUmVzcG9uc2U='); - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'positions_mm', '3': 1, '4': 3, '5': 1, '10': 'positionsMm'}, - {'1': 'lengths_mm', '3': 2, '4': 3, '5': 1, '10': 'lengthsMm'}, - {'1': 'is_moving', '3': 3, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSIQoMcG9zaXRpb25zX21tGAEgAygBUgtwb3NpdGlvbnNNbRIdCgpsZW5ndGhzX2' - '1tGAIgAygBUglsZW5ndGhzTW0SGwoJaXNfbW92aW5nGAMgASgIUghpc01vdmluZw=='); - -@$core.Deprecated('Use isMovingRequestDescriptor instead') -const IsMovingRequest$json = { - '1': 'IsMovingRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `IsMovingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingRequestDescriptor = $convert.base64Decode( - 'Cg9Jc01vdmluZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use isMovingResponseDescriptor instead') -const IsMovingResponse$json = { - '1': 'IsMovingResponse', - '2': [ - {'1': 'is_moving', '3': 1, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `IsMovingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingResponseDescriptor = $convert.base64Decode( - 'ChBJc01vdmluZ1Jlc3BvbnNlEhsKCWlzX21vdmluZxgBIAEoCFIIaXNNb3Zpbmc='); - diff --git a/lib/src/gen/component/generic/v1/generic.pb.dart b/lib/src/gen/component/generic/v1/generic.pb.dart deleted file mode 100644 index 534e6ec7b21..00000000000 --- a/lib/src/gen/component/generic/v1/generic.pb.dart +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - diff --git a/lib/src/gen/component/generic/v1/generic.pbenum.dart b/lib/src/gen/component/generic/v1/generic.pbenum.dart deleted file mode 100644 index 27b089e065f..00000000000 --- a/lib/src/gen/component/generic/v1/generic.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/generic/v1/generic.pbgrpc.dart b/lib/src/gen/component/generic/v1/generic.pbgrpc.dart deleted file mode 100644 index afe486fe07c..00000000000 --- a/lib/src/gen/component/generic/v1/generic.pbgrpc.dart +++ /dev/null @@ -1,79 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; - -export 'generic.pb.dart'; - -@$pb.GrpcServiceName('viam.component.generic.v1.GenericService') -class GenericServiceClient extends $grpc.Client { - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.generic.v1.GenericService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.generic.v1.GenericService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - GenericServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.generic.v1.GenericService') -abstract class GenericServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.generic.v1.GenericService'; - - GenericServiceBase() { - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/generic/v1/generic.pbjson.dart b/lib/src/gen/component/generic/v1/generic.pbjson.dart deleted file mode 100644 index 1700daa10f8..00000000000 --- a/lib/src/gen/component/generic/v1/generic.pbjson.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - diff --git a/lib/src/gen/component/gripper/v1/gripper.pb.dart b/lib/src/gen/component/gripper/v1/gripper.pb.dart deleted file mode 100644 index 9c1ff6b8bd9..00000000000 --- a/lib/src/gen/component/gripper/v1/gripper.pb.dart +++ /dev/null @@ -1,449 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gripper/v1/gripper.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class OpenRequest extends $pb.GeneratedMessage { - factory OpenRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - OpenRequest._() : super(); - factory OpenRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OpenRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OpenRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OpenRequest clone() => OpenRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OpenRequest copyWith(void Function(OpenRequest) updates) => super.copyWith((message) => updates(message as OpenRequest)) as OpenRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OpenRequest create() => OpenRequest._(); - OpenRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OpenRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OpenRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class OpenResponse extends $pb.GeneratedMessage { - factory OpenResponse() => create(); - OpenResponse._() : super(); - factory OpenResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OpenResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OpenResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OpenResponse clone() => OpenResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OpenResponse copyWith(void Function(OpenResponse) updates) => super.copyWith((message) => updates(message as OpenResponse)) as OpenResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OpenResponse create() => OpenResponse._(); - OpenResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OpenResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OpenResponse? _defaultInstance; -} - -class GrabRequest extends $pb.GeneratedMessage { - factory GrabRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GrabRequest._() : super(); - factory GrabRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GrabRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GrabRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GrabRequest clone() => GrabRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GrabRequest copyWith(void Function(GrabRequest) updates) => super.copyWith((message) => updates(message as GrabRequest)) as GrabRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GrabRequest create() => GrabRequest._(); - GrabRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GrabRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GrabRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GrabResponse extends $pb.GeneratedMessage { - factory GrabResponse({ - $core.bool? success, - $46.Struct? extra, - }) { - final $result = create(); - if (success != null) { - $result.success = success; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GrabResponse._() : super(); - factory GrabResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GrabResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GrabResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'success') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GrabResponse clone() => GrabResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GrabResponse copyWith(void Function(GrabResponse) updates) => super.copyWith((message) => updates(message as GrabResponse)) as GrabResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GrabResponse create() => GrabResponse._(); - GrabResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GrabResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GrabResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get success => $_getBF(0); - @$pb.TagNumber(1) - set success($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasSuccess() => $_has(0); - @$pb.TagNumber(1) - void clearSuccess() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class StopRequest extends $pb.GeneratedMessage { - factory StopRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StopRequest._() : super(); - factory StopRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopRequest clone() => StopRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopRequest copyWith(void Function(StopRequest) updates) => super.copyWith((message) => updates(message as StopRequest)) as StopRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopRequest create() => StopRequest._(); - StopRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopRequest? _defaultInstance; - - /// Name of a gripper - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class StopResponse extends $pb.GeneratedMessage { - factory StopResponse() => create(); - StopResponse._() : super(); - factory StopResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopResponse clone() => StopResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopResponse copyWith(void Function(StopResponse) updates) => super.copyWith((message) => updates(message as StopResponse)) as StopResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopResponse create() => StopResponse._(); - StopResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopResponse? _defaultInstance; -} - -class IsMovingRequest extends $pb.GeneratedMessage { - factory IsMovingRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - IsMovingRequest._() : super(); - factory IsMovingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingRequest clone() => IsMovingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingRequest copyWith(void Function(IsMovingRequest) updates) => super.copyWith((message) => updates(message as IsMovingRequest)) as IsMovingRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingRequest create() => IsMovingRequest._(); - IsMovingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class IsMovingResponse extends $pb.GeneratedMessage { - factory IsMovingResponse({ - $core.bool? isMoving, - }) { - final $result = create(); - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - IsMovingResponse._() : super(); - factory IsMovingResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingResponse clone() => IsMovingResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingResponse copyWith(void Function(IsMovingResponse) updates) => super.copyWith((message) => updates(message as IsMovingResponse)) as IsMovingResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingResponse create() => IsMovingResponse._(); - IsMovingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get isMoving => $_getBF(0); - @$pb.TagNumber(1) - set isMoving($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsMoving() => $_has(0); - @$pb.TagNumber(1) - void clearIsMoving() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/gripper/v1/gripper.pbenum.dart b/lib/src/gen/component/gripper/v1/gripper.pbenum.dart deleted file mode 100644 index 09cd561d707..00000000000 --- a/lib/src/gen/component/gripper/v1/gripper.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gripper/v1/gripper.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/gripper/v1/gripper.pbgrpc.dart b/lib/src/gen/component/gripper/v1/gripper.pbgrpc.dart deleted file mode 100644 index 3edbd98bad9..00000000000 --- a/lib/src/gen/component/gripper/v1/gripper.pbgrpc.dart +++ /dev/null @@ -1,160 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gripper/v1/gripper.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'gripper.pb.dart' as $24; - -export 'gripper.pb.dart'; - -@$pb.GrpcServiceName('viam.component.gripper.v1.GripperService') -class GripperServiceClient extends $grpc.Client { - static final _$open = $grpc.ClientMethod<$24.OpenRequest, $24.OpenResponse>( - '/viam.component.gripper.v1.GripperService/Open', - ($24.OpenRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.OpenResponse.fromBuffer(value)); - static final _$grab = $grpc.ClientMethod<$24.GrabRequest, $24.GrabResponse>( - '/viam.component.gripper.v1.GripperService/Grab', - ($24.GrabRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GrabResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$24.StopRequest, $24.StopResponse>( - '/viam.component.gripper.v1.GripperService/Stop', - ($24.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$24.IsMovingRequest, $24.IsMovingResponse>( - '/viam.component.gripper.v1.GripperService/IsMoving', - ($24.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.gripper.v1.GripperService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.gripper.v1.GripperService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - GripperServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$24.OpenResponse> open($24.OpenRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$open, request, options: options); - } - - $grpc.ResponseFuture<$24.GrabResponse> grab($24.GrabRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$grab, request, options: options); - } - - $grpc.ResponseFuture<$24.StopResponse> stop($24.StopRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stop, request, options: options); - } - - $grpc.ResponseFuture<$24.IsMovingResponse> isMoving($24.IsMovingRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isMoving, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.gripper.v1.GripperService') -abstract class GripperServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.gripper.v1.GripperService'; - - GripperServiceBase() { - $addMethod($grpc.ServiceMethod<$24.OpenRequest, $24.OpenResponse>( - 'Open', - open_Pre, - false, - false, - ($core.List<$core.int> value) => $24.OpenRequest.fromBuffer(value), - ($24.OpenResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GrabRequest, $24.GrabResponse>( - 'Grab', - grab_Pre, - false, - false, - ($core.List<$core.int> value) => $24.GrabRequest.fromBuffer(value), - ($24.GrabResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.StopRequest, $24.StopResponse>( - 'Stop', - stop_Pre, - false, - false, - ($core.List<$core.int> value) => $24.StopRequest.fromBuffer(value), - ($24.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.IsMovingRequest, $24.IsMovingResponse>( - 'IsMoving', - isMoving_Pre, - false, - false, - ($core.List<$core.int> value) => $24.IsMovingRequest.fromBuffer(value), - ($24.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$24.OpenResponse> open_Pre($grpc.ServiceCall call, $async.Future<$24.OpenRequest> request) async { - return open(call, await request); - } - - $async.Future<$24.GrabResponse> grab_Pre($grpc.ServiceCall call, $async.Future<$24.GrabRequest> request) async { - return grab(call, await request); - } - - $async.Future<$24.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$24.StopRequest> request) async { - return stop(call, await request); - } - - $async.Future<$24.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$24.IsMovingRequest> request) async { - return isMoving(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$24.OpenResponse> open($grpc.ServiceCall call, $24.OpenRequest request); - $async.Future<$24.GrabResponse> grab($grpc.ServiceCall call, $24.GrabRequest request); - $async.Future<$24.StopResponse> stop($grpc.ServiceCall call, $24.StopRequest request); - $async.Future<$24.IsMovingResponse> isMoving($grpc.ServiceCall call, $24.IsMovingRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/gripper/v1/gripper.pbjson.dart b/lib/src/gen/component/gripper/v1/gripper.pbjson.dart deleted file mode 100644 index 82005de7f65..00000000000 --- a/lib/src/gen/component/gripper/v1/gripper.pbjson.dart +++ /dev/null @@ -1,113 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/gripper/v1/gripper.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use openRequestDescriptor instead') -const OpenRequest$json = { - '1': 'OpenRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `OpenRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List openRequestDescriptor = $convert.base64Decode( - 'CgtPcGVuUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use openResponseDescriptor instead') -const OpenResponse$json = { - '1': 'OpenResponse', -}; - -/// Descriptor for `OpenResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List openResponseDescriptor = $convert.base64Decode( - 'CgxPcGVuUmVzcG9uc2U='); - -@$core.Deprecated('Use grabRequestDescriptor instead') -const GrabRequest$json = { - '1': 'GrabRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GrabRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List grabRequestDescriptor = $convert.base64Decode( - 'CgtHcmFiUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use grabResponseDescriptor instead') -const GrabResponse$json = { - '1': 'GrabResponse', - '2': [ - {'1': 'success', '3': 1, '4': 1, '5': 8, '10': 'success'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GrabResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List grabResponseDescriptor = $convert.base64Decode( - 'CgxHcmFiUmVzcG9uc2USGAoHc3VjY2VzcxgBIAEoCFIHc3VjY2VzcxItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use stopRequestDescriptor instead') -const StopRequest$json = { - '1': 'StopRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopRequestDescriptor = $convert.base64Decode( - 'CgtTdG9wUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use stopResponseDescriptor instead') -const StopResponse$json = { - '1': 'StopResponse', -}; - -/// Descriptor for `StopResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopResponseDescriptor = $convert.base64Decode( - 'CgxTdG9wUmVzcG9uc2U='); - -@$core.Deprecated('Use isMovingRequestDescriptor instead') -const IsMovingRequest$json = { - '1': 'IsMovingRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `IsMovingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingRequestDescriptor = $convert.base64Decode( - 'Cg9Jc01vdmluZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use isMovingResponseDescriptor instead') -const IsMovingResponse$json = { - '1': 'IsMovingResponse', - '2': [ - {'1': 'is_moving', '3': 1, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `IsMovingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingResponseDescriptor = $convert.base64Decode( - 'ChBJc01vdmluZ1Jlc3BvbnNlEhsKCWlzX21vdmluZxgBIAEoCFIIaXNNb3Zpbmc='); - diff --git a/lib/src/gen/component/inputcontroller/v1/input_controller.pb.dart b/lib/src/gen/component/inputcontroller/v1/input_controller.pb.dart deleted file mode 100644 index 21d0f2e03d1..00000000000 --- a/lib/src/gen/component/inputcontroller/v1/input_controller.pb.dart +++ /dev/null @@ -1,708 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/inputcontroller/v1/input_controller.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; -import '../../../google/protobuf/timestamp.pb.dart' as $47; - -class GetControlsRequest extends $pb.GeneratedMessage { - factory GetControlsRequest({ - $core.String? controller, - $46.Struct? extra, - }) { - final $result = create(); - if (controller != null) { - $result.controller = controller; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetControlsRequest._() : super(); - factory GetControlsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetControlsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetControlsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'controller') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetControlsRequest clone() => GetControlsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetControlsRequest copyWith(void Function(GetControlsRequest) updates) => super.copyWith((message) => updates(message as GetControlsRequest)) as GetControlsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetControlsRequest create() => GetControlsRequest._(); - GetControlsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetControlsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetControlsRequest? _defaultInstance; - - /// Name of an input controller - @$pb.TagNumber(1) - $core.String get controller => $_getSZ(0); - @$pb.TagNumber(1) - set controller($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasController() => $_has(0); - @$pb.TagNumber(1) - void clearController() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetControlsResponse extends $pb.GeneratedMessage { - factory GetControlsResponse({ - $core.Iterable<$core.String>? controls, - }) { - final $result = create(); - if (controls != null) { - $result.controls.addAll(controls); - } - return $result; - } - GetControlsResponse._() : super(); - factory GetControlsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetControlsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetControlsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'controls') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetControlsResponse clone() => GetControlsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetControlsResponse copyWith(void Function(GetControlsResponse) updates) => super.copyWith((message) => updates(message as GetControlsResponse)) as GetControlsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetControlsResponse create() => GetControlsResponse._(); - GetControlsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetControlsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetControlsResponse? _defaultInstance; - - /// Returns a list of all the controls (buttons and axes) that are - /// available to a given Input Controller - @$pb.TagNumber(1) - $core.List<$core.String> get controls => $_getList(0); -} - -class GetEventsRequest extends $pb.GeneratedMessage { - factory GetEventsRequest({ - $core.String? controller, - $46.Struct? extra, - }) { - final $result = create(); - if (controller != null) { - $result.controller = controller; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetEventsRequest._() : super(); - factory GetEventsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetEventsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEventsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'controller') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetEventsRequest clone() => GetEventsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetEventsRequest copyWith(void Function(GetEventsRequest) updates) => super.copyWith((message) => updates(message as GetEventsRequest)) as GetEventsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetEventsRequest create() => GetEventsRequest._(); - GetEventsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetEventsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetEventsRequest? _defaultInstance; - - /// Name of an input controller - @$pb.TagNumber(1) - $core.String get controller => $_getSZ(0); - @$pb.TagNumber(1) - set controller($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasController() => $_has(0); - @$pb.TagNumber(1) - void clearController() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetEventsResponse extends $pb.GeneratedMessage { - factory GetEventsResponse({ - $core.Iterable? events, - }) { - final $result = create(); - if (events != null) { - $result.events.addAll(events); - } - return $result; - } - GetEventsResponse._() : super(); - factory GetEventsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetEventsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEventsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: Event.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetEventsResponse clone() => GetEventsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetEventsResponse copyWith(void Function(GetEventsResponse) updates) => super.copyWith((message) => updates(message as GetEventsResponse)) as GetEventsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetEventsResponse create() => GetEventsResponse._(); - GetEventsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetEventsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetEventsResponse? _defaultInstance; - - /// Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all - /// buttons/axes on a given input controller - @$pb.TagNumber(1) - $core.List get events => $_getList(0); -} - -class TriggerEventRequest extends $pb.GeneratedMessage { - factory TriggerEventRequest({ - $core.String? controller, - Event? event, - $46.Struct? extra, - }) { - final $result = create(); - if (controller != null) { - $result.controller = controller; - } - if (event != null) { - $result.event = event; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - TriggerEventRequest._() : super(); - factory TriggerEventRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TriggerEventRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TriggerEventRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'controller') - ..aOM(2, _omitFieldNames ? '' : 'event', subBuilder: Event.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TriggerEventRequest clone() => TriggerEventRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TriggerEventRequest copyWith(void Function(TriggerEventRequest) updates) => super.copyWith((message) => updates(message as TriggerEventRequest)) as TriggerEventRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TriggerEventRequest create() => TriggerEventRequest._(); - TriggerEventRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TriggerEventRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TriggerEventRequest? _defaultInstance; - - /// Name of an input controller - @$pb.TagNumber(1) - $core.String get controller => $_getSZ(0); - @$pb.TagNumber(1) - set controller($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasController() => $_has(0); - @$pb.TagNumber(1) - void clearController() => clearField(1); - - /// Digitally assert a given event - @$pb.TagNumber(2) - Event get event => $_getN(1); - @$pb.TagNumber(2) - set event(Event v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEvent() => $_has(1); - @$pb.TagNumber(2) - void clearEvent() => clearField(2); - @$pb.TagNumber(2) - Event ensureEvent() => $_ensure(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class TriggerEventResponse extends $pb.GeneratedMessage { - factory TriggerEventResponse() => create(); - TriggerEventResponse._() : super(); - factory TriggerEventResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TriggerEventResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TriggerEventResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TriggerEventResponse clone() => TriggerEventResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TriggerEventResponse copyWith(void Function(TriggerEventResponse) updates) => super.copyWith((message) => updates(message as TriggerEventResponse)) as TriggerEventResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TriggerEventResponse create() => TriggerEventResponse._(); - TriggerEventResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TriggerEventResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TriggerEventResponse? _defaultInstance; -} - -class Event extends $pb.GeneratedMessage { - factory Event({ - $47.Timestamp? time, - $core.String? event, - $core.String? control, - $core.double? value, - }) { - final $result = create(); - if (time != null) { - $result.time = time; - } - if (event != null) { - $result.event = event; - } - if (control != null) { - $result.control = control; - } - if (value != null) { - $result.value = value; - } - return $result; - } - Event._() : super(); - factory Event.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Event.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Event', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOM<$47.Timestamp>(1, _omitFieldNames ? '' : 'time', subBuilder: $47.Timestamp.create) - ..aOS(2, _omitFieldNames ? '' : 'event') - ..aOS(3, _omitFieldNames ? '' : 'control') - ..a<$core.double>(4, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Event clone() => Event()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Event copyWith(void Function(Event) updates) => super.copyWith((message) => updates(message as Event)) as Event; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Event create() => Event._(); - Event createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Event getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Event? _defaultInstance; - - /// Timestamp of event - @$pb.TagNumber(1) - $47.Timestamp get time => $_getN(0); - @$pb.TagNumber(1) - set time($47.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasTime() => $_has(0); - @$pb.TagNumber(1) - void clearTime() => clearField(1); - @$pb.TagNumber(1) - $47.Timestamp ensureTime() => $_ensure(0); - - /// An event type (eg: ButtonPress, ButtonRelease) - @$pb.TagNumber(2) - $core.String get event => $_getSZ(1); - @$pb.TagNumber(2) - set event($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasEvent() => $_has(1); - @$pb.TagNumber(2) - void clearEvent() => clearField(2); - - /// A control, can be a button (eg: ButtonSouth) or an axis (eg: AbsoluteX) - @$pb.TagNumber(3) - $core.String get control => $_getSZ(2); - @$pb.TagNumber(3) - set control($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasControl() => $_has(2); - @$pb.TagNumber(3) - void clearControl() => clearField(3); - - /// 0 or 1 for buttons, -1.0 to +1.0 for axes - @$pb.TagNumber(4) - $core.double get value => $_getN(3); - @$pb.TagNumber(4) - set value($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasValue() => $_has(3); - @$pb.TagNumber(4) - void clearValue() => clearField(4); -} - -class StreamEventsRequest_Events extends $pb.GeneratedMessage { - factory StreamEventsRequest_Events({ - $core.String? control, - $core.Iterable<$core.String>? events, - $core.Iterable<$core.String>? cancelledEvents, - }) { - final $result = create(); - if (control != null) { - $result.control = control; - } - if (events != null) { - $result.events.addAll(events); - } - if (cancelledEvents != null) { - $result.cancelledEvents.addAll(cancelledEvents); - } - return $result; - } - StreamEventsRequest_Events._() : super(); - factory StreamEventsRequest_Events.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamEventsRequest_Events.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamEventsRequest.Events', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'control') - ..pPS(2, _omitFieldNames ? '' : 'events') - ..pPS(3, _omitFieldNames ? '' : 'cancelledEvents') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamEventsRequest_Events clone() => StreamEventsRequest_Events()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamEventsRequest_Events copyWith(void Function(StreamEventsRequest_Events) updates) => super.copyWith((message) => updates(message as StreamEventsRequest_Events)) as StreamEventsRequest_Events; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamEventsRequest_Events create() => StreamEventsRequest_Events._(); - StreamEventsRequest_Events createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamEventsRequest_Events getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamEventsRequest_Events? _defaultInstance; - - /// Name of a control (button or axis) - @$pb.TagNumber(1) - $core.String get control => $_getSZ(0); - @$pb.TagNumber(1) - set control($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasControl() => $_has(0); - @$pb.TagNumber(1) - void clearControl() => clearField(1); - - /// Specify which event types to recieve events for - @$pb.TagNumber(2) - $core.List<$core.String> get events => $_getList(1); - - /// Specify which event types to stop recieving events for - /// This can be an empty list - @$pb.TagNumber(3) - $core.List<$core.String> get cancelledEvents => $_getList(2); -} - -class StreamEventsRequest extends $pb.GeneratedMessage { - factory StreamEventsRequest({ - $core.String? controller, - $core.Iterable? events, - $46.Struct? extra, - }) { - final $result = create(); - if (controller != null) { - $result.controller = controller; - } - if (events != null) { - $result.events.addAll(events); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StreamEventsRequest._() : super(); - factory StreamEventsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamEventsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamEventsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'controller') - ..pc(2, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: StreamEventsRequest_Events.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamEventsRequest clone() => StreamEventsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamEventsRequest copyWith(void Function(StreamEventsRequest) updates) => super.copyWith((message) => updates(message as StreamEventsRequest)) as StreamEventsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamEventsRequest create() => StreamEventsRequest._(); - StreamEventsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamEventsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamEventsRequest? _defaultInstance; - - /// Name of an input controller - @$pb.TagNumber(1) - $core.String get controller => $_getSZ(0); - @$pb.TagNumber(1) - set controller($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasController() => $_has(0); - @$pb.TagNumber(1) - void clearController() => clearField(1); - - /// A list of Events - @$pb.TagNumber(2) - $core.List get events => $_getList(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class StreamEventsResponse extends $pb.GeneratedMessage { - factory StreamEventsResponse({ - Event? event, - }) { - final $result = create(); - if (event != null) { - $result.event = event; - } - return $result; - } - StreamEventsResponse._() : super(); - factory StreamEventsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamEventsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamEventsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'event', subBuilder: Event.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamEventsResponse clone() => StreamEventsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamEventsResponse copyWith(void Function(StreamEventsResponse) updates) => super.copyWith((message) => updates(message as StreamEventsResponse)) as StreamEventsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamEventsResponse create() => StreamEventsResponse._(); - StreamEventsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamEventsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamEventsResponse? _defaultInstance; - - /// Event for a controller - @$pb.TagNumber(1) - Event get event => $_getN(0); - @$pb.TagNumber(1) - set event(Event v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasEvent() => $_has(0); - @$pb.TagNumber(1) - void clearEvent() => clearField(1); - @$pb.TagNumber(1) - Event ensureEvent() => $_ensure(0); -} - -class Status extends $pb.GeneratedMessage { - factory Status({ - $core.Iterable? events, - }) { - final $result = create(); - if (events != null) { - $result.events.addAll(events); - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: Event.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get events => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/inputcontroller/v1/input_controller.pbenum.dart b/lib/src/gen/component/inputcontroller/v1/input_controller.pbenum.dart deleted file mode 100644 index b4faf4ca09d..00000000000 --- a/lib/src/gen/component/inputcontroller/v1/input_controller.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/inputcontroller/v1/input_controller.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/inputcontroller/v1/input_controller.pbgrpc.dart b/lib/src/gen/component/inputcontroller/v1/input_controller.pbgrpc.dart deleted file mode 100644 index 4e5d788f66c..00000000000 --- a/lib/src/gen/component/inputcontroller/v1/input_controller.pbgrpc.dart +++ /dev/null @@ -1,160 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/inputcontroller/v1/input_controller.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'input_controller.pb.dart' as $25; - -export 'input_controller.pb.dart'; - -@$pb.GrpcServiceName('viam.component.inputcontroller.v1.InputControllerService') -class InputControllerServiceClient extends $grpc.Client { - static final _$getControls = $grpc.ClientMethod<$25.GetControlsRequest, $25.GetControlsResponse>( - '/viam.component.inputcontroller.v1.InputControllerService/GetControls', - ($25.GetControlsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $25.GetControlsResponse.fromBuffer(value)); - static final _$getEvents = $grpc.ClientMethod<$25.GetEventsRequest, $25.GetEventsResponse>( - '/viam.component.inputcontroller.v1.InputControllerService/GetEvents', - ($25.GetEventsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $25.GetEventsResponse.fromBuffer(value)); - static final _$streamEvents = $grpc.ClientMethod<$25.StreamEventsRequest, $25.StreamEventsResponse>( - '/viam.component.inputcontroller.v1.InputControllerService/StreamEvents', - ($25.StreamEventsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $25.StreamEventsResponse.fromBuffer(value)); - static final _$triggerEvent = $grpc.ClientMethod<$25.TriggerEventRequest, $25.TriggerEventResponse>( - '/viam.component.inputcontroller.v1.InputControllerService/TriggerEvent', - ($25.TriggerEventRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $25.TriggerEventResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.inputcontroller.v1.InputControllerService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.inputcontroller.v1.InputControllerService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - InputControllerServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$25.GetControlsResponse> getControls($25.GetControlsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getControls, request, options: options); - } - - $grpc.ResponseFuture<$25.GetEventsResponse> getEvents($25.GetEventsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getEvents, request, options: options); - } - - $grpc.ResponseStream<$25.StreamEventsResponse> streamEvents($25.StreamEventsRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$streamEvents, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$25.TriggerEventResponse> triggerEvent($25.TriggerEventRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$triggerEvent, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.inputcontroller.v1.InputControllerService') -abstract class InputControllerServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.inputcontroller.v1.InputControllerService'; - - InputControllerServiceBase() { - $addMethod($grpc.ServiceMethod<$25.GetControlsRequest, $25.GetControlsResponse>( - 'GetControls', - getControls_Pre, - false, - false, - ($core.List<$core.int> value) => $25.GetControlsRequest.fromBuffer(value), - ($25.GetControlsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$25.GetEventsRequest, $25.GetEventsResponse>( - 'GetEvents', - getEvents_Pre, - false, - false, - ($core.List<$core.int> value) => $25.GetEventsRequest.fromBuffer(value), - ($25.GetEventsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$25.StreamEventsRequest, $25.StreamEventsResponse>( - 'StreamEvents', - streamEvents_Pre, - false, - true, - ($core.List<$core.int> value) => $25.StreamEventsRequest.fromBuffer(value), - ($25.StreamEventsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$25.TriggerEventRequest, $25.TriggerEventResponse>( - 'TriggerEvent', - triggerEvent_Pre, - false, - false, - ($core.List<$core.int> value) => $25.TriggerEventRequest.fromBuffer(value), - ($25.TriggerEventResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$25.GetControlsResponse> getControls_Pre($grpc.ServiceCall call, $async.Future<$25.GetControlsRequest> request) async { - return getControls(call, await request); - } - - $async.Future<$25.GetEventsResponse> getEvents_Pre($grpc.ServiceCall call, $async.Future<$25.GetEventsRequest> request) async { - return getEvents(call, await request); - } - - $async.Stream<$25.StreamEventsResponse> streamEvents_Pre($grpc.ServiceCall call, $async.Future<$25.StreamEventsRequest> request) async* { - yield* streamEvents(call, await request); - } - - $async.Future<$25.TriggerEventResponse> triggerEvent_Pre($grpc.ServiceCall call, $async.Future<$25.TriggerEventRequest> request) async { - return triggerEvent(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$25.GetControlsResponse> getControls($grpc.ServiceCall call, $25.GetControlsRequest request); - $async.Future<$25.GetEventsResponse> getEvents($grpc.ServiceCall call, $25.GetEventsRequest request); - $async.Stream<$25.StreamEventsResponse> streamEvents($grpc.ServiceCall call, $25.StreamEventsRequest request); - $async.Future<$25.TriggerEventResponse> triggerEvent($grpc.ServiceCall call, $25.TriggerEventRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/inputcontroller/v1/input_controller.pbjson.dart b/lib/src/gen/component/inputcontroller/v1/input_controller.pbjson.dart deleted file mode 100644 index b9e4b63a354..00000000000 --- a/lib/src/gen/component/inputcontroller/v1/input_controller.pbjson.dart +++ /dev/null @@ -1,166 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/inputcontroller/v1/input_controller.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getControlsRequestDescriptor instead') -const GetControlsRequest$json = { - '1': 'GetControlsRequest', - '2': [ - {'1': 'controller', '3': 1, '4': 1, '5': 9, '10': 'controller'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetControlsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getControlsRequestDescriptor = $convert.base64Decode( - 'ChJHZXRDb250cm9sc1JlcXVlc3QSHgoKY29udHJvbGxlchgBIAEoCVIKY29udHJvbGxlchItCg' - 'VleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getControlsResponseDescriptor instead') -const GetControlsResponse$json = { - '1': 'GetControlsResponse', - '2': [ - {'1': 'controls', '3': 1, '4': 3, '5': 9, '10': 'controls'}, - ], -}; - -/// Descriptor for `GetControlsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getControlsResponseDescriptor = $convert.base64Decode( - 'ChNHZXRDb250cm9sc1Jlc3BvbnNlEhoKCGNvbnRyb2xzGAEgAygJUghjb250cm9scw=='); - -@$core.Deprecated('Use getEventsRequestDescriptor instead') -const GetEventsRequest$json = { - '1': 'GetEventsRequest', - '2': [ - {'1': 'controller', '3': 1, '4': 1, '5': 9, '10': 'controller'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetEventsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getEventsRequestDescriptor = $convert.base64Decode( - 'ChBHZXRFdmVudHNSZXF1ZXN0Eh4KCmNvbnRyb2xsZXIYASABKAlSCmNvbnRyb2xsZXISLQoFZX' - 'h0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use getEventsResponseDescriptor instead') -const GetEventsResponse$json = { - '1': 'GetEventsResponse', - '2': [ - {'1': 'events', '3': 1, '4': 3, '5': 11, '6': '.viam.component.inputcontroller.v1.Event', '10': 'events'}, - ], -}; - -/// Descriptor for `GetEventsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getEventsResponseDescriptor = $convert.base64Decode( - 'ChFHZXRFdmVudHNSZXNwb25zZRJACgZldmVudHMYASADKAsyKC52aWFtLmNvbXBvbmVudC5pbn' - 'B1dGNvbnRyb2xsZXIudjEuRXZlbnRSBmV2ZW50cw=='); - -@$core.Deprecated('Use triggerEventRequestDescriptor instead') -const TriggerEventRequest$json = { - '1': 'TriggerEventRequest', - '2': [ - {'1': 'controller', '3': 1, '4': 1, '5': 9, '10': 'controller'}, - {'1': 'event', '3': 2, '4': 1, '5': 11, '6': '.viam.component.inputcontroller.v1.Event', '10': 'event'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `TriggerEventRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List triggerEventRequestDescriptor = $convert.base64Decode( - 'ChNUcmlnZ2VyRXZlbnRSZXF1ZXN0Eh4KCmNvbnRyb2xsZXIYASABKAlSCmNvbnRyb2xsZXISPg' - 'oFZXZlbnQYAiABKAsyKC52aWFtLmNvbXBvbmVudC5pbnB1dGNvbnRyb2xsZXIudjEuRXZlbnRS' - 'BWV2ZW50Ei0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use triggerEventResponseDescriptor instead') -const TriggerEventResponse$json = { - '1': 'TriggerEventResponse', -}; - -/// Descriptor for `TriggerEventResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List triggerEventResponseDescriptor = $convert.base64Decode( - 'ChRUcmlnZ2VyRXZlbnRSZXNwb25zZQ=='); - -@$core.Deprecated('Use eventDescriptor instead') -const Event$json = { - '1': 'Event', - '2': [ - {'1': 'time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'time'}, - {'1': 'event', '3': 2, '4': 1, '5': 9, '10': 'event'}, - {'1': 'control', '3': 3, '4': 1, '5': 9, '10': 'control'}, - {'1': 'value', '3': 4, '4': 1, '5': 1, '10': 'value'}, - ], -}; - -/// Descriptor for `Event`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List eventDescriptor = $convert.base64Decode( - 'CgVFdmVudBIuCgR0aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIEdGltZR' - 'IUCgVldmVudBgCIAEoCVIFZXZlbnQSGAoHY29udHJvbBgDIAEoCVIHY29udHJvbBIUCgV2YWx1' - 'ZRgEIAEoAVIFdmFsdWU='); - -@$core.Deprecated('Use streamEventsRequestDescriptor instead') -const StreamEventsRequest$json = { - '1': 'StreamEventsRequest', - '2': [ - {'1': 'controller', '3': 1, '4': 1, '5': 9, '10': 'controller'}, - {'1': 'events', '3': 2, '4': 3, '5': 11, '6': '.viam.component.inputcontroller.v1.StreamEventsRequest.Events', '10': 'events'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '3': [StreamEventsRequest_Events$json], -}; - -@$core.Deprecated('Use streamEventsRequestDescriptor instead') -const StreamEventsRequest_Events$json = { - '1': 'Events', - '2': [ - {'1': 'control', '3': 1, '4': 1, '5': 9, '10': 'control'}, - {'1': 'events', '3': 2, '4': 3, '5': 9, '10': 'events'}, - {'1': 'cancelled_events', '3': 3, '4': 3, '5': 9, '10': 'cancelledEvents'}, - ], -}; - -/// Descriptor for `StreamEventsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamEventsRequestDescriptor = $convert.base64Decode( - 'ChNTdHJlYW1FdmVudHNSZXF1ZXN0Eh4KCmNvbnRyb2xsZXIYASABKAlSCmNvbnRyb2xsZXISVQ' - 'oGZXZlbnRzGAIgAygLMj0udmlhbS5jb21wb25lbnQuaW5wdXRjb250cm9sbGVyLnYxLlN0cmVh' - 'bUV2ZW50c1JlcXVlc3QuRXZlbnRzUgZldmVudHMSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucH' - 'JvdG9idWYuU3RydWN0UgVleHRyYRplCgZFdmVudHMSGAoHY29udHJvbBgBIAEoCVIHY29udHJv' - 'bBIWCgZldmVudHMYAiADKAlSBmV2ZW50cxIpChBjYW5jZWxsZWRfZXZlbnRzGAMgAygJUg9jYW' - '5jZWxsZWRFdmVudHM='); - -@$core.Deprecated('Use streamEventsResponseDescriptor instead') -const StreamEventsResponse$json = { - '1': 'StreamEventsResponse', - '2': [ - {'1': 'event', '3': 1, '4': 1, '5': 11, '6': '.viam.component.inputcontroller.v1.Event', '10': 'event'}, - ], -}; - -/// Descriptor for `StreamEventsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamEventsResponseDescriptor = $convert.base64Decode( - 'ChRTdHJlYW1FdmVudHNSZXNwb25zZRI+CgVldmVudBgBIAEoCzIoLnZpYW0uY29tcG9uZW50Lm' - 'lucHV0Y29udHJvbGxlci52MS5FdmVudFIFZXZlbnQ='); - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'events', '3': 1, '4': 3, '5': 11, '6': '.viam.component.inputcontroller.v1.Event', '10': 'events'}, - ], -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSQAoGZXZlbnRzGAEgAygLMigudmlhbS5jb21wb25lbnQuaW5wdXRjb250cm9sbG' - 'VyLnYxLkV2ZW50UgZldmVudHM='); - diff --git a/lib/src/gen/component/motor/v1/motor.pb.dart b/lib/src/gen/component/motor/v1/motor.pb.dart deleted file mode 100644 index 2025172ae7d..00000000000 --- a/lib/src/gen/component/motor/v1/motor.pb.dart +++ /dev/null @@ -1,1280 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/motor/v1/motor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class SetPowerRequest extends $pb.GeneratedMessage { - factory SetPowerRequest({ - $core.String? name, - $core.double? powerPct, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (powerPct != null) { - $result.powerPct = powerPct; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetPowerRequest._() : super(); - factory SetPowerRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPowerRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.double>(2, _omitFieldNames ? '' : 'powerPct', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPowerRequest clone() => SetPowerRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPowerRequest copyWith(void Function(SetPowerRequest) updates) => super.copyWith((message) => updates(message as SetPowerRequest)) as SetPowerRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPowerRequest create() => SetPowerRequest._(); - SetPowerRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPowerRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPowerRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Percentage of motor's power, between -1 and 1 - @$pb.TagNumber(2) - $core.double get powerPct => $_getN(1); - @$pb.TagNumber(2) - set powerPct($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasPowerPct() => $_has(1); - @$pb.TagNumber(2) - void clearPowerPct() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class SetPowerResponse extends $pb.GeneratedMessage { - factory SetPowerResponse() => create(); - SetPowerResponse._() : super(); - factory SetPowerResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPowerResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPowerResponse clone() => SetPowerResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPowerResponse copyWith(void Function(SetPowerResponse) updates) => super.copyWith((message) => updates(message as SetPowerResponse)) as SetPowerResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPowerResponse create() => SetPowerResponse._(); - SetPowerResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPowerResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPowerResponse? _defaultInstance; -} - -class GoForRequest extends $pb.GeneratedMessage { - factory GoForRequest({ - $core.String? name, - $core.double? rpm, - $core.double? revolutions, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (rpm != null) { - $result.rpm = rpm; - } - if (revolutions != null) { - $result.revolutions = revolutions; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GoForRequest._() : super(); - factory GoForRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GoForRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GoForRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.double>(2, _omitFieldNames ? '' : 'rpm', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'revolutions', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GoForRequest clone() => GoForRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GoForRequest copyWith(void Function(GoForRequest) updates) => super.copyWith((message) => updates(message as GoForRequest)) as GoForRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GoForRequest create() => GoForRequest._(); - GoForRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GoForRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GoForRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Speed of motor travel in rotations per minute - @$pb.TagNumber(2) - $core.double get rpm => $_getN(1); - @$pb.TagNumber(2) - set rpm($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasRpm() => $_has(1); - @$pb.TagNumber(2) - void clearRpm() => clearField(2); - - /// Number of revolutions relative to motor's start position - @$pb.TagNumber(3) - $core.double get revolutions => $_getN(2); - @$pb.TagNumber(3) - set revolutions($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasRevolutions() => $_has(2); - @$pb.TagNumber(3) - void clearRevolutions() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class GoForResponse extends $pb.GeneratedMessage { - factory GoForResponse() => create(); - GoForResponse._() : super(); - factory GoForResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GoForResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GoForResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GoForResponse clone() => GoForResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GoForResponse copyWith(void Function(GoForResponse) updates) => super.copyWith((message) => updates(message as GoForResponse)) as GoForResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GoForResponse create() => GoForResponse._(); - GoForResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GoForResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GoForResponse? _defaultInstance; -} - -class GoToRequest extends $pb.GeneratedMessage { - factory GoToRequest({ - $core.String? name, - $core.double? rpm, - $core.double? positionRevolutions, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (rpm != null) { - $result.rpm = rpm; - } - if (positionRevolutions != null) { - $result.positionRevolutions = positionRevolutions; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GoToRequest._() : super(); - factory GoToRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GoToRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GoToRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.double>(2, _omitFieldNames ? '' : 'rpm', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'positionRevolutions', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GoToRequest clone() => GoToRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GoToRequest copyWith(void Function(GoToRequest) updates) => super.copyWith((message) => updates(message as GoToRequest)) as GoToRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GoToRequest create() => GoToRequest._(); - GoToRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GoToRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GoToRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Speed of motor travel in rotations per minute - @$pb.TagNumber(2) - $core.double get rpm => $_getN(1); - @$pb.TagNumber(2) - set rpm($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasRpm() => $_has(1); - @$pb.TagNumber(2) - void clearRpm() => clearField(2); - - /// Number of revolutions relative to motor's home home/zero - @$pb.TagNumber(3) - $core.double get positionRevolutions => $_getN(2); - @$pb.TagNumber(3) - set positionRevolutions($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasPositionRevolutions() => $_has(2); - @$pb.TagNumber(3) - void clearPositionRevolutions() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class GoToResponse extends $pb.GeneratedMessage { - factory GoToResponse() => create(); - GoToResponse._() : super(); - factory GoToResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GoToResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GoToResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GoToResponse clone() => GoToResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GoToResponse copyWith(void Function(GoToResponse) updates) => super.copyWith((message) => updates(message as GoToResponse)) as GoToResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GoToResponse create() => GoToResponse._(); - GoToResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GoToResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GoToResponse? _defaultInstance; -} - -class SetRPMRequest extends $pb.GeneratedMessage { - factory SetRPMRequest({ - $core.String? name, - $core.double? rpm, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (rpm != null) { - $result.rpm = rpm; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetRPMRequest._() : super(); - factory SetRPMRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetRPMRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetRPMRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.double>(2, _omitFieldNames ? '' : 'rpm', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetRPMRequest clone() => SetRPMRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetRPMRequest copyWith(void Function(SetRPMRequest) updates) => super.copyWith((message) => updates(message as SetRPMRequest)) as SetRPMRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetRPMRequest create() => SetRPMRequest._(); - SetRPMRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetRPMRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetRPMRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Speed of motor travel in rotations per minute - @$pb.TagNumber(2) - $core.double get rpm => $_getN(1); - @$pb.TagNumber(2) - set rpm($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasRpm() => $_has(1); - @$pb.TagNumber(2) - void clearRpm() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class SetRPMResponse extends $pb.GeneratedMessage { - factory SetRPMResponse() => create(); - SetRPMResponse._() : super(); - factory SetRPMResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetRPMResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetRPMResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetRPMResponse clone() => SetRPMResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetRPMResponse copyWith(void Function(SetRPMResponse) updates) => super.copyWith((message) => updates(message as SetRPMResponse)) as SetRPMResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetRPMResponse create() => SetRPMResponse._(); - SetRPMResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetRPMResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetRPMResponse? _defaultInstance; -} - -class ResetZeroPositionRequest extends $pb.GeneratedMessage { - factory ResetZeroPositionRequest({ - $core.String? name, - $core.double? offset, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (offset != null) { - $result.offset = offset; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - ResetZeroPositionRequest._() : super(); - factory ResetZeroPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResetZeroPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResetZeroPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.double>(2, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OD) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResetZeroPositionRequest clone() => ResetZeroPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResetZeroPositionRequest copyWith(void Function(ResetZeroPositionRequest) updates) => super.copyWith((message) => updates(message as ResetZeroPositionRequest)) as ResetZeroPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResetZeroPositionRequest create() => ResetZeroPositionRequest._(); - ResetZeroPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResetZeroPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResetZeroPositionRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Motor position - @$pb.TagNumber(2) - $core.double get offset => $_getN(1); - @$pb.TagNumber(2) - set offset($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasOffset() => $_has(1); - @$pb.TagNumber(2) - void clearOffset() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class ResetZeroPositionResponse extends $pb.GeneratedMessage { - factory ResetZeroPositionResponse() => create(); - ResetZeroPositionResponse._() : super(); - factory ResetZeroPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResetZeroPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResetZeroPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResetZeroPositionResponse clone() => ResetZeroPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResetZeroPositionResponse copyWith(void Function(ResetZeroPositionResponse) updates) => super.copyWith((message) => updates(message as ResetZeroPositionResponse)) as ResetZeroPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResetZeroPositionResponse create() => ResetZeroPositionResponse._(); - ResetZeroPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResetZeroPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResetZeroPositionResponse? _defaultInstance; -} - -class GetPositionRequest extends $pb.GeneratedMessage { - factory GetPositionRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPositionRequest._() : super(); - factory GetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionRequest clone() => GetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionRequest copyWith(void Function(GetPositionRequest) updates) => super.copyWith((message) => updates(message as GetPositionRequest)) as GetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionRequest create() => GetPositionRequest._(); - GetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPositionResponse extends $pb.GeneratedMessage { - factory GetPositionResponse({ - $core.double? position, - }) { - final $result = create(); - if (position != null) { - $result.position = position; - } - return $result; - } - GetPositionResponse._() : super(); - factory GetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'position', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionResponse clone() => GetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionResponse copyWith(void Function(GetPositionResponse) updates) => super.copyWith((message) => updates(message as GetPositionResponse)) as GetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionResponse create() => GetPositionResponse._(); - GetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionResponse? _defaultInstance; - - /// Current position of the motor relative to its home - @$pb.TagNumber(1) - $core.double get position => $_getN(0); - @$pb.TagNumber(1) - set position($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasPosition() => $_has(0); - @$pb.TagNumber(1) - void clearPosition() => clearField(1); -} - -class StopRequest extends $pb.GeneratedMessage { - factory StopRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StopRequest._() : super(); - factory StopRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopRequest clone() => StopRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopRequest copyWith(void Function(StopRequest) updates) => super.copyWith((message) => updates(message as StopRequest)) as StopRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopRequest create() => StopRequest._(); - StopRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class StopResponse extends $pb.GeneratedMessage { - factory StopResponse() => create(); - StopResponse._() : super(); - factory StopResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopResponse clone() => StopResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopResponse copyWith(void Function(StopResponse) updates) => super.copyWith((message) => updates(message as StopResponse)) as StopResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopResponse create() => StopResponse._(); - StopResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopResponse? _defaultInstance; -} - -class IsPoweredRequest extends $pb.GeneratedMessage { - factory IsPoweredRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - IsPoweredRequest._() : super(); - factory IsPoweredRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsPoweredRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsPoweredRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsPoweredRequest clone() => IsPoweredRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsPoweredRequest copyWith(void Function(IsPoweredRequest) updates) => super.copyWith((message) => updates(message as IsPoweredRequest)) as IsPoweredRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsPoweredRequest create() => IsPoweredRequest._(); - IsPoweredRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsPoweredRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsPoweredRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class IsPoweredResponse extends $pb.GeneratedMessage { - factory IsPoweredResponse({ - $core.bool? isOn, - $core.double? powerPct, - }) { - final $result = create(); - if (isOn != null) { - $result.isOn = isOn; - } - if (powerPct != null) { - $result.powerPct = powerPct; - } - return $result; - } - IsPoweredResponse._() : super(); - factory IsPoweredResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsPoweredResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsPoweredResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isOn') - ..a<$core.double>(2, _omitFieldNames ? '' : 'powerPct', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsPoweredResponse clone() => IsPoweredResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsPoweredResponse copyWith(void Function(IsPoweredResponse) updates) => super.copyWith((message) => updates(message as IsPoweredResponse)) as IsPoweredResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsPoweredResponse create() => IsPoweredResponse._(); - IsPoweredResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsPoweredResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsPoweredResponse? _defaultInstance; - - /// Returns true if the motor is on - @$pb.TagNumber(1) - $core.bool get isOn => $_getBF(0); - @$pb.TagNumber(1) - set isOn($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsOn() => $_has(0); - @$pb.TagNumber(1) - void clearIsOn() => clearField(1); - - /// Returns power percent (from 0 to 1, or from -1 to 1 for motors that support negative power), - /// based on the last command sent to motor. If the last command was a stop command, this value - /// will be 0. - @$pb.TagNumber(2) - $core.double get powerPct => $_getN(1); - @$pb.TagNumber(2) - set powerPct($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasPowerPct() => $_has(1); - @$pb.TagNumber(2) - void clearPowerPct() => clearField(2); -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// Name of a motor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - $core.bool? positionReporting, - }) { - final $result = create(); - if (positionReporting != null) { - $result.positionReporting = positionReporting; - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'positionReporting') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - /// Returns true if the motor supports reporting its position - @$pb.TagNumber(1) - $core.bool get positionReporting => $_getBF(0); - @$pb.TagNumber(1) - set positionReporting($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasPositionReporting() => $_has(0); - @$pb.TagNumber(1) - void clearPositionReporting() => clearField(1); -} - -class Status extends $pb.GeneratedMessage { - factory Status({ - $core.bool? isPowered, - $core.double? position, - $core.bool? isMoving, - }) { - final $result = create(); - if (isPowered != null) { - $result.isPowered = isPowered; - } - if (position != null) { - $result.position = position; - } - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isPowered') - ..a<$core.double>(3, _omitFieldNames ? '' : 'position', $pb.PbFieldType.OD) - ..aOB(4, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - /// Returns true if the motor is powered - @$pb.TagNumber(1) - $core.bool get isPowered => $_getBF(0); - @$pb.TagNumber(1) - set isPowered($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsPowered() => $_has(0); - @$pb.TagNumber(1) - void clearIsPowered() => clearField(1); - - /// Returns current position of the motor relative to its home - @$pb.TagNumber(3) - $core.double get position => $_getN(1); - @$pb.TagNumber(3) - set position($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(3) - $core.bool hasPosition() => $_has(1); - @$pb.TagNumber(3) - void clearPosition() => clearField(3); - - /// Returns true if the motor is moving - @$pb.TagNumber(4) - $core.bool get isMoving => $_getBF(2); - @$pb.TagNumber(4) - set isMoving($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(4) - $core.bool hasIsMoving() => $_has(2); - @$pb.TagNumber(4) - void clearIsMoving() => clearField(4); -} - -class IsMovingRequest extends $pb.GeneratedMessage { - factory IsMovingRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - IsMovingRequest._() : super(); - factory IsMovingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingRequest clone() => IsMovingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingRequest copyWith(void Function(IsMovingRequest) updates) => super.copyWith((message) => updates(message as IsMovingRequest)) as IsMovingRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingRequest create() => IsMovingRequest._(); - IsMovingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class IsMovingResponse extends $pb.GeneratedMessage { - factory IsMovingResponse({ - $core.bool? isMoving, - }) { - final $result = create(); - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - IsMovingResponse._() : super(); - factory IsMovingResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingResponse clone() => IsMovingResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingResponse copyWith(void Function(IsMovingResponse) updates) => super.copyWith((message) => updates(message as IsMovingResponse)) as IsMovingResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingResponse create() => IsMovingResponse._(); - IsMovingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get isMoving => $_getBF(0); - @$pb.TagNumber(1) - set isMoving($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsMoving() => $_has(0); - @$pb.TagNumber(1) - void clearIsMoving() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/motor/v1/motor.pbenum.dart b/lib/src/gen/component/motor/v1/motor.pbenum.dart deleted file mode 100644 index 1b94c36f833..00000000000 --- a/lib/src/gen/component/motor/v1/motor.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/motor/v1/motor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/motor/v1/motor.pbgrpc.dart b/lib/src/gen/component/motor/v1/motor.pbgrpc.dart deleted file mode 100644 index ad902e9f4b6..00000000000 --- a/lib/src/gen/component/motor/v1/motor.pbgrpc.dart +++ /dev/null @@ -1,280 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/motor/v1/motor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'motor.pb.dart' as $26; - -export 'motor.pb.dart'; - -@$pb.GrpcServiceName('viam.component.motor.v1.MotorService') -class MotorServiceClient extends $grpc.Client { - static final _$setPower = $grpc.ClientMethod<$26.SetPowerRequest, $26.SetPowerResponse>( - '/viam.component.motor.v1.MotorService/SetPower', - ($26.SetPowerRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.SetPowerResponse.fromBuffer(value)); - static final _$goFor = $grpc.ClientMethod<$26.GoForRequest, $26.GoForResponse>( - '/viam.component.motor.v1.MotorService/GoFor', - ($26.GoForRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.GoForResponse.fromBuffer(value)); - static final _$goTo = $grpc.ClientMethod<$26.GoToRequest, $26.GoToResponse>( - '/viam.component.motor.v1.MotorService/GoTo', - ($26.GoToRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.GoToResponse.fromBuffer(value)); - static final _$setRPM = $grpc.ClientMethod<$26.SetRPMRequest, $26.SetRPMResponse>( - '/viam.component.motor.v1.MotorService/SetRPM', - ($26.SetRPMRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.SetRPMResponse.fromBuffer(value)); - static final _$resetZeroPosition = $grpc.ClientMethod<$26.ResetZeroPositionRequest, $26.ResetZeroPositionResponse>( - '/viam.component.motor.v1.MotorService/ResetZeroPosition', - ($26.ResetZeroPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.ResetZeroPositionResponse.fromBuffer(value)); - static final _$getPosition = $grpc.ClientMethod<$26.GetPositionRequest, $26.GetPositionResponse>( - '/viam.component.motor.v1.MotorService/GetPosition', - ($26.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.GetPositionResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$26.GetPropertiesRequest, $26.GetPropertiesResponse>( - '/viam.component.motor.v1.MotorService/GetProperties', - ($26.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.GetPropertiesResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$26.StopRequest, $26.StopResponse>( - '/viam.component.motor.v1.MotorService/Stop', - ($26.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.StopResponse.fromBuffer(value)); - static final _$isPowered = $grpc.ClientMethod<$26.IsPoweredRequest, $26.IsPoweredResponse>( - '/viam.component.motor.v1.MotorService/IsPowered', - ($26.IsPoweredRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.IsPoweredResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$26.IsMovingRequest, $26.IsMovingResponse>( - '/viam.component.motor.v1.MotorService/IsMoving', - ($26.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.motor.v1.MotorService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.motor.v1.MotorService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - MotorServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$26.SetPowerResponse> setPower($26.SetPowerRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setPower, request, options: options); - } - - $grpc.ResponseFuture<$26.GoForResponse> goFor($26.GoForRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$goFor, request, options: options); - } - - $grpc.ResponseFuture<$26.GoToResponse> goTo($26.GoToRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$goTo, request, options: options); - } - - $grpc.ResponseFuture<$26.SetRPMResponse> setRPM($26.SetRPMRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setRPM, request, options: options); - } - - $grpc.ResponseFuture<$26.ResetZeroPositionResponse> resetZeroPosition($26.ResetZeroPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$resetZeroPosition, request, options: options); - } - - $grpc.ResponseFuture<$26.GetPositionResponse> getPosition($26.GetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPosition, request, options: options); - } - - $grpc.ResponseFuture<$26.GetPropertiesResponse> getProperties($26.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } - - $grpc.ResponseFuture<$26.StopResponse> stop($26.StopRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stop, request, options: options); - } - - $grpc.ResponseFuture<$26.IsPoweredResponse> isPowered($26.IsPoweredRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isPowered, request, options: options); - } - - $grpc.ResponseFuture<$26.IsMovingResponse> isMoving($26.IsMovingRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isMoving, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.motor.v1.MotorService') -abstract class MotorServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.motor.v1.MotorService'; - - MotorServiceBase() { - $addMethod($grpc.ServiceMethod<$26.SetPowerRequest, $26.SetPowerResponse>( - 'SetPower', - setPower_Pre, - false, - false, - ($core.List<$core.int> value) => $26.SetPowerRequest.fromBuffer(value), - ($26.SetPowerResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.GoForRequest, $26.GoForResponse>( - 'GoFor', - goFor_Pre, - false, - false, - ($core.List<$core.int> value) => $26.GoForRequest.fromBuffer(value), - ($26.GoForResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.GoToRequest, $26.GoToResponse>( - 'GoTo', - goTo_Pre, - false, - false, - ($core.List<$core.int> value) => $26.GoToRequest.fromBuffer(value), - ($26.GoToResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.SetRPMRequest, $26.SetRPMResponse>( - 'SetRPM', - setRPM_Pre, - false, - false, - ($core.List<$core.int> value) => $26.SetRPMRequest.fromBuffer(value), - ($26.SetRPMResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.ResetZeroPositionRequest, $26.ResetZeroPositionResponse>( - 'ResetZeroPosition', - resetZeroPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $26.ResetZeroPositionRequest.fromBuffer(value), - ($26.ResetZeroPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.GetPositionRequest, $26.GetPositionResponse>( - 'GetPosition', - getPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $26.GetPositionRequest.fromBuffer(value), - ($26.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.GetPropertiesRequest, $26.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $26.GetPropertiesRequest.fromBuffer(value), - ($26.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.StopRequest, $26.StopResponse>( - 'Stop', - stop_Pre, - false, - false, - ($core.List<$core.int> value) => $26.StopRequest.fromBuffer(value), - ($26.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.IsPoweredRequest, $26.IsPoweredResponse>( - 'IsPowered', - isPowered_Pre, - false, - false, - ($core.List<$core.int> value) => $26.IsPoweredRequest.fromBuffer(value), - ($26.IsPoweredResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.IsMovingRequest, $26.IsMovingResponse>( - 'IsMoving', - isMoving_Pre, - false, - false, - ($core.List<$core.int> value) => $26.IsMovingRequest.fromBuffer(value), - ($26.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$26.SetPowerResponse> setPower_Pre($grpc.ServiceCall call, $async.Future<$26.SetPowerRequest> request) async { - return setPower(call, await request); - } - - $async.Future<$26.GoForResponse> goFor_Pre($grpc.ServiceCall call, $async.Future<$26.GoForRequest> request) async { - return goFor(call, await request); - } - - $async.Future<$26.GoToResponse> goTo_Pre($grpc.ServiceCall call, $async.Future<$26.GoToRequest> request) async { - return goTo(call, await request); - } - - $async.Future<$26.SetRPMResponse> setRPM_Pre($grpc.ServiceCall call, $async.Future<$26.SetRPMRequest> request) async { - return setRPM(call, await request); - } - - $async.Future<$26.ResetZeroPositionResponse> resetZeroPosition_Pre($grpc.ServiceCall call, $async.Future<$26.ResetZeroPositionRequest> request) async { - return resetZeroPosition(call, await request); - } - - $async.Future<$26.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$26.GetPositionRequest> request) async { - return getPosition(call, await request); - } - - $async.Future<$26.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$26.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$26.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$26.StopRequest> request) async { - return stop(call, await request); - } - - $async.Future<$26.IsPoweredResponse> isPowered_Pre($grpc.ServiceCall call, $async.Future<$26.IsPoweredRequest> request) async { - return isPowered(call, await request); - } - - $async.Future<$26.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$26.IsMovingRequest> request) async { - return isMoving(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$26.SetPowerResponse> setPower($grpc.ServiceCall call, $26.SetPowerRequest request); - $async.Future<$26.GoForResponse> goFor($grpc.ServiceCall call, $26.GoForRequest request); - $async.Future<$26.GoToResponse> goTo($grpc.ServiceCall call, $26.GoToRequest request); - $async.Future<$26.SetRPMResponse> setRPM($grpc.ServiceCall call, $26.SetRPMRequest request); - $async.Future<$26.ResetZeroPositionResponse> resetZeroPosition($grpc.ServiceCall call, $26.ResetZeroPositionRequest request); - $async.Future<$26.GetPositionResponse> getPosition($grpc.ServiceCall call, $26.GetPositionRequest request); - $async.Future<$26.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $26.GetPropertiesRequest request); - $async.Future<$26.StopResponse> stop($grpc.ServiceCall call, $26.StopRequest request); - $async.Future<$26.IsPoweredResponse> isPowered($grpc.ServiceCall call, $26.IsPoweredRequest request); - $async.Future<$26.IsMovingResponse> isMoving($grpc.ServiceCall call, $26.IsMovingRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/motor/v1/motor.pbjson.dart b/lib/src/gen/component/motor/v1/motor.pbjson.dart deleted file mode 100644 index b437938420a..00000000000 --- a/lib/src/gen/component/motor/v1/motor.pbjson.dart +++ /dev/null @@ -1,284 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/motor/v1/motor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use setPowerRequestDescriptor instead') -const SetPowerRequest$json = { - '1': 'SetPowerRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'power_pct', '3': 2, '4': 1, '5': 1, '10': 'powerPct'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetPowerRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPowerRequestDescriptor = $convert.base64Decode( - 'Cg9TZXRQb3dlclJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIbCglwb3dlcl9wY3QYAiABKA' - 'FSCHBvd2VyUGN0Ei0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0' - 'cmE='); - -@$core.Deprecated('Use setPowerResponseDescriptor instead') -const SetPowerResponse$json = { - '1': 'SetPowerResponse', -}; - -/// Descriptor for `SetPowerResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPowerResponseDescriptor = $convert.base64Decode( - 'ChBTZXRQb3dlclJlc3BvbnNl'); - -@$core.Deprecated('Use goForRequestDescriptor instead') -const GoForRequest$json = { - '1': 'GoForRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'rpm', '3': 2, '4': 1, '5': 1, '10': 'rpm'}, - {'1': 'revolutions', '3': 3, '4': 1, '5': 1, '10': 'revolutions'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GoForRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List goForRequestDescriptor = $convert.base64Decode( - 'CgxHb0ZvclJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIQCgNycG0YAiABKAFSA3JwbRIgCg' - 'tyZXZvbHV0aW9ucxgDIAEoAVILcmV2b2x1dGlvbnMSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUu' - 'cHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use goForResponseDescriptor instead') -const GoForResponse$json = { - '1': 'GoForResponse', -}; - -/// Descriptor for `GoForResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List goForResponseDescriptor = $convert.base64Decode( - 'Cg1Hb0ZvclJlc3BvbnNl'); - -@$core.Deprecated('Use goToRequestDescriptor instead') -const GoToRequest$json = { - '1': 'GoToRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'rpm', '3': 2, '4': 1, '5': 1, '10': 'rpm'}, - {'1': 'position_revolutions', '3': 3, '4': 1, '5': 1, '10': 'positionRevolutions'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GoToRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List goToRequestDescriptor = $convert.base64Decode( - 'CgtHb1RvUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhAKA3JwbRgCIAEoAVIDcnBtEjEKFH' - 'Bvc2l0aW9uX3Jldm9sdXRpb25zGAMgASgBUhNwb3NpdGlvblJldm9sdXRpb25zEi0KBWV4dHJh' - 'GGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use goToResponseDescriptor instead') -const GoToResponse$json = { - '1': 'GoToResponse', -}; - -/// Descriptor for `GoToResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List goToResponseDescriptor = $convert.base64Decode( - 'CgxHb1RvUmVzcG9uc2U='); - -@$core.Deprecated('Use setRPMRequestDescriptor instead') -const SetRPMRequest$json = { - '1': 'SetRPMRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'rpm', '3': 2, '4': 1, '5': 1, '10': 'rpm'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetRPMRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setRPMRequestDescriptor = $convert.base64Decode( - 'Cg1TZXRSUE1SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSEAoDcnBtGAIgASgBUgNycG0SLQ' - 'oFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use setRPMResponseDescriptor instead') -const SetRPMResponse$json = { - '1': 'SetRPMResponse', -}; - -/// Descriptor for `SetRPMResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setRPMResponseDescriptor = $convert.base64Decode( - 'Cg5TZXRSUE1SZXNwb25zZQ=='); - -@$core.Deprecated('Use resetZeroPositionRequestDescriptor instead') -const ResetZeroPositionRequest$json = { - '1': 'ResetZeroPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'offset', '3': 2, '4': 1, '5': 1, '10': 'offset'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `ResetZeroPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resetZeroPositionRequestDescriptor = $convert.base64Decode( - 'ChhSZXNldFplcm9Qb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIWCgZvZmZzZX' - 'QYAiABKAFSBm9mZnNldBItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RS' - 'BWV4dHJh'); - -@$core.Deprecated('Use resetZeroPositionResponseDescriptor instead') -const ResetZeroPositionResponse$json = { - '1': 'ResetZeroPositionResponse', -}; - -/// Descriptor for `ResetZeroPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resetZeroPositionResponseDescriptor = $convert.base64Decode( - 'ChlSZXNldFplcm9Qb3NpdGlvblJlc3BvbnNl'); - -@$core.Deprecated('Use getPositionRequestDescriptor instead') -const GetPositionRequest$json = { - '1': 'GetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getPositionResponseDescriptor instead') -const GetPositionResponse$json = { - '1': 'GetPositionResponse', - '2': [ - {'1': 'position', '3': 1, '4': 1, '5': 1, '10': 'position'}, - ], -}; - -/// Descriptor for `GetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQb3NpdGlvblJlc3BvbnNlEhoKCHBvc2l0aW9uGAEgASgBUghwb3NpdGlvbg=='); - -@$core.Deprecated('Use stopRequestDescriptor instead') -const StopRequest$json = { - '1': 'StopRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopRequestDescriptor = $convert.base64Decode( - 'CgtTdG9wUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use stopResponseDescriptor instead') -const StopResponse$json = { - '1': 'StopResponse', -}; - -/// Descriptor for `StopResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopResponseDescriptor = $convert.base64Decode( - 'CgxTdG9wUmVzcG9uc2U='); - -@$core.Deprecated('Use isPoweredRequestDescriptor instead') -const IsPoweredRequest$json = { - '1': 'IsPoweredRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `IsPoweredRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isPoweredRequestDescriptor = $convert.base64Decode( - 'ChBJc1Bvd2VyZWRSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSLQoFZXh0cmEYYyABKAsyFy' - '5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use isPoweredResponseDescriptor instead') -const IsPoweredResponse$json = { - '1': 'IsPoweredResponse', - '2': [ - {'1': 'is_on', '3': 1, '4': 1, '5': 8, '10': 'isOn'}, - {'1': 'power_pct', '3': 2, '4': 1, '5': 1, '10': 'powerPct'}, - ], -}; - -/// Descriptor for `IsPoweredResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isPoweredResponseDescriptor = $convert.base64Decode( - 'ChFJc1Bvd2VyZWRSZXNwb25zZRITCgVpc19vbhgBIAEoCFIEaXNPbhIbCglwb3dlcl9wY3QYAi' - 'ABKAFSCHBvd2VyUGN0'); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'position_reporting', '3': 1, '4': 1, '5': 8, '10': 'positionReporting'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USLQoScG9zaXRpb25fcmVwb3J0aW5nGAEgASgIUhFwb3' - 'NpdGlvblJlcG9ydGluZw=='); - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'is_powered', '3': 1, '4': 1, '5': 8, '10': 'isPowered'}, - {'1': 'position', '3': 3, '4': 1, '5': 1, '10': 'position'}, - {'1': 'is_moving', '3': 4, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSHQoKaXNfcG93ZXJlZBgBIAEoCFIJaXNQb3dlcmVkEhoKCHBvc2l0aW9uGAMgAS' - 'gBUghwb3NpdGlvbhIbCglpc19tb3ZpbmcYBCABKAhSCGlzTW92aW5n'); - -@$core.Deprecated('Use isMovingRequestDescriptor instead') -const IsMovingRequest$json = { - '1': 'IsMovingRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `IsMovingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingRequestDescriptor = $convert.base64Decode( - 'Cg9Jc01vdmluZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use isMovingResponseDescriptor instead') -const IsMovingResponse$json = { - '1': 'IsMovingResponse', - '2': [ - {'1': 'is_moving', '3': 1, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `IsMovingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingResponseDescriptor = $convert.base64Decode( - 'ChBJc01vdmluZ1Jlc3BvbnNlEhsKCWlzX21vdmluZxgBIAEoCFIIaXNNb3Zpbmc='); - diff --git a/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart b/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart deleted file mode 100644 index 7608efd13f3..00000000000 --- a/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart +++ /dev/null @@ -1,1118 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/movementsensor/v1/movementsensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; - -class GetLinearVelocityRequest extends $pb.GeneratedMessage { - factory GetLinearVelocityRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetLinearVelocityRequest._() : super(); - factory GetLinearVelocityRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLinearVelocityRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearVelocityRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLinearVelocityRequest clone() => GetLinearVelocityRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLinearVelocityRequest copyWith(void Function(GetLinearVelocityRequest) updates) => super.copyWith((message) => updates(message as GetLinearVelocityRequest)) as GetLinearVelocityRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLinearVelocityRequest create() => GetLinearVelocityRequest._(); - GetLinearVelocityRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLinearVelocityRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLinearVelocityRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetLinearVelocityResponse extends $pb.GeneratedMessage { - factory GetLinearVelocityResponse({ - $15.Vector3? linearVelocity, - }) { - final $result = create(); - if (linearVelocity != null) { - $result.linearVelocity = linearVelocity; - } - return $result; - } - GetLinearVelocityResponse._() : super(); - factory GetLinearVelocityResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLinearVelocityResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearVelocityResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$15.Vector3>(1, _omitFieldNames ? '' : 'linearVelocity', subBuilder: $15.Vector3.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLinearVelocityResponse clone() => GetLinearVelocityResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLinearVelocityResponse copyWith(void Function(GetLinearVelocityResponse) updates) => super.copyWith((message) => updates(message as GetLinearVelocityResponse)) as GetLinearVelocityResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLinearVelocityResponse create() => GetLinearVelocityResponse._(); - GetLinearVelocityResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLinearVelocityResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLinearVelocityResponse? _defaultInstance; - - /// Linear velocity in m/s across x/y/z axes - @$pb.TagNumber(1) - $15.Vector3 get linearVelocity => $_getN(0); - @$pb.TagNumber(1) - set linearVelocity($15.Vector3 v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLinearVelocity() => $_has(0); - @$pb.TagNumber(1) - void clearLinearVelocity() => clearField(1); - @$pb.TagNumber(1) - $15.Vector3 ensureLinearVelocity() => $_ensure(0); -} - -class GetAngularVelocityRequest extends $pb.GeneratedMessage { - factory GetAngularVelocityRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetAngularVelocityRequest._() : super(); - factory GetAngularVelocityRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAngularVelocityRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAngularVelocityRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAngularVelocityRequest clone() => GetAngularVelocityRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAngularVelocityRequest copyWith(void Function(GetAngularVelocityRequest) updates) => super.copyWith((message) => updates(message as GetAngularVelocityRequest)) as GetAngularVelocityRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAngularVelocityRequest create() => GetAngularVelocityRequest._(); - GetAngularVelocityRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAngularVelocityRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAngularVelocityRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetAngularVelocityResponse extends $pb.GeneratedMessage { - factory GetAngularVelocityResponse({ - $15.Vector3? angularVelocity, - }) { - final $result = create(); - if (angularVelocity != null) { - $result.angularVelocity = angularVelocity; - } - return $result; - } - GetAngularVelocityResponse._() : super(); - factory GetAngularVelocityResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAngularVelocityResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAngularVelocityResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$15.Vector3>(1, _omitFieldNames ? '' : 'angularVelocity', subBuilder: $15.Vector3.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAngularVelocityResponse clone() => GetAngularVelocityResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAngularVelocityResponse copyWith(void Function(GetAngularVelocityResponse) updates) => super.copyWith((message) => updates(message as GetAngularVelocityResponse)) as GetAngularVelocityResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAngularVelocityResponse create() => GetAngularVelocityResponse._(); - GetAngularVelocityResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAngularVelocityResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAngularVelocityResponse? _defaultInstance; - - /// Angular velocity in degrees/s across x/y/z axes - @$pb.TagNumber(1) - $15.Vector3 get angularVelocity => $_getN(0); - @$pb.TagNumber(1) - set angularVelocity($15.Vector3 v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasAngularVelocity() => $_has(0); - @$pb.TagNumber(1) - void clearAngularVelocity() => clearField(1); - @$pb.TagNumber(1) - $15.Vector3 ensureAngularVelocity() => $_ensure(0); -} - -class GetCompassHeadingRequest extends $pb.GeneratedMessage { - factory GetCompassHeadingRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetCompassHeadingRequest._() : super(); - factory GetCompassHeadingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCompassHeadingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCompassHeadingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCompassHeadingRequest clone() => GetCompassHeadingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCompassHeadingRequest copyWith(void Function(GetCompassHeadingRequest) updates) => super.copyWith((message) => updates(message as GetCompassHeadingRequest)) as GetCompassHeadingRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCompassHeadingRequest create() => GetCompassHeadingRequest._(); - GetCompassHeadingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCompassHeadingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCompassHeadingRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetCompassHeadingResponse extends $pb.GeneratedMessage { - factory GetCompassHeadingResponse({ - $core.double? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - GetCompassHeadingResponse._() : super(); - factory GetCompassHeadingResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCompassHeadingResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCompassHeadingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCompassHeadingResponse clone() => GetCompassHeadingResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCompassHeadingResponse copyWith(void Function(GetCompassHeadingResponse) updates) => super.copyWith((message) => updates(message as GetCompassHeadingResponse)) as GetCompassHeadingResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCompassHeadingResponse create() => GetCompassHeadingResponse._(); - GetCompassHeadingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCompassHeadingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCompassHeadingResponse? _defaultInstance; - - /// A number from 0-359 in degrees where - /// 0 is North, 90 is East, 180 is South, and 270 is West - @$pb.TagNumber(1) - $core.double get value => $_getN(0); - @$pb.TagNumber(1) - set value($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -class GetOrientationRequest extends $pb.GeneratedMessage { - factory GetOrientationRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetOrientationRequest._() : super(); - factory GetOrientationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrientationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrientationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrientationRequest clone() => GetOrientationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrientationRequest copyWith(void Function(GetOrientationRequest) updates) => super.copyWith((message) => updates(message as GetOrientationRequest)) as GetOrientationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrientationRequest create() => GetOrientationRequest._(); - GetOrientationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrientationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrientationRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetOrientationResponse extends $pb.GeneratedMessage { - factory GetOrientationResponse({ - $15.Orientation? orientation, - }) { - final $result = create(); - if (orientation != null) { - $result.orientation = orientation; - } - return $result; - } - GetOrientationResponse._() : super(); - factory GetOrientationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOrientationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrientationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$15.Orientation>(1, _omitFieldNames ? '' : 'orientation', subBuilder: $15.Orientation.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOrientationResponse clone() => GetOrientationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOrientationResponse copyWith(void Function(GetOrientationResponse) updates) => super.copyWith((message) => updates(message as GetOrientationResponse)) as GetOrientationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOrientationResponse create() => GetOrientationResponse._(); - GetOrientationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOrientationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOrientationResponse? _defaultInstance; - - /// Orientation is returned as an orientation message with - /// OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees - @$pb.TagNumber(1) - $15.Orientation get orientation => $_getN(0); - @$pb.TagNumber(1) - set orientation($15.Orientation v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOrientation() => $_has(0); - @$pb.TagNumber(1) - void clearOrientation() => clearField(1); - @$pb.TagNumber(1) - $15.Orientation ensureOrientation() => $_ensure(0); -} - -class GetPositionRequest extends $pb.GeneratedMessage { - factory GetPositionRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPositionRequest._() : super(); - factory GetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionRequest clone() => GetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionRequest copyWith(void Function(GetPositionRequest) updates) => super.copyWith((message) => updates(message as GetPositionRequest)) as GetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionRequest create() => GetPositionRequest._(); - GetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPositionResponse extends $pb.GeneratedMessage { - factory GetPositionResponse({ - $15.GeoPoint? coordinate, - $core.double? altitudeM, - }) { - final $result = create(); - if (coordinate != null) { - $result.coordinate = coordinate; - } - if (altitudeM != null) { - $result.altitudeM = altitudeM; - } - return $result; - } - GetPositionResponse._() : super(); - factory GetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$15.GeoPoint>(1, _omitFieldNames ? '' : 'coordinate', subBuilder: $15.GeoPoint.create) - ..a<$core.double>(2, _omitFieldNames ? '' : 'altitudeM', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionResponse clone() => GetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionResponse copyWith(void Function(GetPositionResponse) updates) => super.copyWith((message) => updates(message as GetPositionResponse)) as GetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionResponse create() => GetPositionResponse._(); - GetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionResponse? _defaultInstance; - - /// Position is returned in a coordinate of latitute and longitude - /// and an altidue in meters - @$pb.TagNumber(1) - $15.GeoPoint get coordinate => $_getN(0); - @$pb.TagNumber(1) - set coordinate($15.GeoPoint v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCoordinate() => $_has(0); - @$pb.TagNumber(1) - void clearCoordinate() => clearField(1); - @$pb.TagNumber(1) - $15.GeoPoint ensureCoordinate() => $_ensure(0); - - @$pb.TagNumber(2) - $core.double get altitudeM => $_getN(1); - @$pb.TagNumber(2) - set altitudeM($core.double v) { $_setFloat(1, v); } - @$pb.TagNumber(2) - $core.bool hasAltitudeM() => $_has(1); - @$pb.TagNumber(2) - void clearAltitudeM() => clearField(2); -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - $core.bool? linearVelocitySupported, - $core.bool? angularVelocitySupported, - $core.bool? orientationSupported, - $core.bool? positionSupported, - $core.bool? compassHeadingSupported, - $core.bool? linearAccelerationSupported, - }) { - final $result = create(); - if (linearVelocitySupported != null) { - $result.linearVelocitySupported = linearVelocitySupported; - } - if (angularVelocitySupported != null) { - $result.angularVelocitySupported = angularVelocitySupported; - } - if (orientationSupported != null) { - $result.orientationSupported = orientationSupported; - } - if (positionSupported != null) { - $result.positionSupported = positionSupported; - } - if (compassHeadingSupported != null) { - $result.compassHeadingSupported = compassHeadingSupported; - } - if (linearAccelerationSupported != null) { - $result.linearAccelerationSupported = linearAccelerationSupported; - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'linearVelocitySupported') - ..aOB(2, _omitFieldNames ? '' : 'angularVelocitySupported') - ..aOB(3, _omitFieldNames ? '' : 'orientationSupported') - ..aOB(4, _omitFieldNames ? '' : 'positionSupported') - ..aOB(5, _omitFieldNames ? '' : 'compassHeadingSupported') - ..aOB(6, _omitFieldNames ? '' : 'linearAccelerationSupported') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get linearVelocitySupported => $_getBF(0); - @$pb.TagNumber(1) - set linearVelocitySupported($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasLinearVelocitySupported() => $_has(0); - @$pb.TagNumber(1) - void clearLinearVelocitySupported() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get angularVelocitySupported => $_getBF(1); - @$pb.TagNumber(2) - set angularVelocitySupported($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasAngularVelocitySupported() => $_has(1); - @$pb.TagNumber(2) - void clearAngularVelocitySupported() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get orientationSupported => $_getBF(2); - @$pb.TagNumber(3) - set orientationSupported($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasOrientationSupported() => $_has(2); - @$pb.TagNumber(3) - void clearOrientationSupported() => clearField(3); - - @$pb.TagNumber(4) - $core.bool get positionSupported => $_getBF(3); - @$pb.TagNumber(4) - set positionSupported($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasPositionSupported() => $_has(3); - @$pb.TagNumber(4) - void clearPositionSupported() => clearField(4); - - @$pb.TagNumber(5) - $core.bool get compassHeadingSupported => $_getBF(4); - @$pb.TagNumber(5) - set compassHeadingSupported($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasCompassHeadingSupported() => $_has(4); - @$pb.TagNumber(5) - void clearCompassHeadingSupported() => clearField(5); - - @$pb.TagNumber(6) - $core.bool get linearAccelerationSupported => $_getBF(5); - @$pb.TagNumber(6) - set linearAccelerationSupported($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(6) - $core.bool hasLinearAccelerationSupported() => $_has(5); - @$pb.TagNumber(6) - void clearLinearAccelerationSupported() => clearField(6); -} - -class GetAccuracyRequest extends $pb.GeneratedMessage { - factory GetAccuracyRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetAccuracyRequest._() : super(); - factory GetAccuracyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAccuracyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAccuracyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAccuracyRequest clone() => GetAccuracyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAccuracyRequest copyWith(void Function(GetAccuracyRequest) updates) => super.copyWith((message) => updates(message as GetAccuracyRequest)) as GetAccuracyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAccuracyRequest create() => GetAccuracyRequest._(); - GetAccuracyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAccuracyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAccuracyRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetAccuracyResponse extends $pb.GeneratedMessage { - factory GetAccuracyResponse({ - $core.Map<$core.String, $core.double>? accuracy, - $core.double? positionHdop, - $core.double? positionVdop, - $core.int? positionNmeaGgaFix, - $core.double? compassDegreesError, - }) { - final $result = create(); - if (accuracy != null) { - $result.accuracy.addAll(accuracy); - } - if (positionHdop != null) { - $result.positionHdop = positionHdop; - } - if (positionVdop != null) { - $result.positionVdop = positionVdop; - } - if (positionNmeaGgaFix != null) { - $result.positionNmeaGgaFix = positionNmeaGgaFix; - } - if (compassDegreesError != null) { - $result.compassDegreesError = compassDegreesError; - } - return $result; - } - GetAccuracyResponse._() : super(); - factory GetAccuracyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetAccuracyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAccuracyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..m<$core.String, $core.double>(1, _omitFieldNames ? '' : 'accuracy', entryClassName: 'GetAccuracyResponse.AccuracyEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OF, packageName: const $pb.PackageName('viam.component.movementsensor.v1')) - ..a<$core.double>(2, _omitFieldNames ? '' : 'positionHdop', $pb.PbFieldType.OF) - ..a<$core.double>(3, _omitFieldNames ? '' : 'positionVdop', $pb.PbFieldType.OF) - ..a<$core.int>(4, _omitFieldNames ? '' : 'positionNmeaGgaFix', $pb.PbFieldType.O3) - ..a<$core.double>(5, _omitFieldNames ? '' : 'compassDegreesError', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetAccuracyResponse clone() => GetAccuracyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetAccuracyResponse copyWith(void Function(GetAccuracyResponse) updates) => super.copyWith((message) => updates(message as GetAccuracyResponse)) as GetAccuracyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetAccuracyResponse create() => GetAccuracyResponse._(); - GetAccuracyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetAccuracyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetAccuracyResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.String, $core.double> get accuracy => $_getMap(0); - - @$pb.TagNumber(2) - $core.double get positionHdop => $_getN(1); - @$pb.TagNumber(2) - set positionHdop($core.double v) { $_setFloat(1, v); } - @$pb.TagNumber(2) - $core.bool hasPositionHdop() => $_has(1); - @$pb.TagNumber(2) - void clearPositionHdop() => clearField(2); - - @$pb.TagNumber(3) - $core.double get positionVdop => $_getN(2); - @$pb.TagNumber(3) - set positionVdop($core.double v) { $_setFloat(2, v); } - @$pb.TagNumber(3) - $core.bool hasPositionVdop() => $_has(2); - @$pb.TagNumber(3) - void clearPositionVdop() => clearField(3); - - @$pb.TagNumber(4) - $core.int get positionNmeaGgaFix => $_getIZ(3); - @$pb.TagNumber(4) - set positionNmeaGgaFix($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasPositionNmeaGgaFix() => $_has(3); - @$pb.TagNumber(4) - void clearPositionNmeaGgaFix() => clearField(4); - - @$pb.TagNumber(5) - $core.double get compassDegreesError => $_getN(4); - @$pb.TagNumber(5) - set compassDegreesError($core.double v) { $_setFloat(4, v); } - @$pb.TagNumber(5) - $core.bool hasCompassDegreesError() => $_has(4); - @$pb.TagNumber(5) - void clearCompassDegreesError() => clearField(5); -} - -class GetLinearAccelerationRequest extends $pb.GeneratedMessage { - factory GetLinearAccelerationRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetLinearAccelerationRequest._() : super(); - factory GetLinearAccelerationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLinearAccelerationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearAccelerationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLinearAccelerationRequest clone() => GetLinearAccelerationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLinearAccelerationRequest copyWith(void Function(GetLinearAccelerationRequest) updates) => super.copyWith((message) => updates(message as GetLinearAccelerationRequest)) as GetLinearAccelerationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLinearAccelerationRequest create() => GetLinearAccelerationRequest._(); - GetLinearAccelerationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLinearAccelerationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLinearAccelerationRequest? _defaultInstance; - - /// Name of a movement sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetLinearAccelerationResponse extends $pb.GeneratedMessage { - factory GetLinearAccelerationResponse({ - $15.Vector3? linearAcceleration, - }) { - final $result = create(); - if (linearAcceleration != null) { - $result.linearAcceleration = linearAcceleration; - } - return $result; - } - GetLinearAccelerationResponse._() : super(); - factory GetLinearAccelerationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLinearAccelerationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearAccelerationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$15.Vector3>(1, _omitFieldNames ? '' : 'linearAcceleration', subBuilder: $15.Vector3.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLinearAccelerationResponse clone() => GetLinearAccelerationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLinearAccelerationResponse copyWith(void Function(GetLinearAccelerationResponse) updates) => super.copyWith((message) => updates(message as GetLinearAccelerationResponse)) as GetLinearAccelerationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLinearAccelerationResponse create() => GetLinearAccelerationResponse._(); - GetLinearAccelerationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLinearAccelerationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLinearAccelerationResponse? _defaultInstance; - - /// Linear acceleration in m/s across x/y/z axes - @$pb.TagNumber(1) - $15.Vector3 get linearAcceleration => $_getN(0); - @$pb.TagNumber(1) - set linearAcceleration($15.Vector3 v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLinearAcceleration() => $_has(0); - @$pb.TagNumber(1) - void clearLinearAcceleration() => clearField(1); - @$pb.TagNumber(1) - $15.Vector3 ensureLinearAcceleration() => $_ensure(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/movementsensor/v1/movementsensor.pbenum.dart b/lib/src/gen/component/movementsensor/v1/movementsensor.pbenum.dart deleted file mode 100644 index 66a82e186ec..00000000000 --- a/lib/src/gen/component/movementsensor/v1/movementsensor.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/movementsensor/v1/movementsensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/movementsensor/v1/movementsensor.pbgrpc.dart b/lib/src/gen/component/movementsensor/v1/movementsensor.pbgrpc.dart deleted file mode 100644 index 5275e4a3225..00000000000 --- a/lib/src/gen/component/movementsensor/v1/movementsensor.pbgrpc.dart +++ /dev/null @@ -1,260 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/movementsensor/v1/movementsensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'movementsensor.pb.dart' as $27; - -export 'movementsensor.pb.dart'; - -@$pb.GrpcServiceName('viam.component.movementsensor.v1.MovementSensorService') -class MovementSensorServiceClient extends $grpc.Client { - static final _$getLinearVelocity = $grpc.ClientMethod<$27.GetLinearVelocityRequest, $27.GetLinearVelocityResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetLinearVelocity', - ($27.GetLinearVelocityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetLinearVelocityResponse.fromBuffer(value)); - static final _$getAngularVelocity = $grpc.ClientMethod<$27.GetAngularVelocityRequest, $27.GetAngularVelocityResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetAngularVelocity', - ($27.GetAngularVelocityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetAngularVelocityResponse.fromBuffer(value)); - static final _$getCompassHeading = $grpc.ClientMethod<$27.GetCompassHeadingRequest, $27.GetCompassHeadingResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetCompassHeading', - ($27.GetCompassHeadingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetCompassHeadingResponse.fromBuffer(value)); - static final _$getOrientation = $grpc.ClientMethod<$27.GetOrientationRequest, $27.GetOrientationResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetOrientation', - ($27.GetOrientationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetOrientationResponse.fromBuffer(value)); - static final _$getPosition = $grpc.ClientMethod<$27.GetPositionRequest, $27.GetPositionResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetPosition', - ($27.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetPositionResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$27.GetPropertiesRequest, $27.GetPropertiesResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetProperties', - ($27.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetPropertiesResponse.fromBuffer(value)); - static final _$getAccuracy = $grpc.ClientMethod<$27.GetAccuracyRequest, $27.GetAccuracyResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetAccuracy', - ($27.GetAccuracyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetAccuracyResponse.fromBuffer(value)); - static final _$getLinearAcceleration = $grpc.ClientMethod<$27.GetLinearAccelerationRequest, $27.GetLinearAccelerationResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetLinearAcceleration', - ($27.GetLinearAccelerationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetLinearAccelerationResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - static final _$getReadings = $grpc.ClientMethod<$15.GetReadingsRequest, $15.GetReadingsResponse>( - '/viam.component.movementsensor.v1.MovementSensorService/GetReadings', - ($15.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetReadingsResponse.fromBuffer(value)); - - MovementSensorServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$27.GetLinearVelocityResponse> getLinearVelocity($27.GetLinearVelocityRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getLinearVelocity, request, options: options); - } - - $grpc.ResponseFuture<$27.GetAngularVelocityResponse> getAngularVelocity($27.GetAngularVelocityRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getAngularVelocity, request, options: options); - } - - $grpc.ResponseFuture<$27.GetCompassHeadingResponse> getCompassHeading($27.GetCompassHeadingRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getCompassHeading, request, options: options); - } - - $grpc.ResponseFuture<$27.GetOrientationResponse> getOrientation($27.GetOrientationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOrientation, request, options: options); - } - - $grpc.ResponseFuture<$27.GetPositionResponse> getPosition($27.GetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPosition, request, options: options); - } - - $grpc.ResponseFuture<$27.GetPropertiesResponse> getProperties($27.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } - - $grpc.ResponseFuture<$27.GetAccuracyResponse> getAccuracy($27.GetAccuracyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getAccuracy, request, options: options); - } - - $grpc.ResponseFuture<$27.GetLinearAccelerationResponse> getLinearAcceleration($27.GetLinearAccelerationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getLinearAcceleration, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } - - $grpc.ResponseFuture<$15.GetReadingsResponse> getReadings($15.GetReadingsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getReadings, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.movementsensor.v1.MovementSensorService') -abstract class MovementSensorServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.movementsensor.v1.MovementSensorService'; - - MovementSensorServiceBase() { - $addMethod($grpc.ServiceMethod<$27.GetLinearVelocityRequest, $27.GetLinearVelocityResponse>( - 'GetLinearVelocity', - getLinearVelocity_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetLinearVelocityRequest.fromBuffer(value), - ($27.GetLinearVelocityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetAngularVelocityRequest, $27.GetAngularVelocityResponse>( - 'GetAngularVelocity', - getAngularVelocity_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetAngularVelocityRequest.fromBuffer(value), - ($27.GetAngularVelocityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetCompassHeadingRequest, $27.GetCompassHeadingResponse>( - 'GetCompassHeading', - getCompassHeading_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetCompassHeadingRequest.fromBuffer(value), - ($27.GetCompassHeadingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetOrientationRequest, $27.GetOrientationResponse>( - 'GetOrientation', - getOrientation_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetOrientationRequest.fromBuffer(value), - ($27.GetOrientationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetPositionRequest, $27.GetPositionResponse>( - 'GetPosition', - getPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetPositionRequest.fromBuffer(value), - ($27.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetPropertiesRequest, $27.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetPropertiesRequest.fromBuffer(value), - ($27.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetAccuracyRequest, $27.GetAccuracyResponse>( - 'GetAccuracy', - getAccuracy_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetAccuracyRequest.fromBuffer(value), - ($27.GetAccuracyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetLinearAccelerationRequest, $27.GetLinearAccelerationResponse>( - 'GetLinearAcceleration', - getLinearAcceleration_Pre, - false, - false, - ($core.List<$core.int> value) => $27.GetLinearAccelerationRequest.fromBuffer(value), - ($27.GetLinearAccelerationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetReadingsRequest, $15.GetReadingsResponse>( - 'GetReadings', - getReadings_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetReadingsRequest.fromBuffer(value), - ($15.GetReadingsResponse value) => value.writeToBuffer())); - } - - $async.Future<$27.GetLinearVelocityResponse> getLinearVelocity_Pre($grpc.ServiceCall call, $async.Future<$27.GetLinearVelocityRequest> request) async { - return getLinearVelocity(call, await request); - } - - $async.Future<$27.GetAngularVelocityResponse> getAngularVelocity_Pre($grpc.ServiceCall call, $async.Future<$27.GetAngularVelocityRequest> request) async { - return getAngularVelocity(call, await request); - } - - $async.Future<$27.GetCompassHeadingResponse> getCompassHeading_Pre($grpc.ServiceCall call, $async.Future<$27.GetCompassHeadingRequest> request) async { - return getCompassHeading(call, await request); - } - - $async.Future<$27.GetOrientationResponse> getOrientation_Pre($grpc.ServiceCall call, $async.Future<$27.GetOrientationRequest> request) async { - return getOrientation(call, await request); - } - - $async.Future<$27.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$27.GetPositionRequest> request) async { - return getPosition(call, await request); - } - - $async.Future<$27.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$27.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$27.GetAccuracyResponse> getAccuracy_Pre($grpc.ServiceCall call, $async.Future<$27.GetAccuracyRequest> request) async { - return getAccuracy(call, await request); - } - - $async.Future<$27.GetLinearAccelerationResponse> getLinearAcceleration_Pre($grpc.ServiceCall call, $async.Future<$27.GetLinearAccelerationRequest> request) async { - return getLinearAcceleration(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$15.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$15.GetReadingsRequest> request) async { - return getReadings(call, await request); - } - - $async.Future<$27.GetLinearVelocityResponse> getLinearVelocity($grpc.ServiceCall call, $27.GetLinearVelocityRequest request); - $async.Future<$27.GetAngularVelocityResponse> getAngularVelocity($grpc.ServiceCall call, $27.GetAngularVelocityRequest request); - $async.Future<$27.GetCompassHeadingResponse> getCompassHeading($grpc.ServiceCall call, $27.GetCompassHeadingRequest request); - $async.Future<$27.GetOrientationResponse> getOrientation($grpc.ServiceCall call, $27.GetOrientationRequest request); - $async.Future<$27.GetPositionResponse> getPosition($grpc.ServiceCall call, $27.GetPositionRequest request); - $async.Future<$27.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $27.GetPropertiesRequest request); - $async.Future<$27.GetAccuracyResponse> getAccuracy($grpc.ServiceCall call, $27.GetAccuracyRequest request); - $async.Future<$27.GetLinearAccelerationResponse> getLinearAcceleration($grpc.ServiceCall call, $27.GetLinearAccelerationRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); - $async.Future<$15.GetReadingsResponse> getReadings($grpc.ServiceCall call, $15.GetReadingsRequest request); -} diff --git a/lib/src/gen/component/movementsensor/v1/movementsensor.pbjson.dart b/lib/src/gen/component/movementsensor/v1/movementsensor.pbjson.dart deleted file mode 100644 index bcb597bb222..00000000000 --- a/lib/src/gen/component/movementsensor/v1/movementsensor.pbjson.dart +++ /dev/null @@ -1,269 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/movementsensor/v1/movementsensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getLinearVelocityRequestDescriptor instead') -const GetLinearVelocityRequest$json = { - '1': 'GetLinearVelocityRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetLinearVelocityRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLinearVelocityRequestDescriptor = $convert.base64Decode( - 'ChhHZXRMaW5lYXJWZWxvY2l0eVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYR' - 'hjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getLinearVelocityResponseDescriptor instead') -const GetLinearVelocityResponse$json = { - '1': 'GetLinearVelocityResponse', - '2': [ - {'1': 'linear_velocity', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'linearVelocity'}, - ], -}; - -/// Descriptor for `GetLinearVelocityResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLinearVelocityResponseDescriptor = $convert.base64Decode( - 'ChlHZXRMaW5lYXJWZWxvY2l0eVJlc3BvbnNlEkAKD2xpbmVhcl92ZWxvY2l0eRgBIAEoCzIXLn' - 'ZpYW0uY29tbW9uLnYxLlZlY3RvcjNSDmxpbmVhclZlbG9jaXR5'); - -@$core.Deprecated('Use getAngularVelocityRequestDescriptor instead') -const GetAngularVelocityRequest$json = { - '1': 'GetAngularVelocityRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetAngularVelocityRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAngularVelocityRequestDescriptor = $convert.base64Decode( - 'ChlHZXRBbmd1bGFyVmVsb2NpdHlSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSLQoFZXh0cm' - 'EYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use getAngularVelocityResponseDescriptor instead') -const GetAngularVelocityResponse$json = { - '1': 'GetAngularVelocityResponse', - '2': [ - {'1': 'angular_velocity', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'angularVelocity'}, - ], -}; - -/// Descriptor for `GetAngularVelocityResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAngularVelocityResponseDescriptor = $convert.base64Decode( - 'ChpHZXRBbmd1bGFyVmVsb2NpdHlSZXNwb25zZRJCChBhbmd1bGFyX3ZlbG9jaXR5GAEgASgLMh' - 'cudmlhbS5jb21tb24udjEuVmVjdG9yM1IPYW5ndWxhclZlbG9jaXR5'); - -@$core.Deprecated('Use getCompassHeadingRequestDescriptor instead') -const GetCompassHeadingRequest$json = { - '1': 'GetCompassHeadingRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetCompassHeadingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCompassHeadingRequestDescriptor = $convert.base64Decode( - 'ChhHZXRDb21wYXNzSGVhZGluZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYR' - 'hjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getCompassHeadingResponseDescriptor instead') -const GetCompassHeadingResponse$json = { - '1': 'GetCompassHeadingResponse', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 1, '10': 'value'}, - ], -}; - -/// Descriptor for `GetCompassHeadingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCompassHeadingResponseDescriptor = $convert.base64Decode( - 'ChlHZXRDb21wYXNzSGVhZGluZ1Jlc3BvbnNlEhQKBXZhbHVlGAEgASgBUgV2YWx1ZQ=='); - -@$core.Deprecated('Use getOrientationRequestDescriptor instead') -const GetOrientationRequest$json = { - '1': 'GetOrientationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetOrientationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrientationRequestDescriptor = $convert.base64Decode( - 'ChVHZXRPcmllbnRhdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIA' - 'EoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getOrientationResponseDescriptor instead') -const GetOrientationResponse$json = { - '1': 'GetOrientationResponse', - '2': [ - {'1': 'orientation', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Orientation', '10': 'orientation'}, - ], -}; - -/// Descriptor for `GetOrientationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOrientationResponseDescriptor = $convert.base64Decode( - 'ChZHZXRPcmllbnRhdGlvblJlc3BvbnNlEj0KC29yaWVudGF0aW9uGAEgASgLMhsudmlhbS5jb2' - '1tb24udjEuT3JpZW50YXRpb25SC29yaWVudGF0aW9u'); - -@$core.Deprecated('Use getPositionRequestDescriptor instead') -const GetPositionRequest$json = { - '1': 'GetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getPositionResponseDescriptor instead') -const GetPositionResponse$json = { - '1': 'GetPositionResponse', - '2': [ - {'1': 'coordinate', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.GeoPoint', '10': 'coordinate'}, - {'1': 'altitude_m', '3': 2, '4': 1, '5': 2, '10': 'altitudeM'}, - ], -}; - -/// Descriptor for `GetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQb3NpdGlvblJlc3BvbnNlEjgKCmNvb3JkaW5hdGUYASABKAsyGC52aWFtLmNvbW1vbi' - '52MS5HZW9Qb2ludFIKY29vcmRpbmF0ZRIdCgphbHRpdHVkZV9tGAIgASgCUglhbHRpdHVkZU0='); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'linear_velocity_supported', '3': 1, '4': 1, '5': 8, '10': 'linearVelocitySupported'}, - {'1': 'angular_velocity_supported', '3': 2, '4': 1, '5': 8, '10': 'angularVelocitySupported'}, - {'1': 'orientation_supported', '3': 3, '4': 1, '5': 8, '10': 'orientationSupported'}, - {'1': 'position_supported', '3': 4, '4': 1, '5': 8, '10': 'positionSupported'}, - {'1': 'compass_heading_supported', '3': 5, '4': 1, '5': 8, '10': 'compassHeadingSupported'}, - {'1': 'linear_acceleration_supported', '3': 6, '4': 1, '5': 8, '10': 'linearAccelerationSupported'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USOgoZbGluZWFyX3ZlbG9jaXR5X3N1cHBvcnRlZBgBIA' - 'EoCFIXbGluZWFyVmVsb2NpdHlTdXBwb3J0ZWQSPAoaYW5ndWxhcl92ZWxvY2l0eV9zdXBwb3J0' - 'ZWQYAiABKAhSGGFuZ3VsYXJWZWxvY2l0eVN1cHBvcnRlZBIzChVvcmllbnRhdGlvbl9zdXBwb3' - 'J0ZWQYAyABKAhSFG9yaWVudGF0aW9uU3VwcG9ydGVkEi0KEnBvc2l0aW9uX3N1cHBvcnRlZBgE' - 'IAEoCFIRcG9zaXRpb25TdXBwb3J0ZWQSOgoZY29tcGFzc19oZWFkaW5nX3N1cHBvcnRlZBgFIA' - 'EoCFIXY29tcGFzc0hlYWRpbmdTdXBwb3J0ZWQSQgodbGluZWFyX2FjY2VsZXJhdGlvbl9zdXBw' - 'b3J0ZWQYBiABKAhSG2xpbmVhckFjY2VsZXJhdGlvblN1cHBvcnRlZA=='); - -@$core.Deprecated('Use getAccuracyRequestDescriptor instead') -const GetAccuracyRequest$json = { - '1': 'GetAccuracyRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetAccuracyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAccuracyRequestDescriptor = $convert.base64Decode( - 'ChJHZXRBY2N1cmFjeVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getAccuracyResponseDescriptor instead') -const GetAccuracyResponse$json = { - '1': 'GetAccuracyResponse', - '2': [ - {'1': 'accuracy', '3': 1, '4': 3, '5': 11, '6': '.viam.component.movementsensor.v1.GetAccuracyResponse.AccuracyEntry', '10': 'accuracy'}, - {'1': 'position_hdop', '3': 2, '4': 1, '5': 2, '9': 0, '10': 'positionHdop', '17': true}, - {'1': 'position_vdop', '3': 3, '4': 1, '5': 2, '9': 1, '10': 'positionVdop', '17': true}, - {'1': 'position_nmea_gga_fix', '3': 4, '4': 1, '5': 5, '9': 2, '10': 'positionNmeaGgaFix', '17': true}, - {'1': 'compass_degrees_error', '3': 5, '4': 1, '5': 2, '9': 3, '10': 'compassDegreesError', '17': true}, - ], - '3': [GetAccuracyResponse_AccuracyEntry$json], - '8': [ - {'1': '_position_hdop'}, - {'1': '_position_vdop'}, - {'1': '_position_nmea_gga_fix'}, - {'1': '_compass_degrees_error'}, - ], -}; - -@$core.Deprecated('Use getAccuracyResponseDescriptor instead') -const GetAccuracyResponse_AccuracyEntry$json = { - '1': 'AccuracyEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 2, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `GetAccuracyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getAccuracyResponseDescriptor = $convert.base64Decode( - 'ChNHZXRBY2N1cmFjeVJlc3BvbnNlEl8KCGFjY3VyYWN5GAEgAygLMkMudmlhbS5jb21wb25lbn' - 'QubW92ZW1lbnRzZW5zb3IudjEuR2V0QWNjdXJhY3lSZXNwb25zZS5BY2N1cmFjeUVudHJ5Ughh' - 'Y2N1cmFjeRIoCg1wb3NpdGlvbl9oZG9wGAIgASgCSABSDHBvc2l0aW9uSGRvcIgBARIoCg1wb3' - 'NpdGlvbl92ZG9wGAMgASgCSAFSDHBvc2l0aW9uVmRvcIgBARI2ChVwb3NpdGlvbl9ubWVhX2dn' - 'YV9maXgYBCABKAVIAlIScG9zaXRpb25ObWVhR2dhRml4iAEBEjcKFWNvbXBhc3NfZGVncmVlc1' - '9lcnJvchgFIAEoAkgDUhNjb21wYXNzRGVncmVlc0Vycm9yiAEBGjsKDUFjY3VyYWN5RW50cnkS' - 'EAoDa2V5GAEgASgJUgNrZXkSFAoFdmFsdWUYAiABKAJSBXZhbHVlOgI4AUIQCg5fcG9zaXRpb2' - '5faGRvcEIQCg5fcG9zaXRpb25fdmRvcEIYChZfcG9zaXRpb25fbm1lYV9nZ2FfZml4QhgKFl9j' - 'b21wYXNzX2RlZ3JlZXNfZXJyb3I='); - -@$core.Deprecated('Use getLinearAccelerationRequestDescriptor instead') -const GetLinearAccelerationRequest$json = { - '1': 'GetLinearAccelerationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetLinearAccelerationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLinearAccelerationRequestDescriptor = $convert.base64Decode( - 'ChxHZXRMaW5lYXJBY2NlbGVyYXRpb25SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSLQoFZX' - 'h0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use getLinearAccelerationResponseDescriptor instead') -const GetLinearAccelerationResponse$json = { - '1': 'GetLinearAccelerationResponse', - '2': [ - {'1': 'linear_acceleration', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Vector3', '10': 'linearAcceleration'}, - ], -}; - -/// Descriptor for `GetLinearAccelerationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLinearAccelerationResponseDescriptor = $convert.base64Decode( - 'Ch1HZXRMaW5lYXJBY2NlbGVyYXRpb25SZXNwb25zZRJIChNsaW5lYXJfYWNjZWxlcmF0aW9uGA' - 'EgASgLMhcudmlhbS5jb21tb24udjEuVmVjdG9yM1ISbGluZWFyQWNjZWxlcmF0aW9u'); - diff --git a/lib/src/gen/component/nswitch/v1/switch.pb.dart b/lib/src/gen/component/nswitch/v1/switch.pb.dart deleted file mode 100644 index f0587bb674d..00000000000 --- a/lib/src/gen/component/nswitch/v1/switch.pb.dart +++ /dev/null @@ -1,364 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/switch/v1/switch.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class SetPositionRequest extends $pb.GeneratedMessage { - factory SetPositionRequest({ - $core.String? name, - $core.int? position, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (position != null) { - $result.position = position; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetPositionRequest._() : super(); - factory SetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.switch.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.int>(2, _omitFieldNames ? '' : 'position', $pb.PbFieldType.OU3) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPositionRequest clone() => SetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPositionRequest copyWith(void Function(SetPositionRequest) updates) => super.copyWith((message) => updates(message as SetPositionRequest)) as SetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPositionRequest create() => SetPositionRequest._(); - SetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPositionRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.int get position => $_getIZ(1); - @$pb.TagNumber(2) - set position($core.int v) { $_setUnsignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasPosition() => $_has(1); - @$pb.TagNumber(2) - void clearPosition() => clearField(2); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class SetPositionResponse extends $pb.GeneratedMessage { - factory SetPositionResponse() => create(); - SetPositionResponse._() : super(); - factory SetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.switch.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetPositionResponse clone() => SetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetPositionResponse copyWith(void Function(SetPositionResponse) updates) => super.copyWith((message) => updates(message as SetPositionResponse)) as SetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetPositionResponse create() => SetPositionResponse._(); - SetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetPositionResponse? _defaultInstance; -} - -class GetPositionRequest extends $pb.GeneratedMessage { - factory GetPositionRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPositionRequest._() : super(); - factory GetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.switch.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionRequest clone() => GetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionRequest copyWith(void Function(GetPositionRequest) updates) => super.copyWith((message) => updates(message as GetPositionRequest)) as GetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionRequest create() => GetPositionRequest._(); - GetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPositionResponse extends $pb.GeneratedMessage { - factory GetPositionResponse({ - $core.int? position, - }) { - final $result = create(); - if (position != null) { - $result.position = position; - } - return $result; - } - GetPositionResponse._() : super(); - factory GetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.switch.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'position', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionResponse clone() => GetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionResponse copyWith(void Function(GetPositionResponse) updates) => super.copyWith((message) => updates(message as GetPositionResponse)) as GetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionResponse create() => GetPositionResponse._(); - GetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get position => $_getIZ(0); - @$pb.TagNumber(1) - set position($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasPosition() => $_has(0); - @$pb.TagNumber(1) - void clearPosition() => clearField(1); -} - -class GetNumberOfPositionsRequest extends $pb.GeneratedMessage { - factory GetNumberOfPositionsRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetNumberOfPositionsRequest._() : super(); - factory GetNumberOfPositionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetNumberOfPositionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNumberOfPositionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.switch.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetNumberOfPositionsRequest clone() => GetNumberOfPositionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetNumberOfPositionsRequest copyWith(void Function(GetNumberOfPositionsRequest) updates) => super.copyWith((message) => updates(message as GetNumberOfPositionsRequest)) as GetNumberOfPositionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetNumberOfPositionsRequest create() => GetNumberOfPositionsRequest._(); - GetNumberOfPositionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetNumberOfPositionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetNumberOfPositionsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetNumberOfPositionsResponse extends $pb.GeneratedMessage { - factory GetNumberOfPositionsResponse({ - $core.int? numberOfPositions, - }) { - final $result = create(); - if (numberOfPositions != null) { - $result.numberOfPositions = numberOfPositions; - } - return $result; - } - GetNumberOfPositionsResponse._() : super(); - factory GetNumberOfPositionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetNumberOfPositionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNumberOfPositionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.switch.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'numberOfPositions', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetNumberOfPositionsResponse clone() => GetNumberOfPositionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetNumberOfPositionsResponse copyWith(void Function(GetNumberOfPositionsResponse) updates) => super.copyWith((message) => updates(message as GetNumberOfPositionsResponse)) as GetNumberOfPositionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetNumberOfPositionsResponse create() => GetNumberOfPositionsResponse._(); - GetNumberOfPositionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetNumberOfPositionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetNumberOfPositionsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get numberOfPositions => $_getIZ(0); - @$pb.TagNumber(1) - set numberOfPositions($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasNumberOfPositions() => $_has(0); - @$pb.TagNumber(1) - void clearNumberOfPositions() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/nswitch/v1/switch.pbenum.dart b/lib/src/gen/component/nswitch/v1/switch.pbenum.dart deleted file mode 100644 index e597fd9bfed..00000000000 --- a/lib/src/gen/component/nswitch/v1/switch.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/switch/v1/switch.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/nswitch/v1/switch.pbgrpc.dart b/lib/src/gen/component/nswitch/v1/switch.pbgrpc.dart deleted file mode 100644 index a2d2c9c8d9a..00000000000 --- a/lib/src/gen/component/nswitch/v1/switch.pbgrpc.dart +++ /dev/null @@ -1,120 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/switch/v1/switch.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'switch.pb.dart' as $31; - -export 'switch.pb.dart'; - -@$pb.GrpcServiceName('viam.component.switch.v1.SwitchService') -class SwitchServiceClient extends $grpc.Client { - static final _$setPosition = $grpc.ClientMethod<$31.SetPositionRequest, $31.SetPositionResponse>( - '/viam.component.switch.v1.SwitchService/SetPosition', - ($31.SetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $31.SetPositionResponse.fromBuffer(value)); - static final _$getPosition = $grpc.ClientMethod<$31.GetPositionRequest, $31.GetPositionResponse>( - '/viam.component.switch.v1.SwitchService/GetPosition', - ($31.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $31.GetPositionResponse.fromBuffer(value)); - static final _$getNumberOfPositions = $grpc.ClientMethod<$31.GetNumberOfPositionsRequest, $31.GetNumberOfPositionsResponse>( - '/viam.component.switch.v1.SwitchService/GetNumberOfPositions', - ($31.GetNumberOfPositionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $31.GetNumberOfPositionsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.switch.v1.SwitchService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - SwitchServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$31.SetPositionResponse> setPosition($31.SetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setPosition, request, options: options); - } - - $grpc.ResponseFuture<$31.GetPositionResponse> getPosition($31.GetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPosition, request, options: options); - } - - $grpc.ResponseFuture<$31.GetNumberOfPositionsResponse> getNumberOfPositions($31.GetNumberOfPositionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getNumberOfPositions, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.switch.v1.SwitchService') -abstract class SwitchServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.switch.v1.SwitchService'; - - SwitchServiceBase() { - $addMethod($grpc.ServiceMethod<$31.SetPositionRequest, $31.SetPositionResponse>( - 'SetPosition', - setPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $31.SetPositionRequest.fromBuffer(value), - ($31.SetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$31.GetPositionRequest, $31.GetPositionResponse>( - 'GetPosition', - getPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $31.GetPositionRequest.fromBuffer(value), - ($31.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$31.GetNumberOfPositionsRequest, $31.GetNumberOfPositionsResponse>( - 'GetNumberOfPositions', - getNumberOfPositions_Pre, - false, - false, - ($core.List<$core.int> value) => $31.GetNumberOfPositionsRequest.fromBuffer(value), - ($31.GetNumberOfPositionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$31.SetPositionResponse> setPosition_Pre($grpc.ServiceCall call, $async.Future<$31.SetPositionRequest> request) async { - return setPosition(call, await request); - } - - $async.Future<$31.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$31.GetPositionRequest> request) async { - return getPosition(call, await request); - } - - $async.Future<$31.GetNumberOfPositionsResponse> getNumberOfPositions_Pre($grpc.ServiceCall call, $async.Future<$31.GetNumberOfPositionsRequest> request) async { - return getNumberOfPositions(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$31.SetPositionResponse> setPosition($grpc.ServiceCall call, $31.SetPositionRequest request); - $async.Future<$31.GetPositionResponse> getPosition($grpc.ServiceCall call, $31.GetPositionRequest request); - $async.Future<$31.GetNumberOfPositionsResponse> getNumberOfPositions($grpc.ServiceCall call, $31.GetNumberOfPositionsRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/component/nswitch/v1/switch.pbjson.dart b/lib/src/gen/component/nswitch/v1/switch.pbjson.dart deleted file mode 100644 index 9c3e608bd61..00000000000 --- a/lib/src/gen/component/nswitch/v1/switch.pbjson.dart +++ /dev/null @@ -1,93 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/switch/v1/switch.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use setPositionRequestDescriptor instead') -const SetPositionRequest$json = { - '1': 'SetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'position', '3': 2, '4': 1, '5': 13, '10': 'position'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPositionRequestDescriptor = $convert.base64Decode( - 'ChJTZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIaCghwb3NpdGlvbhgCIA' - 'EoDVIIcG9zaXRpb24SLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVl' - 'eHRyYQ=='); - -@$core.Deprecated('Use setPositionResponseDescriptor instead') -const SetPositionResponse$json = { - '1': 'SetPositionResponse', -}; - -/// Descriptor for `SetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setPositionResponseDescriptor = $convert.base64Decode( - 'ChNTZXRQb3NpdGlvblJlc3BvbnNl'); - -@$core.Deprecated('Use getPositionRequestDescriptor instead') -const GetPositionRequest$json = { - '1': 'GetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getPositionResponseDescriptor instead') -const GetPositionResponse$json = { - '1': 'GetPositionResponse', - '2': [ - {'1': 'position', '3': 1, '4': 1, '5': 13, '10': 'position'}, - ], -}; - -/// Descriptor for `GetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQb3NpdGlvblJlc3BvbnNlEhoKCHBvc2l0aW9uGAEgASgNUghwb3NpdGlvbg=='); - -@$core.Deprecated('Use getNumberOfPositionsRequestDescriptor instead') -const GetNumberOfPositionsRequest$json = { - '1': 'GetNumberOfPositionsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetNumberOfPositionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getNumberOfPositionsRequestDescriptor = $convert.base64Decode( - 'ChtHZXROdW1iZXJPZlBvc2l0aW9uc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleH' - 'RyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getNumberOfPositionsResponseDescriptor instead') -const GetNumberOfPositionsResponse$json = { - '1': 'GetNumberOfPositionsResponse', - '2': [ - {'1': 'number_of_positions', '3': 1, '4': 1, '5': 13, '10': 'numberOfPositions'}, - ], -}; - -/// Descriptor for `GetNumberOfPositionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getNumberOfPositionsResponseDescriptor = $convert.base64Decode( - 'ChxHZXROdW1iZXJPZlBvc2l0aW9uc1Jlc3BvbnNlEi4KE251bWJlcl9vZl9wb3NpdGlvbnMYAS' - 'ABKA1SEW51bWJlck9mUG9zaXRpb25z'); - diff --git a/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart b/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart deleted file mode 100644 index 8bdddf261de..00000000000 --- a/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart +++ /dev/null @@ -1,145 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/posetracker/v1/pose_tracker.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; - -class GetPosesRequest extends $pb.GeneratedMessage { - factory GetPosesRequest({ - $core.String? name, - $core.Iterable<$core.String>? bodyNames, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (bodyNames != null) { - $result.bodyNames.addAll(bodyNames); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPosesRequest._() : super(); - factory GetPosesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPosesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPosesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.posetracker.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pPS(2, _omitFieldNames ? '' : 'bodyNames') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPosesRequest clone() => GetPosesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPosesRequest copyWith(void Function(GetPosesRequest) updates) => super.copyWith((message) => updates(message as GetPosesRequest)) as GetPosesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPosesRequest create() => GetPosesRequest._(); - GetPosesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPosesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPosesRequest? _defaultInstance; - - /// Name of the pose tracker - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Names of the bodies whose poses are being requested. In the event - /// this parameter is not supplied or is an empty list, all available - /// poses are returned - @$pb.TagNumber(2) - $core.List<$core.String> get bodyNames => $_getList(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetPosesResponse extends $pb.GeneratedMessage { - factory GetPosesResponse({ - $core.Map<$core.String, $15.PoseInFrame>? bodyPoses, - }) { - final $result = create(); - if (bodyPoses != null) { - $result.bodyPoses.addAll(bodyPoses); - } - return $result; - } - GetPosesResponse._() : super(); - factory GetPosesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPosesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPosesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.posetracker.v1'), createEmptyInstance: create) - ..m<$core.String, $15.PoseInFrame>(1, _omitFieldNames ? '' : 'bodyPoses', entryClassName: 'GetPosesResponse.BodyPosesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $15.PoseInFrame.create, valueDefaultOrMaker: $15.PoseInFrame.getDefault, packageName: const $pb.PackageName('viam.component.posetracker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPosesResponse clone() => GetPosesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPosesResponse copyWith(void Function(GetPosesResponse) updates) => super.copyWith((message) => updates(message as GetPosesResponse)) as GetPosesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPosesResponse create() => GetPosesResponse._(); - GetPosesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPosesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPosesResponse? _defaultInstance; - - /// Mapping of each body name to the pose representing the center of the body. - @$pb.TagNumber(1) - $core.Map<$core.String, $15.PoseInFrame> get bodyPoses => $_getMap(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/posetracker/v1/pose_tracker.pbenum.dart b/lib/src/gen/component/posetracker/v1/pose_tracker.pbenum.dart deleted file mode 100644 index b708d56927a..00000000000 --- a/lib/src/gen/component/posetracker/v1/pose_tracker.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/posetracker/v1/pose_tracker.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/posetracker/v1/pose_tracker.pbgrpc.dart b/lib/src/gen/component/posetracker/v1/pose_tracker.pbgrpc.dart deleted file mode 100644 index 12ed9af2df7..00000000000 --- a/lib/src/gen/component/posetracker/v1/pose_tracker.pbgrpc.dart +++ /dev/null @@ -1,100 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/posetracker/v1/pose_tracker.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'pose_tracker.pb.dart' as $28; - -export 'pose_tracker.pb.dart'; - -@$pb.GrpcServiceName('viam.component.posetracker.v1.PoseTrackerService') -class PoseTrackerServiceClient extends $grpc.Client { - static final _$getPoses = $grpc.ClientMethod<$28.GetPosesRequest, $28.GetPosesResponse>( - '/viam.component.posetracker.v1.PoseTrackerService/GetPoses', - ($28.GetPosesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $28.GetPosesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.posetracker.v1.PoseTrackerService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.posetracker.v1.PoseTrackerService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - PoseTrackerServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$28.GetPosesResponse> getPoses($28.GetPosesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPoses, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.posetracker.v1.PoseTrackerService') -abstract class PoseTrackerServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.posetracker.v1.PoseTrackerService'; - - PoseTrackerServiceBase() { - $addMethod($grpc.ServiceMethod<$28.GetPosesRequest, $28.GetPosesResponse>( - 'GetPoses', - getPoses_Pre, - false, - false, - ($core.List<$core.int> value) => $28.GetPosesRequest.fromBuffer(value), - ($28.GetPosesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$28.GetPosesResponse> getPoses_Pre($grpc.ServiceCall call, $async.Future<$28.GetPosesRequest> request) async { - return getPoses(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$28.GetPosesResponse> getPoses($grpc.ServiceCall call, $28.GetPosesRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/posetracker/v1/pose_tracker.pbjson.dart b/lib/src/gen/component/posetracker/v1/pose_tracker.pbjson.dart deleted file mode 100644 index 5c0d999e61b..00000000000 --- a/lib/src/gen/component/posetracker/v1/pose_tracker.pbjson.dart +++ /dev/null @@ -1,57 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/posetracker/v1/pose_tracker.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getPosesRequestDescriptor instead') -const GetPosesRequest$json = { - '1': 'GetPosesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'body_names', '3': 2, '4': 3, '5': 9, '10': 'bodyNames'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPosesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPosesRequestDescriptor = $convert.base64Decode( - 'Cg9HZXRQb3Nlc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIdCgpib2R5X25hbWVzGAIgAy' - 'gJUglib2R5TmFtZXMSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVl' - 'eHRyYQ=='); - -@$core.Deprecated('Use getPosesResponseDescriptor instead') -const GetPosesResponse$json = { - '1': 'GetPosesResponse', - '2': [ - {'1': 'body_poses', '3': 1, '4': 3, '5': 11, '6': '.viam.component.posetracker.v1.GetPosesResponse.BodyPosesEntry', '10': 'bodyPoses'}, - ], - '3': [GetPosesResponse_BodyPosesEntry$json], -}; - -@$core.Deprecated('Use getPosesResponseDescriptor instead') -const GetPosesResponse_BodyPosesEntry$json = { - '1': 'BodyPosesEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.PoseInFrame', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `GetPosesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPosesResponseDescriptor = $convert.base64Decode( - 'ChBHZXRQb3Nlc1Jlc3BvbnNlEl0KCmJvZHlfcG9zZXMYASADKAsyPi52aWFtLmNvbXBvbmVudC' - '5wb3NldHJhY2tlci52MS5HZXRQb3Nlc1Jlc3BvbnNlLkJvZHlQb3Nlc0VudHJ5Uglib2R5UG9z' - 'ZXMaWQoOQm9keVBvc2VzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSMQoFdmFsdWUYAiABKAsyGy' - '52aWFtLmNvbW1vbi52MS5Qb3NlSW5GcmFtZVIFdmFsdWU6AjgB'); - diff --git a/lib/src/gen/component/powersensor/v1/powersensor.pb.dart b/lib/src/gen/component/powersensor/v1/powersensor.pb.dart deleted file mode 100644 index 2bdf5cdc457..00000000000 --- a/lib/src/gen/component/powersensor/v1/powersensor.pb.dart +++ /dev/null @@ -1,407 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/powersensor/v1/powersensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class GetVoltageRequest extends $pb.GeneratedMessage { - factory GetVoltageRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetVoltageRequest._() : super(); - factory GetVoltageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetVoltageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetVoltageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVoltageRequest clone() => GetVoltageRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVoltageRequest copyWith(void Function(GetVoltageRequest) updates) => super.copyWith((message) => updates(message as GetVoltageRequest)) as GetVoltageRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetVoltageRequest create() => GetVoltageRequest._(); - GetVoltageRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetVoltageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetVoltageRequest? _defaultInstance; - - /// Name of a power sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetVoltageResponse extends $pb.GeneratedMessage { - factory GetVoltageResponse({ - $core.double? volts, - $core.bool? isAc, - }) { - final $result = create(); - if (volts != null) { - $result.volts = volts; - } - if (isAc != null) { - $result.isAc = isAc; - } - return $result; - } - GetVoltageResponse._() : super(); - factory GetVoltageResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetVoltageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetVoltageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'volts', $pb.PbFieldType.OD) - ..aOB(2, _omitFieldNames ? '' : 'isAc') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVoltageResponse clone() => GetVoltageResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVoltageResponse copyWith(void Function(GetVoltageResponse) updates) => super.copyWith((message) => updates(message as GetVoltageResponse)) as GetVoltageResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetVoltageResponse create() => GetVoltageResponse._(); - GetVoltageResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetVoltageResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetVoltageResponse? _defaultInstance; - - /// Voltage in volts - @$pb.TagNumber(1) - $core.double get volts => $_getN(0); - @$pb.TagNumber(1) - set volts($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasVolts() => $_has(0); - @$pb.TagNumber(1) - void clearVolts() => clearField(1); - - /// Bool describing whether the voltage is DC or AC - @$pb.TagNumber(2) - $core.bool get isAc => $_getBF(1); - @$pb.TagNumber(2) - set isAc($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIsAc() => $_has(1); - @$pb.TagNumber(2) - void clearIsAc() => clearField(2); -} - -class GetCurrentRequest extends $pb.GeneratedMessage { - factory GetCurrentRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetCurrentRequest._() : super(); - factory GetCurrentRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCurrentRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCurrentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCurrentRequest clone() => GetCurrentRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCurrentRequest copyWith(void Function(GetCurrentRequest) updates) => super.copyWith((message) => updates(message as GetCurrentRequest)) as GetCurrentRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCurrentRequest create() => GetCurrentRequest._(); - GetCurrentRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCurrentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCurrentRequest? _defaultInstance; - - /// Name of a power sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetCurrentResponse extends $pb.GeneratedMessage { - factory GetCurrentResponse({ - $core.double? amperes, - $core.bool? isAc, - }) { - final $result = create(); - if (amperes != null) { - $result.amperes = amperes; - } - if (isAc != null) { - $result.isAc = isAc; - } - return $result; - } - GetCurrentResponse._() : super(); - factory GetCurrentResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCurrentResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCurrentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'amperes', $pb.PbFieldType.OD) - ..aOB(2, _omitFieldNames ? '' : 'isAc') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCurrentResponse clone() => GetCurrentResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCurrentResponse copyWith(void Function(GetCurrentResponse) updates) => super.copyWith((message) => updates(message as GetCurrentResponse)) as GetCurrentResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCurrentResponse create() => GetCurrentResponse._(); - GetCurrentResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCurrentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCurrentResponse? _defaultInstance; - - /// Current in amperes - @$pb.TagNumber(1) - $core.double get amperes => $_getN(0); - @$pb.TagNumber(1) - set amperes($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasAmperes() => $_has(0); - @$pb.TagNumber(1) - void clearAmperes() => clearField(1); - - /// Bool descibing whether the current is DC or AC - @$pb.TagNumber(2) - $core.bool get isAc => $_getBF(1); - @$pb.TagNumber(2) - set isAc($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIsAc() => $_has(1); - @$pb.TagNumber(2) - void clearIsAc() => clearField(2); -} - -class GetPowerRequest extends $pb.GeneratedMessage { - factory GetPowerRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPowerRequest._() : super(); - factory GetPowerRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPowerRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPowerRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPowerRequest clone() => GetPowerRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPowerRequest copyWith(void Function(GetPowerRequest) updates) => super.copyWith((message) => updates(message as GetPowerRequest)) as GetPowerRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPowerRequest create() => GetPowerRequest._(); - GetPowerRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPowerRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPowerRequest? _defaultInstance; - - /// Name of a power sensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPowerResponse extends $pb.GeneratedMessage { - factory GetPowerResponse({ - $core.double? watts, - }) { - final $result = create(); - if (watts != null) { - $result.watts = watts; - } - return $result; - } - GetPowerResponse._() : super(); - factory GetPowerResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPowerResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPowerResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'watts', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPowerResponse clone() => GetPowerResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPowerResponse copyWith(void Function(GetPowerResponse) updates) => super.copyWith((message) => updates(message as GetPowerResponse)) as GetPowerResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPowerResponse create() => GetPowerResponse._(); - GetPowerResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPowerResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPowerResponse? _defaultInstance; - - /// Power in watts - @$pb.TagNumber(1) - $core.double get watts => $_getN(0); - @$pb.TagNumber(1) - set watts($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasWatts() => $_has(0); - @$pb.TagNumber(1) - void clearWatts() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/powersensor/v1/powersensor.pbenum.dart b/lib/src/gen/component/powersensor/v1/powersensor.pbenum.dart deleted file mode 100644 index ec3de0104d2..00000000000 --- a/lib/src/gen/component/powersensor/v1/powersensor.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/powersensor/v1/powersensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/powersensor/v1/powersensor.pbgrpc.dart b/lib/src/gen/component/powersensor/v1/powersensor.pbgrpc.dart deleted file mode 100644 index 47b3f818e4d..00000000000 --- a/lib/src/gen/component/powersensor/v1/powersensor.pbgrpc.dart +++ /dev/null @@ -1,140 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/powersensor/v1/powersensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'powersensor.pb.dart' as $29; - -export 'powersensor.pb.dart'; - -@$pb.GrpcServiceName('viam.component.powersensor.v1.PowerSensorService') -class PowerSensorServiceClient extends $grpc.Client { - static final _$getVoltage = $grpc.ClientMethod<$29.GetVoltageRequest, $29.GetVoltageResponse>( - '/viam.component.powersensor.v1.PowerSensorService/GetVoltage', - ($29.GetVoltageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetVoltageResponse.fromBuffer(value)); - static final _$getCurrent = $grpc.ClientMethod<$29.GetCurrentRequest, $29.GetCurrentResponse>( - '/viam.component.powersensor.v1.PowerSensorService/GetCurrent', - ($29.GetCurrentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetCurrentResponse.fromBuffer(value)); - static final _$getPower = $grpc.ClientMethod<$29.GetPowerRequest, $29.GetPowerResponse>( - '/viam.component.powersensor.v1.PowerSensorService/GetPower', - ($29.GetPowerRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetPowerResponse.fromBuffer(value)); - static final _$getReadings = $grpc.ClientMethod<$15.GetReadingsRequest, $15.GetReadingsResponse>( - '/viam.component.powersensor.v1.PowerSensorService/GetReadings', - ($15.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetReadingsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.powersensor.v1.PowerSensorService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - PowerSensorServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$29.GetVoltageResponse> getVoltage($29.GetVoltageRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getVoltage, request, options: options); - } - - $grpc.ResponseFuture<$29.GetCurrentResponse> getCurrent($29.GetCurrentRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getCurrent, request, options: options); - } - - $grpc.ResponseFuture<$29.GetPowerResponse> getPower($29.GetPowerRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPower, request, options: options); - } - - $grpc.ResponseFuture<$15.GetReadingsResponse> getReadings($15.GetReadingsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getReadings, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.powersensor.v1.PowerSensorService') -abstract class PowerSensorServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.powersensor.v1.PowerSensorService'; - - PowerSensorServiceBase() { - $addMethod($grpc.ServiceMethod<$29.GetVoltageRequest, $29.GetVoltageResponse>( - 'GetVoltage', - getVoltage_Pre, - false, - false, - ($core.List<$core.int> value) => $29.GetVoltageRequest.fromBuffer(value), - ($29.GetVoltageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.GetCurrentRequest, $29.GetCurrentResponse>( - 'GetCurrent', - getCurrent_Pre, - false, - false, - ($core.List<$core.int> value) => $29.GetCurrentRequest.fromBuffer(value), - ($29.GetCurrentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.GetPowerRequest, $29.GetPowerResponse>( - 'GetPower', - getPower_Pre, - false, - false, - ($core.List<$core.int> value) => $29.GetPowerRequest.fromBuffer(value), - ($29.GetPowerResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetReadingsRequest, $15.GetReadingsResponse>( - 'GetReadings', - getReadings_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetReadingsRequest.fromBuffer(value), - ($15.GetReadingsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$29.GetVoltageResponse> getVoltage_Pre($grpc.ServiceCall call, $async.Future<$29.GetVoltageRequest> request) async { - return getVoltage(call, await request); - } - - $async.Future<$29.GetCurrentResponse> getCurrent_Pre($grpc.ServiceCall call, $async.Future<$29.GetCurrentRequest> request) async { - return getCurrent(call, await request); - } - - $async.Future<$29.GetPowerResponse> getPower_Pre($grpc.ServiceCall call, $async.Future<$29.GetPowerRequest> request) async { - return getPower(call, await request); - } - - $async.Future<$15.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$15.GetReadingsRequest> request) async { - return getReadings(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$29.GetVoltageResponse> getVoltage($grpc.ServiceCall call, $29.GetVoltageRequest request); - $async.Future<$29.GetCurrentResponse> getCurrent($grpc.ServiceCall call, $29.GetCurrentRequest request); - $async.Future<$29.GetPowerResponse> getPower($grpc.ServiceCall call, $29.GetPowerRequest request); - $async.Future<$15.GetReadingsResponse> getReadings($grpc.ServiceCall call, $15.GetReadingsRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/component/powersensor/v1/powersensor.pbjson.dart b/lib/src/gen/component/powersensor/v1/powersensor.pbjson.dart deleted file mode 100644 index 37d61756c4e..00000000000 --- a/lib/src/gen/component/powersensor/v1/powersensor.pbjson.dart +++ /dev/null @@ -1,97 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/powersensor/v1/powersensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getVoltageRequestDescriptor instead') -const GetVoltageRequest$json = { - '1': 'GetVoltageRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetVoltageRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getVoltageRequestDescriptor = $convert.base64Decode( - 'ChFHZXRWb2x0YWdlUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMh' - 'cuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getVoltageResponseDescriptor instead') -const GetVoltageResponse$json = { - '1': 'GetVoltageResponse', - '2': [ - {'1': 'volts', '3': 1, '4': 1, '5': 1, '10': 'volts'}, - {'1': 'is_ac', '3': 2, '4': 1, '5': 8, '10': 'isAc'}, - ], -}; - -/// Descriptor for `GetVoltageResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getVoltageResponseDescriptor = $convert.base64Decode( - 'ChJHZXRWb2x0YWdlUmVzcG9uc2USFAoFdm9sdHMYASABKAFSBXZvbHRzEhMKBWlzX2FjGAIgAS' - 'gIUgRpc0Fj'); - -@$core.Deprecated('Use getCurrentRequestDescriptor instead') -const GetCurrentRequest$json = { - '1': 'GetCurrentRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetCurrentRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCurrentRequestDescriptor = $convert.base64Decode( - 'ChFHZXRDdXJyZW50UmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMh' - 'cuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getCurrentResponseDescriptor instead') -const GetCurrentResponse$json = { - '1': 'GetCurrentResponse', - '2': [ - {'1': 'amperes', '3': 1, '4': 1, '5': 1, '10': 'amperes'}, - {'1': 'is_ac', '3': 2, '4': 1, '5': 8, '10': 'isAc'}, - ], -}; - -/// Descriptor for `GetCurrentResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCurrentResponseDescriptor = $convert.base64Decode( - 'ChJHZXRDdXJyZW50UmVzcG9uc2USGAoHYW1wZXJlcxgBIAEoAVIHYW1wZXJlcxITCgVpc19hYx' - 'gCIAEoCFIEaXNBYw=='); - -@$core.Deprecated('Use getPowerRequestDescriptor instead') -const GetPowerRequest$json = { - '1': 'GetPowerRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPowerRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPowerRequestDescriptor = $convert.base64Decode( - 'Cg9HZXRQb3dlclJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCzIXLm' - 'dvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getPowerResponseDescriptor instead') -const GetPowerResponse$json = { - '1': 'GetPowerResponse', - '2': [ - {'1': 'watts', '3': 1, '4': 1, '5': 1, '10': 'watts'}, - ], -}; - -/// Descriptor for `GetPowerResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPowerResponseDescriptor = $convert.base64Decode( - 'ChBHZXRQb3dlclJlc3BvbnNlEhQKBXdhdHRzGAEgASgBUgV3YXR0cw=='); - diff --git a/lib/src/gen/component/sensor/v1/sensor.pb.dart b/lib/src/gen/component/sensor/v1/sensor.pb.dart deleted file mode 100644 index 2d9f85c20e1..00000000000 --- a/lib/src/gen/component/sensor/v1/sensor.pb.dart +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/sensor/v1/sensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - diff --git a/lib/src/gen/component/sensor/v1/sensor.pbenum.dart b/lib/src/gen/component/sensor/v1/sensor.pbenum.dart deleted file mode 100644 index adb5b726081..00000000000 --- a/lib/src/gen/component/sensor/v1/sensor.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/sensor/v1/sensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/sensor/v1/sensor.pbgrpc.dart b/lib/src/gen/component/sensor/v1/sensor.pbgrpc.dart deleted file mode 100644 index 63c11080825..00000000000 --- a/lib/src/gen/component/sensor/v1/sensor.pbgrpc.dart +++ /dev/null @@ -1,99 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/sensor/v1/sensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; - -export 'sensor.pb.dart'; - -@$pb.GrpcServiceName('viam.component.sensor.v1.SensorService') -class SensorServiceClient extends $grpc.Client { - static final _$getReadings = $grpc.ClientMethod<$15.GetReadingsRequest, $15.GetReadingsResponse>( - '/viam.component.sensor.v1.SensorService/GetReadings', - ($15.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetReadingsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.sensor.v1.SensorService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.sensor.v1.SensorService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - SensorServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$15.GetReadingsResponse> getReadings($15.GetReadingsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getReadings, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.sensor.v1.SensorService') -abstract class SensorServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.sensor.v1.SensorService'; - - SensorServiceBase() { - $addMethod($grpc.ServiceMethod<$15.GetReadingsRequest, $15.GetReadingsResponse>( - 'GetReadings', - getReadings_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetReadingsRequest.fromBuffer(value), - ($15.GetReadingsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$15.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$15.GetReadingsRequest> request) async { - return getReadings(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$15.GetReadingsResponse> getReadings($grpc.ServiceCall call, $15.GetReadingsRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/sensor/v1/sensor.pbjson.dart b/lib/src/gen/component/sensor/v1/sensor.pbjson.dart deleted file mode 100644 index 81158b3f247..00000000000 --- a/lib/src/gen/component/sensor/v1/sensor.pbjson.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/sensor/v1/sensor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - diff --git a/lib/src/gen/component/servo/v1/servo.pb.dart b/lib/src/gen/component/servo/v1/servo.pb.dart deleted file mode 100644 index 3cffe2b25ae..00000000000 --- a/lib/src/gen/component/servo/v1/servo.pb.dart +++ /dev/null @@ -1,518 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/servo/v1/servo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class MoveRequest extends $pb.GeneratedMessage { - factory MoveRequest({ - $core.String? name, - $core.int? angleDeg, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (angleDeg != null) { - $result.angleDeg = angleDeg; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveRequest._() : super(); - factory MoveRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.int>(2, _omitFieldNames ? '' : 'angleDeg', $pb.PbFieldType.OU3) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveRequest clone() => MoveRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveRequest copyWith(void Function(MoveRequest) updates) => super.copyWith((message) => updates(message as MoveRequest)) as MoveRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveRequest create() => MoveRequest._(); - MoveRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveRequest? _defaultInstance; - - /// the name of the servo, as registered - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// the degrees by which to rotate the servo. - @$pb.TagNumber(2) - $core.int get angleDeg => $_getIZ(1); - @$pb.TagNumber(2) - set angleDeg($core.int v) { $_setUnsignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasAngleDeg() => $_has(1); - @$pb.TagNumber(2) - void clearAngleDeg() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class MoveResponse extends $pb.GeneratedMessage { - factory MoveResponse() => create(); - MoveResponse._() : super(); - factory MoveResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveResponse clone() => MoveResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveResponse copyWith(void Function(MoveResponse) updates) => super.copyWith((message) => updates(message as MoveResponse)) as MoveResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveResponse create() => MoveResponse._(); - MoveResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveResponse? _defaultInstance; -} - -class GetPositionRequest extends $pb.GeneratedMessage { - factory GetPositionRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPositionRequest._() : super(); - factory GetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionRequest clone() => GetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionRequest copyWith(void Function(GetPositionRequest) updates) => super.copyWith((message) => updates(message as GetPositionRequest)) as GetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionRequest create() => GetPositionRequest._(); - GetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionRequest? _defaultInstance; - - /// the name of the servo, as registered - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPositionResponse extends $pb.GeneratedMessage { - factory GetPositionResponse({ - $core.int? positionDeg, - }) { - final $result = create(); - if (positionDeg != null) { - $result.positionDeg = positionDeg; - } - return $result; - } - GetPositionResponse._() : super(); - factory GetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'positionDeg', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionResponse clone() => GetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionResponse copyWith(void Function(GetPositionResponse) updates) => super.copyWith((message) => updates(message as GetPositionResponse)) as GetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionResponse create() => GetPositionResponse._(); - GetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionResponse? _defaultInstance; - - /// the degrees from neutral by which the servo is currently rotated. - @$pb.TagNumber(1) - $core.int get positionDeg => $_getIZ(0); - @$pb.TagNumber(1) - set positionDeg($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasPositionDeg() => $_has(0); - @$pb.TagNumber(1) - void clearPositionDeg() => clearField(1); -} - -class StopRequest extends $pb.GeneratedMessage { - factory StopRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StopRequest._() : super(); - factory StopRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopRequest clone() => StopRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopRequest copyWith(void Function(StopRequest) updates) => super.copyWith((message) => updates(message as StopRequest)) as StopRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopRequest create() => StopRequest._(); - StopRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopRequest? _defaultInstance; - - /// Name of a servo - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class StopResponse extends $pb.GeneratedMessage { - factory StopResponse() => create(); - StopResponse._() : super(); - factory StopResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopResponse clone() => StopResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopResponse copyWith(void Function(StopResponse) updates) => super.copyWith((message) => updates(message as StopResponse)) as StopResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopResponse create() => StopResponse._(); - StopResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopResponse? _defaultInstance; -} - -class Status extends $pb.GeneratedMessage { - factory Status({ - $core.int? positionDeg, - $core.bool? isMoving, - }) { - final $result = create(); - if (positionDeg != null) { - $result.positionDeg = positionDeg; - } - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'positionDeg', $pb.PbFieldType.OU3) - ..aOB(2, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get positionDeg => $_getIZ(0); - @$pb.TagNumber(1) - set positionDeg($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasPositionDeg() => $_has(0); - @$pb.TagNumber(1) - void clearPositionDeg() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get isMoving => $_getBF(1); - @$pb.TagNumber(2) - set isMoving($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIsMoving() => $_has(1); - @$pb.TagNumber(2) - void clearIsMoving() => clearField(2); -} - -class IsMovingRequest extends $pb.GeneratedMessage { - factory IsMovingRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - IsMovingRequest._() : super(); - factory IsMovingRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingRequest clone() => IsMovingRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingRequest copyWith(void Function(IsMovingRequest) updates) => super.copyWith((message) => updates(message as IsMovingRequest)) as IsMovingRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingRequest create() => IsMovingRequest._(); - IsMovingRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class IsMovingResponse extends $pb.GeneratedMessage { - factory IsMovingResponse({ - $core.bool? isMoving, - }) { - final $result = create(); - if (isMoving != null) { - $result.isMoving = isMoving; - } - return $result; - } - IsMovingResponse._() : super(); - factory IsMovingResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IsMovingResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsMovingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'isMoving') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IsMovingResponse clone() => IsMovingResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IsMovingResponse copyWith(void Function(IsMovingResponse) updates) => super.copyWith((message) => updates(message as IsMovingResponse)) as IsMovingResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IsMovingResponse create() => IsMovingResponse._(); - IsMovingResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IsMovingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IsMovingResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get isMoving => $_getBF(0); - @$pb.TagNumber(1) - set isMoving($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasIsMoving() => $_has(0); - @$pb.TagNumber(1) - void clearIsMoving() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/servo/v1/servo.pbenum.dart b/lib/src/gen/component/servo/v1/servo.pbenum.dart deleted file mode 100644 index 209a308dc75..00000000000 --- a/lib/src/gen/component/servo/v1/servo.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/servo/v1/servo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/servo/v1/servo.pbgrpc.dart b/lib/src/gen/component/servo/v1/servo.pbgrpc.dart deleted file mode 100644 index c15cbd27562..00000000000 --- a/lib/src/gen/component/servo/v1/servo.pbgrpc.dart +++ /dev/null @@ -1,160 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/servo/v1/servo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'servo.pb.dart' as $30; - -export 'servo.pb.dart'; - -@$pb.GrpcServiceName('viam.component.servo.v1.ServoService') -class ServoServiceClient extends $grpc.Client { - static final _$move = $grpc.ClientMethod<$30.MoveRequest, $30.MoveResponse>( - '/viam.component.servo.v1.ServoService/Move', - ($30.MoveRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.MoveResponse.fromBuffer(value)); - static final _$getPosition = $grpc.ClientMethod<$30.GetPositionRequest, $30.GetPositionResponse>( - '/viam.component.servo.v1.ServoService/GetPosition', - ($30.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.GetPositionResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$30.StopRequest, $30.StopResponse>( - '/viam.component.servo.v1.ServoService/Stop', - ($30.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$30.IsMovingRequest, $30.IsMovingResponse>( - '/viam.component.servo.v1.ServoService/IsMoving', - ($30.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.component.servo.v1.ServoService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - '/viam.component.servo.v1.ServoService/GetGeometries', - ($15.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.GetGeometriesResponse.fromBuffer(value)); - - ServoServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$30.MoveResponse> move($30.MoveRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$move, request, options: options); - } - - $grpc.ResponseFuture<$30.GetPositionResponse> getPosition($30.GetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPosition, request, options: options); - } - - $grpc.ResponseFuture<$30.StopResponse> stop($30.StopRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stop, request, options: options); - } - - $grpc.ResponseFuture<$30.IsMovingResponse> isMoving($30.IsMovingRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$isMoving, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } - - $grpc.ResponseFuture<$15.GetGeometriesResponse> getGeometries($15.GetGeometriesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getGeometries, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.servo.v1.ServoService') -abstract class ServoServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.servo.v1.ServoService'; - - ServoServiceBase() { - $addMethod($grpc.ServiceMethod<$30.MoveRequest, $30.MoveResponse>( - 'Move', - move_Pre, - false, - false, - ($core.List<$core.int> value) => $30.MoveRequest.fromBuffer(value), - ($30.MoveResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$30.GetPositionRequest, $30.GetPositionResponse>( - 'GetPosition', - getPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $30.GetPositionRequest.fromBuffer(value), - ($30.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$30.StopRequest, $30.StopResponse>( - 'Stop', - stop_Pre, - false, - false, - ($core.List<$core.int> value) => $30.StopRequest.fromBuffer(value), - ($30.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$30.IsMovingRequest, $30.IsMovingResponse>( - 'IsMoving', - isMoving_Pre, - false, - false, - ($core.List<$core.int> value) => $30.IsMovingRequest.fromBuffer(value), - ($30.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>( - 'GetGeometries', - getGeometries_Pre, - false, - false, - ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value), - ($15.GetGeometriesResponse value) => value.writeToBuffer())); - } - - $async.Future<$30.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$30.MoveRequest> request) async { - return move(call, await request); - } - - $async.Future<$30.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$30.GetPositionRequest> request) async { - return getPosition(call, await request); - } - - $async.Future<$30.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$30.StopRequest> request) async { - return stop(call, await request); - } - - $async.Future<$30.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$30.IsMovingRequest> request) async { - return isMoving(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$15.GetGeometriesRequest> request) async { - return getGeometries(call, await request); - } - - $async.Future<$30.MoveResponse> move($grpc.ServiceCall call, $30.MoveRequest request); - $async.Future<$30.GetPositionResponse> getPosition($grpc.ServiceCall call, $30.GetPositionRequest request); - $async.Future<$30.StopResponse> stop($grpc.ServiceCall call, $30.StopRequest request); - $async.Future<$30.IsMovingResponse> isMoving($grpc.ServiceCall call, $30.IsMovingRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); - $async.Future<$15.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $15.GetGeometriesRequest request); -} diff --git a/lib/src/gen/component/servo/v1/servo.pbjson.dart b/lib/src/gen/component/servo/v1/servo.pbjson.dart deleted file mode 100644 index e2ae687ef6b..00000000000 --- a/lib/src/gen/component/servo/v1/servo.pbjson.dart +++ /dev/null @@ -1,127 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/servo/v1/servo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use moveRequestDescriptor instead') -const MoveRequest$json = { - '1': 'MoveRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'angle_deg', '3': 2, '4': 1, '5': 13, '10': 'angleDeg'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `MoveRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveRequestDescriptor = $convert.base64Decode( - 'CgtNb3ZlUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhsKCWFuZ2xlX2RlZxgCIAEoDVIIYW' - '5nbGVEZWcSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use moveResponseDescriptor instead') -const MoveResponse$json = { - '1': 'MoveResponse', -}; - -/// Descriptor for `MoveResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveResponseDescriptor = $convert.base64Decode( - 'CgxNb3ZlUmVzcG9uc2U='); - -@$core.Deprecated('Use getPositionRequestDescriptor instead') -const GetPositionRequest$json = { - '1': 'GetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getPositionResponseDescriptor instead') -const GetPositionResponse$json = { - '1': 'GetPositionResponse', - '2': [ - {'1': 'position_deg', '3': 1, '4': 1, '5': 13, '10': 'positionDeg'}, - ], -}; - -/// Descriptor for `GetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQb3NpdGlvblJlc3BvbnNlEiEKDHBvc2l0aW9uX2RlZxgBIAEoDVILcG9zaXRpb25EZW' - 'c='); - -@$core.Deprecated('Use stopRequestDescriptor instead') -const StopRequest$json = { - '1': 'StopRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopRequestDescriptor = $convert.base64Decode( - 'CgtTdG9wUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use stopResponseDescriptor instead') -const StopResponse$json = { - '1': 'StopResponse', -}; - -/// Descriptor for `StopResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopResponseDescriptor = $convert.base64Decode( - 'CgxTdG9wUmVzcG9uc2U='); - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'position_deg', '3': 1, '4': 1, '5': 13, '10': 'positionDeg'}, - {'1': 'is_moving', '3': 2, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSIQoMcG9zaXRpb25fZGVnGAEgASgNUgtwb3NpdGlvbkRlZxIbCglpc19tb3Zpbm' - 'cYAiABKAhSCGlzTW92aW5n'); - -@$core.Deprecated('Use isMovingRequestDescriptor instead') -const IsMovingRequest$json = { - '1': 'IsMovingRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `IsMovingRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingRequestDescriptor = $convert.base64Decode( - 'Cg9Jc01vdmluZ1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use isMovingResponseDescriptor instead') -const IsMovingResponse$json = { - '1': 'IsMovingResponse', - '2': [ - {'1': 'is_moving', '3': 1, '4': 1, '5': 8, '10': 'isMoving'}, - ], -}; - -/// Descriptor for `IsMovingResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List isMovingResponseDescriptor = $convert.base64Decode( - 'ChBJc01vdmluZ1Jlc3BvbnNlEhsKCWlzX21vdmluZxgBIAEoCFIIaXNNb3Zpbmc='); - diff --git a/lib/src/gen/component/testecho/v1/testecho.pb.dart b/lib/src/gen/component/testecho/v1/testecho.pb.dart deleted file mode 100644 index e766958f5a1..00000000000 --- a/lib/src/gen/component/testecho/v1/testecho.pb.dart +++ /dev/null @@ -1,442 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/testecho/v1/testecho.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class EchoRequest extends $pb.GeneratedMessage { - factory EchoRequest({ - $core.String? name, - $core.String? message, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (message != null) { - $result.message = message; - } - return $result; - } - EchoRequest._() : super(); - factory EchoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoRequest clone() => EchoRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoRequest copyWith(void Function(EchoRequest) updates) => super.copyWith((message) => updates(message as EchoRequest)) as EchoRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoRequest create() => EchoRequest._(); - EchoRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); -} - -class EchoResponse extends $pb.GeneratedMessage { - factory EchoResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResponse._() : super(); - factory EchoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResponse clone() => EchoResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResponse copyWith(void Function(EchoResponse) updates) => super.copyWith((message) => updates(message as EchoResponse)) as EchoResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResponse create() => EchoResponse._(); - EchoResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoMultipleRequest extends $pb.GeneratedMessage { - factory EchoMultipleRequest({ - $core.String? name, - $core.String? message, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (message != null) { - $result.message = message; - } - return $result; - } - EchoMultipleRequest._() : super(); - factory EchoMultipleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoMultipleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoMultipleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoMultipleRequest clone() => EchoMultipleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoMultipleRequest copyWith(void Function(EchoMultipleRequest) updates) => super.copyWith((message) => updates(message as EchoMultipleRequest)) as EchoMultipleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoMultipleRequest create() => EchoMultipleRequest._(); - EchoMultipleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoMultipleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoMultipleRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); -} - -class EchoMultipleResponse extends $pb.GeneratedMessage { - factory EchoMultipleResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoMultipleResponse._() : super(); - factory EchoMultipleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoMultipleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoMultipleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoMultipleResponse clone() => EchoMultipleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoMultipleResponse copyWith(void Function(EchoMultipleResponse) updates) => super.copyWith((message) => updates(message as EchoMultipleResponse)) as EchoMultipleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoMultipleResponse create() => EchoMultipleResponse._(); - EchoMultipleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoMultipleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoMultipleResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoBiDiRequest extends $pb.GeneratedMessage { - factory EchoBiDiRequest({ - $core.String? name, - $core.String? message, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (message != null) { - $result.message = message; - } - return $result; - } - EchoBiDiRequest._() : super(); - factory EchoBiDiRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoBiDiRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoBiDiRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoBiDiRequest clone() => EchoBiDiRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoBiDiRequest copyWith(void Function(EchoBiDiRequest) updates) => super.copyWith((message) => updates(message as EchoBiDiRequest)) as EchoBiDiRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoBiDiRequest create() => EchoBiDiRequest._(); - EchoBiDiRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoBiDiRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoBiDiRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); -} - -class EchoBiDiResponse extends $pb.GeneratedMessage { - factory EchoBiDiResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoBiDiResponse._() : super(); - factory EchoBiDiResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoBiDiResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoBiDiResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoBiDiResponse clone() => EchoBiDiResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoBiDiResponse copyWith(void Function(EchoBiDiResponse) updates) => super.copyWith((message) => updates(message as EchoBiDiResponse)) as EchoBiDiResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoBiDiResponse create() => EchoBiDiResponse._(); - EchoBiDiResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoBiDiResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoBiDiResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class StopRequest extends $pb.GeneratedMessage { - factory StopRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - StopRequest._() : super(); - factory StopRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopRequest clone() => StopRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopRequest copyWith(void Function(StopRequest) updates) => super.copyWith((message) => updates(message as StopRequest)) as StopRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopRequest create() => StopRequest._(); - StopRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class StopResponse extends $pb.GeneratedMessage { - factory StopResponse() => create(); - StopResponse._() : super(); - factory StopResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.testecho.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopResponse clone() => StopResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopResponse copyWith(void Function(StopResponse) updates) => super.copyWith((message) => updates(message as StopResponse)) as StopResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopResponse create() => StopResponse._(); - StopResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/component/testecho/v1/testecho.pbenum.dart b/lib/src/gen/component/testecho/v1/testecho.pbenum.dart deleted file mode 100644 index e9e83cc7486..00000000000 --- a/lib/src/gen/component/testecho/v1/testecho.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/testecho/v1/testecho.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/component/testecho/v1/testecho.pbgrpc.dart b/lib/src/gen/component/testecho/v1/testecho.pbgrpc.dart deleted file mode 100644 index e523557819d..00000000000 --- a/lib/src/gen/component/testecho/v1/testecho.pbgrpc.dart +++ /dev/null @@ -1,115 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/testecho/v1/testecho.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'testecho.pb.dart' as $32; - -export 'testecho.pb.dart'; - -@$pb.GrpcServiceName('viam.component.testecho.v1.TestEchoService') -class TestEchoServiceClient extends $grpc.Client { - static final _$echo = $grpc.ClientMethod<$32.EchoRequest, $32.EchoResponse>( - '/viam.component.testecho.v1.TestEchoService/Echo', - ($32.EchoRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $32.EchoResponse.fromBuffer(value)); - static final _$echoMultiple = $grpc.ClientMethod<$32.EchoMultipleRequest, $32.EchoMultipleResponse>( - '/viam.component.testecho.v1.TestEchoService/EchoMultiple', - ($32.EchoMultipleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $32.EchoMultipleResponse.fromBuffer(value)); - static final _$echoBiDi = $grpc.ClientMethod<$32.EchoBiDiRequest, $32.EchoBiDiResponse>( - '/viam.component.testecho.v1.TestEchoService/EchoBiDi', - ($32.EchoBiDiRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $32.EchoBiDiResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$32.StopRequest, $32.StopResponse>( - '/viam.component.testecho.v1.TestEchoService/Stop', - ($32.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $32.StopResponse.fromBuffer(value)); - - TestEchoServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$32.EchoResponse> echo($32.EchoRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$echo, request, options: options); - } - - $grpc.ResponseStream<$32.EchoMultipleResponse> echoMultiple($32.EchoMultipleRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$echoMultiple, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseStream<$32.EchoBiDiResponse> echoBiDi($async.Stream<$32.EchoBiDiRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$echoBiDi, request, options: options); - } - - $grpc.ResponseFuture<$32.StopResponse> stop($32.StopRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stop, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.component.testecho.v1.TestEchoService') -abstract class TestEchoServiceBase extends $grpc.Service { - $core.String get $name => 'viam.component.testecho.v1.TestEchoService'; - - TestEchoServiceBase() { - $addMethod($grpc.ServiceMethod<$32.EchoRequest, $32.EchoResponse>( - 'Echo', - echo_Pre, - false, - false, - ($core.List<$core.int> value) => $32.EchoRequest.fromBuffer(value), - ($32.EchoResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$32.EchoMultipleRequest, $32.EchoMultipleResponse>( - 'EchoMultiple', - echoMultiple_Pre, - false, - true, - ($core.List<$core.int> value) => $32.EchoMultipleRequest.fromBuffer(value), - ($32.EchoMultipleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$32.EchoBiDiRequest, $32.EchoBiDiResponse>( - 'EchoBiDi', - echoBiDi, - true, - true, - ($core.List<$core.int> value) => $32.EchoBiDiRequest.fromBuffer(value), - ($32.EchoBiDiResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$32.StopRequest, $32.StopResponse>( - 'Stop', - stop_Pre, - false, - false, - ($core.List<$core.int> value) => $32.StopRequest.fromBuffer(value), - ($32.StopResponse value) => value.writeToBuffer())); - } - - $async.Future<$32.EchoResponse> echo_Pre($grpc.ServiceCall call, $async.Future<$32.EchoRequest> request) async { - return echo(call, await request); - } - - $async.Stream<$32.EchoMultipleResponse> echoMultiple_Pre($grpc.ServiceCall call, $async.Future<$32.EchoMultipleRequest> request) async* { - yield* echoMultiple(call, await request); - } - - $async.Future<$32.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$32.StopRequest> request) async { - return stop(call, await request); - } - - $async.Future<$32.EchoResponse> echo($grpc.ServiceCall call, $32.EchoRequest request); - $async.Stream<$32.EchoMultipleResponse> echoMultiple($grpc.ServiceCall call, $32.EchoMultipleRequest request); - $async.Stream<$32.EchoBiDiResponse> echoBiDi($grpc.ServiceCall call, $async.Stream<$32.EchoBiDiRequest> request); - $async.Future<$32.StopResponse> stop($grpc.ServiceCall call, $32.StopRequest request); -} diff --git a/lib/src/gen/component/testecho/v1/testecho.pbjson.dart b/lib/src/gen/component/testecho/v1/testecho.pbjson.dart deleted file mode 100644 index 3115573f9f4..00000000000 --- a/lib/src/gen/component/testecho/v1/testecho.pbjson.dart +++ /dev/null @@ -1,114 +0,0 @@ -// -// Generated code. Do not modify. -// source: component/testecho/v1/testecho.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use echoRequestDescriptor instead') -const EchoRequest$json = { - '1': 'EchoRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoRequestDescriptor = $convert.base64Decode( - 'CgtFY2hvUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhgKB21lc3NhZ2UYAiABKAlSB21lc3' - 'NhZ2U='); - -@$core.Deprecated('Use echoResponseDescriptor instead') -const EchoResponse$json = { - '1': 'EchoResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResponseDescriptor = $convert.base64Decode( - 'CgxFY2hvUmVzcG9uc2USGAoHbWVzc2FnZRgBIAEoCVIHbWVzc2FnZQ=='); - -@$core.Deprecated('Use echoMultipleRequestDescriptor instead') -const EchoMultipleRequest$json = { - '1': 'EchoMultipleRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoMultipleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoMultipleRequestDescriptor = $convert.base64Decode( - 'ChNFY2hvTXVsdGlwbGVSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSGAoHbWVzc2FnZRgCIA' - 'EoCVIHbWVzc2FnZQ=='); - -@$core.Deprecated('Use echoMultipleResponseDescriptor instead') -const EchoMultipleResponse$json = { - '1': 'EchoMultipleResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoMultipleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoMultipleResponseDescriptor = $convert.base64Decode( - 'ChRFY2hvTXVsdGlwbGVSZXNwb25zZRIYCgdtZXNzYWdlGAEgASgJUgdtZXNzYWdl'); - -@$core.Deprecated('Use echoBiDiRequestDescriptor instead') -const EchoBiDiRequest$json = { - '1': 'EchoBiDiRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoBiDiRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoBiDiRequestDescriptor = $convert.base64Decode( - 'Cg9FY2hvQmlEaVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIYCgdtZXNzYWdlGAIgASgJUg' - 'dtZXNzYWdl'); - -@$core.Deprecated('Use echoBiDiResponseDescriptor instead') -const EchoBiDiResponse$json = { - '1': 'EchoBiDiResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoBiDiResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoBiDiResponseDescriptor = $convert.base64Decode( - 'ChBFY2hvQmlEaVJlc3BvbnNlEhgKB21lc3NhZ2UYASABKAlSB21lc3NhZ2U='); - -@$core.Deprecated('Use stopRequestDescriptor instead') -const StopRequest$json = { - '1': 'StopRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `StopRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopRequestDescriptor = $convert.base64Decode( - 'CgtTdG9wUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1l'); - -@$core.Deprecated('Use stopResponseDescriptor instead') -const StopResponse$json = { - '1': 'StopResponse', -}; - -/// Descriptor for `StopResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopResponseDescriptor = $convert.base64Decode( - 'CgxTdG9wUmVzcG9uc2U='); - diff --git a/lib/src/gen/google/api/annotations.pb.dart b/lib/src/gen/google/api/annotations.pb.dart deleted file mode 100644 index 6ed882537ef..00000000000 --- a/lib/src/gen/google/api/annotations.pb.dart +++ /dev/null @@ -1,27 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/annotations.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import 'http.pb.dart' as $3; - -class Annotations { - static final http = $pb.Extension<$3.HttpRule>(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'http', 72295728, $pb.PbFieldType.OM, defaultOrMaker: $3.HttpRule.getDefault, subBuilder: $3.HttpRule.create); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(http); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/annotations.pbenum.dart b/lib/src/gen/google/api/annotations.pbenum.dart deleted file mode 100644 index 77216041200..00000000000 --- a/lib/src/gen/google/api/annotations.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/annotations.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/annotations.pbjson.dart b/lib/src/gen/google/api/annotations.pbjson.dart deleted file mode 100644 index 552ee2b7efb..00000000000 --- a/lib/src/gen/google/api/annotations.pbjson.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/annotations.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - diff --git a/lib/src/gen/google/api/client.pb.dart b/lib/src/gen/google/api/client.pb.dart deleted file mode 100644 index a484818ce82..00000000000 --- a/lib/src/gen/google/api/client.pb.dart +++ /dev/null @@ -1,1494 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/client.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/duration.pb.dart' as $4; -import 'client.pbenum.dart'; -import 'launch_stage.pbenum.dart' as $5; - -export 'client.pbenum.dart'; - -/// Required information for every language. -class CommonLanguageSettings extends $pb.GeneratedMessage { - factory CommonLanguageSettings({ - @$core.Deprecated('This field is deprecated.') - $core.String? referenceDocsUri, - $core.Iterable? destinations, - SelectiveGapicGeneration? selectiveGapicGeneration, - }) { - final $result = create(); - if (referenceDocsUri != null) { - // ignore: deprecated_member_use_from_same_package - $result.referenceDocsUri = referenceDocsUri; - } - if (destinations != null) { - $result.destinations.addAll(destinations); - } - if (selectiveGapicGeneration != null) { - $result.selectiveGapicGeneration = selectiveGapicGeneration; - } - return $result; - } - CommonLanguageSettings._() : super(); - factory CommonLanguageSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CommonLanguageSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CommonLanguageSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'referenceDocsUri') - ..pc(2, _omitFieldNames ? '' : 'destinations', $pb.PbFieldType.KE, valueOf: ClientLibraryDestination.valueOf, enumValues: ClientLibraryDestination.values, defaultEnumValue: ClientLibraryDestination.CLIENT_LIBRARY_DESTINATION_UNSPECIFIED) - ..aOM(3, _omitFieldNames ? '' : 'selectiveGapicGeneration', subBuilder: SelectiveGapicGeneration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CommonLanguageSettings clone() => CommonLanguageSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CommonLanguageSettings copyWith(void Function(CommonLanguageSettings) updates) => super.copyWith((message) => updates(message as CommonLanguageSettings)) as CommonLanguageSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CommonLanguageSettings create() => CommonLanguageSettings._(); - CommonLanguageSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CommonLanguageSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CommonLanguageSettings? _defaultInstance; - - /// Link to automatically generated reference documentation. Example: - /// https://cloud.google.com/nodejs/docs/reference/asset/latest - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.String get referenceDocsUri => $_getSZ(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - set referenceDocsUri($core.String v) { $_setString(0, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.bool hasReferenceDocsUri() => $_has(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - void clearReferenceDocsUri() => clearField(1); - - /// The destination where API teams want this client library to be published. - @$pb.TagNumber(2) - $core.List get destinations => $_getList(1); - - /// Configuration for which RPCs should be generated in the GAPIC client. - @$pb.TagNumber(3) - SelectiveGapicGeneration get selectiveGapicGeneration => $_getN(2); - @$pb.TagNumber(3) - set selectiveGapicGeneration(SelectiveGapicGeneration v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasSelectiveGapicGeneration() => $_has(2); - @$pb.TagNumber(3) - void clearSelectiveGapicGeneration() => clearField(3); - @$pb.TagNumber(3) - SelectiveGapicGeneration ensureSelectiveGapicGeneration() => $_ensure(2); -} - -/// Details about how and where to publish client libraries. -class ClientLibrarySettings extends $pb.GeneratedMessage { - factory ClientLibrarySettings({ - $core.String? version, - $5.LaunchStage? launchStage, - $core.bool? restNumericEnums, - JavaSettings? javaSettings, - CppSettings? cppSettings, - PhpSettings? phpSettings, - PythonSettings? pythonSettings, - NodeSettings? nodeSettings, - DotnetSettings? dotnetSettings, - RubySettings? rubySettings, - GoSettings? goSettings, - }) { - final $result = create(); - if (version != null) { - $result.version = version; - } - if (launchStage != null) { - $result.launchStage = launchStage; - } - if (restNumericEnums != null) { - $result.restNumericEnums = restNumericEnums; - } - if (javaSettings != null) { - $result.javaSettings = javaSettings; - } - if (cppSettings != null) { - $result.cppSettings = cppSettings; - } - if (phpSettings != null) { - $result.phpSettings = phpSettings; - } - if (pythonSettings != null) { - $result.pythonSettings = pythonSettings; - } - if (nodeSettings != null) { - $result.nodeSettings = nodeSettings; - } - if (dotnetSettings != null) { - $result.dotnetSettings = dotnetSettings; - } - if (rubySettings != null) { - $result.rubySettings = rubySettings; - } - if (goSettings != null) { - $result.goSettings = goSettings; - } - return $result; - } - ClientLibrarySettings._() : super(); - factory ClientLibrarySettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ClientLibrarySettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClientLibrarySettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'version') - ..e<$5.LaunchStage>(2, _omitFieldNames ? '' : 'launchStage', $pb.PbFieldType.OE, defaultOrMaker: $5.LaunchStage.LAUNCH_STAGE_UNSPECIFIED, valueOf: $5.LaunchStage.valueOf, enumValues: $5.LaunchStage.values) - ..aOB(3, _omitFieldNames ? '' : 'restNumericEnums') - ..aOM(21, _omitFieldNames ? '' : 'javaSettings', subBuilder: JavaSettings.create) - ..aOM(22, _omitFieldNames ? '' : 'cppSettings', subBuilder: CppSettings.create) - ..aOM(23, _omitFieldNames ? '' : 'phpSettings', subBuilder: PhpSettings.create) - ..aOM(24, _omitFieldNames ? '' : 'pythonSettings', subBuilder: PythonSettings.create) - ..aOM(25, _omitFieldNames ? '' : 'nodeSettings', subBuilder: NodeSettings.create) - ..aOM(26, _omitFieldNames ? '' : 'dotnetSettings', subBuilder: DotnetSettings.create) - ..aOM(27, _omitFieldNames ? '' : 'rubySettings', subBuilder: RubySettings.create) - ..aOM(28, _omitFieldNames ? '' : 'goSettings', subBuilder: GoSettings.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ClientLibrarySettings clone() => ClientLibrarySettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ClientLibrarySettings copyWith(void Function(ClientLibrarySettings) updates) => super.copyWith((message) => updates(message as ClientLibrarySettings)) as ClientLibrarySettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ClientLibrarySettings create() => ClientLibrarySettings._(); - ClientLibrarySettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ClientLibrarySettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ClientLibrarySettings? _defaultInstance; - - /// Version of the API to apply these settings to. This is the full protobuf - /// package for the API, ending in the version element. - /// Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1". - @$pb.TagNumber(1) - $core.String get version => $_getSZ(0); - @$pb.TagNumber(1) - set version($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasVersion() => $_has(0); - @$pb.TagNumber(1) - void clearVersion() => clearField(1); - - /// Launch stage of this version of the API. - @$pb.TagNumber(2) - $5.LaunchStage get launchStage => $_getN(1); - @$pb.TagNumber(2) - set launchStage($5.LaunchStage v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLaunchStage() => $_has(1); - @$pb.TagNumber(2) - void clearLaunchStage() => clearField(2); - - /// When using transport=rest, the client request will encode enums as - /// numbers rather than strings. - @$pb.TagNumber(3) - $core.bool get restNumericEnums => $_getBF(2); - @$pb.TagNumber(3) - set restNumericEnums($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasRestNumericEnums() => $_has(2); - @$pb.TagNumber(3) - void clearRestNumericEnums() => clearField(3); - - /// Settings for legacy Java features, supported in the Service YAML. - @$pb.TagNumber(21) - JavaSettings get javaSettings => $_getN(3); - @$pb.TagNumber(21) - set javaSettings(JavaSettings v) { setField(21, v); } - @$pb.TagNumber(21) - $core.bool hasJavaSettings() => $_has(3); - @$pb.TagNumber(21) - void clearJavaSettings() => clearField(21); - @$pb.TagNumber(21) - JavaSettings ensureJavaSettings() => $_ensure(3); - - /// Settings for C++ client libraries. - @$pb.TagNumber(22) - CppSettings get cppSettings => $_getN(4); - @$pb.TagNumber(22) - set cppSettings(CppSettings v) { setField(22, v); } - @$pb.TagNumber(22) - $core.bool hasCppSettings() => $_has(4); - @$pb.TagNumber(22) - void clearCppSettings() => clearField(22); - @$pb.TagNumber(22) - CppSettings ensureCppSettings() => $_ensure(4); - - /// Settings for PHP client libraries. - @$pb.TagNumber(23) - PhpSettings get phpSettings => $_getN(5); - @$pb.TagNumber(23) - set phpSettings(PhpSettings v) { setField(23, v); } - @$pb.TagNumber(23) - $core.bool hasPhpSettings() => $_has(5); - @$pb.TagNumber(23) - void clearPhpSettings() => clearField(23); - @$pb.TagNumber(23) - PhpSettings ensurePhpSettings() => $_ensure(5); - - /// Settings for Python client libraries. - @$pb.TagNumber(24) - PythonSettings get pythonSettings => $_getN(6); - @$pb.TagNumber(24) - set pythonSettings(PythonSettings v) { setField(24, v); } - @$pb.TagNumber(24) - $core.bool hasPythonSettings() => $_has(6); - @$pb.TagNumber(24) - void clearPythonSettings() => clearField(24); - @$pb.TagNumber(24) - PythonSettings ensurePythonSettings() => $_ensure(6); - - /// Settings for Node client libraries. - @$pb.TagNumber(25) - NodeSettings get nodeSettings => $_getN(7); - @$pb.TagNumber(25) - set nodeSettings(NodeSettings v) { setField(25, v); } - @$pb.TagNumber(25) - $core.bool hasNodeSettings() => $_has(7); - @$pb.TagNumber(25) - void clearNodeSettings() => clearField(25); - @$pb.TagNumber(25) - NodeSettings ensureNodeSettings() => $_ensure(7); - - /// Settings for .NET client libraries. - @$pb.TagNumber(26) - DotnetSettings get dotnetSettings => $_getN(8); - @$pb.TagNumber(26) - set dotnetSettings(DotnetSettings v) { setField(26, v); } - @$pb.TagNumber(26) - $core.bool hasDotnetSettings() => $_has(8); - @$pb.TagNumber(26) - void clearDotnetSettings() => clearField(26); - @$pb.TagNumber(26) - DotnetSettings ensureDotnetSettings() => $_ensure(8); - - /// Settings for Ruby client libraries. - @$pb.TagNumber(27) - RubySettings get rubySettings => $_getN(9); - @$pb.TagNumber(27) - set rubySettings(RubySettings v) { setField(27, v); } - @$pb.TagNumber(27) - $core.bool hasRubySettings() => $_has(9); - @$pb.TagNumber(27) - void clearRubySettings() => clearField(27); - @$pb.TagNumber(27) - RubySettings ensureRubySettings() => $_ensure(9); - - /// Settings for Go client libraries. - @$pb.TagNumber(28) - GoSettings get goSettings => $_getN(10); - @$pb.TagNumber(28) - set goSettings(GoSettings v) { setField(28, v); } - @$pb.TagNumber(28) - $core.bool hasGoSettings() => $_has(10); - @$pb.TagNumber(28) - void clearGoSettings() => clearField(28); - @$pb.TagNumber(28) - GoSettings ensureGoSettings() => $_ensure(10); -} - -/// This message configures the settings for publishing [Google Cloud Client -/// libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) -/// generated from the service config. -class Publishing extends $pb.GeneratedMessage { - factory Publishing({ - $core.Iterable? methodSettings, - $core.String? newIssueUri, - $core.String? documentationUri, - $core.String? apiShortName, - $core.String? githubLabel, - $core.Iterable<$core.String>? codeownerGithubTeams, - $core.String? docTagPrefix, - ClientLibraryOrganization? organization, - $core.Iterable? librarySettings, - $core.String? protoReferenceDocumentationUri, - $core.String? restReferenceDocumentationUri, - }) { - final $result = create(); - if (methodSettings != null) { - $result.methodSettings.addAll(methodSettings); - } - if (newIssueUri != null) { - $result.newIssueUri = newIssueUri; - } - if (documentationUri != null) { - $result.documentationUri = documentationUri; - } - if (apiShortName != null) { - $result.apiShortName = apiShortName; - } - if (githubLabel != null) { - $result.githubLabel = githubLabel; - } - if (codeownerGithubTeams != null) { - $result.codeownerGithubTeams.addAll(codeownerGithubTeams); - } - if (docTagPrefix != null) { - $result.docTagPrefix = docTagPrefix; - } - if (organization != null) { - $result.organization = organization; - } - if (librarySettings != null) { - $result.librarySettings.addAll(librarySettings); - } - if (protoReferenceDocumentationUri != null) { - $result.protoReferenceDocumentationUri = protoReferenceDocumentationUri; - } - if (restReferenceDocumentationUri != null) { - $result.restReferenceDocumentationUri = restReferenceDocumentationUri; - } - return $result; - } - Publishing._() : super(); - factory Publishing.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Publishing.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Publishing', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..pc(2, _omitFieldNames ? '' : 'methodSettings', $pb.PbFieldType.PM, subBuilder: MethodSettings.create) - ..aOS(101, _omitFieldNames ? '' : 'newIssueUri') - ..aOS(102, _omitFieldNames ? '' : 'documentationUri') - ..aOS(103, _omitFieldNames ? '' : 'apiShortName') - ..aOS(104, _omitFieldNames ? '' : 'githubLabel') - ..pPS(105, _omitFieldNames ? '' : 'codeownerGithubTeams') - ..aOS(106, _omitFieldNames ? '' : 'docTagPrefix') - ..e(107, _omitFieldNames ? '' : 'organization', $pb.PbFieldType.OE, defaultOrMaker: ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, valueOf: ClientLibraryOrganization.valueOf, enumValues: ClientLibraryOrganization.values) - ..pc(109, _omitFieldNames ? '' : 'librarySettings', $pb.PbFieldType.PM, subBuilder: ClientLibrarySettings.create) - ..aOS(110, _omitFieldNames ? '' : 'protoReferenceDocumentationUri') - ..aOS(111, _omitFieldNames ? '' : 'restReferenceDocumentationUri') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Publishing clone() => Publishing()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Publishing copyWith(void Function(Publishing) updates) => super.copyWith((message) => updates(message as Publishing)) as Publishing; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Publishing create() => Publishing._(); - Publishing createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Publishing getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Publishing? _defaultInstance; - - /// A list of API method settings, e.g. the behavior for methods that use the - /// long-running operation pattern. - @$pb.TagNumber(2) - $core.List get methodSettings => $_getList(0); - - /// Link to a *public* URI where users can report issues. Example: - /// https://issuetracker.google.com/issues/new?component=190865&template=1161103 - @$pb.TagNumber(101) - $core.String get newIssueUri => $_getSZ(1); - @$pb.TagNumber(101) - set newIssueUri($core.String v) { $_setString(1, v); } - @$pb.TagNumber(101) - $core.bool hasNewIssueUri() => $_has(1); - @$pb.TagNumber(101) - void clearNewIssueUri() => clearField(101); - - /// Link to product home page. Example: - /// https://cloud.google.com/asset-inventory/docs/overview - @$pb.TagNumber(102) - $core.String get documentationUri => $_getSZ(2); - @$pb.TagNumber(102) - set documentationUri($core.String v) { $_setString(2, v); } - @$pb.TagNumber(102) - $core.bool hasDocumentationUri() => $_has(2); - @$pb.TagNumber(102) - void clearDocumentationUri() => clearField(102); - - /// Used as a tracking tag when collecting data about the APIs developer - /// relations artifacts like docs, packages delivered to package managers, - /// etc. Example: "speech". - @$pb.TagNumber(103) - $core.String get apiShortName => $_getSZ(3); - @$pb.TagNumber(103) - set apiShortName($core.String v) { $_setString(3, v); } - @$pb.TagNumber(103) - $core.bool hasApiShortName() => $_has(3); - @$pb.TagNumber(103) - void clearApiShortName() => clearField(103); - - /// GitHub label to apply to issues and pull requests opened for this API. - @$pb.TagNumber(104) - $core.String get githubLabel => $_getSZ(4); - @$pb.TagNumber(104) - set githubLabel($core.String v) { $_setString(4, v); } - @$pb.TagNumber(104) - $core.bool hasGithubLabel() => $_has(4); - @$pb.TagNumber(104) - void clearGithubLabel() => clearField(104); - - /// GitHub teams to be added to CODEOWNERS in the directory in GitHub - /// containing source code for the client libraries for this API. - @$pb.TagNumber(105) - $core.List<$core.String> get codeownerGithubTeams => $_getList(5); - - /// A prefix used in sample code when demarking regions to be included in - /// documentation. - @$pb.TagNumber(106) - $core.String get docTagPrefix => $_getSZ(6); - @$pb.TagNumber(106) - set docTagPrefix($core.String v) { $_setString(6, v); } - @$pb.TagNumber(106) - $core.bool hasDocTagPrefix() => $_has(6); - @$pb.TagNumber(106) - void clearDocTagPrefix() => clearField(106); - - /// For whom the client library is being published. - @$pb.TagNumber(107) - ClientLibraryOrganization get organization => $_getN(7); - @$pb.TagNumber(107) - set organization(ClientLibraryOrganization v) { setField(107, v); } - @$pb.TagNumber(107) - $core.bool hasOrganization() => $_has(7); - @$pb.TagNumber(107) - void clearOrganization() => clearField(107); - - /// Client library settings. If the same version string appears multiple - /// times in this list, then the last one wins. Settings from earlier - /// settings with the same version string are discarded. - @$pb.TagNumber(109) - $core.List get librarySettings => $_getList(8); - - /// Optional link to proto reference documentation. Example: - /// https://cloud.google.com/pubsub/lite/docs/reference/rpc - @$pb.TagNumber(110) - $core.String get protoReferenceDocumentationUri => $_getSZ(9); - @$pb.TagNumber(110) - set protoReferenceDocumentationUri($core.String v) { $_setString(9, v); } - @$pb.TagNumber(110) - $core.bool hasProtoReferenceDocumentationUri() => $_has(9); - @$pb.TagNumber(110) - void clearProtoReferenceDocumentationUri() => clearField(110); - - /// Optional link to REST reference documentation. Example: - /// https://cloud.google.com/pubsub/lite/docs/reference/rest - @$pb.TagNumber(111) - $core.String get restReferenceDocumentationUri => $_getSZ(10); - @$pb.TagNumber(111) - set restReferenceDocumentationUri($core.String v) { $_setString(10, v); } - @$pb.TagNumber(111) - $core.bool hasRestReferenceDocumentationUri() => $_has(10); - @$pb.TagNumber(111) - void clearRestReferenceDocumentationUri() => clearField(111); -} - -/// Settings for Java client libraries. -class JavaSettings extends $pb.GeneratedMessage { - factory JavaSettings({ - $core.String? libraryPackage, - $core.Map<$core.String, $core.String>? serviceClassNames, - CommonLanguageSettings? common, - }) { - final $result = create(); - if (libraryPackage != null) { - $result.libraryPackage = libraryPackage; - } - if (serviceClassNames != null) { - $result.serviceClassNames.addAll(serviceClassNames); - } - if (common != null) { - $result.common = common; - } - return $result; - } - JavaSettings._() : super(); - factory JavaSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory JavaSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JavaSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'libraryPackage') - ..m<$core.String, $core.String>(2, _omitFieldNames ? '' : 'serviceClassNames', entryClassName: 'JavaSettings.ServiceClassNamesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.api')) - ..aOM(3, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - JavaSettings clone() => JavaSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - JavaSettings copyWith(void Function(JavaSettings) updates) => super.copyWith((message) => updates(message as JavaSettings)) as JavaSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static JavaSettings create() => JavaSettings._(); - JavaSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static JavaSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static JavaSettings? _defaultInstance; - - /// The package name to use in Java. Clobbers the java_package option - /// set in the protobuf. This should be used **only** by APIs - /// who have already set the language_settings.java.package_name" field - /// in gapic.yaml. API teams should use the protobuf java_package option - /// where possible. - /// - /// Example of a YAML configuration:: - /// - /// publishing: - /// java_settings: - /// library_package: com.google.cloud.pubsub.v1 - @$pb.TagNumber(1) - $core.String get libraryPackage => $_getSZ(0); - @$pb.TagNumber(1) - set libraryPackage($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLibraryPackage() => $_has(0); - @$pb.TagNumber(1) - void clearLibraryPackage() => clearField(1); - - /// Configure the Java class name to use instead of the service's for its - /// corresponding generated GAPIC client. Keys are fully-qualified - /// service names as they appear in the protobuf (including the full - /// the language_settings.java.interface_names" field in gapic.yaml. API - /// teams should otherwise use the service name as it appears in the - /// protobuf. - /// - /// Example of a YAML configuration:: - /// - /// publishing: - /// java_settings: - /// service_class_names: - /// - google.pubsub.v1.Publisher: TopicAdmin - /// - google.pubsub.v1.Subscriber: SubscriptionAdmin - @$pb.TagNumber(2) - $core.Map<$core.String, $core.String> get serviceClassNames => $_getMap(1); - - /// Some settings. - @$pb.TagNumber(3) - CommonLanguageSettings get common => $_getN(2); - @$pb.TagNumber(3) - set common(CommonLanguageSettings v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasCommon() => $_has(2); - @$pb.TagNumber(3) - void clearCommon() => clearField(3); - @$pb.TagNumber(3) - CommonLanguageSettings ensureCommon() => $_ensure(2); -} - -/// Settings for C++ client libraries. -class CppSettings extends $pb.GeneratedMessage { - factory CppSettings({ - CommonLanguageSettings? common, - }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; - } - CppSettings._() : super(); - factory CppSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CppSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CppSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CppSettings clone() => CppSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CppSettings copyWith(void Function(CppSettings) updates) => super.copyWith((message) => updates(message as CppSettings)) as CppSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CppSettings create() => CppSettings._(); - CppSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CppSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CppSettings? _defaultInstance; - - /// Some settings. - @$pb.TagNumber(1) - CommonLanguageSettings get common => $_getN(0); - @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCommon() => $_has(0); - @$pb.TagNumber(1) - void clearCommon() => clearField(1); - @$pb.TagNumber(1) - CommonLanguageSettings ensureCommon() => $_ensure(0); -} - -/// Settings for Php client libraries. -class PhpSettings extends $pb.GeneratedMessage { - factory PhpSettings({ - CommonLanguageSettings? common, - }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; - } - PhpSettings._() : super(); - factory PhpSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PhpSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PhpSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PhpSettings clone() => PhpSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PhpSettings copyWith(void Function(PhpSettings) updates) => super.copyWith((message) => updates(message as PhpSettings)) as PhpSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PhpSettings create() => PhpSettings._(); - PhpSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PhpSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PhpSettings? _defaultInstance; - - /// Some settings. - @$pb.TagNumber(1) - CommonLanguageSettings get common => $_getN(0); - @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCommon() => $_has(0); - @$pb.TagNumber(1) - void clearCommon() => clearField(1); - @$pb.TagNumber(1) - CommonLanguageSettings ensureCommon() => $_ensure(0); -} - -/// Experimental features to be included during client library generation. -/// These fields will be deprecated once the feature graduates and is enabled -/// by default. -class PythonSettings_ExperimentalFeatures extends $pb.GeneratedMessage { - factory PythonSettings_ExperimentalFeatures({ - $core.bool? restAsyncIoEnabled, - $core.bool? protobufPythonicTypesEnabled, - $core.bool? unversionedPackageDisabled, - }) { - final $result = create(); - if (restAsyncIoEnabled != null) { - $result.restAsyncIoEnabled = restAsyncIoEnabled; - } - if (protobufPythonicTypesEnabled != null) { - $result.protobufPythonicTypesEnabled = protobufPythonicTypesEnabled; - } - if (unversionedPackageDisabled != null) { - $result.unversionedPackageDisabled = unversionedPackageDisabled; - } - return $result; - } - PythonSettings_ExperimentalFeatures._() : super(); - factory PythonSettings_ExperimentalFeatures.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PythonSettings_ExperimentalFeatures.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PythonSettings.ExperimentalFeatures', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'restAsyncIoEnabled') - ..aOB(2, _omitFieldNames ? '' : 'protobufPythonicTypesEnabled') - ..aOB(3, _omitFieldNames ? '' : 'unversionedPackageDisabled') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PythonSettings_ExperimentalFeatures clone() => PythonSettings_ExperimentalFeatures()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PythonSettings_ExperimentalFeatures copyWith(void Function(PythonSettings_ExperimentalFeatures) updates) => super.copyWith((message) => updates(message as PythonSettings_ExperimentalFeatures)) as PythonSettings_ExperimentalFeatures; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PythonSettings_ExperimentalFeatures create() => PythonSettings_ExperimentalFeatures._(); - PythonSettings_ExperimentalFeatures createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PythonSettings_ExperimentalFeatures getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PythonSettings_ExperimentalFeatures? _defaultInstance; - - /// Enables generation of asynchronous REST clients if `rest` transport is - /// enabled. By default, asynchronous REST clients will not be generated. - /// This feature will be enabled by default 1 month after launching the - /// feature in preview packages. - @$pb.TagNumber(1) - $core.bool get restAsyncIoEnabled => $_getBF(0); - @$pb.TagNumber(1) - set restAsyncIoEnabled($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasRestAsyncIoEnabled() => $_has(0); - @$pb.TagNumber(1) - void clearRestAsyncIoEnabled() => clearField(1); - - /// Enables generation of protobuf code using new types that are more - /// Pythonic which are included in `protobuf>=5.29.x`. This feature will be - /// enabled by default 1 month after launching the feature in preview - /// packages. - @$pb.TagNumber(2) - $core.bool get protobufPythonicTypesEnabled => $_getBF(1); - @$pb.TagNumber(2) - set protobufPythonicTypesEnabled($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasProtobufPythonicTypesEnabled() => $_has(1); - @$pb.TagNumber(2) - void clearProtobufPythonicTypesEnabled() => clearField(2); - - /// Disables generation of an unversioned Python package for this client - /// library. This means that the module names will need to be versioned in - /// import statements. For example `import google.cloud.library_v2` instead - /// of `import google.cloud.library`. - @$pb.TagNumber(3) - $core.bool get unversionedPackageDisabled => $_getBF(2); - @$pb.TagNumber(3) - set unversionedPackageDisabled($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasUnversionedPackageDisabled() => $_has(2); - @$pb.TagNumber(3) - void clearUnversionedPackageDisabled() => clearField(3); -} - -/// Settings for Python client libraries. -class PythonSettings extends $pb.GeneratedMessage { - factory PythonSettings({ - CommonLanguageSettings? common, - PythonSettings_ExperimentalFeatures? experimentalFeatures, - }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - if (experimentalFeatures != null) { - $result.experimentalFeatures = experimentalFeatures; - } - return $result; - } - PythonSettings._() : super(); - factory PythonSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PythonSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PythonSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..aOM(2, _omitFieldNames ? '' : 'experimentalFeatures', subBuilder: PythonSettings_ExperimentalFeatures.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PythonSettings clone() => PythonSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PythonSettings copyWith(void Function(PythonSettings) updates) => super.copyWith((message) => updates(message as PythonSettings)) as PythonSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PythonSettings create() => PythonSettings._(); - PythonSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PythonSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PythonSettings? _defaultInstance; - - /// Some settings. - @$pb.TagNumber(1) - CommonLanguageSettings get common => $_getN(0); - @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCommon() => $_has(0); - @$pb.TagNumber(1) - void clearCommon() => clearField(1); - @$pb.TagNumber(1) - CommonLanguageSettings ensureCommon() => $_ensure(0); - - /// Experimental features to be included during client library generation. - @$pb.TagNumber(2) - PythonSettings_ExperimentalFeatures get experimentalFeatures => $_getN(1); - @$pb.TagNumber(2) - set experimentalFeatures(PythonSettings_ExperimentalFeatures v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasExperimentalFeatures() => $_has(1); - @$pb.TagNumber(2) - void clearExperimentalFeatures() => clearField(2); - @$pb.TagNumber(2) - PythonSettings_ExperimentalFeatures ensureExperimentalFeatures() => $_ensure(1); -} - -/// Settings for Node client libraries. -class NodeSettings extends $pb.GeneratedMessage { - factory NodeSettings({ - CommonLanguageSettings? common, - }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; - } - NodeSettings._() : super(); - factory NodeSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NodeSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NodeSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NodeSettings clone() => NodeSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NodeSettings copyWith(void Function(NodeSettings) updates) => super.copyWith((message) => updates(message as NodeSettings)) as NodeSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NodeSettings create() => NodeSettings._(); - NodeSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NodeSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NodeSettings? _defaultInstance; - - /// Some settings. - @$pb.TagNumber(1) - CommonLanguageSettings get common => $_getN(0); - @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCommon() => $_has(0); - @$pb.TagNumber(1) - void clearCommon() => clearField(1); - @$pb.TagNumber(1) - CommonLanguageSettings ensureCommon() => $_ensure(0); -} - -/// Settings for Dotnet client libraries. -class DotnetSettings extends $pb.GeneratedMessage { - factory DotnetSettings({ - CommonLanguageSettings? common, - $core.Map<$core.String, $core.String>? renamedServices, - $core.Map<$core.String, $core.String>? renamedResources, - $core.Iterable<$core.String>? ignoredResources, - $core.Iterable<$core.String>? forcedNamespaceAliases, - $core.Iterable<$core.String>? handwrittenSignatures, - }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - if (renamedServices != null) { - $result.renamedServices.addAll(renamedServices); - } - if (renamedResources != null) { - $result.renamedResources.addAll(renamedResources); - } - if (ignoredResources != null) { - $result.ignoredResources.addAll(ignoredResources); - } - if (forcedNamespaceAliases != null) { - $result.forcedNamespaceAliases.addAll(forcedNamespaceAliases); - } - if (handwrittenSignatures != null) { - $result.handwrittenSignatures.addAll(handwrittenSignatures); - } - return $result; - } - DotnetSettings._() : super(); - factory DotnetSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DotnetSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DotnetSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..m<$core.String, $core.String>(2, _omitFieldNames ? '' : 'renamedServices', entryClassName: 'DotnetSettings.RenamedServicesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.api')) - ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'renamedResources', entryClassName: 'DotnetSettings.RenamedResourcesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.api')) - ..pPS(4, _omitFieldNames ? '' : 'ignoredResources') - ..pPS(5, _omitFieldNames ? '' : 'forcedNamespaceAliases') - ..pPS(6, _omitFieldNames ? '' : 'handwrittenSignatures') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DotnetSettings clone() => DotnetSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DotnetSettings copyWith(void Function(DotnetSettings) updates) => super.copyWith((message) => updates(message as DotnetSettings)) as DotnetSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DotnetSettings create() => DotnetSettings._(); - DotnetSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DotnetSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DotnetSettings? _defaultInstance; - - /// Some settings. - @$pb.TagNumber(1) - CommonLanguageSettings get common => $_getN(0); - @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCommon() => $_has(0); - @$pb.TagNumber(1) - void clearCommon() => clearField(1); - @$pb.TagNumber(1) - CommonLanguageSettings ensureCommon() => $_ensure(0); - - /// Map from original service names to renamed versions. - /// This is used when the default generated types - /// would cause a naming conflict. (Neither name is - /// fully-qualified.) - /// Example: Subscriber to SubscriberServiceApi. - @$pb.TagNumber(2) - $core.Map<$core.String, $core.String> get renamedServices => $_getMap(1); - - /// Map from full resource types to the effective short name - /// for the resource. This is used when otherwise resource - /// named from different services would cause naming collisions. - /// Example entry: - /// "datalabeling.googleapis.com/Dataset": "DataLabelingDataset" - @$pb.TagNumber(3) - $core.Map<$core.String, $core.String> get renamedResources => $_getMap(2); - - /// List of full resource types to ignore during generation. - /// This is typically used for API-specific Location resources, - /// which should be handled by the generator as if they were actually - /// the common Location resources. - /// Example entry: "documentai.googleapis.com/Location" - @$pb.TagNumber(4) - $core.List<$core.String> get ignoredResources => $_getList(3); - - /// Namespaces which must be aliased in snippets due to - /// a known (but non-generator-predictable) naming collision - @$pb.TagNumber(5) - $core.List<$core.String> get forcedNamespaceAliases => $_getList(4); - - /// Method signatures (in the form "service.method(signature)") - /// which are provided separately, so shouldn't be generated. - /// Snippets *calling* these methods are still generated, however. - @$pb.TagNumber(6) - $core.List<$core.String> get handwrittenSignatures => $_getList(5); -} - -/// Settings for Ruby client libraries. -class RubySettings extends $pb.GeneratedMessage { - factory RubySettings({ - CommonLanguageSettings? common, - }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - return $result; - } - RubySettings._() : super(); - factory RubySettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RubySettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RubySettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RubySettings clone() => RubySettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RubySettings copyWith(void Function(RubySettings) updates) => super.copyWith((message) => updates(message as RubySettings)) as RubySettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RubySettings create() => RubySettings._(); - RubySettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RubySettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RubySettings? _defaultInstance; - - /// Some settings. - @$pb.TagNumber(1) - CommonLanguageSettings get common => $_getN(0); - @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCommon() => $_has(0); - @$pb.TagNumber(1) - void clearCommon() => clearField(1); - @$pb.TagNumber(1) - CommonLanguageSettings ensureCommon() => $_ensure(0); -} - -/// Settings for Go client libraries. -class GoSettings extends $pb.GeneratedMessage { - factory GoSettings({ - CommonLanguageSettings? common, - $core.Map<$core.String, $core.String>? renamedServices, - }) { - final $result = create(); - if (common != null) { - $result.common = common; - } - if (renamedServices != null) { - $result.renamedServices.addAll(renamedServices); - } - return $result; - } - GoSettings._() : super(); - factory GoSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GoSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GoSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'common', subBuilder: CommonLanguageSettings.create) - ..m<$core.String, $core.String>(2, _omitFieldNames ? '' : 'renamedServices', entryClassName: 'GoSettings.RenamedServicesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.api')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GoSettings clone() => GoSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GoSettings copyWith(void Function(GoSettings) updates) => super.copyWith((message) => updates(message as GoSettings)) as GoSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GoSettings create() => GoSettings._(); - GoSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GoSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GoSettings? _defaultInstance; - - /// Some settings. - @$pb.TagNumber(1) - CommonLanguageSettings get common => $_getN(0); - @$pb.TagNumber(1) - set common(CommonLanguageSettings v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCommon() => $_has(0); - @$pb.TagNumber(1) - void clearCommon() => clearField(1); - @$pb.TagNumber(1) - CommonLanguageSettings ensureCommon() => $_ensure(0); - - /// Map of service names to renamed services. Keys are the package relative - /// service names and values are the name to be used for the service client - /// and call options. - /// - /// publishing: - /// go_settings: - /// renamed_services: - /// Publisher: TopicAdmin - @$pb.TagNumber(2) - $core.Map<$core.String, $core.String> get renamedServices => $_getMap(1); -} - -/// Describes settings to use when generating API methods that use the -/// long-running operation pattern. -/// All default values below are from those used in the client library -/// generators (e.g. -/// [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)). -class MethodSettings_LongRunning extends $pb.GeneratedMessage { - factory MethodSettings_LongRunning({ - $4.Duration? initialPollDelay, - $core.double? pollDelayMultiplier, - $4.Duration? maxPollDelay, - $4.Duration? totalPollTimeout, - }) { - final $result = create(); - if (initialPollDelay != null) { - $result.initialPollDelay = initialPollDelay; - } - if (pollDelayMultiplier != null) { - $result.pollDelayMultiplier = pollDelayMultiplier; - } - if (maxPollDelay != null) { - $result.maxPollDelay = maxPollDelay; - } - if (totalPollTimeout != null) { - $result.totalPollTimeout = totalPollTimeout; - } - return $result; - } - MethodSettings_LongRunning._() : super(); - factory MethodSettings_LongRunning.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MethodSettings_LongRunning.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodSettings.LongRunning', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOM<$4.Duration>(1, _omitFieldNames ? '' : 'initialPollDelay', subBuilder: $4.Duration.create) - ..a<$core.double>(2, _omitFieldNames ? '' : 'pollDelayMultiplier', $pb.PbFieldType.OF) - ..aOM<$4.Duration>(3, _omitFieldNames ? '' : 'maxPollDelay', subBuilder: $4.Duration.create) - ..aOM<$4.Duration>(4, _omitFieldNames ? '' : 'totalPollTimeout', subBuilder: $4.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MethodSettings_LongRunning clone() => MethodSettings_LongRunning()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MethodSettings_LongRunning copyWith(void Function(MethodSettings_LongRunning) updates) => super.copyWith((message) => updates(message as MethodSettings_LongRunning)) as MethodSettings_LongRunning; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MethodSettings_LongRunning create() => MethodSettings_LongRunning._(); - MethodSettings_LongRunning createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MethodSettings_LongRunning getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MethodSettings_LongRunning? _defaultInstance; - - /// Initial delay after which the first poll request will be made. - /// Default value: 5 seconds. - @$pb.TagNumber(1) - $4.Duration get initialPollDelay => $_getN(0); - @$pb.TagNumber(1) - set initialPollDelay($4.Duration v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasInitialPollDelay() => $_has(0); - @$pb.TagNumber(1) - void clearInitialPollDelay() => clearField(1); - @$pb.TagNumber(1) - $4.Duration ensureInitialPollDelay() => $_ensure(0); - - /// Multiplier to gradually increase delay between subsequent polls until it - /// reaches max_poll_delay. - /// Default value: 1.5. - @$pb.TagNumber(2) - $core.double get pollDelayMultiplier => $_getN(1); - @$pb.TagNumber(2) - set pollDelayMultiplier($core.double v) { $_setFloat(1, v); } - @$pb.TagNumber(2) - $core.bool hasPollDelayMultiplier() => $_has(1); - @$pb.TagNumber(2) - void clearPollDelayMultiplier() => clearField(2); - - /// Maximum time between two subsequent poll requests. - /// Default value: 45 seconds. - @$pb.TagNumber(3) - $4.Duration get maxPollDelay => $_getN(2); - @$pb.TagNumber(3) - set maxPollDelay($4.Duration v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasMaxPollDelay() => $_has(2); - @$pb.TagNumber(3) - void clearMaxPollDelay() => clearField(3); - @$pb.TagNumber(3) - $4.Duration ensureMaxPollDelay() => $_ensure(2); - - /// Total polling timeout. - /// Default value: 5 minutes. - @$pb.TagNumber(4) - $4.Duration get totalPollTimeout => $_getN(3); - @$pb.TagNumber(4) - set totalPollTimeout($4.Duration v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasTotalPollTimeout() => $_has(3); - @$pb.TagNumber(4) - void clearTotalPollTimeout() => clearField(4); - @$pb.TagNumber(4) - $4.Duration ensureTotalPollTimeout() => $_ensure(3); -} - -/// Describes the generator configuration for a method. -class MethodSettings extends $pb.GeneratedMessage { - factory MethodSettings({ - $core.String? selector, - MethodSettings_LongRunning? longRunning, - $core.Iterable<$core.String>? autoPopulatedFields, - }) { - final $result = create(); - if (selector != null) { - $result.selector = selector; - } - if (longRunning != null) { - $result.longRunning = longRunning; - } - if (autoPopulatedFields != null) { - $result.autoPopulatedFields.addAll(autoPopulatedFields); - } - return $result; - } - MethodSettings._() : super(); - factory MethodSettings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MethodSettings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodSettings', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'selector') - ..aOM(2, _omitFieldNames ? '' : 'longRunning', subBuilder: MethodSettings_LongRunning.create) - ..pPS(3, _omitFieldNames ? '' : 'autoPopulatedFields') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MethodSettings clone() => MethodSettings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MethodSettings copyWith(void Function(MethodSettings) updates) => super.copyWith((message) => updates(message as MethodSettings)) as MethodSettings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MethodSettings create() => MethodSettings._(); - MethodSettings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MethodSettings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MethodSettings? _defaultInstance; - - /// The fully qualified name of the method, for which the options below apply. - /// This is used to find the method to apply the options. - /// - /// Example: - /// - /// publishing: - /// method_settings: - /// - selector: google.storage.control.v2.StorageControl.CreateFolder - /// # method settings for CreateFolder... - @$pb.TagNumber(1) - $core.String get selector => $_getSZ(0); - @$pb.TagNumber(1) - set selector($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSelector() => $_has(0); - @$pb.TagNumber(1) - void clearSelector() => clearField(1); - - /// Describes settings to use for long-running operations when generating - /// API methods for RPCs. Complements RPCs that use the annotations in - /// google/longrunning/operations.proto. - /// - /// Example of a YAML configuration:: - /// - /// publishing: - /// method_settings: - /// - selector: google.cloud.speech.v2.Speech.BatchRecognize - /// long_running: - /// initial_poll_delay: 60s # 1 minute - /// poll_delay_multiplier: 1.5 - /// max_poll_delay: 360s # 6 minutes - /// total_poll_timeout: 54000s # 90 minutes - @$pb.TagNumber(2) - MethodSettings_LongRunning get longRunning => $_getN(1); - @$pb.TagNumber(2) - set longRunning(MethodSettings_LongRunning v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLongRunning() => $_has(1); - @$pb.TagNumber(2) - void clearLongRunning() => clearField(2); - @$pb.TagNumber(2) - MethodSettings_LongRunning ensureLongRunning() => $_ensure(1); - - /// List of top-level fields of the request message, that should be - /// automatically populated by the client libraries based on their - /// (google.api.field_info).format. Currently supported format: UUID4. - /// - /// Example of a YAML configuration: - /// - /// publishing: - /// method_settings: - /// - selector: google.example.v1.ExampleService.CreateExample - /// auto_populated_fields: - /// - request_id - @$pb.TagNumber(3) - $core.List<$core.String> get autoPopulatedFields => $_getList(2); -} - -/// This message is used to configure the generation of a subset of the RPCs in -/// a service for client libraries. -class SelectiveGapicGeneration extends $pb.GeneratedMessage { - factory SelectiveGapicGeneration({ - $core.Iterable<$core.String>? methods, - $core.bool? generateOmittedAsInternal, - }) { - final $result = create(); - if (methods != null) { - $result.methods.addAll(methods); - } - if (generateOmittedAsInternal != null) { - $result.generateOmittedAsInternal = generateOmittedAsInternal; - } - return $result; - } - SelectiveGapicGeneration._() : super(); - factory SelectiveGapicGeneration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SelectiveGapicGeneration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SelectiveGapicGeneration', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'methods') - ..aOB(2, _omitFieldNames ? '' : 'generateOmittedAsInternal') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SelectiveGapicGeneration clone() => SelectiveGapicGeneration()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SelectiveGapicGeneration copyWith(void Function(SelectiveGapicGeneration) updates) => super.copyWith((message) => updates(message as SelectiveGapicGeneration)) as SelectiveGapicGeneration; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SelectiveGapicGeneration create() => SelectiveGapicGeneration._(); - SelectiveGapicGeneration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SelectiveGapicGeneration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SelectiveGapicGeneration? _defaultInstance; - - /// An allowlist of the fully qualified names of RPCs that should be included - /// on public client surfaces. - @$pb.TagNumber(1) - $core.List<$core.String> get methods => $_getList(0); - - /// Setting this to true indicates to the client generators that methods - /// that would be excluded from the generation should instead be generated - /// in a way that indicates these methods should not be consumed by - /// end users. How this is expressed is up to individual language - /// implementations to decide. Some examples may be: added annotations, - /// obfuscated identifiers, or other language idiomatic patterns. - @$pb.TagNumber(2) - $core.bool get generateOmittedAsInternal => $_getBF(1); - @$pb.TagNumber(2) - set generateOmittedAsInternal($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasGenerateOmittedAsInternal() => $_has(1); - @$pb.TagNumber(2) - void clearGenerateOmittedAsInternal() => clearField(2); -} - -class Client { - static final methodSignature = $pb.Extension<$core.String>.repeated(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'methodSignature', 1051, $pb.PbFieldType.PS, check: $pb.getCheckFunction($pb.PbFieldType.PS)); - static final defaultHost = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'defaultHost', 1049, $pb.PbFieldType.OS); - static final oauthScopes = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'oauthScopes', 1050, $pb.PbFieldType.OS); - static final apiVersion = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'apiVersion', 525000001, $pb.PbFieldType.OS); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(methodSignature); - registry.add(defaultHost); - registry.add(oauthScopes); - registry.add(apiVersion); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/client.pbenum.dart b/lib/src/gen/google/api/client.pbenum.dart deleted file mode 100644 index e5e300de202..00000000000 --- a/lib/src/gen/google/api/client.pbenum.dart +++ /dev/null @@ -1,64 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/client.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// The organization for which the client libraries are being published. -/// Affects the url where generated docs are published, etc. -class ClientLibraryOrganization extends $pb.ProtobufEnum { - static const ClientLibraryOrganization CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = ClientLibraryOrganization._(0, _omitEnumNames ? '' : 'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED'); - static const ClientLibraryOrganization CLOUD = ClientLibraryOrganization._(1, _omitEnumNames ? '' : 'CLOUD'); - static const ClientLibraryOrganization ADS = ClientLibraryOrganization._(2, _omitEnumNames ? '' : 'ADS'); - static const ClientLibraryOrganization PHOTOS = ClientLibraryOrganization._(3, _omitEnumNames ? '' : 'PHOTOS'); - static const ClientLibraryOrganization STREET_VIEW = ClientLibraryOrganization._(4, _omitEnumNames ? '' : 'STREET_VIEW'); - static const ClientLibraryOrganization SHOPPING = ClientLibraryOrganization._(5, _omitEnumNames ? '' : 'SHOPPING'); - static const ClientLibraryOrganization GEO = ClientLibraryOrganization._(6, _omitEnumNames ? '' : 'GEO'); - static const ClientLibraryOrganization GENERATIVE_AI = ClientLibraryOrganization._(7, _omitEnumNames ? '' : 'GENERATIVE_AI'); - - static const $core.List values = [ - CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED, - CLOUD, - ADS, - PHOTOS, - STREET_VIEW, - SHOPPING, - GEO, - GENERATIVE_AI, - ]; - - static final $core.Map<$core.int, ClientLibraryOrganization> _byValue = $pb.ProtobufEnum.initByValue(values); - static ClientLibraryOrganization? valueOf($core.int value) => _byValue[value]; - - const ClientLibraryOrganization._($core.int v, $core.String n) : super(v, n); -} - -/// To where should client libraries be published? -class ClientLibraryDestination extends $pb.ProtobufEnum { - static const ClientLibraryDestination CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = ClientLibraryDestination._(0, _omitEnumNames ? '' : 'CLIENT_LIBRARY_DESTINATION_UNSPECIFIED'); - static const ClientLibraryDestination GITHUB = ClientLibraryDestination._(10, _omitEnumNames ? '' : 'GITHUB'); - static const ClientLibraryDestination PACKAGE_MANAGER = ClientLibraryDestination._(20, _omitEnumNames ? '' : 'PACKAGE_MANAGER'); - - static const $core.List values = [ - CLIENT_LIBRARY_DESTINATION_UNSPECIFIED, - GITHUB, - PACKAGE_MANAGER, - ]; - - static final $core.Map<$core.int, ClientLibraryDestination> _byValue = $pb.ProtobufEnum.initByValue(values); - static ClientLibraryDestination? valueOf($core.int value) => _byValue[value]; - - const ClientLibraryDestination._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/api/client.pbjson.dart b/lib/src/gen/google/api/client.pbjson.dart deleted file mode 100644 index de1f008a438..00000000000 --- a/lib/src/gen/google/api/client.pbjson.dart +++ /dev/null @@ -1,380 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/client.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use clientLibraryOrganizationDescriptor instead') -const ClientLibraryOrganization$json = { - '1': 'ClientLibraryOrganization', - '2': [ - {'1': 'CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED', '2': 0}, - {'1': 'CLOUD', '2': 1}, - {'1': 'ADS', '2': 2}, - {'1': 'PHOTOS', '2': 3}, - {'1': 'STREET_VIEW', '2': 4}, - {'1': 'SHOPPING', '2': 5}, - {'1': 'GEO', '2': 6}, - {'1': 'GENERATIVE_AI', '2': 7}, - ], -}; - -/// Descriptor for `ClientLibraryOrganization`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List clientLibraryOrganizationDescriptor = $convert.base64Decode( - 'ChlDbGllbnRMaWJyYXJ5T3JnYW5pemF0aW9uEisKJ0NMSUVOVF9MSUJSQVJZX09SR0FOSVpBVE' - 'lPTl9VTlNQRUNJRklFRBAAEgkKBUNMT1VEEAESBwoDQURTEAISCgoGUEhPVE9TEAMSDwoLU1RS' - 'RUVUX1ZJRVcQBBIMCghTSE9QUElORxAFEgcKA0dFTxAGEhEKDUdFTkVSQVRJVkVfQUkQBw=='); - -@$core.Deprecated('Use clientLibraryDestinationDescriptor instead') -const ClientLibraryDestination$json = { - '1': 'ClientLibraryDestination', - '2': [ - {'1': 'CLIENT_LIBRARY_DESTINATION_UNSPECIFIED', '2': 0}, - {'1': 'GITHUB', '2': 10}, - {'1': 'PACKAGE_MANAGER', '2': 20}, - ], -}; - -/// Descriptor for `ClientLibraryDestination`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List clientLibraryDestinationDescriptor = $convert.base64Decode( - 'ChhDbGllbnRMaWJyYXJ5RGVzdGluYXRpb24SKgomQ0xJRU5UX0xJQlJBUllfREVTVElOQVRJT0' - '5fVU5TUEVDSUZJRUQQABIKCgZHSVRIVUIQChITCg9QQUNLQUdFX01BTkFHRVIQFA=='); - -@$core.Deprecated('Use commonLanguageSettingsDescriptor instead') -const CommonLanguageSettings$json = { - '1': 'CommonLanguageSettings', - '2': [ - { - '1': 'reference_docs_uri', - '3': 1, - '4': 1, - '5': 9, - '8': {'3': true}, - '10': 'referenceDocsUri', - }, - {'1': 'destinations', '3': 2, '4': 3, '5': 14, '6': '.google.api.ClientLibraryDestination', '10': 'destinations'}, - {'1': 'selective_gapic_generation', '3': 3, '4': 1, '5': 11, '6': '.google.api.SelectiveGapicGeneration', '10': 'selectiveGapicGeneration'}, - ], -}; - -/// Descriptor for `CommonLanguageSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List commonLanguageSettingsDescriptor = $convert.base64Decode( - 'ChZDb21tb25MYW5ndWFnZVNldHRpbmdzEjAKEnJlZmVyZW5jZV9kb2NzX3VyaRgBIAEoCUICGA' - 'FSEHJlZmVyZW5jZURvY3NVcmkSSAoMZGVzdGluYXRpb25zGAIgAygOMiQuZ29vZ2xlLmFwaS5D' - 'bGllbnRMaWJyYXJ5RGVzdGluYXRpb25SDGRlc3RpbmF0aW9ucxJiChpzZWxlY3RpdmVfZ2FwaW' - 'NfZ2VuZXJhdGlvbhgDIAEoCzIkLmdvb2dsZS5hcGkuU2VsZWN0aXZlR2FwaWNHZW5lcmF0aW9u' - 'UhhzZWxlY3RpdmVHYXBpY0dlbmVyYXRpb24='); - -@$core.Deprecated('Use clientLibrarySettingsDescriptor instead') -const ClientLibrarySettings$json = { - '1': 'ClientLibrarySettings', - '2': [ - {'1': 'version', '3': 1, '4': 1, '5': 9, '10': 'version'}, - {'1': 'launch_stage', '3': 2, '4': 1, '5': 14, '6': '.google.api.LaunchStage', '10': 'launchStage'}, - {'1': 'rest_numeric_enums', '3': 3, '4': 1, '5': 8, '10': 'restNumericEnums'}, - {'1': 'java_settings', '3': 21, '4': 1, '5': 11, '6': '.google.api.JavaSettings', '10': 'javaSettings'}, - {'1': 'cpp_settings', '3': 22, '4': 1, '5': 11, '6': '.google.api.CppSettings', '10': 'cppSettings'}, - {'1': 'php_settings', '3': 23, '4': 1, '5': 11, '6': '.google.api.PhpSettings', '10': 'phpSettings'}, - {'1': 'python_settings', '3': 24, '4': 1, '5': 11, '6': '.google.api.PythonSettings', '10': 'pythonSettings'}, - {'1': 'node_settings', '3': 25, '4': 1, '5': 11, '6': '.google.api.NodeSettings', '10': 'nodeSettings'}, - {'1': 'dotnet_settings', '3': 26, '4': 1, '5': 11, '6': '.google.api.DotnetSettings', '10': 'dotnetSettings'}, - {'1': 'ruby_settings', '3': 27, '4': 1, '5': 11, '6': '.google.api.RubySettings', '10': 'rubySettings'}, - {'1': 'go_settings', '3': 28, '4': 1, '5': 11, '6': '.google.api.GoSettings', '10': 'goSettings'}, - ], -}; - -/// Descriptor for `ClientLibrarySettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List clientLibrarySettingsDescriptor = $convert.base64Decode( - 'ChVDbGllbnRMaWJyYXJ5U2V0dGluZ3MSGAoHdmVyc2lvbhgBIAEoCVIHdmVyc2lvbhI6CgxsYX' - 'VuY2hfc3RhZ2UYAiABKA4yFy5nb29nbGUuYXBpLkxhdW5jaFN0YWdlUgtsYXVuY2hTdGFnZRIs' - 'ChJyZXN0X251bWVyaWNfZW51bXMYAyABKAhSEHJlc3ROdW1lcmljRW51bXMSPQoNamF2YV9zZX' - 'R0aW5ncxgVIAEoCzIYLmdvb2dsZS5hcGkuSmF2YVNldHRpbmdzUgxqYXZhU2V0dGluZ3MSOgoM' - 'Y3BwX3NldHRpbmdzGBYgASgLMhcuZ29vZ2xlLmFwaS5DcHBTZXR0aW5nc1ILY3BwU2V0dGluZ3' - 'MSOgoMcGhwX3NldHRpbmdzGBcgASgLMhcuZ29vZ2xlLmFwaS5QaHBTZXR0aW5nc1ILcGhwU2V0' - 'dGluZ3MSQwoPcHl0aG9uX3NldHRpbmdzGBggASgLMhouZ29vZ2xlLmFwaS5QeXRob25TZXR0aW' - '5nc1IOcHl0aG9uU2V0dGluZ3MSPQoNbm9kZV9zZXR0aW5ncxgZIAEoCzIYLmdvb2dsZS5hcGku' - 'Tm9kZVNldHRpbmdzUgxub2RlU2V0dGluZ3MSQwoPZG90bmV0X3NldHRpbmdzGBogASgLMhouZ2' - '9vZ2xlLmFwaS5Eb3RuZXRTZXR0aW5nc1IOZG90bmV0U2V0dGluZ3MSPQoNcnVieV9zZXR0aW5n' - 'cxgbIAEoCzIYLmdvb2dsZS5hcGkuUnVieVNldHRpbmdzUgxydWJ5U2V0dGluZ3MSNwoLZ29fc2' - 'V0dGluZ3MYHCABKAsyFi5nb29nbGUuYXBpLkdvU2V0dGluZ3NSCmdvU2V0dGluZ3M='); - -@$core.Deprecated('Use publishingDescriptor instead') -const Publishing$json = { - '1': 'Publishing', - '2': [ - {'1': 'method_settings', '3': 2, '4': 3, '5': 11, '6': '.google.api.MethodSettings', '10': 'methodSettings'}, - {'1': 'new_issue_uri', '3': 101, '4': 1, '5': 9, '10': 'newIssueUri'}, - {'1': 'documentation_uri', '3': 102, '4': 1, '5': 9, '10': 'documentationUri'}, - {'1': 'api_short_name', '3': 103, '4': 1, '5': 9, '10': 'apiShortName'}, - {'1': 'github_label', '3': 104, '4': 1, '5': 9, '10': 'githubLabel'}, - {'1': 'codeowner_github_teams', '3': 105, '4': 3, '5': 9, '10': 'codeownerGithubTeams'}, - {'1': 'doc_tag_prefix', '3': 106, '4': 1, '5': 9, '10': 'docTagPrefix'}, - {'1': 'organization', '3': 107, '4': 1, '5': 14, '6': '.google.api.ClientLibraryOrganization', '10': 'organization'}, - {'1': 'library_settings', '3': 109, '4': 3, '5': 11, '6': '.google.api.ClientLibrarySettings', '10': 'librarySettings'}, - {'1': 'proto_reference_documentation_uri', '3': 110, '4': 1, '5': 9, '10': 'protoReferenceDocumentationUri'}, - {'1': 'rest_reference_documentation_uri', '3': 111, '4': 1, '5': 9, '10': 'restReferenceDocumentationUri'}, - ], -}; - -/// Descriptor for `Publishing`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List publishingDescriptor = $convert.base64Decode( - 'CgpQdWJsaXNoaW5nEkMKD21ldGhvZF9zZXR0aW5ncxgCIAMoCzIaLmdvb2dsZS5hcGkuTWV0aG' - '9kU2V0dGluZ3NSDm1ldGhvZFNldHRpbmdzEiIKDW5ld19pc3N1ZV91cmkYZSABKAlSC25ld0lz' - 'c3VlVXJpEisKEWRvY3VtZW50YXRpb25fdXJpGGYgASgJUhBkb2N1bWVudGF0aW9uVXJpEiQKDm' - 'FwaV9zaG9ydF9uYW1lGGcgASgJUgxhcGlTaG9ydE5hbWUSIQoMZ2l0aHViX2xhYmVsGGggASgJ' - 'UgtnaXRodWJMYWJlbBI0ChZjb2Rlb3duZXJfZ2l0aHViX3RlYW1zGGkgAygJUhRjb2Rlb3duZX' - 'JHaXRodWJUZWFtcxIkCg5kb2NfdGFnX3ByZWZpeBhqIAEoCVIMZG9jVGFnUHJlZml4EkkKDG9y' - 'Z2FuaXphdGlvbhhrIAEoDjIlLmdvb2dsZS5hcGkuQ2xpZW50TGlicmFyeU9yZ2FuaXphdGlvbl' - 'IMb3JnYW5pemF0aW9uEkwKEGxpYnJhcnlfc2V0dGluZ3MYbSADKAsyIS5nb29nbGUuYXBpLkNs' - 'aWVudExpYnJhcnlTZXR0aW5nc1IPbGlicmFyeVNldHRpbmdzEkkKIXByb3RvX3JlZmVyZW5jZV' - '9kb2N1bWVudGF0aW9uX3VyaRhuIAEoCVIecHJvdG9SZWZlcmVuY2VEb2N1bWVudGF0aW9uVXJp' - 'EkcKIHJlc3RfcmVmZXJlbmNlX2RvY3VtZW50YXRpb25fdXJpGG8gASgJUh1yZXN0UmVmZXJlbm' - 'NlRG9jdW1lbnRhdGlvblVyaQ=='); - -@$core.Deprecated('Use javaSettingsDescriptor instead') -const JavaSettings$json = { - '1': 'JavaSettings', - '2': [ - {'1': 'library_package', '3': 1, '4': 1, '5': 9, '10': 'libraryPackage'}, - {'1': 'service_class_names', '3': 2, '4': 3, '5': 11, '6': '.google.api.JavaSettings.ServiceClassNamesEntry', '10': 'serviceClassNames'}, - {'1': 'common', '3': 3, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - ], - '3': [JavaSettings_ServiceClassNamesEntry$json], -}; - -@$core.Deprecated('Use javaSettingsDescriptor instead') -const JavaSettings_ServiceClassNamesEntry$json = { - '1': 'ServiceClassNamesEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `JavaSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List javaSettingsDescriptor = $convert.base64Decode( - 'CgxKYXZhU2V0dGluZ3MSJwoPbGlicmFyeV9wYWNrYWdlGAEgASgJUg5saWJyYXJ5UGFja2FnZR' - 'JfChNzZXJ2aWNlX2NsYXNzX25hbWVzGAIgAygLMi8uZ29vZ2xlLmFwaS5KYXZhU2V0dGluZ3Mu' - 'U2VydmljZUNsYXNzTmFtZXNFbnRyeVIRc2VydmljZUNsYXNzTmFtZXMSOgoGY29tbW9uGAMgAS' - 'gLMiIuZ29vZ2xlLmFwaS5Db21tb25MYW5ndWFnZVNldHRpbmdzUgZjb21tb24aRAoWU2Vydmlj' - 'ZUNsYXNzTmFtZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdW' - 'U6AjgB'); - -@$core.Deprecated('Use cppSettingsDescriptor instead') -const CppSettings$json = { - '1': 'CppSettings', - '2': [ - {'1': 'common', '3': 1, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - ], -}; - -/// Descriptor for `CppSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cppSettingsDescriptor = $convert.base64Decode( - 'CgtDcHBTZXR0aW5ncxI6CgZjb21tb24YASABKAsyIi5nb29nbGUuYXBpLkNvbW1vbkxhbmd1YW' - 'dlU2V0dGluZ3NSBmNvbW1vbg=='); - -@$core.Deprecated('Use phpSettingsDescriptor instead') -const PhpSettings$json = { - '1': 'PhpSettings', - '2': [ - {'1': 'common', '3': 1, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - ], -}; - -/// Descriptor for `PhpSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List phpSettingsDescriptor = $convert.base64Decode( - 'CgtQaHBTZXR0aW5ncxI6CgZjb21tb24YASABKAsyIi5nb29nbGUuYXBpLkNvbW1vbkxhbmd1YW' - 'dlU2V0dGluZ3NSBmNvbW1vbg=='); - -@$core.Deprecated('Use pythonSettingsDescriptor instead') -const PythonSettings$json = { - '1': 'PythonSettings', - '2': [ - {'1': 'common', '3': 1, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - {'1': 'experimental_features', '3': 2, '4': 1, '5': 11, '6': '.google.api.PythonSettings.ExperimentalFeatures', '10': 'experimentalFeatures'}, - ], - '3': [PythonSettings_ExperimentalFeatures$json], -}; - -@$core.Deprecated('Use pythonSettingsDescriptor instead') -const PythonSettings_ExperimentalFeatures$json = { - '1': 'ExperimentalFeatures', - '2': [ - {'1': 'rest_async_io_enabled', '3': 1, '4': 1, '5': 8, '10': 'restAsyncIoEnabled'}, - {'1': 'protobuf_pythonic_types_enabled', '3': 2, '4': 1, '5': 8, '10': 'protobufPythonicTypesEnabled'}, - {'1': 'unversioned_package_disabled', '3': 3, '4': 1, '5': 8, '10': 'unversionedPackageDisabled'}, - ], -}; - -/// Descriptor for `PythonSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pythonSettingsDescriptor = $convert.base64Decode( - 'Cg5QeXRob25TZXR0aW5ncxI6CgZjb21tb24YASABKAsyIi5nb29nbGUuYXBpLkNvbW1vbkxhbm' - 'd1YWdlU2V0dGluZ3NSBmNvbW1vbhJkChVleHBlcmltZW50YWxfZmVhdHVyZXMYAiABKAsyLy5n' - 'b29nbGUuYXBpLlB5dGhvblNldHRpbmdzLkV4cGVyaW1lbnRhbEZlYXR1cmVzUhRleHBlcmltZW' - '50YWxGZWF0dXJlcxrSAQoURXhwZXJpbWVudGFsRmVhdHVyZXMSMQoVcmVzdF9hc3luY19pb19l' - 'bmFibGVkGAEgASgIUhJyZXN0QXN5bmNJb0VuYWJsZWQSRQofcHJvdG9idWZfcHl0aG9uaWNfdH' - 'lwZXNfZW5hYmxlZBgCIAEoCFIccHJvdG9idWZQeXRob25pY1R5cGVzRW5hYmxlZBJAChx1bnZl' - 'cnNpb25lZF9wYWNrYWdlX2Rpc2FibGVkGAMgASgIUhp1bnZlcnNpb25lZFBhY2thZ2VEaXNhYm' - 'xlZA=='); - -@$core.Deprecated('Use nodeSettingsDescriptor instead') -const NodeSettings$json = { - '1': 'NodeSettings', - '2': [ - {'1': 'common', '3': 1, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - ], -}; - -/// Descriptor for `NodeSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List nodeSettingsDescriptor = $convert.base64Decode( - 'CgxOb2RlU2V0dGluZ3MSOgoGY29tbW9uGAEgASgLMiIuZ29vZ2xlLmFwaS5Db21tb25MYW5ndW' - 'FnZVNldHRpbmdzUgZjb21tb24='); - -@$core.Deprecated('Use dotnetSettingsDescriptor instead') -const DotnetSettings$json = { - '1': 'DotnetSettings', - '2': [ - {'1': 'common', '3': 1, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - {'1': 'renamed_services', '3': 2, '4': 3, '5': 11, '6': '.google.api.DotnetSettings.RenamedServicesEntry', '10': 'renamedServices'}, - {'1': 'renamed_resources', '3': 3, '4': 3, '5': 11, '6': '.google.api.DotnetSettings.RenamedResourcesEntry', '10': 'renamedResources'}, - {'1': 'ignored_resources', '3': 4, '4': 3, '5': 9, '10': 'ignoredResources'}, - {'1': 'forced_namespace_aliases', '3': 5, '4': 3, '5': 9, '10': 'forcedNamespaceAliases'}, - {'1': 'handwritten_signatures', '3': 6, '4': 3, '5': 9, '10': 'handwrittenSignatures'}, - ], - '3': [DotnetSettings_RenamedServicesEntry$json, DotnetSettings_RenamedResourcesEntry$json], -}; - -@$core.Deprecated('Use dotnetSettingsDescriptor instead') -const DotnetSettings_RenamedServicesEntry$json = { - '1': 'RenamedServicesEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use dotnetSettingsDescriptor instead') -const DotnetSettings_RenamedResourcesEntry$json = { - '1': 'RenamedResourcesEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `DotnetSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dotnetSettingsDescriptor = $convert.base64Decode( - 'Cg5Eb3RuZXRTZXR0aW5ncxI6CgZjb21tb24YASABKAsyIi5nb29nbGUuYXBpLkNvbW1vbkxhbm' - 'd1YWdlU2V0dGluZ3NSBmNvbW1vbhJaChByZW5hbWVkX3NlcnZpY2VzGAIgAygLMi8uZ29vZ2xl' - 'LmFwaS5Eb3RuZXRTZXR0aW5ncy5SZW5hbWVkU2VydmljZXNFbnRyeVIPcmVuYW1lZFNlcnZpY2' - 'VzEl0KEXJlbmFtZWRfcmVzb3VyY2VzGAMgAygLMjAuZ29vZ2xlLmFwaS5Eb3RuZXRTZXR0aW5n' - 'cy5SZW5hbWVkUmVzb3VyY2VzRW50cnlSEHJlbmFtZWRSZXNvdXJjZXMSKwoRaWdub3JlZF9yZX' - 'NvdXJjZXMYBCADKAlSEGlnbm9yZWRSZXNvdXJjZXMSOAoYZm9yY2VkX25hbWVzcGFjZV9hbGlh' - 'c2VzGAUgAygJUhZmb3JjZWROYW1lc3BhY2VBbGlhc2VzEjUKFmhhbmR3cml0dGVuX3NpZ25hdH' - 'VyZXMYBiADKAlSFWhhbmR3cml0dGVuU2lnbmF0dXJlcxpCChRSZW5hbWVkU2VydmljZXNFbnRy' - 'eRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBGkMKFVJlbmFtZW' - 'RSZXNvdXJjZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6' - 'AjgB'); - -@$core.Deprecated('Use rubySettingsDescriptor instead') -const RubySettings$json = { - '1': 'RubySettings', - '2': [ - {'1': 'common', '3': 1, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - ], -}; - -/// Descriptor for `RubySettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List rubySettingsDescriptor = $convert.base64Decode( - 'CgxSdWJ5U2V0dGluZ3MSOgoGY29tbW9uGAEgASgLMiIuZ29vZ2xlLmFwaS5Db21tb25MYW5ndW' - 'FnZVNldHRpbmdzUgZjb21tb24='); - -@$core.Deprecated('Use goSettingsDescriptor instead') -const GoSettings$json = { - '1': 'GoSettings', - '2': [ - {'1': 'common', '3': 1, '4': 1, '5': 11, '6': '.google.api.CommonLanguageSettings', '10': 'common'}, - {'1': 'renamed_services', '3': 2, '4': 3, '5': 11, '6': '.google.api.GoSettings.RenamedServicesEntry', '10': 'renamedServices'}, - ], - '3': [GoSettings_RenamedServicesEntry$json], -}; - -@$core.Deprecated('Use goSettingsDescriptor instead') -const GoSettings_RenamedServicesEntry$json = { - '1': 'RenamedServicesEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `GoSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List goSettingsDescriptor = $convert.base64Decode( - 'CgpHb1NldHRpbmdzEjoKBmNvbW1vbhgBIAEoCzIiLmdvb2dsZS5hcGkuQ29tbW9uTGFuZ3VhZ2' - 'VTZXR0aW5nc1IGY29tbW9uElYKEHJlbmFtZWRfc2VydmljZXMYAiADKAsyKy5nb29nbGUuYXBp' - 'LkdvU2V0dGluZ3MuUmVuYW1lZFNlcnZpY2VzRW50cnlSD3JlbmFtZWRTZXJ2aWNlcxpCChRSZW' - '5hbWVkU2VydmljZXNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFs' - 'dWU6AjgB'); - -@$core.Deprecated('Use methodSettingsDescriptor instead') -const MethodSettings$json = { - '1': 'MethodSettings', - '2': [ - {'1': 'selector', '3': 1, '4': 1, '5': 9, '10': 'selector'}, - {'1': 'long_running', '3': 2, '4': 1, '5': 11, '6': '.google.api.MethodSettings.LongRunning', '10': 'longRunning'}, - {'1': 'auto_populated_fields', '3': 3, '4': 3, '5': 9, '10': 'autoPopulatedFields'}, - ], - '3': [MethodSettings_LongRunning$json], -}; - -@$core.Deprecated('Use methodSettingsDescriptor instead') -const MethodSettings_LongRunning$json = { - '1': 'LongRunning', - '2': [ - {'1': 'initial_poll_delay', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'initialPollDelay'}, - {'1': 'poll_delay_multiplier', '3': 2, '4': 1, '5': 2, '10': 'pollDelayMultiplier'}, - {'1': 'max_poll_delay', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'maxPollDelay'}, - {'1': 'total_poll_timeout', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'totalPollTimeout'}, - ], -}; - -/// Descriptor for `MethodSettings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List methodSettingsDescriptor = $convert.base64Decode( - 'Cg5NZXRob2RTZXR0aW5ncxIaCghzZWxlY3RvchgBIAEoCVIIc2VsZWN0b3ISSQoMbG9uZ19ydW' - '5uaW5nGAIgASgLMiYuZ29vZ2xlLmFwaS5NZXRob2RTZXR0aW5ncy5Mb25nUnVubmluZ1ILbG9u' - 'Z1J1bm5pbmcSMgoVYXV0b19wb3B1bGF0ZWRfZmllbGRzGAMgAygJUhNhdXRvUG9wdWxhdGVkRm' - 'llbGRzGpQCCgtMb25nUnVubmluZxJHChJpbml0aWFsX3BvbGxfZGVsYXkYASABKAsyGS5nb29n' - 'bGUucHJvdG9idWYuRHVyYXRpb25SEGluaXRpYWxQb2xsRGVsYXkSMgoVcG9sbF9kZWxheV9tdW' - 'x0aXBsaWVyGAIgASgCUhNwb2xsRGVsYXlNdWx0aXBsaWVyEj8KDm1heF9wb2xsX2RlbGF5GAMg' - 'ASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uUgxtYXhQb2xsRGVsYXkSRwoSdG90YWxfcG' - '9sbF90aW1lb3V0GAQgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uUhB0b3RhbFBvbGxU' - 'aW1lb3V0'); - -@$core.Deprecated('Use selectiveGapicGenerationDescriptor instead') -const SelectiveGapicGeneration$json = { - '1': 'SelectiveGapicGeneration', - '2': [ - {'1': 'methods', '3': 1, '4': 3, '5': 9, '10': 'methods'}, - {'1': 'generate_omitted_as_internal', '3': 2, '4': 1, '5': 8, '10': 'generateOmittedAsInternal'}, - ], -}; - -/// Descriptor for `SelectiveGapicGeneration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List selectiveGapicGenerationDescriptor = $convert.base64Decode( - 'ChhTZWxlY3RpdmVHYXBpY0dlbmVyYXRpb24SGAoHbWV0aG9kcxgBIAMoCVIHbWV0aG9kcxI/Ch' - 'xnZW5lcmF0ZV9vbWl0dGVkX2FzX2ludGVybmFsGAIgASgIUhlnZW5lcmF0ZU9taXR0ZWRBc0lu' - 'dGVybmFs'); - diff --git a/lib/src/gen/google/api/expr/v1alpha1/checked.pb.dart b/lib/src/gen/google/api/expr/v1alpha1/checked.pb.dart deleted file mode 100644 index 5a47689cce0..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/checked.pb.dart +++ /dev/null @@ -1,1193 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/checked.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../protobuf/empty.pb.dart' as $2; -import '../../../protobuf/struct.pbenum.dart' as $7; -import 'checked.pbenum.dart'; -import 'syntax.pb.dart' as $8; - -export 'checked.pbenum.dart'; - -/// A CEL expression which has been successfully type checked. -class CheckedExpr extends $pb.GeneratedMessage { - factory CheckedExpr({ - $core.Map<$fixnum.Int64, Reference>? referenceMap, - $core.Map<$fixnum.Int64, Type>? typeMap, - $8.Expr? expr, - $8.SourceInfo? sourceInfo, - $core.String? exprVersion, - }) { - final $result = create(); - if (referenceMap != null) { - $result.referenceMap.addAll(referenceMap); - } - if (typeMap != null) { - $result.typeMap.addAll(typeMap); - } - if (expr != null) { - $result.expr = expr; - } - if (sourceInfo != null) { - $result.sourceInfo = sourceInfo; - } - if (exprVersion != null) { - $result.exprVersion = exprVersion; - } - return $result; - } - CheckedExpr._() : super(); - factory CheckedExpr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CheckedExpr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CheckedExpr', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..m<$fixnum.Int64, Reference>(2, _omitFieldNames ? '' : 'referenceMap', entryClassName: 'CheckedExpr.ReferenceMapEntry', keyFieldType: $pb.PbFieldType.O6, valueFieldType: $pb.PbFieldType.OM, valueCreator: Reference.create, valueDefaultOrMaker: Reference.getDefault, packageName: const $pb.PackageName('google.api.expr.v1alpha1')) - ..m<$fixnum.Int64, Type>(3, _omitFieldNames ? '' : 'typeMap', entryClassName: 'CheckedExpr.TypeMapEntry', keyFieldType: $pb.PbFieldType.O6, valueFieldType: $pb.PbFieldType.OM, valueCreator: Type.create, valueDefaultOrMaker: Type.getDefault, packageName: const $pb.PackageName('google.api.expr.v1alpha1')) - ..aOM<$8.Expr>(4, _omitFieldNames ? '' : 'expr', subBuilder: $8.Expr.create) - ..aOM<$8.SourceInfo>(5, _omitFieldNames ? '' : 'sourceInfo', subBuilder: $8.SourceInfo.create) - ..aOS(6, _omitFieldNames ? '' : 'exprVersion') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CheckedExpr clone() => CheckedExpr()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CheckedExpr copyWith(void Function(CheckedExpr) updates) => super.copyWith((message) => updates(message as CheckedExpr)) as CheckedExpr; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CheckedExpr create() => CheckedExpr._(); - CheckedExpr createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CheckedExpr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CheckedExpr? _defaultInstance; - - /// A map from expression ids to resolved references. - /// - /// The following entries are in this table: - /// - /// - An Ident or Select expression is represented here if it resolves to a - /// declaration. For instance, if `a.b.c` is represented by - /// `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, - /// while `c` is a field selection, then the reference is attached to the - /// nested select expression (but not to the id or or the outer select). - /// In turn, if `a` resolves to a declaration and `b.c` are field selections, - /// the reference is attached to the ident expression. - /// - Every Call expression has an entry here, identifying the function being - /// called. - /// - Every CreateStruct expression for a message has an entry, identifying - /// the message. - @$pb.TagNumber(2) - $core.Map<$fixnum.Int64, Reference> get referenceMap => $_getMap(0); - - /// A map from expression ids to types. - /// - /// Every expression node which has a type different than DYN has a mapping - /// here. If an expression has type DYN, it is omitted from this map to save - /// space. - @$pb.TagNumber(3) - $core.Map<$fixnum.Int64, Type> get typeMap => $_getMap(1); - - /// The checked expression. Semantically equivalent to the parsed `expr`, but - /// may have structural differences. - @$pb.TagNumber(4) - $8.Expr get expr => $_getN(2); - @$pb.TagNumber(4) - set expr($8.Expr v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasExpr() => $_has(2); - @$pb.TagNumber(4) - void clearExpr() => clearField(4); - @$pb.TagNumber(4) - $8.Expr ensureExpr() => $_ensure(2); - - /// The source info derived from input that generated the parsed `expr` and - /// any optimizations made during the type-checking pass. - @$pb.TagNumber(5) - $8.SourceInfo get sourceInfo => $_getN(3); - @$pb.TagNumber(5) - set sourceInfo($8.SourceInfo v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasSourceInfo() => $_has(3); - @$pb.TagNumber(5) - void clearSourceInfo() => clearField(5); - @$pb.TagNumber(5) - $8.SourceInfo ensureSourceInfo() => $_ensure(3); - - /// The expr version indicates the major / minor version number of the `expr` - /// representation. - /// - /// The most common reason for a version change will be to indicate to the CEL - /// runtimes that transformations have been performed on the expr during static - /// analysis. In some cases, this will save the runtime the work of applying - /// the same or similar transformations prior to evaluation. - @$pb.TagNumber(6) - $core.String get exprVersion => $_getSZ(4); - @$pb.TagNumber(6) - set exprVersion($core.String v) { $_setString(4, v); } - @$pb.TagNumber(6) - $core.bool hasExprVersion() => $_has(4); - @$pb.TagNumber(6) - void clearExprVersion() => clearField(6); -} - -/// List type with typed elements, e.g. `list`. -class Type_ListType extends $pb.GeneratedMessage { - factory Type_ListType({ - Type? elemType, - }) { - final $result = create(); - if (elemType != null) { - $result.elemType = elemType; - } - return $result; - } - Type_ListType._() : super(); - factory Type_ListType.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Type_ListType.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type.ListType', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'elemType', subBuilder: Type.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Type_ListType clone() => Type_ListType()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Type_ListType copyWith(void Function(Type_ListType) updates) => super.copyWith((message) => updates(message as Type_ListType)) as Type_ListType; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Type_ListType create() => Type_ListType._(); - Type_ListType createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Type_ListType getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Type_ListType? _defaultInstance; - - /// The element type. - @$pb.TagNumber(1) - Type get elemType => $_getN(0); - @$pb.TagNumber(1) - set elemType(Type v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasElemType() => $_has(0); - @$pb.TagNumber(1) - void clearElemType() => clearField(1); - @$pb.TagNumber(1) - Type ensureElemType() => $_ensure(0); -} - -/// Map type with parameterized key and value types, e.g. `map`. -class Type_MapType extends $pb.GeneratedMessage { - factory Type_MapType({ - Type? keyType, - Type? valueType, - }) { - final $result = create(); - if (keyType != null) { - $result.keyType = keyType; - } - if (valueType != null) { - $result.valueType = valueType; - } - return $result; - } - Type_MapType._() : super(); - factory Type_MapType.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Type_MapType.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type.MapType', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'keyType', subBuilder: Type.create) - ..aOM(2, _omitFieldNames ? '' : 'valueType', subBuilder: Type.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Type_MapType clone() => Type_MapType()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Type_MapType copyWith(void Function(Type_MapType) updates) => super.copyWith((message) => updates(message as Type_MapType)) as Type_MapType; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Type_MapType create() => Type_MapType._(); - Type_MapType createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Type_MapType getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Type_MapType? _defaultInstance; - - /// The type of the key. - @$pb.TagNumber(1) - Type get keyType => $_getN(0); - @$pb.TagNumber(1) - set keyType(Type v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasKeyType() => $_has(0); - @$pb.TagNumber(1) - void clearKeyType() => clearField(1); - @$pb.TagNumber(1) - Type ensureKeyType() => $_ensure(0); - - /// The type of the value. - @$pb.TagNumber(2) - Type get valueType => $_getN(1); - @$pb.TagNumber(2) - set valueType(Type v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasValueType() => $_has(1); - @$pb.TagNumber(2) - void clearValueType() => clearField(2); - @$pb.TagNumber(2) - Type ensureValueType() => $_ensure(1); -} - -/// Function type with result and arg types. -class Type_FunctionType extends $pb.GeneratedMessage { - factory Type_FunctionType({ - Type? resultType, - $core.Iterable? argTypes, - }) { - final $result = create(); - if (resultType != null) { - $result.resultType = resultType; - } - if (argTypes != null) { - $result.argTypes.addAll(argTypes); - } - return $result; - } - Type_FunctionType._() : super(); - factory Type_FunctionType.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Type_FunctionType.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type.FunctionType', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'resultType', subBuilder: Type.create) - ..pc(2, _omitFieldNames ? '' : 'argTypes', $pb.PbFieldType.PM, subBuilder: Type.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Type_FunctionType clone() => Type_FunctionType()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Type_FunctionType copyWith(void Function(Type_FunctionType) updates) => super.copyWith((message) => updates(message as Type_FunctionType)) as Type_FunctionType; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Type_FunctionType create() => Type_FunctionType._(); - Type_FunctionType createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Type_FunctionType getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Type_FunctionType? _defaultInstance; - - /// Result type of the function. - @$pb.TagNumber(1) - Type get resultType => $_getN(0); - @$pb.TagNumber(1) - set resultType(Type v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasResultType() => $_has(0); - @$pb.TagNumber(1) - void clearResultType() => clearField(1); - @$pb.TagNumber(1) - Type ensureResultType() => $_ensure(0); - - /// Argument types of the function. - @$pb.TagNumber(2) - $core.List get argTypes => $_getList(1); -} - -/// Application defined abstract type. -class Type_AbstractType extends $pb.GeneratedMessage { - factory Type_AbstractType({ - $core.String? name, - $core.Iterable? parameterTypes, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (parameterTypes != null) { - $result.parameterTypes.addAll(parameterTypes); - } - return $result; - } - Type_AbstractType._() : super(); - factory Type_AbstractType.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Type_AbstractType.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type.AbstractType', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pc(2, _omitFieldNames ? '' : 'parameterTypes', $pb.PbFieldType.PM, subBuilder: Type.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Type_AbstractType clone() => Type_AbstractType()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Type_AbstractType copyWith(void Function(Type_AbstractType) updates) => super.copyWith((message) => updates(message as Type_AbstractType)) as Type_AbstractType; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Type_AbstractType create() => Type_AbstractType._(); - Type_AbstractType createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Type_AbstractType getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Type_AbstractType? _defaultInstance; - - /// The fully qualified name of this abstract type. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Parameter types for this abstract type. - @$pb.TagNumber(2) - $core.List get parameterTypes => $_getList(1); -} - -enum Type_TypeKind { - dyn, - null_2, - primitive, - wrapper, - wellKnown, - listType, - mapType, - function, - messageType, - typeParam, - type, - error, - abstractType, - notSet -} - -/// Represents a CEL type. -class Type extends $pb.GeneratedMessage { - factory Type({ - $2.Empty? dyn, - $7.NullValue? null_2, - Type_PrimitiveType? primitive, - Type_PrimitiveType? wrapper, - Type_WellKnownType? wellKnown, - Type_ListType? listType, - Type_MapType? mapType, - Type_FunctionType? function, - $core.String? messageType, - $core.String? typeParam, - Type? type, - $2.Empty? error, - Type_AbstractType? abstractType, - }) { - final $result = create(); - if (dyn != null) { - $result.dyn = dyn; - } - if (null_2 != null) { - $result.null_2 = null_2; - } - if (primitive != null) { - $result.primitive = primitive; - } - if (wrapper != null) { - $result.wrapper = wrapper; - } - if (wellKnown != null) { - $result.wellKnown = wellKnown; - } - if (listType != null) { - $result.listType = listType; - } - if (mapType != null) { - $result.mapType = mapType; - } - if (function != null) { - $result.function = function; - } - if (messageType != null) { - $result.messageType = messageType; - } - if (typeParam != null) { - $result.typeParam = typeParam; - } - if (type != null) { - $result.type = type; - } - if (error != null) { - $result.error = error; - } - if (abstractType != null) { - $result.abstractType = abstractType; - } - return $result; - } - Type._() : super(); - factory Type.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Type.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Type_TypeKind> _Type_TypeKindByTag = { - 1 : Type_TypeKind.dyn, - 2 : Type_TypeKind.null_2, - 3 : Type_TypeKind.primitive, - 4 : Type_TypeKind.wrapper, - 5 : Type_TypeKind.wellKnown, - 6 : Type_TypeKind.listType, - 7 : Type_TypeKind.mapType, - 8 : Type_TypeKind.function, - 9 : Type_TypeKind.messageType, - 10 : Type_TypeKind.typeParam, - 11 : Type_TypeKind.type, - 12 : Type_TypeKind.error, - 14 : Type_TypeKind.abstractType, - 0 : Type_TypeKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Type', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14]) - ..aOM<$2.Empty>(1, _omitFieldNames ? '' : 'dyn', subBuilder: $2.Empty.create) - ..e<$7.NullValue>(2, _omitFieldNames ? '' : 'null', $pb.PbFieldType.OE, defaultOrMaker: $7.NullValue.NULL_VALUE, valueOf: $7.NullValue.valueOf, enumValues: $7.NullValue.values) - ..e(3, _omitFieldNames ? '' : 'primitive', $pb.PbFieldType.OE, defaultOrMaker: Type_PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED, valueOf: Type_PrimitiveType.valueOf, enumValues: Type_PrimitiveType.values) - ..e(4, _omitFieldNames ? '' : 'wrapper', $pb.PbFieldType.OE, defaultOrMaker: Type_PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED, valueOf: Type_PrimitiveType.valueOf, enumValues: Type_PrimitiveType.values) - ..e(5, _omitFieldNames ? '' : 'wellKnown', $pb.PbFieldType.OE, defaultOrMaker: Type_WellKnownType.WELL_KNOWN_TYPE_UNSPECIFIED, valueOf: Type_WellKnownType.valueOf, enumValues: Type_WellKnownType.values) - ..aOM(6, _omitFieldNames ? '' : 'listType', subBuilder: Type_ListType.create) - ..aOM(7, _omitFieldNames ? '' : 'mapType', subBuilder: Type_MapType.create) - ..aOM(8, _omitFieldNames ? '' : 'function', subBuilder: Type_FunctionType.create) - ..aOS(9, _omitFieldNames ? '' : 'messageType') - ..aOS(10, _omitFieldNames ? '' : 'typeParam') - ..aOM(11, _omitFieldNames ? '' : 'type', subBuilder: Type.create) - ..aOM<$2.Empty>(12, _omitFieldNames ? '' : 'error', subBuilder: $2.Empty.create) - ..aOM(14, _omitFieldNames ? '' : 'abstractType', subBuilder: Type_AbstractType.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Type clone() => Type()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Type copyWith(void Function(Type) updates) => super.copyWith((message) => updates(message as Type)) as Type; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Type create() => Type._(); - Type createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Type getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Type? _defaultInstance; - - Type_TypeKind whichTypeKind() => _Type_TypeKindByTag[$_whichOneof(0)]!; - void clearTypeKind() => clearField($_whichOneof(0)); - - /// Dynamic type. - @$pb.TagNumber(1) - $2.Empty get dyn => $_getN(0); - @$pb.TagNumber(1) - set dyn($2.Empty v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasDyn() => $_has(0); - @$pb.TagNumber(1) - void clearDyn() => clearField(1); - @$pb.TagNumber(1) - $2.Empty ensureDyn() => $_ensure(0); - - /// Null value. - @$pb.TagNumber(2) - $7.NullValue get null_2 => $_getN(1); - @$pb.TagNumber(2) - set null_2($7.NullValue v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasNull_2() => $_has(1); - @$pb.TagNumber(2) - void clearNull_2() => clearField(2); - - /// Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`. - @$pb.TagNumber(3) - Type_PrimitiveType get primitive => $_getN(2); - @$pb.TagNumber(3) - set primitive(Type_PrimitiveType v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasPrimitive() => $_has(2); - @$pb.TagNumber(3) - void clearPrimitive() => clearField(3); - - /// Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`. - @$pb.TagNumber(4) - Type_PrimitiveType get wrapper => $_getN(3); - @$pb.TagNumber(4) - set wrapper(Type_PrimitiveType v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasWrapper() => $_has(3); - @$pb.TagNumber(4) - void clearWrapper() => clearField(4); - - /// Well-known protobuf type such as `google.protobuf.Timestamp`. - @$pb.TagNumber(5) - Type_WellKnownType get wellKnown => $_getN(4); - @$pb.TagNumber(5) - set wellKnown(Type_WellKnownType v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasWellKnown() => $_has(4); - @$pb.TagNumber(5) - void clearWellKnown() => clearField(5); - - /// Parameterized list with elements of `list_type`, e.g. `list`. - @$pb.TagNumber(6) - Type_ListType get listType => $_getN(5); - @$pb.TagNumber(6) - set listType(Type_ListType v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasListType() => $_has(5); - @$pb.TagNumber(6) - void clearListType() => clearField(6); - @$pb.TagNumber(6) - Type_ListType ensureListType() => $_ensure(5); - - /// Parameterized map with typed keys and values. - @$pb.TagNumber(7) - Type_MapType get mapType => $_getN(6); - @$pb.TagNumber(7) - set mapType(Type_MapType v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasMapType() => $_has(6); - @$pb.TagNumber(7) - void clearMapType() => clearField(7); - @$pb.TagNumber(7) - Type_MapType ensureMapType() => $_ensure(6); - - /// Function type. - @$pb.TagNumber(8) - Type_FunctionType get function => $_getN(7); - @$pb.TagNumber(8) - set function(Type_FunctionType v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasFunction() => $_has(7); - @$pb.TagNumber(8) - void clearFunction() => clearField(8); - @$pb.TagNumber(8) - Type_FunctionType ensureFunction() => $_ensure(7); - - /// Protocol buffer message type. - /// - /// The `message_type` string specifies the qualified message type name. For - /// example, `google.plus.Profile`. - @$pb.TagNumber(9) - $core.String get messageType => $_getSZ(8); - @$pb.TagNumber(9) - set messageType($core.String v) { $_setString(8, v); } - @$pb.TagNumber(9) - $core.bool hasMessageType() => $_has(8); - @$pb.TagNumber(9) - void clearMessageType() => clearField(9); - - /// Type param type. - /// - /// The `type_param` string specifies the type parameter name, e.g. `list` - /// would be a `list_type` whose element type was a `type_param` type - /// named `E`. - @$pb.TagNumber(10) - $core.String get typeParam => $_getSZ(9); - @$pb.TagNumber(10) - set typeParam($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasTypeParam() => $_has(9); - @$pb.TagNumber(10) - void clearTypeParam() => clearField(10); - - /// Type type. - /// - /// The `type` value specifies the target type. e.g. int is type with a - /// target type of `Primitive.INT`. - @$pb.TagNumber(11) - Type get type => $_getN(10); - @$pb.TagNumber(11) - set type(Type v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasType() => $_has(10); - @$pb.TagNumber(11) - void clearType() => clearField(11); - @$pb.TagNumber(11) - Type ensureType() => $_ensure(10); - - /// Error type. - /// - /// During type-checking if an expression is an error, its type is propagated - /// as the `ERROR` type. This permits the type-checker to discover other - /// errors present in the expression. - @$pb.TagNumber(12) - $2.Empty get error => $_getN(11); - @$pb.TagNumber(12) - set error($2.Empty v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasError() => $_has(11); - @$pb.TagNumber(12) - void clearError() => clearField(12); - @$pb.TagNumber(12) - $2.Empty ensureError() => $_ensure(11); - - /// Abstract, application defined type. - @$pb.TagNumber(14) - Type_AbstractType get abstractType => $_getN(12); - @$pb.TagNumber(14) - set abstractType(Type_AbstractType v) { setField(14, v); } - @$pb.TagNumber(14) - $core.bool hasAbstractType() => $_has(12); - @$pb.TagNumber(14) - void clearAbstractType() => clearField(14); - @$pb.TagNumber(14) - Type_AbstractType ensureAbstractType() => $_ensure(12); -} - -/// Identifier declaration which specifies its type and optional `Expr` value. -/// -/// An identifier without a value is a declaration that must be provided at -/// evaluation time. An identifier with a value should resolve to a constant, -/// but may be used in conjunction with other identifiers bound at evaluation -/// time. -class Decl_IdentDecl extends $pb.GeneratedMessage { - factory Decl_IdentDecl({ - Type? type, - $8.Constant? value, - $core.String? doc, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (value != null) { - $result.value = value; - } - if (doc != null) { - $result.doc = doc; - } - return $result; - } - Decl_IdentDecl._() : super(); - factory Decl_IdentDecl.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Decl_IdentDecl.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Decl.IdentDecl', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'type', subBuilder: Type.create) - ..aOM<$8.Constant>(2, _omitFieldNames ? '' : 'value', subBuilder: $8.Constant.create) - ..aOS(3, _omitFieldNames ? '' : 'doc') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Decl_IdentDecl clone() => Decl_IdentDecl()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Decl_IdentDecl copyWith(void Function(Decl_IdentDecl) updates) => super.copyWith((message) => updates(message as Decl_IdentDecl)) as Decl_IdentDecl; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Decl_IdentDecl create() => Decl_IdentDecl._(); - Decl_IdentDecl createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Decl_IdentDecl getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Decl_IdentDecl? _defaultInstance; - - /// Required. The type of the identifier. - @$pb.TagNumber(1) - Type get type => $_getN(0); - @$pb.TagNumber(1) - set type(Type v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - @$pb.TagNumber(1) - Type ensureType() => $_ensure(0); - - /// The constant value of the identifier. If not specified, the identifier - /// must be supplied at evaluation time. - @$pb.TagNumber(2) - $8.Constant get value => $_getN(1); - @$pb.TagNumber(2) - set value($8.Constant v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); - @$pb.TagNumber(2) - $8.Constant ensureValue() => $_ensure(1); - - /// Documentation string for the identifier. - @$pb.TagNumber(3) - $core.String get doc => $_getSZ(2); - @$pb.TagNumber(3) - set doc($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDoc() => $_has(2); - @$pb.TagNumber(3) - void clearDoc() => clearField(3); -} - -/// An overload indicates a function's parameter types and return type, and -/// may optionally include a function body described in terms of -/// [Expr][google.api.expr.v1alpha1.Expr] values. -/// -/// Functions overloads are declared in either a function or method -/// call-style. For methods, the `params[0]` is the expected type of the -/// target receiver. -/// -/// Overloads must have non-overlapping argument types after erasure of all -/// parameterized type variables (similar as type erasure in Java). -class Decl_FunctionDecl_Overload extends $pb.GeneratedMessage { - factory Decl_FunctionDecl_Overload({ - $core.String? overloadId, - $core.Iterable? params, - $core.Iterable<$core.String>? typeParams, - Type? resultType, - $core.bool? isInstanceFunction, - $core.String? doc, - }) { - final $result = create(); - if (overloadId != null) { - $result.overloadId = overloadId; - } - if (params != null) { - $result.params.addAll(params); - } - if (typeParams != null) { - $result.typeParams.addAll(typeParams); - } - if (resultType != null) { - $result.resultType = resultType; - } - if (isInstanceFunction != null) { - $result.isInstanceFunction = isInstanceFunction; - } - if (doc != null) { - $result.doc = doc; - } - return $result; - } - Decl_FunctionDecl_Overload._() : super(); - factory Decl_FunctionDecl_Overload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Decl_FunctionDecl_Overload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Decl.FunctionDecl.Overload', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'overloadId') - ..pc(2, _omitFieldNames ? '' : 'params', $pb.PbFieldType.PM, subBuilder: Type.create) - ..pPS(3, _omitFieldNames ? '' : 'typeParams') - ..aOM(4, _omitFieldNames ? '' : 'resultType', subBuilder: Type.create) - ..aOB(5, _omitFieldNames ? '' : 'isInstanceFunction') - ..aOS(6, _omitFieldNames ? '' : 'doc') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Decl_FunctionDecl_Overload clone() => Decl_FunctionDecl_Overload()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Decl_FunctionDecl_Overload copyWith(void Function(Decl_FunctionDecl_Overload) updates) => super.copyWith((message) => updates(message as Decl_FunctionDecl_Overload)) as Decl_FunctionDecl_Overload; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Decl_FunctionDecl_Overload create() => Decl_FunctionDecl_Overload._(); - Decl_FunctionDecl_Overload createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Decl_FunctionDecl_Overload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Decl_FunctionDecl_Overload? _defaultInstance; - - /// Required. Globally unique overload name of the function which reflects - /// the function name and argument types. - /// - /// This will be used by a [Reference][google.api.expr.v1alpha1.Reference] - /// to indicate the `overload_id` that was resolved for the function - /// `name`. - @$pb.TagNumber(1) - $core.String get overloadId => $_getSZ(0); - @$pb.TagNumber(1) - set overloadId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasOverloadId() => $_has(0); - @$pb.TagNumber(1) - void clearOverloadId() => clearField(1); - - /// List of function parameter [Type][google.api.expr.v1alpha1.Type] - /// values. - /// - /// Param types are disjoint after generic type parameters have been - /// replaced with the type `DYN`. Since the `DYN` type is compatible with - /// any other type, this means that if `A` is a type parameter, the - /// function types `int` and `int` are not disjoint. Likewise, - /// `map` is not disjoint from `map`. - /// - /// When the `result_type` of a function is a generic type param, the - /// type param name also appears as the `type` of on at least one params. - @$pb.TagNumber(2) - $core.List get params => $_getList(1); - - /// The type param names associated with the function declaration. - /// - /// For example, `function ex(K key, map map) : V` would yield - /// the type params of `K, V`. - @$pb.TagNumber(3) - $core.List<$core.String> get typeParams => $_getList(2); - - /// Required. The result type of the function. For example, the operator - /// `string.isEmpty()` would have `result_type` of `kind: BOOL`. - @$pb.TagNumber(4) - Type get resultType => $_getN(3); - @$pb.TagNumber(4) - set resultType(Type v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasResultType() => $_has(3); - @$pb.TagNumber(4) - void clearResultType() => clearField(4); - @$pb.TagNumber(4) - Type ensureResultType() => $_ensure(3); - - /// Whether the function is to be used in a method call-style `x.f(...)` - /// or a function call-style `f(x, ...)`. - /// - /// For methods, the first parameter declaration, `params[0]` is the - /// expected type of the target receiver. - @$pb.TagNumber(5) - $core.bool get isInstanceFunction => $_getBF(4); - @$pb.TagNumber(5) - set isInstanceFunction($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasIsInstanceFunction() => $_has(4); - @$pb.TagNumber(5) - void clearIsInstanceFunction() => clearField(5); - - /// Documentation string for the overload. - @$pb.TagNumber(6) - $core.String get doc => $_getSZ(5); - @$pb.TagNumber(6) - set doc($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasDoc() => $_has(5); - @$pb.TagNumber(6) - void clearDoc() => clearField(6); -} - -/// Function declaration specifies one or more overloads which indicate the -/// function's parameter types and return type. -/// -/// Functions have no observable side-effects (there may be side-effects like -/// logging which are not observable from CEL). -class Decl_FunctionDecl extends $pb.GeneratedMessage { - factory Decl_FunctionDecl({ - $core.Iterable? overloads, - }) { - final $result = create(); - if (overloads != null) { - $result.overloads.addAll(overloads); - } - return $result; - } - Decl_FunctionDecl._() : super(); - factory Decl_FunctionDecl.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Decl_FunctionDecl.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Decl.FunctionDecl', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'overloads', $pb.PbFieldType.PM, subBuilder: Decl_FunctionDecl_Overload.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Decl_FunctionDecl clone() => Decl_FunctionDecl()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Decl_FunctionDecl copyWith(void Function(Decl_FunctionDecl) updates) => super.copyWith((message) => updates(message as Decl_FunctionDecl)) as Decl_FunctionDecl; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Decl_FunctionDecl create() => Decl_FunctionDecl._(); - Decl_FunctionDecl createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Decl_FunctionDecl getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Decl_FunctionDecl? _defaultInstance; - - /// Required. List of function overloads, must contain at least one overload. - @$pb.TagNumber(1) - $core.List get overloads => $_getList(0); -} - -enum Decl_DeclKind { - ident, - function, - notSet -} - -/// Represents a declaration of a named value or function. -/// -/// A declaration is part of the contract between the expression, the agent -/// evaluating that expression, and the caller requesting evaluation. -class Decl extends $pb.GeneratedMessage { - factory Decl({ - $core.String? name, - Decl_IdentDecl? ident, - Decl_FunctionDecl? function, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (ident != null) { - $result.ident = ident; - } - if (function != null) { - $result.function = function; - } - return $result; - } - Decl._() : super(); - factory Decl.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Decl.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Decl_DeclKind> _Decl_DeclKindByTag = { - 2 : Decl_DeclKind.ident, - 3 : Decl_DeclKind.function, - 0 : Decl_DeclKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Decl', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..oo(0, [2, 3]) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM(2, _omitFieldNames ? '' : 'ident', subBuilder: Decl_IdentDecl.create) - ..aOM(3, _omitFieldNames ? '' : 'function', subBuilder: Decl_FunctionDecl.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Decl clone() => Decl()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Decl copyWith(void Function(Decl) updates) => super.copyWith((message) => updates(message as Decl)) as Decl; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Decl create() => Decl._(); - Decl createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Decl getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Decl? _defaultInstance; - - Decl_DeclKind whichDeclKind() => _Decl_DeclKindByTag[$_whichOneof(0)]!; - void clearDeclKind() => clearField($_whichOneof(0)); - - /// The fully qualified name of the declaration. - /// - /// Declarations are organized in containers and this represents the full path - /// to the declaration in its container, as in `google.api.expr.Decl`. - /// - /// Declarations used as - /// [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] - /// parameters may or may not have a name depending on whether the overload is - /// function declaration or a function definition containing a result - /// [Expr][google.api.expr.v1alpha1.Expr]. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Identifier declaration. - @$pb.TagNumber(2) - Decl_IdentDecl get ident => $_getN(1); - @$pb.TagNumber(2) - set ident(Decl_IdentDecl v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasIdent() => $_has(1); - @$pb.TagNumber(2) - void clearIdent() => clearField(2); - @$pb.TagNumber(2) - Decl_IdentDecl ensureIdent() => $_ensure(1); - - /// Function declaration. - @$pb.TagNumber(3) - Decl_FunctionDecl get function => $_getN(2); - @$pb.TagNumber(3) - set function(Decl_FunctionDecl v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasFunction() => $_has(2); - @$pb.TagNumber(3) - void clearFunction() => clearField(3); - @$pb.TagNumber(3) - Decl_FunctionDecl ensureFunction() => $_ensure(2); -} - -/// Describes a resolved reference to a declaration. -class Reference extends $pb.GeneratedMessage { - factory Reference({ - $core.String? name, - $core.Iterable<$core.String>? overloadId, - $8.Constant? value, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (overloadId != null) { - $result.overloadId.addAll(overloadId); - } - if (value != null) { - $result.value = value; - } - return $result; - } - Reference._() : super(); - factory Reference.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Reference.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Reference', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pPS(3, _omitFieldNames ? '' : 'overloadId') - ..aOM<$8.Constant>(4, _omitFieldNames ? '' : 'value', subBuilder: $8.Constant.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Reference clone() => Reference()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Reference copyWith(void Function(Reference) updates) => super.copyWith((message) => updates(message as Reference)) as Reference; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Reference create() => Reference._(); - Reference createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Reference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Reference? _defaultInstance; - - /// The fully qualified name of the declaration. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// For references to functions, this is a list of `Overload.overload_id` - /// values which match according to typing rules. - /// - /// If the list has more than one element, overload resolution among the - /// presented candidates must happen at runtime because of dynamic types. The - /// type checker attempts to narrow down this list as much as possible. - /// - /// Empty if this is not a reference to a - /// [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl]. - @$pb.TagNumber(3) - $core.List<$core.String> get overloadId => $_getList(1); - - /// For references to constants, this may contain the value of the - /// constant if known at compile time. - @$pb.TagNumber(4) - $8.Constant get value => $_getN(2); - @$pb.TagNumber(4) - set value($8.Constant v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasValue() => $_has(2); - @$pb.TagNumber(4) - void clearValue() => clearField(4); - @$pb.TagNumber(4) - $8.Constant ensureValue() => $_ensure(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1alpha1/checked.pbenum.dart b/lib/src/gen/google/api/expr/v1alpha1/checked.pbenum.dart deleted file mode 100644 index 6ff7e023162..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/checked.pbenum.dart +++ /dev/null @@ -1,63 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/checked.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// CEL primitive types. -class Type_PrimitiveType extends $pb.ProtobufEnum { - static const Type_PrimitiveType PRIMITIVE_TYPE_UNSPECIFIED = Type_PrimitiveType._(0, _omitEnumNames ? '' : 'PRIMITIVE_TYPE_UNSPECIFIED'); - static const Type_PrimitiveType BOOL = Type_PrimitiveType._(1, _omitEnumNames ? '' : 'BOOL'); - static const Type_PrimitiveType INT64 = Type_PrimitiveType._(2, _omitEnumNames ? '' : 'INT64'); - static const Type_PrimitiveType UINT64 = Type_PrimitiveType._(3, _omitEnumNames ? '' : 'UINT64'); - static const Type_PrimitiveType DOUBLE = Type_PrimitiveType._(4, _omitEnumNames ? '' : 'DOUBLE'); - static const Type_PrimitiveType STRING = Type_PrimitiveType._(5, _omitEnumNames ? '' : 'STRING'); - static const Type_PrimitiveType BYTES = Type_PrimitiveType._(6, _omitEnumNames ? '' : 'BYTES'); - - static const $core.List values = [ - PRIMITIVE_TYPE_UNSPECIFIED, - BOOL, - INT64, - UINT64, - DOUBLE, - STRING, - BYTES, - ]; - - static final $core.Map<$core.int, Type_PrimitiveType> _byValue = $pb.ProtobufEnum.initByValue(values); - static Type_PrimitiveType? valueOf($core.int value) => _byValue[value]; - - const Type_PrimitiveType._($core.int v, $core.String n) : super(v, n); -} - -/// Well-known protobuf types treated with first-class support in CEL. -class Type_WellKnownType extends $pb.ProtobufEnum { - static const Type_WellKnownType WELL_KNOWN_TYPE_UNSPECIFIED = Type_WellKnownType._(0, _omitEnumNames ? '' : 'WELL_KNOWN_TYPE_UNSPECIFIED'); - static const Type_WellKnownType ANY = Type_WellKnownType._(1, _omitEnumNames ? '' : 'ANY'); - static const Type_WellKnownType TIMESTAMP = Type_WellKnownType._(2, _omitEnumNames ? '' : 'TIMESTAMP'); - static const Type_WellKnownType DURATION = Type_WellKnownType._(3, _omitEnumNames ? '' : 'DURATION'); - - static const $core.List values = [ - WELL_KNOWN_TYPE_UNSPECIFIED, - ANY, - TIMESTAMP, - DURATION, - ]; - - static final $core.Map<$core.int, Type_WellKnownType> _byValue = $pb.ProtobufEnum.initByValue(values); - static Type_WellKnownType? valueOf($core.int value) => _byValue[value]; - - const Type_WellKnownType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/api/expr/v1alpha1/checked.pbjson.dart b/lib/src/gen/google/api/expr/v1alpha1/checked.pbjson.dart deleted file mode 100644 index 5978c6b5b1e..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/checked.pbjson.dart +++ /dev/null @@ -1,254 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/checked.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use checkedExprDescriptor instead') -const CheckedExpr$json = { - '1': 'CheckedExpr', - '2': [ - {'1': 'reference_map', '3': 2, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.CheckedExpr.ReferenceMapEntry', '10': 'referenceMap'}, - {'1': 'type_map', '3': 3, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.CheckedExpr.TypeMapEntry', '10': 'typeMap'}, - {'1': 'source_info', '3': 5, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.SourceInfo', '10': 'sourceInfo'}, - {'1': 'expr_version', '3': 6, '4': 1, '5': 9, '10': 'exprVersion'}, - {'1': 'expr', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'expr'}, - ], - '3': [CheckedExpr_ReferenceMapEntry$json, CheckedExpr_TypeMapEntry$json], -}; - -@$core.Deprecated('Use checkedExprDescriptor instead') -const CheckedExpr_ReferenceMapEntry$json = { - '1': 'ReferenceMapEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 3, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Reference', '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use checkedExprDescriptor instead') -const CheckedExpr_TypeMapEntry$json = { - '1': 'TypeMapEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 3, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `CheckedExpr`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List checkedExprDescriptor = $convert.base64Decode( - 'CgtDaGVja2VkRXhwchJcCg1yZWZlcmVuY2VfbWFwGAIgAygLMjcuZ29vZ2xlLmFwaS5leHByLn' - 'YxYWxwaGExLkNoZWNrZWRFeHByLlJlZmVyZW5jZU1hcEVudHJ5UgxyZWZlcmVuY2VNYXASTQoI' - 'dHlwZV9tYXAYAyADKAsyMi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuQ2hlY2tlZEV4cHIuVH' - 'lwZU1hcEVudHJ5Ugd0eXBlTWFwEkUKC3NvdXJjZV9pbmZvGAUgASgLMiQuZ29vZ2xlLmFwaS5l' - 'eHByLnYxYWxwaGExLlNvdXJjZUluZm9SCnNvdXJjZUluZm8SIQoMZXhwcl92ZXJzaW9uGAYgAS' - 'gJUgtleHByVmVyc2lvbhIyCgRleHByGAQgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGEx' - 'LkV4cHJSBGV4cHIaZAoRUmVmZXJlbmNlTWFwRW50cnkSEAoDa2V5GAEgASgDUgNrZXkSOQoFdm' - 'FsdWUYAiABKAsyIy5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuUmVmZXJlbmNlUgV2YWx1ZToC' - 'OAEaWgoMVHlwZU1hcEVudHJ5EhAKA2tleRgBIAEoA1IDa2V5EjQKBXZhbHVlGAIgASgLMh4uZ2' - '9vZ2xlLmFwaS5leHByLnYxYWxwaGExLlR5cGVSBXZhbHVlOgI4AQ=='); - -@$core.Deprecated('Use typeDescriptor instead') -const Type$json = { - '1': 'Type', - '2': [ - {'1': 'dyn', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Empty', '9': 0, '10': 'dyn'}, - {'1': 'null', '3': 2, '4': 1, '5': 14, '6': '.google.protobuf.NullValue', '9': 0, '10': 'null'}, - {'1': 'primitive', '3': 3, '4': 1, '5': 14, '6': '.google.api.expr.v1alpha1.Type.PrimitiveType', '9': 0, '10': 'primitive'}, - {'1': 'wrapper', '3': 4, '4': 1, '5': 14, '6': '.google.api.expr.v1alpha1.Type.PrimitiveType', '9': 0, '10': 'wrapper'}, - {'1': 'well_known', '3': 5, '4': 1, '5': 14, '6': '.google.api.expr.v1alpha1.Type.WellKnownType', '9': 0, '10': 'wellKnown'}, - {'1': 'list_type', '3': 6, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type.ListType', '9': 0, '10': 'listType'}, - {'1': 'map_type', '3': 7, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type.MapType', '9': 0, '10': 'mapType'}, - {'1': 'function', '3': 8, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type.FunctionType', '9': 0, '10': 'function'}, - {'1': 'message_type', '3': 9, '4': 1, '5': 9, '9': 0, '10': 'messageType'}, - {'1': 'type_param', '3': 10, '4': 1, '5': 9, '9': 0, '10': 'typeParam'}, - {'1': 'type', '3': 11, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '9': 0, '10': 'type'}, - {'1': 'error', '3': 12, '4': 1, '5': 11, '6': '.google.protobuf.Empty', '9': 0, '10': 'error'}, - {'1': 'abstract_type', '3': 14, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type.AbstractType', '9': 0, '10': 'abstractType'}, - ], - '3': [Type_ListType$json, Type_MapType$json, Type_FunctionType$json, Type_AbstractType$json], - '4': [Type_PrimitiveType$json, Type_WellKnownType$json], - '8': [ - {'1': 'type_kind'}, - ], -}; - -@$core.Deprecated('Use typeDescriptor instead') -const Type_ListType$json = { - '1': 'ListType', - '2': [ - {'1': 'elem_type', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'elemType'}, - ], -}; - -@$core.Deprecated('Use typeDescriptor instead') -const Type_MapType$json = { - '1': 'MapType', - '2': [ - {'1': 'key_type', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'keyType'}, - {'1': 'value_type', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'valueType'}, - ], -}; - -@$core.Deprecated('Use typeDescriptor instead') -const Type_FunctionType$json = { - '1': 'FunctionType', - '2': [ - {'1': 'result_type', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'resultType'}, - {'1': 'arg_types', '3': 2, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'argTypes'}, - ], -}; - -@$core.Deprecated('Use typeDescriptor instead') -const Type_AbstractType$json = { - '1': 'AbstractType', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'parameter_types', '3': 2, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'parameterTypes'}, - ], -}; - -@$core.Deprecated('Use typeDescriptor instead') -const Type_PrimitiveType$json = { - '1': 'PrimitiveType', - '2': [ - {'1': 'PRIMITIVE_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'BOOL', '2': 1}, - {'1': 'INT64', '2': 2}, - {'1': 'UINT64', '2': 3}, - {'1': 'DOUBLE', '2': 4}, - {'1': 'STRING', '2': 5}, - {'1': 'BYTES', '2': 6}, - ], -}; - -@$core.Deprecated('Use typeDescriptor instead') -const Type_WellKnownType$json = { - '1': 'WellKnownType', - '2': [ - {'1': 'WELL_KNOWN_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'ANY', '2': 1}, - {'1': 'TIMESTAMP', '2': 2}, - {'1': 'DURATION', '2': 3}, - ], -}; - -/// Descriptor for `Type`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List typeDescriptor = $convert.base64Decode( - 'CgRUeXBlEioKA2R5bhgBIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eUgAUgNkeW4SMAoEbn' - 'VsbBgCIAEoDjIaLmdvb2dsZS5wcm90b2J1Zi5OdWxsVmFsdWVIAFIEbnVsbBJMCglwcmltaXRp' - 'dmUYAyABKA4yLC5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuVHlwZS5QcmltaXRpdmVUeXBlSA' - 'BSCXByaW1pdGl2ZRJICgd3cmFwcGVyGAQgASgOMiwuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGEx' - 'LlR5cGUuUHJpbWl0aXZlVHlwZUgAUgd3cmFwcGVyEk0KCndlbGxfa25vd24YBSABKA4yLC5nb2' - '9nbGUuYXBpLmV4cHIudjFhbHBoYTEuVHlwZS5XZWxsS25vd25UeXBlSABSCXdlbGxLbm93bhJG' - 'CglsaXN0X3R5cGUYBiABKAsyJy5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuVHlwZS5MaXN0VH' - 'lwZUgAUghsaXN0VHlwZRJDCghtYXBfdHlwZRgHIAEoCzImLmdvb2dsZS5hcGkuZXhwci52MWFs' - 'cGhhMS5UeXBlLk1hcFR5cGVIAFIHbWFwVHlwZRJJCghmdW5jdGlvbhgIIAEoCzIrLmdvb2dsZS' - '5hcGkuZXhwci52MWFscGhhMS5UeXBlLkZ1bmN0aW9uVHlwZUgAUghmdW5jdGlvbhIjCgxtZXNz' - 'YWdlX3R5cGUYCSABKAlIAFILbWVzc2FnZVR5cGUSHwoKdHlwZV9wYXJhbRgKIAEoCUgAUgl0eX' - 'BlUGFyYW0SNAoEdHlwZRgLIAEoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5UeXBlSABS' - 'BHR5cGUSLgoFZXJyb3IYDCABKAsyFi5nb29nbGUucHJvdG9idWYuRW1wdHlIAFIFZXJyb3ISUg' - 'oNYWJzdHJhY3RfdHlwZRgOIAEoCzIrLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5UeXBlLkFi' - 'c3RyYWN0VHlwZUgAUgxhYnN0cmFjdFR5cGUaRwoITGlzdFR5cGUSOwoJZWxlbV90eXBlGAEgAS' - 'gLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLlR5cGVSCGVsZW1UeXBlGoMBCgdNYXBUeXBl' - 'EjkKCGtleV90eXBlGAEgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLlR5cGVSB2tleV' - 'R5cGUSPQoKdmFsdWVfdHlwZRgCIAEoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5UeXBl' - 'Ugl2YWx1ZVR5cGUajAEKDEZ1bmN0aW9uVHlwZRI/CgtyZXN1bHRfdHlwZRgBIAEoCzIeLmdvb2' - 'dsZS5hcGkuZXhwci52MWFscGhhMS5UeXBlUgpyZXN1bHRUeXBlEjsKCWFyZ190eXBlcxgCIAMo' - 'CzIeLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5UeXBlUghhcmdUeXBlcxprCgxBYnN0cmFjdF' - 'R5cGUSEgoEbmFtZRgBIAEoCVIEbmFtZRJHCg9wYXJhbWV0ZXJfdHlwZXMYAiADKAsyHi5nb29n' - 'bGUuYXBpLmV4cHIudjFhbHBoYTEuVHlwZVIOcGFyYW1ldGVyVHlwZXMicwoNUHJpbWl0aXZlVH' - 'lwZRIeChpQUklNSVRJVkVfVFlQRV9VTlNQRUNJRklFRBAAEggKBEJPT0wQARIJCgVJTlQ2NBAC' - 'EgoKBlVJTlQ2NBADEgoKBkRPVUJMRRAEEgoKBlNUUklORxAFEgkKBUJZVEVTEAYiVgoNV2VsbE' - 'tub3duVHlwZRIfChtXRUxMX0tOT1dOX1RZUEVfVU5TUEVDSUZJRUQQABIHCgNBTlkQARINCglU' - 'SU1FU1RBTVAQAhIMCghEVVJBVElPThADQgsKCXR5cGVfa2luZA=='); - -@$core.Deprecated('Use declDescriptor instead') -const Decl$json = { - '1': 'Decl', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'ident', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Decl.IdentDecl', '9': 0, '10': 'ident'}, - {'1': 'function', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Decl.FunctionDecl', '9': 0, '10': 'function'}, - ], - '3': [Decl_IdentDecl$json, Decl_FunctionDecl$json], - '8': [ - {'1': 'decl_kind'}, - ], -}; - -@$core.Deprecated('Use declDescriptor instead') -const Decl_IdentDecl$json = { - '1': 'IdentDecl', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'type'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Constant', '10': 'value'}, - {'1': 'doc', '3': 3, '4': 1, '5': 9, '10': 'doc'}, - ], -}; - -@$core.Deprecated('Use declDescriptor instead') -const Decl_FunctionDecl$json = { - '1': 'FunctionDecl', - '2': [ - {'1': 'overloads', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload', '10': 'overloads'}, - ], - '3': [Decl_FunctionDecl_Overload$json], -}; - -@$core.Deprecated('Use declDescriptor instead') -const Decl_FunctionDecl_Overload$json = { - '1': 'Overload', - '2': [ - {'1': 'overload_id', '3': 1, '4': 1, '5': 9, '10': 'overloadId'}, - {'1': 'params', '3': 2, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'params'}, - {'1': 'type_params', '3': 3, '4': 3, '5': 9, '10': 'typeParams'}, - {'1': 'result_type', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Type', '10': 'resultType'}, - {'1': 'is_instance_function', '3': 5, '4': 1, '5': 8, '10': 'isInstanceFunction'}, - {'1': 'doc', '3': 6, '4': 1, '5': 9, '10': 'doc'}, - ], -}; - -/// Descriptor for `Decl`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List declDescriptor = $convert.base64Decode( - 'CgREZWNsEhIKBG5hbWUYASABKAlSBG5hbWUSQAoFaWRlbnQYAiABKAsyKC5nb29nbGUuYXBpLm' - 'V4cHIudjFhbHBoYTEuRGVjbC5JZGVudERlY2xIAFIFaWRlbnQSSQoIZnVuY3Rpb24YAyABKAsy' - 'Ky5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRGVjbC5GdW5jdGlvbkRlY2xIAFIIZnVuY3Rpb2' - '4aiwEKCUlkZW50RGVjbBIyCgR0eXBlGAEgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGEx' - 'LlR5cGVSBHR5cGUSOAoFdmFsdWUYAiABKAsyIi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuQ2' - '9uc3RhbnRSBXZhbHVlEhAKA2RvYxgDIAEoCVIDZG9jGu4CCgxGdW5jdGlvbkRlY2wSUgoJb3Zl' - 'cmxvYWRzGAEgAygLMjQuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkRlY2wuRnVuY3Rpb25EZW' - 'NsLk92ZXJsb2FkUglvdmVybG9hZHMaiQIKCE92ZXJsb2FkEh8KC292ZXJsb2FkX2lkGAEgASgJ' - 'UgpvdmVybG9hZElkEjYKBnBhcmFtcxgCIAMoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS' - '5UeXBlUgZwYXJhbXMSHwoLdHlwZV9wYXJhbXMYAyADKAlSCnR5cGVQYXJhbXMSPwoLcmVzdWx0' - 'X3R5cGUYBCABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuVHlwZVIKcmVzdWx0VHlwZR' - 'IwChRpc19pbnN0YW5jZV9mdW5jdGlvbhgFIAEoCFISaXNJbnN0YW5jZUZ1bmN0aW9uEhAKA2Rv' - 'YxgGIAEoCVIDZG9jQgsKCWRlY2xfa2luZA=='); - -@$core.Deprecated('Use referenceDescriptor instead') -const Reference$json = { - '1': 'Reference', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'overload_id', '3': 3, '4': 3, '5': 9, '10': 'overloadId'}, - {'1': 'value', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Constant', '10': 'value'}, - ], -}; - -/// Descriptor for `Reference`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List referenceDescriptor = $convert.base64Decode( - 'CglSZWZlcmVuY2USEgoEbmFtZRgBIAEoCVIEbmFtZRIfCgtvdmVybG9hZF9pZBgDIAMoCVIKb3' - 'ZlcmxvYWRJZBI4CgV2YWx1ZRgEIAEoCzIiLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5Db25z' - 'dGFudFIFdmFsdWU='); - diff --git a/lib/src/gen/google/api/expr/v1alpha1/eval.pb.dart b/lib/src/gen/google/api/expr/v1alpha1/eval.pb.dart deleted file mode 100644 index dbd615174be..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/eval.pb.dart +++ /dev/null @@ -1,388 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/eval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../rpc/status.pb.dart' as $11; -import 'value.pb.dart' as $10; - -/// A single evalution result. -class EvalState_Result extends $pb.GeneratedMessage { - factory EvalState_Result({ - $fixnum.Int64? expr, - $fixnum.Int64? value, - }) { - final $result = create(); - if (expr != null) { - $result.expr = expr; - } - if (value != null) { - $result.value = value; - } - return $result; - } - EvalState_Result._() : super(); - factory EvalState_Result.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EvalState_Result.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EvalState.Result', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'expr') - ..aInt64(2, _omitFieldNames ? '' : 'value') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EvalState_Result clone() => EvalState_Result()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EvalState_Result copyWith(void Function(EvalState_Result) updates) => super.copyWith((message) => updates(message as EvalState_Result)) as EvalState_Result; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EvalState_Result create() => EvalState_Result._(); - EvalState_Result createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EvalState_Result getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EvalState_Result? _defaultInstance; - - /// The id of the expression this result if for. - @$pb.TagNumber(1) - $fixnum.Int64 get expr => $_getI64(0); - @$pb.TagNumber(1) - set expr($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasExpr() => $_has(0); - @$pb.TagNumber(1) - void clearExpr() => clearField(1); - - /// The index in `values` of the resulting value. - @$pb.TagNumber(2) - $fixnum.Int64 get value => $_getI64(1); - @$pb.TagNumber(2) - set value($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); -} - -/// The state of an evaluation. -/// -/// Can represent an inital, partial, or completed state of evaluation. -class EvalState extends $pb.GeneratedMessage { - factory EvalState({ - $core.Iterable? values, - $core.Iterable? results, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - if (results != null) { - $result.results.addAll(results); - } - return $result; - } - EvalState._() : super(); - factory EvalState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EvalState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EvalState', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: ExprValue.create) - ..pc(3, _omitFieldNames ? '' : 'results', $pb.PbFieldType.PM, subBuilder: EvalState_Result.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EvalState clone() => EvalState()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EvalState copyWith(void Function(EvalState) updates) => super.copyWith((message) => updates(message as EvalState)) as EvalState; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EvalState create() => EvalState._(); - EvalState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EvalState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EvalState? _defaultInstance; - - /// The unique values referenced in this message. - @$pb.TagNumber(1) - $core.List get values => $_getList(0); - - /// An ordered list of results. - /// - /// Tracks the flow of evaluation through the expression. - /// May be sparse. - @$pb.TagNumber(3) - $core.List get results => $_getList(1); -} - -enum ExprValue_Kind { - value, - error, - unknown, - notSet -} - -/// The value of an evaluated expression. -class ExprValue extends $pb.GeneratedMessage { - factory ExprValue({ - $10.Value? value, - ErrorSet? error, - UnknownSet? unknown, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - if (error != null) { - $result.error = error; - } - if (unknown != null) { - $result.unknown = unknown; - } - return $result; - } - ExprValue._() : super(); - factory ExprValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExprValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, ExprValue_Kind> _ExprValue_KindByTag = { - 1 : ExprValue_Kind.value, - 2 : ExprValue_Kind.error, - 3 : ExprValue_Kind.unknown, - 0 : ExprValue_Kind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3]) - ..aOM<$10.Value>(1, _omitFieldNames ? '' : 'value', subBuilder: $10.Value.create) - ..aOM(2, _omitFieldNames ? '' : 'error', subBuilder: ErrorSet.create) - ..aOM(3, _omitFieldNames ? '' : 'unknown', subBuilder: UnknownSet.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExprValue clone() => ExprValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExprValue copyWith(void Function(ExprValue) updates) => super.copyWith((message) => updates(message as ExprValue)) as ExprValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExprValue create() => ExprValue._(); - ExprValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExprValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExprValue? _defaultInstance; - - ExprValue_Kind whichKind() => _ExprValue_KindByTag[$_whichOneof(0)]!; - void clearKind() => clearField($_whichOneof(0)); - - /// A concrete value. - @$pb.TagNumber(1) - $10.Value get value => $_getN(0); - @$pb.TagNumber(1) - set value($10.Value v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); - @$pb.TagNumber(1) - $10.Value ensureValue() => $_ensure(0); - - /// The set of errors in the critical path of evalution. - /// - /// Only errors in the critical path are included. For example, - /// `( || true) && ` will only result in ``, - /// while ` || ` will result in both `` and - /// ``. - /// - /// Errors cause by the presence of other errors are not included in the - /// set. For example `.foo`, `foo()`, and ` + 1` will - /// only result in ``. - /// - /// Multiple errors *might* be included when evaluation could result - /// in different errors. For example ` + ` and - /// `foo(, )` may result in ``, `` or both. - /// The exact subset of errors included for this case is unspecified and - /// depends on the implementation details of the evaluator. - @$pb.TagNumber(2) - ErrorSet get error => $_getN(1); - @$pb.TagNumber(2) - set error(ErrorSet v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasError() => $_has(1); - @$pb.TagNumber(2) - void clearError() => clearField(2); - @$pb.TagNumber(2) - ErrorSet ensureError() => $_ensure(1); - - /// The set of unknowns in the critical path of evaluation. - /// - /// Unknown behaves identically to Error with regards to propagation. - /// Specifically, only unknowns in the critical path are included, unknowns - /// caused by the presence of other unknowns are not included, and multiple - /// unknowns *might* be included included when evaluation could result in - /// different unknowns. For example: - /// - /// ( || true) && -> - /// || -> - /// .foo -> - /// foo() -> - /// + -> or - /// - /// Unknown takes precidence over Error in cases where a `Value` can short - /// circuit the result: - /// - /// || -> - /// && -> - /// - /// Errors take precidence in all other cases: - /// - /// + -> - /// foo(, ) -> - @$pb.TagNumber(3) - UnknownSet get unknown => $_getN(2); - @$pb.TagNumber(3) - set unknown(UnknownSet v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasUnknown() => $_has(2); - @$pb.TagNumber(3) - void clearUnknown() => clearField(3); - @$pb.TagNumber(3) - UnknownSet ensureUnknown() => $_ensure(2); -} - -/// A set of errors. -/// -/// The errors included depend on the context. See `ExprValue.error`. -class ErrorSet extends $pb.GeneratedMessage { - factory ErrorSet({ - $core.Iterable<$11.Status>? errors, - }) { - final $result = create(); - if (errors != null) { - $result.errors.addAll(errors); - } - return $result; - } - ErrorSet._() : super(); - factory ErrorSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ErrorSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ErrorSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..pc<$11.Status>(1, _omitFieldNames ? '' : 'errors', $pb.PbFieldType.PM, subBuilder: $11.Status.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ErrorSet clone() => ErrorSet()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ErrorSet copyWith(void Function(ErrorSet) updates) => super.copyWith((message) => updates(message as ErrorSet)) as ErrorSet; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ErrorSet create() => ErrorSet._(); - ErrorSet createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ErrorSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ErrorSet? _defaultInstance; - - /// The errors in the set. - @$pb.TagNumber(1) - $core.List<$11.Status> get errors => $_getList(0); -} - -/// A set of expressions for which the value is unknown. -/// -/// The unknowns included depend on the context. See `ExprValue.unknown`. -class UnknownSet extends $pb.GeneratedMessage { - factory UnknownSet({ - $core.Iterable<$fixnum.Int64>? exprs, - }) { - final $result = create(); - if (exprs != null) { - $result.exprs.addAll(exprs); - } - return $result; - } - UnknownSet._() : super(); - factory UnknownSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnknownSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnknownSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..p<$fixnum.Int64>(1, _omitFieldNames ? '' : 'exprs', $pb.PbFieldType.K6) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnknownSet clone() => UnknownSet()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnknownSet copyWith(void Function(UnknownSet) updates) => super.copyWith((message) => updates(message as UnknownSet)) as UnknownSet; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnknownSet create() => UnknownSet._(); - UnknownSet createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnknownSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnknownSet? _defaultInstance; - - /// The ids of the expressions with unknown values. - @$pb.TagNumber(1) - $core.List<$fixnum.Int64> get exprs => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1alpha1/eval.pbenum.dart b/lib/src/gen/google/api/expr/v1alpha1/eval.pbenum.dart deleted file mode 100644 index e879a345e83..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/eval.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/eval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1alpha1/eval.pbjson.dart b/lib/src/gen/google/api/expr/v1alpha1/eval.pbjson.dart deleted file mode 100644 index f0fea6e2163..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/eval.pbjson.dart +++ /dev/null @@ -1,85 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/eval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use evalStateDescriptor instead') -const EvalState$json = { - '1': 'EvalState', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.ExprValue', '10': 'values'}, - {'1': 'results', '3': 3, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.EvalState.Result', '10': 'results'}, - ], - '3': [EvalState_Result$json], -}; - -@$core.Deprecated('Use evalStateDescriptor instead') -const EvalState_Result$json = { - '1': 'Result', - '2': [ - {'1': 'expr', '3': 1, '4': 1, '5': 3, '10': 'expr'}, - {'1': 'value', '3': 2, '4': 1, '5': 3, '10': 'value'}, - ], -}; - -/// Descriptor for `EvalState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List evalStateDescriptor = $convert.base64Decode( - 'CglFdmFsU3RhdGUSOwoGdmFsdWVzGAEgAygLMiMuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLk' - 'V4cHJWYWx1ZVIGdmFsdWVzEkQKB3Jlc3VsdHMYAyADKAsyKi5nb29nbGUuYXBpLmV4cHIudjFh' - 'bHBoYTEuRXZhbFN0YXRlLlJlc3VsdFIHcmVzdWx0cxoyCgZSZXN1bHQSEgoEZXhwchgBIAEoA1' - 'IEZXhwchIUCgV2YWx1ZRgCIAEoA1IFdmFsdWU='); - -@$core.Deprecated('Use exprValueDescriptor instead') -const ExprValue$json = { - '1': 'ExprValue', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Value', '9': 0, '10': 'value'}, - {'1': 'error', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.ErrorSet', '9': 0, '10': 'error'}, - {'1': 'unknown', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.UnknownSet', '9': 0, '10': 'unknown'}, - ], - '8': [ - {'1': 'kind'}, - ], -}; - -/// Descriptor for `ExprValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List exprValueDescriptor = $convert.base64Decode( - 'CglFeHByVmFsdWUSNwoFdmFsdWUYASABKAsyHy5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuVm' - 'FsdWVIAFIFdmFsdWUSOgoFZXJyb3IYAiABKAsyIi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEu' - 'RXJyb3JTZXRIAFIFZXJyb3ISQAoHdW5rbm93bhgDIAEoCzIkLmdvb2dsZS5hcGkuZXhwci52MW' - 'FscGhhMS5Vbmtub3duU2V0SABSB3Vua25vd25CBgoEa2luZA=='); - -@$core.Deprecated('Use errorSetDescriptor instead') -const ErrorSet$json = { - '1': 'ErrorSet', - '2': [ - {'1': 'errors', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.Status', '10': 'errors'}, - ], -}; - -/// Descriptor for `ErrorSet`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List errorSetDescriptor = $convert.base64Decode( - 'CghFcnJvclNldBIqCgZlcnJvcnMYASADKAsyEi5nb29nbGUucnBjLlN0YXR1c1IGZXJyb3Jz'); - -@$core.Deprecated('Use unknownSetDescriptor instead') -const UnknownSet$json = { - '1': 'UnknownSet', - '2': [ - {'1': 'exprs', '3': 1, '4': 3, '5': 3, '10': 'exprs'}, - ], -}; - -/// Descriptor for `UnknownSet`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unknownSetDescriptor = $convert.base64Decode( - 'CgpVbmtub3duU2V0EhQKBWV4cHJzGAEgAygDUgVleHBycw=='); - diff --git a/lib/src/gen/google/api/expr/v1alpha1/explain.pb.dart b/lib/src/gen/google/api/expr/v1alpha1/explain.pb.dart deleted file mode 100644 index da4421ee8a1..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/explain.pb.dart +++ /dev/null @@ -1,151 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/explain.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'value.pb.dart' as $10; - -/// ID and value index of one step. -class Explain_ExprStep extends $pb.GeneratedMessage { - factory Explain_ExprStep({ - $fixnum.Int64? id, - $core.int? valueIndex, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (valueIndex != null) { - $result.valueIndex = valueIndex; - } - return $result; - } - Explain_ExprStep._() : super(); - factory Explain_ExprStep.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Explain_ExprStep.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Explain.ExprStep', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'id') - ..a<$core.int>(2, _omitFieldNames ? '' : 'valueIndex', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Explain_ExprStep clone() => Explain_ExprStep()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Explain_ExprStep copyWith(void Function(Explain_ExprStep) updates) => super.copyWith((message) => updates(message as Explain_ExprStep)) as Explain_ExprStep; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Explain_ExprStep create() => Explain_ExprStep._(); - Explain_ExprStep createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Explain_ExprStep getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Explain_ExprStep? _defaultInstance; - - /// ID of corresponding Expr node. - @$pb.TagNumber(1) - $fixnum.Int64 get id => $_getI64(0); - @$pb.TagNumber(1) - set id($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// Index of the value in the values list. - @$pb.TagNumber(2) - $core.int get valueIndex => $_getIZ(1); - @$pb.TagNumber(2) - set valueIndex($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasValueIndex() => $_has(1); - @$pb.TagNumber(2) - void clearValueIndex() => clearField(2); -} - -/// Values of intermediate expressions produced when evaluating expression. -/// Deprecated, use `EvalState` instead. -class Explain extends $pb.GeneratedMessage { - factory Explain({ - $core.Iterable<$10.Value>? values, - $core.Iterable? exprSteps, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - if (exprSteps != null) { - $result.exprSteps.addAll(exprSteps); - } - return $result; - } - Explain._() : super(); - factory Explain.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Explain.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Explain', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..pc<$10.Value>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: $10.Value.create) - ..pc(2, _omitFieldNames ? '' : 'exprSteps', $pb.PbFieldType.PM, subBuilder: Explain_ExprStep.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Explain clone() => Explain()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Explain copyWith(void Function(Explain) updates) => super.copyWith((message) => updates(message as Explain)) as Explain; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Explain create() => Explain._(); - Explain createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Explain getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Explain? _defaultInstance; - - /// All of the observed values. - /// - /// The field value_index is an index in the values list. - /// Separating values from steps is needed to remove redundant values. - @$pb.TagNumber(1) - $core.List<$10.Value> get values => $_getList(0); - - /// List of steps. - /// - /// Repeated evaluations of the same expression generate new ExprStep - /// instances. The order of such ExprStep instances matches the order of - /// elements returned by Comprehension.iter_range. - @$pb.TagNumber(2) - $core.List get exprSteps => $_getList(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1alpha1/explain.pbenum.dart b/lib/src/gen/google/api/expr/v1alpha1/explain.pbenum.dart deleted file mode 100644 index 4344698c699..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/explain.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/explain.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1alpha1/explain.pbjson.dart b/lib/src/gen/google/api/expr/v1alpha1/explain.pbjson.dart deleted file mode 100644 index 97bf74d0b0b..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/explain.pbjson.dart +++ /dev/null @@ -1,42 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/explain.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use explainDescriptor instead') -const Explain$json = { - '1': 'Explain', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Value', '10': 'values'}, - {'1': 'expr_steps', '3': 2, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Explain.ExprStep', '10': 'exprSteps'}, - ], - '3': [Explain_ExprStep$json], - '7': {'3': true}, -}; - -@$core.Deprecated('Use explainDescriptor instead') -const Explain_ExprStep$json = { - '1': 'ExprStep', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, - {'1': 'value_index', '3': 2, '4': 1, '5': 5, '10': 'valueIndex'}, - ], -}; - -/// Descriptor for `Explain`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List explainDescriptor = $convert.base64Decode( - 'CgdFeHBsYWluEjcKBnZhbHVlcxgBIAMoCzIfLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5WYW' - 'x1ZVIGdmFsdWVzEkkKCmV4cHJfc3RlcHMYAiADKAsyKi5nb29nbGUuYXBpLmV4cHIudjFhbHBo' - 'YTEuRXhwbGFpbi5FeHByU3RlcFIJZXhwclN0ZXBzGjsKCEV4cHJTdGVwEg4KAmlkGAEgASgDUg' - 'JpZBIfCgt2YWx1ZV9pbmRleBgCIAEoBVIKdmFsdWVJbmRleDoCGAE='); - diff --git a/lib/src/gen/google/api/expr/v1alpha1/syntax.pb.dart b/lib/src/gen/google/api/expr/v1alpha1/syntax.pb.dart deleted file mode 100644 index 61c80c73084..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/syntax.pb.dart +++ /dev/null @@ -1,1652 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/syntax.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../protobuf/duration.pb.dart' as $4; -import '../../../protobuf/struct.pbenum.dart' as $7; -import '../../../protobuf/timestamp.pb.dart' as $6; -import 'syntax.pbenum.dart'; - -export 'syntax.pbenum.dart'; - -/// An expression together with source information as returned by the parser. -class ParsedExpr extends $pb.GeneratedMessage { - factory ParsedExpr({ - Expr? expr, - SourceInfo? sourceInfo, - }) { - final $result = create(); - if (expr != null) { - $result.expr = expr; - } - if (sourceInfo != null) { - $result.sourceInfo = sourceInfo; - } - return $result; - } - ParsedExpr._() : super(); - factory ParsedExpr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ParsedExpr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParsedExpr', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(2, _omitFieldNames ? '' : 'expr', subBuilder: Expr.create) - ..aOM(3, _omitFieldNames ? '' : 'sourceInfo', subBuilder: SourceInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ParsedExpr clone() => ParsedExpr()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ParsedExpr copyWith(void Function(ParsedExpr) updates) => super.copyWith((message) => updates(message as ParsedExpr)) as ParsedExpr; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ParsedExpr create() => ParsedExpr._(); - ParsedExpr createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ParsedExpr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ParsedExpr? _defaultInstance; - - /// The parsed expression. - @$pb.TagNumber(2) - Expr get expr => $_getN(0); - @$pb.TagNumber(2) - set expr(Expr v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasExpr() => $_has(0); - @$pb.TagNumber(2) - void clearExpr() => clearField(2); - @$pb.TagNumber(2) - Expr ensureExpr() => $_ensure(0); - - /// The source info derived from input that generated the parsed `expr`. - @$pb.TagNumber(3) - SourceInfo get sourceInfo => $_getN(1); - @$pb.TagNumber(3) - set sourceInfo(SourceInfo v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasSourceInfo() => $_has(1); - @$pb.TagNumber(3) - void clearSourceInfo() => clearField(3); - @$pb.TagNumber(3) - SourceInfo ensureSourceInfo() => $_ensure(1); -} - -/// An identifier expression. e.g. `request`. -class Expr_Ident extends $pb.GeneratedMessage { - factory Expr_Ident({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - Expr_Ident._() : super(); - factory Expr_Ident.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Ident.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Ident', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Ident clone() => Expr_Ident()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Ident copyWith(void Function(Expr_Ident) updates) => super.copyWith((message) => updates(message as Expr_Ident)) as Expr_Ident; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Ident create() => Expr_Ident._(); - Expr_Ident createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Ident getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Ident? _defaultInstance; - - /// Required. Holds a single, unqualified identifier, possibly preceded by a - /// '.'. - /// - /// Qualified names are represented by the - /// [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// A field selection expression. e.g. `request.auth`. -class Expr_Select extends $pb.GeneratedMessage { - factory Expr_Select({ - Expr? operand, - $core.String? field_2, - $core.bool? testOnly, - }) { - final $result = create(); - if (operand != null) { - $result.operand = operand; - } - if (field_2 != null) { - $result.field_2 = field_2; - } - if (testOnly != null) { - $result.testOnly = testOnly; - } - return $result; - } - Expr_Select._() : super(); - factory Expr_Select.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Select.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Select', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'operand', subBuilder: Expr.create) - ..aOS(2, _omitFieldNames ? '' : 'field') - ..aOB(3, _omitFieldNames ? '' : 'testOnly') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Select clone() => Expr_Select()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Select copyWith(void Function(Expr_Select) updates) => super.copyWith((message) => updates(message as Expr_Select)) as Expr_Select; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Select create() => Expr_Select._(); - Expr_Select createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Select getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Select? _defaultInstance; - - /// Required. The target of the selection expression. - /// - /// For example, in the select expression `request.auth`, the `request` - /// portion of the expression is the `operand`. - @$pb.TagNumber(1) - Expr get operand => $_getN(0); - @$pb.TagNumber(1) - set operand(Expr v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOperand() => $_has(0); - @$pb.TagNumber(1) - void clearOperand() => clearField(1); - @$pb.TagNumber(1) - Expr ensureOperand() => $_ensure(0); - - /// Required. The name of the field to select. - /// - /// For example, in the select expression `request.auth`, the `auth` portion - /// of the expression would be the `field`. - @$pb.TagNumber(2) - $core.String get field_2 => $_getSZ(1); - @$pb.TagNumber(2) - set field_2($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasField_2() => $_has(1); - @$pb.TagNumber(2) - void clearField_2() => clearField(2); - - /// Whether the select is to be interpreted as a field presence test. - /// - /// This results from the macro `has(request.auth)`. - @$pb.TagNumber(3) - $core.bool get testOnly => $_getBF(2); - @$pb.TagNumber(3) - set testOnly($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasTestOnly() => $_has(2); - @$pb.TagNumber(3) - void clearTestOnly() => clearField(3); -} - -/// A call expression, including calls to predefined functions and operators. -/// -/// For example, `value == 10`, `size(map_value)`. -class Expr_Call extends $pb.GeneratedMessage { - factory Expr_Call({ - Expr? target, - $core.String? function, - $core.Iterable? args, - }) { - final $result = create(); - if (target != null) { - $result.target = target; - } - if (function != null) { - $result.function = function; - } - if (args != null) { - $result.args.addAll(args); - } - return $result; - } - Expr_Call._() : super(); - factory Expr_Call.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Call.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Call', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'target', subBuilder: Expr.create) - ..aOS(2, _omitFieldNames ? '' : 'function') - ..pc(3, _omitFieldNames ? '' : 'args', $pb.PbFieldType.PM, subBuilder: Expr.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Call clone() => Expr_Call()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Call copyWith(void Function(Expr_Call) updates) => super.copyWith((message) => updates(message as Expr_Call)) as Expr_Call; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Call create() => Expr_Call._(); - Expr_Call createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Call getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Call? _defaultInstance; - - /// The target of an method call-style expression. For example, `x` in - /// `x.f()`. - @$pb.TagNumber(1) - Expr get target => $_getN(0); - @$pb.TagNumber(1) - set target(Expr v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasTarget() => $_has(0); - @$pb.TagNumber(1) - void clearTarget() => clearField(1); - @$pb.TagNumber(1) - Expr ensureTarget() => $_ensure(0); - - /// Required. The name of the function or method being called. - @$pb.TagNumber(2) - $core.String get function => $_getSZ(1); - @$pb.TagNumber(2) - set function($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFunction() => $_has(1); - @$pb.TagNumber(2) - void clearFunction() => clearField(2); - - /// The arguments. - @$pb.TagNumber(3) - $core.List get args => $_getList(2); -} - -/// A list creation expression. -/// -/// Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. -/// `dyn([1, 'hello', 2.0])` -class Expr_CreateList extends $pb.GeneratedMessage { - factory Expr_CreateList({ - $core.Iterable? elements, - $core.Iterable<$core.int>? optionalIndices, - }) { - final $result = create(); - if (elements != null) { - $result.elements.addAll(elements); - } - if (optionalIndices != null) { - $result.optionalIndices.addAll(optionalIndices); - } - return $result; - } - Expr_CreateList._() : super(); - factory Expr_CreateList.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_CreateList.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.CreateList', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'elements', $pb.PbFieldType.PM, subBuilder: Expr.create) - ..p<$core.int>(2, _omitFieldNames ? '' : 'optionalIndices', $pb.PbFieldType.K3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_CreateList clone() => Expr_CreateList()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_CreateList copyWith(void Function(Expr_CreateList) updates) => super.copyWith((message) => updates(message as Expr_CreateList)) as Expr_CreateList; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_CreateList create() => Expr_CreateList._(); - Expr_CreateList createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_CreateList getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_CreateList? _defaultInstance; - - /// The elements part of the list. - @$pb.TagNumber(1) - $core.List get elements => $_getList(0); - - /// The indices within the elements list which are marked as optional - /// elements. - /// - /// When an optional-typed value is present, the value it contains - /// is included in the list. If the optional-typed value is absent, the list - /// element is omitted from the CreateList result. - @$pb.TagNumber(2) - $core.List<$core.int> get optionalIndices => $_getList(1); -} - -enum Expr_CreateStruct_Entry_KeyKind { - fieldKey, - mapKey, - notSet -} - -/// Represents an entry. -class Expr_CreateStruct_Entry extends $pb.GeneratedMessage { - factory Expr_CreateStruct_Entry({ - $fixnum.Int64? id, - $core.String? fieldKey, - Expr? mapKey, - Expr? value, - $core.bool? optionalEntry, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (fieldKey != null) { - $result.fieldKey = fieldKey; - } - if (mapKey != null) { - $result.mapKey = mapKey; - } - if (value != null) { - $result.value = value; - } - if (optionalEntry != null) { - $result.optionalEntry = optionalEntry; - } - return $result; - } - Expr_CreateStruct_Entry._() : super(); - factory Expr_CreateStruct_Entry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_CreateStruct_Entry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Expr_CreateStruct_Entry_KeyKind> _Expr_CreateStruct_Entry_KeyKindByTag = { - 2 : Expr_CreateStruct_Entry_KeyKind.fieldKey, - 3 : Expr_CreateStruct_Entry_KeyKind.mapKey, - 0 : Expr_CreateStruct_Entry_KeyKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.CreateStruct.Entry', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..oo(0, [2, 3]) - ..aInt64(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'fieldKey') - ..aOM(3, _omitFieldNames ? '' : 'mapKey', subBuilder: Expr.create) - ..aOM(4, _omitFieldNames ? '' : 'value', subBuilder: Expr.create) - ..aOB(5, _omitFieldNames ? '' : 'optionalEntry') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct_Entry clone() => Expr_CreateStruct_Entry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct_Entry copyWith(void Function(Expr_CreateStruct_Entry) updates) => super.copyWith((message) => updates(message as Expr_CreateStruct_Entry)) as Expr_CreateStruct_Entry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct_Entry create() => Expr_CreateStruct_Entry._(); - Expr_CreateStruct_Entry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct_Entry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_CreateStruct_Entry? _defaultInstance; - - Expr_CreateStruct_Entry_KeyKind whichKeyKind() => _Expr_CreateStruct_Entry_KeyKindByTag[$_whichOneof(0)]!; - void clearKeyKind() => clearField($_whichOneof(0)); - - /// Required. An id assigned to this node by the parser which is unique - /// in a given expression tree. This is used to associate type - /// information and other attributes to the node. - @$pb.TagNumber(1) - $fixnum.Int64 get id => $_getI64(0); - @$pb.TagNumber(1) - set id($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// The field key for a message creator statement. - @$pb.TagNumber(2) - $core.String get fieldKey => $_getSZ(1); - @$pb.TagNumber(2) - set fieldKey($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFieldKey() => $_has(1); - @$pb.TagNumber(2) - void clearFieldKey() => clearField(2); - - /// The key expression for a map creation statement. - @$pb.TagNumber(3) - Expr get mapKey => $_getN(2); - @$pb.TagNumber(3) - set mapKey(Expr v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasMapKey() => $_has(2); - @$pb.TagNumber(3) - void clearMapKey() => clearField(3); - @$pb.TagNumber(3) - Expr ensureMapKey() => $_ensure(2); - - /// Required. The value assigned to the key. - /// - /// If the optional_entry field is true, the expression must resolve to an - /// optional-typed value. If the optional value is present, the key will be - /// set; however, if the optional value is absent, the key will be unset. - @$pb.TagNumber(4) - Expr get value => $_getN(3); - @$pb.TagNumber(4) - set value(Expr v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasValue() => $_has(3); - @$pb.TagNumber(4) - void clearValue() => clearField(4); - @$pb.TagNumber(4) - Expr ensureValue() => $_ensure(3); - - /// Whether the key-value pair is optional. - @$pb.TagNumber(5) - $core.bool get optionalEntry => $_getBF(4); - @$pb.TagNumber(5) - set optionalEntry($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasOptionalEntry() => $_has(4); - @$pb.TagNumber(5) - void clearOptionalEntry() => clearField(5); -} - -/// A map or message creation expression. -/// -/// Maps are constructed as `{'key_name': 'value'}`. Message construction is -/// similar, but prefixed with a type name and composed of field ids: -/// `types.MyType{field_id: 'value'}`. -class Expr_CreateStruct extends $pb.GeneratedMessage { - factory Expr_CreateStruct({ - $core.String? messageName, - $core.Iterable? entries, - }) { - final $result = create(); - if (messageName != null) { - $result.messageName = messageName; - } - if (entries != null) { - $result.entries.addAll(entries); - } - return $result; - } - Expr_CreateStruct._() : super(); - factory Expr_CreateStruct.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_CreateStruct.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.CreateStruct', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'messageName') - ..pc(2, _omitFieldNames ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: Expr_CreateStruct_Entry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct clone() => Expr_CreateStruct()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct copyWith(void Function(Expr_CreateStruct) updates) => super.copyWith((message) => updates(message as Expr_CreateStruct)) as Expr_CreateStruct; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct create() => Expr_CreateStruct._(); - Expr_CreateStruct createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_CreateStruct? _defaultInstance; - - /// The type name of the message to be created, empty when creating map - /// literals. - @$pb.TagNumber(1) - $core.String get messageName => $_getSZ(0); - @$pb.TagNumber(1) - set messageName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessageName() => $_has(0); - @$pb.TagNumber(1) - void clearMessageName() => clearField(1); - - /// The entries in the creation expression. - @$pb.TagNumber(2) - $core.List get entries => $_getList(1); -} - -/// A comprehension expression applied to a list or map. -/// -/// Comprehensions are not part of the core syntax, but enabled with macros. -/// A macro matches a specific call signature within a parsed AST and replaces -/// the call with an alternate AST block. Macro expansion happens at parse -/// time. -/// -/// The following macros are supported within CEL: -/// -/// Aggregate type macros may be applied to all elements in a list or all keys -/// in a map: -/// -/// * `all`, `exists`, `exists_one` - test a predicate expression against -/// the inputs and return `true` if the predicate is satisfied for all, -/// any, or only one value `list.all(x, x < 10)`. -/// * `filter` - test a predicate expression against the inputs and return -/// the subset of elements which satisfy the predicate: -/// `payments.filter(p, p > 1000)`. -/// * `map` - apply an expression to all elements in the input and return the -/// output aggregate type: `[1, 2, 3].map(i, i * i)`. -/// -/// The `has(m.x)` macro tests whether the property `x` is present in struct -/// `m`. The semantics of this macro depend on the type of `m`. For proto2 -/// messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the -/// macro tests whether the property is set to its default. For map and struct -/// types, the macro tests whether the property `x` is defined on `m`. -/// -/// Comprehensions for the standard environment macros evaluation can be best -/// visualized as the following pseudocode: -/// -/// ``` -/// let `accu_var` = `accu_init` -/// for (let `iter_var` in `iter_range`) { -/// if (!`loop_condition`) { -/// break -/// } -/// `accu_var` = `loop_step` -/// } -/// return `result` -/// ``` -/// -/// Comprehensions for the optional V2 macros which support map-to-map -/// translation differ slightly from the standard environment macros in that -/// they expose both the key or index in addition to the value for each list -/// or map entry: -/// -/// ``` -/// let `accu_var` = `accu_init` -/// for (let `iter_var`, `iter_var2` in `iter_range`) { -/// if (!`loop_condition`) { -/// break -/// } -/// `accu_var` = `loop_step` -/// } -/// return `result` -/// ``` -class Expr_Comprehension extends $pb.GeneratedMessage { - factory Expr_Comprehension({ - $core.String? iterVar, - Expr? iterRange, - $core.String? accuVar, - Expr? accuInit, - Expr? loopCondition, - Expr? loopStep, - Expr? result, - $core.String? iterVar2, - }) { - final $result = create(); - if (iterVar != null) { - $result.iterVar = iterVar; - } - if (iterRange != null) { - $result.iterRange = iterRange; - } - if (accuVar != null) { - $result.accuVar = accuVar; - } - if (accuInit != null) { - $result.accuInit = accuInit; - } - if (loopCondition != null) { - $result.loopCondition = loopCondition; - } - if (loopStep != null) { - $result.loopStep = loopStep; - } - if (result != null) { - $result.result = result; - } - if (iterVar2 != null) { - $result.iterVar2 = iterVar2; - } - return $result; - } - Expr_Comprehension._() : super(); - factory Expr_Comprehension.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Comprehension.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Comprehension', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'iterVar') - ..aOM(2, _omitFieldNames ? '' : 'iterRange', subBuilder: Expr.create) - ..aOS(3, _omitFieldNames ? '' : 'accuVar') - ..aOM(4, _omitFieldNames ? '' : 'accuInit', subBuilder: Expr.create) - ..aOM(5, _omitFieldNames ? '' : 'loopCondition', subBuilder: Expr.create) - ..aOM(6, _omitFieldNames ? '' : 'loopStep', subBuilder: Expr.create) - ..aOM(7, _omitFieldNames ? '' : 'result', subBuilder: Expr.create) - ..aOS(8, _omitFieldNames ? '' : 'iterVar2') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Comprehension clone() => Expr_Comprehension()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Comprehension copyWith(void Function(Expr_Comprehension) updates) => super.copyWith((message) => updates(message as Expr_Comprehension)) as Expr_Comprehension; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Comprehension create() => Expr_Comprehension._(); - Expr_Comprehension createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Comprehension getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Comprehension? _defaultInstance; - - /// The name of the first iteration variable. - /// When the iter_range is a list, this variable is the list element. - /// When the iter_range is a map, this variable is the map entry key. - @$pb.TagNumber(1) - $core.String get iterVar => $_getSZ(0); - @$pb.TagNumber(1) - set iterVar($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasIterVar() => $_has(0); - @$pb.TagNumber(1) - void clearIterVar() => clearField(1); - - /// The range over which the comprehension iterates. - @$pb.TagNumber(2) - Expr get iterRange => $_getN(1); - @$pb.TagNumber(2) - set iterRange(Expr v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasIterRange() => $_has(1); - @$pb.TagNumber(2) - void clearIterRange() => clearField(2); - @$pb.TagNumber(2) - Expr ensureIterRange() => $_ensure(1); - - /// The name of the variable used for accumulation of the result. - @$pb.TagNumber(3) - $core.String get accuVar => $_getSZ(2); - @$pb.TagNumber(3) - set accuVar($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasAccuVar() => $_has(2); - @$pb.TagNumber(3) - void clearAccuVar() => clearField(3); - - /// The initial value of the accumulator. - @$pb.TagNumber(4) - Expr get accuInit => $_getN(3); - @$pb.TagNumber(4) - set accuInit(Expr v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasAccuInit() => $_has(3); - @$pb.TagNumber(4) - void clearAccuInit() => clearField(4); - @$pb.TagNumber(4) - Expr ensureAccuInit() => $_ensure(3); - - /// An expression which can contain iter_var, iter_var2, and accu_var. - /// - /// Returns false when the result has been computed and may be used as - /// a hint to short-circuit the remainder of the comprehension. - @$pb.TagNumber(5) - Expr get loopCondition => $_getN(4); - @$pb.TagNumber(5) - set loopCondition(Expr v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasLoopCondition() => $_has(4); - @$pb.TagNumber(5) - void clearLoopCondition() => clearField(5); - @$pb.TagNumber(5) - Expr ensureLoopCondition() => $_ensure(4); - - /// An expression which can contain iter_var, iter_var2, and accu_var. - /// - /// Computes the next value of accu_var. - @$pb.TagNumber(6) - Expr get loopStep => $_getN(5); - @$pb.TagNumber(6) - set loopStep(Expr v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasLoopStep() => $_has(5); - @$pb.TagNumber(6) - void clearLoopStep() => clearField(6); - @$pb.TagNumber(6) - Expr ensureLoopStep() => $_ensure(5); - - /// An expression which can contain accu_var. - /// - /// Computes the result. - @$pb.TagNumber(7) - Expr get result => $_getN(6); - @$pb.TagNumber(7) - set result(Expr v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasResult() => $_has(6); - @$pb.TagNumber(7) - void clearResult() => clearField(7); - @$pb.TagNumber(7) - Expr ensureResult() => $_ensure(6); - - /// The name of the second iteration variable, empty if not set. - /// When the iter_range is a list, this variable is the integer index. - /// When the iter_range is a map, this variable is the map entry value. - /// This field is only set for comprehension v2 macros. - @$pb.TagNumber(8) - $core.String get iterVar2 => $_getSZ(7); - @$pb.TagNumber(8) - set iterVar2($core.String v) { $_setString(7, v); } - @$pb.TagNumber(8) - $core.bool hasIterVar2() => $_has(7); - @$pb.TagNumber(8) - void clearIterVar2() => clearField(8); -} - -enum Expr_ExprKind { - constExpr, - identExpr, - selectExpr, - callExpr, - listExpr, - structExpr, - comprehensionExpr, - notSet -} - -/// An abstract representation of a common expression. -/// -/// Expressions are abstractly represented as a collection of identifiers, -/// select statements, function calls, literals, and comprehensions. All -/// operators with the exception of the '.' operator are modelled as function -/// calls. This makes it easy to represent new operators into the existing AST. -/// -/// All references within expressions must resolve to a -/// [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an -/// expression to be valid. A reference may either be a bare identifier `name` or -/// a qualified identifier `google.api.name`. References may either refer to a -/// value or a function declaration. -/// -/// For example, the expression `google.api.name.startsWith('expr')` references -/// the declaration `google.api.name` within a -/// [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the -/// function declaration `startsWith`. -class Expr extends $pb.GeneratedMessage { - factory Expr({ - $fixnum.Int64? id, - Constant? constExpr, - Expr_Ident? identExpr, - Expr_Select? selectExpr, - Expr_Call? callExpr, - Expr_CreateList? listExpr, - Expr_CreateStruct? structExpr, - Expr_Comprehension? comprehensionExpr, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (constExpr != null) { - $result.constExpr = constExpr; - } - if (identExpr != null) { - $result.identExpr = identExpr; - } - if (selectExpr != null) { - $result.selectExpr = selectExpr; - } - if (callExpr != null) { - $result.callExpr = callExpr; - } - if (listExpr != null) { - $result.listExpr = listExpr; - } - if (structExpr != null) { - $result.structExpr = structExpr; - } - if (comprehensionExpr != null) { - $result.comprehensionExpr = comprehensionExpr; - } - return $result; - } - Expr._() : super(); - factory Expr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Expr_ExprKind> _Expr_ExprKindByTag = { - 3 : Expr_ExprKind.constExpr, - 4 : Expr_ExprKind.identExpr, - 5 : Expr_ExprKind.selectExpr, - 6 : Expr_ExprKind.callExpr, - 7 : Expr_ExprKind.listExpr, - 8 : Expr_ExprKind.structExpr, - 9 : Expr_ExprKind.comprehensionExpr, - 0 : Expr_ExprKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..oo(0, [3, 4, 5, 6, 7, 8, 9]) - ..aInt64(2, _omitFieldNames ? '' : 'id') - ..aOM(3, _omitFieldNames ? '' : 'constExpr', subBuilder: Constant.create) - ..aOM(4, _omitFieldNames ? '' : 'identExpr', subBuilder: Expr_Ident.create) - ..aOM(5, _omitFieldNames ? '' : 'selectExpr', subBuilder: Expr_Select.create) - ..aOM(6, _omitFieldNames ? '' : 'callExpr', subBuilder: Expr_Call.create) - ..aOM(7, _omitFieldNames ? '' : 'listExpr', subBuilder: Expr_CreateList.create) - ..aOM(8, _omitFieldNames ? '' : 'structExpr', subBuilder: Expr_CreateStruct.create) - ..aOM(9, _omitFieldNames ? '' : 'comprehensionExpr', subBuilder: Expr_Comprehension.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr clone() => Expr()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr copyWith(void Function(Expr) updates) => super.copyWith((message) => updates(message as Expr)) as Expr; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr create() => Expr._(); - Expr createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr? _defaultInstance; - - Expr_ExprKind whichExprKind() => _Expr_ExprKindByTag[$_whichOneof(0)]!; - void clearExprKind() => clearField($_whichOneof(0)); - - /// Required. An id assigned to this node by the parser which is unique in a - /// given expression tree. This is used to associate type information and other - /// attributes to a node in the parse tree. - @$pb.TagNumber(2) - $fixnum.Int64 get id => $_getI64(0); - @$pb.TagNumber(2) - set id($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(2) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(2) - void clearId() => clearField(2); - - /// A literal expression. - @$pb.TagNumber(3) - Constant get constExpr => $_getN(1); - @$pb.TagNumber(3) - set constExpr(Constant v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasConstExpr() => $_has(1); - @$pb.TagNumber(3) - void clearConstExpr() => clearField(3); - @$pb.TagNumber(3) - Constant ensureConstExpr() => $_ensure(1); - - /// An identifier expression. - @$pb.TagNumber(4) - Expr_Ident get identExpr => $_getN(2); - @$pb.TagNumber(4) - set identExpr(Expr_Ident v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasIdentExpr() => $_has(2); - @$pb.TagNumber(4) - void clearIdentExpr() => clearField(4); - @$pb.TagNumber(4) - Expr_Ident ensureIdentExpr() => $_ensure(2); - - /// A field selection expression, e.g. `request.auth`. - @$pb.TagNumber(5) - Expr_Select get selectExpr => $_getN(3); - @$pb.TagNumber(5) - set selectExpr(Expr_Select v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasSelectExpr() => $_has(3); - @$pb.TagNumber(5) - void clearSelectExpr() => clearField(5); - @$pb.TagNumber(5) - Expr_Select ensureSelectExpr() => $_ensure(3); - - /// A call expression, including calls to predefined functions and operators. - @$pb.TagNumber(6) - Expr_Call get callExpr => $_getN(4); - @$pb.TagNumber(6) - set callExpr(Expr_Call v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasCallExpr() => $_has(4); - @$pb.TagNumber(6) - void clearCallExpr() => clearField(6); - @$pb.TagNumber(6) - Expr_Call ensureCallExpr() => $_ensure(4); - - /// A list creation expression. - @$pb.TagNumber(7) - Expr_CreateList get listExpr => $_getN(5); - @$pb.TagNumber(7) - set listExpr(Expr_CreateList v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasListExpr() => $_has(5); - @$pb.TagNumber(7) - void clearListExpr() => clearField(7); - @$pb.TagNumber(7) - Expr_CreateList ensureListExpr() => $_ensure(5); - - /// A map or message creation expression. - @$pb.TagNumber(8) - Expr_CreateStruct get structExpr => $_getN(6); - @$pb.TagNumber(8) - set structExpr(Expr_CreateStruct v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasStructExpr() => $_has(6); - @$pb.TagNumber(8) - void clearStructExpr() => clearField(8); - @$pb.TagNumber(8) - Expr_CreateStruct ensureStructExpr() => $_ensure(6); - - /// A comprehension expression. - @$pb.TagNumber(9) - Expr_Comprehension get comprehensionExpr => $_getN(7); - @$pb.TagNumber(9) - set comprehensionExpr(Expr_Comprehension v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasComprehensionExpr() => $_has(7); - @$pb.TagNumber(9) - void clearComprehensionExpr() => clearField(9); - @$pb.TagNumber(9) - Expr_Comprehension ensureComprehensionExpr() => $_ensure(7); -} - -enum Constant_ConstantKind { - nullValue, - boolValue, - int64Value, - uint64Value, - doubleValue, - stringValue, - bytesValue, - durationValue, - timestampValue, - notSet -} - -/// Represents a primitive literal. -/// -/// Named 'Constant' here for backwards compatibility. -/// -/// This is similar as the primitives supported in the well-known type -/// `google.protobuf.Value`, but richer so it can represent CEL's full range of -/// primitives. -/// -/// Lists and structs are not included as constants as these aggregate types may -/// contain [Expr][google.api.expr.v1alpha1.Expr] elements which require -/// evaluation and are thus not constant. -/// -/// Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, -/// `true`, `null`. -class Constant extends $pb.GeneratedMessage { - factory Constant({ - $7.NullValue? nullValue, - $core.bool? boolValue, - $fixnum.Int64? int64Value, - $fixnum.Int64? uint64Value, - $core.double? doubleValue, - $core.String? stringValue, - $core.List<$core.int>? bytesValue, - @$core.Deprecated('This field is deprecated.') - $4.Duration? durationValue, - @$core.Deprecated('This field is deprecated.') - $6.Timestamp? timestampValue, - }) { - final $result = create(); - if (nullValue != null) { - $result.nullValue = nullValue; - } - if (boolValue != null) { - $result.boolValue = boolValue; - } - if (int64Value != null) { - $result.int64Value = int64Value; - } - if (uint64Value != null) { - $result.uint64Value = uint64Value; - } - if (doubleValue != null) { - $result.doubleValue = doubleValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (bytesValue != null) { - $result.bytesValue = bytesValue; - } - if (durationValue != null) { - // ignore: deprecated_member_use_from_same_package - $result.durationValue = durationValue; - } - if (timestampValue != null) { - // ignore: deprecated_member_use_from_same_package - $result.timestampValue = timestampValue; - } - return $result; - } - Constant._() : super(); - factory Constant.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Constant.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Constant_ConstantKind> _Constant_ConstantKindByTag = { - 1 : Constant_ConstantKind.nullValue, - 2 : Constant_ConstantKind.boolValue, - 3 : Constant_ConstantKind.int64Value, - 4 : Constant_ConstantKind.uint64Value, - 5 : Constant_ConstantKind.doubleValue, - 6 : Constant_ConstantKind.stringValue, - 7 : Constant_ConstantKind.bytesValue, - 8 : Constant_ConstantKind.durationValue, - 9 : Constant_ConstantKind.timestampValue, - 0 : Constant_ConstantKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Constant', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9]) - ..e<$7.NullValue>(1, _omitFieldNames ? '' : 'nullValue', $pb.PbFieldType.OE, defaultOrMaker: $7.NullValue.NULL_VALUE, valueOf: $7.NullValue.valueOf, enumValues: $7.NullValue.values) - ..aOB(2, _omitFieldNames ? '' : 'boolValue') - ..aInt64(3, _omitFieldNames ? '' : 'int64Value') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'uint64Value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(5, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) - ..aOS(6, _omitFieldNames ? '' : 'stringValue') - ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'bytesValue', $pb.PbFieldType.OY) - ..aOM<$4.Duration>(8, _omitFieldNames ? '' : 'durationValue', subBuilder: $4.Duration.create) - ..aOM<$6.Timestamp>(9, _omitFieldNames ? '' : 'timestampValue', subBuilder: $6.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Constant clone() => Constant()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Constant copyWith(void Function(Constant) updates) => super.copyWith((message) => updates(message as Constant)) as Constant; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Constant create() => Constant._(); - Constant createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Constant getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Constant? _defaultInstance; - - Constant_ConstantKind whichConstantKind() => _Constant_ConstantKindByTag[$_whichOneof(0)]!; - void clearConstantKind() => clearField($_whichOneof(0)); - - /// null value. - @$pb.TagNumber(1) - $7.NullValue get nullValue => $_getN(0); - @$pb.TagNumber(1) - set nullValue($7.NullValue v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasNullValue() => $_has(0); - @$pb.TagNumber(1) - void clearNullValue() => clearField(1); - - /// boolean value. - @$pb.TagNumber(2) - $core.bool get boolValue => $_getBF(1); - @$pb.TagNumber(2) - set boolValue($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasBoolValue() => $_has(1); - @$pb.TagNumber(2) - void clearBoolValue() => clearField(2); - - /// int64 value. - @$pb.TagNumber(3) - $fixnum.Int64 get int64Value => $_getI64(2); - @$pb.TagNumber(3) - set int64Value($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasInt64Value() => $_has(2); - @$pb.TagNumber(3) - void clearInt64Value() => clearField(3); - - /// uint64 value. - @$pb.TagNumber(4) - $fixnum.Int64 get uint64Value => $_getI64(3); - @$pb.TagNumber(4) - set uint64Value($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(4) - $core.bool hasUint64Value() => $_has(3); - @$pb.TagNumber(4) - void clearUint64Value() => clearField(4); - - /// double value. - @$pb.TagNumber(5) - $core.double get doubleValue => $_getN(4); - @$pb.TagNumber(5) - set doubleValue($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasDoubleValue() => $_has(4); - @$pb.TagNumber(5) - void clearDoubleValue() => clearField(5); - - /// string value. - @$pb.TagNumber(6) - $core.String get stringValue => $_getSZ(5); - @$pb.TagNumber(6) - set stringValue($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasStringValue() => $_has(5); - @$pb.TagNumber(6) - void clearStringValue() => clearField(6); - - /// bytes value. - @$pb.TagNumber(7) - $core.List<$core.int> get bytesValue => $_getN(6); - @$pb.TagNumber(7) - set bytesValue($core.List<$core.int> v) { $_setBytes(6, v); } - @$pb.TagNumber(7) - $core.bool hasBytesValue() => $_has(6); - @$pb.TagNumber(7) - void clearBytesValue() => clearField(7); - - /// protobuf.Duration value. - /// - /// Deprecated: duration is no longer considered a builtin cel type. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - $4.Duration get durationValue => $_getN(7); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - set durationValue($4.Duration v) { setField(8, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - $core.bool hasDurationValue() => $_has(7); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - void clearDurationValue() => clearField(8); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(8) - $4.Duration ensureDurationValue() => $_ensure(7); - - /// protobuf.Timestamp value. - /// - /// Deprecated: timestamp is no longer considered a builtin cel type. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - $6.Timestamp get timestampValue => $_getN(8); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - set timestampValue($6.Timestamp v) { setField(9, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - $core.bool hasTimestampValue() => $_has(8); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - void clearTimestampValue() => clearField(9); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(9) - $6.Timestamp ensureTimestampValue() => $_ensure(8); -} - -/// Version -class SourceInfo_Extension_Version extends $pb.GeneratedMessage { - factory SourceInfo_Extension_Version({ - $fixnum.Int64? major, - $fixnum.Int64? minor, - }) { - final $result = create(); - if (major != null) { - $result.major = major; - } - if (minor != null) { - $result.minor = minor; - } - return $result; - } - SourceInfo_Extension_Version._() : super(); - factory SourceInfo_Extension_Version.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourceInfo_Extension_Version.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceInfo.Extension.Version', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'major') - ..aInt64(2, _omitFieldNames ? '' : 'minor') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourceInfo_Extension_Version clone() => SourceInfo_Extension_Version()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourceInfo_Extension_Version copyWith(void Function(SourceInfo_Extension_Version) updates) => super.copyWith((message) => updates(message as SourceInfo_Extension_Version)) as SourceInfo_Extension_Version; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourceInfo_Extension_Version create() => SourceInfo_Extension_Version._(); - SourceInfo_Extension_Version createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourceInfo_Extension_Version getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourceInfo_Extension_Version? _defaultInstance; - - /// Major version changes indicate different required support level from - /// the required components. - @$pb.TagNumber(1) - $fixnum.Int64 get major => $_getI64(0); - @$pb.TagNumber(1) - set major($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasMajor() => $_has(0); - @$pb.TagNumber(1) - void clearMajor() => clearField(1); - - /// Minor version changes must not change the observed behavior from - /// existing implementations, but may be provided informationally. - @$pb.TagNumber(2) - $fixnum.Int64 get minor => $_getI64(1); - @$pb.TagNumber(2) - set minor($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasMinor() => $_has(1); - @$pb.TagNumber(2) - void clearMinor() => clearField(2); -} - -/// An extension that was requested for the source expression. -class SourceInfo_Extension extends $pb.GeneratedMessage { - factory SourceInfo_Extension({ - $core.String? id, - $core.Iterable? affectedComponents, - SourceInfo_Extension_Version? version, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (affectedComponents != null) { - $result.affectedComponents.addAll(affectedComponents); - } - if (version != null) { - $result.version = version; - } - return $result; - } - SourceInfo_Extension._() : super(); - factory SourceInfo_Extension.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourceInfo_Extension.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceInfo.Extension', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..pc(2, _omitFieldNames ? '' : 'affectedComponents', $pb.PbFieldType.KE, valueOf: SourceInfo_Extension_Component.valueOf, enumValues: SourceInfo_Extension_Component.values, defaultEnumValue: SourceInfo_Extension_Component.COMPONENT_UNSPECIFIED) - ..aOM(3, _omitFieldNames ? '' : 'version', subBuilder: SourceInfo_Extension_Version.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourceInfo_Extension clone() => SourceInfo_Extension()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourceInfo_Extension copyWith(void Function(SourceInfo_Extension) updates) => super.copyWith((message) => updates(message as SourceInfo_Extension)) as SourceInfo_Extension; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourceInfo_Extension create() => SourceInfo_Extension._(); - SourceInfo_Extension createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourceInfo_Extension getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourceInfo_Extension? _defaultInstance; - - /// Identifier for the extension. Example: constant_folding - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// If set, the listed components must understand the extension for the - /// expression to evaluate correctly. - /// - /// This field has set semantics, repeated values should be deduplicated. - @$pb.TagNumber(2) - $core.List get affectedComponents => $_getList(1); - - /// Version info. May be skipped if it isn't meaningful for the extension. - /// (for example constant_folding might always be v0.0). - @$pb.TagNumber(3) - SourceInfo_Extension_Version get version => $_getN(2); - @$pb.TagNumber(3) - set version(SourceInfo_Extension_Version v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasVersion() => $_has(2); - @$pb.TagNumber(3) - void clearVersion() => clearField(3); - @$pb.TagNumber(3) - SourceInfo_Extension_Version ensureVersion() => $_ensure(2); -} - -/// Source information collected at parse time. -class SourceInfo extends $pb.GeneratedMessage { - factory SourceInfo({ - $core.String? syntaxVersion, - $core.String? location, - $core.Iterable<$core.int>? lineOffsets, - $core.Map<$fixnum.Int64, $core.int>? positions, - $core.Map<$fixnum.Int64, Expr>? macroCalls, - $core.Iterable? extensions, - }) { - final $result = create(); - if (syntaxVersion != null) { - $result.syntaxVersion = syntaxVersion; - } - if (location != null) { - $result.location = location; - } - if (lineOffsets != null) { - $result.lineOffsets.addAll(lineOffsets); - } - if (positions != null) { - $result.positions.addAll(positions); - } - if (macroCalls != null) { - $result.macroCalls.addAll(macroCalls); - } - if (extensions != null) { - $result.extensions.addAll(extensions); - } - return $result; - } - SourceInfo._() : super(); - factory SourceInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourceInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'syntaxVersion') - ..aOS(2, _omitFieldNames ? '' : 'location') - ..p<$core.int>(3, _omitFieldNames ? '' : 'lineOffsets', $pb.PbFieldType.K3) - ..m<$fixnum.Int64, $core.int>(4, _omitFieldNames ? '' : 'positions', entryClassName: 'SourceInfo.PositionsEntry', keyFieldType: $pb.PbFieldType.O6, valueFieldType: $pb.PbFieldType.O3, packageName: const $pb.PackageName('google.api.expr.v1alpha1')) - ..m<$fixnum.Int64, Expr>(5, _omitFieldNames ? '' : 'macroCalls', entryClassName: 'SourceInfo.MacroCallsEntry', keyFieldType: $pb.PbFieldType.O6, valueFieldType: $pb.PbFieldType.OM, valueCreator: Expr.create, valueDefaultOrMaker: Expr.getDefault, packageName: const $pb.PackageName('google.api.expr.v1alpha1')) - ..pc(6, _omitFieldNames ? '' : 'extensions', $pb.PbFieldType.PM, subBuilder: SourceInfo_Extension.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourceInfo clone() => SourceInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourceInfo copyWith(void Function(SourceInfo) updates) => super.copyWith((message) => updates(message as SourceInfo)) as SourceInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourceInfo create() => SourceInfo._(); - SourceInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourceInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourceInfo? _defaultInstance; - - /// The syntax version of the source, e.g. `cel1`. - @$pb.TagNumber(1) - $core.String get syntaxVersion => $_getSZ(0); - @$pb.TagNumber(1) - set syntaxVersion($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSyntaxVersion() => $_has(0); - @$pb.TagNumber(1) - void clearSyntaxVersion() => clearField(1); - - /// The location name. All position information attached to an expression is - /// relative to this location. - /// - /// The location could be a file, UI element, or similar. For example, - /// `acme/app/AnvilPolicy.cel`. - @$pb.TagNumber(2) - $core.String get location => $_getSZ(1); - @$pb.TagNumber(2) - set location($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLocation() => $_has(1); - @$pb.TagNumber(2) - void clearLocation() => clearField(2); - - /// Monotonically increasing list of code point offsets where newlines - /// `\n` appear. - /// - /// The line number of a given position is the index `i` where for a given - /// `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The - /// column may be derivd from `id_positions[id] - line_offsets[i]`. - @$pb.TagNumber(3) - $core.List<$core.int> get lineOffsets => $_getList(2); - - /// A map from the parse node id (e.g. `Expr.id`) to the code point offset - /// within the source. - @$pb.TagNumber(4) - $core.Map<$fixnum.Int64, $core.int> get positions => $_getMap(3); - - /// A map from the parse node id where a macro replacement was made to the - /// call `Expr` that resulted in a macro expansion. - /// - /// For example, `has(value.field)` is a function call that is replaced by a - /// `test_only` field selection in the AST. Likewise, the call - /// `list.exists(e, e > 10)` translates to a comprehension expression. The key - /// in the map corresponds to the expression id of the expanded macro, and the - /// value is the call `Expr` that was replaced. - @$pb.TagNumber(5) - $core.Map<$fixnum.Int64, Expr> get macroCalls => $_getMap(4); - - /// A list of tags for extensions that were used while parsing or type checking - /// the source expression. For example, optimizations that require special - /// runtime support may be specified. - /// - /// These are used to check feature support between components in separate - /// implementations. This can be used to either skip redundant work or - /// report an error if the extension is unsupported. - @$pb.TagNumber(6) - $core.List get extensions => $_getList(5); -} - -/// A specific position in source. -class SourcePosition extends $pb.GeneratedMessage { - factory SourcePosition({ - $core.String? location, - $core.int? offset, - $core.int? line, - $core.int? column, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - if (offset != null) { - $result.offset = offset; - } - if (line != null) { - $result.line = line; - } - if (column != null) { - $result.column = column; - } - return $result; - } - SourcePosition._() : super(); - factory SourcePosition.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourcePosition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourcePosition', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'location') - ..a<$core.int>(2, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.O3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'line', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'column', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourcePosition clone() => SourcePosition()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourcePosition copyWith(void Function(SourcePosition) updates) => super.copyWith((message) => updates(message as SourcePosition)) as SourcePosition; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourcePosition create() => SourcePosition._(); - SourcePosition createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourcePosition getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourcePosition? _defaultInstance; - - /// The soucre location name (e.g. file name). - @$pb.TagNumber(1) - $core.String get location => $_getSZ(0); - @$pb.TagNumber(1) - set location($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(1) - void clearLocation() => clearField(1); - - /// The UTF-8 code unit offset. - @$pb.TagNumber(2) - $core.int get offset => $_getIZ(1); - @$pb.TagNumber(2) - set offset($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasOffset() => $_has(1); - @$pb.TagNumber(2) - void clearOffset() => clearField(2); - - /// The 1-based index of the starting line in the source text - /// where the issue occurs, or 0 if unknown. - @$pb.TagNumber(3) - $core.int get line => $_getIZ(2); - @$pb.TagNumber(3) - set line($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasLine() => $_has(2); - @$pb.TagNumber(3) - void clearLine() => clearField(3); - - /// The 0-based index of the starting position within the line of source text - /// where the issue occurs. Only meaningful if line is nonzero. - @$pb.TagNumber(4) - $core.int get column => $_getIZ(3); - @$pb.TagNumber(4) - set column($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasColumn() => $_has(3); - @$pb.TagNumber(4) - void clearColumn() => clearField(4); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1alpha1/syntax.pbenum.dart b/lib/src/gen/google/api/expr/v1alpha1/syntax.pbenum.dart deleted file mode 100644 index d9665f2ae34..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/syntax.pbenum.dart +++ /dev/null @@ -1,37 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/syntax.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// CEL component specifier. -class SourceInfo_Extension_Component extends $pb.ProtobufEnum { - static const SourceInfo_Extension_Component COMPONENT_UNSPECIFIED = SourceInfo_Extension_Component._(0, _omitEnumNames ? '' : 'COMPONENT_UNSPECIFIED'); - static const SourceInfo_Extension_Component COMPONENT_PARSER = SourceInfo_Extension_Component._(1, _omitEnumNames ? '' : 'COMPONENT_PARSER'); - static const SourceInfo_Extension_Component COMPONENT_TYPE_CHECKER = SourceInfo_Extension_Component._(2, _omitEnumNames ? '' : 'COMPONENT_TYPE_CHECKER'); - static const SourceInfo_Extension_Component COMPONENT_RUNTIME = SourceInfo_Extension_Component._(3, _omitEnumNames ? '' : 'COMPONENT_RUNTIME'); - - static const $core.List values = [ - COMPONENT_UNSPECIFIED, - COMPONENT_PARSER, - COMPONENT_TYPE_CHECKER, - COMPONENT_RUNTIME, - ]; - - static final $core.Map<$core.int, SourceInfo_Extension_Component> _byValue = $pb.ProtobufEnum.initByValue(values); - static SourceInfo_Extension_Component? valueOf($core.int value) => _byValue[value]; - - const SourceInfo_Extension_Component._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/api/expr/v1alpha1/syntax.pbjson.dart b/lib/src/gen/google/api/expr/v1alpha1/syntax.pbjson.dart deleted file mode 100644 index 52fbea47582..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/syntax.pbjson.dart +++ /dev/null @@ -1,313 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/syntax.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use parsedExprDescriptor instead') -const ParsedExpr$json = { - '1': 'ParsedExpr', - '2': [ - {'1': 'expr', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'expr'}, - {'1': 'source_info', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.SourceInfo', '10': 'sourceInfo'}, - ], -}; - -/// Descriptor for `ParsedExpr`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List parsedExprDescriptor = $convert.base64Decode( - 'CgpQYXJzZWRFeHByEjIKBGV4cHIYAiABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRX' - 'hwclIEZXhwchJFCgtzb3VyY2VfaW5mbxgDIAEoCzIkLmdvb2dsZS5hcGkuZXhwci52MWFscGhh' - 'MS5Tb3VyY2VJbmZvUgpzb3VyY2VJbmZv'); - -@$core.Deprecated('Use exprDescriptor instead') -const Expr$json = { - '1': 'Expr', - '2': [ - {'1': 'id', '3': 2, '4': 1, '5': 3, '10': 'id'}, - {'1': 'const_expr', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Constant', '9': 0, '10': 'constExpr'}, - {'1': 'ident_expr', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr.Ident', '9': 0, '10': 'identExpr'}, - {'1': 'select_expr', '3': 5, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr.Select', '9': 0, '10': 'selectExpr'}, - {'1': 'call_expr', '3': 6, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr.Call', '9': 0, '10': 'callExpr'}, - {'1': 'list_expr', '3': 7, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr.CreateList', '9': 0, '10': 'listExpr'}, - {'1': 'struct_expr', '3': 8, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr.CreateStruct', '9': 0, '10': 'structExpr'}, - {'1': 'comprehension_expr', '3': 9, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr.Comprehension', '9': 0, '10': 'comprehensionExpr'}, - ], - '3': [Expr_Ident$json, Expr_Select$json, Expr_Call$json, Expr_CreateList$json, Expr_CreateStruct$json, Expr_Comprehension$json], - '8': [ - {'1': 'expr_kind'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Ident$json = { - '1': 'Ident', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Select$json = { - '1': 'Select', - '2': [ - {'1': 'operand', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'operand'}, - {'1': 'field', '3': 2, '4': 1, '5': 9, '10': 'field'}, - {'1': 'test_only', '3': 3, '4': 1, '5': 8, '10': 'testOnly'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Call$json = { - '1': 'Call', - '2': [ - {'1': 'target', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'target'}, - {'1': 'function', '3': 2, '4': 1, '5': 9, '10': 'function'}, - {'1': 'args', '3': 3, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'args'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_CreateList$json = { - '1': 'CreateList', - '2': [ - {'1': 'elements', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'elements'}, - {'1': 'optional_indices', '3': 2, '4': 3, '5': 5, '10': 'optionalIndices'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_CreateStruct$json = { - '1': 'CreateStruct', - '2': [ - {'1': 'message_name', '3': 1, '4': 1, '5': 9, '10': 'messageName'}, - {'1': 'entries', '3': 2, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Expr.CreateStruct.Entry', '10': 'entries'}, - ], - '3': [Expr_CreateStruct_Entry$json], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_CreateStruct_Entry$json = { - '1': 'Entry', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 3, '10': 'id'}, - {'1': 'field_key', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'fieldKey'}, - {'1': 'map_key', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '9': 0, '10': 'mapKey'}, - {'1': 'value', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'value'}, - {'1': 'optional_entry', '3': 5, '4': 1, '5': 8, '10': 'optionalEntry'}, - ], - '8': [ - {'1': 'key_kind'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Comprehension$json = { - '1': 'Comprehension', - '2': [ - {'1': 'iter_var', '3': 1, '4': 1, '5': 9, '10': 'iterVar'}, - {'1': 'iter_var2', '3': 8, '4': 1, '5': 9, '10': 'iterVar2'}, - {'1': 'iter_range', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'iterRange'}, - {'1': 'accu_var', '3': 3, '4': 1, '5': 9, '10': 'accuVar'}, - {'1': 'accu_init', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'accuInit'}, - {'1': 'loop_condition', '3': 5, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'loopCondition'}, - {'1': 'loop_step', '3': 6, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'loopStep'}, - {'1': 'result', '3': 7, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'result'}, - ], -}; - -/// Descriptor for `Expr`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List exprDescriptor = $convert.base64Decode( - 'CgRFeHByEg4KAmlkGAIgASgDUgJpZBJDCgpjb25zdF9leHByGAMgASgLMiIuZ29vZ2xlLmFwaS' - '5leHByLnYxYWxwaGExLkNvbnN0YW50SABSCWNvbnN0RXhwchJFCgppZGVudF9leHByGAQgASgL' - 'MiQuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHIuSWRlbnRIAFIJaWRlbnRFeHByEkgKC3' - 'NlbGVjdF9leHByGAUgASgLMiUuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHIuU2VsZWN0' - 'SABSCnNlbGVjdEV4cHISQgoJY2FsbF9leHByGAYgASgLMiMuZ29vZ2xlLmFwaS5leHByLnYxYW' - 'xwaGExLkV4cHIuQ2FsbEgAUghjYWxsRXhwchJICglsaXN0X2V4cHIYByABKAsyKS5nb29nbGUu' - 'YXBpLmV4cHIudjFhbHBoYTEuRXhwci5DcmVhdGVMaXN0SABSCGxpc3RFeHByEk4KC3N0cnVjdF' - '9leHByGAggASgLMisuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHIuQ3JlYXRlU3RydWN0' - 'SABSCnN0cnVjdEV4cHISXQoSY29tcHJlaGVuc2lvbl9leHByGAkgASgLMiwuZ29vZ2xlLmFwaS' - '5leHByLnYxYWxwaGExLkV4cHIuQ29tcHJlaGVuc2lvbkgAUhFjb21wcmVoZW5zaW9uRXhwchob' - 'CgVJZGVudBISCgRuYW1lGAEgASgJUgRuYW1lGnUKBlNlbGVjdBI4CgdvcGVyYW5kGAEgASgLMh' - '4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHJSB29wZXJhbmQSFAoFZmllbGQYAiABKAlS' - 'BWZpZWxkEhsKCXRlc3Rfb25seRgDIAEoCFIIdGVzdE9ubHkajgEKBENhbGwSNgoGdGFyZ2V0GA' - 'EgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHJSBnRhcmdldBIaCghmdW5jdGlv' - 'bhgCIAEoCVIIZnVuY3Rpb24SMgoEYXJncxgDIAMoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFscG' - 'hhMS5FeHByUgRhcmdzGnMKCkNyZWF0ZUxpc3QSOgoIZWxlbWVudHMYASADKAsyHi5nb29nbGUu' - 'YXBpLmV4cHIudjFhbHBoYTEuRXhwclIIZWxlbWVudHMSKQoQb3B0aW9uYWxfaW5kaWNlcxgCIA' - 'MoBVIPb3B0aW9uYWxJbmRpY2VzGtsCCgxDcmVhdGVTdHJ1Y3QSIQoMbWVzc2FnZV9uYW1lGAEg' - 'ASgJUgttZXNzYWdlTmFtZRJLCgdlbnRyaWVzGAIgAygLMjEuZ29vZ2xlLmFwaS5leHByLnYxYW' - 'xwaGExLkV4cHIuQ3JlYXRlU3RydWN0LkVudHJ5UgdlbnRyaWVzGtoBCgVFbnRyeRIOCgJpZBgB' - 'IAEoA1ICaWQSHQoJZmllbGRfa2V5GAIgASgJSABSCGZpZWxkS2V5EjkKB21hcF9rZXkYAyABKA' - 'syHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwckgAUgZtYXBLZXkSNAoFdmFsdWUYBCAB' - 'KAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwclIFdmFsdWUSJQoOb3B0aW9uYWxfZW' - '50cnkYBSABKAhSDW9wdGlvbmFsRW50cnlCCgoIa2V5X2tpbmQamgMKDUNvbXByZWhlbnNpb24S' - 'GQoIaXRlcl92YXIYASABKAlSB2l0ZXJWYXISGwoJaXRlcl92YXIyGAggASgJUghpdGVyVmFyMh' - 'I9CgppdGVyX3JhbmdlGAIgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHJSCWl0' - 'ZXJSYW5nZRIZCghhY2N1X3ZhchgDIAEoCVIHYWNjdVZhchI7CglhY2N1X2luaXQYBCABKAsyHi' - '5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwclIIYWNjdUluaXQSRQoObG9vcF9jb25kaXRp' - 'b24YBSABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwclINbG9vcENvbmRpdGlvbh' - 'I7Cglsb29wX3N0ZXAYBiABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwclIIbG9v' - 'cFN0ZXASNgoGcmVzdWx0GAcgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHJSBn' - 'Jlc3VsdEILCglleHByX2tpbmQ='); - -@$core.Deprecated('Use constantDescriptor instead') -const Constant$json = { - '1': 'Constant', - '2': [ - {'1': 'null_value', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.NullValue', '9': 0, '10': 'nullValue'}, - {'1': 'bool_value', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'int64_value', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'int64Value'}, - {'1': 'uint64_value', '3': 4, '4': 1, '5': 4, '9': 0, '10': 'uint64Value'}, - {'1': 'double_value', '3': 5, '4': 1, '5': 1, '9': 0, '10': 'doubleValue'}, - {'1': 'string_value', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'stringValue'}, - {'1': 'bytes_value', '3': 7, '4': 1, '5': 12, '9': 0, '10': 'bytesValue'}, - { - '1': 'duration_value', - '3': 8, - '4': 1, - '5': 11, - '6': '.google.protobuf.Duration', - '8': {'3': true}, - '9': 0, - '10': 'durationValue', - }, - { - '1': 'timestamp_value', - '3': 9, - '4': 1, - '5': 11, - '6': '.google.protobuf.Timestamp', - '8': {'3': true}, - '9': 0, - '10': 'timestampValue', - }, - ], - '8': [ - {'1': 'constant_kind'}, - ], -}; - -/// Descriptor for `Constant`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List constantDescriptor = $convert.base64Decode( - 'CghDb25zdGFudBI7CgpudWxsX3ZhbHVlGAEgASgOMhouZ29vZ2xlLnByb3RvYnVmLk51bGxWYW' - 'x1ZUgAUgludWxsVmFsdWUSHwoKYm9vbF92YWx1ZRgCIAEoCEgAUglib29sVmFsdWUSIQoLaW50' - 'NjRfdmFsdWUYAyABKANIAFIKaW50NjRWYWx1ZRIjCgx1aW50NjRfdmFsdWUYBCABKARIAFILdW' - 'ludDY0VmFsdWUSIwoMZG91YmxlX3ZhbHVlGAUgASgBSABSC2RvdWJsZVZhbHVlEiMKDHN0cmlu' - 'Z192YWx1ZRgGIAEoCUgAUgtzdHJpbmdWYWx1ZRIhCgtieXRlc192YWx1ZRgHIAEoDEgAUgpieX' - 'Rlc1ZhbHVlEkYKDmR1cmF0aW9uX3ZhbHVlGAggASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0' - 'aW9uQgIYAUgAUg1kdXJhdGlvblZhbHVlEkkKD3RpbWVzdGFtcF92YWx1ZRgJIAEoCzIaLmdvb2' - 'dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCAhgBSABSDnRpbWVzdGFtcFZhbHVlQg8KDWNvbnN0YW50' - 'X2tpbmQ='); - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo$json = { - '1': 'SourceInfo', - '2': [ - {'1': 'syntax_version', '3': 1, '4': 1, '5': 9, '10': 'syntaxVersion'}, - {'1': 'location', '3': 2, '4': 1, '5': 9, '10': 'location'}, - {'1': 'line_offsets', '3': 3, '4': 3, '5': 5, '10': 'lineOffsets'}, - {'1': 'positions', '3': 4, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.SourceInfo.PositionsEntry', '10': 'positions'}, - {'1': 'macro_calls', '3': 5, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry', '10': 'macroCalls'}, - {'1': 'extensions', '3': 6, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.SourceInfo.Extension', '10': 'extensions'}, - ], - '3': [SourceInfo_Extension$json, SourceInfo_PositionsEntry$json, SourceInfo_MacroCallsEntry$json], -}; - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo_Extension$json = { - '1': 'Extension', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'affected_components', '3': 2, '4': 3, '5': 14, '6': '.google.api.expr.v1alpha1.SourceInfo.Extension.Component', '10': 'affectedComponents'}, - {'1': 'version', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.SourceInfo.Extension.Version', '10': 'version'}, - ], - '3': [SourceInfo_Extension_Version$json], - '4': [SourceInfo_Extension_Component$json], -}; - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo_Extension_Version$json = { - '1': 'Version', - '2': [ - {'1': 'major', '3': 1, '4': 1, '5': 3, '10': 'major'}, - {'1': 'minor', '3': 2, '4': 1, '5': 3, '10': 'minor'}, - ], -}; - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo_Extension_Component$json = { - '1': 'Component', - '2': [ - {'1': 'COMPONENT_UNSPECIFIED', '2': 0}, - {'1': 'COMPONENT_PARSER', '2': 1}, - {'1': 'COMPONENT_TYPE_CHECKER', '2': 2}, - {'1': 'COMPONENT_RUNTIME', '2': 3}, - ], -}; - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo_PositionsEntry$json = { - '1': 'PositionsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 3, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 5, '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo_MacroCallsEntry$json = { - '1': 'MacroCallsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 3, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Expr', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `SourceInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sourceInfoDescriptor = $convert.base64Decode( - 'CgpTb3VyY2VJbmZvEiUKDnN5bnRheF92ZXJzaW9uGAEgASgJUg1zeW50YXhWZXJzaW9uEhoKCG' - 'xvY2F0aW9uGAIgASgJUghsb2NhdGlvbhIhCgxsaW5lX29mZnNldHMYAyADKAVSC2xpbmVPZmZz' - 'ZXRzElEKCXBvc2l0aW9ucxgEIAMoCzIzLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5Tb3VyY2' - 'VJbmZvLlBvc2l0aW9uc0VudHJ5Uglwb3NpdGlvbnMSVQoLbWFjcm9fY2FsbHMYBSADKAsyNC5n' - 'b29nbGUuYXBpLmV4cHIudjFhbHBoYTEuU291cmNlSW5mby5NYWNyb0NhbGxzRW50cnlSCm1hY3' - 'JvQ2FsbHMSTgoKZXh0ZW5zaW9ucxgGIAMoCzIuLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5T' - 'b3VyY2VJbmZvLkV4dGVuc2lvblIKZXh0ZW5zaW9ucxqAAwoJRXh0ZW5zaW9uEg4KAmlkGAEgAS' - 'gJUgJpZBJpChNhZmZlY3RlZF9jb21wb25lbnRzGAIgAygOMjguZ29vZ2xlLmFwaS5leHByLnYx' - 'YWxwaGExLlNvdXJjZUluZm8uRXh0ZW5zaW9uLkNvbXBvbmVudFISYWZmZWN0ZWRDb21wb25lbn' - 'RzElAKB3ZlcnNpb24YAyABKAsyNi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuU291cmNlSW5m' - 'by5FeHRlbnNpb24uVmVyc2lvblIHdmVyc2lvbho1CgdWZXJzaW9uEhQKBW1ham9yGAEgASgDUg' - 'VtYWpvchIUCgVtaW5vchgCIAEoA1IFbWlub3IibwoJQ29tcG9uZW50EhkKFUNPTVBPTkVOVF9V' - 'TlNQRUNJRklFRBAAEhQKEENPTVBPTkVOVF9QQVJTRVIQARIaChZDT01QT05FTlRfVFlQRV9DSE' - 'VDS0VSEAISFQoRQ09NUE9ORU5UX1JVTlRJTUUQAxo8Cg5Qb3NpdGlvbnNFbnRyeRIQCgNrZXkY' - 'ASABKANSA2tleRIUCgV2YWx1ZRgCIAEoBVIFdmFsdWU6AjgBGl0KD01hY3JvQ2FsbHNFbnRyeR' - 'IQCgNrZXkYASABKANSA2tleRI0CgV2YWx1ZRgCIAEoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFs' - 'cGhhMS5FeHByUgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use sourcePositionDescriptor instead') -const SourcePosition$json = { - '1': 'SourcePosition', - '2': [ - {'1': 'location', '3': 1, '4': 1, '5': 9, '10': 'location'}, - {'1': 'offset', '3': 2, '4': 1, '5': 5, '10': 'offset'}, - {'1': 'line', '3': 3, '4': 1, '5': 5, '10': 'line'}, - {'1': 'column', '3': 4, '4': 1, '5': 5, '10': 'column'}, - ], -}; - -/// Descriptor for `SourcePosition`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sourcePositionDescriptor = $convert.base64Decode( - 'Cg5Tb3VyY2VQb3NpdGlvbhIaCghsb2NhdGlvbhgBIAEoCVIIbG9jYXRpb24SFgoGb2Zmc2V0GA' - 'IgASgFUgZvZmZzZXQSEgoEbGluZRgDIAEoBVIEbGluZRIWCgZjb2x1bW4YBCABKAVSBmNvbHVt' - 'bg=='); - diff --git a/lib/src/gen/google/api/expr/v1alpha1/value.pb.dart b/lib/src/gen/google/api/expr/v1alpha1/value.pb.dart deleted file mode 100644 index c66785afd75..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/value.pb.dart +++ /dev/null @@ -1,527 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/value.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../protobuf/any.pb.dart' as $9; -import '../../../protobuf/struct.pbenum.dart' as $7; - -enum Value_Kind { - nullValue, - boolValue, - int64Value, - uint64Value, - doubleValue, - stringValue, - bytesValue, - enumValue, - objectValue, - mapValue, - listValue, - typeValue, - notSet -} - -/// Represents a CEL value. -/// -/// This is similar to `google.protobuf.Value`, but can represent CEL's full -/// range of values. -class Value extends $pb.GeneratedMessage { - factory Value({ - $7.NullValue? nullValue, - $core.bool? boolValue, - $fixnum.Int64? int64Value, - $fixnum.Int64? uint64Value, - $core.double? doubleValue, - $core.String? stringValue, - $core.List<$core.int>? bytesValue, - EnumValue? enumValue, - $9.Any? objectValue, - MapValue? mapValue, - ListValue? listValue, - $core.String? typeValue, - }) { - final $result = create(); - if (nullValue != null) { - $result.nullValue = nullValue; - } - if (boolValue != null) { - $result.boolValue = boolValue; - } - if (int64Value != null) { - $result.int64Value = int64Value; - } - if (uint64Value != null) { - $result.uint64Value = uint64Value; - } - if (doubleValue != null) { - $result.doubleValue = doubleValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (bytesValue != null) { - $result.bytesValue = bytesValue; - } - if (enumValue != null) { - $result.enumValue = enumValue; - } - if (objectValue != null) { - $result.objectValue = objectValue; - } - if (mapValue != null) { - $result.mapValue = mapValue; - } - if (listValue != null) { - $result.listValue = listValue; - } - if (typeValue != null) { - $result.typeValue = typeValue; - } - return $result; - } - Value._() : super(); - factory Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Value_Kind> _Value_KindByTag = { - 1 : Value_Kind.nullValue, - 2 : Value_Kind.boolValue, - 3 : Value_Kind.int64Value, - 4 : Value_Kind.uint64Value, - 5 : Value_Kind.doubleValue, - 6 : Value_Kind.stringValue, - 7 : Value_Kind.bytesValue, - 9 : Value_Kind.enumValue, - 10 : Value_Kind.objectValue, - 11 : Value_Kind.mapValue, - 12 : Value_Kind.listValue, - 15 : Value_Kind.typeValue, - 0 : Value_Kind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 15]) - ..e<$7.NullValue>(1, _omitFieldNames ? '' : 'nullValue', $pb.PbFieldType.OE, defaultOrMaker: $7.NullValue.NULL_VALUE, valueOf: $7.NullValue.valueOf, enumValues: $7.NullValue.values) - ..aOB(2, _omitFieldNames ? '' : 'boolValue') - ..aInt64(3, _omitFieldNames ? '' : 'int64Value') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'uint64Value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(5, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) - ..aOS(6, _omitFieldNames ? '' : 'stringValue') - ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'bytesValue', $pb.PbFieldType.OY) - ..aOM(9, _omitFieldNames ? '' : 'enumValue', subBuilder: EnumValue.create) - ..aOM<$9.Any>(10, _omitFieldNames ? '' : 'objectValue', subBuilder: $9.Any.create) - ..aOM(11, _omitFieldNames ? '' : 'mapValue', subBuilder: MapValue.create) - ..aOM(12, _omitFieldNames ? '' : 'listValue', subBuilder: ListValue.create) - ..aOS(15, _omitFieldNames ? '' : 'typeValue') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Value clone() => Value()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Value copyWith(void Function(Value) updates) => super.copyWith((message) => updates(message as Value)) as Value; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Value create() => Value._(); - Value createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Value? _defaultInstance; - - Value_Kind whichKind() => _Value_KindByTag[$_whichOneof(0)]!; - void clearKind() => clearField($_whichOneof(0)); - - /// Null value. - @$pb.TagNumber(1) - $7.NullValue get nullValue => $_getN(0); - @$pb.TagNumber(1) - set nullValue($7.NullValue v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasNullValue() => $_has(0); - @$pb.TagNumber(1) - void clearNullValue() => clearField(1); - - /// Boolean value. - @$pb.TagNumber(2) - $core.bool get boolValue => $_getBF(1); - @$pb.TagNumber(2) - set boolValue($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasBoolValue() => $_has(1); - @$pb.TagNumber(2) - void clearBoolValue() => clearField(2); - - /// Signed integer value. - @$pb.TagNumber(3) - $fixnum.Int64 get int64Value => $_getI64(2); - @$pb.TagNumber(3) - set int64Value($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasInt64Value() => $_has(2); - @$pb.TagNumber(3) - void clearInt64Value() => clearField(3); - - /// Unsigned integer value. - @$pb.TagNumber(4) - $fixnum.Int64 get uint64Value => $_getI64(3); - @$pb.TagNumber(4) - set uint64Value($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(4) - $core.bool hasUint64Value() => $_has(3); - @$pb.TagNumber(4) - void clearUint64Value() => clearField(4); - - /// Floating point value. - @$pb.TagNumber(5) - $core.double get doubleValue => $_getN(4); - @$pb.TagNumber(5) - set doubleValue($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasDoubleValue() => $_has(4); - @$pb.TagNumber(5) - void clearDoubleValue() => clearField(5); - - /// UTF-8 string value. - @$pb.TagNumber(6) - $core.String get stringValue => $_getSZ(5); - @$pb.TagNumber(6) - set stringValue($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasStringValue() => $_has(5); - @$pb.TagNumber(6) - void clearStringValue() => clearField(6); - - /// Byte string value. - @$pb.TagNumber(7) - $core.List<$core.int> get bytesValue => $_getN(6); - @$pb.TagNumber(7) - set bytesValue($core.List<$core.int> v) { $_setBytes(6, v); } - @$pb.TagNumber(7) - $core.bool hasBytesValue() => $_has(6); - @$pb.TagNumber(7) - void clearBytesValue() => clearField(7); - - /// An enum value. - @$pb.TagNumber(9) - EnumValue get enumValue => $_getN(7); - @$pb.TagNumber(9) - set enumValue(EnumValue v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasEnumValue() => $_has(7); - @$pb.TagNumber(9) - void clearEnumValue() => clearField(9); - @$pb.TagNumber(9) - EnumValue ensureEnumValue() => $_ensure(7); - - /// The proto message backing an object value. - @$pb.TagNumber(10) - $9.Any get objectValue => $_getN(8); - @$pb.TagNumber(10) - set objectValue($9.Any v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasObjectValue() => $_has(8); - @$pb.TagNumber(10) - void clearObjectValue() => clearField(10); - @$pb.TagNumber(10) - $9.Any ensureObjectValue() => $_ensure(8); - - /// Map value. - @$pb.TagNumber(11) - MapValue get mapValue => $_getN(9); - @$pb.TagNumber(11) - set mapValue(MapValue v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasMapValue() => $_has(9); - @$pb.TagNumber(11) - void clearMapValue() => clearField(11); - @$pb.TagNumber(11) - MapValue ensureMapValue() => $_ensure(9); - - /// List value. - @$pb.TagNumber(12) - ListValue get listValue => $_getN(10); - @$pb.TagNumber(12) - set listValue(ListValue v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasListValue() => $_has(10); - @$pb.TagNumber(12) - void clearListValue() => clearField(12); - @$pb.TagNumber(12) - ListValue ensureListValue() => $_ensure(10); - - /// Type value. - @$pb.TagNumber(15) - $core.String get typeValue => $_getSZ(11); - @$pb.TagNumber(15) - set typeValue($core.String v) { $_setString(11, v); } - @$pb.TagNumber(15) - $core.bool hasTypeValue() => $_has(11); - @$pb.TagNumber(15) - void clearTypeValue() => clearField(15); -} - -/// An enum value. -class EnumValue extends $pb.GeneratedMessage { - factory EnumValue({ - $core.String? type, - $core.int? value, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (value != null) { - $result.value = value; - } - return $result; - } - EnumValue._() : super(); - factory EnumValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnumValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..a<$core.int>(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnumValue clone() => EnumValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnumValue copyWith(void Function(EnumValue) updates) => super.copyWith((message) => updates(message as EnumValue)) as EnumValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnumValue create() => EnumValue._(); - EnumValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnumValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnumValue? _defaultInstance; - - /// The fully qualified name of the enum type. - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// The value of the enum. - @$pb.TagNumber(2) - $core.int get value => $_getIZ(1); - @$pb.TagNumber(2) - set value($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); -} - -/// A list. -/// -/// Wrapped in a message so 'not set' and empty can be differentiated, which is -/// required for use in a 'oneof'. -class ListValue extends $pb.GeneratedMessage { - factory ListValue({ - $core.Iterable? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - ListValue._() : super(); - factory ListValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: Value.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListValue clone() => ListValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListValue copyWith(void Function(ListValue) updates) => super.copyWith((message) => updates(message as ListValue)) as ListValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListValue create() => ListValue._(); - ListValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListValue? _defaultInstance; - - /// The ordered values in the list. - @$pb.TagNumber(1) - $core.List get values => $_getList(0); -} - -/// An entry in the map. -class MapValue_Entry extends $pb.GeneratedMessage { - factory MapValue_Entry({ - Value? key, - Value? value, - }) { - final $result = create(); - if (key != null) { - $result.key = key; - } - if (value != null) { - $result.value = value; - } - return $result; - } - MapValue_Entry._() : super(); - factory MapValue_Entry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MapValue_Entry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MapValue.Entry', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'key', subBuilder: Value.create) - ..aOM(2, _omitFieldNames ? '' : 'value', subBuilder: Value.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MapValue_Entry clone() => MapValue_Entry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MapValue_Entry copyWith(void Function(MapValue_Entry) updates) => super.copyWith((message) => updates(message as MapValue_Entry)) as MapValue_Entry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MapValue_Entry create() => MapValue_Entry._(); - MapValue_Entry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MapValue_Entry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MapValue_Entry? _defaultInstance; - - /// The key. - /// - /// Must be unique with in the map. - /// Currently only boolean, int, uint, and string values can be keys. - @$pb.TagNumber(1) - Value get key => $_getN(0); - @$pb.TagNumber(1) - set key(Value v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasKey() => $_has(0); - @$pb.TagNumber(1) - void clearKey() => clearField(1); - @$pb.TagNumber(1) - Value ensureKey() => $_ensure(0); - - /// The value. - @$pb.TagNumber(2) - Value get value => $_getN(1); - @$pb.TagNumber(2) - set value(Value v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); - @$pb.TagNumber(2) - Value ensureValue() => $_ensure(1); -} - -/// A map. -/// -/// Wrapped in a message so 'not set' and empty can be differentiated, which is -/// required for use in a 'oneof'. -class MapValue extends $pb.GeneratedMessage { - factory MapValue({ - $core.Iterable? entries, - }) { - final $result = create(); - if (entries != null) { - $result.entries.addAll(entries); - } - return $result; - } - MapValue._() : super(); - factory MapValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MapValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MapValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1alpha1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: MapValue_Entry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MapValue clone() => MapValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MapValue copyWith(void Function(MapValue) updates) => super.copyWith((message) => updates(message as MapValue)) as MapValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MapValue create() => MapValue._(); - MapValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MapValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MapValue? _defaultInstance; - - /// The set of map entries. - /// - /// CEL has fewer restrictions on keys, so a protobuf map represenation - /// cannot be used. - @$pb.TagNumber(1) - $core.List get entries => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1alpha1/value.pbenum.dart b/lib/src/gen/google/api/expr/v1alpha1/value.pbenum.dart deleted file mode 100644 index 823b2374c9c..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/value.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/value.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1alpha1/value.pbjson.dart b/lib/src/gen/google/api/expr/v1alpha1/value.pbjson.dart deleted file mode 100644 index 1a5724be341..00000000000 --- a/lib/src/gen/google/api/expr/v1alpha1/value.pbjson.dart +++ /dev/null @@ -1,102 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1alpha1/value.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use valueDescriptor instead') -const Value$json = { - '1': 'Value', - '2': [ - {'1': 'null_value', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.NullValue', '9': 0, '10': 'nullValue'}, - {'1': 'bool_value', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'int64_value', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'int64Value'}, - {'1': 'uint64_value', '3': 4, '4': 1, '5': 4, '9': 0, '10': 'uint64Value'}, - {'1': 'double_value', '3': 5, '4': 1, '5': 1, '9': 0, '10': 'doubleValue'}, - {'1': 'string_value', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'stringValue'}, - {'1': 'bytes_value', '3': 7, '4': 1, '5': 12, '9': 0, '10': 'bytesValue'}, - {'1': 'enum_value', '3': 9, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.EnumValue', '9': 0, '10': 'enumValue'}, - {'1': 'object_value', '3': 10, '4': 1, '5': 11, '6': '.google.protobuf.Any', '9': 0, '10': 'objectValue'}, - {'1': 'map_value', '3': 11, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.MapValue', '9': 0, '10': 'mapValue'}, - {'1': 'list_value', '3': 12, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.ListValue', '9': 0, '10': 'listValue'}, - {'1': 'type_value', '3': 15, '4': 1, '5': 9, '9': 0, '10': 'typeValue'}, - ], - '8': [ - {'1': 'kind'}, - ], -}; - -/// Descriptor for `Value`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List valueDescriptor = $convert.base64Decode( - 'CgVWYWx1ZRI7CgpudWxsX3ZhbHVlGAEgASgOMhouZ29vZ2xlLnByb3RvYnVmLk51bGxWYWx1ZU' - 'gAUgludWxsVmFsdWUSHwoKYm9vbF92YWx1ZRgCIAEoCEgAUglib29sVmFsdWUSIQoLaW50NjRf' - 'dmFsdWUYAyABKANIAFIKaW50NjRWYWx1ZRIjCgx1aW50NjRfdmFsdWUYBCABKARIAFILdWludD' - 'Y0VmFsdWUSIwoMZG91YmxlX3ZhbHVlGAUgASgBSABSC2RvdWJsZVZhbHVlEiMKDHN0cmluZ192' - 'YWx1ZRgGIAEoCUgAUgtzdHJpbmdWYWx1ZRIhCgtieXRlc192YWx1ZRgHIAEoDEgAUgpieXRlc1' - 'ZhbHVlEkQKCmVudW1fdmFsdWUYCSABKAsyIy5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRW51' - 'bVZhbHVlSABSCWVudW1WYWx1ZRI5CgxvYmplY3RfdmFsdWUYCiABKAsyFC5nb29nbGUucHJvdG' - '9idWYuQW55SABSC29iamVjdFZhbHVlEkEKCW1hcF92YWx1ZRgLIAEoCzIiLmdvb2dsZS5hcGku' - 'ZXhwci52MWFscGhhMS5NYXBWYWx1ZUgAUghtYXBWYWx1ZRJECgpsaXN0X3ZhbHVlGAwgASgLMi' - 'MuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkxpc3RWYWx1ZUgAUglsaXN0VmFsdWUSHwoKdHlw' - 'ZV92YWx1ZRgPIAEoCUgAUgl0eXBlVmFsdWVCBgoEa2luZA=='); - -@$core.Deprecated('Use enumValueDescriptor instead') -const EnumValue$json = { - '1': 'EnumValue', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'value', '3': 2, '4': 1, '5': 5, '10': 'value'}, - ], -}; - -/// Descriptor for `EnumValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enumValueDescriptor = $convert.base64Decode( - 'CglFbnVtVmFsdWUSEgoEdHlwZRgBIAEoCVIEdHlwZRIUCgV2YWx1ZRgCIAEoBVIFdmFsdWU='); - -@$core.Deprecated('Use listValueDescriptor instead') -const ListValue$json = { - '1': 'ListValue', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.Value', '10': 'values'}, - ], -}; - -/// Descriptor for `ListValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listValueDescriptor = $convert.base64Decode( - 'CglMaXN0VmFsdWUSNwoGdmFsdWVzGAEgAygLMh8uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLl' - 'ZhbHVlUgZ2YWx1ZXM='); - -@$core.Deprecated('Use mapValueDescriptor instead') -const MapValue$json = { - '1': 'MapValue', - '2': [ - {'1': 'entries', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1alpha1.MapValue.Entry', '10': 'entries'}, - ], - '3': [MapValue_Entry$json], -}; - -@$core.Deprecated('Use mapValueDescriptor instead') -const MapValue_Entry$json = { - '1': 'Entry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Value', '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1alpha1.Value', '10': 'value'}, - ], -}; - -/// Descriptor for `MapValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mapValueDescriptor = $convert.base64Decode( - 'CghNYXBWYWx1ZRJCCgdlbnRyaWVzGAEgAygLMiguZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLk' - '1hcFZhbHVlLkVudHJ5UgdlbnRyaWVzGnEKBUVudHJ5EjEKA2tleRgBIAEoCzIfLmdvb2dsZS5h' - 'cGkuZXhwci52MWFscGhhMS5WYWx1ZVIDa2V5EjUKBXZhbHVlGAIgASgLMh8uZ29vZ2xlLmFwaS' - '5leHByLnYxYWxwaGExLlZhbHVlUgV2YWx1ZQ=='); - diff --git a/lib/src/gen/google/api/expr/v1beta1/decl.pb.dart b/lib/src/gen/google/api/expr/v1beta1/decl.pb.dart deleted file mode 100644 index c268c304ca0..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/decl.pb.dart +++ /dev/null @@ -1,380 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/decl.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import 'expr.pb.dart' as $13; - -enum Decl_Kind { - ident, - function, - notSet -} - -/// A declaration. -class Decl extends $pb.GeneratedMessage { - factory Decl({ - $core.int? id, - $core.String? name, - $core.String? doc, - IdentDecl? ident, - FunctionDecl? function, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (name != null) { - $result.name = name; - } - if (doc != null) { - $result.doc = doc; - } - if (ident != null) { - $result.ident = ident; - } - if (function != null) { - $result.function = function; - } - return $result; - } - Decl._() : super(); - factory Decl.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Decl.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Decl_Kind> _Decl_KindByTag = { - 4 : Decl_Kind.ident, - 5 : Decl_Kind.function, - 0 : Decl_Kind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Decl', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..oo(0, [4, 5]) - ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'doc') - ..aOM(4, _omitFieldNames ? '' : 'ident', subBuilder: IdentDecl.create) - ..aOM(5, _omitFieldNames ? '' : 'function', subBuilder: FunctionDecl.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Decl clone() => Decl()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Decl copyWith(void Function(Decl) updates) => super.copyWith((message) => updates(message as Decl)) as Decl; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Decl create() => Decl._(); - Decl createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Decl getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Decl? _defaultInstance; - - Decl_Kind whichKind() => _Decl_KindByTag[$_whichOneof(0)]!; - void clearKind() => clearField($_whichOneof(0)); - - /// The id of the declaration. - @$pb.TagNumber(1) - $core.int get id => $_getIZ(0); - @$pb.TagNumber(1) - set id($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// The name of the declaration. - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - /// The documentation string for the declaration. - @$pb.TagNumber(3) - $core.String get doc => $_getSZ(2); - @$pb.TagNumber(3) - set doc($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDoc() => $_has(2); - @$pb.TagNumber(3) - void clearDoc() => clearField(3); - - /// An identifier declaration. - @$pb.TagNumber(4) - IdentDecl get ident => $_getN(3); - @$pb.TagNumber(4) - set ident(IdentDecl v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasIdent() => $_has(3); - @$pb.TagNumber(4) - void clearIdent() => clearField(4); - @$pb.TagNumber(4) - IdentDecl ensureIdent() => $_ensure(3); - - /// A function declaration. - @$pb.TagNumber(5) - FunctionDecl get function => $_getN(4); - @$pb.TagNumber(5) - set function(FunctionDecl v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasFunction() => $_has(4); - @$pb.TagNumber(5) - void clearFunction() => clearField(5); - @$pb.TagNumber(5) - FunctionDecl ensureFunction() => $_ensure(4); -} - -/// The declared type of a variable. -/// -/// Extends runtime type values with extra information used for type checking -/// and dispatching. -class DeclType extends $pb.GeneratedMessage { - factory DeclType({ - $core.int? id, - $core.String? type, - $core.Iterable? typeParams, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (type != null) { - $result.type = type; - } - if (typeParams != null) { - $result.typeParams.addAll(typeParams); - } - return $result; - } - DeclType._() : super(); - factory DeclType.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeclType.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeclType', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'type') - ..pc(4, _omitFieldNames ? '' : 'typeParams', $pb.PbFieldType.PM, subBuilder: DeclType.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeclType clone() => DeclType()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeclType copyWith(void Function(DeclType) updates) => super.copyWith((message) => updates(message as DeclType)) as DeclType; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeclType create() => DeclType._(); - DeclType createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeclType getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeclType? _defaultInstance; - - /// The expression id of the declared type, if applicable. - @$pb.TagNumber(1) - $core.int get id => $_getIZ(0); - @$pb.TagNumber(1) - set id($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// The type name, e.g. 'int', 'my.type.Type' or 'T' - @$pb.TagNumber(2) - $core.String get type => $_getSZ(1); - @$pb.TagNumber(2) - set type($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasType() => $_has(1); - @$pb.TagNumber(2) - void clearType() => clearField(2); - - /// An ordered list of type parameters, e.g. ``. - /// Only applies to a subset of types, e.g. `map`, `list`. - @$pb.TagNumber(4) - $core.List get typeParams => $_getList(2); -} - -/// An identifier declaration. -class IdentDecl extends $pb.GeneratedMessage { - factory IdentDecl({ - DeclType? type, - $13.Expr? value, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (value != null) { - $result.value = value; - } - return $result; - } - IdentDecl._() : super(); - factory IdentDecl.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IdentDecl.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IdentDecl', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOM(3, _omitFieldNames ? '' : 'type', subBuilder: DeclType.create) - ..aOM<$13.Expr>(4, _omitFieldNames ? '' : 'value', subBuilder: $13.Expr.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IdentDecl clone() => IdentDecl()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IdentDecl copyWith(void Function(IdentDecl) updates) => super.copyWith((message) => updates(message as IdentDecl)) as IdentDecl; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IdentDecl create() => IdentDecl._(); - IdentDecl createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IdentDecl getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IdentDecl? _defaultInstance; - - /// Optional type of the identifier. - @$pb.TagNumber(3) - DeclType get type => $_getN(0); - @$pb.TagNumber(3) - set type(DeclType v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(3) - void clearType() => clearField(3); - @$pb.TagNumber(3) - DeclType ensureType() => $_ensure(0); - - /// Optional value of the identifier. - @$pb.TagNumber(4) - $13.Expr get value => $_getN(1); - @$pb.TagNumber(4) - set value($13.Expr v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(4) - void clearValue() => clearField(4); - @$pb.TagNumber(4) - $13.Expr ensureValue() => $_ensure(1); -} - -/// A function declaration. -class FunctionDecl extends $pb.GeneratedMessage { - factory FunctionDecl({ - $core.Iterable? args, - DeclType? returnType, - $core.bool? receiverFunction, - }) { - final $result = create(); - if (args != null) { - $result.args.addAll(args); - } - if (returnType != null) { - $result.returnType = returnType; - } - if (receiverFunction != null) { - $result.receiverFunction = receiverFunction; - } - return $result; - } - FunctionDecl._() : super(); - factory FunctionDecl.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FunctionDecl.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FunctionDecl', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'args', $pb.PbFieldType.PM, subBuilder: IdentDecl.create) - ..aOM(2, _omitFieldNames ? '' : 'returnType', subBuilder: DeclType.create) - ..aOB(3, _omitFieldNames ? '' : 'receiverFunction') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FunctionDecl clone() => FunctionDecl()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FunctionDecl copyWith(void Function(FunctionDecl) updates) => super.copyWith((message) => updates(message as FunctionDecl)) as FunctionDecl; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FunctionDecl create() => FunctionDecl._(); - FunctionDecl createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FunctionDecl getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FunctionDecl? _defaultInstance; - - /// The function arguments. - @$pb.TagNumber(1) - $core.List get args => $_getList(0); - - /// Optional declared return type. - @$pb.TagNumber(2) - DeclType get returnType => $_getN(1); - @$pb.TagNumber(2) - set returnType(DeclType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasReturnType() => $_has(1); - @$pb.TagNumber(2) - void clearReturnType() => clearField(2); - @$pb.TagNumber(2) - DeclType ensureReturnType() => $_ensure(1); - - /// If the first argument of the function is the receiver. - @$pb.TagNumber(3) - $core.bool get receiverFunction => $_getBF(2); - @$pb.TagNumber(3) - set receiverFunction($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasReceiverFunction() => $_has(2); - @$pb.TagNumber(3) - void clearReceiverFunction() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1beta1/decl.pbenum.dart b/lib/src/gen/google/api/expr/v1beta1/decl.pbenum.dart deleted file mode 100644 index 8d317ede126..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/decl.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/decl.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1beta1/decl.pbjson.dart b/lib/src/gen/google/api/expr/v1beta1/decl.pbjson.dart deleted file mode 100644 index 86589069bdc..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/decl.pbjson.dart +++ /dev/null @@ -1,85 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/decl.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use declDescriptor instead') -const Decl$json = { - '1': 'Decl', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 5, '10': 'id'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'doc', '3': 3, '4': 1, '5': 9, '10': 'doc'}, - {'1': 'ident', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.IdentDecl', '9': 0, '10': 'ident'}, - {'1': 'function', '3': 5, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.FunctionDecl', '9': 0, '10': 'function'}, - ], - '8': [ - {'1': 'kind'}, - ], -}; - -/// Descriptor for `Decl`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List declDescriptor = $convert.base64Decode( - 'CgREZWNsEg4KAmlkGAEgASgFUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhAKA2RvYxgDIAEoCV' - 'IDZG9jEjoKBWlkZW50GAQgASgLMiIuZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuSWRlbnREZWNs' - 'SABSBWlkZW50EkMKCGZ1bmN0aW9uGAUgASgLMiUuZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuRn' - 'VuY3Rpb25EZWNsSABSCGZ1bmN0aW9uQgYKBGtpbmQ='); - -@$core.Deprecated('Use declTypeDescriptor instead') -const DeclType$json = { - '1': 'DeclType', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 5, '10': 'id'}, - {'1': 'type', '3': 2, '4': 1, '5': 9, '10': 'type'}, - {'1': 'type_params', '3': 4, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.DeclType', '10': 'typeParams'}, - ], -}; - -/// Descriptor for `DeclType`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List declTypeDescriptor = $convert.base64Decode( - 'CghEZWNsVHlwZRIOCgJpZBgBIAEoBVICaWQSEgoEdHlwZRgCIAEoCVIEdHlwZRJCCgt0eXBlX3' - 'BhcmFtcxgEIAMoCzIhLmdvb2dsZS5hcGkuZXhwci52MWJldGExLkRlY2xUeXBlUgp0eXBlUGFy' - 'YW1z'); - -@$core.Deprecated('Use identDeclDescriptor instead') -const IdentDecl$json = { - '1': 'IdentDecl', - '2': [ - {'1': 'type', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.DeclType', '10': 'type'}, - {'1': 'value', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'value'}, - ], -}; - -/// Descriptor for `IdentDecl`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List identDeclDescriptor = $convert.base64Decode( - 'CglJZGVudERlY2wSNQoEdHlwZRgDIAEoCzIhLmdvb2dsZS5hcGkuZXhwci52MWJldGExLkRlY2' - 'xUeXBlUgR0eXBlEjMKBXZhbHVlGAQgASgLMh0uZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuRXhw' - 'clIFdmFsdWU='); - -@$core.Deprecated('Use functionDeclDescriptor instead') -const FunctionDecl$json = { - '1': 'FunctionDecl', - '2': [ - {'1': 'args', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.IdentDecl', '10': 'args'}, - {'1': 'return_type', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.DeclType', '10': 'returnType'}, - {'1': 'receiver_function', '3': 3, '4': 1, '5': 8, '10': 'receiverFunction'}, - ], -}; - -/// Descriptor for `FunctionDecl`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List functionDeclDescriptor = $convert.base64Decode( - 'CgxGdW5jdGlvbkRlY2wSNgoEYXJncxgBIAMoCzIiLmdvb2dsZS5hcGkuZXhwci52MWJldGExLk' - 'lkZW50RGVjbFIEYXJncxJCCgtyZXR1cm5fdHlwZRgCIAEoCzIhLmdvb2dsZS5hcGkuZXhwci52' - 'MWJldGExLkRlY2xUeXBlUgpyZXR1cm5UeXBlEisKEXJlY2VpdmVyX2Z1bmN0aW9uGAMgASgIUh' - 'ByZWNlaXZlckZ1bmN0aW9u'); - diff --git a/lib/src/gen/google/api/expr/v1beta1/eval.pb.dart b/lib/src/gen/google/api/expr/v1beta1/eval.pb.dart deleted file mode 100644 index deeed15fa01..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/eval.pb.dart +++ /dev/null @@ -1,441 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/eval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../rpc/status.pb.dart' as $11; -import 'value.pb.dart' as $14; - -/// A single evaluation result. -class EvalState_Result extends $pb.GeneratedMessage { - factory EvalState_Result({ - IdRef? expr, - $core.int? value, - }) { - final $result = create(); - if (expr != null) { - $result.expr = expr; - } - if (value != null) { - $result.value = value; - } - return $result; - } - EvalState_Result._() : super(); - factory EvalState_Result.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EvalState_Result.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EvalState.Result', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'expr', subBuilder: IdRef.create) - ..a<$core.int>(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EvalState_Result clone() => EvalState_Result()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EvalState_Result copyWith(void Function(EvalState_Result) updates) => super.copyWith((message) => updates(message as EvalState_Result)) as EvalState_Result; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EvalState_Result create() => EvalState_Result._(); - EvalState_Result createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EvalState_Result getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EvalState_Result? _defaultInstance; - - /// The expression this result is for. - @$pb.TagNumber(1) - IdRef get expr => $_getN(0); - @$pb.TagNumber(1) - set expr(IdRef v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasExpr() => $_has(0); - @$pb.TagNumber(1) - void clearExpr() => clearField(1); - @$pb.TagNumber(1) - IdRef ensureExpr() => $_ensure(0); - - /// The index in `values` of the resulting value. - @$pb.TagNumber(2) - $core.int get value => $_getIZ(1); - @$pb.TagNumber(2) - set value($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); -} - -/// The state of an evaluation. -/// -/// Can represent an initial, partial, or completed state of evaluation. -class EvalState extends $pb.GeneratedMessage { - factory EvalState({ - $core.Iterable? values, - $core.Iterable? results, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - if (results != null) { - $result.results.addAll(results); - } - return $result; - } - EvalState._() : super(); - factory EvalState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EvalState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EvalState', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: ExprValue.create) - ..pc(3, _omitFieldNames ? '' : 'results', $pb.PbFieldType.PM, subBuilder: EvalState_Result.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EvalState clone() => EvalState()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EvalState copyWith(void Function(EvalState) updates) => super.copyWith((message) => updates(message as EvalState)) as EvalState; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EvalState create() => EvalState._(); - EvalState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EvalState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EvalState? _defaultInstance; - - /// The unique values referenced in this message. - @$pb.TagNumber(1) - $core.List get values => $_getList(0); - - /// An ordered list of results. - /// - /// Tracks the flow of evaluation through the expression. - /// May be sparse. - @$pb.TagNumber(3) - $core.List get results => $_getList(1); -} - -enum ExprValue_Kind { - value, - error, - unknown, - notSet -} - -/// The value of an evaluated expression. -class ExprValue extends $pb.GeneratedMessage { - factory ExprValue({ - $14.Value? value, - ErrorSet? error, - UnknownSet? unknown, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - if (error != null) { - $result.error = error; - } - if (unknown != null) { - $result.unknown = unknown; - } - return $result; - } - ExprValue._() : super(); - factory ExprValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExprValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, ExprValue_Kind> _ExprValue_KindByTag = { - 1 : ExprValue_Kind.value, - 2 : ExprValue_Kind.error, - 3 : ExprValue_Kind.unknown, - 0 : ExprValue_Kind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExprValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3]) - ..aOM<$14.Value>(1, _omitFieldNames ? '' : 'value', subBuilder: $14.Value.create) - ..aOM(2, _omitFieldNames ? '' : 'error', subBuilder: ErrorSet.create) - ..aOM(3, _omitFieldNames ? '' : 'unknown', subBuilder: UnknownSet.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExprValue clone() => ExprValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExprValue copyWith(void Function(ExprValue) updates) => super.copyWith((message) => updates(message as ExprValue)) as ExprValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExprValue create() => ExprValue._(); - ExprValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExprValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExprValue? _defaultInstance; - - ExprValue_Kind whichKind() => _ExprValue_KindByTag[$_whichOneof(0)]!; - void clearKind() => clearField($_whichOneof(0)); - - /// A concrete value. - @$pb.TagNumber(1) - $14.Value get value => $_getN(0); - @$pb.TagNumber(1) - set value($14.Value v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); - @$pb.TagNumber(1) - $14.Value ensureValue() => $_ensure(0); - - /// The set of errors in the critical path of evalution. - /// - /// Only errors in the critical path are included. For example, - /// `( || true) && ` will only result in ``, - /// while ` || ` will result in both `` and - /// ``. - /// - /// Errors cause by the presence of other errors are not included in the - /// set. For example `.foo`, `foo()`, and ` + 1` will - /// only result in ``. - /// - /// Multiple errors *might* be included when evaluation could result - /// in different errors. For example ` + ` and - /// `foo(, )` may result in ``, `` or both. - /// The exact subset of errors included for this case is unspecified and - /// depends on the implementation details of the evaluator. - @$pb.TagNumber(2) - ErrorSet get error => $_getN(1); - @$pb.TagNumber(2) - set error(ErrorSet v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasError() => $_has(1); - @$pb.TagNumber(2) - void clearError() => clearField(2); - @$pb.TagNumber(2) - ErrorSet ensureError() => $_ensure(1); - - /// The set of unknowns in the critical path of evaluation. - /// - /// Unknown behaves identically to Error with regards to propagation. - /// Specifically, only unknowns in the critical path are included, unknowns - /// caused by the presence of other unknowns are not included, and multiple - /// unknowns *might* be included included when evaluation could result in - /// different unknowns. For example: - /// - /// ( || true) && -> - /// || -> - /// .foo -> - /// foo() -> - /// + -> or - /// - /// Unknown takes precidence over Error in cases where a `Value` can short - /// circuit the result: - /// - /// || -> - /// && -> - /// - /// Errors take precidence in all other cases: - /// - /// + -> - /// foo(, ) -> - @$pb.TagNumber(3) - UnknownSet get unknown => $_getN(2); - @$pb.TagNumber(3) - set unknown(UnknownSet v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasUnknown() => $_has(2); - @$pb.TagNumber(3) - void clearUnknown() => clearField(3); - @$pb.TagNumber(3) - UnknownSet ensureUnknown() => $_ensure(2); -} - -/// A set of errors. -/// -/// The errors included depend on the context. See `ExprValue.error`. -class ErrorSet extends $pb.GeneratedMessage { - factory ErrorSet({ - $core.Iterable<$11.Status>? errors, - }) { - final $result = create(); - if (errors != null) { - $result.errors.addAll(errors); - } - return $result; - } - ErrorSet._() : super(); - factory ErrorSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ErrorSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ErrorSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..pc<$11.Status>(1, _omitFieldNames ? '' : 'errors', $pb.PbFieldType.PM, subBuilder: $11.Status.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ErrorSet clone() => ErrorSet()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ErrorSet copyWith(void Function(ErrorSet) updates) => super.copyWith((message) => updates(message as ErrorSet)) as ErrorSet; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ErrorSet create() => ErrorSet._(); - ErrorSet createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ErrorSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ErrorSet? _defaultInstance; - - /// The errors in the set. - @$pb.TagNumber(1) - $core.List<$11.Status> get errors => $_getList(0); -} - -/// A set of expressions for which the value is unknown. -/// -/// The unknowns included depend on the context. See `ExprValue.unknown`. -class UnknownSet extends $pb.GeneratedMessage { - factory UnknownSet({ - $core.Iterable? exprs, - }) { - final $result = create(); - if (exprs != null) { - $result.exprs.addAll(exprs); - } - return $result; - } - UnknownSet._() : super(); - factory UnknownSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UnknownSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UnknownSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'exprs', $pb.PbFieldType.PM, subBuilder: IdRef.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UnknownSet clone() => UnknownSet()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UnknownSet copyWith(void Function(UnknownSet) updates) => super.copyWith((message) => updates(message as UnknownSet)) as UnknownSet; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UnknownSet create() => UnknownSet._(); - UnknownSet createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UnknownSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UnknownSet? _defaultInstance; - - /// The ids of the expressions with unknown values. - @$pb.TagNumber(1) - $core.List get exprs => $_getList(0); -} - -/// A reference to an expression id. -class IdRef extends $pb.GeneratedMessage { - factory IdRef({ - $core.int? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - IdRef._() : super(); - factory IdRef.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory IdRef.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IdRef', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - IdRef clone() => IdRef()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - IdRef copyWith(void Function(IdRef) updates) => super.copyWith((message) => updates(message as IdRef)) as IdRef; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static IdRef create() => IdRef._(); - IdRef createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static IdRef getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static IdRef? _defaultInstance; - - /// The expression id. - @$pb.TagNumber(1) - $core.int get id => $_getIZ(0); - @$pb.TagNumber(1) - set id($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1beta1/eval.pbenum.dart b/lib/src/gen/google/api/expr/v1beta1/eval.pbenum.dart deleted file mode 100644 index 4b41a3257a1..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/eval.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/eval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1beta1/eval.pbjson.dart b/lib/src/gen/google/api/expr/v1beta1/eval.pbjson.dart deleted file mode 100644 index 9e088254ec4..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/eval.pbjson.dart +++ /dev/null @@ -1,99 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/eval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use evalStateDescriptor instead') -const EvalState$json = { - '1': 'EvalState', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.ExprValue', '10': 'values'}, - {'1': 'results', '3': 3, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.EvalState.Result', '10': 'results'}, - ], - '3': [EvalState_Result$json], -}; - -@$core.Deprecated('Use evalStateDescriptor instead') -const EvalState_Result$json = { - '1': 'Result', - '2': [ - {'1': 'expr', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.IdRef', '10': 'expr'}, - {'1': 'value', '3': 2, '4': 1, '5': 5, '10': 'value'}, - ], -}; - -/// Descriptor for `EvalState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List evalStateDescriptor = $convert.base64Decode( - 'CglFdmFsU3RhdGUSOgoGdmFsdWVzGAEgAygLMiIuZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuRX' - 'hwclZhbHVlUgZ2YWx1ZXMSQwoHcmVzdWx0cxgDIAMoCzIpLmdvb2dsZS5hcGkuZXhwci52MWJl' - 'dGExLkV2YWxTdGF0ZS5SZXN1bHRSB3Jlc3VsdHMaUgoGUmVzdWx0EjIKBGV4cHIYASABKAsyHi' - '5nb29nbGUuYXBpLmV4cHIudjFiZXRhMS5JZFJlZlIEZXhwchIUCgV2YWx1ZRgCIAEoBVIFdmFs' - 'dWU='); - -@$core.Deprecated('Use exprValueDescriptor instead') -const ExprValue$json = { - '1': 'ExprValue', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Value', '9': 0, '10': 'value'}, - {'1': 'error', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.ErrorSet', '9': 0, '10': 'error'}, - {'1': 'unknown', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.UnknownSet', '9': 0, '10': 'unknown'}, - ], - '8': [ - {'1': 'kind'}, - ], -}; - -/// Descriptor for `ExprValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List exprValueDescriptor = $convert.base64Decode( - 'CglFeHByVmFsdWUSNgoFdmFsdWUYASABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFiZXRhMS5WYW' - 'x1ZUgAUgV2YWx1ZRI5CgVlcnJvchgCIAEoCzIhLmdvb2dsZS5hcGkuZXhwci52MWJldGExLkVy' - 'cm9yU2V0SABSBWVycm9yEj8KB3Vua25vd24YAyABKAsyIy5nb29nbGUuYXBpLmV4cHIudjFiZX' - 'RhMS5Vbmtub3duU2V0SABSB3Vua25vd25CBgoEa2luZA=='); - -@$core.Deprecated('Use errorSetDescriptor instead') -const ErrorSet$json = { - '1': 'ErrorSet', - '2': [ - {'1': 'errors', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.Status', '10': 'errors'}, - ], -}; - -/// Descriptor for `ErrorSet`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List errorSetDescriptor = $convert.base64Decode( - 'CghFcnJvclNldBIqCgZlcnJvcnMYASADKAsyEi5nb29nbGUucnBjLlN0YXR1c1IGZXJyb3Jz'); - -@$core.Deprecated('Use unknownSetDescriptor instead') -const UnknownSet$json = { - '1': 'UnknownSet', - '2': [ - {'1': 'exprs', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.IdRef', '10': 'exprs'}, - ], -}; - -/// Descriptor for `UnknownSet`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List unknownSetDescriptor = $convert.base64Decode( - 'CgpVbmtub3duU2V0EjQKBWV4cHJzGAEgAygLMh4uZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuSW' - 'RSZWZSBWV4cHJz'); - -@$core.Deprecated('Use idRefDescriptor instead') -const IdRef$json = { - '1': 'IdRef', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 5, '10': 'id'}, - ], -}; - -/// Descriptor for `IdRef`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List idRefDescriptor = $convert.base64Decode( - 'CgVJZFJlZhIOCgJpZBgBIAEoBVICaWQ='); - diff --git a/lib/src/gen/google/api/expr/v1beta1/expr.pb.dart b/lib/src/gen/google/api/expr/v1beta1/expr.pb.dart deleted file mode 100644 index c23e8196a9c..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/expr.pb.dart +++ /dev/null @@ -1,1142 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/expr.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../protobuf/struct.pbenum.dart' as $7; -import 'source.pb.dart' as $12; - -/// An expression together with source information as returned by the parser. -class ParsedExpr extends $pb.GeneratedMessage { - factory ParsedExpr({ - Expr? expr, - $12.SourceInfo? sourceInfo, - $core.String? syntaxVersion, - }) { - final $result = create(); - if (expr != null) { - $result.expr = expr; - } - if (sourceInfo != null) { - $result.sourceInfo = sourceInfo; - } - if (syntaxVersion != null) { - $result.syntaxVersion = syntaxVersion; - } - return $result; - } - ParsedExpr._() : super(); - factory ParsedExpr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ParsedExpr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ParsedExpr', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOM(2, _omitFieldNames ? '' : 'expr', subBuilder: Expr.create) - ..aOM<$12.SourceInfo>(3, _omitFieldNames ? '' : 'sourceInfo', subBuilder: $12.SourceInfo.create) - ..aOS(4, _omitFieldNames ? '' : 'syntaxVersion') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ParsedExpr clone() => ParsedExpr()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ParsedExpr copyWith(void Function(ParsedExpr) updates) => super.copyWith((message) => updates(message as ParsedExpr)) as ParsedExpr; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ParsedExpr create() => ParsedExpr._(); - ParsedExpr createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ParsedExpr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ParsedExpr? _defaultInstance; - - /// The parsed expression. - @$pb.TagNumber(2) - Expr get expr => $_getN(0); - @$pb.TagNumber(2) - set expr(Expr v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasExpr() => $_has(0); - @$pb.TagNumber(2) - void clearExpr() => clearField(2); - @$pb.TagNumber(2) - Expr ensureExpr() => $_ensure(0); - - /// The source info derived from input that generated the parsed `expr`. - @$pb.TagNumber(3) - $12.SourceInfo get sourceInfo => $_getN(1); - @$pb.TagNumber(3) - set sourceInfo($12.SourceInfo v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasSourceInfo() => $_has(1); - @$pb.TagNumber(3) - void clearSourceInfo() => clearField(3); - @$pb.TagNumber(3) - $12.SourceInfo ensureSourceInfo() => $_ensure(1); - - /// The syntax version of the source, e.g. `cel1`. - @$pb.TagNumber(4) - $core.String get syntaxVersion => $_getSZ(2); - @$pb.TagNumber(4) - set syntaxVersion($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasSyntaxVersion() => $_has(2); - @$pb.TagNumber(4) - void clearSyntaxVersion() => clearField(4); -} - -/// An identifier expression. e.g. `request`. -class Expr_Ident extends $pb.GeneratedMessage { - factory Expr_Ident({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - Expr_Ident._() : super(); - factory Expr_Ident.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Ident.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Ident', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Ident clone() => Expr_Ident()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Ident copyWith(void Function(Expr_Ident) updates) => super.copyWith((message) => updates(message as Expr_Ident)) as Expr_Ident; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Ident create() => Expr_Ident._(); - Expr_Ident createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Ident getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Ident? _defaultInstance; - - /// Required. Holds a single, unqualified identifier, possibly preceded by a - /// '.'. - /// - /// Qualified names are represented by the [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// A field selection expression. e.g. `request.auth`. -class Expr_Select extends $pb.GeneratedMessage { - factory Expr_Select({ - Expr? operand, - $core.String? field_2, - $core.bool? testOnly, - }) { - final $result = create(); - if (operand != null) { - $result.operand = operand; - } - if (field_2 != null) { - $result.field_2 = field_2; - } - if (testOnly != null) { - $result.testOnly = testOnly; - } - return $result; - } - Expr_Select._() : super(); - factory Expr_Select.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Select.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Select', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'operand', subBuilder: Expr.create) - ..aOS(2, _omitFieldNames ? '' : 'field') - ..aOB(3, _omitFieldNames ? '' : 'testOnly') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Select clone() => Expr_Select()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Select copyWith(void Function(Expr_Select) updates) => super.copyWith((message) => updates(message as Expr_Select)) as Expr_Select; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Select create() => Expr_Select._(); - Expr_Select createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Select getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Select? _defaultInstance; - - /// Required. The target of the selection expression. - /// - /// For example, in the select expression `request.auth`, the `request` - /// portion of the expression is the `operand`. - @$pb.TagNumber(1) - Expr get operand => $_getN(0); - @$pb.TagNumber(1) - set operand(Expr v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasOperand() => $_has(0); - @$pb.TagNumber(1) - void clearOperand() => clearField(1); - @$pb.TagNumber(1) - Expr ensureOperand() => $_ensure(0); - - /// Required. The name of the field to select. - /// - /// For example, in the select expression `request.auth`, the `auth` portion - /// of the expression would be the `field`. - @$pb.TagNumber(2) - $core.String get field_2 => $_getSZ(1); - @$pb.TagNumber(2) - set field_2($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasField_2() => $_has(1); - @$pb.TagNumber(2) - void clearField_2() => clearField(2); - - /// Whether the select is to be interpreted as a field presence test. - /// - /// This results from the macro `has(request.auth)`. - @$pb.TagNumber(3) - $core.bool get testOnly => $_getBF(2); - @$pb.TagNumber(3) - set testOnly($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasTestOnly() => $_has(2); - @$pb.TagNumber(3) - void clearTestOnly() => clearField(3); -} - -/// A call expression, including calls to predefined functions and operators. -/// -/// For example, `value == 10`, `size(map_value)`. -class Expr_Call extends $pb.GeneratedMessage { - factory Expr_Call({ - Expr? target, - $core.String? function, - $core.Iterable? args, - }) { - final $result = create(); - if (target != null) { - $result.target = target; - } - if (function != null) { - $result.function = function; - } - if (args != null) { - $result.args.addAll(args); - } - return $result; - } - Expr_Call._() : super(); - factory Expr_Call.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Call.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Call', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'target', subBuilder: Expr.create) - ..aOS(2, _omitFieldNames ? '' : 'function') - ..pc(3, _omitFieldNames ? '' : 'args', $pb.PbFieldType.PM, subBuilder: Expr.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Call clone() => Expr_Call()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Call copyWith(void Function(Expr_Call) updates) => super.copyWith((message) => updates(message as Expr_Call)) as Expr_Call; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Call create() => Expr_Call._(); - Expr_Call createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Call getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Call? _defaultInstance; - - /// The target of an method call-style expression. For example, `x` in - /// `x.f()`. - @$pb.TagNumber(1) - Expr get target => $_getN(0); - @$pb.TagNumber(1) - set target(Expr v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasTarget() => $_has(0); - @$pb.TagNumber(1) - void clearTarget() => clearField(1); - @$pb.TagNumber(1) - Expr ensureTarget() => $_ensure(0); - - /// Required. The name of the function or method being called. - @$pb.TagNumber(2) - $core.String get function => $_getSZ(1); - @$pb.TagNumber(2) - set function($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFunction() => $_has(1); - @$pb.TagNumber(2) - void clearFunction() => clearField(2); - - /// The arguments. - @$pb.TagNumber(3) - $core.List get args => $_getList(2); -} - -/// A list creation expression. -/// -/// Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g. -/// `dyn([1, 'hello', 2.0])` -class Expr_CreateList extends $pb.GeneratedMessage { - factory Expr_CreateList({ - $core.Iterable? elements, - }) { - final $result = create(); - if (elements != null) { - $result.elements.addAll(elements); - } - return $result; - } - Expr_CreateList._() : super(); - factory Expr_CreateList.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_CreateList.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.CreateList', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'elements', $pb.PbFieldType.PM, subBuilder: Expr.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_CreateList clone() => Expr_CreateList()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_CreateList copyWith(void Function(Expr_CreateList) updates) => super.copyWith((message) => updates(message as Expr_CreateList)) as Expr_CreateList; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_CreateList create() => Expr_CreateList._(); - Expr_CreateList createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_CreateList getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_CreateList? _defaultInstance; - - /// The elements part of the list. - @$pb.TagNumber(1) - $core.List get elements => $_getList(0); -} - -enum Expr_CreateStruct_Entry_KeyKind { - fieldKey, - mapKey, - notSet -} - -/// Represents an entry. -class Expr_CreateStruct_Entry extends $pb.GeneratedMessage { - factory Expr_CreateStruct_Entry({ - $core.int? id, - $core.String? fieldKey, - Expr? mapKey, - Expr? value, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (fieldKey != null) { - $result.fieldKey = fieldKey; - } - if (mapKey != null) { - $result.mapKey = mapKey; - } - if (value != null) { - $result.value = value; - } - return $result; - } - Expr_CreateStruct_Entry._() : super(); - factory Expr_CreateStruct_Entry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_CreateStruct_Entry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Expr_CreateStruct_Entry_KeyKind> _Expr_CreateStruct_Entry_KeyKindByTag = { - 2 : Expr_CreateStruct_Entry_KeyKind.fieldKey, - 3 : Expr_CreateStruct_Entry_KeyKind.mapKey, - 0 : Expr_CreateStruct_Entry_KeyKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.CreateStruct.Entry', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..oo(0, [2, 3]) - ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'fieldKey') - ..aOM(3, _omitFieldNames ? '' : 'mapKey', subBuilder: Expr.create) - ..aOM(4, _omitFieldNames ? '' : 'value', subBuilder: Expr.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct_Entry clone() => Expr_CreateStruct_Entry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct_Entry copyWith(void Function(Expr_CreateStruct_Entry) updates) => super.copyWith((message) => updates(message as Expr_CreateStruct_Entry)) as Expr_CreateStruct_Entry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct_Entry create() => Expr_CreateStruct_Entry._(); - Expr_CreateStruct_Entry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct_Entry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_CreateStruct_Entry? _defaultInstance; - - Expr_CreateStruct_Entry_KeyKind whichKeyKind() => _Expr_CreateStruct_Entry_KeyKindByTag[$_whichOneof(0)]!; - void clearKeyKind() => clearField($_whichOneof(0)); - - /// Required. An id assigned to this node by the parser which is unique - /// in a given expression tree. This is used to associate type - /// information and other attributes to the node. - @$pb.TagNumber(1) - $core.int get id => $_getIZ(0); - @$pb.TagNumber(1) - set id($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// The field key for a message creator statement. - @$pb.TagNumber(2) - $core.String get fieldKey => $_getSZ(1); - @$pb.TagNumber(2) - set fieldKey($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFieldKey() => $_has(1); - @$pb.TagNumber(2) - void clearFieldKey() => clearField(2); - - /// The key expression for a map creation statement. - @$pb.TagNumber(3) - Expr get mapKey => $_getN(2); - @$pb.TagNumber(3) - set mapKey(Expr v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasMapKey() => $_has(2); - @$pb.TagNumber(3) - void clearMapKey() => clearField(3); - @$pb.TagNumber(3) - Expr ensureMapKey() => $_ensure(2); - - /// Required. The value assigned to the key. - @$pb.TagNumber(4) - Expr get value => $_getN(3); - @$pb.TagNumber(4) - set value(Expr v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasValue() => $_has(3); - @$pb.TagNumber(4) - void clearValue() => clearField(4); - @$pb.TagNumber(4) - Expr ensureValue() => $_ensure(3); -} - -/// A map or message creation expression. -/// -/// Maps are constructed as `{'key_name': 'value'}`. Message construction is -/// similar, but prefixed with a type name and composed of field ids: -/// `types.MyType{field_id: 'value'}`. -class Expr_CreateStruct extends $pb.GeneratedMessage { - factory Expr_CreateStruct({ - $core.String? type, - $core.Iterable? entries, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (entries != null) { - $result.entries.addAll(entries); - } - return $result; - } - Expr_CreateStruct._() : super(); - factory Expr_CreateStruct.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_CreateStruct.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.CreateStruct', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..pc(2, _omitFieldNames ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: Expr_CreateStruct_Entry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct clone() => Expr_CreateStruct()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_CreateStruct copyWith(void Function(Expr_CreateStruct) updates) => super.copyWith((message) => updates(message as Expr_CreateStruct)) as Expr_CreateStruct; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct create() => Expr_CreateStruct._(); - Expr_CreateStruct createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_CreateStruct getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_CreateStruct? _defaultInstance; - - /// The type name of the message to be created, empty when creating map - /// literals. - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// The entries in the creation expression. - @$pb.TagNumber(2) - $core.List get entries => $_getList(1); -} - -/// A comprehension expression applied to a list or map. -/// -/// Comprehensions are not part of the core syntax, but enabled with macros. -/// A macro matches a specific call signature within a parsed AST and replaces -/// the call with an alternate AST block. Macro expansion happens at parse -/// time. -/// -/// The following macros are supported within CEL: -/// -/// Aggregate type macros may be applied to all elements in a list or all keys -/// in a map: -/// -/// * `all`, `exists`, `exists_one` - test a predicate expression against -/// the inputs and return `true` if the predicate is satisfied for all, -/// any, or only one value `list.all(x, x < 10)`. -/// * `filter` - test a predicate expression against the inputs and return -/// the subset of elements which satisfy the predicate: -/// `payments.filter(p, p > 1000)`. -/// * `map` - apply an expression to all elements in the input and return the -/// output aggregate type: `[1, 2, 3].map(i, i * i)`. -/// -/// The `has(m.x)` macro tests whether the property `x` is present in struct -/// `m`. The semantics of this macro depend on the type of `m`. For proto2 -/// messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the -/// macro tests whether the property is set to its default. For map and struct -/// types, the macro tests whether the property `x` is defined on `m`. -class Expr_Comprehension extends $pb.GeneratedMessage { - factory Expr_Comprehension({ - $core.String? iterVar, - Expr? iterRange, - $core.String? accuVar, - Expr? accuInit, - Expr? loopCondition, - Expr? loopStep, - Expr? result, - }) { - final $result = create(); - if (iterVar != null) { - $result.iterVar = iterVar; - } - if (iterRange != null) { - $result.iterRange = iterRange; - } - if (accuVar != null) { - $result.accuVar = accuVar; - } - if (accuInit != null) { - $result.accuInit = accuInit; - } - if (loopCondition != null) { - $result.loopCondition = loopCondition; - } - if (loopStep != null) { - $result.loopStep = loopStep; - } - if (result != null) { - $result.result = result; - } - return $result; - } - Expr_Comprehension._() : super(); - factory Expr_Comprehension.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr_Comprehension.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr.Comprehension', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'iterVar') - ..aOM(2, _omitFieldNames ? '' : 'iterRange', subBuilder: Expr.create) - ..aOS(3, _omitFieldNames ? '' : 'accuVar') - ..aOM(4, _omitFieldNames ? '' : 'accuInit', subBuilder: Expr.create) - ..aOM(5, _omitFieldNames ? '' : 'loopCondition', subBuilder: Expr.create) - ..aOM(6, _omitFieldNames ? '' : 'loopStep', subBuilder: Expr.create) - ..aOM(7, _omitFieldNames ? '' : 'result', subBuilder: Expr.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr_Comprehension clone() => Expr_Comprehension()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr_Comprehension copyWith(void Function(Expr_Comprehension) updates) => super.copyWith((message) => updates(message as Expr_Comprehension)) as Expr_Comprehension; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr_Comprehension create() => Expr_Comprehension._(); - Expr_Comprehension createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr_Comprehension getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr_Comprehension? _defaultInstance; - - /// The name of the iteration variable. - @$pb.TagNumber(1) - $core.String get iterVar => $_getSZ(0); - @$pb.TagNumber(1) - set iterVar($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasIterVar() => $_has(0); - @$pb.TagNumber(1) - void clearIterVar() => clearField(1); - - /// The range over which var iterates. - @$pb.TagNumber(2) - Expr get iterRange => $_getN(1); - @$pb.TagNumber(2) - set iterRange(Expr v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasIterRange() => $_has(1); - @$pb.TagNumber(2) - void clearIterRange() => clearField(2); - @$pb.TagNumber(2) - Expr ensureIterRange() => $_ensure(1); - - /// The name of the variable used for accumulation of the result. - @$pb.TagNumber(3) - $core.String get accuVar => $_getSZ(2); - @$pb.TagNumber(3) - set accuVar($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasAccuVar() => $_has(2); - @$pb.TagNumber(3) - void clearAccuVar() => clearField(3); - - /// The initial value of the accumulator. - @$pb.TagNumber(4) - Expr get accuInit => $_getN(3); - @$pb.TagNumber(4) - set accuInit(Expr v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasAccuInit() => $_has(3); - @$pb.TagNumber(4) - void clearAccuInit() => clearField(4); - @$pb.TagNumber(4) - Expr ensureAccuInit() => $_ensure(3); - - /// An expression which can contain iter_var and accu_var. - /// - /// Returns false when the result has been computed and may be used as - /// a hint to short-circuit the remainder of the comprehension. - @$pb.TagNumber(5) - Expr get loopCondition => $_getN(4); - @$pb.TagNumber(5) - set loopCondition(Expr v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasLoopCondition() => $_has(4); - @$pb.TagNumber(5) - void clearLoopCondition() => clearField(5); - @$pb.TagNumber(5) - Expr ensureLoopCondition() => $_ensure(4); - - /// An expression which can contain iter_var and accu_var. - /// - /// Computes the next value of accu_var. - @$pb.TagNumber(6) - Expr get loopStep => $_getN(5); - @$pb.TagNumber(6) - set loopStep(Expr v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasLoopStep() => $_has(5); - @$pb.TagNumber(6) - void clearLoopStep() => clearField(6); - @$pb.TagNumber(6) - Expr ensureLoopStep() => $_ensure(5); - - /// An expression which can contain accu_var. - /// - /// Computes the result. - @$pb.TagNumber(7) - Expr get result => $_getN(6); - @$pb.TagNumber(7) - set result(Expr v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasResult() => $_has(6); - @$pb.TagNumber(7) - void clearResult() => clearField(7); - @$pb.TagNumber(7) - Expr ensureResult() => $_ensure(6); -} - -enum Expr_ExprKind { - literalExpr, - identExpr, - selectExpr, - callExpr, - listExpr, - structExpr, - comprehensionExpr, - notSet -} - -/// An abstract representation of a common expression. -/// -/// Expressions are abstractly represented as a collection of identifiers, -/// select statements, function calls, literals, and comprehensions. All -/// operators with the exception of the '.' operator are modelled as function -/// calls. This makes it easy to represent new operators into the existing AST. -/// -/// All references within expressions must resolve to a [Decl][google.api.expr.v1beta1.Decl] provided at -/// type-check for an expression to be valid. A reference may either be a bare -/// identifier `name` or a qualified identifier `google.api.name`. References -/// may either refer to a value or a function declaration. -/// -/// For example, the expression `google.api.name.startsWith('expr')` references -/// the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression, and -/// the function declaration `startsWith`. -class Expr extends $pb.GeneratedMessage { - factory Expr({ - $core.int? id, - Literal? literalExpr, - Expr_Ident? identExpr, - Expr_Select? selectExpr, - Expr_Call? callExpr, - Expr_CreateList? listExpr, - Expr_CreateStruct? structExpr, - Expr_Comprehension? comprehensionExpr, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (literalExpr != null) { - $result.literalExpr = literalExpr; - } - if (identExpr != null) { - $result.identExpr = identExpr; - } - if (selectExpr != null) { - $result.selectExpr = selectExpr; - } - if (callExpr != null) { - $result.callExpr = callExpr; - } - if (listExpr != null) { - $result.listExpr = listExpr; - } - if (structExpr != null) { - $result.structExpr = structExpr; - } - if (comprehensionExpr != null) { - $result.comprehensionExpr = comprehensionExpr; - } - return $result; - } - Expr._() : super(); - factory Expr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Expr_ExprKind> _Expr_ExprKindByTag = { - 3 : Expr_ExprKind.literalExpr, - 4 : Expr_ExprKind.identExpr, - 5 : Expr_ExprKind.selectExpr, - 6 : Expr_ExprKind.callExpr, - 7 : Expr_ExprKind.listExpr, - 8 : Expr_ExprKind.structExpr, - 9 : Expr_ExprKind.comprehensionExpr, - 0 : Expr_ExprKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..oo(0, [3, 4, 5, 6, 7, 8, 9]) - ..a<$core.int>(2, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3) - ..aOM(3, _omitFieldNames ? '' : 'literalExpr', subBuilder: Literal.create) - ..aOM(4, _omitFieldNames ? '' : 'identExpr', subBuilder: Expr_Ident.create) - ..aOM(5, _omitFieldNames ? '' : 'selectExpr', subBuilder: Expr_Select.create) - ..aOM(6, _omitFieldNames ? '' : 'callExpr', subBuilder: Expr_Call.create) - ..aOM(7, _omitFieldNames ? '' : 'listExpr', subBuilder: Expr_CreateList.create) - ..aOM(8, _omitFieldNames ? '' : 'structExpr', subBuilder: Expr_CreateStruct.create) - ..aOM(9, _omitFieldNames ? '' : 'comprehensionExpr', subBuilder: Expr_Comprehension.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr clone() => Expr()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr copyWith(void Function(Expr) updates) => super.copyWith((message) => updates(message as Expr)) as Expr; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr create() => Expr._(); - Expr createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr? _defaultInstance; - - Expr_ExprKind whichExprKind() => _Expr_ExprKindByTag[$_whichOneof(0)]!; - void clearExprKind() => clearField($_whichOneof(0)); - - /// Required. An id assigned to this node by the parser which is unique in a - /// given expression tree. This is used to associate type information and other - /// attributes to a node in the parse tree. - @$pb.TagNumber(2) - $core.int get id => $_getIZ(0); - @$pb.TagNumber(2) - set id($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(2) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(2) - void clearId() => clearField(2); - - /// A literal expression. - @$pb.TagNumber(3) - Literal get literalExpr => $_getN(1); - @$pb.TagNumber(3) - set literalExpr(Literal v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasLiteralExpr() => $_has(1); - @$pb.TagNumber(3) - void clearLiteralExpr() => clearField(3); - @$pb.TagNumber(3) - Literal ensureLiteralExpr() => $_ensure(1); - - /// An identifier expression. - @$pb.TagNumber(4) - Expr_Ident get identExpr => $_getN(2); - @$pb.TagNumber(4) - set identExpr(Expr_Ident v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasIdentExpr() => $_has(2); - @$pb.TagNumber(4) - void clearIdentExpr() => clearField(4); - @$pb.TagNumber(4) - Expr_Ident ensureIdentExpr() => $_ensure(2); - - /// A field selection expression, e.g. `request.auth`. - @$pb.TagNumber(5) - Expr_Select get selectExpr => $_getN(3); - @$pb.TagNumber(5) - set selectExpr(Expr_Select v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasSelectExpr() => $_has(3); - @$pb.TagNumber(5) - void clearSelectExpr() => clearField(5); - @$pb.TagNumber(5) - Expr_Select ensureSelectExpr() => $_ensure(3); - - /// A call expression, including calls to predefined functions and operators. - @$pb.TagNumber(6) - Expr_Call get callExpr => $_getN(4); - @$pb.TagNumber(6) - set callExpr(Expr_Call v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasCallExpr() => $_has(4); - @$pb.TagNumber(6) - void clearCallExpr() => clearField(6); - @$pb.TagNumber(6) - Expr_Call ensureCallExpr() => $_ensure(4); - - /// A list creation expression. - @$pb.TagNumber(7) - Expr_CreateList get listExpr => $_getN(5); - @$pb.TagNumber(7) - set listExpr(Expr_CreateList v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasListExpr() => $_has(5); - @$pb.TagNumber(7) - void clearListExpr() => clearField(7); - @$pb.TagNumber(7) - Expr_CreateList ensureListExpr() => $_ensure(5); - - /// A map or object creation expression. - @$pb.TagNumber(8) - Expr_CreateStruct get structExpr => $_getN(6); - @$pb.TagNumber(8) - set structExpr(Expr_CreateStruct v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasStructExpr() => $_has(6); - @$pb.TagNumber(8) - void clearStructExpr() => clearField(8); - @$pb.TagNumber(8) - Expr_CreateStruct ensureStructExpr() => $_ensure(6); - - /// A comprehension expression. - @$pb.TagNumber(9) - Expr_Comprehension get comprehensionExpr => $_getN(7); - @$pb.TagNumber(9) - set comprehensionExpr(Expr_Comprehension v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasComprehensionExpr() => $_has(7); - @$pb.TagNumber(9) - void clearComprehensionExpr() => clearField(9); - @$pb.TagNumber(9) - Expr_Comprehension ensureComprehensionExpr() => $_ensure(7); -} - -enum Literal_ConstantKind { - nullValue, - boolValue, - int64Value, - uint64Value, - doubleValue, - stringValue, - bytesValue, - notSet -} - -/// Represents a primitive literal. -/// -/// This is similar to the primitives supported in the well-known type -/// `google.protobuf.Value`, but richer so it can represent CEL's full range of -/// primitives. -/// -/// Lists and structs are not included as constants as these aggregate types may -/// contain [Expr][google.api.expr.v1beta1.Expr] elements which require evaluation and are thus not constant. -/// -/// Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, -/// `true`, `null`. -class Literal extends $pb.GeneratedMessage { - factory Literal({ - $7.NullValue? nullValue, - $core.bool? boolValue, - $fixnum.Int64? int64Value, - $fixnum.Int64? uint64Value, - $core.double? doubleValue, - $core.String? stringValue, - $core.List<$core.int>? bytesValue, - }) { - final $result = create(); - if (nullValue != null) { - $result.nullValue = nullValue; - } - if (boolValue != null) { - $result.boolValue = boolValue; - } - if (int64Value != null) { - $result.int64Value = int64Value; - } - if (uint64Value != null) { - $result.uint64Value = uint64Value; - } - if (doubleValue != null) { - $result.doubleValue = doubleValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (bytesValue != null) { - $result.bytesValue = bytesValue; - } - return $result; - } - Literal._() : super(); - factory Literal.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Literal.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Literal_ConstantKind> _Literal_ConstantKindByTag = { - 1 : Literal_ConstantKind.nullValue, - 2 : Literal_ConstantKind.boolValue, - 3 : Literal_ConstantKind.int64Value, - 4 : Literal_ConstantKind.uint64Value, - 5 : Literal_ConstantKind.doubleValue, - 6 : Literal_ConstantKind.stringValue, - 7 : Literal_ConstantKind.bytesValue, - 0 : Literal_ConstantKind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Literal', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 7]) - ..e<$7.NullValue>(1, _omitFieldNames ? '' : 'nullValue', $pb.PbFieldType.OE, defaultOrMaker: $7.NullValue.NULL_VALUE, valueOf: $7.NullValue.valueOf, enumValues: $7.NullValue.values) - ..aOB(2, _omitFieldNames ? '' : 'boolValue') - ..aInt64(3, _omitFieldNames ? '' : 'int64Value') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'uint64Value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(5, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) - ..aOS(6, _omitFieldNames ? '' : 'stringValue') - ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'bytesValue', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Literal clone() => Literal()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Literal copyWith(void Function(Literal) updates) => super.copyWith((message) => updates(message as Literal)) as Literal; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Literal create() => Literal._(); - Literal createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Literal getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Literal? _defaultInstance; - - Literal_ConstantKind whichConstantKind() => _Literal_ConstantKindByTag[$_whichOneof(0)]!; - void clearConstantKind() => clearField($_whichOneof(0)); - - /// null value. - @$pb.TagNumber(1) - $7.NullValue get nullValue => $_getN(0); - @$pb.TagNumber(1) - set nullValue($7.NullValue v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasNullValue() => $_has(0); - @$pb.TagNumber(1) - void clearNullValue() => clearField(1); - - /// boolean value. - @$pb.TagNumber(2) - $core.bool get boolValue => $_getBF(1); - @$pb.TagNumber(2) - set boolValue($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasBoolValue() => $_has(1); - @$pb.TagNumber(2) - void clearBoolValue() => clearField(2); - - /// int64 value. - @$pb.TagNumber(3) - $fixnum.Int64 get int64Value => $_getI64(2); - @$pb.TagNumber(3) - set int64Value($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasInt64Value() => $_has(2); - @$pb.TagNumber(3) - void clearInt64Value() => clearField(3); - - /// uint64 value. - @$pb.TagNumber(4) - $fixnum.Int64 get uint64Value => $_getI64(3); - @$pb.TagNumber(4) - set uint64Value($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(4) - $core.bool hasUint64Value() => $_has(3); - @$pb.TagNumber(4) - void clearUint64Value() => clearField(4); - - /// double value. - @$pb.TagNumber(5) - $core.double get doubleValue => $_getN(4); - @$pb.TagNumber(5) - set doubleValue($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasDoubleValue() => $_has(4); - @$pb.TagNumber(5) - void clearDoubleValue() => clearField(5); - - /// string value. - @$pb.TagNumber(6) - $core.String get stringValue => $_getSZ(5); - @$pb.TagNumber(6) - set stringValue($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasStringValue() => $_has(5); - @$pb.TagNumber(6) - void clearStringValue() => clearField(6); - - /// bytes value. - @$pb.TagNumber(7) - $core.List<$core.int> get bytesValue => $_getN(6); - @$pb.TagNumber(7) - set bytesValue($core.List<$core.int> v) { $_setBytes(6, v); } - @$pb.TagNumber(7) - $core.bool hasBytesValue() => $_has(6); - @$pb.TagNumber(7) - void clearBytesValue() => clearField(7); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1beta1/expr.pbenum.dart b/lib/src/gen/google/api/expr/v1beta1/expr.pbenum.dart deleted file mode 100644 index 6e1eebde7c9..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/expr.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/expr.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1beta1/expr.pbjson.dart b/lib/src/gen/google/api/expr/v1beta1/expr.pbjson.dart deleted file mode 100644 index 38aaa551a95..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/expr.pbjson.dart +++ /dev/null @@ -1,183 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/expr.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use parsedExprDescriptor instead') -const ParsedExpr$json = { - '1': 'ParsedExpr', - '2': [ - {'1': 'expr', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'expr'}, - {'1': 'source_info', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.SourceInfo', '10': 'sourceInfo'}, - {'1': 'syntax_version', '3': 4, '4': 1, '5': 9, '10': 'syntaxVersion'}, - ], -}; - -/// Descriptor for `ParsedExpr`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List parsedExprDescriptor = $convert.base64Decode( - 'CgpQYXJzZWRFeHByEjEKBGV4cHIYAiABKAsyHS5nb29nbGUuYXBpLmV4cHIudjFiZXRhMS5FeH' - 'ByUgRleHByEkQKC3NvdXJjZV9pbmZvGAMgASgLMiMuZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEu' - 'U291cmNlSW5mb1IKc291cmNlSW5mbxIlCg5zeW50YXhfdmVyc2lvbhgEIAEoCVINc3ludGF4Vm' - 'Vyc2lvbg=='); - -@$core.Deprecated('Use exprDescriptor instead') -const Expr$json = { - '1': 'Expr', - '2': [ - {'1': 'id', '3': 2, '4': 1, '5': 5, '10': 'id'}, - {'1': 'literal_expr', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Literal', '9': 0, '10': 'literalExpr'}, - {'1': 'ident_expr', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr.Ident', '9': 0, '10': 'identExpr'}, - {'1': 'select_expr', '3': 5, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr.Select', '9': 0, '10': 'selectExpr'}, - {'1': 'call_expr', '3': 6, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr.Call', '9': 0, '10': 'callExpr'}, - {'1': 'list_expr', '3': 7, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr.CreateList', '9': 0, '10': 'listExpr'}, - {'1': 'struct_expr', '3': 8, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr.CreateStruct', '9': 0, '10': 'structExpr'}, - {'1': 'comprehension_expr', '3': 9, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr.Comprehension', '9': 0, '10': 'comprehensionExpr'}, - ], - '3': [Expr_Ident$json, Expr_Select$json, Expr_Call$json, Expr_CreateList$json, Expr_CreateStruct$json, Expr_Comprehension$json], - '8': [ - {'1': 'expr_kind'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Ident$json = { - '1': 'Ident', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Select$json = { - '1': 'Select', - '2': [ - {'1': 'operand', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'operand'}, - {'1': 'field', '3': 2, '4': 1, '5': 9, '10': 'field'}, - {'1': 'test_only', '3': 3, '4': 1, '5': 8, '10': 'testOnly'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Call$json = { - '1': 'Call', - '2': [ - {'1': 'target', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'target'}, - {'1': 'function', '3': 2, '4': 1, '5': 9, '10': 'function'}, - {'1': 'args', '3': 3, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'args'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_CreateList$json = { - '1': 'CreateList', - '2': [ - {'1': 'elements', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'elements'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_CreateStruct$json = { - '1': 'CreateStruct', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'entries', '3': 2, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.Expr.CreateStruct.Entry', '10': 'entries'}, - ], - '3': [Expr_CreateStruct_Entry$json], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_CreateStruct_Entry$json = { - '1': 'Entry', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 5, '10': 'id'}, - {'1': 'field_key', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'fieldKey'}, - {'1': 'map_key', '3': 3, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '9': 0, '10': 'mapKey'}, - {'1': 'value', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'value'}, - ], - '8': [ - {'1': 'key_kind'}, - ], -}; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr_Comprehension$json = { - '1': 'Comprehension', - '2': [ - {'1': 'iter_var', '3': 1, '4': 1, '5': 9, '10': 'iterVar'}, - {'1': 'iter_range', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'iterRange'}, - {'1': 'accu_var', '3': 3, '4': 1, '5': 9, '10': 'accuVar'}, - {'1': 'accu_init', '3': 4, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'accuInit'}, - {'1': 'loop_condition', '3': 5, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'loopCondition'}, - {'1': 'loop_step', '3': 6, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'loopStep'}, - {'1': 'result', '3': 7, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Expr', '10': 'result'}, - ], -}; - -/// Descriptor for `Expr`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List exprDescriptor = $convert.base64Decode( - 'CgRFeHByEg4KAmlkGAIgASgFUgJpZBJFCgxsaXRlcmFsX2V4cHIYAyABKAsyIC5nb29nbGUuYX' - 'BpLmV4cHIudjFiZXRhMS5MaXRlcmFsSABSC2xpdGVyYWxFeHByEkQKCmlkZW50X2V4cHIYBCAB' - 'KAsyIy5nb29nbGUuYXBpLmV4cHIudjFiZXRhMS5FeHByLklkZW50SABSCWlkZW50RXhwchJHCg' - 'tzZWxlY3RfZXhwchgFIAEoCzIkLmdvb2dsZS5hcGkuZXhwci52MWJldGExLkV4cHIuU2VsZWN0' - 'SABSCnNlbGVjdEV4cHISQQoJY2FsbF9leHByGAYgASgLMiIuZ29vZ2xlLmFwaS5leHByLnYxYm' - 'V0YTEuRXhwci5DYWxsSABSCGNhbGxFeHByEkcKCWxpc3RfZXhwchgHIAEoCzIoLmdvb2dsZS5h' - 'cGkuZXhwci52MWJldGExLkV4cHIuQ3JlYXRlTGlzdEgAUghsaXN0RXhwchJNCgtzdHJ1Y3RfZX' - 'hwchgIIAEoCzIqLmdvb2dsZS5hcGkuZXhwci52MWJldGExLkV4cHIuQ3JlYXRlU3RydWN0SABS' - 'CnN0cnVjdEV4cHISXAoSY29tcHJlaGVuc2lvbl9leHByGAkgASgLMisuZ29vZ2xlLmFwaS5leH' - 'ByLnYxYmV0YTEuRXhwci5Db21wcmVoZW5zaW9uSABSEWNvbXByZWhlbnNpb25FeHByGhsKBUlk' - 'ZW50EhIKBG5hbWUYASABKAlSBG5hbWUadAoGU2VsZWN0EjcKB29wZXJhbmQYASABKAsyHS5nb2' - '9nbGUuYXBpLmV4cHIudjFiZXRhMS5FeHByUgdvcGVyYW5kEhQKBWZpZWxkGAIgASgJUgVmaWVs' - 'ZBIbCgl0ZXN0X29ubHkYAyABKAhSCHRlc3RPbmx5GowBCgRDYWxsEjUKBnRhcmdldBgBIAEoCz' - 'IdLmdvb2dsZS5hcGkuZXhwci52MWJldGExLkV4cHJSBnRhcmdldBIaCghmdW5jdGlvbhgCIAEo' - 'CVIIZnVuY3Rpb24SMQoEYXJncxgDIAMoCzIdLmdvb2dsZS5hcGkuZXhwci52MWJldGExLkV4cH' - 'JSBGFyZ3MaRwoKQ3JlYXRlTGlzdBI5CghlbGVtZW50cxgBIAMoCzIdLmdvb2dsZS5hcGkuZXhw' - 'ci52MWJldGExLkV4cHJSCGVsZW1lbnRzGqICCgxDcmVhdGVTdHJ1Y3QSEgoEdHlwZRgBIAEoCV' - 'IEdHlwZRJKCgdlbnRyaWVzGAIgAygLMjAuZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuRXhwci5D' - 'cmVhdGVTdHJ1Y3QuRW50cnlSB2VudHJpZXMasQEKBUVudHJ5Eg4KAmlkGAEgASgFUgJpZBIdCg' - 'lmaWVsZF9rZXkYAiABKAlIAFIIZmllbGRLZXkSOAoHbWFwX2tleRgDIAEoCzIdLmdvb2dsZS5h' - 'cGkuZXhwci52MWJldGExLkV4cHJIAFIGbWFwS2V5EjMKBXZhbHVlGAQgASgLMh0uZ29vZ2xlLm' - 'FwaS5leHByLnYxYmV0YTEuRXhwclIFdmFsdWVCCgoIa2V5X2tpbmQa+AIKDUNvbXByZWhlbnNp' - 'b24SGQoIaXRlcl92YXIYASABKAlSB2l0ZXJWYXISPAoKaXRlcl9yYW5nZRgCIAEoCzIdLmdvb2' - 'dsZS5hcGkuZXhwci52MWJldGExLkV4cHJSCWl0ZXJSYW5nZRIZCghhY2N1X3ZhchgDIAEoCVIH' - 'YWNjdVZhchI6CglhY2N1X2luaXQYBCABKAsyHS5nb29nbGUuYXBpLmV4cHIudjFiZXRhMS5FeH' - 'ByUghhY2N1SW5pdBJECg5sb29wX2NvbmRpdGlvbhgFIAEoCzIdLmdvb2dsZS5hcGkuZXhwci52' - 'MWJldGExLkV4cHJSDWxvb3BDb25kaXRpb24SOgoJbG9vcF9zdGVwGAYgASgLMh0uZ29vZ2xlLm' - 'FwaS5leHByLnYxYmV0YTEuRXhwclIIbG9vcFN0ZXASNQoGcmVzdWx0GAcgASgLMh0uZ29vZ2xl' - 'LmFwaS5leHByLnYxYmV0YTEuRXhwclIGcmVzdWx0QgsKCWV4cHJfa2luZA=='); - -@$core.Deprecated('Use literalDescriptor instead') -const Literal$json = { - '1': 'Literal', - '2': [ - {'1': 'null_value', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.NullValue', '9': 0, '10': 'nullValue'}, - {'1': 'bool_value', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'int64_value', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'int64Value'}, - {'1': 'uint64_value', '3': 4, '4': 1, '5': 4, '9': 0, '10': 'uint64Value'}, - {'1': 'double_value', '3': 5, '4': 1, '5': 1, '9': 0, '10': 'doubleValue'}, - {'1': 'string_value', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'stringValue'}, - {'1': 'bytes_value', '3': 7, '4': 1, '5': 12, '9': 0, '10': 'bytesValue'}, - ], - '8': [ - {'1': 'constant_kind'}, - ], -}; - -/// Descriptor for `Literal`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List literalDescriptor = $convert.base64Decode( - 'CgdMaXRlcmFsEjsKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbH' - 'VlSABSCW51bGxWYWx1ZRIfCgpib29sX3ZhbHVlGAIgASgISABSCWJvb2xWYWx1ZRIhCgtpbnQ2' - 'NF92YWx1ZRgDIAEoA0gAUgppbnQ2NFZhbHVlEiMKDHVpbnQ2NF92YWx1ZRgEIAEoBEgAUgt1aW' - '50NjRWYWx1ZRIjCgxkb3VibGVfdmFsdWUYBSABKAFIAFILZG91YmxlVmFsdWUSIwoMc3RyaW5n' - 'X3ZhbHVlGAYgASgJSABSC3N0cmluZ1ZhbHVlEiEKC2J5dGVzX3ZhbHVlGAcgASgMSABSCmJ5dG' - 'VzVmFsdWVCDwoNY29uc3RhbnRfa2luZA=='); - diff --git a/lib/src/gen/google/api/expr/v1beta1/source.pb.dart b/lib/src/gen/google/api/expr/v1beta1/source.pb.dart deleted file mode 100644 index 378740ff0cc..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/source.pb.dart +++ /dev/null @@ -1,196 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/source.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Source information collected at parse time. -class SourceInfo extends $pb.GeneratedMessage { - factory SourceInfo({ - $core.String? location, - $core.Iterable<$core.int>? lineOffsets, - $core.Map<$core.int, $core.int>? positions, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - if (lineOffsets != null) { - $result.lineOffsets.addAll(lineOffsets); - } - if (positions != null) { - $result.positions.addAll(positions); - } - return $result; - } - SourceInfo._() : super(); - factory SourceInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourceInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'location') - ..p<$core.int>(3, _omitFieldNames ? '' : 'lineOffsets', $pb.PbFieldType.K3) - ..m<$core.int, $core.int>(4, _omitFieldNames ? '' : 'positions', entryClassName: 'SourceInfo.PositionsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.O3, packageName: const $pb.PackageName('google.api.expr.v1beta1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourceInfo clone() => SourceInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourceInfo copyWith(void Function(SourceInfo) updates) => super.copyWith((message) => updates(message as SourceInfo)) as SourceInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourceInfo create() => SourceInfo._(); - SourceInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourceInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourceInfo? _defaultInstance; - - /// The location name. All position information attached to an expression is - /// relative to this location. - /// - /// The location could be a file, UI element, or similar. For example, - /// `acme/app/AnvilPolicy.cel`. - @$pb.TagNumber(2) - $core.String get location => $_getSZ(0); - @$pb.TagNumber(2) - set location($core.String v) { $_setString(0, v); } - @$pb.TagNumber(2) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(2) - void clearLocation() => clearField(2); - - /// Monotonically increasing list of character offsets where newlines appear. - /// - /// The line number of a given position is the index `i` where for a given - /// `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The - /// column may be derivd from `id_positions[id] - line_offsets[i]`. - @$pb.TagNumber(3) - $core.List<$core.int> get lineOffsets => $_getList(1); - - /// A map from the parse node id (e.g. `Expr.id`) to the character offset - /// within source. - @$pb.TagNumber(4) - $core.Map<$core.int, $core.int> get positions => $_getMap(2); -} - -/// A specific position in source. -class SourcePosition extends $pb.GeneratedMessage { - factory SourcePosition({ - $core.String? location, - $core.int? offset, - $core.int? line, - $core.int? column, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - if (offset != null) { - $result.offset = offset; - } - if (line != null) { - $result.line = line; - } - if (column != null) { - $result.column = column; - } - return $result; - } - SourcePosition._() : super(); - factory SourcePosition.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourcePosition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourcePosition', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'location') - ..a<$core.int>(2, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.O3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'line', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'column', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourcePosition clone() => SourcePosition()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourcePosition copyWith(void Function(SourcePosition) updates) => super.copyWith((message) => updates(message as SourcePosition)) as SourcePosition; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourcePosition create() => SourcePosition._(); - SourcePosition createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourcePosition getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourcePosition? _defaultInstance; - - /// The soucre location name (e.g. file name). - @$pb.TagNumber(1) - $core.String get location => $_getSZ(0); - @$pb.TagNumber(1) - set location($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(1) - void clearLocation() => clearField(1); - - /// The character offset. - @$pb.TagNumber(2) - $core.int get offset => $_getIZ(1); - @$pb.TagNumber(2) - set offset($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasOffset() => $_has(1); - @$pb.TagNumber(2) - void clearOffset() => clearField(2); - - /// The 1-based index of the starting line in the source text - /// where the issue occurs, or 0 if unknown. - @$pb.TagNumber(3) - $core.int get line => $_getIZ(2); - @$pb.TagNumber(3) - set line($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasLine() => $_has(2); - @$pb.TagNumber(3) - void clearLine() => clearField(3); - - /// The 0-based index of the starting position within the line of source text - /// where the issue occurs. Only meaningful if line is nonzer.. - @$pb.TagNumber(4) - $core.int get column => $_getIZ(3); - @$pb.TagNumber(4) - set column($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasColumn() => $_has(3); - @$pb.TagNumber(4) - void clearColumn() => clearField(4); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1beta1/source.pbenum.dart b/lib/src/gen/google/api/expr/v1beta1/source.pbenum.dart deleted file mode 100644 index 47d74b78553..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/source.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/source.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1beta1/source.pbjson.dart b/lib/src/gen/google/api/expr/v1beta1/source.pbjson.dart deleted file mode 100644 index b02ef5c0819..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/source.pbjson.dart +++ /dev/null @@ -1,60 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/source.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo$json = { - '1': 'SourceInfo', - '2': [ - {'1': 'location', '3': 2, '4': 1, '5': 9, '10': 'location'}, - {'1': 'line_offsets', '3': 3, '4': 3, '5': 5, '10': 'lineOffsets'}, - {'1': 'positions', '3': 4, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.SourceInfo.PositionsEntry', '10': 'positions'}, - ], - '3': [SourceInfo_PositionsEntry$json], -}; - -@$core.Deprecated('Use sourceInfoDescriptor instead') -const SourceInfo_PositionsEntry$json = { - '1': 'PositionsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 5, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `SourceInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sourceInfoDescriptor = $convert.base64Decode( - 'CgpTb3VyY2VJbmZvEhoKCGxvY2F0aW9uGAIgASgJUghsb2NhdGlvbhIhCgxsaW5lX29mZnNldH' - 'MYAyADKAVSC2xpbmVPZmZzZXRzElAKCXBvc2l0aW9ucxgEIAMoCzIyLmdvb2dsZS5hcGkuZXhw' - 'ci52MWJldGExLlNvdXJjZUluZm8uUG9zaXRpb25zRW50cnlSCXBvc2l0aW9ucxo8Cg5Qb3NpdG' - 'lvbnNFbnRyeRIQCgNrZXkYASABKAVSA2tleRIUCgV2YWx1ZRgCIAEoBVIFdmFsdWU6AjgB'); - -@$core.Deprecated('Use sourcePositionDescriptor instead') -const SourcePosition$json = { - '1': 'SourcePosition', - '2': [ - {'1': 'location', '3': 1, '4': 1, '5': 9, '10': 'location'}, - {'1': 'offset', '3': 2, '4': 1, '5': 5, '10': 'offset'}, - {'1': 'line', '3': 3, '4': 1, '5': 5, '10': 'line'}, - {'1': 'column', '3': 4, '4': 1, '5': 5, '10': 'column'}, - ], -}; - -/// Descriptor for `SourcePosition`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sourcePositionDescriptor = $convert.base64Decode( - 'Cg5Tb3VyY2VQb3NpdGlvbhIaCghsb2NhdGlvbhgBIAEoCVIIbG9jYXRpb24SFgoGb2Zmc2V0GA' - 'IgASgFUgZvZmZzZXQSEgoEbGluZRgDIAEoBVIEbGluZRIWCgZjb2x1bW4YBCABKAVSBmNvbHVt' - 'bg=='); - diff --git a/lib/src/gen/google/api/expr/v1beta1/value.pb.dart b/lib/src/gen/google/api/expr/v1beta1/value.pb.dart deleted file mode 100644 index 94d0f838704..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/value.pb.dart +++ /dev/null @@ -1,527 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/value.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../protobuf/any.pb.dart' as $9; -import '../../../protobuf/struct.pbenum.dart' as $7; - -enum Value_Kind { - nullValue, - boolValue, - int64Value, - uint64Value, - doubleValue, - stringValue, - bytesValue, - enumValue, - objectValue, - mapValue, - listValue, - typeValue, - notSet -} - -/// Represents a CEL value. -/// -/// This is similar to `google.protobuf.Value`, but can represent CEL's full -/// range of values. -class Value extends $pb.GeneratedMessage { - factory Value({ - $7.NullValue? nullValue, - $core.bool? boolValue, - $fixnum.Int64? int64Value, - $fixnum.Int64? uint64Value, - $core.double? doubleValue, - $core.String? stringValue, - $core.List<$core.int>? bytesValue, - EnumValue? enumValue, - $9.Any? objectValue, - MapValue? mapValue, - ListValue? listValue, - $core.String? typeValue, - }) { - final $result = create(); - if (nullValue != null) { - $result.nullValue = nullValue; - } - if (boolValue != null) { - $result.boolValue = boolValue; - } - if (int64Value != null) { - $result.int64Value = int64Value; - } - if (uint64Value != null) { - $result.uint64Value = uint64Value; - } - if (doubleValue != null) { - $result.doubleValue = doubleValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (bytesValue != null) { - $result.bytesValue = bytesValue; - } - if (enumValue != null) { - $result.enumValue = enumValue; - } - if (objectValue != null) { - $result.objectValue = objectValue; - } - if (mapValue != null) { - $result.mapValue = mapValue; - } - if (listValue != null) { - $result.listValue = listValue; - } - if (typeValue != null) { - $result.typeValue = typeValue; - } - return $result; - } - Value._() : super(); - factory Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Value_Kind> _Value_KindByTag = { - 1 : Value_Kind.nullValue, - 2 : Value_Kind.boolValue, - 3 : Value_Kind.int64Value, - 4 : Value_Kind.uint64Value, - 5 : Value_Kind.doubleValue, - 6 : Value_Kind.stringValue, - 7 : Value_Kind.bytesValue, - 9 : Value_Kind.enumValue, - 10 : Value_Kind.objectValue, - 11 : Value_Kind.mapValue, - 12 : Value_Kind.listValue, - 15 : Value_Kind.typeValue, - 0 : Value_Kind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..oo(0, [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 15]) - ..e<$7.NullValue>(1, _omitFieldNames ? '' : 'nullValue', $pb.PbFieldType.OE, defaultOrMaker: $7.NullValue.NULL_VALUE, valueOf: $7.NullValue.valueOf, enumValues: $7.NullValue.values) - ..aOB(2, _omitFieldNames ? '' : 'boolValue') - ..aInt64(3, _omitFieldNames ? '' : 'int64Value') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'uint64Value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(5, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) - ..aOS(6, _omitFieldNames ? '' : 'stringValue') - ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'bytesValue', $pb.PbFieldType.OY) - ..aOM(9, _omitFieldNames ? '' : 'enumValue', subBuilder: EnumValue.create) - ..aOM<$9.Any>(10, _omitFieldNames ? '' : 'objectValue', subBuilder: $9.Any.create) - ..aOM(11, _omitFieldNames ? '' : 'mapValue', subBuilder: MapValue.create) - ..aOM(12, _omitFieldNames ? '' : 'listValue', subBuilder: ListValue.create) - ..aOS(15, _omitFieldNames ? '' : 'typeValue') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Value clone() => Value()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Value copyWith(void Function(Value) updates) => super.copyWith((message) => updates(message as Value)) as Value; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Value create() => Value._(); - Value createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Value? _defaultInstance; - - Value_Kind whichKind() => _Value_KindByTag[$_whichOneof(0)]!; - void clearKind() => clearField($_whichOneof(0)); - - /// Null value. - @$pb.TagNumber(1) - $7.NullValue get nullValue => $_getN(0); - @$pb.TagNumber(1) - set nullValue($7.NullValue v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasNullValue() => $_has(0); - @$pb.TagNumber(1) - void clearNullValue() => clearField(1); - - /// Boolean value. - @$pb.TagNumber(2) - $core.bool get boolValue => $_getBF(1); - @$pb.TagNumber(2) - set boolValue($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasBoolValue() => $_has(1); - @$pb.TagNumber(2) - void clearBoolValue() => clearField(2); - - /// Signed integer value. - @$pb.TagNumber(3) - $fixnum.Int64 get int64Value => $_getI64(2); - @$pb.TagNumber(3) - set int64Value($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasInt64Value() => $_has(2); - @$pb.TagNumber(3) - void clearInt64Value() => clearField(3); - - /// Unsigned integer value. - @$pb.TagNumber(4) - $fixnum.Int64 get uint64Value => $_getI64(3); - @$pb.TagNumber(4) - set uint64Value($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(4) - $core.bool hasUint64Value() => $_has(3); - @$pb.TagNumber(4) - void clearUint64Value() => clearField(4); - - /// Floating point value. - @$pb.TagNumber(5) - $core.double get doubleValue => $_getN(4); - @$pb.TagNumber(5) - set doubleValue($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasDoubleValue() => $_has(4); - @$pb.TagNumber(5) - void clearDoubleValue() => clearField(5); - - /// UTF-8 string value. - @$pb.TagNumber(6) - $core.String get stringValue => $_getSZ(5); - @$pb.TagNumber(6) - set stringValue($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasStringValue() => $_has(5); - @$pb.TagNumber(6) - void clearStringValue() => clearField(6); - - /// Byte string value. - @$pb.TagNumber(7) - $core.List<$core.int> get bytesValue => $_getN(6); - @$pb.TagNumber(7) - set bytesValue($core.List<$core.int> v) { $_setBytes(6, v); } - @$pb.TagNumber(7) - $core.bool hasBytesValue() => $_has(6); - @$pb.TagNumber(7) - void clearBytesValue() => clearField(7); - - /// An enum value. - @$pb.TagNumber(9) - EnumValue get enumValue => $_getN(7); - @$pb.TagNumber(9) - set enumValue(EnumValue v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasEnumValue() => $_has(7); - @$pb.TagNumber(9) - void clearEnumValue() => clearField(9); - @$pb.TagNumber(9) - EnumValue ensureEnumValue() => $_ensure(7); - - /// The proto message backing an object value. - @$pb.TagNumber(10) - $9.Any get objectValue => $_getN(8); - @$pb.TagNumber(10) - set objectValue($9.Any v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasObjectValue() => $_has(8); - @$pb.TagNumber(10) - void clearObjectValue() => clearField(10); - @$pb.TagNumber(10) - $9.Any ensureObjectValue() => $_ensure(8); - - /// Map value. - @$pb.TagNumber(11) - MapValue get mapValue => $_getN(9); - @$pb.TagNumber(11) - set mapValue(MapValue v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasMapValue() => $_has(9); - @$pb.TagNumber(11) - void clearMapValue() => clearField(11); - @$pb.TagNumber(11) - MapValue ensureMapValue() => $_ensure(9); - - /// List value. - @$pb.TagNumber(12) - ListValue get listValue => $_getN(10); - @$pb.TagNumber(12) - set listValue(ListValue v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasListValue() => $_has(10); - @$pb.TagNumber(12) - void clearListValue() => clearField(12); - @$pb.TagNumber(12) - ListValue ensureListValue() => $_ensure(10); - - /// A Type value represented by the fully qualified name of the type. - @$pb.TagNumber(15) - $core.String get typeValue => $_getSZ(11); - @$pb.TagNumber(15) - set typeValue($core.String v) { $_setString(11, v); } - @$pb.TagNumber(15) - $core.bool hasTypeValue() => $_has(11); - @$pb.TagNumber(15) - void clearTypeValue() => clearField(15); -} - -/// An enum value. -class EnumValue extends $pb.GeneratedMessage { - factory EnumValue({ - $core.String? type, - $core.int? value, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (value != null) { - $result.value = value; - } - return $result; - } - EnumValue._() : super(); - factory EnumValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnumValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..a<$core.int>(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnumValue clone() => EnumValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnumValue copyWith(void Function(EnumValue) updates) => super.copyWith((message) => updates(message as EnumValue)) as EnumValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnumValue create() => EnumValue._(); - EnumValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnumValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnumValue? _defaultInstance; - - /// The fully qualified name of the enum type. - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// The value of the enum. - @$pb.TagNumber(2) - $core.int get value => $_getIZ(1); - @$pb.TagNumber(2) - set value($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); -} - -/// A list. -/// -/// Wrapped in a message so 'not set' and empty can be differentiated, which is -/// required for use in a 'oneof'. -class ListValue extends $pb.GeneratedMessage { - factory ListValue({ - $core.Iterable? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - ListValue._() : super(); - factory ListValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: Value.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListValue clone() => ListValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListValue copyWith(void Function(ListValue) updates) => super.copyWith((message) => updates(message as ListValue)) as ListValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListValue create() => ListValue._(); - ListValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListValue? _defaultInstance; - - /// The ordered values in the list. - @$pb.TagNumber(1) - $core.List get values => $_getList(0); -} - -/// An entry in the map. -class MapValue_Entry extends $pb.GeneratedMessage { - factory MapValue_Entry({ - Value? key, - Value? value, - }) { - final $result = create(); - if (key != null) { - $result.key = key; - } - if (value != null) { - $result.value = value; - } - return $result; - } - MapValue_Entry._() : super(); - factory MapValue_Entry.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MapValue_Entry.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MapValue.Entry', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'key', subBuilder: Value.create) - ..aOM(2, _omitFieldNames ? '' : 'value', subBuilder: Value.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MapValue_Entry clone() => MapValue_Entry()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MapValue_Entry copyWith(void Function(MapValue_Entry) updates) => super.copyWith((message) => updates(message as MapValue_Entry)) as MapValue_Entry; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MapValue_Entry create() => MapValue_Entry._(); - MapValue_Entry createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MapValue_Entry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MapValue_Entry? _defaultInstance; - - /// The key. - /// - /// Must be unique with in the map. - /// Currently only boolean, int, uint, and string values can be keys. - @$pb.TagNumber(1) - Value get key => $_getN(0); - @$pb.TagNumber(1) - set key(Value v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasKey() => $_has(0); - @$pb.TagNumber(1) - void clearKey() => clearField(1); - @$pb.TagNumber(1) - Value ensureKey() => $_ensure(0); - - /// The value. - @$pb.TagNumber(2) - Value get value => $_getN(1); - @$pb.TagNumber(2) - set value(Value v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); - @$pb.TagNumber(2) - Value ensureValue() => $_ensure(1); -} - -/// A map. -/// -/// Wrapped in a message so 'not set' and empty can be differentiated, which is -/// required for use in a 'oneof'. -class MapValue extends $pb.GeneratedMessage { - factory MapValue({ - $core.Iterable? entries, - }) { - final $result = create(); - if (entries != null) { - $result.entries.addAll(entries); - } - return $result; - } - MapValue._() : super(); - factory MapValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MapValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MapValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api.expr.v1beta1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'entries', $pb.PbFieldType.PM, subBuilder: MapValue_Entry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MapValue clone() => MapValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MapValue copyWith(void Function(MapValue) updates) => super.copyWith((message) => updates(message as MapValue)) as MapValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MapValue create() => MapValue._(); - MapValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MapValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MapValue? _defaultInstance; - - /// The set of map entries. - /// - /// CEL has fewer restrictions on keys, so a protobuf map represenation - /// cannot be used. - @$pb.TagNumber(1) - $core.List get entries => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/expr/v1beta1/value.pbenum.dart b/lib/src/gen/google/api/expr/v1beta1/value.pbenum.dart deleted file mode 100644 index cb07205f02a..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/value.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/value.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/expr/v1beta1/value.pbjson.dart b/lib/src/gen/google/api/expr/v1beta1/value.pbjson.dart deleted file mode 100644 index 75871b30c76..00000000000 --- a/lib/src/gen/google/api/expr/v1beta1/value.pbjson.dart +++ /dev/null @@ -1,102 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/expr/v1beta1/value.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use valueDescriptor instead') -const Value$json = { - '1': 'Value', - '2': [ - {'1': 'null_value', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.NullValue', '9': 0, '10': 'nullValue'}, - {'1': 'bool_value', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'int64_value', '3': 3, '4': 1, '5': 3, '9': 0, '10': 'int64Value'}, - {'1': 'uint64_value', '3': 4, '4': 1, '5': 4, '9': 0, '10': 'uint64Value'}, - {'1': 'double_value', '3': 5, '4': 1, '5': 1, '9': 0, '10': 'doubleValue'}, - {'1': 'string_value', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'stringValue'}, - {'1': 'bytes_value', '3': 7, '4': 1, '5': 12, '9': 0, '10': 'bytesValue'}, - {'1': 'enum_value', '3': 9, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.EnumValue', '9': 0, '10': 'enumValue'}, - {'1': 'object_value', '3': 10, '4': 1, '5': 11, '6': '.google.protobuf.Any', '9': 0, '10': 'objectValue'}, - {'1': 'map_value', '3': 11, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.MapValue', '9': 0, '10': 'mapValue'}, - {'1': 'list_value', '3': 12, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.ListValue', '9': 0, '10': 'listValue'}, - {'1': 'type_value', '3': 15, '4': 1, '5': 9, '9': 0, '10': 'typeValue'}, - ], - '8': [ - {'1': 'kind'}, - ], -}; - -/// Descriptor for `Value`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List valueDescriptor = $convert.base64Decode( - 'CgVWYWx1ZRI7CgpudWxsX3ZhbHVlGAEgASgOMhouZ29vZ2xlLnByb3RvYnVmLk51bGxWYWx1ZU' - 'gAUgludWxsVmFsdWUSHwoKYm9vbF92YWx1ZRgCIAEoCEgAUglib29sVmFsdWUSIQoLaW50NjRf' - 'dmFsdWUYAyABKANIAFIKaW50NjRWYWx1ZRIjCgx1aW50NjRfdmFsdWUYBCABKARIAFILdWludD' - 'Y0VmFsdWUSIwoMZG91YmxlX3ZhbHVlGAUgASgBSABSC2RvdWJsZVZhbHVlEiMKDHN0cmluZ192' - 'YWx1ZRgGIAEoCUgAUgtzdHJpbmdWYWx1ZRIhCgtieXRlc192YWx1ZRgHIAEoDEgAUgpieXRlc1' - 'ZhbHVlEkMKCmVudW1fdmFsdWUYCSABKAsyIi5nb29nbGUuYXBpLmV4cHIudjFiZXRhMS5FbnVt' - 'VmFsdWVIAFIJZW51bVZhbHVlEjkKDG9iamVjdF92YWx1ZRgKIAEoCzIULmdvb2dsZS5wcm90b2' - 'J1Zi5BbnlIAFILb2JqZWN0VmFsdWUSQAoJbWFwX3ZhbHVlGAsgASgLMiEuZ29vZ2xlLmFwaS5l' - 'eHByLnYxYmV0YTEuTWFwVmFsdWVIAFIIbWFwVmFsdWUSQwoKbGlzdF92YWx1ZRgMIAEoCzIiLm' - 'dvb2dsZS5hcGkuZXhwci52MWJldGExLkxpc3RWYWx1ZUgAUglsaXN0VmFsdWUSHwoKdHlwZV92' - 'YWx1ZRgPIAEoCUgAUgl0eXBlVmFsdWVCBgoEa2luZA=='); - -@$core.Deprecated('Use enumValueDescriptor instead') -const EnumValue$json = { - '1': 'EnumValue', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'value', '3': 2, '4': 1, '5': 5, '10': 'value'}, - ], -}; - -/// Descriptor for `EnumValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enumValueDescriptor = $convert.base64Decode( - 'CglFbnVtVmFsdWUSEgoEdHlwZRgBIAEoCVIEdHlwZRIUCgV2YWx1ZRgCIAEoBVIFdmFsdWU='); - -@$core.Deprecated('Use listValueDescriptor instead') -const ListValue$json = { - '1': 'ListValue', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.Value', '10': 'values'}, - ], -}; - -/// Descriptor for `ListValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listValueDescriptor = $convert.base64Decode( - 'CglMaXN0VmFsdWUSNgoGdmFsdWVzGAEgAygLMh4uZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuVm' - 'FsdWVSBnZhbHVlcw=='); - -@$core.Deprecated('Use mapValueDescriptor instead') -const MapValue$json = { - '1': 'MapValue', - '2': [ - {'1': 'entries', '3': 1, '4': 3, '5': 11, '6': '.google.api.expr.v1beta1.MapValue.Entry', '10': 'entries'}, - ], - '3': [MapValue_Entry$json], -}; - -@$core.Deprecated('Use mapValueDescriptor instead') -const MapValue_Entry$json = { - '1': 'Entry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Value', '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.api.expr.v1beta1.Value', '10': 'value'}, - ], -}; - -/// Descriptor for `MapValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List mapValueDescriptor = $convert.base64Decode( - 'CghNYXBWYWx1ZRJBCgdlbnRyaWVzGAEgAygLMicuZ29vZ2xlLmFwaS5leHByLnYxYmV0YTEuTW' - 'FwVmFsdWUuRW50cnlSB2VudHJpZXMabwoFRW50cnkSMAoDa2V5GAEgASgLMh4uZ29vZ2xlLmFw' - 'aS5leHByLnYxYmV0YTEuVmFsdWVSA2tleRI0CgV2YWx1ZRgCIAEoCzIeLmdvb2dsZS5hcGkuZX' - 'hwci52MWJldGExLlZhbHVlUgV2YWx1ZQ=='); - diff --git a/lib/src/gen/google/api/field_behavior.pb.dart b/lib/src/gen/google/api/field_behavior.pb.dart deleted file mode 100644 index b43120204a5..00000000000 --- a/lib/src/gen/google/api/field_behavior.pb.dart +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/field_behavior.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import 'field_behavior.pbenum.dart'; - -export 'field_behavior.pbenum.dart'; - -class Field_behavior { - static final fieldBehavior = $pb.Extension.repeated(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldBehavior', 1052, $pb.PbFieldType.PE, check: $pb.getCheckFunction($pb.PbFieldType.PE), valueOf: FieldBehavior.valueOf, enumValues: FieldBehavior.values); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(fieldBehavior); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/field_behavior.pbenum.dart b/lib/src/gen/google/api/field_behavior.pbenum.dart deleted file mode 100644 index 27ff5fd42d7..00000000000 --- a/lib/src/gen/google/api/field_behavior.pbenum.dart +++ /dev/null @@ -1,52 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/field_behavior.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// An indicator of the behavior of a given field (for example, that a field -/// is required in requests, or given as output but ignored as input). -/// This **does not** change the behavior in protocol buffers itself; it only -/// denotes the behavior and may affect how API tooling handles the field. -/// -/// Note: This enum **may** receive new values in the future. -class FieldBehavior extends $pb.ProtobufEnum { - static const FieldBehavior FIELD_BEHAVIOR_UNSPECIFIED = FieldBehavior._(0, _omitEnumNames ? '' : 'FIELD_BEHAVIOR_UNSPECIFIED'); - static const FieldBehavior OPTIONAL = FieldBehavior._(1, _omitEnumNames ? '' : 'OPTIONAL'); - static const FieldBehavior REQUIRED = FieldBehavior._(2, _omitEnumNames ? '' : 'REQUIRED'); - static const FieldBehavior OUTPUT_ONLY = FieldBehavior._(3, _omitEnumNames ? '' : 'OUTPUT_ONLY'); - static const FieldBehavior INPUT_ONLY = FieldBehavior._(4, _omitEnumNames ? '' : 'INPUT_ONLY'); - static const FieldBehavior IMMUTABLE = FieldBehavior._(5, _omitEnumNames ? '' : 'IMMUTABLE'); - static const FieldBehavior UNORDERED_LIST = FieldBehavior._(6, _omitEnumNames ? '' : 'UNORDERED_LIST'); - static const FieldBehavior NON_EMPTY_DEFAULT = FieldBehavior._(7, _omitEnumNames ? '' : 'NON_EMPTY_DEFAULT'); - static const FieldBehavior IDENTIFIER = FieldBehavior._(8, _omitEnumNames ? '' : 'IDENTIFIER'); - - static const $core.List values = [ - FIELD_BEHAVIOR_UNSPECIFIED, - OPTIONAL, - REQUIRED, - OUTPUT_ONLY, - INPUT_ONLY, - IMMUTABLE, - UNORDERED_LIST, - NON_EMPTY_DEFAULT, - IDENTIFIER, - ]; - - static final $core.Map<$core.int, FieldBehavior> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldBehavior? valueOf($core.int value) => _byValue[value]; - - const FieldBehavior._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/api/field_behavior.pbjson.dart b/lib/src/gen/google/api/field_behavior.pbjson.dart deleted file mode 100644 index 6403a6d0b6a..00000000000 --- a/lib/src/gen/google/api/field_behavior.pbjson.dart +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/field_behavior.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use fieldBehaviorDescriptor instead') -const FieldBehavior$json = { - '1': 'FieldBehavior', - '2': [ - {'1': 'FIELD_BEHAVIOR_UNSPECIFIED', '2': 0}, - {'1': 'OPTIONAL', '2': 1}, - {'1': 'REQUIRED', '2': 2}, - {'1': 'OUTPUT_ONLY', '2': 3}, - {'1': 'INPUT_ONLY', '2': 4}, - {'1': 'IMMUTABLE', '2': 5}, - {'1': 'UNORDERED_LIST', '2': 6}, - {'1': 'NON_EMPTY_DEFAULT', '2': 7}, - {'1': 'IDENTIFIER', '2': 8}, - ], -}; - -/// Descriptor for `FieldBehavior`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode( - 'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU' - '9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K' - 'CUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBx' - 'IOCgpJREVOVElGSUVSEAg='); - diff --git a/lib/src/gen/google/api/field_info.pb.dart b/lib/src/gen/google/api/field_info.pb.dart deleted file mode 100644 index 56ea9a13bb3..00000000000 --- a/lib/src/gen/google/api/field_info.pb.dart +++ /dev/null @@ -1,155 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/field_info.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import 'field_info.pbenum.dart'; - -export 'field_info.pbenum.dart'; - -/// Rich semantic information of an API field beyond basic typing. -class FieldInfo extends $pb.GeneratedMessage { - factory FieldInfo({ - FieldInfo_Format? format, - $core.Iterable? referencedTypes, - }) { - final $result = create(); - if (format != null) { - $result.format = format; - } - if (referencedTypes != null) { - $result.referencedTypes.addAll(referencedTypes); - } - return $result; - } - FieldInfo._() : super(); - factory FieldInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FieldInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'format', $pb.PbFieldType.OE, defaultOrMaker: FieldInfo_Format.FORMAT_UNSPECIFIED, valueOf: FieldInfo_Format.valueOf, enumValues: FieldInfo_Format.values) - ..pc(2, _omitFieldNames ? '' : 'referencedTypes', $pb.PbFieldType.PM, subBuilder: TypeReference.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FieldInfo clone() => FieldInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FieldInfo copyWith(void Function(FieldInfo) updates) => super.copyWith((message) => updates(message as FieldInfo)) as FieldInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FieldInfo create() => FieldInfo._(); - FieldInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FieldInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FieldInfo? _defaultInstance; - - /// The standard format of a field value. This does not explicitly configure - /// any API consumer, just documents the API's format for the field it is - /// applied to. - @$pb.TagNumber(1) - FieldInfo_Format get format => $_getN(0); - @$pb.TagNumber(1) - set format(FieldInfo_Format v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFormat() => $_has(0); - @$pb.TagNumber(1) - void clearFormat() => clearField(1); - - /// The type(s) that the annotated, generic field may represent. - /// - /// Currently, this must only be used on fields of type `google.protobuf.Any`. - /// Supporting other generic types may be considered in the future. - @$pb.TagNumber(2) - $core.List get referencedTypes => $_getList(1); -} - -/// A reference to a message type, for use in [FieldInfo][google.api.FieldInfo]. -class TypeReference extends $pb.GeneratedMessage { - factory TypeReference({ - $core.String? typeName, - }) { - final $result = create(); - if (typeName != null) { - $result.typeName = typeName; - } - return $result; - } - TypeReference._() : super(); - factory TypeReference.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TypeReference.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TypeReference', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'typeName') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TypeReference clone() => TypeReference()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TypeReference copyWith(void Function(TypeReference) updates) => super.copyWith((message) => updates(message as TypeReference)) as TypeReference; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TypeReference create() => TypeReference._(); - TypeReference createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TypeReference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TypeReference? _defaultInstance; - - /// The name of the type that the annotated, generic field may represent. - /// If the type is in the same protobuf package, the value can be the simple - /// message name e.g., `"MyMessage"`. Otherwise, the value must be the - /// fully-qualified message name e.g., `"google.library.v1.Book"`. - /// - /// If the type(s) are unknown to the service (e.g. the field accepts generic - /// user input), use the wildcard `"*"` to denote this behavior. - /// - /// See [AIP-202](https://google.aip.dev/202#type-references) for more details. - @$pb.TagNumber(1) - $core.String get typeName => $_getSZ(0); - @$pb.TagNumber(1) - set typeName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasTypeName() => $_has(0); - @$pb.TagNumber(1) - void clearTypeName() => clearField(1); -} - -class Field_info { - static final fieldInfo = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldInfo', 291403980, $pb.PbFieldType.OM, defaultOrMaker: FieldInfo.getDefault, subBuilder: FieldInfo.create); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(fieldInfo); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/field_info.pbenum.dart b/lib/src/gen/google/api/field_info.pbenum.dart deleted file mode 100644 index ade665a8459..00000000000 --- a/lib/src/gen/google/api/field_info.pbenum.dart +++ /dev/null @@ -1,40 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/field_info.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// The standard format of a field value. The supported formats are all backed -/// by either an RFC defined by the IETF or a Google-defined AIP. -class FieldInfo_Format extends $pb.ProtobufEnum { - static const FieldInfo_Format FORMAT_UNSPECIFIED = FieldInfo_Format._(0, _omitEnumNames ? '' : 'FORMAT_UNSPECIFIED'); - static const FieldInfo_Format UUID4 = FieldInfo_Format._(1, _omitEnumNames ? '' : 'UUID4'); - static const FieldInfo_Format IPV4 = FieldInfo_Format._(2, _omitEnumNames ? '' : 'IPV4'); - static const FieldInfo_Format IPV6 = FieldInfo_Format._(3, _omitEnumNames ? '' : 'IPV6'); - static const FieldInfo_Format IPV4_OR_IPV6 = FieldInfo_Format._(4, _omitEnumNames ? '' : 'IPV4_OR_IPV6'); - - static const $core.List values = [ - FORMAT_UNSPECIFIED, - UUID4, - IPV4, - IPV6, - IPV4_OR_IPV6, - ]; - - static final $core.Map<$core.int, FieldInfo_Format> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldInfo_Format? valueOf($core.int value) => _byValue[value]; - - const FieldInfo_Format._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/api/field_info.pbjson.dart b/lib/src/gen/google/api/field_info.pbjson.dart deleted file mode 100644 index 17510cd32a8..00000000000 --- a/lib/src/gen/google/api/field_info.pbjson.dart +++ /dev/null @@ -1,56 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/field_info.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use fieldInfoDescriptor instead') -const FieldInfo$json = { - '1': 'FieldInfo', - '2': [ - {'1': 'format', '3': 1, '4': 1, '5': 14, '6': '.google.api.FieldInfo.Format', '10': 'format'}, - {'1': 'referenced_types', '3': 2, '4': 3, '5': 11, '6': '.google.api.TypeReference', '10': 'referencedTypes'}, - ], - '4': [FieldInfo_Format$json], -}; - -@$core.Deprecated('Use fieldInfoDescriptor instead') -const FieldInfo_Format$json = { - '1': 'Format', - '2': [ - {'1': 'FORMAT_UNSPECIFIED', '2': 0}, - {'1': 'UUID4', '2': 1}, - {'1': 'IPV4', '2': 2}, - {'1': 'IPV6', '2': 3}, - {'1': 'IPV4_OR_IPV6', '2': 4}, - ], -}; - -/// Descriptor for `FieldInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fieldInfoDescriptor = $convert.base64Decode( - 'CglGaWVsZEluZm8SNAoGZm9ybWF0GAEgASgOMhwuZ29vZ2xlLmFwaS5GaWVsZEluZm8uRm9ybW' - 'F0UgZmb3JtYXQSRAoQcmVmZXJlbmNlZF90eXBlcxgCIAMoCzIZLmdvb2dsZS5hcGkuVHlwZVJl' - 'ZmVyZW5jZVIPcmVmZXJlbmNlZFR5cGVzIlEKBkZvcm1hdBIWChJGT1JNQVRfVU5TUEVDSUZJRU' - 'QQABIJCgVVVUlENBABEggKBElQVjQQAhIICgRJUFY2EAMSEAoMSVBWNF9PUl9JUFY2EAQ='); - -@$core.Deprecated('Use typeReferenceDescriptor instead') -const TypeReference$json = { - '1': 'TypeReference', - '2': [ - {'1': 'type_name', '3': 1, '4': 1, '5': 9, '10': 'typeName'}, - ], -}; - -/// Descriptor for `TypeReference`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List typeReferenceDescriptor = $convert.base64Decode( - 'Cg1UeXBlUmVmZXJlbmNlEhsKCXR5cGVfbmFtZRgBIAEoCVIIdHlwZU5hbWU='); - diff --git a/lib/src/gen/google/api/http.pb.dart b/lib/src/gen/google/api/http.pb.dart deleted file mode 100644 index b091952c5a6..00000000000 --- a/lib/src/gen/google/api/http.pb.dart +++ /dev/null @@ -1,643 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/http.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Defines the HTTP configuration for an API service. It contains a list of -/// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -/// to one or more HTTP REST API methods. -class Http extends $pb.GeneratedMessage { - factory Http({ - $core.Iterable? rules, - $core.bool? fullyDecodeReservedExpansion, - }) { - final $result = create(); - if (rules != null) { - $result.rules.addAll(rules); - } - if (fullyDecodeReservedExpansion != null) { - $result.fullyDecodeReservedExpansion = fullyDecodeReservedExpansion; - } - return $result; - } - Http._() : super(); - factory Http.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Http.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Http', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: HttpRule.create) - ..aOB(2, _omitFieldNames ? '' : 'fullyDecodeReservedExpansion') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Http clone() => Http()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Http copyWith(void Function(Http) updates) => super.copyWith((message) => updates(message as Http)) as Http; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Http create() => Http._(); - Http createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Http getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Http? _defaultInstance; - - /// A list of HTTP configuration rules that apply to individual API methods. - /// - /// **NOTE:** All service configuration rules follow "last one wins" order. - @$pb.TagNumber(1) - $core.List get rules => $_getList(0); - - /// When set to true, URL path parameters will be fully URI-decoded except in - /// cases of single segment matches in reserved expansion, where "%2F" will be - /// left encoded. - /// - /// The default behavior is to not decode RFC 6570 reserved characters in multi - /// segment matches. - @$pb.TagNumber(2) - $core.bool get fullyDecodeReservedExpansion => $_getBF(1); - @$pb.TagNumber(2) - set fullyDecodeReservedExpansion($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasFullyDecodeReservedExpansion() => $_has(1); - @$pb.TagNumber(2) - void clearFullyDecodeReservedExpansion() => clearField(2); -} - -enum HttpRule_Pattern { - get, - put, - post, - delete, - patch, - custom, - notSet -} - -/// gRPC Transcoding -/// -/// gRPC Transcoding is a feature for mapping between a gRPC method and one or -/// more HTTP REST endpoints. It allows developers to build a single API service -/// that supports both gRPC APIs and REST APIs. Many systems, including [Google -/// APIs](https://github.com/googleapis/googleapis), -/// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -/// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -/// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -/// and use it for large scale production services. -/// -/// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -/// how different portions of the gRPC request message are mapped to the URL -/// path, URL query parameters, and HTTP request body. It also controls how the -/// gRPC response message is mapped to the HTTP response body. `HttpRule` is -/// typically specified as an `google.api.http` annotation on the gRPC method. -/// -/// Each mapping specifies a URL path template and an HTTP method. The path -/// template may refer to one or more fields in the gRPC request message, as long -/// as each field is a non-repeated field with a primitive (non-message) type. -/// The path template controls how fields of the request message are mapped to -/// the URL path. -/// -/// Example: -/// -/// service Messaging { -/// rpc GetMessage(GetMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// get: "/v1/{name=messages/*}" -/// }; -/// } -/// } -/// message GetMessageRequest { -/// string name = 1; // Mapped to URL path. -/// } -/// message Message { -/// string text = 1; // The resource content. -/// } -/// -/// This enables an HTTP REST to gRPC mapping as below: -/// -/// - HTTP: `GET /v1/messages/123456` -/// - gRPC: `GetMessage(name: "messages/123456")` -/// -/// Any fields in the request message which are not bound by the path template -/// automatically become HTTP query parameters if there is no HTTP request body. -/// For example: -/// -/// service Messaging { -/// rpc GetMessage(GetMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// get:"/v1/messages/{message_id}" -/// }; -/// } -/// } -/// message GetMessageRequest { -/// message SubMessage { -/// string subfield = 1; -/// } -/// string message_id = 1; // Mapped to URL path. -/// int64 revision = 2; // Mapped to URL query parameter `revision`. -/// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -/// } -/// -/// This enables a HTTP JSON to RPC mapping as below: -/// -/// - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` -/// - gRPC: `GetMessage(message_id: "123456" revision: 2 sub: -/// SubMessage(subfield: "foo"))` -/// -/// Note that fields which are mapped to URL query parameters must have a -/// primitive type or a repeated primitive type or a non-repeated message type. -/// In the case of a repeated type, the parameter can be repeated in the URL -/// as `...?param=A¶m=B`. In the case of a message type, each field of the -/// message is mapped to a separate parameter, such as -/// `...?foo.a=A&foo.b=B&foo.c=C`. -/// -/// For HTTP methods that allow a request body, the `body` field -/// specifies the mapping. Consider a REST update method on the -/// message resource collection: -/// -/// service Messaging { -/// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// patch: "/v1/messages/{message_id}" -/// body: "message" -/// }; -/// } -/// } -/// message UpdateMessageRequest { -/// string message_id = 1; // mapped to the URL -/// Message message = 2; // mapped to the body -/// } -/// -/// The following HTTP JSON to RPC mapping is enabled, where the -/// representation of the JSON in the request body is determined by -/// protos JSON encoding: -/// -/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` -/// - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })` -/// -/// The special name `*` can be used in the body mapping to define that -/// every field not bound by the path template should be mapped to the -/// request body. This enables the following alternative definition of -/// the update method: -/// -/// service Messaging { -/// rpc UpdateMessage(Message) returns (Message) { -/// option (google.api.http) = { -/// patch: "/v1/messages/{message_id}" -/// body: "*" -/// }; -/// } -/// } -/// message Message { -/// string message_id = 1; -/// string text = 2; -/// } -/// -/// -/// The following HTTP JSON to RPC mapping is enabled: -/// -/// - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` -/// - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")` -/// -/// Note that when using `*` in the body mapping, it is not possible to -/// have HTTP parameters, as all fields not bound by the path end in -/// the body. This makes this option more rarely used in practice when -/// defining REST APIs. The common usage of `*` is in custom methods -/// which don't use the URL at all for transferring data. -/// -/// It is possible to define multiple HTTP methods for one RPC by using -/// the `additional_bindings` option. Example: -/// -/// service Messaging { -/// rpc GetMessage(GetMessageRequest) returns (Message) { -/// option (google.api.http) = { -/// get: "/v1/messages/{message_id}" -/// additional_bindings { -/// get: "/v1/users/{user_id}/messages/{message_id}" -/// } -/// }; -/// } -/// } -/// message GetMessageRequest { -/// string message_id = 1; -/// string user_id = 2; -/// } -/// -/// This enables the following two alternative HTTP JSON to RPC mappings: -/// -/// - HTTP: `GET /v1/messages/123456` -/// - gRPC: `GetMessage(message_id: "123456")` -/// -/// - HTTP: `GET /v1/users/me/messages/123456` -/// - gRPC: `GetMessage(user_id: "me" message_id: "123456")` -/// -/// Rules for HTTP mapping -/// -/// 1. Leaf request fields (recursive expansion nested messages in the request -/// message) are classified into three categories: -/// - Fields referred by the path template. They are passed via the URL path. -/// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They -/// are passed via the HTTP -/// request body. -/// - All other fields are passed via the URL query parameters, and the -/// parameter name is the field path in the request message. A repeated -/// field can be represented as multiple query parameters under the same -/// name. -/// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL -/// query parameter, all fields -/// are passed via URL path and HTTP request body. -/// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP -/// request body, all -/// fields are passed via URL path and URL query parameters. -/// -/// Path template syntax -/// -/// Template = "/" Segments [ Verb ] ; -/// Segments = Segment { "/" Segment } ; -/// Segment = "*" | "**" | LITERAL | Variable ; -/// Variable = "{" FieldPath [ "=" Segments ] "}" ; -/// FieldPath = IDENT { "." IDENT } ; -/// Verb = ":" LITERAL ; -/// -/// The syntax `*` matches a single URL path segment. The syntax `**` matches -/// zero or more URL path segments, which must be the last part of the URL path -/// except the `Verb`. -/// -/// The syntax `Variable` matches part of the URL path as specified by its -/// template. A variable template must not contain other variables. If a variable -/// matches a single path segment, its template may be omitted, e.g. `{var}` -/// is equivalent to `{var=*}`. -/// -/// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -/// contains any reserved character, such characters should be percent-encoded -/// before the matching. -/// -/// If a variable contains exactly one path segment, such as `"{var}"` or -/// `"{var=*}"`, when such a variable is expanded into a URL path on the client -/// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -/// server side does the reverse decoding. Such variables show up in the -/// [Discovery -/// Document](https://developers.google.com/discovery/v1/reference/apis) as -/// `{var}`. -/// -/// If a variable contains multiple path segments, such as `"{var=foo/*}"` -/// or `"{var=**}"`, when such a variable is expanded into a URL path on the -/// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -/// The server side does the reverse decoding, except "%2F" and "%2f" are left -/// unchanged. Such variables show up in the -/// [Discovery -/// Document](https://developers.google.com/discovery/v1/reference/apis) as -/// `{+var}`. -/// -/// Using gRPC API Service Configuration -/// -/// gRPC API Service Configuration (service config) is a configuration language -/// for configuring a gRPC service to become a user-facing product. The -/// service config is simply the YAML representation of the `google.api.Service` -/// proto message. -/// -/// As an alternative to annotating your proto file, you can configure gRPC -/// transcoding in your service config YAML files. You do this by specifying a -/// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -/// effect as the proto annotation. This can be particularly useful if you -/// have a proto that is reused in multiple services. Note that any transcoding -/// specified in the service config will override any matching transcoding -/// configuration in the proto. -/// -/// The following example selects a gRPC method and applies an `HttpRule` to it: -/// -/// http: -/// rules: -/// - selector: example.v1.Messaging.GetMessage -/// get: /v1/messages/{message_id}/{sub.subfield} -/// -/// Special notes -/// -/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -/// proto to JSON conversion must follow the [proto3 -/// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -/// -/// While the single segment variable follows the semantics of -/// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -/// Expansion, the multi segment variable **does not** follow RFC 6570 Section -/// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -/// does not expand special characters like `?` and `#`, which would lead -/// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -/// for multi segment variables. -/// -/// The path variables **must not** refer to any repeated or mapped field, -/// because client libraries are not capable of handling such variable expansion. -/// -/// The path variables **must not** capture the leading "/" character. The reason -/// is that the most common use case "{var}" does not capture the leading "/" -/// character. For consistency, all path variables must share the same behavior. -/// -/// Repeated message fields must not be mapped to URL query parameters, because -/// no client library can support such complicated mapping. -/// -/// If an API needs to use a JSON array for request or response body, it can map -/// the request or response body to a repeated field. However, some gRPC -/// Transcoding implementations may not support this feature. -class HttpRule extends $pb.GeneratedMessage { - factory HttpRule({ - $core.String? selector, - $core.String? get, - $core.String? put, - $core.String? post, - $core.String? delete, - $core.String? patch, - $core.String? body, - CustomHttpPattern? custom, - $core.Iterable? additionalBindings, - $core.String? responseBody, - }) { - final $result = create(); - if (selector != null) { - $result.selector = selector; - } - if (get != null) { - $result.get = get; - } - if (put != null) { - $result.put = put; - } - if (post != null) { - $result.post = post; - } - if (delete != null) { - $result.delete = delete; - } - if (patch != null) { - $result.patch = patch; - } - if (body != null) { - $result.body = body; - } - if (custom != null) { - $result.custom = custom; - } - if (additionalBindings != null) { - $result.additionalBindings.addAll(additionalBindings); - } - if (responseBody != null) { - $result.responseBody = responseBody; - } - return $result; - } - HttpRule._() : super(); - factory HttpRule.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HttpRule.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, HttpRule_Pattern> _HttpRule_PatternByTag = { - 2 : HttpRule_Pattern.get, - 3 : HttpRule_Pattern.put, - 4 : HttpRule_Pattern.post, - 5 : HttpRule_Pattern.delete, - 6 : HttpRule_Pattern.patch, - 8 : HttpRule_Pattern.custom, - 0 : HttpRule_Pattern.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HttpRule', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..oo(0, [2, 3, 4, 5, 6, 8]) - ..aOS(1, _omitFieldNames ? '' : 'selector') - ..aOS(2, _omitFieldNames ? '' : 'get') - ..aOS(3, _omitFieldNames ? '' : 'put') - ..aOS(4, _omitFieldNames ? '' : 'post') - ..aOS(5, _omitFieldNames ? '' : 'delete') - ..aOS(6, _omitFieldNames ? '' : 'patch') - ..aOS(7, _omitFieldNames ? '' : 'body') - ..aOM(8, _omitFieldNames ? '' : 'custom', subBuilder: CustomHttpPattern.create) - ..pc(11, _omitFieldNames ? '' : 'additionalBindings', $pb.PbFieldType.PM, subBuilder: HttpRule.create) - ..aOS(12, _omitFieldNames ? '' : 'responseBody') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - HttpRule clone() => HttpRule()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HttpRule copyWith(void Function(HttpRule) updates) => super.copyWith((message) => updates(message as HttpRule)) as HttpRule; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static HttpRule create() => HttpRule._(); - HttpRule createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static HttpRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static HttpRule? _defaultInstance; - - HttpRule_Pattern whichPattern() => _HttpRule_PatternByTag[$_whichOneof(0)]!; - void clearPattern() => clearField($_whichOneof(0)); - - /// Selects a method to which this rule applies. - /// - /// Refer to [selector][google.api.DocumentationRule.selector] for syntax - /// details. - @$pb.TagNumber(1) - $core.String get selector => $_getSZ(0); - @$pb.TagNumber(1) - set selector($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSelector() => $_has(0); - @$pb.TagNumber(1) - void clearSelector() => clearField(1); - - /// Maps to HTTP GET. Used for listing and getting information about - /// resources. - @$pb.TagNumber(2) - $core.String get get => $_getSZ(1); - @$pb.TagNumber(2) - set get($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasGet() => $_has(1); - @$pb.TagNumber(2) - void clearGet() => clearField(2); - - /// Maps to HTTP PUT. Used for replacing a resource. - @$pb.TagNumber(3) - $core.String get put => $_getSZ(2); - @$pb.TagNumber(3) - set put($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasPut() => $_has(2); - @$pb.TagNumber(3) - void clearPut() => clearField(3); - - /// Maps to HTTP POST. Used for creating a resource or performing an action. - @$pb.TagNumber(4) - $core.String get post => $_getSZ(3); - @$pb.TagNumber(4) - set post($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasPost() => $_has(3); - @$pb.TagNumber(4) - void clearPost() => clearField(4); - - /// Maps to HTTP DELETE. Used for deleting a resource. - @$pb.TagNumber(5) - $core.String get delete => $_getSZ(4); - @$pb.TagNumber(5) - set delete($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasDelete() => $_has(4); - @$pb.TagNumber(5) - void clearDelete() => clearField(5); - - /// Maps to HTTP PATCH. Used for updating a resource. - @$pb.TagNumber(6) - $core.String get patch => $_getSZ(5); - @$pb.TagNumber(6) - set patch($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasPatch() => $_has(5); - @$pb.TagNumber(6) - void clearPatch() => clearField(6); - - /// The name of the request field whose value is mapped to the HTTP request - /// body, or `*` for mapping all request fields not captured by the path - /// pattern to the HTTP body, or omitted for not having any HTTP request body. - /// - /// NOTE: the referred field must be present at the top-level of the request - /// message type. - @$pb.TagNumber(7) - $core.String get body => $_getSZ(6); - @$pb.TagNumber(7) - set body($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasBody() => $_has(6); - @$pb.TagNumber(7) - void clearBody() => clearField(7); - - /// The custom pattern is used for specifying an HTTP method that is not - /// included in the `pattern` field, such as HEAD, or "*" to leave the - /// HTTP method unspecified for this rule. The wild-card rule is useful - /// for services that provide content to Web (HTML) clients. - @$pb.TagNumber(8) - CustomHttpPattern get custom => $_getN(7); - @$pb.TagNumber(8) - set custom(CustomHttpPattern v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasCustom() => $_has(7); - @$pb.TagNumber(8) - void clearCustom() => clearField(8); - @$pb.TagNumber(8) - CustomHttpPattern ensureCustom() => $_ensure(7); - - /// Additional HTTP bindings for the selector. Nested bindings must - /// not contain an `additional_bindings` field themselves (that is, - /// the nesting may only be one level deep). - @$pb.TagNumber(11) - $core.List get additionalBindings => $_getList(8); - - /// Optional. The name of the response field whose value is mapped to the HTTP - /// response body. When omitted, the entire response message will be used - /// as the HTTP response body. - /// - /// NOTE: The referred field must be present at the top-level of the response - /// message type. - @$pb.TagNumber(12) - $core.String get responseBody => $_getSZ(9); - @$pb.TagNumber(12) - set responseBody($core.String v) { $_setString(9, v); } - @$pb.TagNumber(12) - $core.bool hasResponseBody() => $_has(9); - @$pb.TagNumber(12) - void clearResponseBody() => clearField(12); -} - -/// A custom pattern is used for defining custom HTTP verb. -class CustomHttpPattern extends $pb.GeneratedMessage { - factory CustomHttpPattern({ - $core.String? kind, - $core.String? path, - }) { - final $result = create(); - if (kind != null) { - $result.kind = kind; - } - if (path != null) { - $result.path = path; - } - return $result; - } - CustomHttpPattern._() : super(); - factory CustomHttpPattern.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CustomHttpPattern.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CustomHttpPattern', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'kind') - ..aOS(2, _omitFieldNames ? '' : 'path') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CustomHttpPattern clone() => CustomHttpPattern()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CustomHttpPattern copyWith(void Function(CustomHttpPattern) updates) => super.copyWith((message) => updates(message as CustomHttpPattern)) as CustomHttpPattern; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CustomHttpPattern create() => CustomHttpPattern._(); - CustomHttpPattern createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CustomHttpPattern getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CustomHttpPattern? _defaultInstance; - - /// The name of this custom HTTP verb. - @$pb.TagNumber(1) - $core.String get kind => $_getSZ(0); - @$pb.TagNumber(1) - set kind($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasKind() => $_has(0); - @$pb.TagNumber(1) - void clearKind() => clearField(1); - - /// The path matched by this custom verb. - @$pb.TagNumber(2) - $core.String get path => $_getSZ(1); - @$pb.TagNumber(2) - set path($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPath() => $_has(1); - @$pb.TagNumber(2) - void clearPath() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/http.pbenum.dart b/lib/src/gen/google/api/http.pbenum.dart deleted file mode 100644 index 85231f7347e..00000000000 --- a/lib/src/gen/google/api/http.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/http.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/http.pbjson.dart b/lib/src/gen/google/api/http.pbjson.dart deleted file mode 100644 index e802c053cba..00000000000 --- a/lib/src/gen/google/api/http.pbjson.dart +++ /dev/null @@ -1,74 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/http.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use httpDescriptor instead') -const Http$json = { - '1': 'Http', - '2': [ - {'1': 'rules', '3': 1, '4': 3, '5': 11, '6': '.google.api.HttpRule', '10': 'rules'}, - {'1': 'fully_decode_reserved_expansion', '3': 2, '4': 1, '5': 8, '10': 'fullyDecodeReservedExpansion'}, - ], -}; - -/// Descriptor for `Http`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List httpDescriptor = $convert.base64Decode( - 'CgRIdHRwEioKBXJ1bGVzGAEgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZVIFcnVsZXMSRQofZn' - 'VsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCFIcZnVsbHlEZWNvZGVSZXNlcnZl' - 'ZEV4cGFuc2lvbg=='); - -@$core.Deprecated('Use httpRuleDescriptor instead') -const HttpRule$json = { - '1': 'HttpRule', - '2': [ - {'1': 'selector', '3': 1, '4': 1, '5': 9, '10': 'selector'}, - {'1': 'get', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'get'}, - {'1': 'put', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'put'}, - {'1': 'post', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'post'}, - {'1': 'delete', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'delete'}, - {'1': 'patch', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'patch'}, - {'1': 'custom', '3': 8, '4': 1, '5': 11, '6': '.google.api.CustomHttpPattern', '9': 0, '10': 'custom'}, - {'1': 'body', '3': 7, '4': 1, '5': 9, '10': 'body'}, - {'1': 'response_body', '3': 12, '4': 1, '5': 9, '10': 'responseBody'}, - {'1': 'additional_bindings', '3': 11, '4': 3, '5': 11, '6': '.google.api.HttpRule', '10': 'additionalBindings'}, - ], - '8': [ - {'1': 'pattern'}, - ], -}; - -/// Descriptor for `HttpRule`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List httpRuleDescriptor = $convert.base64Decode( - 'CghIdHRwUnVsZRIaCghzZWxlY3RvchgBIAEoCVIIc2VsZWN0b3ISEgoDZ2V0GAIgASgJSABSA2' - 'dldBISCgNwdXQYAyABKAlIAFIDcHV0EhQKBHBvc3QYBCABKAlIAFIEcG9zdBIYCgZkZWxldGUY' - 'BSABKAlIAFIGZGVsZXRlEhYKBXBhdGNoGAYgASgJSABSBXBhdGNoEjcKBmN1c3RvbRgIIAEoCz' - 'IdLmdvb2dsZS5hcGkuQ3VzdG9tSHR0cFBhdHRlcm5IAFIGY3VzdG9tEhIKBGJvZHkYByABKAlS' - 'BGJvZHkSIwoNcmVzcG9uc2VfYm9keRgMIAEoCVIMcmVzcG9uc2VCb2R5EkUKE2FkZGl0aW9uYW' - 'xfYmluZGluZ3MYCyADKAsyFC5nb29nbGUuYXBpLkh0dHBSdWxlUhJhZGRpdGlvbmFsQmluZGlu' - 'Z3NCCQoHcGF0dGVybg=='); - -@$core.Deprecated('Use customHttpPatternDescriptor instead') -const CustomHttpPattern$json = { - '1': 'CustomHttpPattern', - '2': [ - {'1': 'kind', '3': 1, '4': 1, '5': 9, '10': 'kind'}, - {'1': 'path', '3': 2, '4': 1, '5': 9, '10': 'path'}, - ], -}; - -/// Descriptor for `CustomHttpPattern`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List customHttpPatternDescriptor = $convert.base64Decode( - 'ChFDdXN0b21IdHRwUGF0dGVybhISCgRraW5kGAEgASgJUgRraW5kEhIKBHBhdGgYAiABKAlSBH' - 'BhdGg='); - diff --git a/lib/src/gen/google/api/httpbody.pb.dart b/lib/src/gen/google/api/httpbody.pb.dart deleted file mode 100644 index 80571aac7c0..00000000000 --- a/lib/src/gen/google/api/httpbody.pb.dart +++ /dev/null @@ -1,139 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/httpbody.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/any.pb.dart' as $9; - -/// Message that represents an arbitrary HTTP body. It should only be used for -/// payload formats that can't be represented as JSON, such as raw binary or -/// an HTML page. -/// -/// -/// This message can be used both in streaming and non-streaming API methods in -/// the request as well as the response. -/// -/// It can be used as a top-level request field, which is convenient if one -/// wants to extract parameters from either the URL or HTTP template into the -/// request fields and also want access to the raw HTTP body. -/// -/// Example: -/// -/// message GetResourceRequest { -/// // A unique request id. -/// string request_id = 1; -/// -/// // The raw HTTP body is bound to this field. -/// google.api.HttpBody http_body = 2; -/// -/// } -/// -/// service ResourceService { -/// rpc GetResource(GetResourceRequest) -/// returns (google.api.HttpBody); -/// rpc UpdateResource(google.api.HttpBody) -/// returns (google.protobuf.Empty); -/// -/// } -/// -/// Example with streaming methods: -/// -/// service CaldavService { -/// rpc GetCalendar(stream google.api.HttpBody) -/// returns (stream google.api.HttpBody); -/// rpc UpdateCalendar(stream google.api.HttpBody) -/// returns (stream google.api.HttpBody); -/// -/// } -/// -/// Use of this type only changes how the request and response bodies are -/// handled, all other features will continue to work unchanged. -class HttpBody extends $pb.GeneratedMessage { - factory HttpBody({ - $core.String? contentType, - $core.List<$core.int>? data, - $core.Iterable<$9.Any>? extensions, - }) { - final $result = create(); - if (contentType != null) { - $result.contentType = contentType; - } - if (data != null) { - $result.data = data; - } - if (extensions != null) { - $result.extensions.addAll(extensions); - } - return $result; - } - HttpBody._() : super(); - factory HttpBody.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HttpBody.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HttpBody', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'contentType') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..pc<$9.Any>(3, _omitFieldNames ? '' : 'extensions', $pb.PbFieldType.PM, subBuilder: $9.Any.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - HttpBody clone() => HttpBody()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HttpBody copyWith(void Function(HttpBody) updates) => super.copyWith((message) => updates(message as HttpBody)) as HttpBody; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static HttpBody create() => HttpBody._(); - HttpBody createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static HttpBody getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static HttpBody? _defaultInstance; - - /// The HTTP Content-Type header value specifying the content type of the body. - @$pb.TagNumber(1) - $core.String get contentType => $_getSZ(0); - @$pb.TagNumber(1) - set contentType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasContentType() => $_has(0); - @$pb.TagNumber(1) - void clearContentType() => clearField(1); - - /// The HTTP request/response body as raw binary. - @$pb.TagNumber(2) - $core.List<$core.int> get data => $_getN(1); - @$pb.TagNumber(2) - set data($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); - - /// Application specific response metadata. Must be set in the first response - /// for streaming APIs. - @$pb.TagNumber(3) - $core.List<$9.Any> get extensions => $_getList(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/httpbody.pbenum.dart b/lib/src/gen/google/api/httpbody.pbenum.dart deleted file mode 100644 index addee6f9b93..00000000000 --- a/lib/src/gen/google/api/httpbody.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/httpbody.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/httpbody.pbjson.dart b/lib/src/gen/google/api/httpbody.pbjson.dart deleted file mode 100644 index 1ab11989938..00000000000 --- a/lib/src/gen/google/api/httpbody.pbjson.dart +++ /dev/null @@ -1,31 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/httpbody.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use httpBodyDescriptor instead') -const HttpBody$json = { - '1': 'HttpBody', - '2': [ - {'1': 'content_type', '3': 1, '4': 1, '5': 9, '10': 'contentType'}, - {'1': 'data', '3': 2, '4': 1, '5': 12, '10': 'data'}, - {'1': 'extensions', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Any', '10': 'extensions'}, - ], -}; - -/// Descriptor for `HttpBody`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List httpBodyDescriptor = $convert.base64Decode( - 'CghIdHRwQm9keRIhCgxjb250ZW50X3R5cGUYASABKAlSC2NvbnRlbnRUeXBlEhIKBGRhdGEYAi' - 'ABKAxSBGRhdGESNAoKZXh0ZW5zaW9ucxgDIAMoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlSCmV4' - 'dGVuc2lvbnM='); - diff --git a/lib/src/gen/google/api/launch_stage.pb.dart b/lib/src/gen/google/api/launch_stage.pb.dart deleted file mode 100644 index 947c3e25224..00000000000 --- a/lib/src/gen/google/api/launch_stage.pb.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/launch_stage.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -export 'launch_stage.pbenum.dart'; - diff --git a/lib/src/gen/google/api/launch_stage.pbenum.dart b/lib/src/gen/google/api/launch_stage.pbenum.dart deleted file mode 100644 index ef5d7dd1343..00000000000 --- a/lib/src/gen/google/api/launch_stage.pbenum.dart +++ /dev/null @@ -1,46 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/launch_stage.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// The launch stage as defined by [Google Cloud Platform -/// Launch Stages](https://cloud.google.com/terms/launch-stages). -class LaunchStage extends $pb.ProtobufEnum { - static const LaunchStage LAUNCH_STAGE_UNSPECIFIED = LaunchStage._(0, _omitEnumNames ? '' : 'LAUNCH_STAGE_UNSPECIFIED'); - static const LaunchStage UNIMPLEMENTED = LaunchStage._(6, _omitEnumNames ? '' : 'UNIMPLEMENTED'); - static const LaunchStage PRELAUNCH = LaunchStage._(7, _omitEnumNames ? '' : 'PRELAUNCH'); - static const LaunchStage EARLY_ACCESS = LaunchStage._(1, _omitEnumNames ? '' : 'EARLY_ACCESS'); - static const LaunchStage ALPHA = LaunchStage._(2, _omitEnumNames ? '' : 'ALPHA'); - static const LaunchStage BETA = LaunchStage._(3, _omitEnumNames ? '' : 'BETA'); - static const LaunchStage GA = LaunchStage._(4, _omitEnumNames ? '' : 'GA'); - static const LaunchStage DEPRECATED = LaunchStage._(5, _omitEnumNames ? '' : 'DEPRECATED'); - - static const $core.List values = [ - LAUNCH_STAGE_UNSPECIFIED, - UNIMPLEMENTED, - PRELAUNCH, - EARLY_ACCESS, - ALPHA, - BETA, - GA, - DEPRECATED, - ]; - - static final $core.Map<$core.int, LaunchStage> _byValue = $pb.ProtobufEnum.initByValue(values); - static LaunchStage? valueOf($core.int value) => _byValue[value]; - - const LaunchStage._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/api/launch_stage.pbjson.dart b/lib/src/gen/google/api/launch_stage.pbjson.dart deleted file mode 100644 index c8783961593..00000000000 --- a/lib/src/gen/google/api/launch_stage.pbjson.dart +++ /dev/null @@ -1,36 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/launch_stage.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use launchStageDescriptor instead') -const LaunchStage$json = { - '1': 'LaunchStage', - '2': [ - {'1': 'LAUNCH_STAGE_UNSPECIFIED', '2': 0}, - {'1': 'UNIMPLEMENTED', '2': 6}, - {'1': 'PRELAUNCH', '2': 7}, - {'1': 'EARLY_ACCESS', '2': 1}, - {'1': 'ALPHA', '2': 2}, - {'1': 'BETA', '2': 3}, - {'1': 'GA', '2': 4}, - {'1': 'DEPRECATED', '2': 5}, - ], -}; - -/// Descriptor for `LaunchStage`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List launchStageDescriptor = $convert.base64Decode( - 'CgtMYXVuY2hTdGFnZRIcChhMQVVOQ0hfU1RBR0VfVU5TUEVDSUZJRUQQABIRCg1VTklNUExFTU' - 'VOVEVEEAYSDQoJUFJFTEFVTkNIEAcSEAoMRUFSTFlfQUNDRVNTEAESCQoFQUxQSEEQAhIICgRC' - 'RVRBEAMSBgoCR0EQBBIOCgpERVBSRUNBVEVEEAU='); - diff --git a/lib/src/gen/google/api/resource.pb.dart b/lib/src/gen/google/api/resource.pb.dart deleted file mode 100644 index 8c44672657f..00000000000 --- a/lib/src/gen/google/api/resource.pb.dart +++ /dev/null @@ -1,364 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/resource.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import 'resource.pbenum.dart'; - -export 'resource.pbenum.dart'; - -/// A simple descriptor of a resource type. -/// -/// ResourceDescriptor annotates a resource message (either by means of a -/// protobuf annotation or use in the service config), and associates the -/// resource's schema, the resource type, and the pattern of the resource name. -/// -/// Example: -/// -/// message Topic { -/// // Indicates this message defines a resource schema. -/// // Declares the resource type in the format of {service}/{kind}. -/// // For Kubernetes resources, the format is {api group}/{kind}. -/// option (google.api.resource) = { -/// type: "pubsub.googleapis.com/Topic" -/// pattern: "projects/{project}/topics/{topic}" -/// }; -/// } -/// -/// The ResourceDescriptor Yaml config will look like: -/// -/// resources: -/// - type: "pubsub.googleapis.com/Topic" -/// pattern: "projects/{project}/topics/{topic}" -/// -/// Sometimes, resources have multiple patterns, typically because they can -/// live under multiple parents. -/// -/// Example: -/// -/// message LogEntry { -/// option (google.api.resource) = { -/// type: "logging.googleapis.com/LogEntry" -/// pattern: "projects/{project}/logs/{log}" -/// pattern: "folders/{folder}/logs/{log}" -/// pattern: "organizations/{organization}/logs/{log}" -/// pattern: "billingAccounts/{billing_account}/logs/{log}" -/// }; -/// } -/// -/// The ResourceDescriptor Yaml config will look like: -/// -/// resources: -/// - type: 'logging.googleapis.com/LogEntry' -/// pattern: "projects/{project}/logs/{log}" -/// pattern: "folders/{folder}/logs/{log}" -/// pattern: "organizations/{organization}/logs/{log}" -/// pattern: "billingAccounts/{billing_account}/logs/{log}" -class ResourceDescriptor extends $pb.GeneratedMessage { - factory ResourceDescriptor({ - $core.String? type, - $core.Iterable<$core.String>? pattern, - $core.String? nameField, - ResourceDescriptor_History? history, - $core.String? plural, - $core.String? singular, - $core.Iterable? style, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (pattern != null) { - $result.pattern.addAll(pattern); - } - if (nameField != null) { - $result.nameField = nameField; - } - if (history != null) { - $result.history = history; - } - if (plural != null) { - $result.plural = plural; - } - if (singular != null) { - $result.singular = singular; - } - if (style != null) { - $result.style.addAll(style); - } - return $result; - } - ResourceDescriptor._() : super(); - factory ResourceDescriptor.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceDescriptor.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceDescriptor', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..pPS(2, _omitFieldNames ? '' : 'pattern') - ..aOS(3, _omitFieldNames ? '' : 'nameField') - ..e(4, _omitFieldNames ? '' : 'history', $pb.PbFieldType.OE, defaultOrMaker: ResourceDescriptor_History.HISTORY_UNSPECIFIED, valueOf: ResourceDescriptor_History.valueOf, enumValues: ResourceDescriptor_History.values) - ..aOS(5, _omitFieldNames ? '' : 'plural') - ..aOS(6, _omitFieldNames ? '' : 'singular') - ..pc(10, _omitFieldNames ? '' : 'style', $pb.PbFieldType.KE, valueOf: ResourceDescriptor_Style.valueOf, enumValues: ResourceDescriptor_Style.values, defaultEnumValue: ResourceDescriptor_Style.STYLE_UNSPECIFIED) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceDescriptor clone() => ResourceDescriptor()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceDescriptor copyWith(void Function(ResourceDescriptor) updates) => super.copyWith((message) => updates(message as ResourceDescriptor)) as ResourceDescriptor; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceDescriptor create() => ResourceDescriptor._(); - ResourceDescriptor createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceDescriptor getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceDescriptor? _defaultInstance; - - /// The resource type. It must be in the format of - /// {service_name}/{resource_type_kind}. The `resource_type_kind` must be - /// singular and must not include version numbers. - /// - /// Example: `storage.googleapis.com/Bucket` - /// - /// The value of the resource_type_kind must follow the regular expression - /// /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and - /// should use PascalCase (UpperCamelCase). The maximum number of - /// characters allowed for the `resource_type_kind` is 100. - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// Optional. The relative resource name pattern associated with this resource - /// type. The DNS prefix of the full resource name shouldn't be specified here. - /// - /// The path pattern must follow the syntax, which aligns with HTTP binding - /// syntax: - /// - /// Template = Segment { "/" Segment } ; - /// Segment = LITERAL | Variable ; - /// Variable = "{" LITERAL "}" ; - /// - /// Examples: - /// - /// - "projects/{project}/topics/{topic}" - /// - "projects/{project}/knowledgeBases/{knowledge_base}" - /// - /// The components in braces correspond to the IDs for each resource in the - /// hierarchy. It is expected that, if multiple patterns are provided, - /// the same component name (e.g. "project") refers to IDs of the same - /// type of resource. - @$pb.TagNumber(2) - $core.List<$core.String> get pattern => $_getList(1); - - /// Optional. The field on the resource that designates the resource name - /// field. If omitted, this is assumed to be "name". - @$pb.TagNumber(3) - $core.String get nameField => $_getSZ(2); - @$pb.TagNumber(3) - set nameField($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasNameField() => $_has(2); - @$pb.TagNumber(3) - void clearNameField() => clearField(3); - - /// Optional. The historical or future-looking state of the resource pattern. - /// - /// Example: - /// - /// // The InspectTemplate message originally only supported resource - /// // names with organization, and project was added later. - /// message InspectTemplate { - /// option (google.api.resource) = { - /// type: "dlp.googleapis.com/InspectTemplate" - /// pattern: - /// "organizations/{organization}/inspectTemplates/{inspect_template}" - /// pattern: "projects/{project}/inspectTemplates/{inspect_template}" - /// history: ORIGINALLY_SINGLE_PATTERN - /// }; - /// } - @$pb.TagNumber(4) - ResourceDescriptor_History get history => $_getN(3); - @$pb.TagNumber(4) - set history(ResourceDescriptor_History v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasHistory() => $_has(3); - @$pb.TagNumber(4) - void clearHistory() => clearField(4); - - /// The plural name used in the resource name and permission names, such as - /// 'projects' for the resource name of 'projects/{project}' and the permission - /// name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception - /// to this is for Nested Collections that have stuttering names, as defined - /// in [AIP-122](https://google.aip.dev/122#nested-collections), where the - /// collection ID in the resource name pattern does not necessarily directly - /// match the `plural` value. - /// - /// It is the same concept of the `plural` field in k8s CRD spec - /// https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - /// - /// Note: The plural form is required even for singleton resources. See - /// https://aip.dev/156 - @$pb.TagNumber(5) - $core.String get plural => $_getSZ(4); - @$pb.TagNumber(5) - set plural($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasPlural() => $_has(4); - @$pb.TagNumber(5) - void clearPlural() => clearField(5); - - /// The same concept of the `singular` field in k8s CRD spec - /// https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - /// Such as "project" for the `resourcemanager.googleapis.com/Project` type. - @$pb.TagNumber(6) - $core.String get singular => $_getSZ(5); - @$pb.TagNumber(6) - set singular($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasSingular() => $_has(5); - @$pb.TagNumber(6) - void clearSingular() => clearField(6); - - /// Style flag(s) for this resource. - /// These indicate that a resource is expected to conform to a given - /// style. See the specific style flags for additional information. - @$pb.TagNumber(10) - $core.List get style => $_getList(6); -} - -/// Defines a proto annotation that describes a string field that refers to -/// an API resource. -class ResourceReference extends $pb.GeneratedMessage { - factory ResourceReference({ - $core.String? type, - $core.String? childType, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (childType != null) { - $result.childType = childType; - } - return $result; - } - ResourceReference._() : super(); - factory ResourceReference.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceReference.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceReference', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..aOS(2, _omitFieldNames ? '' : 'childType') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceReference clone() => ResourceReference()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceReference copyWith(void Function(ResourceReference) updates) => super.copyWith((message) => updates(message as ResourceReference)) as ResourceReference; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceReference create() => ResourceReference._(); - ResourceReference createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceReference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceReference? _defaultInstance; - - /// The resource type that the annotated field references. - /// - /// Example: - /// - /// message Subscription { - /// string topic = 2 [(google.api.resource_reference) = { - /// type: "pubsub.googleapis.com/Topic" - /// }]; - /// } - /// - /// Occasionally, a field may reference an arbitrary resource. In this case, - /// APIs use the special value * in their resource reference. - /// - /// Example: - /// - /// message GetIamPolicyRequest { - /// string resource = 2 [(google.api.resource_reference) = { - /// type: "*" - /// }]; - /// } - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// The resource type of a child collection that the annotated field - /// references. This is useful for annotating the `parent` field that - /// doesn't have a fixed resource type. - /// - /// Example: - /// - /// message ListLogEntriesRequest { - /// string parent = 1 [(google.api.resource_reference) = { - /// child_type: "logging.googleapis.com/LogEntry" - /// }; - /// } - @$pb.TagNumber(2) - $core.String get childType => $_getSZ(1); - @$pb.TagNumber(2) - set childType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasChildType() => $_has(1); - @$pb.TagNumber(2) - void clearChildType() => clearField(2); -} - -class Resource { - static final resourceReference = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'resourceReference', 1055, $pb.PbFieldType.OM, defaultOrMaker: ResourceReference.getDefault, subBuilder: ResourceReference.create); - static final resourceDefinition = $pb.Extension.repeated(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'resourceDefinition', 1053, $pb.PbFieldType.PM, check: $pb.getCheckFunction($pb.PbFieldType.PM), subBuilder: ResourceDescriptor.create); - static final resource = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'resource', 1053, $pb.PbFieldType.OM, defaultOrMaker: ResourceDescriptor.getDefault, subBuilder: ResourceDescriptor.create); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(resourceReference); - registry.add(resourceDefinition); - registry.add(resource); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/resource.pbenum.dart b/lib/src/gen/google/api/resource.pbenum.dart deleted file mode 100644 index 1fda8419f0a..00000000000 --- a/lib/src/gen/google/api/resource.pbenum.dart +++ /dev/null @@ -1,52 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/resource.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// A description of the historical or future-looking state of the -/// resource pattern. -class ResourceDescriptor_History extends $pb.ProtobufEnum { - static const ResourceDescriptor_History HISTORY_UNSPECIFIED = ResourceDescriptor_History._(0, _omitEnumNames ? '' : 'HISTORY_UNSPECIFIED'); - static const ResourceDescriptor_History ORIGINALLY_SINGLE_PATTERN = ResourceDescriptor_History._(1, _omitEnumNames ? '' : 'ORIGINALLY_SINGLE_PATTERN'); - static const ResourceDescriptor_History FUTURE_MULTI_PATTERN = ResourceDescriptor_History._(2, _omitEnumNames ? '' : 'FUTURE_MULTI_PATTERN'); - - static const $core.List values = [ - HISTORY_UNSPECIFIED, - ORIGINALLY_SINGLE_PATTERN, - FUTURE_MULTI_PATTERN, - ]; - - static final $core.Map<$core.int, ResourceDescriptor_History> _byValue = $pb.ProtobufEnum.initByValue(values); - static ResourceDescriptor_History? valueOf($core.int value) => _byValue[value]; - - const ResourceDescriptor_History._($core.int v, $core.String n) : super(v, n); -} - -/// A flag representing a specific style that a resource claims to conform to. -class ResourceDescriptor_Style extends $pb.ProtobufEnum { - static const ResourceDescriptor_Style STYLE_UNSPECIFIED = ResourceDescriptor_Style._(0, _omitEnumNames ? '' : 'STYLE_UNSPECIFIED'); - static const ResourceDescriptor_Style DECLARATIVE_FRIENDLY = ResourceDescriptor_Style._(1, _omitEnumNames ? '' : 'DECLARATIVE_FRIENDLY'); - - static const $core.List values = [ - STYLE_UNSPECIFIED, - DECLARATIVE_FRIENDLY, - ]; - - static final $core.Map<$core.int, ResourceDescriptor_Style> _byValue = $pb.ProtobufEnum.initByValue(values); - static ResourceDescriptor_Style? valueOf($core.int value) => _byValue[value]; - - const ResourceDescriptor_Style._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/api/resource.pbjson.dart b/lib/src/gen/google/api/resource.pbjson.dart deleted file mode 100644 index dccb27df3da..00000000000 --- a/lib/src/gen/google/api/resource.pbjson.dart +++ /dev/null @@ -1,74 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/resource.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use resourceDescriptorDescriptor instead') -const ResourceDescriptor$json = { - '1': 'ResourceDescriptor', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'pattern', '3': 2, '4': 3, '5': 9, '10': 'pattern'}, - {'1': 'name_field', '3': 3, '4': 1, '5': 9, '10': 'nameField'}, - {'1': 'history', '3': 4, '4': 1, '5': 14, '6': '.google.api.ResourceDescriptor.History', '10': 'history'}, - {'1': 'plural', '3': 5, '4': 1, '5': 9, '10': 'plural'}, - {'1': 'singular', '3': 6, '4': 1, '5': 9, '10': 'singular'}, - {'1': 'style', '3': 10, '4': 3, '5': 14, '6': '.google.api.ResourceDescriptor.Style', '10': 'style'}, - ], - '4': [ResourceDescriptor_History$json, ResourceDescriptor_Style$json], -}; - -@$core.Deprecated('Use resourceDescriptorDescriptor instead') -const ResourceDescriptor_History$json = { - '1': 'History', - '2': [ - {'1': 'HISTORY_UNSPECIFIED', '2': 0}, - {'1': 'ORIGINALLY_SINGLE_PATTERN', '2': 1}, - {'1': 'FUTURE_MULTI_PATTERN', '2': 2}, - ], -}; - -@$core.Deprecated('Use resourceDescriptorDescriptor instead') -const ResourceDescriptor_Style$json = { - '1': 'Style', - '2': [ - {'1': 'STYLE_UNSPECIFIED', '2': 0}, - {'1': 'DECLARATIVE_FRIENDLY', '2': 1}, - ], -}; - -/// Descriptor for `ResourceDescriptor`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceDescriptorDescriptor = $convert.base64Decode( - 'ChJSZXNvdXJjZURlc2NyaXB0b3ISEgoEdHlwZRgBIAEoCVIEdHlwZRIYCgdwYXR0ZXJuGAIgAy' - 'gJUgdwYXR0ZXJuEh0KCm5hbWVfZmllbGQYAyABKAlSCW5hbWVGaWVsZBJACgdoaXN0b3J5GAQg' - 'ASgOMiYuZ29vZ2xlLmFwaS5SZXNvdXJjZURlc2NyaXB0b3IuSGlzdG9yeVIHaGlzdG9yeRIWCg' - 'ZwbHVyYWwYBSABKAlSBnBsdXJhbBIaCghzaW5ndWxhchgGIAEoCVIIc2luZ3VsYXISOgoFc3R5' - 'bGUYCiADKA4yJC5nb29nbGUuYXBpLlJlc291cmNlRGVzY3JpcHRvci5TdHlsZVIFc3R5bGUiWw' - 'oHSGlzdG9yeRIXChNISVNUT1JZX1VOU1BFQ0lGSUVEEAASHQoZT1JJR0lOQUxMWV9TSU5HTEVf' - 'UEFUVEVSThABEhgKFEZVVFVSRV9NVUxUSV9QQVRURVJOEAIiOAoFU3R5bGUSFQoRU1RZTEVfVU' - '5TUEVDSUZJRUQQABIYChRERUNMQVJBVElWRV9GUklFTkRMWRAB'); - -@$core.Deprecated('Use resourceReferenceDescriptor instead') -const ResourceReference$json = { - '1': 'ResourceReference', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'child_type', '3': 2, '4': 1, '5': 9, '10': 'childType'}, - ], -}; - -/// Descriptor for `ResourceReference`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceReferenceDescriptor = $convert.base64Decode( - 'ChFSZXNvdXJjZVJlZmVyZW5jZRISCgR0eXBlGAEgASgJUgR0eXBlEh0KCmNoaWxkX3R5cGUYAi' - 'ABKAlSCWNoaWxkVHlwZQ=='); - diff --git a/lib/src/gen/google/api/visibility.pb.dart b/lib/src/gen/google/api/visibility.pb.dart deleted file mode 100644 index 1870b967cba..00000000000 --- a/lib/src/gen/google/api/visibility.pb.dart +++ /dev/null @@ -1,190 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/visibility.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// `Visibility` restricts service consumer's access to service elements, -/// such as whether an application can call a visibility-restricted method. -/// The restriction is expressed by applying visibility labels on service -/// elements. The visibility labels are elsewhere linked to service consumers. -/// -/// A service can define multiple visibility labels, but a service consumer -/// should be granted at most one visibility label. Multiple visibility -/// labels for a single service consumer are not supported. -/// -/// If an element and all its parents have no visibility label, its visibility -/// is unconditionally granted. -/// -/// Example: -/// -/// visibility: -/// rules: -/// - selector: google.calendar.Calendar.EnhancedSearch -/// restriction: PREVIEW -/// - selector: google.calendar.Calendar.Delegate -/// restriction: INTERNAL -/// -/// Here, all methods are publicly visible except for the restricted methods -/// EnhancedSearch and Delegate. -class Visibility extends $pb.GeneratedMessage { - factory Visibility({ - $core.Iterable? rules, - }) { - final $result = create(); - if (rules != null) { - $result.rules.addAll(rules); - } - return $result; - } - Visibility._() : super(); - factory Visibility.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Visibility.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Visibility', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'rules', $pb.PbFieldType.PM, subBuilder: VisibilityRule.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Visibility clone() => Visibility()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Visibility copyWith(void Function(Visibility) updates) => super.copyWith((message) => updates(message as Visibility)) as Visibility; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Visibility create() => Visibility._(); - Visibility createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Visibility getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Visibility? _defaultInstance; - - /// A list of visibility rules that apply to individual API elements. - /// - /// **NOTE:** All service configuration rules follow "last one wins" order. - @$pb.TagNumber(1) - $core.List get rules => $_getList(0); -} - -/// A visibility rule provides visibility configuration for an individual API -/// element. -class VisibilityRule extends $pb.GeneratedMessage { - factory VisibilityRule({ - $core.String? selector, - $core.String? restriction, - }) { - final $result = create(); - if (selector != null) { - $result.selector = selector; - } - if (restriction != null) { - $result.restriction = restriction; - } - return $result; - } - VisibilityRule._() : super(); - factory VisibilityRule.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory VisibilityRule.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'VisibilityRule', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.api'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'selector') - ..aOS(2, _omitFieldNames ? '' : 'restriction') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - VisibilityRule clone() => VisibilityRule()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - VisibilityRule copyWith(void Function(VisibilityRule) updates) => super.copyWith((message) => updates(message as VisibilityRule)) as VisibilityRule; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static VisibilityRule create() => VisibilityRule._(); - VisibilityRule createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static VisibilityRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static VisibilityRule? _defaultInstance; - - /// Selects methods, messages, fields, enums, etc. to which this rule applies. - /// - /// Refer to [selector][google.api.DocumentationRule.selector] for syntax - /// details. - @$pb.TagNumber(1) - $core.String get selector => $_getSZ(0); - @$pb.TagNumber(1) - set selector($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSelector() => $_has(0); - @$pb.TagNumber(1) - void clearSelector() => clearField(1); - - /// A comma-separated list of visibility labels that apply to the `selector`. - /// Any of the listed labels can be used to grant the visibility. - /// - /// If a rule has multiple labels, removing one of the labels but not all of - /// them can break clients. - /// - /// Example: - /// - /// visibility: - /// rules: - /// - selector: google.calendar.Calendar.EnhancedSearch - /// restriction: INTERNAL, PREVIEW - /// - /// Removing INTERNAL from this restriction will break clients that rely on - /// this method and only had access to it through INTERNAL. - @$pb.TagNumber(2) - $core.String get restriction => $_getSZ(1); - @$pb.TagNumber(2) - set restriction($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRestriction() => $_has(1); - @$pb.TagNumber(2) - void clearRestriction() => clearField(2); -} - -class VisibilityExt { - static final enumVisibility = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.EnumOptions', _omitFieldNames ? '' : 'enumVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create); - static final valueVisibility = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.EnumValueOptions', _omitFieldNames ? '' : 'valueVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create); - static final fieldVisibility = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'fieldVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create); - static final messageVisibility = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'messageVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create); - static final methodVisibility = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'methodVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create); - static final apiVisibility = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.ServiceOptions', _omitFieldNames ? '' : 'apiVisibility', 72295727, $pb.PbFieldType.OM, defaultOrMaker: VisibilityRule.getDefault, subBuilder: VisibilityRule.create); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(enumVisibility); - registry.add(valueVisibility); - registry.add(fieldVisibility); - registry.add(messageVisibility); - registry.add(methodVisibility); - registry.add(apiVisibility); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/api/visibility.pbenum.dart b/lib/src/gen/google/api/visibility.pbenum.dart deleted file mode 100644 index 0e0aef99df3..00000000000 --- a/lib/src/gen/google/api/visibility.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/visibility.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/api/visibility.pbjson.dart b/lib/src/gen/google/api/visibility.pbjson.dart deleted file mode 100644 index e5f8c4538dc..00000000000 --- a/lib/src/gen/google/api/visibility.pbjson.dart +++ /dev/null @@ -1,42 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/api/visibility.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use visibilityDescriptor instead') -const Visibility$json = { - '1': 'Visibility', - '2': [ - {'1': 'rules', '3': 1, '4': 3, '5': 11, '6': '.google.api.VisibilityRule', '10': 'rules'}, - ], -}; - -/// Descriptor for `Visibility`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List visibilityDescriptor = $convert.base64Decode( - 'CgpWaXNpYmlsaXR5EjAKBXJ1bGVzGAEgAygLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZV' - 'IFcnVsZXM='); - -@$core.Deprecated('Use visibilityRuleDescriptor instead') -const VisibilityRule$json = { - '1': 'VisibilityRule', - '2': [ - {'1': 'selector', '3': 1, '4': 1, '5': 9, '10': 'selector'}, - {'1': 'restriction', '3': 2, '4': 1, '5': 9, '10': 'restriction'}, - ], -}; - -/// Descriptor for `VisibilityRule`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List visibilityRuleDescriptor = $convert.base64Decode( - 'Cg5WaXNpYmlsaXR5UnVsZRIaCghzZWxlY3RvchgBIAEoCVIIc2VsZWN0b3ISIAoLcmVzdHJpY3' - 'Rpb24YAiABKAlSC3Jlc3RyaWN0aW9u'); - diff --git a/lib/src/gen/google/bytestream/bytestream.pb.dart b/lib/src/gen/google/bytestream/bytestream.pb.dart deleted file mode 100644 index 0fa9b6e7a29..00000000000 --- a/lib/src/gen/google/bytestream/bytestream.pb.dart +++ /dev/null @@ -1,453 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/bytestream/bytestream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -/// Request object for ByteStream.Read. -class ReadRequest extends $pb.GeneratedMessage { - factory ReadRequest({ - $core.String? resourceName, - $fixnum.Int64? readOffset, - $fixnum.Int64? readLimit, - }) { - final $result = create(); - if (resourceName != null) { - $result.resourceName = resourceName; - } - if (readOffset != null) { - $result.readOffset = readOffset; - } - if (readLimit != null) { - $result.readLimit = readLimit; - } - return $result; - } - ReadRequest._() : super(); - factory ReadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.bytestream'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'resourceName') - ..aInt64(2, _omitFieldNames ? '' : 'readOffset') - ..aInt64(3, _omitFieldNames ? '' : 'readLimit') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadRequest clone() => ReadRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadRequest copyWith(void Function(ReadRequest) updates) => super.copyWith((message) => updates(message as ReadRequest)) as ReadRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadRequest create() => ReadRequest._(); - ReadRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadRequest? _defaultInstance; - - /// The name of the resource to read. - @$pb.TagNumber(1) - $core.String get resourceName => $_getSZ(0); - @$pb.TagNumber(1) - set resourceName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasResourceName() => $_has(0); - @$pb.TagNumber(1) - void clearResourceName() => clearField(1); - - /// The offset for the first byte to return in the read, relative to the start - /// of the resource. - /// - /// A `read_offset` that is negative or greater than the size of the resource - /// will cause an `OUT_OF_RANGE` error. - @$pb.TagNumber(2) - $fixnum.Int64 get readOffset => $_getI64(1); - @$pb.TagNumber(2) - set readOffset($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasReadOffset() => $_has(1); - @$pb.TagNumber(2) - void clearReadOffset() => clearField(2); - - /// The maximum number of `data` bytes the server is allowed to return in the - /// sum of all `ReadResponse` messages. A `read_limit` of zero indicates that - /// there is no limit, and a negative `read_limit` will cause an error. - /// - /// If the stream returns fewer bytes than allowed by the `read_limit` and no - /// error occurred, the stream includes all data from the `read_offset` to the - /// end of the resource. - @$pb.TagNumber(3) - $fixnum.Int64 get readLimit => $_getI64(2); - @$pb.TagNumber(3) - set readLimit($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasReadLimit() => $_has(2); - @$pb.TagNumber(3) - void clearReadLimit() => clearField(3); -} - -/// Response object for ByteStream.Read. -class ReadResponse extends $pb.GeneratedMessage { - factory ReadResponse({ - $core.List<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - ReadResponse._() : super(); - factory ReadResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.bytestream'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(10, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadResponse clone() => ReadResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadResponse copyWith(void Function(ReadResponse) updates) => super.copyWith((message) => updates(message as ReadResponse)) as ReadResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadResponse create() => ReadResponse._(); - ReadResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadResponse? _defaultInstance; - - /// A portion of the data for the resource. The service **may** leave `data` - /// empty for any given `ReadResponse`. This enables the service to inform the - /// client that the request is still live while it is running an operation to - /// generate more data. - @$pb.TagNumber(10) - $core.List<$core.int> get data => $_getN(0); - @$pb.TagNumber(10) - set data($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(10) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(10) - void clearData() => clearField(10); -} - -/// Request object for ByteStream.Write. -class WriteRequest extends $pb.GeneratedMessage { - factory WriteRequest({ - $core.String? resourceName, - $fixnum.Int64? writeOffset, - $core.bool? finishWrite, - $core.List<$core.int>? data, - }) { - final $result = create(); - if (resourceName != null) { - $result.resourceName = resourceName; - } - if (writeOffset != null) { - $result.writeOffset = writeOffset; - } - if (finishWrite != null) { - $result.finishWrite = finishWrite; - } - if (data != null) { - $result.data = data; - } - return $result; - } - WriteRequest._() : super(); - factory WriteRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WriteRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WriteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.bytestream'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'resourceName') - ..aInt64(2, _omitFieldNames ? '' : 'writeOffset') - ..aOB(3, _omitFieldNames ? '' : 'finishWrite') - ..a<$core.List<$core.int>>(10, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WriteRequest clone() => WriteRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WriteRequest copyWith(void Function(WriteRequest) updates) => super.copyWith((message) => updates(message as WriteRequest)) as WriteRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WriteRequest create() => WriteRequest._(); - WriteRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WriteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WriteRequest? _defaultInstance; - - /// The name of the resource to write. This **must** be set on the first - /// `WriteRequest` of each `Write()` action. If it is set on subsequent calls, - /// it **must** match the value of the first request. - @$pb.TagNumber(1) - $core.String get resourceName => $_getSZ(0); - @$pb.TagNumber(1) - set resourceName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasResourceName() => $_has(0); - @$pb.TagNumber(1) - void clearResourceName() => clearField(1); - - /// The offset from the beginning of the resource at which the data should be - /// written. It is required on all `WriteRequest`s. - /// - /// In the first `WriteRequest` of a `Write()` action, it indicates - /// the initial offset for the `Write()` call. The value **must** be equal to - /// the `committed_size` that a call to `QueryWriteStatus()` would return. - /// - /// On subsequent calls, this value **must** be set and **must** be equal to - /// the sum of the first `write_offset` and the sizes of all `data` bundles - /// sent previously on this stream. - /// - /// An incorrect value will cause an error. - @$pb.TagNumber(2) - $fixnum.Int64 get writeOffset => $_getI64(1); - @$pb.TagNumber(2) - set writeOffset($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasWriteOffset() => $_has(1); - @$pb.TagNumber(2) - void clearWriteOffset() => clearField(2); - - /// If `true`, this indicates that the write is complete. Sending any - /// `WriteRequest`s subsequent to one in which `finish_write` is `true` will - /// cause an error. - @$pb.TagNumber(3) - $core.bool get finishWrite => $_getBF(2); - @$pb.TagNumber(3) - set finishWrite($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasFinishWrite() => $_has(2); - @$pb.TagNumber(3) - void clearFinishWrite() => clearField(3); - - /// A portion of the data for the resource. The client **may** leave `data` - /// empty for any given `WriteRequest`. This enables the client to inform the - /// service that the request is still live while it is running an operation to - /// generate more data. - @$pb.TagNumber(10) - $core.List<$core.int> get data => $_getN(3); - @$pb.TagNumber(10) - set data($core.List<$core.int> v) { $_setBytes(3, v); } - @$pb.TagNumber(10) - $core.bool hasData() => $_has(3); - @$pb.TagNumber(10) - void clearData() => clearField(10); -} - -/// Response object for ByteStream.Write. -class WriteResponse extends $pb.GeneratedMessage { - factory WriteResponse({ - $fixnum.Int64? committedSize, - }) { - final $result = create(); - if (committedSize != null) { - $result.committedSize = committedSize; - } - return $result; - } - WriteResponse._() : super(); - factory WriteResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WriteResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WriteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.bytestream'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'committedSize') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WriteResponse clone() => WriteResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WriteResponse copyWith(void Function(WriteResponse) updates) => super.copyWith((message) => updates(message as WriteResponse)) as WriteResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WriteResponse create() => WriteResponse._(); - WriteResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WriteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WriteResponse? _defaultInstance; - - /// The number of bytes that have been processed for the given resource. - @$pb.TagNumber(1) - $fixnum.Int64 get committedSize => $_getI64(0); - @$pb.TagNumber(1) - set committedSize($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasCommittedSize() => $_has(0); - @$pb.TagNumber(1) - void clearCommittedSize() => clearField(1); -} - -/// Request object for ByteStream.QueryWriteStatus. -class QueryWriteStatusRequest extends $pb.GeneratedMessage { - factory QueryWriteStatusRequest({ - $core.String? resourceName, - }) { - final $result = create(); - if (resourceName != null) { - $result.resourceName = resourceName; - } - return $result; - } - QueryWriteStatusRequest._() : super(); - factory QueryWriteStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory QueryWriteStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QueryWriteStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.bytestream'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'resourceName') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - QueryWriteStatusRequest clone() => QueryWriteStatusRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - QueryWriteStatusRequest copyWith(void Function(QueryWriteStatusRequest) updates) => super.copyWith((message) => updates(message as QueryWriteStatusRequest)) as QueryWriteStatusRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static QueryWriteStatusRequest create() => QueryWriteStatusRequest._(); - QueryWriteStatusRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static QueryWriteStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static QueryWriteStatusRequest? _defaultInstance; - - /// The name of the resource whose write status is being requested. - @$pb.TagNumber(1) - $core.String get resourceName => $_getSZ(0); - @$pb.TagNumber(1) - set resourceName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasResourceName() => $_has(0); - @$pb.TagNumber(1) - void clearResourceName() => clearField(1); -} - -/// Response object for ByteStream.QueryWriteStatus. -class QueryWriteStatusResponse extends $pb.GeneratedMessage { - factory QueryWriteStatusResponse({ - $fixnum.Int64? committedSize, - $core.bool? complete, - }) { - final $result = create(); - if (committedSize != null) { - $result.committedSize = committedSize; - } - if (complete != null) { - $result.complete = complete; - } - return $result; - } - QueryWriteStatusResponse._() : super(); - factory QueryWriteStatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory QueryWriteStatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QueryWriteStatusResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.bytestream'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'committedSize') - ..aOB(2, _omitFieldNames ? '' : 'complete') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - QueryWriteStatusResponse clone() => QueryWriteStatusResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - QueryWriteStatusResponse copyWith(void Function(QueryWriteStatusResponse) updates) => super.copyWith((message) => updates(message as QueryWriteStatusResponse)) as QueryWriteStatusResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static QueryWriteStatusResponse create() => QueryWriteStatusResponse._(); - QueryWriteStatusResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static QueryWriteStatusResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static QueryWriteStatusResponse? _defaultInstance; - - /// The number of bytes that have been processed for the given resource. - @$pb.TagNumber(1) - $fixnum.Int64 get committedSize => $_getI64(0); - @$pb.TagNumber(1) - set committedSize($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasCommittedSize() => $_has(0); - @$pb.TagNumber(1) - void clearCommittedSize() => clearField(1); - - /// `complete` is `true` only if the client has sent a `WriteRequest` with - /// `finish_write` set to true, and the server has processed that request. - @$pb.TagNumber(2) - $core.bool get complete => $_getBF(1); - @$pb.TagNumber(2) - set complete($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasComplete() => $_has(1); - @$pb.TagNumber(2) - void clearComplete() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/bytestream/bytestream.pbenum.dart b/lib/src/gen/google/bytestream/bytestream.pbenum.dart deleted file mode 100644 index 8c0f03ceaaa..00000000000 --- a/lib/src/gen/google/bytestream/bytestream.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/bytestream/bytestream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/bytestream/bytestream.pbgrpc.dart b/lib/src/gen/google/bytestream/bytestream.pbgrpc.dart deleted file mode 100644 index 74416a72976..00000000000 --- a/lib/src/gen/google/bytestream/bytestream.pbgrpc.dart +++ /dev/null @@ -1,95 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/bytestream/bytestream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'bytestream.pb.dart' as $0; - -export 'bytestream.pb.dart'; - -@$pb.GrpcServiceName('google.bytestream.ByteStream') -class ByteStreamClient extends $grpc.Client { - static final _$read = $grpc.ClientMethod<$0.ReadRequest, $0.ReadResponse>( - '/google.bytestream.ByteStream/Read', - ($0.ReadRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ReadResponse.fromBuffer(value)); - static final _$write = $grpc.ClientMethod<$0.WriteRequest, $0.WriteResponse>( - '/google.bytestream.ByteStream/Write', - ($0.WriteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.WriteResponse.fromBuffer(value)); - static final _$queryWriteStatus = $grpc.ClientMethod<$0.QueryWriteStatusRequest, $0.QueryWriteStatusResponse>( - '/google.bytestream.ByteStream/QueryWriteStatus', - ($0.QueryWriteStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.QueryWriteStatusResponse.fromBuffer(value)); - - ByteStreamClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseStream<$0.ReadResponse> read($0.ReadRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$read, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$0.WriteResponse> write($async.Stream<$0.WriteRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$write, request, options: options).single; - } - - $grpc.ResponseFuture<$0.QueryWriteStatusResponse> queryWriteStatus($0.QueryWriteStatusRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$queryWriteStatus, request, options: options); - } -} - -@$pb.GrpcServiceName('google.bytestream.ByteStream') -abstract class ByteStreamServiceBase extends $grpc.Service { - $core.String get $name => 'google.bytestream.ByteStream'; - - ByteStreamServiceBase() { - $addMethod($grpc.ServiceMethod<$0.ReadRequest, $0.ReadResponse>( - 'Read', - read_Pre, - false, - true, - ($core.List<$core.int> value) => $0.ReadRequest.fromBuffer(value), - ($0.ReadResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.WriteRequest, $0.WriteResponse>( - 'Write', - write, - true, - false, - ($core.List<$core.int> value) => $0.WriteRequest.fromBuffer(value), - ($0.WriteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.QueryWriteStatusRequest, $0.QueryWriteStatusResponse>( - 'QueryWriteStatus', - queryWriteStatus_Pre, - false, - false, - ($core.List<$core.int> value) => $0.QueryWriteStatusRequest.fromBuffer(value), - ($0.QueryWriteStatusResponse value) => value.writeToBuffer())); - } - - $async.Stream<$0.ReadResponse> read_Pre($grpc.ServiceCall call, $async.Future<$0.ReadRequest> request) async* { - yield* read(call, await request); - } - - $async.Future<$0.QueryWriteStatusResponse> queryWriteStatus_Pre($grpc.ServiceCall call, $async.Future<$0.QueryWriteStatusRequest> request) async { - return queryWriteStatus(call, await request); - } - - $async.Stream<$0.ReadResponse> read($grpc.ServiceCall call, $0.ReadRequest request); - $async.Future<$0.WriteResponse> write($grpc.ServiceCall call, $async.Stream<$0.WriteRequest> request); - $async.Future<$0.QueryWriteStatusResponse> queryWriteStatus($grpc.ServiceCall call, $0.QueryWriteStatusRequest request); -} diff --git a/lib/src/gen/google/bytestream/bytestream.pbjson.dart b/lib/src/gen/google/bytestream/bytestream.pbjson.dart deleted file mode 100644 index 3802fd9f073..00000000000 --- a/lib/src/gen/google/bytestream/bytestream.pbjson.dart +++ /dev/null @@ -1,99 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/bytestream/bytestream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use readRequestDescriptor instead') -const ReadRequest$json = { - '1': 'ReadRequest', - '2': [ - {'1': 'resource_name', '3': 1, '4': 1, '5': 9, '10': 'resourceName'}, - {'1': 'read_offset', '3': 2, '4': 1, '5': 3, '10': 'readOffset'}, - {'1': 'read_limit', '3': 3, '4': 1, '5': 3, '10': 'readLimit'}, - ], -}; - -/// Descriptor for `ReadRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readRequestDescriptor = $convert.base64Decode( - 'CgtSZWFkUmVxdWVzdBIjCg1yZXNvdXJjZV9uYW1lGAEgASgJUgxyZXNvdXJjZU5hbWUSHwoLcm' - 'VhZF9vZmZzZXQYAiABKANSCnJlYWRPZmZzZXQSHQoKcmVhZF9saW1pdBgDIAEoA1IJcmVhZExp' - 'bWl0'); - -@$core.Deprecated('Use readResponseDescriptor instead') -const ReadResponse$json = { - '1': 'ReadResponse', - '2': [ - {'1': 'data', '3': 10, '4': 1, '5': 12, '10': 'data'}, - ], -}; - -/// Descriptor for `ReadResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readResponseDescriptor = $convert.base64Decode( - 'CgxSZWFkUmVzcG9uc2USEgoEZGF0YRgKIAEoDFIEZGF0YQ=='); - -@$core.Deprecated('Use writeRequestDescriptor instead') -const WriteRequest$json = { - '1': 'WriteRequest', - '2': [ - {'1': 'resource_name', '3': 1, '4': 1, '5': 9, '10': 'resourceName'}, - {'1': 'write_offset', '3': 2, '4': 1, '5': 3, '10': 'writeOffset'}, - {'1': 'finish_write', '3': 3, '4': 1, '5': 8, '10': 'finishWrite'}, - {'1': 'data', '3': 10, '4': 1, '5': 12, '10': 'data'}, - ], -}; - -/// Descriptor for `WriteRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List writeRequestDescriptor = $convert.base64Decode( - 'CgxXcml0ZVJlcXVlc3QSIwoNcmVzb3VyY2VfbmFtZRgBIAEoCVIMcmVzb3VyY2VOYW1lEiEKDH' - 'dyaXRlX29mZnNldBgCIAEoA1ILd3JpdGVPZmZzZXQSIQoMZmluaXNoX3dyaXRlGAMgASgIUgtm' - 'aW5pc2hXcml0ZRISCgRkYXRhGAogASgMUgRkYXRh'); - -@$core.Deprecated('Use writeResponseDescriptor instead') -const WriteResponse$json = { - '1': 'WriteResponse', - '2': [ - {'1': 'committed_size', '3': 1, '4': 1, '5': 3, '10': 'committedSize'}, - ], -}; - -/// Descriptor for `WriteResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List writeResponseDescriptor = $convert.base64Decode( - 'Cg1Xcml0ZVJlc3BvbnNlEiUKDmNvbW1pdHRlZF9zaXplGAEgASgDUg1jb21taXR0ZWRTaXpl'); - -@$core.Deprecated('Use queryWriteStatusRequestDescriptor instead') -const QueryWriteStatusRequest$json = { - '1': 'QueryWriteStatusRequest', - '2': [ - {'1': 'resource_name', '3': 1, '4': 1, '5': 9, '10': 'resourceName'}, - ], -}; - -/// Descriptor for `QueryWriteStatusRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List queryWriteStatusRequestDescriptor = $convert.base64Decode( - 'ChdRdWVyeVdyaXRlU3RhdHVzUmVxdWVzdBIjCg1yZXNvdXJjZV9uYW1lGAEgASgJUgxyZXNvdX' - 'JjZU5hbWU='); - -@$core.Deprecated('Use queryWriteStatusResponseDescriptor instead') -const QueryWriteStatusResponse$json = { - '1': 'QueryWriteStatusResponse', - '2': [ - {'1': 'committed_size', '3': 1, '4': 1, '5': 3, '10': 'committedSize'}, - {'1': 'complete', '3': 2, '4': 1, '5': 8, '10': 'complete'}, - ], -}; - -/// Descriptor for `QueryWriteStatusResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List queryWriteStatusResponseDescriptor = $convert.base64Decode( - 'ChhRdWVyeVdyaXRlU3RhdHVzUmVzcG9uc2USJQoOY29tbWl0dGVkX3NpemUYASABKANSDWNvbW' - '1pdHRlZFNpemUSGgoIY29tcGxldGUYAiABKAhSCGNvbXBsZXRl'); - diff --git a/lib/src/gen/google/geo/type/viewport.pb.dart b/lib/src/gen/google/geo/type/viewport.pb.dart deleted file mode 100644 index f11e2939156..00000000000 --- a/lib/src/gen/google/geo/type/viewport.pb.dart +++ /dev/null @@ -1,125 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/geo/type/viewport.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../type/latlng.pb.dart' as $15; - -/// A latitude-longitude viewport, represented as two diagonally opposite `low` -/// and `high` points. A viewport is considered a closed region, i.e. it includes -/// its boundary. The latitude bounds must range between -90 to 90 degrees -/// inclusive, and the longitude bounds must range between -180 to 180 degrees -/// inclusive. Various cases include: -/// -/// - If `low` = `high`, the viewport consists of that single point. -/// -/// - If `low.longitude` > `high.longitude`, the longitude range is inverted -/// (the viewport crosses the 180 degree longitude line). -/// -/// - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, -/// the viewport includes all longitudes. -/// -/// - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, -/// the longitude range is empty. -/// -/// - If `low.latitude` > `high.latitude`, the latitude range is empty. -/// -/// Both `low` and `high` must be populated, and the represented box cannot be -/// empty (as specified by the definitions above). An empty viewport will result -/// in an error. -/// -/// For example, this viewport fully encloses New York City: -/// -/// { -/// "low": { -/// "latitude": 40.477398, -/// "longitude": -74.259087 -/// }, -/// "high": { -/// "latitude": 40.91618, -/// "longitude": -73.70018 -/// } -/// } -class Viewport extends $pb.GeneratedMessage { - factory Viewport({ - $15.LatLng? low, - $15.LatLng? high, - }) { - final $result = create(); - if (low != null) { - $result.low = low; - } - if (high != null) { - $result.high = high; - } - return $result; - } - Viewport._() : super(); - factory Viewport.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Viewport.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Viewport', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.geo.type'), createEmptyInstance: create) - ..aOM<$15.LatLng>(1, _omitFieldNames ? '' : 'low', subBuilder: $15.LatLng.create) - ..aOM<$15.LatLng>(2, _omitFieldNames ? '' : 'high', subBuilder: $15.LatLng.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Viewport clone() => Viewport()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Viewport copyWith(void Function(Viewport) updates) => super.copyWith((message) => updates(message as Viewport)) as Viewport; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Viewport create() => Viewport._(); - Viewport createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Viewport getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Viewport? _defaultInstance; - - /// Required. The low point of the viewport. - @$pb.TagNumber(1) - $15.LatLng get low => $_getN(0); - @$pb.TagNumber(1) - set low($15.LatLng v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLow() => $_has(0); - @$pb.TagNumber(1) - void clearLow() => clearField(1); - @$pb.TagNumber(1) - $15.LatLng ensureLow() => $_ensure(0); - - /// Required. The high point of the viewport. - @$pb.TagNumber(2) - $15.LatLng get high => $_getN(1); - @$pb.TagNumber(2) - set high($15.LatLng v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasHigh() => $_has(1); - @$pb.TagNumber(2) - void clearHigh() => clearField(2); - @$pb.TagNumber(2) - $15.LatLng ensureHigh() => $_ensure(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/geo/type/viewport.pbenum.dart b/lib/src/gen/google/geo/type/viewport.pbenum.dart deleted file mode 100644 index 795d16934c5..00000000000 --- a/lib/src/gen/google/geo/type/viewport.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/geo/type/viewport.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/geo/type/viewport.pbjson.dart b/lib/src/gen/google/geo/type/viewport.pbjson.dart deleted file mode 100644 index e799b9d89e1..00000000000 --- a/lib/src/gen/google/geo/type/viewport.pbjson.dart +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/geo/type/viewport.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use viewportDescriptor instead') -const Viewport$json = { - '1': 'Viewport', - '2': [ - {'1': 'low', '3': 1, '4': 1, '5': 11, '6': '.google.type.LatLng', '10': 'low'}, - {'1': 'high', '3': 2, '4': 1, '5': 11, '6': '.google.type.LatLng', '10': 'high'}, - ], -}; - -/// Descriptor for `Viewport`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List viewportDescriptor = $convert.base64Decode( - 'CghWaWV3cG9ydBIlCgNsb3cYASABKAsyEy5nb29nbGUudHlwZS5MYXRMbmdSA2xvdxInCgRoaW' - 'doGAIgASgLMhMuZ29vZ2xlLnR5cGUuTGF0TG5nUgRoaWdo'); - diff --git a/lib/src/gen/google/longrunning/operations.pb.dart b/lib/src/gen/google/longrunning/operations.pb.dart deleted file mode 100644 index 29b86f94968..00000000000 --- a/lib/src/gen/google/longrunning/operations.pb.dart +++ /dev/null @@ -1,657 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/any.pb.dart' as $9; -import '../protobuf/duration.pb.dart' as $4; -import '../rpc/status.pb.dart' as $11; - -enum Operation_Result { - error, - response, - notSet -} - -/// This resource represents a long-running operation that is the result of a -/// network API call. -class Operation extends $pb.GeneratedMessage { - factory Operation({ - $core.String? name, - $9.Any? metadata, - $core.bool? done, - $11.Status? error, - $9.Any? response, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (metadata != null) { - $result.metadata = metadata; - } - if (done != null) { - $result.done = done; - } - if (error != null) { - $result.error = error; - } - if (response != null) { - $result.response = response; - } - return $result; - } - Operation._() : super(); - factory Operation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Operation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Operation_Result> _Operation_ResultByTag = { - 4 : Operation_Result.error, - 5 : Operation_Result.response, - 0 : Operation_Result.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Operation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..oo(0, [4, 5]) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$9.Any>(2, _omitFieldNames ? '' : 'metadata', subBuilder: $9.Any.create) - ..aOB(3, _omitFieldNames ? '' : 'done') - ..aOM<$11.Status>(4, _omitFieldNames ? '' : 'error', subBuilder: $11.Status.create) - ..aOM<$9.Any>(5, _omitFieldNames ? '' : 'response', subBuilder: $9.Any.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Operation clone() => Operation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Operation copyWith(void Function(Operation) updates) => super.copyWith((message) => updates(message as Operation)) as Operation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Operation create() => Operation._(); - Operation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Operation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Operation? _defaultInstance; - - Operation_Result whichResult() => _Operation_ResultByTag[$_whichOneof(0)]!; - void clearResult() => clearField($_whichOneof(0)); - - /// The server-assigned name, which is only unique within the same service that - /// originally returns it. If you use the default HTTP mapping, the - /// `name` should be a resource name ending with `operations/{unique_id}`. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Service-specific metadata associated with the operation. It typically - /// contains progress information and common metadata such as create time. - /// Some services might not provide such metadata. Any method that returns a - /// long-running operation should document the metadata type, if any. - @$pb.TagNumber(2) - $9.Any get metadata => $_getN(1); - @$pb.TagNumber(2) - set metadata($9.Any v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasMetadata() => $_has(1); - @$pb.TagNumber(2) - void clearMetadata() => clearField(2); - @$pb.TagNumber(2) - $9.Any ensureMetadata() => $_ensure(1); - - /// If the value is `false`, it means the operation is still in progress. - /// If `true`, the operation is completed, and either `error` or `response` is - /// available. - @$pb.TagNumber(3) - $core.bool get done => $_getBF(2); - @$pb.TagNumber(3) - set done($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasDone() => $_has(2); - @$pb.TagNumber(3) - void clearDone() => clearField(3); - - /// The error result of the operation in case of failure or cancellation. - @$pb.TagNumber(4) - $11.Status get error => $_getN(3); - @$pb.TagNumber(4) - set error($11.Status v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasError() => $_has(3); - @$pb.TagNumber(4) - void clearError() => clearField(4); - @$pb.TagNumber(4) - $11.Status ensureError() => $_ensure(3); - - /// The normal, successful response of the operation. If the original - /// method returns no data on success, such as `Delete`, the response is - /// `google.protobuf.Empty`. If the original method is standard - /// `Get`/`Create`/`Update`, the response should be the resource. For other - /// methods, the response should have the type `XxxResponse`, where `Xxx` - /// is the original method name. For example, if the original method name - /// is `TakeSnapshot()`, the inferred response type is - /// `TakeSnapshotResponse`. - @$pb.TagNumber(5) - $9.Any get response => $_getN(4); - @$pb.TagNumber(5) - set response($9.Any v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasResponse() => $_has(4); - @$pb.TagNumber(5) - void clearResponse() => clearField(5); - @$pb.TagNumber(5) - $9.Any ensureResponse() => $_ensure(4); -} - -/// The request message for -/// [Operations.GetOperation][google.longrunning.Operations.GetOperation]. -class GetOperationRequest extends $pb.GeneratedMessage { - factory GetOperationRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetOperationRequest._() : super(); - factory GetOperationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOperationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOperationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOperationRequest clone() => GetOperationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOperationRequest copyWith(void Function(GetOperationRequest) updates) => super.copyWith((message) => updates(message as GetOperationRequest)) as GetOperationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOperationRequest create() => GetOperationRequest._(); - GetOperationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOperationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOperationRequest? _defaultInstance; - - /// The name of the operation resource. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// The request message for -/// [Operations.ListOperations][google.longrunning.Operations.ListOperations]. -class ListOperationsRequest extends $pb.GeneratedMessage { - factory ListOperationsRequest({ - $core.String? filter, - $core.int? pageSize, - $core.String? pageToken, - $core.String? name, - }) { - final $result = create(); - if (filter != null) { - $result.filter = filter; - } - if (pageSize != null) { - $result.pageSize = pageSize; - } - if (pageToken != null) { - $result.pageToken = pageToken; - } - if (name != null) { - $result.name = name; - } - return $result; - } - ListOperationsRequest._() : super(); - factory ListOperationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOperationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOperationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'filter') - ..a<$core.int>(2, _omitFieldNames ? '' : 'pageSize', $pb.PbFieldType.O3) - ..aOS(3, _omitFieldNames ? '' : 'pageToken') - ..aOS(4, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOperationsRequest clone() => ListOperationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOperationsRequest copyWith(void Function(ListOperationsRequest) updates) => super.copyWith((message) => updates(message as ListOperationsRequest)) as ListOperationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOperationsRequest create() => ListOperationsRequest._(); - ListOperationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOperationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOperationsRequest? _defaultInstance; - - /// The standard list filter. - @$pb.TagNumber(1) - $core.String get filter => $_getSZ(0); - @$pb.TagNumber(1) - set filter($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFilter() => $_has(0); - @$pb.TagNumber(1) - void clearFilter() => clearField(1); - - /// The standard list page size. - @$pb.TagNumber(2) - $core.int get pageSize => $_getIZ(1); - @$pb.TagNumber(2) - set pageSize($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasPageSize() => $_has(1); - @$pb.TagNumber(2) - void clearPageSize() => clearField(2); - - /// The standard list page token. - @$pb.TagNumber(3) - $core.String get pageToken => $_getSZ(2); - @$pb.TagNumber(3) - set pageToken($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasPageToken() => $_has(2); - @$pb.TagNumber(3) - void clearPageToken() => clearField(3); - - /// The name of the operation's parent resource. - @$pb.TagNumber(4) - $core.String get name => $_getSZ(3); - @$pb.TagNumber(4) - set name($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasName() => $_has(3); - @$pb.TagNumber(4) - void clearName() => clearField(4); -} - -/// The response message for -/// [Operations.ListOperations][google.longrunning.Operations.ListOperations]. -class ListOperationsResponse extends $pb.GeneratedMessage { - factory ListOperationsResponse({ - $core.Iterable? operations, - $core.String? nextPageToken, - }) { - final $result = create(); - if (operations != null) { - $result.operations.addAll(operations); - } - if (nextPageToken != null) { - $result.nextPageToken = nextPageToken; - } - return $result; - } - ListOperationsResponse._() : super(); - factory ListOperationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListOperationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOperationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'operations', $pb.PbFieldType.PM, subBuilder: Operation.create) - ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListOperationsResponse clone() => ListOperationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListOperationsResponse copyWith(void Function(ListOperationsResponse) updates) => super.copyWith((message) => updates(message as ListOperationsResponse)) as ListOperationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListOperationsResponse create() => ListOperationsResponse._(); - ListOperationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListOperationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListOperationsResponse? _defaultInstance; - - /// A list of operations that matches the specified filter in the request. - @$pb.TagNumber(1) - $core.List get operations => $_getList(0); - - /// The standard List next-page token. - @$pb.TagNumber(2) - $core.String get nextPageToken => $_getSZ(1); - @$pb.TagNumber(2) - set nextPageToken($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNextPageToken() => $_has(1); - @$pb.TagNumber(2) - void clearNextPageToken() => clearField(2); -} - -/// The request message for -/// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. -class CancelOperationRequest extends $pb.GeneratedMessage { - factory CancelOperationRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - CancelOperationRequest._() : super(); - factory CancelOperationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CancelOperationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelOperationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CancelOperationRequest clone() => CancelOperationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CancelOperationRequest copyWith(void Function(CancelOperationRequest) updates) => super.copyWith((message) => updates(message as CancelOperationRequest)) as CancelOperationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CancelOperationRequest create() => CancelOperationRequest._(); - CancelOperationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CancelOperationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CancelOperationRequest? _defaultInstance; - - /// The name of the operation resource to be cancelled. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// The request message for -/// [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. -class DeleteOperationRequest extends $pb.GeneratedMessage { - factory DeleteOperationRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - DeleteOperationRequest._() : super(); - factory DeleteOperationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DeleteOperationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOperationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DeleteOperationRequest clone() => DeleteOperationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DeleteOperationRequest copyWith(void Function(DeleteOperationRequest) updates) => super.copyWith((message) => updates(message as DeleteOperationRequest)) as DeleteOperationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DeleteOperationRequest create() => DeleteOperationRequest._(); - DeleteOperationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DeleteOperationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DeleteOperationRequest? _defaultInstance; - - /// The name of the operation resource to be deleted. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// The request message for -/// [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. -class WaitOperationRequest extends $pb.GeneratedMessage { - factory WaitOperationRequest({ - $core.String? name, - $4.Duration? timeout, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (timeout != null) { - $result.timeout = timeout; - } - return $result; - } - WaitOperationRequest._() : super(); - factory WaitOperationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WaitOperationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WaitOperationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$4.Duration>(2, _omitFieldNames ? '' : 'timeout', subBuilder: $4.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WaitOperationRequest clone() => WaitOperationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WaitOperationRequest copyWith(void Function(WaitOperationRequest) updates) => super.copyWith((message) => updates(message as WaitOperationRequest)) as WaitOperationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WaitOperationRequest create() => WaitOperationRequest._(); - WaitOperationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WaitOperationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WaitOperationRequest? _defaultInstance; - - /// The name of the operation resource to wait on. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// The maximum duration to wait before timing out. If left blank, the wait - /// will be at most the time permitted by the underlying HTTP/RPC protocol. - /// If RPC context deadline is also specified, the shorter one will be used. - @$pb.TagNumber(2) - $4.Duration get timeout => $_getN(1); - @$pb.TagNumber(2) - set timeout($4.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasTimeout() => $_has(1); - @$pb.TagNumber(2) - void clearTimeout() => clearField(2); - @$pb.TagNumber(2) - $4.Duration ensureTimeout() => $_ensure(1); -} - -/// A message representing the message types used by a long-running operation. -/// -/// Example: -/// -/// rpc Export(ExportRequest) returns (google.longrunning.Operation) { -/// option (google.longrunning.operation_info) = { -/// response_type: "ExportResponse" -/// metadata_type: "ExportMetadata" -/// }; -/// } -class OperationInfo extends $pb.GeneratedMessage { - factory OperationInfo({ - $core.String? responseType, - $core.String? metadataType, - }) { - final $result = create(); - if (responseType != null) { - $result.responseType = responseType; - } - if (metadataType != null) { - $result.metadataType = metadataType; - } - return $result; - } - OperationInfo._() : super(); - factory OperationInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OperationInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OperationInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.longrunning'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'responseType') - ..aOS(2, _omitFieldNames ? '' : 'metadataType') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OperationInfo clone() => OperationInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OperationInfo copyWith(void Function(OperationInfo) updates) => super.copyWith((message) => updates(message as OperationInfo)) as OperationInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OperationInfo create() => OperationInfo._(); - OperationInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OperationInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OperationInfo? _defaultInstance; - - /// Required. The message name of the primary return type for this - /// long-running operation. - /// This type will be used to deserialize the LRO's response. - /// - /// If the response is in a different package from the rpc, a fully-qualified - /// message name must be used (e.g. `google.protobuf.Struct`). - /// - /// Note: Altering this value constitutes a breaking change. - @$pb.TagNumber(1) - $core.String get responseType => $_getSZ(0); - @$pb.TagNumber(1) - set responseType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasResponseType() => $_has(0); - @$pb.TagNumber(1) - void clearResponseType() => clearField(1); - - /// Required. The message name of the metadata type for this long-running - /// operation. - /// - /// If the response is in a different package from the rpc, a fully-qualified - /// message name must be used (e.g. `google.protobuf.Struct`). - /// - /// Note: Altering this value constitutes a breaking change. - @$pb.TagNumber(2) - $core.String get metadataType => $_getSZ(1); - @$pb.TagNumber(2) - set metadataType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMetadataType() => $_has(1); - @$pb.TagNumber(2) - void clearMetadataType() => clearField(2); -} - -class Operations { - static final operationInfo = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.MethodOptions', _omitFieldNames ? '' : 'operationInfo', 1049, $pb.PbFieldType.OM, defaultOrMaker: OperationInfo.getDefault, subBuilder: OperationInfo.create); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(operationInfo); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/longrunning/operations.pbenum.dart b/lib/src/gen/google/longrunning/operations.pbenum.dart deleted file mode 100644 index 315763c9a44..00000000000 --- a/lib/src/gen/google/longrunning/operations.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/longrunning/operations.pbgrpc.dart b/lib/src/gen/google/longrunning/operations.pbgrpc.dart deleted file mode 100644 index f22499ee810..00000000000 --- a/lib/src/gen/google/longrunning/operations.pbgrpc.dart +++ /dev/null @@ -1,140 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/empty.pb.dart' as $2; -import 'operations.pb.dart' as $1; - -export 'operations.pb.dart'; - -@$pb.GrpcServiceName('google.longrunning.Operations') -class OperationsClient extends $grpc.Client { - static final _$listOperations = $grpc.ClientMethod<$1.ListOperationsRequest, $1.ListOperationsResponse>( - '/google.longrunning.Operations/ListOperations', - ($1.ListOperationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListOperationsResponse.fromBuffer(value)); - static final _$getOperation = $grpc.ClientMethod<$1.GetOperationRequest, $1.Operation>( - '/google.longrunning.Operations/GetOperation', - ($1.GetOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.Operation.fromBuffer(value)); - static final _$deleteOperation = $grpc.ClientMethod<$1.DeleteOperationRequest, $2.Empty>( - '/google.longrunning.Operations/DeleteOperation', - ($1.DeleteOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.Empty.fromBuffer(value)); - static final _$cancelOperation = $grpc.ClientMethod<$1.CancelOperationRequest, $2.Empty>( - '/google.longrunning.Operations/CancelOperation', - ($1.CancelOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.Empty.fromBuffer(value)); - static final _$waitOperation = $grpc.ClientMethod<$1.WaitOperationRequest, $1.Operation>( - '/google.longrunning.Operations/WaitOperation', - ($1.WaitOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.Operation.fromBuffer(value)); - - OperationsClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$1.ListOperationsResponse> listOperations($1.ListOperationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listOperations, request, options: options); - } - - $grpc.ResponseFuture<$1.Operation> getOperation($1.GetOperationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOperation, request, options: options); - } - - $grpc.ResponseFuture<$2.Empty> deleteOperation($1.DeleteOperationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$deleteOperation, request, options: options); - } - - $grpc.ResponseFuture<$2.Empty> cancelOperation($1.CancelOperationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$cancelOperation, request, options: options); - } - - $grpc.ResponseFuture<$1.Operation> waitOperation($1.WaitOperationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$waitOperation, request, options: options); - } -} - -@$pb.GrpcServiceName('google.longrunning.Operations') -abstract class OperationsServiceBase extends $grpc.Service { - $core.String get $name => 'google.longrunning.Operations'; - - OperationsServiceBase() { - $addMethod($grpc.ServiceMethod<$1.ListOperationsRequest, $1.ListOperationsResponse>( - 'ListOperations', - listOperations_Pre, - false, - false, - ($core.List<$core.int> value) => $1.ListOperationsRequest.fromBuffer(value), - ($1.ListOperationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetOperationRequest, $1.Operation>( - 'GetOperation', - getOperation_Pre, - false, - false, - ($core.List<$core.int> value) => $1.GetOperationRequest.fromBuffer(value), - ($1.Operation value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteOperationRequest, $2.Empty>( - 'DeleteOperation', - deleteOperation_Pre, - false, - false, - ($core.List<$core.int> value) => $1.DeleteOperationRequest.fromBuffer(value), - ($2.Empty value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CancelOperationRequest, $2.Empty>( - 'CancelOperation', - cancelOperation_Pre, - false, - false, - ($core.List<$core.int> value) => $1.CancelOperationRequest.fromBuffer(value), - ($2.Empty value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.WaitOperationRequest, $1.Operation>( - 'WaitOperation', - waitOperation_Pre, - false, - false, - ($core.List<$core.int> value) => $1.WaitOperationRequest.fromBuffer(value), - ($1.Operation value) => value.writeToBuffer())); - } - - $async.Future<$1.ListOperationsResponse> listOperations_Pre($grpc.ServiceCall call, $async.Future<$1.ListOperationsRequest> request) async { - return listOperations(call, await request); - } - - $async.Future<$1.Operation> getOperation_Pre($grpc.ServiceCall call, $async.Future<$1.GetOperationRequest> request) async { - return getOperation(call, await request); - } - - $async.Future<$2.Empty> deleteOperation_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteOperationRequest> request) async { - return deleteOperation(call, await request); - } - - $async.Future<$2.Empty> cancelOperation_Pre($grpc.ServiceCall call, $async.Future<$1.CancelOperationRequest> request) async { - return cancelOperation(call, await request); - } - - $async.Future<$1.Operation> waitOperation_Pre($grpc.ServiceCall call, $async.Future<$1.WaitOperationRequest> request) async { - return waitOperation(call, await request); - } - - $async.Future<$1.ListOperationsResponse> listOperations($grpc.ServiceCall call, $1.ListOperationsRequest request); - $async.Future<$1.Operation> getOperation($grpc.ServiceCall call, $1.GetOperationRequest request); - $async.Future<$2.Empty> deleteOperation($grpc.ServiceCall call, $1.DeleteOperationRequest request); - $async.Future<$2.Empty> cancelOperation($grpc.ServiceCall call, $1.CancelOperationRequest request); - $async.Future<$1.Operation> waitOperation($grpc.ServiceCall call, $1.WaitOperationRequest request); -} diff --git a/lib/src/gen/google/longrunning/operations.pbjson.dart b/lib/src/gen/google/longrunning/operations.pbjson.dart deleted file mode 100644 index 1e2012a7e85..00000000000 --- a/lib/src/gen/google/longrunning/operations.pbjson.dart +++ /dev/null @@ -1,133 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/longrunning/operations.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use operationDescriptor instead') -const Operation$json = { - '1': 'Operation', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'metadata', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Any', '10': 'metadata'}, - {'1': 'done', '3': 3, '4': 1, '5': 8, '10': 'done'}, - {'1': 'error', '3': 4, '4': 1, '5': 11, '6': '.google.rpc.Status', '9': 0, '10': 'error'}, - {'1': 'response', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Any', '9': 0, '10': 'response'}, - ], - '8': [ - {'1': 'result'}, - ], -}; - -/// Descriptor for `Operation`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List operationDescriptor = $convert.base64Decode( - 'CglPcGVyYXRpb24SEgoEbmFtZRgBIAEoCVIEbmFtZRIwCghtZXRhZGF0YRgCIAEoCzIULmdvb2' - 'dsZS5wcm90b2J1Zi5BbnlSCG1ldGFkYXRhEhIKBGRvbmUYAyABKAhSBGRvbmUSKgoFZXJyb3IY' - 'BCABKAsyEi5nb29nbGUucnBjLlN0YXR1c0gAUgVlcnJvchIyCghyZXNwb25zZRgFIAEoCzIULm' - 'dvb2dsZS5wcm90b2J1Zi5BbnlIAFIIcmVzcG9uc2VCCAoGcmVzdWx0'); - -@$core.Deprecated('Use getOperationRequestDescriptor instead') -const GetOperationRequest$json = { - '1': 'GetOperationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetOperationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOperationRequestDescriptor = $convert.base64Decode( - 'ChNHZXRPcGVyYXRpb25SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWU='); - -@$core.Deprecated('Use listOperationsRequestDescriptor instead') -const ListOperationsRequest$json = { - '1': 'ListOperationsRequest', - '2': [ - {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, - {'1': 'filter', '3': 1, '4': 1, '5': 9, '10': 'filter'}, - {'1': 'page_size', '3': 2, '4': 1, '5': 5, '10': 'pageSize'}, - {'1': 'page_token', '3': 3, '4': 1, '5': 9, '10': 'pageToken'}, - ], -}; - -/// Descriptor for `ListOperationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOperationsRequestDescriptor = $convert.base64Decode( - 'ChVMaXN0T3BlcmF0aW9uc1JlcXVlc3QSEgoEbmFtZRgEIAEoCVIEbmFtZRIWCgZmaWx0ZXIYAS' - 'ABKAlSBmZpbHRlchIbCglwYWdlX3NpemUYAiABKAVSCHBhZ2VTaXplEh0KCnBhZ2VfdG9rZW4Y' - 'AyABKAlSCXBhZ2VUb2tlbg=='); - -@$core.Deprecated('Use listOperationsResponseDescriptor instead') -const ListOperationsResponse$json = { - '1': 'ListOperationsResponse', - '2': [ - {'1': 'operations', '3': 1, '4': 3, '5': 11, '6': '.google.longrunning.Operation', '10': 'operations'}, - {'1': 'next_page_token', '3': 2, '4': 1, '5': 9, '10': 'nextPageToken'}, - ], -}; - -/// Descriptor for `ListOperationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listOperationsResponseDescriptor = $convert.base64Decode( - 'ChZMaXN0T3BlcmF0aW9uc1Jlc3BvbnNlEj0KCm9wZXJhdGlvbnMYASADKAsyHS5nb29nbGUubG' - '9uZ3J1bm5pbmcuT3BlcmF0aW9uUgpvcGVyYXRpb25zEiYKD25leHRfcGFnZV90b2tlbhgCIAEo' - 'CVINbmV4dFBhZ2VUb2tlbg=='); - -@$core.Deprecated('Use cancelOperationRequestDescriptor instead') -const CancelOperationRequest$json = { - '1': 'CancelOperationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `CancelOperationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cancelOperationRequestDescriptor = $convert.base64Decode( - 'ChZDYW5jZWxPcGVyYXRpb25SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWU='); - -@$core.Deprecated('Use deleteOperationRequestDescriptor instead') -const DeleteOperationRequest$json = { - '1': 'DeleteOperationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `DeleteOperationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List deleteOperationRequestDescriptor = $convert.base64Decode( - 'ChZEZWxldGVPcGVyYXRpb25SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWU='); - -@$core.Deprecated('Use waitOperationRequestDescriptor instead') -const WaitOperationRequest$json = { - '1': 'WaitOperationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'timeout', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'timeout'}, - ], -}; - -/// Descriptor for `WaitOperationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List waitOperationRequestDescriptor = $convert.base64Decode( - 'ChRXYWl0T3BlcmF0aW9uUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEjMKB3RpbWVvdXQYAi' - 'ABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25SB3RpbWVvdXQ='); - -@$core.Deprecated('Use operationInfoDescriptor instead') -const OperationInfo$json = { - '1': 'OperationInfo', - '2': [ - {'1': 'response_type', '3': 1, '4': 1, '5': 9, '10': 'responseType'}, - {'1': 'metadata_type', '3': 2, '4': 1, '5': 9, '10': 'metadataType'}, - ], -}; - -/// Descriptor for `OperationInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List operationInfoDescriptor = $convert.base64Decode( - 'Cg1PcGVyYXRpb25JbmZvEiMKDXJlc3BvbnNlX3R5cGUYASABKAlSDHJlc3BvbnNlVHlwZRIjCg' - '1tZXRhZGF0YV90eXBlGAIgASgJUgxtZXRhZGF0YVR5cGU='); - diff --git a/lib/src/gen/google/protobuf/any.pb.dart b/lib/src/gen/google/protobuf/any.pb.dart deleted file mode 100644 index 212e7c74135..00000000000 --- a/lib/src/gen/google/protobuf/any.pb.dart +++ /dev/null @@ -1,208 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; -import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; - -/// `Any` contains an arbitrary serialized protocol buffer message along with a -/// URL that describes the type of the serialized message. -/// -/// Protobuf library provides support to pack/unpack Any values in the form -/// of utility functions or additional generated methods of the Any type. -/// -/// Example 1: Pack and unpack a message in C++. -/// -/// Foo foo = ...; -/// Any any; -/// any.PackFrom(foo); -/// ... -/// if (any.UnpackTo(&foo)) { -/// ... -/// } -/// -/// Example 2: Pack and unpack a message in Java. -/// -/// Foo foo = ...; -/// Any any = Any.pack(foo); -/// ... -/// if (any.is(Foo.class)) { -/// foo = any.unpack(Foo.class); -/// } -/// // or ... -/// if (any.isSameTypeAs(Foo.getDefaultInstance())) { -/// foo = any.unpack(Foo.getDefaultInstance()); -/// } -/// -/// Example 3: Pack and unpack a message in Python. -/// -/// foo = Foo(...) -/// any = Any() -/// any.Pack(foo) -/// ... -/// if any.Is(Foo.DESCRIPTOR): -/// any.Unpack(foo) -/// ... -/// -/// Example 4: Pack and unpack a message in Go -/// -/// foo := &pb.Foo{...} -/// any, err := anypb.New(foo) -/// if err != nil { -/// ... -/// } -/// ... -/// foo := &pb.Foo{} -/// if err := any.UnmarshalTo(foo); err != nil { -/// ... -/// } -/// -/// The pack methods provided by protobuf library will by default use -/// 'type.googleapis.com/full.type.name' as the type URL and the unpack -/// methods only use the fully qualified type name after the last '/' -/// in the type URL, for example "foo.bar.com/x/y.z" will yield type -/// name "y.z". -/// -/// JSON -/// ==== -/// The JSON representation of an `Any` value uses the regular -/// representation of the deserialized, embedded message, with an -/// additional field `@type` which contains the type URL. Example: -/// -/// package google.profile; -/// message Person { -/// string first_name = 1; -/// string last_name = 2; -/// } -/// -/// { -/// "@type": "type.googleapis.com/google.profile.Person", -/// "firstName": , -/// "lastName": -/// } -/// -/// If the embedded message type is well-known and has a custom JSON -/// representation, that representation will be embedded adding a field -/// `value` which holds the custom JSON in addition to the `@type` -/// field. Example (for message [google.protobuf.Duration][]): -/// -/// { -/// "@type": "type.googleapis.com/google.protobuf.Duration", -/// "value": "1.212s" -/// } -class Any extends $pb.GeneratedMessage with $mixin.AnyMixin { - factory Any({ - $core.String? typeUrl, - $core.List<$core.int>? value, - }) { - final $result = create(); - if (typeUrl != null) { - $result.typeUrl = typeUrl; - } - if (value != null) { - $result.value = value; - } - return $result; - } - Any._() : super(); - factory Any.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Any.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Any', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.AnyMixin.toProto3JsonHelper, fromProto3Json: $mixin.AnyMixin.fromProto3JsonHelper) - ..aOS(1, _omitFieldNames ? '' : 'typeUrl') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Any clone() => Any()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Any copyWith(void Function(Any) updates) => super.copyWith((message) => updates(message as Any)) as Any; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Any create() => Any._(); - Any createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Any getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Any? _defaultInstance; - - /// A URL/resource name that uniquely identifies the type of the serialized - /// protocol buffer message. This string must contain at least - /// one "/" character. The last segment of the URL's path must represent - /// the fully qualified name of the type (as in - /// `path/google.protobuf.Duration`). The name should be in a canonical form - /// (e.g., leading "." is not accepted). - /// - /// In practice, teams usually precompile into the binary all types that they - /// expect it to use in the context of Any. However, for URLs which use the - /// scheme `http`, `https`, or no scheme, one can optionally set up a type - /// server that maps type URLs to message definitions as follows: - /// - /// * If no scheme is provided, `https` is assumed. - /// * An HTTP GET on the URL must yield a [google.protobuf.Type][] - /// value in binary format, or produce an error. - /// * Applications are allowed to cache lookup results based on the - /// URL, or have them precompiled into a binary to avoid any - /// lookup. Therefore, binary compatibility needs to be preserved - /// on changes to types. (Use versioned type names to manage - /// breaking changes.) - /// - /// Note: this functionality is not currently available in the official - /// protobuf release, and it is not used for type URLs beginning with - /// type.googleapis.com. As of May 2023, there are no widely used type server - /// implementations and no plans to implement one. - /// - /// Schemes other than `http`, `https` (or the empty scheme) might be - /// used with implementation specific semantics. - @$pb.TagNumber(1) - $core.String get typeUrl => $_getSZ(0); - @$pb.TagNumber(1) - set typeUrl($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasTypeUrl() => $_has(0); - @$pb.TagNumber(1) - void clearTypeUrl() => clearField(1); - - /// Must be a valid serialized protocol buffer of the above specified type. - @$pb.TagNumber(2) - $core.List<$core.int> get value => $_getN(1); - @$pb.TagNumber(2) - set value($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(1); - @$pb.TagNumber(2) - void clearValue() => clearField(2); - /// Creates a new [Any] encoding [message]. - /// - /// The [typeUrl] will be [typeUrlPrefix]/`fullName` where `fullName` is - /// the fully qualified name of the type of [message]. - static Any pack($pb.GeneratedMessage message, - {$core.String typeUrlPrefix = 'type.googleapis.com'}) { - final result = create(); - $mixin.AnyMixin.packIntoAny(result, message, - typeUrlPrefix: typeUrlPrefix); - return result; - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/protobuf/any.pbenum.dart b/lib/src/gen/google/protobuf/any.pbenum.dart deleted file mode 100644 index effdb4759ff..00000000000 --- a/lib/src/gen/google/protobuf/any.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/protobuf/any.pbjson.dart b/lib/src/gen/google/protobuf/any.pbjson.dart deleted file mode 100644 index beaeb5faea6..00000000000 --- a/lib/src/gen/google/protobuf/any.pbjson.dart +++ /dev/null @@ -1,28 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/any.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use anyDescriptor instead') -const Any$json = { - '1': 'Any', - '2': [ - {'1': 'type_url', '3': 1, '4': 1, '5': 9, '10': 'typeUrl'}, - {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'}, - ], -}; - -/// Descriptor for `Any`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List anyDescriptor = $convert.base64Decode( - 'CgNBbnkSGQoIdHlwZV91cmwYASABKAlSB3R5cGVVcmwSFAoFdmFsdWUYAiABKAxSBXZhbHVl'); - diff --git a/lib/src/gen/google/protobuf/descriptor.pb.dart b/lib/src/gen/google/protobuf/descriptor.pb.dart deleted file mode 100644 index 453768ca0f4..00000000000 --- a/lib/src/gen/google/protobuf/descriptor.pb.dart +++ /dev/null @@ -1,3949 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/descriptor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'descriptor.pbenum.dart'; - -export 'descriptor.pbenum.dart'; - -/// The protocol compiler can output a FileDescriptorSet containing the .proto -/// files it parses. -class FileDescriptorSet extends $pb.GeneratedMessage { - factory FileDescriptorSet({ - $core.Iterable? file, - }) { - final $result = create(); - if (file != null) { - $result.file.addAll(file); - } - return $result; - } - FileDescriptorSet._() : super(); - factory FileDescriptorSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileDescriptorSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileDescriptorSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'file', $pb.PbFieldType.PM, subBuilder: FileDescriptorProto.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileDescriptorSet clone() => FileDescriptorSet()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileDescriptorSet copyWith(void Function(FileDescriptorSet) updates) => super.copyWith((message) => updates(message as FileDescriptorSet)) as FileDescriptorSet; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileDescriptorSet create() => FileDescriptorSet._(); - FileDescriptorSet createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileDescriptorSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileDescriptorSet? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get file => $_getList(0); -} - -/// Describes a complete .proto file. -class FileDescriptorProto extends $pb.GeneratedMessage { - factory FileDescriptorProto({ - $core.String? name, - $core.String? package, - $core.Iterable<$core.String>? dependency, - $core.Iterable? messageType, - $core.Iterable? enumType, - $core.Iterable? service, - $core.Iterable? extension, - FileOptions? options, - SourceCodeInfo? sourceCodeInfo, - $core.Iterable<$core.int>? publicDependency, - $core.Iterable<$core.int>? weakDependency, - $core.String? syntax, - Edition? edition, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (package != null) { - $result.package = package; - } - if (dependency != null) { - $result.dependency.addAll(dependency); - } - if (messageType != null) { - $result.messageType.addAll(messageType); - } - if (enumType != null) { - $result.enumType.addAll(enumType); - } - if (service != null) { - $result.service.addAll(service); - } - if (extension != null) { - $result.extension.addAll(extension); - } - if (options != null) { - $result.options = options; - } - if (sourceCodeInfo != null) { - $result.sourceCodeInfo = sourceCodeInfo; - } - if (publicDependency != null) { - $result.publicDependency.addAll(publicDependency); - } - if (weakDependency != null) { - $result.weakDependency.addAll(weakDependency); - } - if (syntax != null) { - $result.syntax = syntax; - } - if (edition != null) { - $result.edition = edition; - } - return $result; - } - FileDescriptorProto._() : super(); - factory FileDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'package') - ..pPS(3, _omitFieldNames ? '' : 'dependency') - ..pc(4, _omitFieldNames ? '' : 'messageType', $pb.PbFieldType.PM, subBuilder: DescriptorProto.create) - ..pc(5, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto.create) - ..pc(6, _omitFieldNames ? '' : 'service', $pb.PbFieldType.PM, subBuilder: ServiceDescriptorProto.create) - ..pc(7, _omitFieldNames ? '' : 'extension', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) - ..aOM(8, _omitFieldNames ? '' : 'options', subBuilder: FileOptions.create) - ..aOM(9, _omitFieldNames ? '' : 'sourceCodeInfo', subBuilder: SourceCodeInfo.create) - ..p<$core.int>(10, _omitFieldNames ? '' : 'publicDependency', $pb.PbFieldType.P3) - ..p<$core.int>(11, _omitFieldNames ? '' : 'weakDependency', $pb.PbFieldType.P3) - ..aOS(12, _omitFieldNames ? '' : 'syntax') - ..e(14, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileDescriptorProto clone() => FileDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileDescriptorProto copyWith(void Function(FileDescriptorProto) updates) => super.copyWith((message) => updates(message as FileDescriptorProto)) as FileDescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileDescriptorProto create() => FileDescriptorProto._(); - FileDescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileDescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get package => $_getSZ(1); - @$pb.TagNumber(2) - set package($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPackage() => $_has(1); - @$pb.TagNumber(2) - void clearPackage() => clearField(2); - - /// Names of files imported by this file. - @$pb.TagNumber(3) - $core.List<$core.String> get dependency => $_getList(2); - - /// All top-level definitions in this file. - @$pb.TagNumber(4) - $core.List get messageType => $_getList(3); - - @$pb.TagNumber(5) - $core.List get enumType => $_getList(4); - - @$pb.TagNumber(6) - $core.List get service => $_getList(5); - - @$pb.TagNumber(7) - $core.List get extension => $_getList(6); - - @$pb.TagNumber(8) - FileOptions get options => $_getN(7); - @$pb.TagNumber(8) - set options(FileOptions v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasOptions() => $_has(7); - @$pb.TagNumber(8) - void clearOptions() => clearField(8); - @$pb.TagNumber(8) - FileOptions ensureOptions() => $_ensure(7); - - /// This field contains optional information about the original source code. - /// You may safely remove this entire field without harming runtime - /// functionality of the descriptors -- the information is needed only by - /// development tools. - @$pb.TagNumber(9) - SourceCodeInfo get sourceCodeInfo => $_getN(8); - @$pb.TagNumber(9) - set sourceCodeInfo(SourceCodeInfo v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasSourceCodeInfo() => $_has(8); - @$pb.TagNumber(9) - void clearSourceCodeInfo() => clearField(9); - @$pb.TagNumber(9) - SourceCodeInfo ensureSourceCodeInfo() => $_ensure(8); - - /// Indexes of the public imported files in the dependency list above. - @$pb.TagNumber(10) - $core.List<$core.int> get publicDependency => $_getList(9); - - /// Indexes of the weak imported files in the dependency list. - /// For Google-internal migration only. Do not use. - @$pb.TagNumber(11) - $core.List<$core.int> get weakDependency => $_getList(10); - - /// The syntax of the proto file. - /// The supported values are "proto2", "proto3", and "editions". - /// - /// If `edition` is present, this value must be "editions". - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(12) - $core.String get syntax => $_getSZ(11); - @$pb.TagNumber(12) - set syntax($core.String v) { $_setString(11, v); } - @$pb.TagNumber(12) - $core.bool hasSyntax() => $_has(11); - @$pb.TagNumber(12) - void clearSyntax() => clearField(12); - - /// The edition of the proto file. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(14) - Edition get edition => $_getN(12); - @$pb.TagNumber(14) - set edition(Edition v) { setField(14, v); } - @$pb.TagNumber(14) - $core.bool hasEdition() => $_has(12); - @$pb.TagNumber(14) - void clearEdition() => clearField(14); -} - -class DescriptorProto_ExtensionRange extends $pb.GeneratedMessage { - factory DescriptorProto_ExtensionRange({ - $core.int? start, - $core.int? end, - ExtensionRangeOptions? options, - }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - if (options != null) { - $result.options = options; - } - return $result; - } - DescriptorProto_ExtensionRange._() : super(); - factory DescriptorProto_ExtensionRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DescriptorProto_ExtensionRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto.ExtensionRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) - ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ExtensionRangeOptions.create) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DescriptorProto_ExtensionRange clone() => DescriptorProto_ExtensionRange()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DescriptorProto_ExtensionRange copyWith(void Function(DescriptorProto_ExtensionRange) updates) => super.copyWith((message) => updates(message as DescriptorProto_ExtensionRange)) as DescriptorProto_ExtensionRange; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DescriptorProto_ExtensionRange create() => DescriptorProto_ExtensionRange._(); - DescriptorProto_ExtensionRange createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DescriptorProto_ExtensionRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DescriptorProto_ExtensionRange? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get start => $_getIZ(0); - @$pb.TagNumber(1) - set start($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasStart() => $_has(0); - @$pb.TagNumber(1) - void clearStart() => clearField(1); - - @$pb.TagNumber(2) - $core.int get end => $_getIZ(1); - @$pb.TagNumber(2) - set end($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasEnd() => $_has(1); - @$pb.TagNumber(2) - void clearEnd() => clearField(2); - - @$pb.TagNumber(3) - ExtensionRangeOptions get options => $_getN(2); - @$pb.TagNumber(3) - set options(ExtensionRangeOptions v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOptions() => $_has(2); - @$pb.TagNumber(3) - void clearOptions() => clearField(3); - @$pb.TagNumber(3) - ExtensionRangeOptions ensureOptions() => $_ensure(2); -} - -/// Range of reserved tag numbers. Reserved tag numbers may not be used by -/// fields or extension ranges in the same message. Reserved ranges may -/// not overlap. -class DescriptorProto_ReservedRange extends $pb.GeneratedMessage { - factory DescriptorProto_ReservedRange({ - $core.int? start, - $core.int? end, - }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - return $result; - } - DescriptorProto_ReservedRange._() : super(); - factory DescriptorProto_ReservedRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DescriptorProto_ReservedRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto.ReservedRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DescriptorProto_ReservedRange clone() => DescriptorProto_ReservedRange()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DescriptorProto_ReservedRange copyWith(void Function(DescriptorProto_ReservedRange) updates) => super.copyWith((message) => updates(message as DescriptorProto_ReservedRange)) as DescriptorProto_ReservedRange; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DescriptorProto_ReservedRange create() => DescriptorProto_ReservedRange._(); - DescriptorProto_ReservedRange createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DescriptorProto_ReservedRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DescriptorProto_ReservedRange? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get start => $_getIZ(0); - @$pb.TagNumber(1) - set start($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasStart() => $_has(0); - @$pb.TagNumber(1) - void clearStart() => clearField(1); - - @$pb.TagNumber(2) - $core.int get end => $_getIZ(1); - @$pb.TagNumber(2) - set end($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasEnd() => $_has(1); - @$pb.TagNumber(2) - void clearEnd() => clearField(2); -} - -/// Describes a message type. -class DescriptorProto extends $pb.GeneratedMessage { - factory DescriptorProto({ - $core.String? name, - $core.Iterable? field, - $core.Iterable? nestedType, - $core.Iterable? enumType, - $core.Iterable? extensionRange, - $core.Iterable? extension, - MessageOptions? options, - $core.Iterable? oneofDecl, - $core.Iterable? reservedRange, - $core.Iterable<$core.String>? reservedName, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (field != null) { - $result.field.addAll(field); - } - if (nestedType != null) { - $result.nestedType.addAll(nestedType); - } - if (enumType != null) { - $result.enumType.addAll(enumType); - } - if (extensionRange != null) { - $result.extensionRange.addAll(extensionRange); - } - if (extension != null) { - $result.extension.addAll(extension); - } - if (options != null) { - $result.options = options; - } - if (oneofDecl != null) { - $result.oneofDecl.addAll(oneofDecl); - } - if (reservedRange != null) { - $result.reservedRange.addAll(reservedRange); - } - if (reservedName != null) { - $result.reservedName.addAll(reservedName); - } - return $result; - } - DescriptorProto._() : super(); - factory DescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pc(2, _omitFieldNames ? '' : 'field', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) - ..pc(3, _omitFieldNames ? '' : 'nestedType', $pb.PbFieldType.PM, subBuilder: DescriptorProto.create) - ..pc(4, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto.create) - ..pc(5, _omitFieldNames ? '' : 'extensionRange', $pb.PbFieldType.PM, subBuilder: DescriptorProto_ExtensionRange.create) - ..pc(6, _omitFieldNames ? '' : 'extension', $pb.PbFieldType.PM, subBuilder: FieldDescriptorProto.create) - ..aOM(7, _omitFieldNames ? '' : 'options', subBuilder: MessageOptions.create) - ..pc(8, _omitFieldNames ? '' : 'oneofDecl', $pb.PbFieldType.PM, subBuilder: OneofDescriptorProto.create) - ..pc(9, _omitFieldNames ? '' : 'reservedRange', $pb.PbFieldType.PM, subBuilder: DescriptorProto_ReservedRange.create) - ..pPS(10, _omitFieldNames ? '' : 'reservedName') - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DescriptorProto clone() => DescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DescriptorProto copyWith(void Function(DescriptorProto) updates) => super.copyWith((message) => updates(message as DescriptorProto)) as DescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DescriptorProto create() => DescriptorProto._(); - DescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.List get field => $_getList(1); - - @$pb.TagNumber(3) - $core.List get nestedType => $_getList(2); - - @$pb.TagNumber(4) - $core.List get enumType => $_getList(3); - - @$pb.TagNumber(5) - $core.List get extensionRange => $_getList(4); - - @$pb.TagNumber(6) - $core.List get extension => $_getList(5); - - @$pb.TagNumber(7) - MessageOptions get options => $_getN(6); - @$pb.TagNumber(7) - set options(MessageOptions v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasOptions() => $_has(6); - @$pb.TagNumber(7) - void clearOptions() => clearField(7); - @$pb.TagNumber(7) - MessageOptions ensureOptions() => $_ensure(6); - - @$pb.TagNumber(8) - $core.List get oneofDecl => $_getList(7); - - @$pb.TagNumber(9) - $core.List get reservedRange => $_getList(8); - - /// Reserved field names, which may not be used by fields in the same message. - /// A given name may only be reserved once. - @$pb.TagNumber(10) - $core.List<$core.String> get reservedName => $_getList(9); -} - -class ExtensionRangeOptions_Declaration extends $pb.GeneratedMessage { - factory ExtensionRangeOptions_Declaration({ - $core.int? number, - $core.String? fullName, - $core.String? type, - $core.bool? reserved, - $core.bool? repeated, - }) { - final $result = create(); - if (number != null) { - $result.number = number; - } - if (fullName != null) { - $result.fullName = fullName; - } - if (type != null) { - $result.type = type; - } - if (reserved != null) { - $result.reserved = reserved; - } - if (repeated != null) { - $result.repeated = repeated; - } - return $result; - } - ExtensionRangeOptions_Declaration._() : super(); - factory ExtensionRangeOptions_Declaration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExtensionRangeOptions_Declaration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionRangeOptions.Declaration', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'fullName') - ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOB(5, _omitFieldNames ? '' : 'reserved') - ..aOB(6, _omitFieldNames ? '' : 'repeated') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExtensionRangeOptions_Declaration clone() => ExtensionRangeOptions_Declaration()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExtensionRangeOptions_Declaration copyWith(void Function(ExtensionRangeOptions_Declaration) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions_Declaration)) as ExtensionRangeOptions_Declaration; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExtensionRangeOptions_Declaration create() => ExtensionRangeOptions_Declaration._(); - ExtensionRangeOptions_Declaration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExtensionRangeOptions_Declaration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExtensionRangeOptions_Declaration? _defaultInstance; - - /// The extension number declared within the extension range. - @$pb.TagNumber(1) - $core.int get number => $_getIZ(0); - @$pb.TagNumber(1) - set number($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasNumber() => $_has(0); - @$pb.TagNumber(1) - void clearNumber() => clearField(1); - - /// The fully-qualified name of the extension field. There must be a leading - /// dot in front of the full name. - @$pb.TagNumber(2) - $core.String get fullName => $_getSZ(1); - @$pb.TagNumber(2) - set fullName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFullName() => $_has(1); - @$pb.TagNumber(2) - void clearFullName() => clearField(2); - - /// The fully-qualified type name of the extension field. Unlike - /// Metadata.type, Declaration.type must have a leading dot for messages - /// and enums. - @$pb.TagNumber(3) - $core.String get type => $_getSZ(2); - @$pb.TagNumber(3) - set type($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasType() => $_has(2); - @$pb.TagNumber(3) - void clearType() => clearField(3); - - /// If true, indicates that the number is reserved in the extension range, - /// and any extension field with the number will fail to compile. Set this - /// when a declared extension field is deleted. - @$pb.TagNumber(5) - $core.bool get reserved => $_getBF(3); - @$pb.TagNumber(5) - set reserved($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(5) - $core.bool hasReserved() => $_has(3); - @$pb.TagNumber(5) - void clearReserved() => clearField(5); - - /// If true, indicates that the extension must be defined as repeated. - /// Otherwise the extension must be defined as optional. - @$pb.TagNumber(6) - $core.bool get repeated => $_getBF(4); - @$pb.TagNumber(6) - set repeated($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(6) - $core.bool hasRepeated() => $_has(4); - @$pb.TagNumber(6) - void clearRepeated() => clearField(6); -} - -class ExtensionRangeOptions extends $pb.GeneratedMessage { - factory ExtensionRangeOptions({ - $core.Iterable? declaration, - ExtensionRangeOptions_VerificationState? verification, - FeatureSet? features, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (declaration != null) { - $result.declaration.addAll(declaration); - } - if (verification != null) { - $result.verification = verification; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - ExtensionRangeOptions._() : super(); - factory ExtensionRangeOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExtensionRangeOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionRangeOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(2, _omitFieldNames ? '' : 'declaration', $pb.PbFieldType.PM, subBuilder: ExtensionRangeOptions_Declaration.create) - ..e(3, _omitFieldNames ? '' : 'verification', $pb.PbFieldType.OE, defaultOrMaker: ExtensionRangeOptions_VerificationState.UNVERIFIED, valueOf: ExtensionRangeOptions_VerificationState.valueOf, enumValues: ExtensionRangeOptions_VerificationState.values) - ..aOM(50, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExtensionRangeOptions clone() => ExtensionRangeOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExtensionRangeOptions copyWith(void Function(ExtensionRangeOptions) updates) => super.copyWith((message) => updates(message as ExtensionRangeOptions)) as ExtensionRangeOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExtensionRangeOptions create() => ExtensionRangeOptions._(); - ExtensionRangeOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExtensionRangeOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExtensionRangeOptions? _defaultInstance; - - /// For external users: DO NOT USE. We are in the process of open sourcing - /// extension declaration and executing internal cleanups before it can be - /// used externally. - @$pb.TagNumber(2) - $core.List get declaration => $_getList(0); - - /// The verification state of the range. - /// TODO: flip the default to DECLARATION once all empty ranges - /// are marked as UNVERIFIED. - @$pb.TagNumber(3) - ExtensionRangeOptions_VerificationState get verification => $_getN(1); - @$pb.TagNumber(3) - set verification(ExtensionRangeOptions_VerificationState v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasVerification() => $_has(1); - @$pb.TagNumber(3) - void clearVerification() => clearField(3); - - /// Any features defined in the specific edition. - @$pb.TagNumber(50) - FeatureSet get features => $_getN(2); - @$pb.TagNumber(50) - set features(FeatureSet v) { setField(50, v); } - @$pb.TagNumber(50) - $core.bool hasFeatures() => $_has(2); - @$pb.TagNumber(50) - void clearFeatures() => clearField(50); - @$pb.TagNumber(50) - FeatureSet ensureFeatures() => $_ensure(2); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(3); -} - -/// Describes a field within a message. -class FieldDescriptorProto extends $pb.GeneratedMessage { - factory FieldDescriptorProto({ - $core.String? name, - $core.String? extendee, - $core.int? number, - FieldDescriptorProto_Label? label, - FieldDescriptorProto_Type? type, - $core.String? typeName, - $core.String? defaultValue, - FieldOptions? options, - $core.int? oneofIndex, - $core.String? jsonName, - $core.bool? proto3Optional, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extendee != null) { - $result.extendee = extendee; - } - if (number != null) { - $result.number = number; - } - if (label != null) { - $result.label = label; - } - if (type != null) { - $result.type = type; - } - if (typeName != null) { - $result.typeName = typeName; - } - if (defaultValue != null) { - $result.defaultValue = defaultValue; - } - if (options != null) { - $result.options = options; - } - if (oneofIndex != null) { - $result.oneofIndex = oneofIndex; - } - if (jsonName != null) { - $result.jsonName = jsonName; - } - if (proto3Optional != null) { - $result.proto3Optional = proto3Optional; - } - return $result; - } - FieldDescriptorProto._() : super(); - factory FieldDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FieldDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'extendee') - ..a<$core.int>(3, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) - ..e(4, _omitFieldNames ? '' : 'label', $pb.PbFieldType.OE, defaultOrMaker: FieldDescriptorProto_Label.LABEL_OPTIONAL, valueOf: FieldDescriptorProto_Label.valueOf, enumValues: FieldDescriptorProto_Label.values) - ..e(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: FieldDescriptorProto_Type.TYPE_DOUBLE, valueOf: FieldDescriptorProto_Type.valueOf, enumValues: FieldDescriptorProto_Type.values) - ..aOS(6, _omitFieldNames ? '' : 'typeName') - ..aOS(7, _omitFieldNames ? '' : 'defaultValue') - ..aOM(8, _omitFieldNames ? '' : 'options', subBuilder: FieldOptions.create) - ..a<$core.int>(9, _omitFieldNames ? '' : 'oneofIndex', $pb.PbFieldType.O3) - ..aOS(10, _omitFieldNames ? '' : 'jsonName') - ..aOB(17, _omitFieldNames ? '' : 'proto3Optional') - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FieldDescriptorProto clone() => FieldDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FieldDescriptorProto copyWith(void Function(FieldDescriptorProto) updates) => super.copyWith((message) => updates(message as FieldDescriptorProto)) as FieldDescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FieldDescriptorProto create() => FieldDescriptorProto._(); - FieldDescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FieldDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FieldDescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// For extensions, this is the name of the type being extended. It is - /// resolved in the same manner as type_name. - @$pb.TagNumber(2) - $core.String get extendee => $_getSZ(1); - @$pb.TagNumber(2) - set extendee($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasExtendee() => $_has(1); - @$pb.TagNumber(2) - void clearExtendee() => clearField(2); - - @$pb.TagNumber(3) - $core.int get number => $_getIZ(2); - @$pb.TagNumber(3) - set number($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasNumber() => $_has(2); - @$pb.TagNumber(3) - void clearNumber() => clearField(3); - - @$pb.TagNumber(4) - FieldDescriptorProto_Label get label => $_getN(3); - @$pb.TagNumber(4) - set label(FieldDescriptorProto_Label v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasLabel() => $_has(3); - @$pb.TagNumber(4) - void clearLabel() => clearField(4); - - /// If type_name is set, this need not be set. If both this and type_name - /// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - @$pb.TagNumber(5) - FieldDescriptorProto_Type get type => $_getN(4); - @$pb.TagNumber(5) - set type(FieldDescriptorProto_Type v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasType() => $_has(4); - @$pb.TagNumber(5) - void clearType() => clearField(5); - - /// For message and enum types, this is the name of the type. If the name - /// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - /// rules are used to find the type (i.e. first the nested types within this - /// message are searched, then within the parent, on up to the root - /// namespace). - @$pb.TagNumber(6) - $core.String get typeName => $_getSZ(5); - @$pb.TagNumber(6) - set typeName($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasTypeName() => $_has(5); - @$pb.TagNumber(6) - void clearTypeName() => clearField(6); - - /// For numeric types, contains the original text representation of the value. - /// For booleans, "true" or "false". - /// For strings, contains the default text contents (not escaped in any way). - /// For bytes, contains the C escaped value. All bytes >= 128 are escaped. - @$pb.TagNumber(7) - $core.String get defaultValue => $_getSZ(6); - @$pb.TagNumber(7) - set defaultValue($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasDefaultValue() => $_has(6); - @$pb.TagNumber(7) - void clearDefaultValue() => clearField(7); - - @$pb.TagNumber(8) - FieldOptions get options => $_getN(7); - @$pb.TagNumber(8) - set options(FieldOptions v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasOptions() => $_has(7); - @$pb.TagNumber(8) - void clearOptions() => clearField(8); - @$pb.TagNumber(8) - FieldOptions ensureOptions() => $_ensure(7); - - /// If set, gives the index of a oneof in the containing type's oneof_decl - /// list. This field is a member of that oneof. - @$pb.TagNumber(9) - $core.int get oneofIndex => $_getIZ(8); - @$pb.TagNumber(9) - set oneofIndex($core.int v) { $_setSignedInt32(8, v); } - @$pb.TagNumber(9) - $core.bool hasOneofIndex() => $_has(8); - @$pb.TagNumber(9) - void clearOneofIndex() => clearField(9); - - /// JSON name of this field. The value is set by protocol compiler. If the - /// user has set a "json_name" option on this field, that option's value - /// will be used. Otherwise, it's deduced from the field's name by converting - /// it to camelCase. - @$pb.TagNumber(10) - $core.String get jsonName => $_getSZ(9); - @$pb.TagNumber(10) - set jsonName($core.String v) { $_setString(9, v); } - @$pb.TagNumber(10) - $core.bool hasJsonName() => $_has(9); - @$pb.TagNumber(10) - void clearJsonName() => clearField(10); - - /// If true, this is a proto3 "optional". When a proto3 field is optional, it - /// tracks presence regardless of field type. - /// - /// When proto3_optional is true, this field must belong to a oneof to signal - /// to old proto3 clients that presence is tracked for this field. This oneof - /// is known as a "synthetic" oneof, and this field must be its sole member - /// (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs - /// exist in the descriptor only, and do not generate any API. Synthetic oneofs - /// must be ordered after all "real" oneofs. - /// - /// For message fields, proto3_optional doesn't create any semantic change, - /// since non-repeated message fields always track presence. However it still - /// indicates the semantic detail of whether the user wrote "optional" or not. - /// This can be useful for round-tripping the .proto file. For consistency we - /// give message fields a synthetic oneof also, even though it is not required - /// to track presence. This is especially important because the parser can't - /// tell if a field is a message or an enum, so it must always create a - /// synthetic oneof. - /// - /// Proto2 optional fields do not set this flag, because they already indicate - /// optional with `LABEL_OPTIONAL`. - @$pb.TagNumber(17) - $core.bool get proto3Optional => $_getBF(10); - @$pb.TagNumber(17) - set proto3Optional($core.bool v) { $_setBool(10, v); } - @$pb.TagNumber(17) - $core.bool hasProto3Optional() => $_has(10); - @$pb.TagNumber(17) - void clearProto3Optional() => clearField(17); -} - -/// Describes a oneof. -class OneofDescriptorProto extends $pb.GeneratedMessage { - factory OneofDescriptorProto({ - $core.String? name, - OneofOptions? options, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (options != null) { - $result.options = options; - } - return $result; - } - OneofDescriptorProto._() : super(); - factory OneofDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OneofDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OneofDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM(2, _omitFieldNames ? '' : 'options', subBuilder: OneofOptions.create) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OneofDescriptorProto clone() => OneofDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OneofDescriptorProto copyWith(void Function(OneofDescriptorProto) updates) => super.copyWith((message) => updates(message as OneofDescriptorProto)) as OneofDescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OneofDescriptorProto create() => OneofDescriptorProto._(); - OneofDescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OneofDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OneofDescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - OneofOptions get options => $_getN(1); - @$pb.TagNumber(2) - set options(OneofOptions v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasOptions() => $_has(1); - @$pb.TagNumber(2) - void clearOptions() => clearField(2); - @$pb.TagNumber(2) - OneofOptions ensureOptions() => $_ensure(1); -} - -/// Range of reserved numeric values. Reserved values may not be used by -/// entries in the same enum. Reserved ranges may not overlap. -/// -/// Note that this is distinct from DescriptorProto.ReservedRange in that it -/// is inclusive such that it can appropriately represent the entire int32 -/// domain. -class EnumDescriptorProto_EnumReservedRange extends $pb.GeneratedMessage { - factory EnumDescriptorProto_EnumReservedRange({ - $core.int? start, - $core.int? end, - }) { - final $result = create(); - if (start != null) { - $result.start = start; - } - if (end != null) { - $result.end = end; - } - return $result; - } - EnumDescriptorProto_EnumReservedRange._() : super(); - factory EnumDescriptorProto_EnumReservedRange.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnumDescriptorProto_EnumReservedRange.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumDescriptorProto.EnumReservedRange', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'start', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnumDescriptorProto_EnumReservedRange clone() => EnumDescriptorProto_EnumReservedRange()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnumDescriptorProto_EnumReservedRange copyWith(void Function(EnumDescriptorProto_EnumReservedRange) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto_EnumReservedRange)) as EnumDescriptorProto_EnumReservedRange; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnumDescriptorProto_EnumReservedRange create() => EnumDescriptorProto_EnumReservedRange._(); - EnumDescriptorProto_EnumReservedRange createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnumDescriptorProto_EnumReservedRange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnumDescriptorProto_EnumReservedRange? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get start => $_getIZ(0); - @$pb.TagNumber(1) - set start($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasStart() => $_has(0); - @$pb.TagNumber(1) - void clearStart() => clearField(1); - - @$pb.TagNumber(2) - $core.int get end => $_getIZ(1); - @$pb.TagNumber(2) - set end($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasEnd() => $_has(1); - @$pb.TagNumber(2) - void clearEnd() => clearField(2); -} - -/// Describes an enum type. -class EnumDescriptorProto extends $pb.GeneratedMessage { - factory EnumDescriptorProto({ - $core.String? name, - $core.Iterable? value, - EnumOptions? options, - $core.Iterable? reservedRange, - $core.Iterable<$core.String>? reservedName, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (value != null) { - $result.value.addAll(value); - } - if (options != null) { - $result.options = options; - } - if (reservedRange != null) { - $result.reservedRange.addAll(reservedRange); - } - if (reservedName != null) { - $result.reservedName.addAll(reservedName); - } - return $result; - } - EnumDescriptorProto._() : super(); - factory EnumDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnumDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pc(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.PM, subBuilder: EnumValueDescriptorProto.create) - ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumOptions.create) - ..pc(4, _omitFieldNames ? '' : 'reservedRange', $pb.PbFieldType.PM, subBuilder: EnumDescriptorProto_EnumReservedRange.create) - ..pPS(5, _omitFieldNames ? '' : 'reservedName') - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnumDescriptorProto clone() => EnumDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnumDescriptorProto copyWith(void Function(EnumDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumDescriptorProto)) as EnumDescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnumDescriptorProto create() => EnumDescriptorProto._(); - EnumDescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnumDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnumDescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.List get value => $_getList(1); - - @$pb.TagNumber(3) - EnumOptions get options => $_getN(2); - @$pb.TagNumber(3) - set options(EnumOptions v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOptions() => $_has(2); - @$pb.TagNumber(3) - void clearOptions() => clearField(3); - @$pb.TagNumber(3) - EnumOptions ensureOptions() => $_ensure(2); - - /// Range of reserved numeric values. Reserved numeric values may not be used - /// by enum values in the same enum declaration. Reserved ranges may not - /// overlap. - @$pb.TagNumber(4) - $core.List get reservedRange => $_getList(3); - - /// Reserved enum value names, which may not be reused. A given name may only - /// be reserved once. - @$pb.TagNumber(5) - $core.List<$core.String> get reservedName => $_getList(4); -} - -/// Describes a value within an enum. -class EnumValueDescriptorProto extends $pb.GeneratedMessage { - factory EnumValueDescriptorProto({ - $core.String? name, - $core.int? number, - EnumValueOptions? options, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (number != null) { - $result.number = number; - } - if (options != null) { - $result.options = options; - } - return $result; - } - EnumValueDescriptorProto._() : super(); - factory EnumValueDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnumValueDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValueDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.int>(2, _omitFieldNames ? '' : 'number', $pb.PbFieldType.O3) - ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: EnumValueOptions.create) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnumValueDescriptorProto clone() => EnumValueDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnumValueDescriptorProto copyWith(void Function(EnumValueDescriptorProto) updates) => super.copyWith((message) => updates(message as EnumValueDescriptorProto)) as EnumValueDescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnumValueDescriptorProto create() => EnumValueDescriptorProto._(); - EnumValueDescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnumValueDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnumValueDescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.int get number => $_getIZ(1); - @$pb.TagNumber(2) - set number($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasNumber() => $_has(1); - @$pb.TagNumber(2) - void clearNumber() => clearField(2); - - @$pb.TagNumber(3) - EnumValueOptions get options => $_getN(2); - @$pb.TagNumber(3) - set options(EnumValueOptions v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOptions() => $_has(2); - @$pb.TagNumber(3) - void clearOptions() => clearField(3); - @$pb.TagNumber(3) - EnumValueOptions ensureOptions() => $_ensure(2); -} - -/// Describes a service. -class ServiceDescriptorProto extends $pb.GeneratedMessage { - factory ServiceDescriptorProto({ - $core.String? name, - $core.Iterable? method, - ServiceOptions? options, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (method != null) { - $result.method.addAll(method); - } - if (options != null) { - $result.options = options; - } - return $result; - } - ServiceDescriptorProto._() : super(); - factory ServiceDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ServiceDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pc(2, _omitFieldNames ? '' : 'method', $pb.PbFieldType.PM, subBuilder: MethodDescriptorProto.create) - ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: ServiceOptions.create) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ServiceDescriptorProto clone() => ServiceDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ServiceDescriptorProto copyWith(void Function(ServiceDescriptorProto) updates) => super.copyWith((message) => updates(message as ServiceDescriptorProto)) as ServiceDescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ServiceDescriptorProto create() => ServiceDescriptorProto._(); - ServiceDescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ServiceDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ServiceDescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.List get method => $_getList(1); - - @$pb.TagNumber(3) - ServiceOptions get options => $_getN(2); - @$pb.TagNumber(3) - set options(ServiceOptions v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOptions() => $_has(2); - @$pb.TagNumber(3) - void clearOptions() => clearField(3); - @$pb.TagNumber(3) - ServiceOptions ensureOptions() => $_ensure(2); -} - -/// Describes a method of a service. -class MethodDescriptorProto extends $pb.GeneratedMessage { - factory MethodDescriptorProto({ - $core.String? name, - $core.String? inputType, - $core.String? outputType, - MethodOptions? options, - $core.bool? clientStreaming, - $core.bool? serverStreaming, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (inputType != null) { - $result.inputType = inputType; - } - if (outputType != null) { - $result.outputType = outputType; - } - if (options != null) { - $result.options = options; - } - if (clientStreaming != null) { - $result.clientStreaming = clientStreaming; - } - if (serverStreaming != null) { - $result.serverStreaming = serverStreaming; - } - return $result; - } - MethodDescriptorProto._() : super(); - factory MethodDescriptorProto.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MethodDescriptorProto.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodDescriptorProto', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'inputType') - ..aOS(3, _omitFieldNames ? '' : 'outputType') - ..aOM(4, _omitFieldNames ? '' : 'options', subBuilder: MethodOptions.create) - ..aOB(5, _omitFieldNames ? '' : 'clientStreaming') - ..aOB(6, _omitFieldNames ? '' : 'serverStreaming') - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MethodDescriptorProto clone() => MethodDescriptorProto()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MethodDescriptorProto copyWith(void Function(MethodDescriptorProto) updates) => super.copyWith((message) => updates(message as MethodDescriptorProto)) as MethodDescriptorProto; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MethodDescriptorProto create() => MethodDescriptorProto._(); - MethodDescriptorProto createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MethodDescriptorProto getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MethodDescriptorProto? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Input and output type names. These are resolved in the same way as - /// FieldDescriptorProto.type_name, but must refer to a message type. - @$pb.TagNumber(2) - $core.String get inputType => $_getSZ(1); - @$pb.TagNumber(2) - set inputType($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasInputType() => $_has(1); - @$pb.TagNumber(2) - void clearInputType() => clearField(2); - - @$pb.TagNumber(3) - $core.String get outputType => $_getSZ(2); - @$pb.TagNumber(3) - set outputType($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasOutputType() => $_has(2); - @$pb.TagNumber(3) - void clearOutputType() => clearField(3); - - @$pb.TagNumber(4) - MethodOptions get options => $_getN(3); - @$pb.TagNumber(4) - set options(MethodOptions v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasOptions() => $_has(3); - @$pb.TagNumber(4) - void clearOptions() => clearField(4); - @$pb.TagNumber(4) - MethodOptions ensureOptions() => $_ensure(3); - - /// Identifies if client streams multiple client messages - @$pb.TagNumber(5) - $core.bool get clientStreaming => $_getBF(4); - @$pb.TagNumber(5) - set clientStreaming($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasClientStreaming() => $_has(4); - @$pb.TagNumber(5) - void clearClientStreaming() => clearField(5); - - /// Identifies if server streams multiple server messages - @$pb.TagNumber(6) - $core.bool get serverStreaming => $_getBF(5); - @$pb.TagNumber(6) - set serverStreaming($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(6) - $core.bool hasServerStreaming() => $_has(5); - @$pb.TagNumber(6) - void clearServerStreaming() => clearField(6); -} - -class FileOptions extends $pb.GeneratedMessage { - factory FileOptions({ - $core.String? javaPackage, - $core.String? javaOuterClassname, - FileOptions_OptimizeMode? optimizeFor, - $core.bool? javaMultipleFiles, - $core.String? goPackage, - $core.bool? ccGenericServices, - $core.bool? javaGenericServices, - $core.bool? pyGenericServices, - @$core.Deprecated('This field is deprecated.') - $core.bool? javaGenerateEqualsAndHash, - $core.bool? deprecated, - $core.bool? javaStringCheckUtf8, - $core.bool? ccEnableArenas, - $core.String? objcClassPrefix, - $core.String? csharpNamespace, - $core.String? swiftPrefix, - $core.String? phpClassPrefix, - $core.String? phpNamespace, - $core.String? phpMetadataNamespace, - $core.String? rubyPackage, - FeatureSet? features, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (javaPackage != null) { - $result.javaPackage = javaPackage; - } - if (javaOuterClassname != null) { - $result.javaOuterClassname = javaOuterClassname; - } - if (optimizeFor != null) { - $result.optimizeFor = optimizeFor; - } - if (javaMultipleFiles != null) { - $result.javaMultipleFiles = javaMultipleFiles; - } - if (goPackage != null) { - $result.goPackage = goPackage; - } - if (ccGenericServices != null) { - $result.ccGenericServices = ccGenericServices; - } - if (javaGenericServices != null) { - $result.javaGenericServices = javaGenericServices; - } - if (pyGenericServices != null) { - $result.pyGenericServices = pyGenericServices; - } - if (javaGenerateEqualsAndHash != null) { - // ignore: deprecated_member_use_from_same_package - $result.javaGenerateEqualsAndHash = javaGenerateEqualsAndHash; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (javaStringCheckUtf8 != null) { - $result.javaStringCheckUtf8 = javaStringCheckUtf8; - } - if (ccEnableArenas != null) { - $result.ccEnableArenas = ccEnableArenas; - } - if (objcClassPrefix != null) { - $result.objcClassPrefix = objcClassPrefix; - } - if (csharpNamespace != null) { - $result.csharpNamespace = csharpNamespace; - } - if (swiftPrefix != null) { - $result.swiftPrefix = swiftPrefix; - } - if (phpClassPrefix != null) { - $result.phpClassPrefix = phpClassPrefix; - } - if (phpNamespace != null) { - $result.phpNamespace = phpNamespace; - } - if (phpMetadataNamespace != null) { - $result.phpMetadataNamespace = phpMetadataNamespace; - } - if (rubyPackage != null) { - $result.rubyPackage = rubyPackage; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - FileOptions._() : super(); - factory FileOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'javaPackage') - ..aOS(8, _omitFieldNames ? '' : 'javaOuterClassname') - ..e(9, _omitFieldNames ? '' : 'optimizeFor', $pb.PbFieldType.OE, defaultOrMaker: FileOptions_OptimizeMode.SPEED, valueOf: FileOptions_OptimizeMode.valueOf, enumValues: FileOptions_OptimizeMode.values) - ..aOB(10, _omitFieldNames ? '' : 'javaMultipleFiles') - ..aOS(11, _omitFieldNames ? '' : 'goPackage') - ..aOB(16, _omitFieldNames ? '' : 'ccGenericServices') - ..aOB(17, _omitFieldNames ? '' : 'javaGenericServices') - ..aOB(18, _omitFieldNames ? '' : 'pyGenericServices') - ..aOB(20, _omitFieldNames ? '' : 'javaGenerateEqualsAndHash') - ..aOB(23, _omitFieldNames ? '' : 'deprecated') - ..aOB(27, _omitFieldNames ? '' : 'javaStringCheckUtf8') - ..a<$core.bool>(31, _omitFieldNames ? '' : 'ccEnableArenas', $pb.PbFieldType.OB, defaultOrMaker: true) - ..aOS(36, _omitFieldNames ? '' : 'objcClassPrefix') - ..aOS(37, _omitFieldNames ? '' : 'csharpNamespace') - ..aOS(39, _omitFieldNames ? '' : 'swiftPrefix') - ..aOS(40, _omitFieldNames ? '' : 'phpClassPrefix') - ..aOS(41, _omitFieldNames ? '' : 'phpNamespace') - ..aOS(44, _omitFieldNames ? '' : 'phpMetadataNamespace') - ..aOS(45, _omitFieldNames ? '' : 'rubyPackage') - ..aOM(50, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileOptions clone() => FileOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileOptions copyWith(void Function(FileOptions) updates) => super.copyWith((message) => updates(message as FileOptions)) as FileOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileOptions create() => FileOptions._(); - FileOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileOptions? _defaultInstance; - - /// Sets the Java package where classes generated from this .proto will be - /// placed. By default, the proto package is used, but this is often - /// inappropriate because proto packages do not normally start with backwards - /// domain names. - @$pb.TagNumber(1) - $core.String get javaPackage => $_getSZ(0); - @$pb.TagNumber(1) - set javaPackage($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasJavaPackage() => $_has(0); - @$pb.TagNumber(1) - void clearJavaPackage() => clearField(1); - - /// Controls the name of the wrapper Java class generated for the .proto file. - /// That class will always contain the .proto file's getDescriptor() method as - /// well as any top-level extensions defined in the .proto file. - /// If java_multiple_files is disabled, then all the other classes from the - /// .proto file will be nested inside the single wrapper outer class. - @$pb.TagNumber(8) - $core.String get javaOuterClassname => $_getSZ(1); - @$pb.TagNumber(8) - set javaOuterClassname($core.String v) { $_setString(1, v); } - @$pb.TagNumber(8) - $core.bool hasJavaOuterClassname() => $_has(1); - @$pb.TagNumber(8) - void clearJavaOuterClassname() => clearField(8); - - @$pb.TagNumber(9) - FileOptions_OptimizeMode get optimizeFor => $_getN(2); - @$pb.TagNumber(9) - set optimizeFor(FileOptions_OptimizeMode v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasOptimizeFor() => $_has(2); - @$pb.TagNumber(9) - void clearOptimizeFor() => clearField(9); - - /// If enabled, then the Java code generator will generate a separate .java - /// file for each top-level message, enum, and service defined in the .proto - /// file. Thus, these types will *not* be nested inside the wrapper class - /// named by java_outer_classname. However, the wrapper class will still be - /// generated to contain the file's getDescriptor() method as well as any - /// top-level extensions defined in the file. - @$pb.TagNumber(10) - $core.bool get javaMultipleFiles => $_getBF(3); - @$pb.TagNumber(10) - set javaMultipleFiles($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(10) - $core.bool hasJavaMultipleFiles() => $_has(3); - @$pb.TagNumber(10) - void clearJavaMultipleFiles() => clearField(10); - - /// Sets the Go package where structs generated from this .proto will be - /// placed. If omitted, the Go package will be derived from the following: - /// - The basename of the package import path, if provided. - /// - Otherwise, the package statement in the .proto file, if present. - /// - Otherwise, the basename of the .proto file, without extension. - @$pb.TagNumber(11) - $core.String get goPackage => $_getSZ(4); - @$pb.TagNumber(11) - set goPackage($core.String v) { $_setString(4, v); } - @$pb.TagNumber(11) - $core.bool hasGoPackage() => $_has(4); - @$pb.TagNumber(11) - void clearGoPackage() => clearField(11); - - /// Should generic services be generated in each language? "Generic" services - /// are not specific to any particular RPC system. They are generated by the - /// main code generators in each language (without additional plugins). - /// Generic services were the only kind of service generation supported by - /// early versions of google.protobuf. - /// - /// Generic services are now considered deprecated in favor of using plugins - /// that generate code specific to your particular RPC system. Therefore, - /// these default to false. Old code which depends on generic services should - /// explicitly set them to true. - @$pb.TagNumber(16) - $core.bool get ccGenericServices => $_getBF(5); - @$pb.TagNumber(16) - set ccGenericServices($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(16) - $core.bool hasCcGenericServices() => $_has(5); - @$pb.TagNumber(16) - void clearCcGenericServices() => clearField(16); - - @$pb.TagNumber(17) - $core.bool get javaGenericServices => $_getBF(6); - @$pb.TagNumber(17) - set javaGenericServices($core.bool v) { $_setBool(6, v); } - @$pb.TagNumber(17) - $core.bool hasJavaGenericServices() => $_has(6); - @$pb.TagNumber(17) - void clearJavaGenericServices() => clearField(17); - - @$pb.TagNumber(18) - $core.bool get pyGenericServices => $_getBF(7); - @$pb.TagNumber(18) - set pyGenericServices($core.bool v) { $_setBool(7, v); } - @$pb.TagNumber(18) - $core.bool hasPyGenericServices() => $_has(7); - @$pb.TagNumber(18) - void clearPyGenericServices() => clearField(18); - - /// This option does nothing. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(20) - $core.bool get javaGenerateEqualsAndHash => $_getBF(8); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(20) - set javaGenerateEqualsAndHash($core.bool v) { $_setBool(8, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(20) - $core.bool hasJavaGenerateEqualsAndHash() => $_has(8); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(20) - void clearJavaGenerateEqualsAndHash() => clearField(20); - - /// Is this file deprecated? - /// Depending on the target platform, this can emit Deprecated annotations - /// for everything in the file, or it will be completely ignored; in the very - /// least, this is a formalization for deprecating files. - @$pb.TagNumber(23) - $core.bool get deprecated => $_getBF(9); - @$pb.TagNumber(23) - set deprecated($core.bool v) { $_setBool(9, v); } - @$pb.TagNumber(23) - $core.bool hasDeprecated() => $_has(9); - @$pb.TagNumber(23) - void clearDeprecated() => clearField(23); - - /// A proto2 file can set this to true to opt in to UTF-8 checking for Java, - /// which will throw an exception if invalid UTF-8 is parsed from the wire or - /// assigned to a string field. - /// - /// TODO: clarify exactly what kinds of field types this option - /// applies to, and update these docs accordingly. - /// - /// Proto3 files already perform these checks. Setting the option explicitly to - /// false has no effect: it cannot be used to opt proto3 files out of UTF-8 - /// checks. - @$pb.TagNumber(27) - $core.bool get javaStringCheckUtf8 => $_getBF(10); - @$pb.TagNumber(27) - set javaStringCheckUtf8($core.bool v) { $_setBool(10, v); } - @$pb.TagNumber(27) - $core.bool hasJavaStringCheckUtf8() => $_has(10); - @$pb.TagNumber(27) - void clearJavaStringCheckUtf8() => clearField(27); - - /// Enables the use of arenas for the proto messages in this file. This applies - /// only to generated classes for C++. - @$pb.TagNumber(31) - $core.bool get ccEnableArenas => $_getB(11, true); - @$pb.TagNumber(31) - set ccEnableArenas($core.bool v) { $_setBool(11, v); } - @$pb.TagNumber(31) - $core.bool hasCcEnableArenas() => $_has(11); - @$pb.TagNumber(31) - void clearCcEnableArenas() => clearField(31); - - /// Sets the objective c class prefix which is prepended to all objective c - /// generated classes from this .proto. There is no default. - @$pb.TagNumber(36) - $core.String get objcClassPrefix => $_getSZ(12); - @$pb.TagNumber(36) - set objcClassPrefix($core.String v) { $_setString(12, v); } - @$pb.TagNumber(36) - $core.bool hasObjcClassPrefix() => $_has(12); - @$pb.TagNumber(36) - void clearObjcClassPrefix() => clearField(36); - - /// Namespace for generated classes; defaults to the package. - @$pb.TagNumber(37) - $core.String get csharpNamespace => $_getSZ(13); - @$pb.TagNumber(37) - set csharpNamespace($core.String v) { $_setString(13, v); } - @$pb.TagNumber(37) - $core.bool hasCsharpNamespace() => $_has(13); - @$pb.TagNumber(37) - void clearCsharpNamespace() => clearField(37); - - /// By default Swift generators will take the proto package and CamelCase it - /// replacing '.' with underscore and use that to prefix the types/symbols - /// defined. When this options is provided, they will use this value instead - /// to prefix the types/symbols defined. - @$pb.TagNumber(39) - $core.String get swiftPrefix => $_getSZ(14); - @$pb.TagNumber(39) - set swiftPrefix($core.String v) { $_setString(14, v); } - @$pb.TagNumber(39) - $core.bool hasSwiftPrefix() => $_has(14); - @$pb.TagNumber(39) - void clearSwiftPrefix() => clearField(39); - - /// Sets the php class prefix which is prepended to all php generated classes - /// from this .proto. Default is empty. - @$pb.TagNumber(40) - $core.String get phpClassPrefix => $_getSZ(15); - @$pb.TagNumber(40) - set phpClassPrefix($core.String v) { $_setString(15, v); } - @$pb.TagNumber(40) - $core.bool hasPhpClassPrefix() => $_has(15); - @$pb.TagNumber(40) - void clearPhpClassPrefix() => clearField(40); - - /// Use this option to change the namespace of php generated classes. Default - /// is empty. When this option is empty, the package name will be used for - /// determining the namespace. - @$pb.TagNumber(41) - $core.String get phpNamespace => $_getSZ(16); - @$pb.TagNumber(41) - set phpNamespace($core.String v) { $_setString(16, v); } - @$pb.TagNumber(41) - $core.bool hasPhpNamespace() => $_has(16); - @$pb.TagNumber(41) - void clearPhpNamespace() => clearField(41); - - /// Use this option to change the namespace of php generated metadata classes. - /// Default is empty. When this option is empty, the proto file name will be - /// used for determining the namespace. - @$pb.TagNumber(44) - $core.String get phpMetadataNamespace => $_getSZ(17); - @$pb.TagNumber(44) - set phpMetadataNamespace($core.String v) { $_setString(17, v); } - @$pb.TagNumber(44) - $core.bool hasPhpMetadataNamespace() => $_has(17); - @$pb.TagNumber(44) - void clearPhpMetadataNamespace() => clearField(44); - - /// Use this option to change the package of ruby generated classes. Default - /// is empty. When this option is not set, the package name will be used for - /// determining the ruby package. - @$pb.TagNumber(45) - $core.String get rubyPackage => $_getSZ(18); - @$pb.TagNumber(45) - set rubyPackage($core.String v) { $_setString(18, v); } - @$pb.TagNumber(45) - $core.bool hasRubyPackage() => $_has(18); - @$pb.TagNumber(45) - void clearRubyPackage() => clearField(45); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(50) - FeatureSet get features => $_getN(19); - @$pb.TagNumber(50) - set features(FeatureSet v) { setField(50, v); } - @$pb.TagNumber(50) - $core.bool hasFeatures() => $_has(19); - @$pb.TagNumber(50) - void clearFeatures() => clearField(50); - @$pb.TagNumber(50) - FeatureSet ensureFeatures() => $_ensure(19); - - /// The parser stores options it doesn't recognize here. - /// See the documentation for the "Options" section above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(20); -} - -class MessageOptions extends $pb.GeneratedMessage { - factory MessageOptions({ - $core.bool? messageSetWireFormat, - $core.bool? noStandardDescriptorAccessor, - $core.bool? deprecated, - $core.bool? mapEntry, - @$core.Deprecated('This field is deprecated.') - $core.bool? deprecatedLegacyJsonFieldConflicts, - FeatureSet? features, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (messageSetWireFormat != null) { - $result.messageSetWireFormat = messageSetWireFormat; - } - if (noStandardDescriptorAccessor != null) { - $result.noStandardDescriptorAccessor = noStandardDescriptorAccessor; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (mapEntry != null) { - $result.mapEntry = mapEntry; - } - if (deprecatedLegacyJsonFieldConflicts != null) { - // ignore: deprecated_member_use_from_same_package - $result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - MessageOptions._() : super(); - factory MessageOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MessageOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MessageOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'messageSetWireFormat') - ..aOB(2, _omitFieldNames ? '' : 'noStandardDescriptorAccessor') - ..aOB(3, _omitFieldNames ? '' : 'deprecated') - ..aOB(7, _omitFieldNames ? '' : 'mapEntry') - ..aOB(11, _omitFieldNames ? '' : 'deprecatedLegacyJsonFieldConflicts') - ..aOM(12, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MessageOptions clone() => MessageOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MessageOptions copyWith(void Function(MessageOptions) updates) => super.copyWith((message) => updates(message as MessageOptions)) as MessageOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MessageOptions create() => MessageOptions._(); - MessageOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MessageOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MessageOptions? _defaultInstance; - - /// Set true to use the old proto1 MessageSet wire format for extensions. - /// This is provided for backwards-compatibility with the MessageSet wire - /// format. You should not use this for any other reason: It's less - /// efficient, has fewer features, and is more complicated. - /// - /// The message must be defined exactly as follows: - /// message Foo { - /// option message_set_wire_format = true; - /// extensions 4 to max; - /// } - /// Note that the message cannot have any defined fields; MessageSets only - /// have extensions. - /// - /// All extensions of your type must be singular messages; e.g. they cannot - /// be int32s, enums, or repeated messages. - /// - /// Because this is an option, the above two restrictions are not enforced by - /// the protocol compiler. - @$pb.TagNumber(1) - $core.bool get messageSetWireFormat => $_getBF(0); - @$pb.TagNumber(1) - set messageSetWireFormat($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessageSetWireFormat() => $_has(0); - @$pb.TagNumber(1) - void clearMessageSetWireFormat() => clearField(1); - - /// Disables the generation of the standard "descriptor()" accessor, which can - /// conflict with a field of the same name. This is meant to make migration - /// from proto1 easier; new code should avoid fields named "descriptor". - @$pb.TagNumber(2) - $core.bool get noStandardDescriptorAccessor => $_getBF(1); - @$pb.TagNumber(2) - set noStandardDescriptorAccessor($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasNoStandardDescriptorAccessor() => $_has(1); - @$pb.TagNumber(2) - void clearNoStandardDescriptorAccessor() => clearField(2); - - /// Is this message deprecated? - /// Depending on the target platform, this can emit Deprecated annotations - /// for the message, or it will be completely ignored; in the very least, - /// this is a formalization for deprecating messages. - @$pb.TagNumber(3) - $core.bool get deprecated => $_getBF(2); - @$pb.TagNumber(3) - set deprecated($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasDeprecated() => $_has(2); - @$pb.TagNumber(3) - void clearDeprecated() => clearField(3); - - /// Whether the message is an automatically generated map entry type for the - /// maps field. - /// - /// For maps fields: - /// map map_field = 1; - /// The parsed descriptor looks like: - /// message MapFieldEntry { - /// option map_entry = true; - /// optional KeyType key = 1; - /// optional ValueType value = 2; - /// } - /// repeated MapFieldEntry map_field = 1; - /// - /// Implementations may choose not to generate the map_entry=true message, but - /// use a native map in the target language to hold the keys and values. - /// The reflection APIs in such implementations still need to work as - /// if the field is a repeated message field. - /// - /// NOTE: Do not set the option in .proto files. Always use the maps syntax - /// instead. The option should only be implicitly set by the proto compiler - /// parser. - @$pb.TagNumber(7) - $core.bool get mapEntry => $_getBF(3); - @$pb.TagNumber(7) - set mapEntry($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(7) - $core.bool hasMapEntry() => $_has(3); - @$pb.TagNumber(7) - void clearMapEntry() => clearField(7); - - /// Enable the legacy handling of JSON field name conflicts. This lowercases - /// and strips underscored from the fields before comparison in proto3 only. - /// The new behavior takes `json_name` into account and applies to proto2 as - /// well. - /// - /// This should only be used as a temporary measure against broken builds due - /// to the change in behavior for JSON field name conflicts. - /// - /// TODO This is legacy behavior we plan to remove once downstream - /// teams have had time to migrate. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - $core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(4); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - set deprecatedLegacyJsonFieldConflicts($core.bool v) { $_setBool(4, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - $core.bool hasDeprecatedLegacyJsonFieldConflicts() => $_has(4); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(11) - void clearDeprecatedLegacyJsonFieldConflicts() => clearField(11); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(12) - FeatureSet get features => $_getN(5); - @$pb.TagNumber(12) - set features(FeatureSet v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasFeatures() => $_has(5); - @$pb.TagNumber(12) - void clearFeatures() => clearField(12); - @$pb.TagNumber(12) - FeatureSet ensureFeatures() => $_ensure(5); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(6); -} - -class FieldOptions_EditionDefault extends $pb.GeneratedMessage { - factory FieldOptions_EditionDefault({ - $core.String? value, - Edition? edition, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - if (edition != null) { - $result.edition = edition; - } - return $result; - } - FieldOptions_EditionDefault._() : super(); - factory FieldOptions_EditionDefault.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FieldOptions_EditionDefault.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldOptions.EditionDefault', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'value') - ..e(3, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FieldOptions_EditionDefault clone() => FieldOptions_EditionDefault()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FieldOptions_EditionDefault copyWith(void Function(FieldOptions_EditionDefault) updates) => super.copyWith((message) => updates(message as FieldOptions_EditionDefault)) as FieldOptions_EditionDefault; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FieldOptions_EditionDefault create() => FieldOptions_EditionDefault._(); - FieldOptions_EditionDefault createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FieldOptions_EditionDefault getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FieldOptions_EditionDefault? _defaultInstance; - - @$pb.TagNumber(2) - $core.String get value => $_getSZ(0); - @$pb.TagNumber(2) - set value($core.String v) { $_setString(0, v); } - @$pb.TagNumber(2) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(2) - void clearValue() => clearField(2); - - @$pb.TagNumber(3) - Edition get edition => $_getN(1); - @$pb.TagNumber(3) - set edition(Edition v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasEdition() => $_has(1); - @$pb.TagNumber(3) - void clearEdition() => clearField(3); -} - -/// Information about the support window of a feature. -class FieldOptions_FeatureSupport extends $pb.GeneratedMessage { - factory FieldOptions_FeatureSupport({ - Edition? editionIntroduced, - Edition? editionDeprecated, - $core.String? deprecationWarning, - Edition? editionRemoved, - }) { - final $result = create(); - if (editionIntroduced != null) { - $result.editionIntroduced = editionIntroduced; - } - if (editionDeprecated != null) { - $result.editionDeprecated = editionDeprecated; - } - if (deprecationWarning != null) { - $result.deprecationWarning = deprecationWarning; - } - if (editionRemoved != null) { - $result.editionRemoved = editionRemoved; - } - return $result; - } - FieldOptions_FeatureSupport._() : super(); - factory FieldOptions_FeatureSupport.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FieldOptions_FeatureSupport.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldOptions.FeatureSupport', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'editionIntroduced', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..e(2, _omitFieldNames ? '' : 'editionDeprecated', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..aOS(3, _omitFieldNames ? '' : 'deprecationWarning') - ..e(4, _omitFieldNames ? '' : 'editionRemoved', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FieldOptions_FeatureSupport clone() => FieldOptions_FeatureSupport()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FieldOptions_FeatureSupport copyWith(void Function(FieldOptions_FeatureSupport) updates) => super.copyWith((message) => updates(message as FieldOptions_FeatureSupport)) as FieldOptions_FeatureSupport; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FieldOptions_FeatureSupport create() => FieldOptions_FeatureSupport._(); - FieldOptions_FeatureSupport createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FieldOptions_FeatureSupport getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FieldOptions_FeatureSupport? _defaultInstance; - - /// The edition that this feature was first available in. In editions - /// earlier than this one, the default assigned to EDITION_LEGACY will be - /// used, and proto files will not be able to override it. - @$pb.TagNumber(1) - Edition get editionIntroduced => $_getN(0); - @$pb.TagNumber(1) - set editionIntroduced(Edition v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasEditionIntroduced() => $_has(0); - @$pb.TagNumber(1) - void clearEditionIntroduced() => clearField(1); - - /// The edition this feature becomes deprecated in. Using this after this - /// edition may trigger warnings. - @$pb.TagNumber(2) - Edition get editionDeprecated => $_getN(1); - @$pb.TagNumber(2) - set editionDeprecated(Edition v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEditionDeprecated() => $_has(1); - @$pb.TagNumber(2) - void clearEditionDeprecated() => clearField(2); - - /// The deprecation warning text if this feature is used after the edition it - /// was marked deprecated in. - @$pb.TagNumber(3) - $core.String get deprecationWarning => $_getSZ(2); - @$pb.TagNumber(3) - set deprecationWarning($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDeprecationWarning() => $_has(2); - @$pb.TagNumber(3) - void clearDeprecationWarning() => clearField(3); - - /// The edition this feature is no longer available in. In editions after - /// this one, the last default assigned will be used, and proto files will - /// not be able to override it. - @$pb.TagNumber(4) - Edition get editionRemoved => $_getN(3); - @$pb.TagNumber(4) - set editionRemoved(Edition v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasEditionRemoved() => $_has(3); - @$pb.TagNumber(4) - void clearEditionRemoved() => clearField(4); -} - -class FieldOptions extends $pb.GeneratedMessage { - factory FieldOptions({ - FieldOptions_CType? ctype, - $core.bool? packed, - $core.bool? deprecated, - $core.bool? lazy, - FieldOptions_JSType? jstype, - $core.bool? weak, - $core.bool? unverifiedLazy, - $core.bool? debugRedact, - FieldOptions_OptionRetention? retention, - $core.Iterable? targets, - $core.Iterable? editionDefaults, - FeatureSet? features, - FieldOptions_FeatureSupport? featureSupport, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (ctype != null) { - $result.ctype = ctype; - } - if (packed != null) { - $result.packed = packed; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (lazy != null) { - $result.lazy = lazy; - } - if (jstype != null) { - $result.jstype = jstype; - } - if (weak != null) { - $result.weak = weak; - } - if (unverifiedLazy != null) { - $result.unverifiedLazy = unverifiedLazy; - } - if (debugRedact != null) { - $result.debugRedact = debugRedact; - } - if (retention != null) { - $result.retention = retention; - } - if (targets != null) { - $result.targets.addAll(targets); - } - if (editionDefaults != null) { - $result.editionDefaults.addAll(editionDefaults); - } - if (features != null) { - $result.features = features; - } - if (featureSupport != null) { - $result.featureSupport = featureSupport; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - FieldOptions._() : super(); - factory FieldOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FieldOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'ctype', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_CType.STRING, valueOf: FieldOptions_CType.valueOf, enumValues: FieldOptions_CType.values) - ..aOB(2, _omitFieldNames ? '' : 'packed') - ..aOB(3, _omitFieldNames ? '' : 'deprecated') - ..aOB(5, _omitFieldNames ? '' : 'lazy') - ..e(6, _omitFieldNames ? '' : 'jstype', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_JSType.JS_NORMAL, valueOf: FieldOptions_JSType.valueOf, enumValues: FieldOptions_JSType.values) - ..aOB(10, _omitFieldNames ? '' : 'weak') - ..aOB(15, _omitFieldNames ? '' : 'unverifiedLazy') - ..aOB(16, _omitFieldNames ? '' : 'debugRedact') - ..e(17, _omitFieldNames ? '' : 'retention', $pb.PbFieldType.OE, defaultOrMaker: FieldOptions_OptionRetention.RETENTION_UNKNOWN, valueOf: FieldOptions_OptionRetention.valueOf, enumValues: FieldOptions_OptionRetention.values) - ..pc(19, _omitFieldNames ? '' : 'targets', $pb.PbFieldType.PE, valueOf: FieldOptions_OptionTargetType.valueOf, enumValues: FieldOptions_OptionTargetType.values, defaultEnumValue: FieldOptions_OptionTargetType.TARGET_TYPE_UNKNOWN) - ..pc(20, _omitFieldNames ? '' : 'editionDefaults', $pb.PbFieldType.PM, subBuilder: FieldOptions_EditionDefault.create) - ..aOM(21, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..aOM(22, _omitFieldNames ? '' : 'featureSupport', subBuilder: FieldOptions_FeatureSupport.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FieldOptions clone() => FieldOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FieldOptions copyWith(void Function(FieldOptions) updates) => super.copyWith((message) => updates(message as FieldOptions)) as FieldOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FieldOptions create() => FieldOptions._(); - FieldOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FieldOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FieldOptions? _defaultInstance; - - /// NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead. - /// The ctype option instructs the C++ code generator to use a different - /// representation of the field than it normally would. See the specific - /// options below. This option is only implemented to support use of - /// [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of - /// type "bytes" in the open source release. - /// TODO: make ctype actually deprecated. - @$pb.TagNumber(1) - FieldOptions_CType get ctype => $_getN(0); - @$pb.TagNumber(1) - set ctype(FieldOptions_CType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCtype() => $_has(0); - @$pb.TagNumber(1) - void clearCtype() => clearField(1); - - /// The packed option can be enabled for repeated primitive fields to enable - /// a more efficient representation on the wire. Rather than repeatedly - /// writing the tag and type for each element, the entire array is encoded as - /// a single length-delimited blob. In proto3, only explicit setting it to - /// false will avoid using packed encoding. This option is prohibited in - /// Editions, but the `repeated_field_encoding` feature can be used to control - /// the behavior. - @$pb.TagNumber(2) - $core.bool get packed => $_getBF(1); - @$pb.TagNumber(2) - set packed($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasPacked() => $_has(1); - @$pb.TagNumber(2) - void clearPacked() => clearField(2); - - /// Is this field deprecated? - /// Depending on the target platform, this can emit Deprecated annotations - /// for accessors, or it will be completely ignored; in the very least, this - /// is a formalization for deprecating fields. - @$pb.TagNumber(3) - $core.bool get deprecated => $_getBF(2); - @$pb.TagNumber(3) - set deprecated($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasDeprecated() => $_has(2); - @$pb.TagNumber(3) - void clearDeprecated() => clearField(3); - - /// Should this field be parsed lazily? Lazy applies only to message-type - /// fields. It means that when the outer message is initially parsed, the - /// inner message's contents will not be parsed but instead stored in encoded - /// form. The inner message will actually be parsed when it is first accessed. - /// - /// This is only a hint. Implementations are free to choose whether to use - /// eager or lazy parsing regardless of the value of this option. However, - /// setting this option true suggests that the protocol author believes that - /// using lazy parsing on this field is worth the additional bookkeeping - /// overhead typically needed to implement it. - /// - /// This option does not affect the public interface of any generated code; - /// all method signatures remain the same. Furthermore, thread-safety of the - /// interface is not affected by this option; const methods remain safe to - /// call from multiple threads concurrently, while non-const methods continue - /// to require exclusive access. - /// - /// Note that lazy message fields are still eagerly verified to check - /// ill-formed wireformat or missing required fields. Calling IsInitialized() - /// on the outer message would fail if the inner message has missing required - /// fields. Failed verification would result in parsing failure (except when - /// uninitialized messages are acceptable). - @$pb.TagNumber(5) - $core.bool get lazy => $_getBF(3); - @$pb.TagNumber(5) - set lazy($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(5) - $core.bool hasLazy() => $_has(3); - @$pb.TagNumber(5) - void clearLazy() => clearField(5); - - /// The jstype option determines the JavaScript type used for values of the - /// field. The option is permitted only for 64 bit integral and fixed types - /// (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - /// is represented as JavaScript string, which avoids loss of precision that - /// can happen when a large value is converted to a floating point JavaScript. - /// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - /// use the JavaScript "number" type. The behavior of the default option - /// JS_NORMAL is implementation dependent. - /// - /// This option is an enum to permit additional types to be added, e.g. - /// goog.math.Integer. - @$pb.TagNumber(6) - FieldOptions_JSType get jstype => $_getN(4); - @$pb.TagNumber(6) - set jstype(FieldOptions_JSType v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasJstype() => $_has(4); - @$pb.TagNumber(6) - void clearJstype() => clearField(6); - - /// For Google-internal migration only. Do not use. - @$pb.TagNumber(10) - $core.bool get weak => $_getBF(5); - @$pb.TagNumber(10) - set weak($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(10) - $core.bool hasWeak() => $_has(5); - @$pb.TagNumber(10) - void clearWeak() => clearField(10); - - /// unverified_lazy does no correctness checks on the byte stream. This should - /// only be used where lazy with verification is prohibitive for performance - /// reasons. - @$pb.TagNumber(15) - $core.bool get unverifiedLazy => $_getBF(6); - @$pb.TagNumber(15) - set unverifiedLazy($core.bool v) { $_setBool(6, v); } - @$pb.TagNumber(15) - $core.bool hasUnverifiedLazy() => $_has(6); - @$pb.TagNumber(15) - void clearUnverifiedLazy() => clearField(15); - - /// Indicate that the field value should not be printed out when using debug - /// formats, e.g. when the field contains sensitive credentials. - @$pb.TagNumber(16) - $core.bool get debugRedact => $_getBF(7); - @$pb.TagNumber(16) - set debugRedact($core.bool v) { $_setBool(7, v); } - @$pb.TagNumber(16) - $core.bool hasDebugRedact() => $_has(7); - @$pb.TagNumber(16) - void clearDebugRedact() => clearField(16); - - @$pb.TagNumber(17) - FieldOptions_OptionRetention get retention => $_getN(8); - @$pb.TagNumber(17) - set retention(FieldOptions_OptionRetention v) { setField(17, v); } - @$pb.TagNumber(17) - $core.bool hasRetention() => $_has(8); - @$pb.TagNumber(17) - void clearRetention() => clearField(17); - - @$pb.TagNumber(19) - $core.List get targets => $_getList(9); - - @$pb.TagNumber(20) - $core.List get editionDefaults => $_getList(10); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(21) - FeatureSet get features => $_getN(11); - @$pb.TagNumber(21) - set features(FeatureSet v) { setField(21, v); } - @$pb.TagNumber(21) - $core.bool hasFeatures() => $_has(11); - @$pb.TagNumber(21) - void clearFeatures() => clearField(21); - @$pb.TagNumber(21) - FeatureSet ensureFeatures() => $_ensure(11); - - @$pb.TagNumber(22) - FieldOptions_FeatureSupport get featureSupport => $_getN(12); - @$pb.TagNumber(22) - set featureSupport(FieldOptions_FeatureSupport v) { setField(22, v); } - @$pb.TagNumber(22) - $core.bool hasFeatureSupport() => $_has(12); - @$pb.TagNumber(22) - void clearFeatureSupport() => clearField(22); - @$pb.TagNumber(22) - FieldOptions_FeatureSupport ensureFeatureSupport() => $_ensure(12); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(13); -} - -class OneofOptions extends $pb.GeneratedMessage { - factory OneofOptions({ - FeatureSet? features, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - OneofOptions._() : super(); - factory OneofOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OneofOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OneofOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OneofOptions clone() => OneofOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OneofOptions copyWith(void Function(OneofOptions) updates) => super.copyWith((message) => updates(message as OneofOptions)) as OneofOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OneofOptions create() => OneofOptions._(); - OneofOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OneofOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OneofOptions? _defaultInstance; - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(1) - FeatureSet get features => $_getN(0); - @$pb.TagNumber(1) - set features(FeatureSet v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFeatures() => $_has(0); - @$pb.TagNumber(1) - void clearFeatures() => clearField(1); - @$pb.TagNumber(1) - FeatureSet ensureFeatures() => $_ensure(0); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(1); -} - -class EnumOptions extends $pb.GeneratedMessage { - factory EnumOptions({ - $core.bool? allowAlias, - $core.bool? deprecated, - @$core.Deprecated('This field is deprecated.') - $core.bool? deprecatedLegacyJsonFieldConflicts, - FeatureSet? features, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (allowAlias != null) { - $result.allowAlias = allowAlias; - } - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (deprecatedLegacyJsonFieldConflicts != null) { - // ignore: deprecated_member_use_from_same_package - $result.deprecatedLegacyJsonFieldConflicts = deprecatedLegacyJsonFieldConflicts; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - EnumOptions._() : super(); - factory EnumOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnumOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOB(2, _omitFieldNames ? '' : 'allowAlias') - ..aOB(3, _omitFieldNames ? '' : 'deprecated') - ..aOB(6, _omitFieldNames ? '' : 'deprecatedLegacyJsonFieldConflicts') - ..aOM(7, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnumOptions clone() => EnumOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnumOptions copyWith(void Function(EnumOptions) updates) => super.copyWith((message) => updates(message as EnumOptions)) as EnumOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnumOptions create() => EnumOptions._(); - EnumOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnumOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnumOptions? _defaultInstance; - - /// Set this option to true to allow mapping different tag names to the same - /// value. - @$pb.TagNumber(2) - $core.bool get allowAlias => $_getBF(0); - @$pb.TagNumber(2) - set allowAlias($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(2) - $core.bool hasAllowAlias() => $_has(0); - @$pb.TagNumber(2) - void clearAllowAlias() => clearField(2); - - /// Is this enum deprecated? - /// Depending on the target platform, this can emit Deprecated annotations - /// for the enum, or it will be completely ignored; in the very least, this - /// is a formalization for deprecating enums. - @$pb.TagNumber(3) - $core.bool get deprecated => $_getBF(1); - @$pb.TagNumber(3) - set deprecated($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(3) - $core.bool hasDeprecated() => $_has(1); - @$pb.TagNumber(3) - void clearDeprecated() => clearField(3); - - /// Enable the legacy handling of JSON field name conflicts. This lowercases - /// and strips underscored from the fields before comparison in proto3 only. - /// The new behavior takes `json_name` into account and applies to proto2 as - /// well. - /// TODO Remove this legacy behavior once downstream teams have - /// had time to migrate. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - $core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - set deprecatedLegacyJsonFieldConflicts($core.bool v) { $_setBool(2, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - $core.bool hasDeprecatedLegacyJsonFieldConflicts() => $_has(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(6) - void clearDeprecatedLegacyJsonFieldConflicts() => clearField(6); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(7) - FeatureSet get features => $_getN(3); - @$pb.TagNumber(7) - set features(FeatureSet v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasFeatures() => $_has(3); - @$pb.TagNumber(7) - void clearFeatures() => clearField(7); - @$pb.TagNumber(7) - FeatureSet ensureFeatures() => $_ensure(3); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(4); -} - -class EnumValueOptions extends $pb.GeneratedMessage { - factory EnumValueOptions({ - $core.bool? deprecated, - FeatureSet? features, - $core.bool? debugRedact, - FieldOptions_FeatureSupport? featureSupport, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (features != null) { - $result.features = features; - } - if (debugRedact != null) { - $result.debugRedact = debugRedact; - } - if (featureSupport != null) { - $result.featureSupport = featureSupport; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - EnumValueOptions._() : super(); - factory EnumValueOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EnumValueOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumValueOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'deprecated') - ..aOM(2, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..aOB(3, _omitFieldNames ? '' : 'debugRedact') - ..aOM(4, _omitFieldNames ? '' : 'featureSupport', subBuilder: FieldOptions_FeatureSupport.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EnumValueOptions clone() => EnumValueOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EnumValueOptions copyWith(void Function(EnumValueOptions) updates) => super.copyWith((message) => updates(message as EnumValueOptions)) as EnumValueOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EnumValueOptions create() => EnumValueOptions._(); - EnumValueOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EnumValueOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EnumValueOptions? _defaultInstance; - - /// Is this enum value deprecated? - /// Depending on the target platform, this can emit Deprecated annotations - /// for the enum value, or it will be completely ignored; in the very least, - /// this is a formalization for deprecating enum values. - @$pb.TagNumber(1) - $core.bool get deprecated => $_getBF(0); - @$pb.TagNumber(1) - set deprecated($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasDeprecated() => $_has(0); - @$pb.TagNumber(1) - void clearDeprecated() => clearField(1); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(2) - FeatureSet get features => $_getN(1); - @$pb.TagNumber(2) - set features(FeatureSet v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasFeatures() => $_has(1); - @$pb.TagNumber(2) - void clearFeatures() => clearField(2); - @$pb.TagNumber(2) - FeatureSet ensureFeatures() => $_ensure(1); - - /// Indicate that fields annotated with this enum value should not be printed - /// out when using debug formats, e.g. when the field contains sensitive - /// credentials. - @$pb.TagNumber(3) - $core.bool get debugRedact => $_getBF(2); - @$pb.TagNumber(3) - set debugRedact($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasDebugRedact() => $_has(2); - @$pb.TagNumber(3) - void clearDebugRedact() => clearField(3); - - /// Information about the support window of a feature value. - @$pb.TagNumber(4) - FieldOptions_FeatureSupport get featureSupport => $_getN(3); - @$pb.TagNumber(4) - set featureSupport(FieldOptions_FeatureSupport v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasFeatureSupport() => $_has(3); - @$pb.TagNumber(4) - void clearFeatureSupport() => clearField(4); - @$pb.TagNumber(4) - FieldOptions_FeatureSupport ensureFeatureSupport() => $_ensure(3); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(4); -} - -class ServiceOptions extends $pb.GeneratedMessage { - factory ServiceOptions({ - $core.bool? deprecated, - FeatureSet? features, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - ServiceOptions._() : super(); - factory ServiceOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ServiceOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOB(33, _omitFieldNames ? '' : 'deprecated') - ..aOM(34, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ServiceOptions clone() => ServiceOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ServiceOptions copyWith(void Function(ServiceOptions) updates) => super.copyWith((message) => updates(message as ServiceOptions)) as ServiceOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ServiceOptions create() => ServiceOptions._(); - ServiceOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ServiceOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ServiceOptions? _defaultInstance; - - /// Is this service deprecated? - /// Depending on the target platform, this can emit Deprecated annotations - /// for the service, or it will be completely ignored; in the very least, - /// this is a formalization for deprecating services. - @$pb.TagNumber(33) - $core.bool get deprecated => $_getBF(0); - @$pb.TagNumber(33) - set deprecated($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(33) - $core.bool hasDeprecated() => $_has(0); - @$pb.TagNumber(33) - void clearDeprecated() => clearField(33); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(34) - FeatureSet get features => $_getN(1); - @$pb.TagNumber(34) - set features(FeatureSet v) { setField(34, v); } - @$pb.TagNumber(34) - $core.bool hasFeatures() => $_has(1); - @$pb.TagNumber(34) - void clearFeatures() => clearField(34); - @$pb.TagNumber(34) - FeatureSet ensureFeatures() => $_ensure(1); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(2); -} - -class MethodOptions extends $pb.GeneratedMessage { - factory MethodOptions({ - $core.bool? deprecated, - MethodOptions_IdempotencyLevel? idempotencyLevel, - FeatureSet? features, - $core.Iterable? uninterpretedOption, - }) { - final $result = create(); - if (deprecated != null) { - $result.deprecated = deprecated; - } - if (idempotencyLevel != null) { - $result.idempotencyLevel = idempotencyLevel; - } - if (features != null) { - $result.features = features; - } - if (uninterpretedOption != null) { - $result.uninterpretedOption.addAll(uninterpretedOption); - } - return $result; - } - MethodOptions._() : super(); - factory MethodOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MethodOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MethodOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aOB(33, _omitFieldNames ? '' : 'deprecated') - ..e(34, _omitFieldNames ? '' : 'idempotencyLevel', $pb.PbFieldType.OE, defaultOrMaker: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN, valueOf: MethodOptions_IdempotencyLevel.valueOf, enumValues: MethodOptions_IdempotencyLevel.values) - ..aOM(35, _omitFieldNames ? '' : 'features', subBuilder: FeatureSet.create) - ..pc(999, _omitFieldNames ? '' : 'uninterpretedOption', $pb.PbFieldType.PM, subBuilder: UninterpretedOption.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MethodOptions clone() => MethodOptions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MethodOptions copyWith(void Function(MethodOptions) updates) => super.copyWith((message) => updates(message as MethodOptions)) as MethodOptions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MethodOptions create() => MethodOptions._(); - MethodOptions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MethodOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MethodOptions? _defaultInstance; - - /// Is this method deprecated? - /// Depending on the target platform, this can emit Deprecated annotations - /// for the method, or it will be completely ignored; in the very least, - /// this is a formalization for deprecating methods. - @$pb.TagNumber(33) - $core.bool get deprecated => $_getBF(0); - @$pb.TagNumber(33) - set deprecated($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(33) - $core.bool hasDeprecated() => $_has(0); - @$pb.TagNumber(33) - void clearDeprecated() => clearField(33); - - @$pb.TagNumber(34) - MethodOptions_IdempotencyLevel get idempotencyLevel => $_getN(1); - @$pb.TagNumber(34) - set idempotencyLevel(MethodOptions_IdempotencyLevel v) { setField(34, v); } - @$pb.TagNumber(34) - $core.bool hasIdempotencyLevel() => $_has(1); - @$pb.TagNumber(34) - void clearIdempotencyLevel() => clearField(34); - - /// Any features defined in the specific edition. - /// WARNING: This field should only be used by protobuf plugins or special - /// cases like the proto compiler. Other uses are discouraged and - /// developers should rely on the protoreflect APIs for their client language. - @$pb.TagNumber(35) - FeatureSet get features => $_getN(2); - @$pb.TagNumber(35) - set features(FeatureSet v) { setField(35, v); } - @$pb.TagNumber(35) - $core.bool hasFeatures() => $_has(2); - @$pb.TagNumber(35) - void clearFeatures() => clearField(35); - @$pb.TagNumber(35) - FeatureSet ensureFeatures() => $_ensure(2); - - /// The parser stores options it doesn't recognize here. See above. - @$pb.TagNumber(999) - $core.List get uninterpretedOption => $_getList(3); -} - -/// The name of the uninterpreted option. Each string represents a segment in -/// a dot-separated name. is_extension is true iff a segment represents an -/// extension (denoted with parentheses in options specs in .proto files). -/// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents -/// "foo.(bar.baz).moo". -class UninterpretedOption_NamePart extends $pb.GeneratedMessage { - factory UninterpretedOption_NamePart({ - $core.String? namePart, - $core.bool? isExtension, - }) { - final $result = create(); - if (namePart != null) { - $result.namePart = namePart; - } - if (isExtension != null) { - $result.isExtension = isExtension; - } - return $result; - } - UninterpretedOption_NamePart._() : super(); - factory UninterpretedOption_NamePart.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UninterpretedOption_NamePart.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UninterpretedOption.NamePart', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..aQS(1, _omitFieldNames ? '' : 'namePart') - ..a<$core.bool>(2, _omitFieldNames ? '' : 'isExtension', $pb.PbFieldType.QB) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UninterpretedOption_NamePart clone() => UninterpretedOption_NamePart()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UninterpretedOption_NamePart copyWith(void Function(UninterpretedOption_NamePart) updates) => super.copyWith((message) => updates(message as UninterpretedOption_NamePart)) as UninterpretedOption_NamePart; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UninterpretedOption_NamePart create() => UninterpretedOption_NamePart._(); - UninterpretedOption_NamePart createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UninterpretedOption_NamePart getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UninterpretedOption_NamePart? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get namePart => $_getSZ(0); - @$pb.TagNumber(1) - set namePart($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasNamePart() => $_has(0); - @$pb.TagNumber(1) - void clearNamePart() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get isExtension => $_getBF(1); - @$pb.TagNumber(2) - set isExtension($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasIsExtension() => $_has(1); - @$pb.TagNumber(2) - void clearIsExtension() => clearField(2); -} - -/// A message representing a option the parser does not recognize. This only -/// appears in options protos created by the compiler::Parser class. -/// DescriptorPool resolves these when building Descriptor objects. Therefore, -/// options protos in descriptor objects (e.g. returned by Descriptor::options(), -/// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions -/// in them. -class UninterpretedOption extends $pb.GeneratedMessage { - factory UninterpretedOption({ - $core.Iterable? name, - $core.String? identifierValue, - $fixnum.Int64? positiveIntValue, - $fixnum.Int64? negativeIntValue, - $core.double? doubleValue, - $core.List<$core.int>? stringValue, - $core.String? aggregateValue, - }) { - final $result = create(); - if (name != null) { - $result.name.addAll(name); - } - if (identifierValue != null) { - $result.identifierValue = identifierValue; - } - if (positiveIntValue != null) { - $result.positiveIntValue = positiveIntValue; - } - if (negativeIntValue != null) { - $result.negativeIntValue = negativeIntValue; - } - if (doubleValue != null) { - $result.doubleValue = doubleValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (aggregateValue != null) { - $result.aggregateValue = aggregateValue; - } - return $result; - } - UninterpretedOption._() : super(); - factory UninterpretedOption.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UninterpretedOption.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UninterpretedOption', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(2, _omitFieldNames ? '' : 'name', $pb.PbFieldType.PM, subBuilder: UninterpretedOption_NamePart.create) - ..aOS(3, _omitFieldNames ? '' : 'identifierValue') - ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'positiveIntValue', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aInt64(5, _omitFieldNames ? '' : 'negativeIntValue') - ..a<$core.double>(6, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) - ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'stringValue', $pb.PbFieldType.OY) - ..aOS(8, _omitFieldNames ? '' : 'aggregateValue') - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UninterpretedOption clone() => UninterpretedOption()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UninterpretedOption copyWith(void Function(UninterpretedOption) updates) => super.copyWith((message) => updates(message as UninterpretedOption)) as UninterpretedOption; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UninterpretedOption create() => UninterpretedOption._(); - UninterpretedOption createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UninterpretedOption getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UninterpretedOption? _defaultInstance; - - @$pb.TagNumber(2) - $core.List get name => $_getList(0); - - /// The value of the uninterpreted option, in whatever type the tokenizer - /// identified it as during parsing. Exactly one of these should be set. - @$pb.TagNumber(3) - $core.String get identifierValue => $_getSZ(1); - @$pb.TagNumber(3) - set identifierValue($core.String v) { $_setString(1, v); } - @$pb.TagNumber(3) - $core.bool hasIdentifierValue() => $_has(1); - @$pb.TagNumber(3) - void clearIdentifierValue() => clearField(3); - - @$pb.TagNumber(4) - $fixnum.Int64 get positiveIntValue => $_getI64(2); - @$pb.TagNumber(4) - set positiveIntValue($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(4) - $core.bool hasPositiveIntValue() => $_has(2); - @$pb.TagNumber(4) - void clearPositiveIntValue() => clearField(4); - - @$pb.TagNumber(5) - $fixnum.Int64 get negativeIntValue => $_getI64(3); - @$pb.TagNumber(5) - set negativeIntValue($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(5) - $core.bool hasNegativeIntValue() => $_has(3); - @$pb.TagNumber(5) - void clearNegativeIntValue() => clearField(5); - - @$pb.TagNumber(6) - $core.double get doubleValue => $_getN(4); - @$pb.TagNumber(6) - set doubleValue($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(6) - $core.bool hasDoubleValue() => $_has(4); - @$pb.TagNumber(6) - void clearDoubleValue() => clearField(6); - - @$pb.TagNumber(7) - $core.List<$core.int> get stringValue => $_getN(5); - @$pb.TagNumber(7) - set stringValue($core.List<$core.int> v) { $_setBytes(5, v); } - @$pb.TagNumber(7) - $core.bool hasStringValue() => $_has(5); - @$pb.TagNumber(7) - void clearStringValue() => clearField(7); - - @$pb.TagNumber(8) - $core.String get aggregateValue => $_getSZ(6); - @$pb.TagNumber(8) - set aggregateValue($core.String v) { $_setString(6, v); } - @$pb.TagNumber(8) - $core.bool hasAggregateValue() => $_has(6); - @$pb.TagNumber(8) - void clearAggregateValue() => clearField(8); -} - -/// TODO Enums in C++ gencode (and potentially other languages) are -/// not well scoped. This means that each of the feature enums below can clash -/// with each other. The short names we've chosen maximize call-site -/// readability, but leave us very open to this scenario. A future feature will -/// be designed and implemented to handle this, hopefully before we ever hit a -/// conflict here. -class FeatureSet extends $pb.GeneratedMessage { - factory FeatureSet({ - FeatureSet_FieldPresence? fieldPresence, - FeatureSet_EnumType? enumType, - FeatureSet_RepeatedFieldEncoding? repeatedFieldEncoding, - FeatureSet_Utf8Validation? utf8Validation, - FeatureSet_MessageEncoding? messageEncoding, - FeatureSet_JsonFormat? jsonFormat, - FeatureSet_EnforceNamingStyle? enforceNamingStyle, - }) { - final $result = create(); - if (fieldPresence != null) { - $result.fieldPresence = fieldPresence; - } - if (enumType != null) { - $result.enumType = enumType; - } - if (repeatedFieldEncoding != null) { - $result.repeatedFieldEncoding = repeatedFieldEncoding; - } - if (utf8Validation != null) { - $result.utf8Validation = utf8Validation; - } - if (messageEncoding != null) { - $result.messageEncoding = messageEncoding; - } - if (jsonFormat != null) { - $result.jsonFormat = jsonFormat; - } - if (enforceNamingStyle != null) { - $result.enforceNamingStyle = enforceNamingStyle; - } - return $result; - } - FeatureSet._() : super(); - factory FeatureSet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FeatureSet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FeatureSet', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'fieldPresence', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_FieldPresence.FIELD_PRESENCE_UNKNOWN, valueOf: FeatureSet_FieldPresence.valueOf, enumValues: FeatureSet_FieldPresence.values) - ..e(2, _omitFieldNames ? '' : 'enumType', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_EnumType.ENUM_TYPE_UNKNOWN, valueOf: FeatureSet_EnumType.valueOf, enumValues: FeatureSet_EnumType.values) - ..e(3, _omitFieldNames ? '' : 'repeatedFieldEncoding', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_RepeatedFieldEncoding.REPEATED_FIELD_ENCODING_UNKNOWN, valueOf: FeatureSet_RepeatedFieldEncoding.valueOf, enumValues: FeatureSet_RepeatedFieldEncoding.values) - ..e(4, _omitFieldNames ? '' : 'utf8Validation', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN, valueOf: FeatureSet_Utf8Validation.valueOf, enumValues: FeatureSet_Utf8Validation.values) - ..e(5, _omitFieldNames ? '' : 'messageEncoding', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_MessageEncoding.MESSAGE_ENCODING_UNKNOWN, valueOf: FeatureSet_MessageEncoding.valueOf, enumValues: FeatureSet_MessageEncoding.values) - ..e(6, _omitFieldNames ? '' : 'jsonFormat', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_JsonFormat.JSON_FORMAT_UNKNOWN, valueOf: FeatureSet_JsonFormat.valueOf, enumValues: FeatureSet_JsonFormat.values) - ..e(7, _omitFieldNames ? '' : 'enforceNamingStyle', $pb.PbFieldType.OE, defaultOrMaker: FeatureSet_EnforceNamingStyle.ENFORCE_NAMING_STYLE_UNKNOWN, valueOf: FeatureSet_EnforceNamingStyle.valueOf, enumValues: FeatureSet_EnforceNamingStyle.values) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FeatureSet clone() => FeatureSet()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FeatureSet copyWith(void Function(FeatureSet) updates) => super.copyWith((message) => updates(message as FeatureSet)) as FeatureSet; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FeatureSet create() => FeatureSet._(); - FeatureSet createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FeatureSet getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FeatureSet? _defaultInstance; - - @$pb.TagNumber(1) - FeatureSet_FieldPresence get fieldPresence => $_getN(0); - @$pb.TagNumber(1) - set fieldPresence(FeatureSet_FieldPresence v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFieldPresence() => $_has(0); - @$pb.TagNumber(1) - void clearFieldPresence() => clearField(1); - - @$pb.TagNumber(2) - FeatureSet_EnumType get enumType => $_getN(1); - @$pb.TagNumber(2) - set enumType(FeatureSet_EnumType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEnumType() => $_has(1); - @$pb.TagNumber(2) - void clearEnumType() => clearField(2); - - @$pb.TagNumber(3) - FeatureSet_RepeatedFieldEncoding get repeatedFieldEncoding => $_getN(2); - @$pb.TagNumber(3) - set repeatedFieldEncoding(FeatureSet_RepeatedFieldEncoding v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasRepeatedFieldEncoding() => $_has(2); - @$pb.TagNumber(3) - void clearRepeatedFieldEncoding() => clearField(3); - - @$pb.TagNumber(4) - FeatureSet_Utf8Validation get utf8Validation => $_getN(3); - @$pb.TagNumber(4) - set utf8Validation(FeatureSet_Utf8Validation v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasUtf8Validation() => $_has(3); - @$pb.TagNumber(4) - void clearUtf8Validation() => clearField(4); - - @$pb.TagNumber(5) - FeatureSet_MessageEncoding get messageEncoding => $_getN(4); - @$pb.TagNumber(5) - set messageEncoding(FeatureSet_MessageEncoding v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasMessageEncoding() => $_has(4); - @$pb.TagNumber(5) - void clearMessageEncoding() => clearField(5); - - @$pb.TagNumber(6) - FeatureSet_JsonFormat get jsonFormat => $_getN(5); - @$pb.TagNumber(6) - set jsonFormat(FeatureSet_JsonFormat v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasJsonFormat() => $_has(5); - @$pb.TagNumber(6) - void clearJsonFormat() => clearField(6); - - @$pb.TagNumber(7) - FeatureSet_EnforceNamingStyle get enforceNamingStyle => $_getN(6); - @$pb.TagNumber(7) - set enforceNamingStyle(FeatureSet_EnforceNamingStyle v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasEnforceNamingStyle() => $_has(6); - @$pb.TagNumber(7) - void clearEnforceNamingStyle() => clearField(7); -} - -/// A map from every known edition with a unique set of defaults to its -/// defaults. Not all editions may be contained here. For a given edition, -/// the defaults at the closest matching edition ordered at or before it should -/// be used. This field must be in strict ascending order by edition. -class FeatureSetDefaults_FeatureSetEditionDefault extends $pb.GeneratedMessage { - factory FeatureSetDefaults_FeatureSetEditionDefault({ - Edition? edition, - FeatureSet? overridableFeatures, - FeatureSet? fixedFeatures, - }) { - final $result = create(); - if (edition != null) { - $result.edition = edition; - } - if (overridableFeatures != null) { - $result.overridableFeatures = overridableFeatures; - } - if (fixedFeatures != null) { - $result.fixedFeatures = fixedFeatures; - } - return $result; - } - FeatureSetDefaults_FeatureSetEditionDefault._() : super(); - factory FeatureSetDefaults_FeatureSetEditionDefault.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FeatureSetDefaults_FeatureSetEditionDefault.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FeatureSetDefaults.FeatureSetEditionDefault', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..e(3, _omitFieldNames ? '' : 'edition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..aOM(4, _omitFieldNames ? '' : 'overridableFeatures', subBuilder: FeatureSet.create) - ..aOM(5, _omitFieldNames ? '' : 'fixedFeatures', subBuilder: FeatureSet.create) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FeatureSetDefaults_FeatureSetEditionDefault clone() => FeatureSetDefaults_FeatureSetEditionDefault()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FeatureSetDefaults_FeatureSetEditionDefault copyWith(void Function(FeatureSetDefaults_FeatureSetEditionDefault) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults_FeatureSetEditionDefault)) as FeatureSetDefaults_FeatureSetEditionDefault; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults_FeatureSetEditionDefault create() => FeatureSetDefaults_FeatureSetEditionDefault._(); - FeatureSetDefaults_FeatureSetEditionDefault createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults_FeatureSetEditionDefault getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FeatureSetDefaults_FeatureSetEditionDefault? _defaultInstance; - - @$pb.TagNumber(3) - Edition get edition => $_getN(0); - @$pb.TagNumber(3) - set edition(Edition v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasEdition() => $_has(0); - @$pb.TagNumber(3) - void clearEdition() => clearField(3); - - /// Defaults of features that can be overridden in this edition. - @$pb.TagNumber(4) - FeatureSet get overridableFeatures => $_getN(1); - @$pb.TagNumber(4) - set overridableFeatures(FeatureSet v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasOverridableFeatures() => $_has(1); - @$pb.TagNumber(4) - void clearOverridableFeatures() => clearField(4); - @$pb.TagNumber(4) - FeatureSet ensureOverridableFeatures() => $_ensure(1); - - /// Defaults of features that can't be overridden in this edition. - @$pb.TagNumber(5) - FeatureSet get fixedFeatures => $_getN(2); - @$pb.TagNumber(5) - set fixedFeatures(FeatureSet v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasFixedFeatures() => $_has(2); - @$pb.TagNumber(5) - void clearFixedFeatures() => clearField(5); - @$pb.TagNumber(5) - FeatureSet ensureFixedFeatures() => $_ensure(2); -} - -/// A compiled specification for the defaults of a set of features. These -/// messages are generated from FeatureSet extensions and can be used to seed -/// feature resolution. The resolution with this object becomes a simple search -/// for the closest matching edition, followed by proto merges. -class FeatureSetDefaults extends $pb.GeneratedMessage { - factory FeatureSetDefaults({ - $core.Iterable? defaults, - Edition? minimumEdition, - Edition? maximumEdition, - }) { - final $result = create(); - if (defaults != null) { - $result.defaults.addAll(defaults); - } - if (minimumEdition != null) { - $result.minimumEdition = minimumEdition; - } - if (maximumEdition != null) { - $result.maximumEdition = maximumEdition; - } - return $result; - } - FeatureSetDefaults._() : super(); - factory FeatureSetDefaults.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FeatureSetDefaults.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FeatureSetDefaults', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'defaults', $pb.PbFieldType.PM, subBuilder: FeatureSetDefaults_FeatureSetEditionDefault.create) - ..e(4, _omitFieldNames ? '' : 'minimumEdition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ..e(5, _omitFieldNames ? '' : 'maximumEdition', $pb.PbFieldType.OE, defaultOrMaker: Edition.EDITION_UNKNOWN, valueOf: Edition.valueOf, enumValues: Edition.values) - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FeatureSetDefaults clone() => FeatureSetDefaults()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FeatureSetDefaults copyWith(void Function(FeatureSetDefaults) updates) => super.copyWith((message) => updates(message as FeatureSetDefaults)) as FeatureSetDefaults; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults create() => FeatureSetDefaults._(); - FeatureSetDefaults createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FeatureSetDefaults getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FeatureSetDefaults? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get defaults => $_getList(0); - - /// The minimum supported edition (inclusive) when this was constructed. - /// Editions before this will not have defaults. - @$pb.TagNumber(4) - Edition get minimumEdition => $_getN(1); - @$pb.TagNumber(4) - set minimumEdition(Edition v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasMinimumEdition() => $_has(1); - @$pb.TagNumber(4) - void clearMinimumEdition() => clearField(4); - - /// The maximum known edition (inclusive) when this was constructed. Editions - /// after this will not have reliable defaults. - @$pb.TagNumber(5) - Edition get maximumEdition => $_getN(2); - @$pb.TagNumber(5) - set maximumEdition(Edition v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasMaximumEdition() => $_has(2); - @$pb.TagNumber(5) - void clearMaximumEdition() => clearField(5); -} - -class SourceCodeInfo_Location extends $pb.GeneratedMessage { - factory SourceCodeInfo_Location({ - $core.Iterable<$core.int>? path, - $core.Iterable<$core.int>? span, - $core.String? leadingComments, - $core.String? trailingComments, - $core.Iterable<$core.String>? leadingDetachedComments, - }) { - final $result = create(); - if (path != null) { - $result.path.addAll(path); - } - if (span != null) { - $result.span.addAll(span); - } - if (leadingComments != null) { - $result.leadingComments = leadingComments; - } - if (trailingComments != null) { - $result.trailingComments = trailingComments; - } - if (leadingDetachedComments != null) { - $result.leadingDetachedComments.addAll(leadingDetachedComments); - } - return $result; - } - SourceCodeInfo_Location._() : super(); - factory SourceCodeInfo_Location.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourceCodeInfo_Location.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceCodeInfo.Location', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'path', $pb.PbFieldType.K3) - ..p<$core.int>(2, _omitFieldNames ? '' : 'span', $pb.PbFieldType.K3) - ..aOS(3, _omitFieldNames ? '' : 'leadingComments') - ..aOS(4, _omitFieldNames ? '' : 'trailingComments') - ..pPS(6, _omitFieldNames ? '' : 'leadingDetachedComments') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourceCodeInfo_Location clone() => SourceCodeInfo_Location()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourceCodeInfo_Location copyWith(void Function(SourceCodeInfo_Location) updates) => super.copyWith((message) => updates(message as SourceCodeInfo_Location)) as SourceCodeInfo_Location; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourceCodeInfo_Location create() => SourceCodeInfo_Location._(); - SourceCodeInfo_Location createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourceCodeInfo_Location getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourceCodeInfo_Location? _defaultInstance; - - /// Identifies which part of the FileDescriptorProto was defined at this - /// location. - /// - /// Each element is a field number or an index. They form a path from - /// the root FileDescriptorProto to the place where the definition appears. - /// For example, this path: - /// [ 4, 3, 2, 7, 1 ] - /// refers to: - /// file.message_type(3) // 4, 3 - /// .field(7) // 2, 7 - /// .name() // 1 - /// This is because FileDescriptorProto.message_type has field number 4: - /// repeated DescriptorProto message_type = 4; - /// and DescriptorProto.field has field number 2: - /// repeated FieldDescriptorProto field = 2; - /// and FieldDescriptorProto.name has field number 1: - /// optional string name = 1; - /// - /// Thus, the above path gives the location of a field name. If we removed - /// the last element: - /// [ 4, 3, 2, 7 ] - /// this path refers to the whole field declaration (from the beginning - /// of the label to the terminating semicolon). - @$pb.TagNumber(1) - $core.List<$core.int> get path => $_getList(0); - - /// Always has exactly three or four elements: start line, start column, - /// end line (optional, otherwise assumed same as start line), end column. - /// These are packed into a single field for efficiency. Note that line - /// and column numbers are zero-based -- typically you will want to add - /// 1 to each before displaying to a user. - @$pb.TagNumber(2) - $core.List<$core.int> get span => $_getList(1); - - /// If this SourceCodeInfo represents a complete declaration, these are any - /// comments appearing before and after the declaration which appear to be - /// attached to the declaration. - /// - /// A series of line comments appearing on consecutive lines, with no other - /// tokens appearing on those lines, will be treated as a single comment. - /// - /// leading_detached_comments will keep paragraphs of comments that appear - /// before (but not connected to) the current element. Each paragraph, - /// separated by empty lines, will be one comment element in the repeated - /// field. - /// - /// Only the comment content is provided; comment markers (e.g. //) are - /// stripped out. For block comments, leading whitespace and an asterisk - /// will be stripped from the beginning of each line other than the first. - /// Newlines are included in the output. - /// - /// Examples: - /// - /// optional int32 foo = 1; // Comment attached to foo. - /// // Comment attached to bar. - /// optional int32 bar = 2; - /// - /// optional string baz = 3; - /// // Comment attached to baz. - /// // Another line attached to baz. - /// - /// // Comment attached to moo. - /// // - /// // Another line attached to moo. - /// optional double moo = 4; - /// - /// // Detached comment for corge. This is not leading or trailing comments - /// // to moo or corge because there are blank lines separating it from - /// // both. - /// - /// // Detached comment for corge paragraph 2. - /// - /// optional string corge = 5; - /// /* Block comment attached - /// * to corge. Leading asterisks - /// * will be removed. */ - /// /* Block comment attached to - /// * grault. */ - /// optional int32 grault = 6; - /// - /// // ignored detached comments. - @$pb.TagNumber(3) - $core.String get leadingComments => $_getSZ(2); - @$pb.TagNumber(3) - set leadingComments($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLeadingComments() => $_has(2); - @$pb.TagNumber(3) - void clearLeadingComments() => clearField(3); - - @$pb.TagNumber(4) - $core.String get trailingComments => $_getSZ(3); - @$pb.TagNumber(4) - set trailingComments($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasTrailingComments() => $_has(3); - @$pb.TagNumber(4) - void clearTrailingComments() => clearField(4); - - @$pb.TagNumber(6) - $core.List<$core.String> get leadingDetachedComments => $_getList(4); -} - -/// Encapsulates information about the original source file from which a -/// FileDescriptorProto was generated. -class SourceCodeInfo extends $pb.GeneratedMessage { - factory SourceCodeInfo({ - $core.Iterable? location, - }) { - final $result = create(); - if (location != null) { - $result.location.addAll(location); - } - return $result; - } - SourceCodeInfo._() : super(); - factory SourceCodeInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SourceCodeInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SourceCodeInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'location', $pb.PbFieldType.PM, subBuilder: SourceCodeInfo_Location.create) - ..hasExtensions = true - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SourceCodeInfo clone() => SourceCodeInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SourceCodeInfo copyWith(void Function(SourceCodeInfo) updates) => super.copyWith((message) => updates(message as SourceCodeInfo)) as SourceCodeInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SourceCodeInfo create() => SourceCodeInfo._(); - SourceCodeInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SourceCodeInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SourceCodeInfo? _defaultInstance; - - /// A Location identifies a piece of source code in a .proto file which - /// corresponds to a particular definition. This information is intended - /// to be useful to IDEs, code indexers, documentation generators, and similar - /// tools. - /// - /// For example, say we have a file like: - /// message Foo { - /// optional string foo = 1; - /// } - /// Let's look at just the field definition: - /// optional string foo = 1; - /// ^ ^^ ^^ ^ ^^^ - /// a bc de f ghi - /// We have the following locations: - /// span path represents - /// [a,i) [ 4, 0, 2, 0 ] The whole field definition. - /// [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - /// [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - /// [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - /// [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - /// - /// Notes: - /// - A location may refer to a repeated field itself (i.e. not to any - /// particular index within it). This is used whenever a set of elements are - /// logically enclosed in a single code segment. For example, an entire - /// extend block (possibly containing multiple extension definitions) will - /// have an outer location whose path refers to the "extensions" repeated - /// field without an index. - /// - Multiple locations may have the same path. This happens when a single - /// logical declaration is spread out across multiple places. The most - /// obvious example is the "extend" block again -- there may be multiple - /// extend blocks in the same scope, each of which will have the same path. - /// - A location's span is not always a subset of its parent's span. For - /// example, the "extendee" of an extension declaration appears at the - /// beginning of the "extend" block and is shared by all extensions within - /// the block. - /// - Just because a location's span is a subset of some other location's span - /// does not mean that it is a descendant. For example, a "group" defines - /// both a type and a field in a single declaration. Thus, the locations - /// corresponding to the type and field and their components will overlap. - /// - Code which tries to interpret locations should probably be designed to - /// ignore those that it doesn't understand, as more types of locations could - /// be recorded in the future. - @$pb.TagNumber(1) - $core.List get location => $_getList(0); -} - -class GeneratedCodeInfo_Annotation extends $pb.GeneratedMessage { - factory GeneratedCodeInfo_Annotation({ - $core.Iterable<$core.int>? path, - $core.String? sourceFile, - $core.int? begin, - $core.int? end, - GeneratedCodeInfo_Annotation_Semantic? semantic, - }) { - final $result = create(); - if (path != null) { - $result.path.addAll(path); - } - if (sourceFile != null) { - $result.sourceFile = sourceFile; - } - if (begin != null) { - $result.begin = begin; - } - if (end != null) { - $result.end = end; - } - if (semantic != null) { - $result.semantic = semantic; - } - return $result; - } - GeneratedCodeInfo_Annotation._() : super(); - factory GeneratedCodeInfo_Annotation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GeneratedCodeInfo_Annotation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeneratedCodeInfo.Annotation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'path', $pb.PbFieldType.K3) - ..aOS(2, _omitFieldNames ? '' : 'sourceFile') - ..a<$core.int>(3, _omitFieldNames ? '' : 'begin', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'end', $pb.PbFieldType.O3) - ..e(5, _omitFieldNames ? '' : 'semantic', $pb.PbFieldType.OE, defaultOrMaker: GeneratedCodeInfo_Annotation_Semantic.NONE, valueOf: GeneratedCodeInfo_Annotation_Semantic.valueOf, enumValues: GeneratedCodeInfo_Annotation_Semantic.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GeneratedCodeInfo_Annotation clone() => GeneratedCodeInfo_Annotation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GeneratedCodeInfo_Annotation copyWith(void Function(GeneratedCodeInfo_Annotation) updates) => super.copyWith((message) => updates(message as GeneratedCodeInfo_Annotation)) as GeneratedCodeInfo_Annotation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GeneratedCodeInfo_Annotation create() => GeneratedCodeInfo_Annotation._(); - GeneratedCodeInfo_Annotation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GeneratedCodeInfo_Annotation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GeneratedCodeInfo_Annotation? _defaultInstance; - - /// Identifies the element in the original source .proto file. This field - /// is formatted the same as SourceCodeInfo.Location.path. - @$pb.TagNumber(1) - $core.List<$core.int> get path => $_getList(0); - - /// Identifies the filesystem path to the original source .proto. - @$pb.TagNumber(2) - $core.String get sourceFile => $_getSZ(1); - @$pb.TagNumber(2) - set sourceFile($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSourceFile() => $_has(1); - @$pb.TagNumber(2) - void clearSourceFile() => clearField(2); - - /// Identifies the starting offset in bytes in the generated code - /// that relates to the identified object. - @$pb.TagNumber(3) - $core.int get begin => $_getIZ(2); - @$pb.TagNumber(3) - set begin($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasBegin() => $_has(2); - @$pb.TagNumber(3) - void clearBegin() => clearField(3); - - /// Identifies the ending offset in bytes in the generated code that - /// relates to the identified object. The end offset should be one past - /// the last relevant byte (so the length of the text = end - begin). - @$pb.TagNumber(4) - $core.int get end => $_getIZ(3); - @$pb.TagNumber(4) - set end($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasEnd() => $_has(3); - @$pb.TagNumber(4) - void clearEnd() => clearField(4); - - @$pb.TagNumber(5) - GeneratedCodeInfo_Annotation_Semantic get semantic => $_getN(4); - @$pb.TagNumber(5) - set semantic(GeneratedCodeInfo_Annotation_Semantic v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasSemantic() => $_has(4); - @$pb.TagNumber(5) - void clearSemantic() => clearField(5); -} - -/// Describes the relationship between generated code and its original source -/// file. A GeneratedCodeInfo message is associated with only one generated -/// source file, but may contain references to different source .proto files. -class GeneratedCodeInfo extends $pb.GeneratedMessage { - factory GeneratedCodeInfo({ - $core.Iterable? annotation, - }) { - final $result = create(); - if (annotation != null) { - $result.annotation.addAll(annotation); - } - return $result; - } - GeneratedCodeInfo._() : super(); - factory GeneratedCodeInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GeneratedCodeInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GeneratedCodeInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'annotation', $pb.PbFieldType.PM, subBuilder: GeneratedCodeInfo_Annotation.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GeneratedCodeInfo clone() => GeneratedCodeInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GeneratedCodeInfo copyWith(void Function(GeneratedCodeInfo) updates) => super.copyWith((message) => updates(message as GeneratedCodeInfo)) as GeneratedCodeInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GeneratedCodeInfo create() => GeneratedCodeInfo._(); - GeneratedCodeInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GeneratedCodeInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GeneratedCodeInfo? _defaultInstance; - - /// An Annotation connects some span of text in generated code to an element - /// of its generating .proto file. - @$pb.TagNumber(1) - $core.List get annotation => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/protobuf/descriptor.pbenum.dart b/lib/src/gen/google/protobuf/descriptor.pbenum.dart deleted file mode 100644 index 5bb446f62c1..00000000000 --- a/lib/src/gen/google/protobuf/descriptor.pbenum.dart +++ /dev/null @@ -1,397 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/descriptor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// The full set of known editions. -class Edition extends $pb.ProtobufEnum { - static const Edition EDITION_UNKNOWN = Edition._(0, _omitEnumNames ? '' : 'EDITION_UNKNOWN'); - static const Edition EDITION_LEGACY = Edition._(900, _omitEnumNames ? '' : 'EDITION_LEGACY'); - static const Edition EDITION_PROTO2 = Edition._(998, _omitEnumNames ? '' : 'EDITION_PROTO2'); - static const Edition EDITION_PROTO3 = Edition._(999, _omitEnumNames ? '' : 'EDITION_PROTO3'); - static const Edition EDITION_2023 = Edition._(1000, _omitEnumNames ? '' : 'EDITION_2023'); - static const Edition EDITION_2024 = Edition._(1001, _omitEnumNames ? '' : 'EDITION_2024'); - static const Edition EDITION_1_TEST_ONLY = Edition._(1, _omitEnumNames ? '' : 'EDITION_1_TEST_ONLY'); - static const Edition EDITION_2_TEST_ONLY = Edition._(2, _omitEnumNames ? '' : 'EDITION_2_TEST_ONLY'); - static const Edition EDITION_99997_TEST_ONLY = Edition._(99997, _omitEnumNames ? '' : 'EDITION_99997_TEST_ONLY'); - static const Edition EDITION_99998_TEST_ONLY = Edition._(99998, _omitEnumNames ? '' : 'EDITION_99998_TEST_ONLY'); - static const Edition EDITION_99999_TEST_ONLY = Edition._(99999, _omitEnumNames ? '' : 'EDITION_99999_TEST_ONLY'); - static const Edition EDITION_MAX = Edition._(2147483647, _omitEnumNames ? '' : 'EDITION_MAX'); - - static const $core.List values = [ - EDITION_UNKNOWN, - EDITION_LEGACY, - EDITION_PROTO2, - EDITION_PROTO3, - EDITION_2023, - EDITION_2024, - EDITION_1_TEST_ONLY, - EDITION_2_TEST_ONLY, - EDITION_99997_TEST_ONLY, - EDITION_99998_TEST_ONLY, - EDITION_99999_TEST_ONLY, - EDITION_MAX, - ]; - - static final $core.Map<$core.int, Edition> _byValue = $pb.ProtobufEnum.initByValue(values); - static Edition? valueOf($core.int value) => _byValue[value]; - - const Edition._($core.int v, $core.String n) : super(v, n); -} - -/// The verification state of the extension range. -class ExtensionRangeOptions_VerificationState extends $pb.ProtobufEnum { - static const ExtensionRangeOptions_VerificationState DECLARATION = ExtensionRangeOptions_VerificationState._(0, _omitEnumNames ? '' : 'DECLARATION'); - static const ExtensionRangeOptions_VerificationState UNVERIFIED = ExtensionRangeOptions_VerificationState._(1, _omitEnumNames ? '' : 'UNVERIFIED'); - - static const $core.List values = [ - DECLARATION, - UNVERIFIED, - ]; - - static final $core.Map<$core.int, ExtensionRangeOptions_VerificationState> _byValue = $pb.ProtobufEnum.initByValue(values); - static ExtensionRangeOptions_VerificationState? valueOf($core.int value) => _byValue[value]; - - const ExtensionRangeOptions_VerificationState._($core.int v, $core.String n) : super(v, n); -} - -class FieldDescriptorProto_Type extends $pb.ProtobufEnum { - static const FieldDescriptorProto_Type TYPE_DOUBLE = FieldDescriptorProto_Type._(1, _omitEnumNames ? '' : 'TYPE_DOUBLE'); - static const FieldDescriptorProto_Type TYPE_FLOAT = FieldDescriptorProto_Type._(2, _omitEnumNames ? '' : 'TYPE_FLOAT'); - static const FieldDescriptorProto_Type TYPE_INT64 = FieldDescriptorProto_Type._(3, _omitEnumNames ? '' : 'TYPE_INT64'); - static const FieldDescriptorProto_Type TYPE_UINT64 = FieldDescriptorProto_Type._(4, _omitEnumNames ? '' : 'TYPE_UINT64'); - static const FieldDescriptorProto_Type TYPE_INT32 = FieldDescriptorProto_Type._(5, _omitEnumNames ? '' : 'TYPE_INT32'); - static const FieldDescriptorProto_Type TYPE_FIXED64 = FieldDescriptorProto_Type._(6, _omitEnumNames ? '' : 'TYPE_FIXED64'); - static const FieldDescriptorProto_Type TYPE_FIXED32 = FieldDescriptorProto_Type._(7, _omitEnumNames ? '' : 'TYPE_FIXED32'); - static const FieldDescriptorProto_Type TYPE_BOOL = FieldDescriptorProto_Type._(8, _omitEnumNames ? '' : 'TYPE_BOOL'); - static const FieldDescriptorProto_Type TYPE_STRING = FieldDescriptorProto_Type._(9, _omitEnumNames ? '' : 'TYPE_STRING'); - static const FieldDescriptorProto_Type TYPE_GROUP = FieldDescriptorProto_Type._(10, _omitEnumNames ? '' : 'TYPE_GROUP'); - static const FieldDescriptorProto_Type TYPE_MESSAGE = FieldDescriptorProto_Type._(11, _omitEnumNames ? '' : 'TYPE_MESSAGE'); - static const FieldDescriptorProto_Type TYPE_BYTES = FieldDescriptorProto_Type._(12, _omitEnumNames ? '' : 'TYPE_BYTES'); - static const FieldDescriptorProto_Type TYPE_UINT32 = FieldDescriptorProto_Type._(13, _omitEnumNames ? '' : 'TYPE_UINT32'); - static const FieldDescriptorProto_Type TYPE_ENUM = FieldDescriptorProto_Type._(14, _omitEnumNames ? '' : 'TYPE_ENUM'); - static const FieldDescriptorProto_Type TYPE_SFIXED32 = FieldDescriptorProto_Type._(15, _omitEnumNames ? '' : 'TYPE_SFIXED32'); - static const FieldDescriptorProto_Type TYPE_SFIXED64 = FieldDescriptorProto_Type._(16, _omitEnumNames ? '' : 'TYPE_SFIXED64'); - static const FieldDescriptorProto_Type TYPE_SINT32 = FieldDescriptorProto_Type._(17, _omitEnumNames ? '' : 'TYPE_SINT32'); - static const FieldDescriptorProto_Type TYPE_SINT64 = FieldDescriptorProto_Type._(18, _omitEnumNames ? '' : 'TYPE_SINT64'); - - static const $core.List values = [ - TYPE_DOUBLE, - TYPE_FLOAT, - TYPE_INT64, - TYPE_UINT64, - TYPE_INT32, - TYPE_FIXED64, - TYPE_FIXED32, - TYPE_BOOL, - TYPE_STRING, - TYPE_GROUP, - TYPE_MESSAGE, - TYPE_BYTES, - TYPE_UINT32, - TYPE_ENUM, - TYPE_SFIXED32, - TYPE_SFIXED64, - TYPE_SINT32, - TYPE_SINT64, - ]; - - static final $core.Map<$core.int, FieldDescriptorProto_Type> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldDescriptorProto_Type? valueOf($core.int value) => _byValue[value]; - - const FieldDescriptorProto_Type._($core.int v, $core.String n) : super(v, n); -} - -class FieldDescriptorProto_Label extends $pb.ProtobufEnum { - static const FieldDescriptorProto_Label LABEL_OPTIONAL = FieldDescriptorProto_Label._(1, _omitEnumNames ? '' : 'LABEL_OPTIONAL'); - static const FieldDescriptorProto_Label LABEL_REPEATED = FieldDescriptorProto_Label._(3, _omitEnumNames ? '' : 'LABEL_REPEATED'); - static const FieldDescriptorProto_Label LABEL_REQUIRED = FieldDescriptorProto_Label._(2, _omitEnumNames ? '' : 'LABEL_REQUIRED'); - - static const $core.List values = [ - LABEL_OPTIONAL, - LABEL_REPEATED, - LABEL_REQUIRED, - ]; - - static final $core.Map<$core.int, FieldDescriptorProto_Label> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldDescriptorProto_Label? valueOf($core.int value) => _byValue[value]; - - const FieldDescriptorProto_Label._($core.int v, $core.String n) : super(v, n); -} - -/// Generated classes can be optimized for speed or code size. -class FileOptions_OptimizeMode extends $pb.ProtobufEnum { - static const FileOptions_OptimizeMode SPEED = FileOptions_OptimizeMode._(1, _omitEnumNames ? '' : 'SPEED'); - static const FileOptions_OptimizeMode CODE_SIZE = FileOptions_OptimizeMode._(2, _omitEnumNames ? '' : 'CODE_SIZE'); - static const FileOptions_OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode._(3, _omitEnumNames ? '' : 'LITE_RUNTIME'); - - static const $core.List values = [ - SPEED, - CODE_SIZE, - LITE_RUNTIME, - ]; - - static final $core.Map<$core.int, FileOptions_OptimizeMode> _byValue = $pb.ProtobufEnum.initByValue(values); - static FileOptions_OptimizeMode? valueOf($core.int value) => _byValue[value]; - - const FileOptions_OptimizeMode._($core.int v, $core.String n) : super(v, n); -} - -class FieldOptions_CType extends $pb.ProtobufEnum { - static const FieldOptions_CType STRING = FieldOptions_CType._(0, _omitEnumNames ? '' : 'STRING'); - static const FieldOptions_CType CORD = FieldOptions_CType._(1, _omitEnumNames ? '' : 'CORD'); - static const FieldOptions_CType STRING_PIECE = FieldOptions_CType._(2, _omitEnumNames ? '' : 'STRING_PIECE'); - - static const $core.List values = [ - STRING, - CORD, - STRING_PIECE, - ]; - - static final $core.Map<$core.int, FieldOptions_CType> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldOptions_CType? valueOf($core.int value) => _byValue[value]; - - const FieldOptions_CType._($core.int v, $core.String n) : super(v, n); -} - -class FieldOptions_JSType extends $pb.ProtobufEnum { - static const FieldOptions_JSType JS_NORMAL = FieldOptions_JSType._(0, _omitEnumNames ? '' : 'JS_NORMAL'); - static const FieldOptions_JSType JS_STRING = FieldOptions_JSType._(1, _omitEnumNames ? '' : 'JS_STRING'); - static const FieldOptions_JSType JS_NUMBER = FieldOptions_JSType._(2, _omitEnumNames ? '' : 'JS_NUMBER'); - - static const $core.List values = [ - JS_NORMAL, - JS_STRING, - JS_NUMBER, - ]; - - static final $core.Map<$core.int, FieldOptions_JSType> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldOptions_JSType? valueOf($core.int value) => _byValue[value]; - - const FieldOptions_JSType._($core.int v, $core.String n) : super(v, n); -} - -/// If set to RETENTION_SOURCE, the option will be omitted from the binary. -class FieldOptions_OptionRetention extends $pb.ProtobufEnum { - static const FieldOptions_OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention._(0, _omitEnumNames ? '' : 'RETENTION_UNKNOWN'); - static const FieldOptions_OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention._(1, _omitEnumNames ? '' : 'RETENTION_RUNTIME'); - static const FieldOptions_OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention._(2, _omitEnumNames ? '' : 'RETENTION_SOURCE'); - - static const $core.List values = [ - RETENTION_UNKNOWN, - RETENTION_RUNTIME, - RETENTION_SOURCE, - ]; - - static final $core.Map<$core.int, FieldOptions_OptionRetention> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldOptions_OptionRetention? valueOf($core.int value) => _byValue[value]; - - const FieldOptions_OptionRetention._($core.int v, $core.String n) : super(v, n); -} - -/// This indicates the types of entities that the field may apply to when used -/// as an option. If it is unset, then the field may be freely used as an -/// option on any kind of entity. -class FieldOptions_OptionTargetType extends $pb.ProtobufEnum { - static const FieldOptions_OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType._(0, _omitEnumNames ? '' : 'TARGET_TYPE_UNKNOWN'); - static const FieldOptions_OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType._(1, _omitEnumNames ? '' : 'TARGET_TYPE_FILE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType._(2, _omitEnumNames ? '' : 'TARGET_TYPE_EXTENSION_RANGE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType._(3, _omitEnumNames ? '' : 'TARGET_TYPE_MESSAGE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType._(4, _omitEnumNames ? '' : 'TARGET_TYPE_FIELD'); - static const FieldOptions_OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType._(5, _omitEnumNames ? '' : 'TARGET_TYPE_ONEOF'); - static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType._(6, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM'); - static const FieldOptions_OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType._(7, _omitEnumNames ? '' : 'TARGET_TYPE_ENUM_ENTRY'); - static const FieldOptions_OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType._(8, _omitEnumNames ? '' : 'TARGET_TYPE_SERVICE'); - static const FieldOptions_OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType._(9, _omitEnumNames ? '' : 'TARGET_TYPE_METHOD'); - - static const $core.List values = [ - TARGET_TYPE_UNKNOWN, - TARGET_TYPE_FILE, - TARGET_TYPE_EXTENSION_RANGE, - TARGET_TYPE_MESSAGE, - TARGET_TYPE_FIELD, - TARGET_TYPE_ONEOF, - TARGET_TYPE_ENUM, - TARGET_TYPE_ENUM_ENTRY, - TARGET_TYPE_SERVICE, - TARGET_TYPE_METHOD, - ]; - - static final $core.Map<$core.int, FieldOptions_OptionTargetType> _byValue = $pb.ProtobufEnum.initByValue(values); - static FieldOptions_OptionTargetType? valueOf($core.int value) => _byValue[value]; - - const FieldOptions_OptionTargetType._($core.int v, $core.String n) : super(v, n); -} - -/// Is this method side-effect-free (or safe in HTTP parlance), or idempotent, -/// or neither? HTTP based RPC implementation may choose GET verb for safe -/// methods, and PUT verb for idempotent methods instead of the default POST. -class MethodOptions_IdempotencyLevel extends $pb.ProtobufEnum { - static const MethodOptions_IdempotencyLevel IDEMPOTENCY_UNKNOWN = MethodOptions_IdempotencyLevel._(0, _omitEnumNames ? '' : 'IDEMPOTENCY_UNKNOWN'); - static const MethodOptions_IdempotencyLevel NO_SIDE_EFFECTS = MethodOptions_IdempotencyLevel._(1, _omitEnumNames ? '' : 'NO_SIDE_EFFECTS'); - static const MethodOptions_IdempotencyLevel IDEMPOTENT = MethodOptions_IdempotencyLevel._(2, _omitEnumNames ? '' : 'IDEMPOTENT'); - - static const $core.List values = [ - IDEMPOTENCY_UNKNOWN, - NO_SIDE_EFFECTS, - IDEMPOTENT, - ]; - - static final $core.Map<$core.int, MethodOptions_IdempotencyLevel> _byValue = $pb.ProtobufEnum.initByValue(values); - static MethodOptions_IdempotencyLevel? valueOf($core.int value) => _byValue[value]; - - const MethodOptions_IdempotencyLevel._($core.int v, $core.String n) : super(v, n); -} - -class FeatureSet_FieldPresence extends $pb.ProtobufEnum { - static const FeatureSet_FieldPresence FIELD_PRESENCE_UNKNOWN = FeatureSet_FieldPresence._(0, _omitEnumNames ? '' : 'FIELD_PRESENCE_UNKNOWN'); - static const FeatureSet_FieldPresence EXPLICIT = FeatureSet_FieldPresence._(1, _omitEnumNames ? '' : 'EXPLICIT'); - static const FeatureSet_FieldPresence IMPLICIT = FeatureSet_FieldPresence._(2, _omitEnumNames ? '' : 'IMPLICIT'); - static const FeatureSet_FieldPresence LEGACY_REQUIRED = FeatureSet_FieldPresence._(3, _omitEnumNames ? '' : 'LEGACY_REQUIRED'); - - static const $core.List values = [ - FIELD_PRESENCE_UNKNOWN, - EXPLICIT, - IMPLICIT, - LEGACY_REQUIRED, - ]; - - static final $core.Map<$core.int, FeatureSet_FieldPresence> _byValue = $pb.ProtobufEnum.initByValue(values); - static FeatureSet_FieldPresence? valueOf($core.int value) => _byValue[value]; - - const FeatureSet_FieldPresence._($core.int v, $core.String n) : super(v, n); -} - -class FeatureSet_EnumType extends $pb.ProtobufEnum { - static const FeatureSet_EnumType ENUM_TYPE_UNKNOWN = FeatureSet_EnumType._(0, _omitEnumNames ? '' : 'ENUM_TYPE_UNKNOWN'); - static const FeatureSet_EnumType OPEN = FeatureSet_EnumType._(1, _omitEnumNames ? '' : 'OPEN'); - static const FeatureSet_EnumType CLOSED = FeatureSet_EnumType._(2, _omitEnumNames ? '' : 'CLOSED'); - - static const $core.List values = [ - ENUM_TYPE_UNKNOWN, - OPEN, - CLOSED, - ]; - - static final $core.Map<$core.int, FeatureSet_EnumType> _byValue = $pb.ProtobufEnum.initByValue(values); - static FeatureSet_EnumType? valueOf($core.int value) => _byValue[value]; - - const FeatureSet_EnumType._($core.int v, $core.String n) : super(v, n); -} - -class FeatureSet_RepeatedFieldEncoding extends $pb.ProtobufEnum { - static const FeatureSet_RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet_RepeatedFieldEncoding._(0, _omitEnumNames ? '' : 'REPEATED_FIELD_ENCODING_UNKNOWN'); - static const FeatureSet_RepeatedFieldEncoding PACKED = FeatureSet_RepeatedFieldEncoding._(1, _omitEnumNames ? '' : 'PACKED'); - static const FeatureSet_RepeatedFieldEncoding EXPANDED = FeatureSet_RepeatedFieldEncoding._(2, _omitEnumNames ? '' : 'EXPANDED'); - - static const $core.List values = [ - REPEATED_FIELD_ENCODING_UNKNOWN, - PACKED, - EXPANDED, - ]; - - static final $core.Map<$core.int, FeatureSet_RepeatedFieldEncoding> _byValue = $pb.ProtobufEnum.initByValue(values); - static FeatureSet_RepeatedFieldEncoding? valueOf($core.int value) => _byValue[value]; - - const FeatureSet_RepeatedFieldEncoding._($core.int v, $core.String n) : super(v, n); -} - -class FeatureSet_Utf8Validation extends $pb.ProtobufEnum { - static const FeatureSet_Utf8Validation UTF8_VALIDATION_UNKNOWN = FeatureSet_Utf8Validation._(0, _omitEnumNames ? '' : 'UTF8_VALIDATION_UNKNOWN'); - static const FeatureSet_Utf8Validation VERIFY = FeatureSet_Utf8Validation._(2, _omitEnumNames ? '' : 'VERIFY'); - static const FeatureSet_Utf8Validation NONE = FeatureSet_Utf8Validation._(3, _omitEnumNames ? '' : 'NONE'); - - static const $core.List values = [ - UTF8_VALIDATION_UNKNOWN, - VERIFY, - NONE, - ]; - - static final $core.Map<$core.int, FeatureSet_Utf8Validation> _byValue = $pb.ProtobufEnum.initByValue(values); - static FeatureSet_Utf8Validation? valueOf($core.int value) => _byValue[value]; - - const FeatureSet_Utf8Validation._($core.int v, $core.String n) : super(v, n); -} - -class FeatureSet_MessageEncoding extends $pb.ProtobufEnum { - static const FeatureSet_MessageEncoding MESSAGE_ENCODING_UNKNOWN = FeatureSet_MessageEncoding._(0, _omitEnumNames ? '' : 'MESSAGE_ENCODING_UNKNOWN'); - static const FeatureSet_MessageEncoding LENGTH_PREFIXED = FeatureSet_MessageEncoding._(1, _omitEnumNames ? '' : 'LENGTH_PREFIXED'); - static const FeatureSet_MessageEncoding DELIMITED = FeatureSet_MessageEncoding._(2, _omitEnumNames ? '' : 'DELIMITED'); - - static const $core.List values = [ - MESSAGE_ENCODING_UNKNOWN, - LENGTH_PREFIXED, - DELIMITED, - ]; - - static final $core.Map<$core.int, FeatureSet_MessageEncoding> _byValue = $pb.ProtobufEnum.initByValue(values); - static FeatureSet_MessageEncoding? valueOf($core.int value) => _byValue[value]; - - const FeatureSet_MessageEncoding._($core.int v, $core.String n) : super(v, n); -} - -class FeatureSet_JsonFormat extends $pb.ProtobufEnum { - static const FeatureSet_JsonFormat JSON_FORMAT_UNKNOWN = FeatureSet_JsonFormat._(0, _omitEnumNames ? '' : 'JSON_FORMAT_UNKNOWN'); - static const FeatureSet_JsonFormat ALLOW = FeatureSet_JsonFormat._(1, _omitEnumNames ? '' : 'ALLOW'); - static const FeatureSet_JsonFormat LEGACY_BEST_EFFORT = FeatureSet_JsonFormat._(2, _omitEnumNames ? '' : 'LEGACY_BEST_EFFORT'); - - static const $core.List values = [ - JSON_FORMAT_UNKNOWN, - ALLOW, - LEGACY_BEST_EFFORT, - ]; - - static final $core.Map<$core.int, FeatureSet_JsonFormat> _byValue = $pb.ProtobufEnum.initByValue(values); - static FeatureSet_JsonFormat? valueOf($core.int value) => _byValue[value]; - - const FeatureSet_JsonFormat._($core.int v, $core.String n) : super(v, n); -} - -class FeatureSet_EnforceNamingStyle extends $pb.ProtobufEnum { - static const FeatureSet_EnforceNamingStyle ENFORCE_NAMING_STYLE_UNKNOWN = FeatureSet_EnforceNamingStyle._(0, _omitEnumNames ? '' : 'ENFORCE_NAMING_STYLE_UNKNOWN'); - static const FeatureSet_EnforceNamingStyle STYLE2024 = FeatureSet_EnforceNamingStyle._(1, _omitEnumNames ? '' : 'STYLE2024'); - static const FeatureSet_EnforceNamingStyle STYLE_LEGACY = FeatureSet_EnforceNamingStyle._(2, _omitEnumNames ? '' : 'STYLE_LEGACY'); - - static const $core.List values = [ - ENFORCE_NAMING_STYLE_UNKNOWN, - STYLE2024, - STYLE_LEGACY, - ]; - - static final $core.Map<$core.int, FeatureSet_EnforceNamingStyle> _byValue = $pb.ProtobufEnum.initByValue(values); - static FeatureSet_EnforceNamingStyle? valueOf($core.int value) => _byValue[value]; - - const FeatureSet_EnforceNamingStyle._($core.int v, $core.String n) : super(v, n); -} - -/// Represents the identified object's effect on the element in the original -/// .proto file. -class GeneratedCodeInfo_Annotation_Semantic extends $pb.ProtobufEnum { - static const GeneratedCodeInfo_Annotation_Semantic NONE = GeneratedCodeInfo_Annotation_Semantic._(0, _omitEnumNames ? '' : 'NONE'); - static const GeneratedCodeInfo_Annotation_Semantic SET = GeneratedCodeInfo_Annotation_Semantic._(1, _omitEnumNames ? '' : 'SET'); - static const GeneratedCodeInfo_Annotation_Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic._(2, _omitEnumNames ? '' : 'ALIAS'); - - static const $core.List values = [ - NONE, - SET, - ALIAS, - ]; - - static final $core.Map<$core.int, GeneratedCodeInfo_Annotation_Semantic> _byValue = $pb.ProtobufEnum.initByValue(values); - static GeneratedCodeInfo_Annotation_Semantic? valueOf($core.int value) => _byValue[value]; - - const GeneratedCodeInfo_Annotation_Semantic._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/protobuf/descriptor.pbjson.dart b/lib/src/gen/google/protobuf/descriptor.pbjson.dart deleted file mode 100644 index 5ff585f2484..00000000000 --- a/lib/src/gen/google/protobuf/descriptor.pbjson.dart +++ /dev/null @@ -1,1063 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/descriptor.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use editionDescriptor instead') -const Edition$json = { - '1': 'Edition', - '2': [ - {'1': 'EDITION_UNKNOWN', '2': 0}, - {'1': 'EDITION_LEGACY', '2': 900}, - {'1': 'EDITION_PROTO2', '2': 998}, - {'1': 'EDITION_PROTO3', '2': 999}, - {'1': 'EDITION_2023', '2': 1000}, - {'1': 'EDITION_2024', '2': 1001}, - {'1': 'EDITION_1_TEST_ONLY', '2': 1}, - {'1': 'EDITION_2_TEST_ONLY', '2': 2}, - {'1': 'EDITION_99997_TEST_ONLY', '2': 99997}, - {'1': 'EDITION_99998_TEST_ONLY', '2': 99998}, - {'1': 'EDITION_99999_TEST_ONLY', '2': 99999}, - {'1': 'EDITION_MAX', '2': 2147483647}, - ], -}; - -/// Descriptor for `Edition`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List editionDescriptor = $convert.base64Decode( - 'CgdFZGl0aW9uEhMKD0VESVRJT05fVU5LTk9XThAAEhMKDkVESVRJT05fTEVHQUNZEIQHEhMKDk' - 'VESVRJT05fUFJPVE8yEOYHEhMKDkVESVRJT05fUFJPVE8zEOcHEhEKDEVESVRJT05fMjAyMxDo' - 'BxIRCgxFRElUSU9OXzIwMjQQ6QcSFwoTRURJVElPTl8xX1RFU1RfT05MWRABEhcKE0VESVRJT0' - '5fMl9URVNUX09OTFkQAhIdChdFRElUSU9OXzk5OTk3X1RFU1RfT05MWRCdjQYSHQoXRURJVElP' - 'Tl85OTk5OF9URVNUX09OTFkQno0GEh0KF0VESVRJT05fOTk5OTlfVEVTVF9PTkxZEJ+NBhITCg' - 'tFRElUSU9OX01BWBD/////Bw=='); - -@$core.Deprecated('Use fileDescriptorSetDescriptor instead') -const FileDescriptorSet$json = { - '1': 'FileDescriptorSet', - '2': [ - {'1': 'file', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.FileDescriptorProto', '10': 'file'}, - ], - '5': [ - {'1': 536000000, '2': 536000001}, - ], -}; - -/// Descriptor for `FileDescriptorSet`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileDescriptorSetDescriptor = $convert.base64Decode( - 'ChFGaWxlRGVzY3JpcHRvclNldBI4CgRmaWxlGAEgAygLMiQuZ29vZ2xlLnByb3RvYnVmLkZpbG' - 'VEZXNjcmlwdG9yUHJvdG9SBGZpbGUqDAiA7Mr/ARCB7Mr/AQ=='); - -@$core.Deprecated('Use fileDescriptorProtoDescriptor instead') -const FileDescriptorProto$json = { - '1': 'FileDescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'package', '3': 2, '4': 1, '5': 9, '10': 'package'}, - {'1': 'dependency', '3': 3, '4': 3, '5': 9, '10': 'dependency'}, - {'1': 'public_dependency', '3': 10, '4': 3, '5': 5, '10': 'publicDependency'}, - {'1': 'weak_dependency', '3': 11, '4': 3, '5': 5, '10': 'weakDependency'}, - {'1': 'message_type', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto', '10': 'messageType'}, - {'1': 'enum_type', '3': 5, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto', '10': 'enumType'}, - {'1': 'service', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.ServiceDescriptorProto', '10': 'service'}, - {'1': 'extension', '3': 7, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'extension'}, - {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.FileOptions', '10': 'options'}, - {'1': 'source_code_info', '3': 9, '4': 1, '5': 11, '6': '.google.protobuf.SourceCodeInfo', '10': 'sourceCodeInfo'}, - {'1': 'syntax', '3': 12, '4': 1, '5': 9, '10': 'syntax'}, - {'1': 'edition', '3': 14, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'edition'}, - ], -}; - -/// Descriptor for `FileDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileDescriptorProtoDescriptor = $convert.base64Decode( - 'ChNGaWxlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSGAoHcGFja2FnZRgCIA' - 'EoCVIHcGFja2FnZRIeCgpkZXBlbmRlbmN5GAMgAygJUgpkZXBlbmRlbmN5EisKEXB1YmxpY19k' - 'ZXBlbmRlbmN5GAogAygFUhBwdWJsaWNEZXBlbmRlbmN5EicKD3dlYWtfZGVwZW5kZW5jeRgLIA' - 'MoBVIOd2Vha0RlcGVuZGVuY3kSQwoMbWVzc2FnZV90eXBlGAQgAygLMiAuZ29vZ2xlLnByb3Rv' - 'YnVmLkRlc2NyaXB0b3JQcm90b1ILbWVzc2FnZVR5cGUSQQoJZW51bV90eXBlGAUgAygLMiQuZ2' - '9vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJvdG9SCGVudW1UeXBlEkEKB3NlcnZpY2UY' - 'BiADKAsyJy5nb29nbGUucHJvdG9idWYuU2VydmljZURlc2NyaXB0b3JQcm90b1IHc2VydmljZR' - 'JDCglleHRlbnNpb24YByADKAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJv' - 'dG9SCWV4dGVuc2lvbhI2CgdvcHRpb25zGAggASgLMhwuZ29vZ2xlLnByb3RvYnVmLkZpbGVPcH' - 'Rpb25zUgdvcHRpb25zEkkKEHNvdXJjZV9jb2RlX2luZm8YCSABKAsyHy5nb29nbGUucHJvdG9i' - 'dWYuU291cmNlQ29kZUluZm9SDnNvdXJjZUNvZGVJbmZvEhYKBnN5bnRheBgMIAEoCVIGc3ludG' - 'F4EjIKB2VkaXRpb24YDiABKA4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlvblIHZWRpdGlvbg=='); - -@$core.Deprecated('Use descriptorProtoDescriptor instead') -const DescriptorProto$json = { - '1': 'DescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'field', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'field'}, - {'1': 'extension', '3': 6, '4': 3, '5': 11, '6': '.google.protobuf.FieldDescriptorProto', '10': 'extension'}, - {'1': 'nested_type', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto', '10': 'nestedType'}, - {'1': 'enum_type', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto', '10': 'enumType'}, - {'1': 'extension_range', '3': 5, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto.ExtensionRange', '10': 'extensionRange'}, - {'1': 'oneof_decl', '3': 8, '4': 3, '5': 11, '6': '.google.protobuf.OneofDescriptorProto', '10': 'oneofDecl'}, - {'1': 'options', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.MessageOptions', '10': 'options'}, - {'1': 'reserved_range', '3': 9, '4': 3, '5': 11, '6': '.google.protobuf.DescriptorProto.ReservedRange', '10': 'reservedRange'}, - {'1': 'reserved_name', '3': 10, '4': 3, '5': 9, '10': 'reservedName'}, - ], - '3': [DescriptorProto_ExtensionRange$json, DescriptorProto_ReservedRange$json], -}; - -@$core.Deprecated('Use descriptorProtoDescriptor instead') -const DescriptorProto_ExtensionRange$json = { - '1': 'ExtensionRange', - '2': [ - {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, - {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, - {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.ExtensionRangeOptions', '10': 'options'}, - ], -}; - -@$core.Deprecated('Use descriptorProtoDescriptor instead') -const DescriptorProto_ReservedRange$json = { - '1': 'ReservedRange', - '2': [ - {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, - {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, - ], -}; - -/// Descriptor for `DescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List descriptorProtoDescriptor = $convert.base64Decode( - 'Cg9EZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRI7CgVmaWVsZBgCIAMoCzIlLm' - 'dvb2dsZS5wcm90b2J1Zi5GaWVsZERlc2NyaXB0b3JQcm90b1IFZmllbGQSQwoJZXh0ZW5zaW9u' - 'GAYgAygLMiUuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvUglleHRlbnNpb2' - '4SQQoLbmVzdGVkX3R5cGUYAyADKAsyIC5nb29nbGUucHJvdG9idWYuRGVzY3JpcHRvclByb3Rv' - 'UgpuZXN0ZWRUeXBlEkEKCWVudW1fdHlwZRgEIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5FbnVtRG' - 'VzY3JpcHRvclByb3RvUghlbnVtVHlwZRJYCg9leHRlbnNpb25fcmFuZ2UYBSADKAsyLy5nb29n' - 'bGUucHJvdG9idWYuRGVzY3JpcHRvclByb3RvLkV4dGVuc2lvblJhbmdlUg5leHRlbnNpb25SYW' - '5nZRJECgpvbmVvZl9kZWNsGAggAygLMiUuZ29vZ2xlLnByb3RvYnVmLk9uZW9mRGVzY3JpcHRv' - 'clByb3RvUglvbmVvZkRlY2wSOQoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90b2J1Zi5NZX' - 'NzYWdlT3B0aW9uc1IHb3B0aW9ucxJVCg5yZXNlcnZlZF9yYW5nZRgJIAMoCzIuLmdvb2dsZS5w' - 'cm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uUmVzZXJ2ZWRSYW5nZVINcmVzZXJ2ZWRSYW5nZRIjCg' - '1yZXNlcnZlZF9uYW1lGAogAygJUgxyZXNlcnZlZE5hbWUaegoORXh0ZW5zaW9uUmFuZ2USFAoF' - 'c3RhcnQYASABKAVSBXN0YXJ0EhAKA2VuZBgCIAEoBVIDZW5kEkAKB29wdGlvbnMYAyABKAsyJi' - '5nb29nbGUucHJvdG9idWYuRXh0ZW5zaW9uUmFuZ2VPcHRpb25zUgdvcHRpb25zGjcKDVJlc2Vy' - 'dmVkUmFuZ2USFAoFc3RhcnQYASABKAVSBXN0YXJ0EhAKA2VuZBgCIAEoBVIDZW5k'); - -@$core.Deprecated('Use extensionRangeOptionsDescriptor instead') -const ExtensionRangeOptions$json = { - '1': 'ExtensionRangeOptions', - '2': [ - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - {'1': 'declaration', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.ExtensionRangeOptions.Declaration', '8': {}, '10': 'declaration'}, - {'1': 'features', '3': 50, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'verification', '3': 3, '4': 1, '5': 14, '6': '.google.protobuf.ExtensionRangeOptions.VerificationState', '7': 'UNVERIFIED', '8': {}, '10': 'verification'}, - ], - '3': [ExtensionRangeOptions_Declaration$json], - '4': [ExtensionRangeOptions_VerificationState$json], - '5': [ - {'1': 1000, '2': 536870912}, - ], -}; - -@$core.Deprecated('Use extensionRangeOptionsDescriptor instead') -const ExtensionRangeOptions_Declaration$json = { - '1': 'Declaration', - '2': [ - {'1': 'number', '3': 1, '4': 1, '5': 5, '10': 'number'}, - {'1': 'full_name', '3': 2, '4': 1, '5': 9, '10': 'fullName'}, - {'1': 'type', '3': 3, '4': 1, '5': 9, '10': 'type'}, - {'1': 'reserved', '3': 5, '4': 1, '5': 8, '10': 'reserved'}, - {'1': 'repeated', '3': 6, '4': 1, '5': 8, '10': 'repeated'}, - ], - '9': [ - {'1': 4, '2': 5}, - ], -}; - -@$core.Deprecated('Use extensionRangeOptionsDescriptor instead') -const ExtensionRangeOptions_VerificationState$json = { - '1': 'VerificationState', - '2': [ - {'1': 'DECLARATION', '2': 0}, - {'1': 'UNVERIFIED', '2': 1}, - ], -}; - -/// Descriptor for `ExtensionRangeOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List extensionRangeOptionsDescriptor = $convert.base64Decode( - 'ChVFeHRlbnNpb25SYW5nZU9wdGlvbnMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMi' - 'QuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRp' - 'b24SWQoLZGVjbGFyYXRpb24YAiADKAsyMi5nb29nbGUucHJvdG9idWYuRXh0ZW5zaW9uUmFuZ2' - 'VPcHRpb25zLkRlY2xhcmF0aW9uQgOIAQJSC2RlY2xhcmF0aW9uEjcKCGZlYXR1cmVzGDIgASgL' - 'MhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1cmVzEm0KDHZlcmlmaWNhdGlvbh' - 'gDIAEoDjI4Lmdvb2dsZS5wcm90b2J1Zi5FeHRlbnNpb25SYW5nZU9wdGlvbnMuVmVyaWZpY2F0' - 'aW9uU3RhdGU6ClVOVkVSSUZJRURCA4gBAlIMdmVyaWZpY2F0aW9uGpQBCgtEZWNsYXJhdGlvbh' - 'IWCgZudW1iZXIYASABKAVSBm51bWJlchIbCglmdWxsX25hbWUYAiABKAlSCGZ1bGxOYW1lEhIK' - 'BHR5cGUYAyABKAlSBHR5cGUSGgoIcmVzZXJ2ZWQYBSABKAhSCHJlc2VydmVkEhoKCHJlcGVhdG' - 'VkGAYgASgIUghyZXBlYXRlZEoECAQQBSI0ChFWZXJpZmljYXRpb25TdGF0ZRIPCgtERUNMQVJB' - 'VElPThAAEg4KClVOVkVSSUZJRUQQASoJCOgHEICAgIAC'); - -@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') -const FieldDescriptorProto$json = { - '1': 'FieldDescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'number', '3': 3, '4': 1, '5': 5, '10': 'number'}, - {'1': 'label', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.FieldDescriptorProto.Label', '10': 'label'}, - {'1': 'type', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.FieldDescriptorProto.Type', '10': 'type'}, - {'1': 'type_name', '3': 6, '4': 1, '5': 9, '10': 'typeName'}, - {'1': 'extendee', '3': 2, '4': 1, '5': 9, '10': 'extendee'}, - {'1': 'default_value', '3': 7, '4': 1, '5': 9, '10': 'defaultValue'}, - {'1': 'oneof_index', '3': 9, '4': 1, '5': 5, '10': 'oneofIndex'}, - {'1': 'json_name', '3': 10, '4': 1, '5': 9, '10': 'jsonName'}, - {'1': 'options', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.FieldOptions', '10': 'options'}, - {'1': 'proto3_optional', '3': 17, '4': 1, '5': 8, '10': 'proto3Optional'}, - ], - '4': [FieldDescriptorProto_Type$json, FieldDescriptorProto_Label$json], -}; - -@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') -const FieldDescriptorProto_Type$json = { - '1': 'Type', - '2': [ - {'1': 'TYPE_DOUBLE', '2': 1}, - {'1': 'TYPE_FLOAT', '2': 2}, - {'1': 'TYPE_INT64', '2': 3}, - {'1': 'TYPE_UINT64', '2': 4}, - {'1': 'TYPE_INT32', '2': 5}, - {'1': 'TYPE_FIXED64', '2': 6}, - {'1': 'TYPE_FIXED32', '2': 7}, - {'1': 'TYPE_BOOL', '2': 8}, - {'1': 'TYPE_STRING', '2': 9}, - {'1': 'TYPE_GROUP', '2': 10}, - {'1': 'TYPE_MESSAGE', '2': 11}, - {'1': 'TYPE_BYTES', '2': 12}, - {'1': 'TYPE_UINT32', '2': 13}, - {'1': 'TYPE_ENUM', '2': 14}, - {'1': 'TYPE_SFIXED32', '2': 15}, - {'1': 'TYPE_SFIXED64', '2': 16}, - {'1': 'TYPE_SINT32', '2': 17}, - {'1': 'TYPE_SINT64', '2': 18}, - ], -}; - -@$core.Deprecated('Use fieldDescriptorProtoDescriptor instead') -const FieldDescriptorProto_Label$json = { - '1': 'Label', - '2': [ - {'1': 'LABEL_OPTIONAL', '2': 1}, - {'1': 'LABEL_REPEATED', '2': 3}, - {'1': 'LABEL_REQUIRED', '2': 2}, - ], -}; - -/// Descriptor for `FieldDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fieldDescriptorProtoDescriptor = $convert.base64Decode( - 'ChRGaWVsZERlc2NyaXB0b3JQcm90bxISCgRuYW1lGAEgASgJUgRuYW1lEhYKBm51bWJlchgDIA' - 'EoBVIGbnVtYmVyEkEKBWxhYmVsGAQgASgOMisuZ29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3Jp' - 'cHRvclByb3RvLkxhYmVsUgVsYWJlbBI+CgR0eXBlGAUgASgOMiouZ29vZ2xlLnByb3RvYnVmLk' - 'ZpZWxkRGVzY3JpcHRvclByb3RvLlR5cGVSBHR5cGUSGwoJdHlwZV9uYW1lGAYgASgJUgh0eXBl' - 'TmFtZRIaCghleHRlbmRlZRgCIAEoCVIIZXh0ZW5kZWUSIwoNZGVmYXVsdF92YWx1ZRgHIAEoCV' - 'IMZGVmYXVsdFZhbHVlEh8KC29uZW9mX2luZGV4GAkgASgFUgpvbmVvZkluZGV4EhsKCWpzb25f' - 'bmFtZRgKIAEoCVIIanNvbk5hbWUSNwoHb3B0aW9ucxgIIAEoCzIdLmdvb2dsZS5wcm90b2J1Zi' - '5GaWVsZE9wdGlvbnNSB29wdGlvbnMSJwoPcHJvdG8zX29wdGlvbmFsGBEgASgIUg5wcm90bzNP' - 'cHRpb25hbCK2AgoEVHlwZRIPCgtUWVBFX0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWV' - 'BFX0lOVDY0EAMSDwoLVFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhF' - 'RDY0EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9TVFJJTkcQCR' - 'IOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoKVFlQRV9CWVRFUxAMEg8KC1RZ' - 'UEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4SEQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0' - 'ZJWEVENjQQEBIPCgtUWVBFX1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIiQwoFTGFiZWwSEgoO' - 'TEFCRUxfT1BUSU9OQUwQARISCg5MQUJFTF9SRVBFQVRFRBADEhIKDkxBQkVMX1JFUVVJUkVEEA' - 'I='); - -@$core.Deprecated('Use oneofDescriptorProtoDescriptor instead') -const OneofDescriptorProto$json = { - '1': 'OneofDescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'options', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.OneofOptions', '10': 'options'}, - ], -}; - -/// Descriptor for `OneofDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List oneofDescriptorProtoDescriptor = $convert.base64Decode( - 'ChRPbmVvZkRlc2NyaXB0b3JQcm90bxISCgRuYW1lGAEgASgJUgRuYW1lEjcKB29wdGlvbnMYAi' - 'ABKAsyHS5nb29nbGUucHJvdG9idWYuT25lb2ZPcHRpb25zUgdvcHRpb25z'); - -@$core.Deprecated('Use enumDescriptorProtoDescriptor instead') -const EnumDescriptorProto$json = { - '1': 'EnumDescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'value', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.EnumValueDescriptorProto', '10': 'value'}, - {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.EnumOptions', '10': 'options'}, - {'1': 'reserved_range', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.EnumDescriptorProto.EnumReservedRange', '10': 'reservedRange'}, - {'1': 'reserved_name', '3': 5, '4': 3, '5': 9, '10': 'reservedName'}, - ], - '3': [EnumDescriptorProto_EnumReservedRange$json], -}; - -@$core.Deprecated('Use enumDescriptorProtoDescriptor instead') -const EnumDescriptorProto_EnumReservedRange$json = { - '1': 'EnumReservedRange', - '2': [ - {'1': 'start', '3': 1, '4': 1, '5': 5, '10': 'start'}, - {'1': 'end', '3': 2, '4': 1, '5': 5, '10': 'end'}, - ], -}; - -/// Descriptor for `EnumDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enumDescriptorProtoDescriptor = $convert.base64Decode( - 'ChNFbnVtRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSPwoFdmFsdWUYAiADKA' - 'syKS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlRGVzY3JpcHRvclByb3RvUgV2YWx1ZRI2Cgdv' - 'cHRpb25zGAMgASgLMhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zUgdvcHRpb25zEl0KDn' - 'Jlc2VydmVkX3JhbmdlGAQgAygLMjYuZ29vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9yUHJv' - 'dG8uRW51bVJlc2VydmVkUmFuZ2VSDXJlc2VydmVkUmFuZ2USIwoNcmVzZXJ2ZWRfbmFtZRgFIA' - 'MoCVIMcmVzZXJ2ZWROYW1lGjsKEUVudW1SZXNlcnZlZFJhbmdlEhQKBXN0YXJ0GAEgASgFUgVz' - 'dGFydBIQCgNlbmQYAiABKAVSA2VuZA=='); - -@$core.Deprecated('Use enumValueDescriptorProtoDescriptor instead') -const EnumValueDescriptorProto$json = { - '1': 'EnumValueDescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'number', '3': 2, '4': 1, '5': 5, '10': 'number'}, - {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.EnumValueOptions', '10': 'options'}, - ], -}; - -/// Descriptor for `EnumValueDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enumValueDescriptorProtoDescriptor = $convert.base64Decode( - 'ChhFbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRIWCgZudW1iZX' - 'IYAiABKAVSBm51bWJlchI7CgdvcHRpb25zGAMgASgLMiEuZ29vZ2xlLnByb3RvYnVmLkVudW1W' - 'YWx1ZU9wdGlvbnNSB29wdGlvbnM='); - -@$core.Deprecated('Use serviceDescriptorProtoDescriptor instead') -const ServiceDescriptorProto$json = { - '1': 'ServiceDescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'method', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.MethodDescriptorProto', '10': 'method'}, - {'1': 'options', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.ServiceOptions', '10': 'options'}, - ], -}; - -/// Descriptor for `ServiceDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serviceDescriptorProtoDescriptor = $convert.base64Decode( - 'ChZTZXJ2aWNlRGVzY3JpcHRvclByb3RvEhIKBG5hbWUYASABKAlSBG5hbWUSPgoGbWV0aG9kGA' - 'IgAygLMiYuZ29vZ2xlLnByb3RvYnVmLk1ldGhvZERlc2NyaXB0b3JQcm90b1IGbWV0aG9kEjkK' - 'B29wdGlvbnMYAyABKAsyHy5nb29nbGUucHJvdG9idWYuU2VydmljZU9wdGlvbnNSB29wdGlvbn' - 'M='); - -@$core.Deprecated('Use methodDescriptorProtoDescriptor instead') -const MethodDescriptorProto$json = { - '1': 'MethodDescriptorProto', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'input_type', '3': 2, '4': 1, '5': 9, '10': 'inputType'}, - {'1': 'output_type', '3': 3, '4': 1, '5': 9, '10': 'outputType'}, - {'1': 'options', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.MethodOptions', '10': 'options'}, - {'1': 'client_streaming', '3': 5, '4': 1, '5': 8, '7': 'false', '10': 'clientStreaming'}, - {'1': 'server_streaming', '3': 6, '4': 1, '5': 8, '7': 'false', '10': 'serverStreaming'}, - ], -}; - -/// Descriptor for `MethodDescriptorProto`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List methodDescriptorProtoDescriptor = $convert.base64Decode( - 'ChVNZXRob2REZXNjcmlwdG9yUHJvdG8SEgoEbmFtZRgBIAEoCVIEbmFtZRIdCgppbnB1dF90eX' - 'BlGAIgASgJUglpbnB1dFR5cGUSHwoLb3V0cHV0X3R5cGUYAyABKAlSCm91dHB1dFR5cGUSOAoH' - 'b3B0aW9ucxgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zUgdvcHRpb25zEj' - 'AKEGNsaWVudF9zdHJlYW1pbmcYBSABKAg6BWZhbHNlUg9jbGllbnRTdHJlYW1pbmcSMAoQc2Vy' - 'dmVyX3N0cmVhbWluZxgGIAEoCDoFZmFsc2VSD3NlcnZlclN0cmVhbWluZw=='); - -@$core.Deprecated('Use fileOptionsDescriptor instead') -const FileOptions$json = { - '1': 'FileOptions', - '2': [ - {'1': 'java_package', '3': 1, '4': 1, '5': 9, '10': 'javaPackage'}, - {'1': 'java_outer_classname', '3': 8, '4': 1, '5': 9, '10': 'javaOuterClassname'}, - {'1': 'java_multiple_files', '3': 10, '4': 1, '5': 8, '7': 'false', '10': 'javaMultipleFiles'}, - { - '1': 'java_generate_equals_and_hash', - '3': 20, - '4': 1, - '5': 8, - '8': {'3': true}, - '10': 'javaGenerateEqualsAndHash', - }, - {'1': 'java_string_check_utf8', '3': 27, '4': 1, '5': 8, '7': 'false', '10': 'javaStringCheckUtf8'}, - {'1': 'optimize_for', '3': 9, '4': 1, '5': 14, '6': '.google.protobuf.FileOptions.OptimizeMode', '7': 'SPEED', '10': 'optimizeFor'}, - {'1': 'go_package', '3': 11, '4': 1, '5': 9, '10': 'goPackage'}, - {'1': 'cc_generic_services', '3': 16, '4': 1, '5': 8, '7': 'false', '10': 'ccGenericServices'}, - {'1': 'java_generic_services', '3': 17, '4': 1, '5': 8, '7': 'false', '10': 'javaGenericServices'}, - {'1': 'py_generic_services', '3': 18, '4': 1, '5': 8, '7': 'false', '10': 'pyGenericServices'}, - {'1': 'deprecated', '3': 23, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'cc_enable_arenas', '3': 31, '4': 1, '5': 8, '7': 'true', '10': 'ccEnableArenas'}, - {'1': 'objc_class_prefix', '3': 36, '4': 1, '5': 9, '10': 'objcClassPrefix'}, - {'1': 'csharp_namespace', '3': 37, '4': 1, '5': 9, '10': 'csharpNamespace'}, - {'1': 'swift_prefix', '3': 39, '4': 1, '5': 9, '10': 'swiftPrefix'}, - {'1': 'php_class_prefix', '3': 40, '4': 1, '5': 9, '10': 'phpClassPrefix'}, - {'1': 'php_namespace', '3': 41, '4': 1, '5': 9, '10': 'phpNamespace'}, - {'1': 'php_metadata_namespace', '3': 44, '4': 1, '5': 9, '10': 'phpMetadataNamespace'}, - {'1': 'ruby_package', '3': 45, '4': 1, '5': 9, '10': 'rubyPackage'}, - {'1': 'features', '3': 50, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '4': [FileOptions_OptimizeMode$json], - '5': [ - {'1': 1000, '2': 536870912}, - ], - '9': [ - {'1': 42, '2': 43}, - {'1': 38, '2': 39}, - ], - '10': ['php_generic_services'], -}; - -@$core.Deprecated('Use fileOptionsDescriptor instead') -const FileOptions_OptimizeMode$json = { - '1': 'OptimizeMode', - '2': [ - {'1': 'SPEED', '2': 1}, - {'1': 'CODE_SIZE', '2': 2}, - {'1': 'LITE_RUNTIME', '2': 3}, - ], -}; - -/// Descriptor for `FileOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileOptionsDescriptor = $convert.base64Decode( - 'CgtGaWxlT3B0aW9ucxIhCgxqYXZhX3BhY2thZ2UYASABKAlSC2phdmFQYWNrYWdlEjAKFGphdm' - 'Ffb3V0ZXJfY2xhc3NuYW1lGAggASgJUhJqYXZhT3V0ZXJDbGFzc25hbWUSNQoTamF2YV9tdWx0' - 'aXBsZV9maWxlcxgKIAEoCDoFZmFsc2VSEWphdmFNdWx0aXBsZUZpbGVzEkQKHWphdmFfZ2VuZX' - 'JhdGVfZXF1YWxzX2FuZF9oYXNoGBQgASgIQgIYAVIZamF2YUdlbmVyYXRlRXF1YWxzQW5kSGFz' - 'aBI6ChZqYXZhX3N0cmluZ19jaGVja191dGY4GBsgASgIOgVmYWxzZVITamF2YVN0cmluZ0NoZW' - 'NrVXRmOBJTCgxvcHRpbWl6ZV9mb3IYCSABKA4yKS5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlv' - 'bnMuT3B0aW1pemVNb2RlOgVTUEVFRFILb3B0aW1pemVGb3ISHQoKZ29fcGFja2FnZRgLIAEoCV' - 'IJZ29QYWNrYWdlEjUKE2NjX2dlbmVyaWNfc2VydmljZXMYECABKAg6BWZhbHNlUhFjY0dlbmVy' - 'aWNTZXJ2aWNlcxI5ChVqYXZhX2dlbmVyaWNfc2VydmljZXMYESABKAg6BWZhbHNlUhNqYXZhR2' - 'VuZXJpY1NlcnZpY2VzEjUKE3B5X2dlbmVyaWNfc2VydmljZXMYEiABKAg6BWZhbHNlUhFweUdl' - 'bmVyaWNTZXJ2aWNlcxIlCgpkZXByZWNhdGVkGBcgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBIuCh' - 'BjY19lbmFibGVfYXJlbmFzGB8gASgIOgR0cnVlUg5jY0VuYWJsZUFyZW5hcxIqChFvYmpjX2Ns' - 'YXNzX3ByZWZpeBgkIAEoCVIPb2JqY0NsYXNzUHJlZml4EikKEGNzaGFycF9uYW1lc3BhY2UYJS' - 'ABKAlSD2NzaGFycE5hbWVzcGFjZRIhCgxzd2lmdF9wcmVmaXgYJyABKAlSC3N3aWZ0UHJlZml4' - 'EigKEHBocF9jbGFzc19wcmVmaXgYKCABKAlSDnBocENsYXNzUHJlZml4EiMKDXBocF9uYW1lc3' - 'BhY2UYKSABKAlSDHBocE5hbWVzcGFjZRI0ChZwaHBfbWV0YWRhdGFfbmFtZXNwYWNlGCwgASgJ' - 'UhRwaHBNZXRhZGF0YU5hbWVzcGFjZRIhCgxydWJ5X3BhY2thZ2UYLSABKAlSC3J1YnlQYWNrYW' - 'dlEjcKCGZlYXR1cmVzGDIgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1' - 'cmVzElgKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5Vbm' - 'ludGVycHJldGVkT3B0aW9uUhN1bmludGVycHJldGVkT3B0aW9uIjoKDE9wdGltaXplTW9kZRIJ' - 'CgVTUEVFRBABEg0KCUNPREVfU0laRRACEhAKDExJVEVfUlVOVElNRRADKgkI6AcQgICAgAJKBA' - 'gqECtKBAgmECdSFHBocF9nZW5lcmljX3NlcnZpY2Vz'); - -@$core.Deprecated('Use messageOptionsDescriptor instead') -const MessageOptions$json = { - '1': 'MessageOptions', - '2': [ - {'1': 'message_set_wire_format', '3': 1, '4': 1, '5': 8, '7': 'false', '10': 'messageSetWireFormat'}, - {'1': 'no_standard_descriptor_accessor', '3': 2, '4': 1, '5': 8, '7': 'false', '10': 'noStandardDescriptorAccessor'}, - {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'map_entry', '3': 7, '4': 1, '5': 8, '10': 'mapEntry'}, - { - '1': 'deprecated_legacy_json_field_conflicts', - '3': 11, - '4': 1, - '5': 8, - '8': {'3': true}, - '10': 'deprecatedLegacyJsonFieldConflicts', - }, - {'1': 'features', '3': 12, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '5': [ - {'1': 1000, '2': 536870912}, - ], - '9': [ - {'1': 4, '2': 5}, - {'1': 5, '2': 6}, - {'1': 6, '2': 7}, - {'1': 8, '2': 9}, - {'1': 9, '2': 10}, - ], -}; - -/// Descriptor for `MessageOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List messageOptionsDescriptor = $convert.base64Decode( - 'Cg5NZXNzYWdlT3B0aW9ucxI8ChdtZXNzYWdlX3NldF93aXJlX2Zvcm1hdBgBIAEoCDoFZmFsc2' - 'VSFG1lc3NhZ2VTZXRXaXJlRm9ybWF0EkwKH25vX3N0YW5kYXJkX2Rlc2NyaXB0b3JfYWNjZXNz' - 'b3IYAiABKAg6BWZhbHNlUhxub1N0YW5kYXJkRGVzY3JpcHRvckFjY2Vzc29yEiUKCmRlcHJlY2' - 'F0ZWQYAyABKAg6BWZhbHNlUgpkZXByZWNhdGVkEhsKCW1hcF9lbnRyeRgHIAEoCFIIbWFwRW50' - 'cnkSVgomZGVwcmVjYXRlZF9sZWdhY3lfanNvbl9maWVsZF9jb25mbGljdHMYCyABKAhCAhgBUi' - 'JkZXByZWNhdGVkTGVnYWN5SnNvbkZpZWxkQ29uZmxpY3RzEjcKCGZlYXR1cmVzGAwgASgLMhsu' - 'Z29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1cmVzElgKFHVuaW50ZXJwcmV0ZWRfb3' - 'B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uUhN1bmlu' - 'dGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAJKBAgEEAVKBAgFEAZKBAgGEAdKBAgIEAlKBAgJEA' - 'o='); - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions$json = { - '1': 'FieldOptions', - '2': [ - {'1': 'ctype', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.CType', '7': 'STRING', '10': 'ctype'}, - {'1': 'packed', '3': 2, '4': 1, '5': 8, '10': 'packed'}, - {'1': 'jstype', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.JSType', '7': 'JS_NORMAL', '10': 'jstype'}, - {'1': 'lazy', '3': 5, '4': 1, '5': 8, '7': 'false', '10': 'lazy'}, - {'1': 'unverified_lazy', '3': 15, '4': 1, '5': 8, '7': 'false', '10': 'unverifiedLazy'}, - {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'weak', '3': 10, '4': 1, '5': 8, '7': 'false', '10': 'weak'}, - {'1': 'debug_redact', '3': 16, '4': 1, '5': 8, '7': 'false', '10': 'debugRedact'}, - {'1': 'retention', '3': 17, '4': 1, '5': 14, '6': '.google.protobuf.FieldOptions.OptionRetention', '10': 'retention'}, - {'1': 'targets', '3': 19, '4': 3, '5': 14, '6': '.google.protobuf.FieldOptions.OptionTargetType', '10': 'targets'}, - {'1': 'edition_defaults', '3': 20, '4': 3, '5': 11, '6': '.google.protobuf.FieldOptions.EditionDefault', '10': 'editionDefaults'}, - {'1': 'features', '3': 21, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'feature_support', '3': 22, '4': 1, '5': 11, '6': '.google.protobuf.FieldOptions.FeatureSupport', '10': 'featureSupport'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '3': [FieldOptions_EditionDefault$json, FieldOptions_FeatureSupport$json], - '4': [FieldOptions_CType$json, FieldOptions_JSType$json, FieldOptions_OptionRetention$json, FieldOptions_OptionTargetType$json], - '5': [ - {'1': 1000, '2': 536870912}, - ], - '9': [ - {'1': 4, '2': 5}, - {'1': 18, '2': 19}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_EditionDefault$json = { - '1': 'EditionDefault', - '2': [ - {'1': 'edition', '3': 3, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'edition'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_FeatureSupport$json = { - '1': 'FeatureSupport', - '2': [ - {'1': 'edition_introduced', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'editionIntroduced'}, - {'1': 'edition_deprecated', '3': 2, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'editionDeprecated'}, - {'1': 'deprecation_warning', '3': 3, '4': 1, '5': 9, '10': 'deprecationWarning'}, - {'1': 'edition_removed', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'editionRemoved'}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_CType$json = { - '1': 'CType', - '2': [ - {'1': 'STRING', '2': 0}, - {'1': 'CORD', '2': 1}, - {'1': 'STRING_PIECE', '2': 2}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_JSType$json = { - '1': 'JSType', - '2': [ - {'1': 'JS_NORMAL', '2': 0}, - {'1': 'JS_STRING', '2': 1}, - {'1': 'JS_NUMBER', '2': 2}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_OptionRetention$json = { - '1': 'OptionRetention', - '2': [ - {'1': 'RETENTION_UNKNOWN', '2': 0}, - {'1': 'RETENTION_RUNTIME', '2': 1}, - {'1': 'RETENTION_SOURCE', '2': 2}, - ], -}; - -@$core.Deprecated('Use fieldOptionsDescriptor instead') -const FieldOptions_OptionTargetType$json = { - '1': 'OptionTargetType', - '2': [ - {'1': 'TARGET_TYPE_UNKNOWN', '2': 0}, - {'1': 'TARGET_TYPE_FILE', '2': 1}, - {'1': 'TARGET_TYPE_EXTENSION_RANGE', '2': 2}, - {'1': 'TARGET_TYPE_MESSAGE', '2': 3}, - {'1': 'TARGET_TYPE_FIELD', '2': 4}, - {'1': 'TARGET_TYPE_ONEOF', '2': 5}, - {'1': 'TARGET_TYPE_ENUM', '2': 6}, - {'1': 'TARGET_TYPE_ENUM_ENTRY', '2': 7}, - {'1': 'TARGET_TYPE_SERVICE', '2': 8}, - {'1': 'TARGET_TYPE_METHOD', '2': 9}, - ], -}; - -/// Descriptor for `FieldOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fieldOptionsDescriptor = $convert.base64Decode( - 'CgxGaWVsZE9wdGlvbnMSQQoFY3R5cGUYASABKA4yIy5nb29nbGUucHJvdG9idWYuRmllbGRPcH' - 'Rpb25zLkNUeXBlOgZTVFJJTkdSBWN0eXBlEhYKBnBhY2tlZBgCIAEoCFIGcGFja2VkEkcKBmpz' - 'dHlwZRgGIAEoDjIkLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMuSlNUeXBlOglKU19OT1' - 'JNQUxSBmpzdHlwZRIZCgRsYXp5GAUgASgIOgVmYWxzZVIEbGF6eRIuCg91bnZlcmlmaWVkX2xh' - 'enkYDyABKAg6BWZhbHNlUg51bnZlcmlmaWVkTGF6eRIlCgpkZXByZWNhdGVkGAMgASgIOgVmYW' - 'xzZVIKZGVwcmVjYXRlZBIZCgR3ZWFrGAogASgIOgVmYWxzZVIEd2VhaxIoCgxkZWJ1Z19yZWRh' - 'Y3QYECABKAg6BWZhbHNlUgtkZWJ1Z1JlZGFjdBJLCglyZXRlbnRpb24YESABKA4yLS5nb29nbG' - 'UucHJvdG9idWYuRmllbGRPcHRpb25zLk9wdGlvblJldGVudGlvblIJcmV0ZW50aW9uEkgKB3Rh' - 'cmdldHMYEyADKA4yLi5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zLk9wdGlvblRhcmdldF' - 'R5cGVSB3RhcmdldHMSVwoQZWRpdGlvbl9kZWZhdWx0cxgUIAMoCzIsLmdvb2dsZS5wcm90b2J1' - 'Zi5GaWVsZE9wdGlvbnMuRWRpdGlvbkRlZmF1bHRSD2VkaXRpb25EZWZhdWx0cxI3CghmZWF0dX' - 'JlcxgVIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0UghmZWF0dXJlcxJVCg9mZWF0' - 'dXJlX3N1cHBvcnQYFiABKAsyLC5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zLkZlYXR1cm' - 'VTdXBwb3J0Ug5mZWF0dXJlU3VwcG9ydBJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsy' - 'JC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdG' - 'lvbhpaCg5FZGl0aW9uRGVmYXVsdBIyCgdlZGl0aW9uGAMgASgOMhguZ29vZ2xlLnByb3RvYnVm' - 'LkVkaXRpb25SB2VkaXRpb24SFAoFdmFsdWUYAiABKAlSBXZhbHVlGpYCCg5GZWF0dXJlU3VwcG' - '9ydBJHChJlZGl0aW9uX2ludHJvZHVjZWQYASABKA4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlv' - 'blIRZWRpdGlvbkludHJvZHVjZWQSRwoSZWRpdGlvbl9kZXByZWNhdGVkGAIgASgOMhguZ29vZ2' - 'xlLnByb3RvYnVmLkVkaXRpb25SEWVkaXRpb25EZXByZWNhdGVkEi8KE2RlcHJlY2F0aW9uX3dh' - 'cm5pbmcYAyABKAlSEmRlcHJlY2F0aW9uV2FybmluZxJBCg9lZGl0aW9uX3JlbW92ZWQYBCABKA' - '4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlvblIOZWRpdGlvblJlbW92ZWQiLwoFQ1R5cGUSCgoG' - 'U1RSSU5HEAASCAoEQ09SRBABEhAKDFNUUklOR19QSUVDRRACIjUKBkpTVHlwZRINCglKU19OT1' - 'JNQUwQABINCglKU19TVFJJTkcQARINCglKU19OVU1CRVIQAiJVCg9PcHRpb25SZXRlbnRpb24S' - 'FQoRUkVURU5USU9OX1VOS05PV04QABIVChFSRVRFTlRJT05fUlVOVElNRRABEhQKEFJFVEVOVE' - 'lPTl9TT1VSQ0UQAiKMAgoQT3B0aW9uVGFyZ2V0VHlwZRIXChNUQVJHRVRfVFlQRV9VTktOT1dO' - 'EAASFAoQVEFSR0VUX1RZUEVfRklMRRABEh8KG1RBUkdFVF9UWVBFX0VYVEVOU0lPTl9SQU5HRR' - 'ACEhcKE1RBUkdFVF9UWVBFX01FU1NBR0UQAxIVChFUQVJHRVRfVFlQRV9GSUVMRBAEEhUKEVRB' - 'UkdFVF9UWVBFX09ORU9GEAUSFAoQVEFSR0VUX1RZUEVfRU5VTRAGEhoKFlRBUkdFVF9UWVBFX0' - 'VOVU1fRU5UUlkQBxIXChNUQVJHRVRfVFlQRV9TRVJWSUNFEAgSFgoSVEFSR0VUX1RZUEVfTUVU' - 'SE9EEAkqCQjoBxCAgICAAkoECAQQBUoECBIQEw=='); - -@$core.Deprecated('Use oneofOptionsDescriptor instead') -const OneofOptions$json = { - '1': 'OneofOptions', - '2': [ - {'1': 'features', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '5': [ - {'1': 1000, '2': 536870912}, - ], -}; - -/// Descriptor for `OneofOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List oneofOptionsDescriptor = $convert.base64Decode( - 'CgxPbmVvZk9wdGlvbnMSNwoIZmVhdHVyZXMYASABKAsyGy5nb29nbGUucHJvdG9idWYuRmVhdH' - 'VyZVNldFIIZmVhdHVyZXMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xl' - 'LnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBx' - 'CAgICAAg=='); - -@$core.Deprecated('Use enumOptionsDescriptor instead') -const EnumOptions$json = { - '1': 'EnumOptions', - '2': [ - {'1': 'allow_alias', '3': 2, '4': 1, '5': 8, '10': 'allowAlias'}, - {'1': 'deprecated', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - { - '1': 'deprecated_legacy_json_field_conflicts', - '3': 6, - '4': 1, - '5': 8, - '8': {'3': true}, - '10': 'deprecatedLegacyJsonFieldConflicts', - }, - {'1': 'features', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '5': [ - {'1': 1000, '2': 536870912}, - ], - '9': [ - {'1': 5, '2': 6}, - ], -}; - -/// Descriptor for `EnumOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enumOptionsDescriptor = $convert.base64Decode( - 'CgtFbnVtT3B0aW9ucxIfCgthbGxvd19hbGlhcxgCIAEoCFIKYWxsb3dBbGlhcxIlCgpkZXByZW' - 'NhdGVkGAMgASgIOgVmYWxzZVIKZGVwcmVjYXRlZBJWCiZkZXByZWNhdGVkX2xlZ2FjeV9qc29u' - 'X2ZpZWxkX2NvbmZsaWN0cxgGIAEoCEICGAFSImRlcHJlY2F0ZWRMZWdhY3lKc29uRmllbGRDb2' - '5mbGljdHMSNwoIZmVhdHVyZXMYByABKAsyGy5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldFII' - 'ZmVhdHVyZXMSWAoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYn' - 'VmLlVuaW50ZXJwcmV0ZWRPcHRpb25SE3VuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAkoE' - 'CAUQBg=='); - -@$core.Deprecated('Use enumValueOptionsDescriptor instead') -const EnumValueOptions$json = { - '1': 'EnumValueOptions', - '2': [ - {'1': 'deprecated', '3': 1, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'features', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'debug_redact', '3': 3, '4': 1, '5': 8, '7': 'false', '10': 'debugRedact'}, - {'1': 'feature_support', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.FieldOptions.FeatureSupport', '10': 'featureSupport'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '5': [ - {'1': 1000, '2': 536870912}, - ], -}; - -/// Descriptor for `EnumValueOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List enumValueOptionsDescriptor = $convert.base64Decode( - 'ChBFbnVtVmFsdWVPcHRpb25zEiUKCmRlcHJlY2F0ZWQYASABKAg6BWZhbHNlUgpkZXByZWNhdG' - 'VkEjcKCGZlYXR1cmVzGAIgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXRSCGZlYXR1' - 'cmVzEigKDGRlYnVnX3JlZGFjdBgDIAEoCDoFZmFsc2VSC2RlYnVnUmVkYWN0ElUKD2ZlYXR1cm' - 'Vfc3VwcG9ydBgEIAEoCzIsLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMuRmVhdHVyZVN1' - 'cHBvcnRSDmZlYXR1cmVTdXBwb3J0ElgKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLm' - 'dvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uUhN1bmludGVycHJldGVkT3B0aW9u' - 'KgkI6AcQgICAgAI='); - -@$core.Deprecated('Use serviceOptionsDescriptor instead') -const ServiceOptions$json = { - '1': 'ServiceOptions', - '2': [ - {'1': 'features', '3': 34, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'deprecated', '3': 33, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '5': [ - {'1': 1000, '2': 536870912}, - ], -}; - -/// Descriptor for `ServiceOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serviceOptionsDescriptor = $convert.base64Decode( - 'Cg5TZXJ2aWNlT3B0aW9ucxI3CghmZWF0dXJlcxgiIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZW' - 'F0dXJlU2V0UghmZWF0dXJlcxIlCgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZVIKZGVwcmVjYXRl' - 'ZBJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbn' - 'RlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIAC'); - -@$core.Deprecated('Use methodOptionsDescriptor instead') -const MethodOptions$json = { - '1': 'MethodOptions', - '2': [ - {'1': 'deprecated', '3': 33, '4': 1, '5': 8, '7': 'false', '10': 'deprecated'}, - {'1': 'idempotency_level', '3': 34, '4': 1, '5': 14, '6': '.google.protobuf.MethodOptions.IdempotencyLevel', '7': 'IDEMPOTENCY_UNKNOWN', '10': 'idempotencyLevel'}, - {'1': 'features', '3': 35, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'features'}, - {'1': 'uninterpreted_option', '3': 999, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption', '10': 'uninterpretedOption'}, - ], - '4': [MethodOptions_IdempotencyLevel$json], - '5': [ - {'1': 1000, '2': 536870912}, - ], -}; - -@$core.Deprecated('Use methodOptionsDescriptor instead') -const MethodOptions_IdempotencyLevel$json = { - '1': 'IdempotencyLevel', - '2': [ - {'1': 'IDEMPOTENCY_UNKNOWN', '2': 0}, - {'1': 'NO_SIDE_EFFECTS', '2': 1}, - {'1': 'IDEMPOTENT', '2': 2}, - ], -}; - -/// Descriptor for `MethodOptions`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List methodOptionsDescriptor = $convert.base64Decode( - 'Cg1NZXRob2RPcHRpb25zEiUKCmRlcHJlY2F0ZWQYISABKAg6BWZhbHNlUgpkZXByZWNhdGVkEn' - 'EKEWlkZW1wb3RlbmN5X2xldmVsGCIgASgOMi8uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlv' - 'bnMuSWRlbXBvdGVuY3lMZXZlbDoTSURFTVBPVEVOQ1lfVU5LTk9XTlIQaWRlbXBvdGVuY3lMZX' - 'ZlbBI3CghmZWF0dXJlcxgjIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0UghmZWF0' - 'dXJlcxJYChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW' - '5pbnRlcnByZXRlZE9wdGlvblITdW5pbnRlcnByZXRlZE9wdGlvbiJQChBJZGVtcG90ZW5jeUxl' - 'dmVsEhcKE0lERU1QT1RFTkNZX1VOS05PV04QABITCg9OT19TSURFX0VGRkVDVFMQARIOCgpJRE' - 'VNUE9URU5UEAIqCQjoBxCAgICAAg=='); - -@$core.Deprecated('Use uninterpretedOptionDescriptor instead') -const UninterpretedOption$json = { - '1': 'UninterpretedOption', - '2': [ - {'1': 'name', '3': 2, '4': 3, '5': 11, '6': '.google.protobuf.UninterpretedOption.NamePart', '10': 'name'}, - {'1': 'identifier_value', '3': 3, '4': 1, '5': 9, '10': 'identifierValue'}, - {'1': 'positive_int_value', '3': 4, '4': 1, '5': 4, '10': 'positiveIntValue'}, - {'1': 'negative_int_value', '3': 5, '4': 1, '5': 3, '10': 'negativeIntValue'}, - {'1': 'double_value', '3': 6, '4': 1, '5': 1, '10': 'doubleValue'}, - {'1': 'string_value', '3': 7, '4': 1, '5': 12, '10': 'stringValue'}, - {'1': 'aggregate_value', '3': 8, '4': 1, '5': 9, '10': 'aggregateValue'}, - ], - '3': [UninterpretedOption_NamePart$json], -}; - -@$core.Deprecated('Use uninterpretedOptionDescriptor instead') -const UninterpretedOption_NamePart$json = { - '1': 'NamePart', - '2': [ - {'1': 'name_part', '3': 1, '4': 2, '5': 9, '10': 'namePart'}, - {'1': 'is_extension', '3': 2, '4': 2, '5': 8, '10': 'isExtension'}, - ], -}; - -/// Descriptor for `UninterpretedOption`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uninterpretedOptionDescriptor = $convert.base64Decode( - 'ChNVbmludGVycHJldGVkT3B0aW9uEkEKBG5hbWUYAiADKAsyLS5nb29nbGUucHJvdG9idWYuVW' - '5pbnRlcnByZXRlZE9wdGlvbi5OYW1lUGFydFIEbmFtZRIpChBpZGVudGlmaWVyX3ZhbHVlGAMg' - 'ASgJUg9pZGVudGlmaWVyVmFsdWUSLAoScG9zaXRpdmVfaW50X3ZhbHVlGAQgASgEUhBwb3NpdG' - 'l2ZUludFZhbHVlEiwKEm5lZ2F0aXZlX2ludF92YWx1ZRgFIAEoA1IQbmVnYXRpdmVJbnRWYWx1' - 'ZRIhCgxkb3VibGVfdmFsdWUYBiABKAFSC2RvdWJsZVZhbHVlEiEKDHN0cmluZ192YWx1ZRgHIA' - 'EoDFILc3RyaW5nVmFsdWUSJwoPYWdncmVnYXRlX3ZhbHVlGAggASgJUg5hZ2dyZWdhdGVWYWx1' - 'ZRpKCghOYW1lUGFydBIbCgluYW1lX3BhcnQYASACKAlSCG5hbWVQYXJ0EiEKDGlzX2V4dGVuc2' - 'lvbhgCIAIoCFILaXNFeHRlbnNpb24='); - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet$json = { - '1': 'FeatureSet', - '2': [ - {'1': 'field_presence', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.FieldPresence', '8': {}, '10': 'fieldPresence'}, - {'1': 'enum_type', '3': 2, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.EnumType', '8': {}, '10': 'enumType'}, - {'1': 'repeated_field_encoding', '3': 3, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.RepeatedFieldEncoding', '8': {}, '10': 'repeatedFieldEncoding'}, - {'1': 'utf8_validation', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.Utf8Validation', '8': {}, '10': 'utf8Validation'}, - {'1': 'message_encoding', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.MessageEncoding', '8': {}, '10': 'messageEncoding'}, - {'1': 'json_format', '3': 6, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.JsonFormat', '8': {}, '10': 'jsonFormat'}, - {'1': 'enforce_naming_style', '3': 7, '4': 1, '5': 14, '6': '.google.protobuf.FeatureSet.EnforceNamingStyle', '8': {}, '10': 'enforceNamingStyle'}, - ], - '4': [FeatureSet_FieldPresence$json, FeatureSet_EnumType$json, FeatureSet_RepeatedFieldEncoding$json, FeatureSet_Utf8Validation$json, FeatureSet_MessageEncoding$json, FeatureSet_JsonFormat$json, FeatureSet_EnforceNamingStyle$json], - '5': [ - {'1': 1000, '2': 9995}, - {'1': 9995, '2': 10000}, - {'1': 10000, '2': 10001}, - ], - '9': [ - {'1': 999, '2': 1000}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_FieldPresence$json = { - '1': 'FieldPresence', - '2': [ - {'1': 'FIELD_PRESENCE_UNKNOWN', '2': 0}, - {'1': 'EXPLICIT', '2': 1}, - {'1': 'IMPLICIT', '2': 2}, - {'1': 'LEGACY_REQUIRED', '2': 3}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_EnumType$json = { - '1': 'EnumType', - '2': [ - {'1': 'ENUM_TYPE_UNKNOWN', '2': 0}, - {'1': 'OPEN', '2': 1}, - {'1': 'CLOSED', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_RepeatedFieldEncoding$json = { - '1': 'RepeatedFieldEncoding', - '2': [ - {'1': 'REPEATED_FIELD_ENCODING_UNKNOWN', '2': 0}, - {'1': 'PACKED', '2': 1}, - {'1': 'EXPANDED', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_Utf8Validation$json = { - '1': 'Utf8Validation', - '2': [ - {'1': 'UTF8_VALIDATION_UNKNOWN', '2': 0}, - {'1': 'VERIFY', '2': 2}, - {'1': 'NONE', '2': 3}, - ], - '4': [ - {'1': 1, '2': 1}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_MessageEncoding$json = { - '1': 'MessageEncoding', - '2': [ - {'1': 'MESSAGE_ENCODING_UNKNOWN', '2': 0}, - {'1': 'LENGTH_PREFIXED', '2': 1}, - {'1': 'DELIMITED', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_JsonFormat$json = { - '1': 'JsonFormat', - '2': [ - {'1': 'JSON_FORMAT_UNKNOWN', '2': 0}, - {'1': 'ALLOW', '2': 1}, - {'1': 'LEGACY_BEST_EFFORT', '2': 2}, - ], -}; - -@$core.Deprecated('Use featureSetDescriptor instead') -const FeatureSet_EnforceNamingStyle$json = { - '1': 'EnforceNamingStyle', - '2': [ - {'1': 'ENFORCE_NAMING_STYLE_UNKNOWN', '2': 0}, - {'1': 'STYLE2024', '2': 1}, - {'1': 'STYLE_LEGACY', '2': 2}, - ], -}; - -/// Descriptor for `FeatureSet`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List featureSetDescriptor = $convert.base64Decode( - 'CgpGZWF0dXJlU2V0EpEBCg5maWVsZF9wcmVzZW5jZRgBIAEoDjIpLmdvb2dsZS5wcm90b2J1Zi' - '5GZWF0dXJlU2V0LkZpZWxkUHJlc2VuY2VCP4gBAZgBBJgBAaIBDRIIRVhQTElDSVQYhAeiAQ0S' - 'CElNUExJQ0lUGOcHogENEghFWFBMSUNJVBjoB7IBAwjoB1INZmllbGRQcmVzZW5jZRJsCgllbn' - 'VtX3R5cGUYAiABKA4yJC5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldC5FbnVtVHlwZUIpiAEB' - 'mAEGmAEBogELEgZDTE9TRUQYhAeiAQkSBE9QRU4Y5weyAQMI6AdSCGVudW1UeXBlEpgBChdyZX' - 'BlYXRlZF9maWVsZF9lbmNvZGluZxgDIAEoDjIxLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0' - 'LlJlcGVhdGVkRmllbGRFbmNvZGluZ0ItiAEBmAEEmAEBogENEghFWFBBTkRFRBiEB6IBCxIGUE' - 'FDS0VEGOcHsgEDCOgHUhVyZXBlYXRlZEZpZWxkRW5jb2RpbmcSfgoPdXRmOF92YWxpZGF0aW9u' - 'GAQgASgOMiouZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuVXRmOFZhbGlkYXRpb25CKYgBAZ' - 'gBBJgBAaIBCRIETk9ORRiEB6IBCxIGVkVSSUZZGOcHsgEDCOgHUg51dGY4VmFsaWRhdGlvbhJ+' - 'ChBtZXNzYWdlX2VuY29kaW5nGAUgASgOMisuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQuTW' - 'Vzc2FnZUVuY29kaW5nQiaIAQGYAQSYAQGiARQSD0xFTkdUSF9QUkVGSVhFRBiEB7IBAwjoB1IP' - 'bWVzc2FnZUVuY29kaW5nEoIBCgtqc29uX2Zvcm1hdBgGIAEoDjImLmdvb2dsZS5wcm90b2J1Zi' - '5GZWF0dXJlU2V0Lkpzb25Gb3JtYXRCOYgBAZgBA5gBBpgBAaIBFxISTEVHQUNZX0JFU1RfRUZG' - 'T1JUGIQHogEKEgVBTExPVxjnB7IBAwjoB1IKanNvbkZvcm1hdBKrAQoUZW5mb3JjZV9uYW1pbm' - 'dfc3R5bGUYByABKA4yLi5nb29nbGUucHJvdG9idWYuRmVhdHVyZVNldC5FbmZvcmNlTmFtaW5n' - 'U3R5bGVCSYgBApgBAZgBApgBA5gBBJgBBZgBBpgBB5gBCJgBCaIBERIMU1RZTEVfTEVHQUNZGI' - 'QHogEOEglTVFlMRTIwMjQY6QeyAQMI6QdSEmVuZm9yY2VOYW1pbmdTdHlsZSJcCg1GaWVsZFBy' - 'ZXNlbmNlEhoKFkZJRUxEX1BSRVNFTkNFX1VOS05PV04QABIMCghFWFBMSUNJVBABEgwKCElNUE' - 'xJQ0lUEAISEwoPTEVHQUNZX1JFUVVJUkVEEAMiNwoIRW51bVR5cGUSFQoRRU5VTV9UWVBFX1VO' - 'S05PV04QABIICgRPUEVOEAESCgoGQ0xPU0VEEAIiVgoVUmVwZWF0ZWRGaWVsZEVuY29kaW5nEi' - 'MKH1JFUEVBVEVEX0ZJRUxEX0VOQ09ESU5HX1VOS05PV04QABIKCgZQQUNLRUQQARIMCghFWFBB' - 'TkRFRBACIkkKDlV0ZjhWYWxpZGF0aW9uEhsKF1VURjhfVkFMSURBVElPTl9VTktOT1dOEAASCg' - 'oGVkVSSUZZEAISCAoETk9ORRADIgQIARABIlMKD01lc3NhZ2VFbmNvZGluZxIcChhNRVNTQUdF' - 'X0VOQ09ESU5HX1VOS05PV04QABITCg9MRU5HVEhfUFJFRklYRUQQARINCglERUxJTUlURUQQAi' - 'JICgpKc29uRm9ybWF0EhcKE0pTT05fRk9STUFUX1VOS05PV04QABIJCgVBTExPVxABEhYKEkxF' - 'R0FDWV9CRVNUX0VGRk9SVBACIlcKEkVuZm9yY2VOYW1pbmdTdHlsZRIgChxFTkZPUkNFX05BTU' - 'lOR19TVFlMRV9VTktOT1dOEAASDQoJU1RZTEUyMDI0EAESEAoMU1RZTEVfTEVHQUNZEAIqBgjo' - 'BxCLTioGCItOEJBOKgYIkE4QkU5KBgjnBxDoBw=='); - -@$core.Deprecated('Use featureSetDefaultsDescriptor instead') -const FeatureSetDefaults$json = { - '1': 'FeatureSetDefaults', - '2': [ - {'1': 'defaults', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault', '10': 'defaults'}, - {'1': 'minimum_edition', '3': 4, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'minimumEdition'}, - {'1': 'maximum_edition', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'maximumEdition'}, - ], - '3': [FeatureSetDefaults_FeatureSetEditionDefault$json], -}; - -@$core.Deprecated('Use featureSetDefaultsDescriptor instead') -const FeatureSetDefaults_FeatureSetEditionDefault$json = { - '1': 'FeatureSetEditionDefault', - '2': [ - {'1': 'edition', '3': 3, '4': 1, '5': 14, '6': '.google.protobuf.Edition', '10': 'edition'}, - {'1': 'overridable_features', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'overridableFeatures'}, - {'1': 'fixed_features', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.FeatureSet', '10': 'fixedFeatures'}, - ], - '9': [ - {'1': 1, '2': 2}, - {'1': 2, '2': 3}, - ], - '10': ['features'], -}; - -/// Descriptor for `FeatureSetDefaults`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List featureSetDefaultsDescriptor = $convert.base64Decode( - 'ChJGZWF0dXJlU2V0RGVmYXVsdHMSWAoIZGVmYXVsdHMYASADKAsyPC5nb29nbGUucHJvdG9idW' - 'YuRmVhdHVyZVNldERlZmF1bHRzLkZlYXR1cmVTZXRFZGl0aW9uRGVmYXVsdFIIZGVmYXVsdHMS' - 'QQoPbWluaW11bV9lZGl0aW9uGAQgASgOMhguZ29vZ2xlLnByb3RvYnVmLkVkaXRpb25SDm1pbm' - 'ltdW1FZGl0aW9uEkEKD21heGltdW1fZWRpdGlvbhgFIAEoDjIYLmdvb2dsZS5wcm90b2J1Zi5F' - 'ZGl0aW9uUg5tYXhpbXVtRWRpdGlvbhr4AQoYRmVhdHVyZVNldEVkaXRpb25EZWZhdWx0EjIKB2' - 'VkaXRpb24YAyABKA4yGC5nb29nbGUucHJvdG9idWYuRWRpdGlvblIHZWRpdGlvbhJOChRvdmVy' - 'cmlkYWJsZV9mZWF0dXJlcxgEIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GZWF0dXJlU2V0UhNvdm' - 'VycmlkYWJsZUZlYXR1cmVzEkIKDmZpeGVkX2ZlYXR1cmVzGAUgASgLMhsuZ29vZ2xlLnByb3Rv' - 'YnVmLkZlYXR1cmVTZXRSDWZpeGVkRmVhdHVyZXNKBAgBEAJKBAgCEANSCGZlYXR1cmVz'); - -@$core.Deprecated('Use sourceCodeInfoDescriptor instead') -const SourceCodeInfo$json = { - '1': 'SourceCodeInfo', - '2': [ - {'1': 'location', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.SourceCodeInfo.Location', '10': 'location'}, - ], - '3': [SourceCodeInfo_Location$json], - '5': [ - {'1': 536000000, '2': 536000001}, - ], -}; - -@$core.Deprecated('Use sourceCodeInfoDescriptor instead') -const SourceCodeInfo_Location$json = { - '1': 'Location', - '2': [ - { - '1': 'path', - '3': 1, - '4': 3, - '5': 5, - '8': {'2': true}, - '10': 'path', - }, - { - '1': 'span', - '3': 2, - '4': 3, - '5': 5, - '8': {'2': true}, - '10': 'span', - }, - {'1': 'leading_comments', '3': 3, '4': 1, '5': 9, '10': 'leadingComments'}, - {'1': 'trailing_comments', '3': 4, '4': 1, '5': 9, '10': 'trailingComments'}, - {'1': 'leading_detached_comments', '3': 6, '4': 3, '5': 9, '10': 'leadingDetachedComments'}, - ], -}; - -/// Descriptor for `SourceCodeInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sourceCodeInfoDescriptor = $convert.base64Decode( - 'Cg5Tb3VyY2VDb2RlSW5mbxJECghsb2NhdGlvbhgBIAMoCzIoLmdvb2dsZS5wcm90b2J1Zi5Tb3' - 'VyY2VDb2RlSW5mby5Mb2NhdGlvblIIbG9jYXRpb24azgEKCExvY2F0aW9uEhYKBHBhdGgYASAD' - 'KAVCAhABUgRwYXRoEhYKBHNwYW4YAiADKAVCAhABUgRzcGFuEikKEGxlYWRpbmdfY29tbWVudH' - 'MYAyABKAlSD2xlYWRpbmdDb21tZW50cxIrChF0cmFpbGluZ19jb21tZW50cxgEIAEoCVIQdHJh' - 'aWxpbmdDb21tZW50cxI6ChlsZWFkaW5nX2RldGFjaGVkX2NvbW1lbnRzGAYgAygJUhdsZWFkaW' - '5nRGV0YWNoZWRDb21tZW50cyoMCIDsyv8BEIHsyv8B'); - -@$core.Deprecated('Use generatedCodeInfoDescriptor instead') -const GeneratedCodeInfo$json = { - '1': 'GeneratedCodeInfo', - '2': [ - {'1': 'annotation', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.GeneratedCodeInfo.Annotation', '10': 'annotation'}, - ], - '3': [GeneratedCodeInfo_Annotation$json], -}; - -@$core.Deprecated('Use generatedCodeInfoDescriptor instead') -const GeneratedCodeInfo_Annotation$json = { - '1': 'Annotation', - '2': [ - { - '1': 'path', - '3': 1, - '4': 3, - '5': 5, - '8': {'2': true}, - '10': 'path', - }, - {'1': 'source_file', '3': 2, '4': 1, '5': 9, '10': 'sourceFile'}, - {'1': 'begin', '3': 3, '4': 1, '5': 5, '10': 'begin'}, - {'1': 'end', '3': 4, '4': 1, '5': 5, '10': 'end'}, - {'1': 'semantic', '3': 5, '4': 1, '5': 14, '6': '.google.protobuf.GeneratedCodeInfo.Annotation.Semantic', '10': 'semantic'}, - ], - '4': [GeneratedCodeInfo_Annotation_Semantic$json], -}; - -@$core.Deprecated('Use generatedCodeInfoDescriptor instead') -const GeneratedCodeInfo_Annotation_Semantic$json = { - '1': 'Semantic', - '2': [ - {'1': 'NONE', '2': 0}, - {'1': 'SET', '2': 1}, - {'1': 'ALIAS', '2': 2}, - ], -}; - -/// Descriptor for `GeneratedCodeInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List generatedCodeInfoDescriptor = $convert.base64Decode( - 'ChFHZW5lcmF0ZWRDb2RlSW5mbxJNCgphbm5vdGF0aW9uGAEgAygLMi0uZ29vZ2xlLnByb3RvYn' - 'VmLkdlbmVyYXRlZENvZGVJbmZvLkFubm90YXRpb25SCmFubm90YXRpb24a6wEKCkFubm90YXRp' - 'b24SFgoEcGF0aBgBIAMoBUICEAFSBHBhdGgSHwoLc291cmNlX2ZpbGUYAiABKAlSCnNvdXJjZU' - 'ZpbGUSFAoFYmVnaW4YAyABKAVSBWJlZ2luEhAKA2VuZBgEIAEoBVIDZW5kElIKCHNlbWFudGlj' - 'GAUgASgOMjYuZ29vZ2xlLnByb3RvYnVmLkdlbmVyYXRlZENvZGVJbmZvLkFubm90YXRpb24uU2' - 'VtYW50aWNSCHNlbWFudGljIigKCFNlbWFudGljEggKBE5PTkUQABIHCgNTRVQQARIJCgVBTElB' - 'UxAC'); - diff --git a/lib/src/gen/google/protobuf/duration.pb.dart b/lib/src/gen/google/protobuf/duration.pb.dart deleted file mode 100644 index 622c92d80ae..00000000000 --- a/lib/src/gen/google/protobuf/duration.pb.dart +++ /dev/null @@ -1,151 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/duration.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; -import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; - -/// A Duration represents a signed, fixed-length span of time represented -/// as a count of seconds and fractions of seconds at nanosecond -/// resolution. It is independent of any calendar and concepts like "day" -/// or "month". It is related to Timestamp in that the difference between -/// two Timestamp values is a Duration and it can be added or subtracted -/// from a Timestamp. Range is approximately +-10,000 years. -/// -/// # Examples -/// -/// Example 1: Compute Duration from two Timestamps in pseudo code. -/// -/// Timestamp start = ...; -/// Timestamp end = ...; -/// Duration duration = ...; -/// -/// duration.seconds = end.seconds - start.seconds; -/// duration.nanos = end.nanos - start.nanos; -/// -/// if (duration.seconds < 0 && duration.nanos > 0) { -/// duration.seconds += 1; -/// duration.nanos -= 1000000000; -/// } else if (duration.seconds > 0 && duration.nanos < 0) { -/// duration.seconds -= 1; -/// duration.nanos += 1000000000; -/// } -/// -/// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. -/// -/// Timestamp start = ...; -/// Duration duration = ...; -/// Timestamp end = ...; -/// -/// end.seconds = start.seconds + duration.seconds; -/// end.nanos = start.nanos + duration.nanos; -/// -/// if (end.nanos < 0) { -/// end.seconds -= 1; -/// end.nanos += 1000000000; -/// } else if (end.nanos >= 1000000000) { -/// end.seconds += 1; -/// end.nanos -= 1000000000; -/// } -/// -/// Example 3: Compute Duration from datetime.timedelta in Python. -/// -/// td = datetime.timedelta(days=3, minutes=10) -/// duration = Duration() -/// duration.FromTimedelta(td) -/// -/// # JSON Mapping -/// -/// In JSON format, the Duration type is encoded as a string rather than an -/// object, where the string ends in the suffix "s" (indicating seconds) and -/// is preceded by the number of seconds, with nanoseconds expressed as -/// fractional seconds. For example, 3 seconds with 0 nanoseconds should be -/// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -/// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -/// microsecond should be expressed in JSON format as "3.000001s". -class Duration extends $pb.GeneratedMessage with $mixin.DurationMixin { - factory Duration({ - $fixnum.Int64? seconds, - $core.int? nanos, - }) { - final $result = create(); - if (seconds != null) { - $result.seconds = seconds; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; - } - Duration._() : super(); - factory Duration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Duration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Duration', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DurationMixin.toProto3JsonHelper, fromProto3Json: $mixin.DurationMixin.fromProto3JsonHelper) - ..aInt64(1, _omitFieldNames ? '' : 'seconds') - ..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Duration clone() => Duration()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Duration copyWith(void Function(Duration) updates) => super.copyWith((message) => updates(message as Duration)) as Duration; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Duration create() => Duration._(); - Duration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Duration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Duration? _defaultInstance; - - /// Signed seconds of the span of time. Must be from -315,576,000,000 - /// to +315,576,000,000 inclusive. Note: these bounds are computed from: - /// 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - @$pb.TagNumber(1) - $fixnum.Int64 get seconds => $_getI64(0); - @$pb.TagNumber(1) - set seconds($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasSeconds() => $_has(0); - @$pb.TagNumber(1) - void clearSeconds() => clearField(1); - - /// Signed fractions of a second at nanosecond resolution of the span - /// of time. Durations less than one second are represented with a 0 - /// `seconds` field and a positive or negative `nanos` field. For durations - /// of one second or more, a non-zero value for the `nanos` field must be - /// of the same sign as the `seconds` field. Must be from -999,999,999 - /// to +999,999,999 inclusive. - @$pb.TagNumber(2) - $core.int get nanos => $_getIZ(1); - @$pb.TagNumber(2) - set nanos($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasNanos() => $_has(1); - @$pb.TagNumber(2) - void clearNanos() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/protobuf/duration.pbenum.dart b/lib/src/gen/google/protobuf/duration.pbenum.dart deleted file mode 100644 index 403b010381c..00000000000 --- a/lib/src/gen/google/protobuf/duration.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/duration.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/protobuf/duration.pbjson.dart b/lib/src/gen/google/protobuf/duration.pbjson.dart deleted file mode 100644 index aacca4387ab..00000000000 --- a/lib/src/gen/google/protobuf/duration.pbjson.dart +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/duration.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use durationDescriptor instead') -const Duration$json = { - '1': 'Duration', - '2': [ - {'1': 'seconds', '3': 1, '4': 1, '5': 3, '10': 'seconds'}, - {'1': 'nanos', '3': 2, '4': 1, '5': 5, '10': 'nanos'}, - ], -}; - -/// Descriptor for `Duration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List durationDescriptor = $convert.base64Decode( - 'CghEdXJhdGlvbhIYCgdzZWNvbmRzGAEgASgDUgdzZWNvbmRzEhQKBW5hbm9zGAIgASgFUgVuYW' - '5vcw=='); - diff --git a/lib/src/gen/google/protobuf/empty.pb.dart b/lib/src/gen/google/protobuf/empty.pb.dart deleted file mode 100644 index 05ae77c7c81..00000000000 --- a/lib/src/gen/google/protobuf/empty.pb.dart +++ /dev/null @@ -1,56 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// A generic empty message that you can re-use to avoid defining duplicated -/// empty messages in your APIs. A typical example is to use it as the request -/// or the response type of an API method. For instance: -/// -/// service Foo { -/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -/// } -class Empty extends $pb.GeneratedMessage { - factory Empty() => create(); - Empty._() : super(); - factory Empty.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Empty.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Empty', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Empty clone() => Empty()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Empty copyWith(void Function(Empty) updates) => super.copyWith((message) => updates(message as Empty)) as Empty; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Empty create() => Empty._(); - Empty createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Empty getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Empty? _defaultInstance; -} - - -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/protobuf/empty.pbenum.dart b/lib/src/gen/google/protobuf/empty.pbenum.dart deleted file mode 100644 index 510bac1d0ed..00000000000 --- a/lib/src/gen/google/protobuf/empty.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/protobuf/empty.pbjson.dart b/lib/src/gen/google/protobuf/empty.pbjson.dart deleted file mode 100644 index c7245b67bbd..00000000000 --- a/lib/src/gen/google/protobuf/empty.pbjson.dart +++ /dev/null @@ -1,24 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/empty.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use emptyDescriptor instead') -const Empty$json = { - '1': 'Empty', -}; - -/// Descriptor for `Empty`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List emptyDescriptor = $convert.base64Decode( - 'CgVFbXB0eQ=='); - diff --git a/lib/src/gen/google/protobuf/struct.pb.dart b/lib/src/gen/google/protobuf/struct.pb.dart deleted file mode 100644 index 847ddda129f..00000000000 --- a/lib/src/gen/google/protobuf/struct.pb.dart +++ /dev/null @@ -1,283 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/struct.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; -import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; - -import 'struct.pbenum.dart'; - -export 'struct.pbenum.dart'; - -/// `Struct` represents a structured data value, consisting of fields -/// which map to dynamically typed values. In some languages, `Struct` -/// might be supported by a native representation. For example, in -/// scripting languages like JS a struct is represented as an -/// object. The details of that representation are described together -/// with the proto support for the language. -/// -/// The JSON representation for `Struct` is JSON object. -class Struct extends $pb.GeneratedMessage with $mixin.StructMixin { - factory Struct({ - $core.Map<$core.String, Value>? fields, - }) { - final $result = create(); - if (fields != null) { - $result.fields.addAll(fields); - } - return $result; - } - Struct._() : super(); - factory Struct.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Struct.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Struct', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StructMixin.toProto3JsonHelper, fromProto3Json: $mixin.StructMixin.fromProto3JsonHelper) - ..m<$core.String, Value>(1, _omitFieldNames ? '' : 'fields', entryClassName: 'Struct.FieldsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: Value.create, valueDefaultOrMaker: Value.getDefault, packageName: const $pb.PackageName('google.protobuf')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Struct clone() => Struct()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Struct copyWith(void Function(Struct) updates) => super.copyWith((message) => updates(message as Struct)) as Struct; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Struct create() => Struct._(); - Struct createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Struct getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Struct? _defaultInstance; - - /// Unordered map of dynamically typed values. - @$pb.TagNumber(1) - $core.Map<$core.String, Value> get fields => $_getMap(0); -} - -enum Value_Kind { - nullValue, - numberValue, - stringValue, - boolValue, - structValue, - listValue, - notSet -} - -/// `Value` represents a dynamically typed value which can be either -/// null, a number, a string, a boolean, a recursive struct value, or a -/// list of values. A producer of value is expected to set one of these -/// variants. Absence of any variant indicates an error. -/// -/// The JSON representation for `Value` is JSON value. -class Value extends $pb.GeneratedMessage with $mixin.ValueMixin { - factory Value({ - NullValue? nullValue, - $core.double? numberValue, - $core.String? stringValue, - $core.bool? boolValue, - Struct? structValue, - ListValue? listValue, - }) { - final $result = create(); - if (nullValue != null) { - $result.nullValue = nullValue; - } - if (numberValue != null) { - $result.numberValue = numberValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (boolValue != null) { - $result.boolValue = boolValue; - } - if (structValue != null) { - $result.structValue = structValue; - } - if (listValue != null) { - $result.listValue = listValue; - } - return $result; - } - Value._() : super(); - factory Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Value_Kind> _Value_KindByTag = { - 1 : Value_Kind.nullValue, - 2 : Value_Kind.numberValue, - 3 : Value_Kind.stringValue, - 4 : Value_Kind.boolValue, - 5 : Value_Kind.structValue, - 6 : Value_Kind.listValue, - 0 : Value_Kind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.ValueMixin.fromProto3JsonHelper) - ..oo(0, [1, 2, 3, 4, 5, 6]) - ..e(1, _omitFieldNames ? '' : 'nullValue', $pb.PbFieldType.OE, defaultOrMaker: NullValue.NULL_VALUE, valueOf: NullValue.valueOf, enumValues: NullValue.values) - ..a<$core.double>(2, _omitFieldNames ? '' : 'numberValue', $pb.PbFieldType.OD) - ..aOS(3, _omitFieldNames ? '' : 'stringValue') - ..aOB(4, _omitFieldNames ? '' : 'boolValue') - ..aOM(5, _omitFieldNames ? '' : 'structValue', subBuilder: Struct.create) - ..aOM(6, _omitFieldNames ? '' : 'listValue', subBuilder: ListValue.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Value clone() => Value()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Value copyWith(void Function(Value) updates) => super.copyWith((message) => updates(message as Value)) as Value; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Value create() => Value._(); - Value createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Value? _defaultInstance; - - Value_Kind whichKind() => _Value_KindByTag[$_whichOneof(0)]!; - void clearKind() => clearField($_whichOneof(0)); - - /// Represents a null value. - @$pb.TagNumber(1) - NullValue get nullValue => $_getN(0); - @$pb.TagNumber(1) - set nullValue(NullValue v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasNullValue() => $_has(0); - @$pb.TagNumber(1) - void clearNullValue() => clearField(1); - - /// Represents a double value. - @$pb.TagNumber(2) - $core.double get numberValue => $_getN(1); - @$pb.TagNumber(2) - set numberValue($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasNumberValue() => $_has(1); - @$pb.TagNumber(2) - void clearNumberValue() => clearField(2); - - /// Represents a string value. - @$pb.TagNumber(3) - $core.String get stringValue => $_getSZ(2); - @$pb.TagNumber(3) - set stringValue($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasStringValue() => $_has(2); - @$pb.TagNumber(3) - void clearStringValue() => clearField(3); - - /// Represents a boolean value. - @$pb.TagNumber(4) - $core.bool get boolValue => $_getBF(3); - @$pb.TagNumber(4) - set boolValue($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasBoolValue() => $_has(3); - @$pb.TagNumber(4) - void clearBoolValue() => clearField(4); - - /// Represents a structured value. - @$pb.TagNumber(5) - Struct get structValue => $_getN(4); - @$pb.TagNumber(5) - set structValue(Struct v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasStructValue() => $_has(4); - @$pb.TagNumber(5) - void clearStructValue() => clearField(5); - @$pb.TagNumber(5) - Struct ensureStructValue() => $_ensure(4); - - /// Represents a repeated `Value`. - @$pb.TagNumber(6) - ListValue get listValue => $_getN(5); - @$pb.TagNumber(6) - set listValue(ListValue v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasListValue() => $_has(5); - @$pb.TagNumber(6) - void clearListValue() => clearField(6); - @$pb.TagNumber(6) - ListValue ensureListValue() => $_ensure(5); -} - -/// `ListValue` is a wrapper around a repeated field of values. -/// -/// The JSON representation for `ListValue` is JSON array. -class ListValue extends $pb.GeneratedMessage with $mixin.ListValueMixin { - factory ListValue({ - $core.Iterable? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - ListValue._() : super(); - factory ListValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.ListValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.ListValueMixin.fromProto3JsonHelper) - ..pc(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.PM, subBuilder: Value.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListValue clone() => ListValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListValue copyWith(void Function(ListValue) updates) => super.copyWith((message) => updates(message as ListValue)) as ListValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListValue create() => ListValue._(); - ListValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListValue? _defaultInstance; - - /// Repeated field of dynamically typed values. - @$pb.TagNumber(1) - $core.List get values => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/protobuf/struct.pbenum.dart b/lib/src/gen/google/protobuf/struct.pbenum.dart deleted file mode 100644 index bf7c5719552..00000000000 --- a/lib/src/gen/google/protobuf/struct.pbenum.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/struct.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// `NullValue` is a singleton enumeration to represent the null value for the -/// `Value` type union. -/// -/// The JSON representation for `NullValue` is JSON `null`. -class NullValue extends $pb.ProtobufEnum { - static const NullValue NULL_VALUE = NullValue._(0, _omitEnumNames ? '' : 'NULL_VALUE'); - - static const $core.List values = [ - NULL_VALUE, - ]; - - static final $core.Map<$core.int, NullValue> _byValue = $pb.ProtobufEnum.initByValue(values); - static NullValue? valueOf($core.int value) => _byValue[value]; - - const NullValue._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/protobuf/struct.pbjson.dart b/lib/src/gen/google/protobuf/struct.pbjson.dart deleted file mode 100644 index ffa25fa6d68..00000000000 --- a/lib/src/gen/google/protobuf/struct.pbjson.dart +++ /dev/null @@ -1,90 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/struct.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use nullValueDescriptor instead') -const NullValue$json = { - '1': 'NullValue', - '2': [ - {'1': 'NULL_VALUE', '2': 0}, - ], -}; - -/// Descriptor for `NullValue`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List nullValueDescriptor = $convert.base64Decode( - 'CglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAA'); - -@$core.Deprecated('Use structDescriptor instead') -const Struct$json = { - '1': 'Struct', - '2': [ - {'1': 'fields', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.Struct.FieldsEntry', '10': 'fields'}, - ], - '3': [Struct_FieldsEntry$json], -}; - -@$core.Deprecated('Use structDescriptor instead') -const Struct_FieldsEntry$json = { - '1': 'FieldsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `Struct`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List structDescriptor = $convert.base64Decode( - 'CgZTdHJ1Y3QSOwoGZmllbGRzGAEgAygLMiMuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdC5GaWVsZH' - 'NFbnRyeVIGZmllbGRzGlEKC0ZpZWxkc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EiwKBXZhbHVl' - 'GAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use valueDescriptor instead') -const Value$json = { - '1': 'Value', - '2': [ - {'1': 'null_value', '3': 1, '4': 1, '5': 14, '6': '.google.protobuf.NullValue', '9': 0, '10': 'nullValue'}, - {'1': 'number_value', '3': 2, '4': 1, '5': 1, '9': 0, '10': 'numberValue'}, - {'1': 'string_value', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'stringValue'}, - {'1': 'bool_value', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'struct_value', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '9': 0, '10': 'structValue'}, - {'1': 'list_value', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.ListValue', '9': 0, '10': 'listValue'}, - ], - '8': [ - {'1': 'kind'}, - ], -}; - -/// Descriptor for `Value`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List valueDescriptor = $convert.base64Decode( - 'CgVWYWx1ZRI7CgpudWxsX3ZhbHVlGAEgASgOMhouZ29vZ2xlLnByb3RvYnVmLk51bGxWYWx1ZU' - 'gAUgludWxsVmFsdWUSIwoMbnVtYmVyX3ZhbHVlGAIgASgBSABSC251bWJlclZhbHVlEiMKDHN0' - 'cmluZ192YWx1ZRgDIAEoCUgAUgtzdHJpbmdWYWx1ZRIfCgpib29sX3ZhbHVlGAQgASgISABSCW' - 'Jvb2xWYWx1ZRI8CgxzdHJ1Y3RfdmFsdWUYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0' - 'SABSC3N0cnVjdFZhbHVlEjsKCmxpc3RfdmFsdWUYBiABKAsyGi5nb29nbGUucHJvdG9idWYuTG' - 'lzdFZhbHVlSABSCWxpc3RWYWx1ZUIGCgRraW5k'); - -@$core.Deprecated('Use listValueDescriptor instead') -const ListValue$json = { - '1': 'ListValue', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.Value', '10': 'values'}, - ], -}; - -/// Descriptor for `ListValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listValueDescriptor = $convert.base64Decode( - 'CglMaXN0VmFsdWUSLgoGdmFsdWVzGAEgAygLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgZ2YW' - 'x1ZXM='); - diff --git a/lib/src/gen/google/protobuf/timestamp.pb.dart b/lib/src/gen/google/protobuf/timestamp.pb.dart deleted file mode 100644 index ea44b44e4ca..00000000000 --- a/lib/src/gen/google/protobuf/timestamp.pb.dart +++ /dev/null @@ -1,188 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/timestamp.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; -import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; - -/// A Timestamp represents a point in time independent of any time zone or local -/// calendar, encoded as a count of seconds and fractions of seconds at -/// nanosecond resolution. The count is relative to an epoch at UTC midnight on -/// January 1, 1970, in the proleptic Gregorian calendar which extends the -/// Gregorian calendar backwards to year one. -/// -/// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -/// second table is needed for interpretation, using a [24-hour linear -/// smear](https://developers.google.com/time/smear). -/// -/// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -/// restricting to that range, we ensure that we can convert to and from [RFC -/// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. -/// -/// # Examples -/// -/// Example 1: Compute Timestamp from POSIX `time()`. -/// -/// Timestamp timestamp; -/// timestamp.set_seconds(time(NULL)); -/// timestamp.set_nanos(0); -/// -/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. -/// -/// struct timeval tv; -/// gettimeofday(&tv, NULL); -/// -/// Timestamp timestamp; -/// timestamp.set_seconds(tv.tv_sec); -/// timestamp.set_nanos(tv.tv_usec * 1000); -/// -/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. -/// -/// FILETIME ft; -/// GetSystemTimeAsFileTime(&ft); -/// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; -/// -/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z -/// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. -/// Timestamp timestamp; -/// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); -/// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); -/// -/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. -/// -/// long millis = System.currentTimeMillis(); -/// -/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) -/// .setNanos((int) ((millis % 1000) * 1000000)).build(); -/// -/// Example 5: Compute Timestamp from Java `Instant.now()`. -/// -/// Instant now = Instant.now(); -/// -/// Timestamp timestamp = -/// Timestamp.newBuilder().setSeconds(now.getEpochSecond()) -/// .setNanos(now.getNano()).build(); -/// -/// Example 6: Compute Timestamp from current time in Python. -/// -/// timestamp = Timestamp() -/// timestamp.GetCurrentTime() -/// -/// # JSON Mapping -/// -/// In JSON format, the Timestamp type is encoded as a string in the -/// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -/// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -/// where {year} is always expressed using four digits while {month}, {day}, -/// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -/// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -/// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -/// is required. A proto3 JSON serializer should always use UTC (as indicated by -/// "Z") when printing the Timestamp type and a proto3 JSON parser should be -/// able to accept both UTC and other timezones (as indicated by an offset). -/// -/// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -/// 01:30 UTC on January 15, 2017. -/// -/// In JavaScript, one can convert a Date object to this format using the -/// standard -/// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -/// method. In Python, a standard `datetime.datetime` object can be converted -/// to this format using -/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -/// the Joda Time's [`ISODateTimeFormat.dateTime()`]( -/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() -/// ) to obtain a formatter capable of generating timestamps in this format. -class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin { - factory Timestamp({ - $fixnum.Int64? seconds, - $core.int? nanos, - }) { - final $result = create(); - if (seconds != null) { - $result.seconds = seconds; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; - } - Timestamp._() : super(); - factory Timestamp.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Timestamp.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Timestamp', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.TimestampMixin.toProto3JsonHelper, fromProto3Json: $mixin.TimestampMixin.fromProto3JsonHelper) - ..aInt64(1, _omitFieldNames ? '' : 'seconds') - ..a<$core.int>(2, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Timestamp clone() => Timestamp()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Timestamp copyWith(void Function(Timestamp) updates) => super.copyWith((message) => updates(message as Timestamp)) as Timestamp; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Timestamp create() => Timestamp._(); - Timestamp createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Timestamp getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Timestamp? _defaultInstance; - - /// Represents seconds of UTC time since Unix epoch - /// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - /// 9999-12-31T23:59:59Z inclusive. - @$pb.TagNumber(1) - $fixnum.Int64 get seconds => $_getI64(0); - @$pb.TagNumber(1) - set seconds($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasSeconds() => $_has(0); - @$pb.TagNumber(1) - void clearSeconds() => clearField(1); - - /// Non-negative fractions of a second at nanosecond resolution. Negative - /// second values with fractions must still have non-negative nanos values - /// that count forward in time. Must be from 0 to 999,999,999 - /// inclusive. - @$pb.TagNumber(2) - $core.int get nanos => $_getIZ(1); - @$pb.TagNumber(2) - set nanos($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasNanos() => $_has(1); - @$pb.TagNumber(2) - void clearNanos() => clearField(2); - /// Creates a new instance from [dateTime]. - /// - /// Time zone information will not be preserved. - static Timestamp fromDateTime($core.DateTime dateTime) { - final result = create(); - $mixin.TimestampMixin.setFromDateTime(result, dateTime); - return result; - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/protobuf/timestamp.pbenum.dart b/lib/src/gen/google/protobuf/timestamp.pbenum.dart deleted file mode 100644 index 30275f6a882..00000000000 --- a/lib/src/gen/google/protobuf/timestamp.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/timestamp.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/protobuf/timestamp.pbjson.dart b/lib/src/gen/google/protobuf/timestamp.pbjson.dart deleted file mode 100644 index 3dfd63b549d..00000000000 --- a/lib/src/gen/google/protobuf/timestamp.pbjson.dart +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/timestamp.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use timestampDescriptor instead') -const Timestamp$json = { - '1': 'Timestamp', - '2': [ - {'1': 'seconds', '3': 1, '4': 1, '5': 3, '10': 'seconds'}, - {'1': 'nanos', '3': 2, '4': 1, '5': 5, '10': 'nanos'}, - ], -}; - -/// Descriptor for `Timestamp`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timestampDescriptor = $convert.base64Decode( - 'CglUaW1lc3RhbXASGAoHc2Vjb25kcxgBIAEoA1IHc2Vjb25kcxIUCgVuYW5vcxgCIAEoBVIFbm' - 'Fub3M='); - diff --git a/lib/src/gen/google/protobuf/wrappers.pb.dart b/lib/src/gen/google/protobuf/wrappers.pb.dart deleted file mode 100644 index d51f23d4e12..00000000000 --- a/lib/src/gen/google/protobuf/wrappers.pb.dart +++ /dev/null @@ -1,533 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/wrappers.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; -import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin; - -/// Wrapper message for `double`. -/// -/// The JSON representation for `DoubleValue` is JSON number. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class DoubleValue extends $pb.GeneratedMessage with $mixin.DoubleValueMixin { - factory DoubleValue({ - $core.double? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - DoubleValue._() : super(); - factory DoubleValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DoubleValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoubleValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.DoubleValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.DoubleValueMixin.fromProto3JsonHelper) - ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DoubleValue clone() => DoubleValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DoubleValue copyWith(void Function(DoubleValue) updates) => super.copyWith((message) => updates(message as DoubleValue)) as DoubleValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DoubleValue create() => DoubleValue._(); - DoubleValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DoubleValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DoubleValue? _defaultInstance; - - /// The double value. - @$pb.TagNumber(1) - $core.double get value => $_getN(0); - @$pb.TagNumber(1) - set value($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `float`. -/// -/// The JSON representation for `FloatValue` is JSON number. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class FloatValue extends $pb.GeneratedMessage with $mixin.FloatValueMixin { - factory FloatValue({ - $core.double? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - FloatValue._() : super(); - factory FloatValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FloatValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FloatValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.FloatValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.FloatValueMixin.fromProto3JsonHelper) - ..a<$core.double>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FloatValue clone() => FloatValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FloatValue copyWith(void Function(FloatValue) updates) => super.copyWith((message) => updates(message as FloatValue)) as FloatValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FloatValue create() => FloatValue._(); - FloatValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FloatValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FloatValue? _defaultInstance; - - /// The float value. - @$pb.TagNumber(1) - $core.double get value => $_getN(0); - @$pb.TagNumber(1) - set value($core.double v) { $_setFloat(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `int64`. -/// -/// The JSON representation for `Int64Value` is JSON string. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class Int64Value extends $pb.GeneratedMessage with $mixin.Int64ValueMixin { - factory Int64Value({ - $fixnum.Int64? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - Int64Value._() : super(); - factory Int64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Int64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int64ValueMixin.fromProto3JsonHelper) - ..aInt64(1, _omitFieldNames ? '' : 'value') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Int64Value clone() => Int64Value()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Int64Value copyWith(void Function(Int64Value) updates) => super.copyWith((message) => updates(message as Int64Value)) as Int64Value; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Int64Value create() => Int64Value._(); - Int64Value createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Int64Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Int64Value? _defaultInstance; - - /// The int64 value. - @$pb.TagNumber(1) - $fixnum.Int64 get value => $_getI64(0); - @$pb.TagNumber(1) - set value($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `uint64`. -/// -/// The JSON representation for `UInt64Value` is JSON string. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class UInt64Value extends $pb.GeneratedMessage with $mixin.UInt64ValueMixin { - factory UInt64Value({ - $fixnum.Int64? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - UInt64Value._() : super(); - factory UInt64Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UInt64Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt64Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt64ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt64ValueMixin.fromProto3JsonHelper) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UInt64Value clone() => UInt64Value()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UInt64Value copyWith(void Function(UInt64Value) updates) => super.copyWith((message) => updates(message as UInt64Value)) as UInt64Value; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UInt64Value create() => UInt64Value._(); - UInt64Value createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UInt64Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UInt64Value? _defaultInstance; - - /// The uint64 value. - @$pb.TagNumber(1) - $fixnum.Int64 get value => $_getI64(0); - @$pb.TagNumber(1) - set value($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `int32`. -/// -/// The JSON representation for `Int32Value` is JSON number. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class Int32Value extends $pb.GeneratedMessage with $mixin.Int32ValueMixin { - factory Int32Value({ - $core.int? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - Int32Value._() : super(); - factory Int32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Int32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.Int32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.Int32ValueMixin.fromProto3JsonHelper) - ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Int32Value clone() => Int32Value()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Int32Value copyWith(void Function(Int32Value) updates) => super.copyWith((message) => updates(message as Int32Value)) as Int32Value; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Int32Value create() => Int32Value._(); - Int32Value createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Int32Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Int32Value? _defaultInstance; - - /// The int32 value. - @$pb.TagNumber(1) - $core.int get value => $_getIZ(0); - @$pb.TagNumber(1) - set value($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `uint32`. -/// -/// The JSON representation for `UInt32Value` is JSON number. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class UInt32Value extends $pb.GeneratedMessage with $mixin.UInt32ValueMixin { - factory UInt32Value({ - $core.int? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - UInt32Value._() : super(); - factory UInt32Value.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UInt32Value.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt32Value', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.UInt32ValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.UInt32ValueMixin.fromProto3JsonHelper) - ..a<$core.int>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UInt32Value clone() => UInt32Value()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UInt32Value copyWith(void Function(UInt32Value) updates) => super.copyWith((message) => updates(message as UInt32Value)) as UInt32Value; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UInt32Value create() => UInt32Value._(); - UInt32Value createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static UInt32Value getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static UInt32Value? _defaultInstance; - - /// The uint32 value. - @$pb.TagNumber(1) - $core.int get value => $_getIZ(0); - @$pb.TagNumber(1) - set value($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `bool`. -/// -/// The JSON representation for `BoolValue` is JSON `true` and `false`. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class BoolValue extends $pb.GeneratedMessage with $mixin.BoolValueMixin { - factory BoolValue({ - $core.bool? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - BoolValue._() : super(); - factory BoolValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BoolValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BoolValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BoolValueMixin.fromProto3JsonHelper) - ..aOB(1, _omitFieldNames ? '' : 'value') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BoolValue clone() => BoolValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BoolValue copyWith(void Function(BoolValue) updates) => super.copyWith((message) => updates(message as BoolValue)) as BoolValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BoolValue create() => BoolValue._(); - BoolValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BoolValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BoolValue? _defaultInstance; - - /// The bool value. - @$pb.TagNumber(1) - $core.bool get value => $_getBF(0); - @$pb.TagNumber(1) - set value($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `string`. -/// -/// The JSON representation for `StringValue` is JSON string. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class StringValue extends $pb.GeneratedMessage with $mixin.StringValueMixin { - factory StringValue({ - $core.String? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - StringValue._() : super(); - factory StringValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StringValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.StringValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.StringValueMixin.fromProto3JsonHelper) - ..aOS(1, _omitFieldNames ? '' : 'value') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StringValue clone() => StringValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StringValue copyWith(void Function(StringValue) updates) => super.copyWith((message) => updates(message as StringValue)) as StringValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StringValue create() => StringValue._(); - StringValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StringValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StringValue? _defaultInstance; - - /// The string value. - @$pb.TagNumber(1) - $core.String get value => $_getSZ(0); - @$pb.TagNumber(1) - set value($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - -/// Wrapper message for `bytes`. -/// -/// The JSON representation for `BytesValue` is JSON string. -/// -/// Not recommended for use in new APIs, but still useful for legacy APIs and -/// has no plan to be removed. -class BytesValue extends $pb.GeneratedMessage with $mixin.BytesValueMixin { - factory BytesValue({ - $core.List<$core.int>? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - BytesValue._() : super(); - factory BytesValue.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BytesValue.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BytesValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.protobuf'), createEmptyInstance: create, toProto3Json: $mixin.BytesValueMixin.toProto3JsonHelper, fromProto3Json: $mixin.BytesValueMixin.fromProto3JsonHelper) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BytesValue clone() => BytesValue()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BytesValue copyWith(void Function(BytesValue) updates) => super.copyWith((message) => updates(message as BytesValue)) as BytesValue; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BytesValue create() => BytesValue._(); - BytesValue createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BytesValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BytesValue? _defaultInstance; - - /// The bytes value. - @$pb.TagNumber(1) - $core.List<$core.int> get value => $_getN(0); - @$pb.TagNumber(1) - set value($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/protobuf/wrappers.pbenum.dart b/lib/src/gen/google/protobuf/wrappers.pbenum.dart deleted file mode 100644 index 68f33ec23f9..00000000000 --- a/lib/src/gen/google/protobuf/wrappers.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/wrappers.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/protobuf/wrappers.pbjson.dart b/lib/src/gen/google/protobuf/wrappers.pbjson.dart deleted file mode 100644 index c30acdb0796..00000000000 --- a/lib/src/gen/google/protobuf/wrappers.pbjson.dart +++ /dev/null @@ -1,123 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/protobuf/wrappers.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use doubleValueDescriptor instead') -const DoubleValue$json = { - '1': 'DoubleValue', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 1, '10': 'value'}, - ], -}; - -/// Descriptor for `DoubleValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List doubleValueDescriptor = $convert.base64Decode( - 'CgtEb3VibGVWYWx1ZRIUCgV2YWx1ZRgBIAEoAVIFdmFsdWU='); - -@$core.Deprecated('Use floatValueDescriptor instead') -const FloatValue$json = { - '1': 'FloatValue', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 2, '10': 'value'}, - ], -}; - -/// Descriptor for `FloatValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List floatValueDescriptor = $convert.base64Decode( - 'CgpGbG9hdFZhbHVlEhQKBXZhbHVlGAEgASgCUgV2YWx1ZQ=='); - -@$core.Deprecated('Use int64ValueDescriptor instead') -const Int64Value$json = { - '1': 'Int64Value', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 3, '10': 'value'}, - ], -}; - -/// Descriptor for `Int64Value`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List int64ValueDescriptor = $convert.base64Decode( - 'CgpJbnQ2NFZhbHVlEhQKBXZhbHVlGAEgASgDUgV2YWx1ZQ=='); - -@$core.Deprecated('Use uInt64ValueDescriptor instead') -const UInt64Value$json = { - '1': 'UInt64Value', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 4, '10': 'value'}, - ], -}; - -/// Descriptor for `UInt64Value`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uInt64ValueDescriptor = $convert.base64Decode( - 'CgtVSW50NjRWYWx1ZRIUCgV2YWx1ZRgBIAEoBFIFdmFsdWU='); - -@$core.Deprecated('Use int32ValueDescriptor instead') -const Int32Value$json = { - '1': 'Int32Value', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 5, '10': 'value'}, - ], -}; - -/// Descriptor for `Int32Value`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List int32ValueDescriptor = $convert.base64Decode( - 'CgpJbnQzMlZhbHVlEhQKBXZhbHVlGAEgASgFUgV2YWx1ZQ=='); - -@$core.Deprecated('Use uInt32ValueDescriptor instead') -const UInt32Value$json = { - '1': 'UInt32Value', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 13, '10': 'value'}, - ], -}; - -/// Descriptor for `UInt32Value`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uInt32ValueDescriptor = $convert.base64Decode( - 'CgtVSW50MzJWYWx1ZRIUCgV2YWx1ZRgBIAEoDVIFdmFsdWU='); - -@$core.Deprecated('Use boolValueDescriptor instead') -const BoolValue$json = { - '1': 'BoolValue', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 8, '10': 'value'}, - ], -}; - -/// Descriptor for `BoolValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List boolValueDescriptor = $convert.base64Decode( - 'CglCb29sVmFsdWUSFAoFdmFsdWUYASABKAhSBXZhbHVl'); - -@$core.Deprecated('Use stringValueDescriptor instead') -const StringValue$json = { - '1': 'StringValue', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, - ], -}; - -/// Descriptor for `StringValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stringValueDescriptor = $convert.base64Decode( - 'CgtTdHJpbmdWYWx1ZRIUCgV2YWx1ZRgBIAEoCVIFdmFsdWU='); - -@$core.Deprecated('Use bytesValueDescriptor instead') -const BytesValue$json = { - '1': 'BytesValue', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 12, '10': 'value'}, - ], -}; - -/// Descriptor for `BytesValue`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List bytesValueDescriptor = $convert.base64Decode( - 'CgpCeXRlc1ZhbHVlEhQKBXZhbHVlGAEgASgMUgV2YWx1ZQ=='); - diff --git a/lib/src/gen/google/rpc/code.pb.dart b/lib/src/gen/google/rpc/code.pb.dart deleted file mode 100644 index f6f15793b4c..00000000000 --- a/lib/src/gen/google/rpc/code.pb.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/code.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -export 'code.pbenum.dart'; - diff --git a/lib/src/gen/google/rpc/code.pbenum.dart b/lib/src/gen/google/rpc/code.pbenum.dart deleted file mode 100644 index 36a43dc4173..00000000000 --- a/lib/src/gen/google/rpc/code.pbenum.dart +++ /dev/null @@ -1,69 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/code.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// The canonical error codes for gRPC APIs. -/// -/// -/// Sometimes multiple error codes may apply. Services should return -/// the most specific error code that applies. For example, prefer -/// `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply. -/// Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`. -class Code extends $pb.ProtobufEnum { - static const Code OK = Code._(0, _omitEnumNames ? '' : 'OK'); - static const Code CANCELLED = Code._(1, _omitEnumNames ? '' : 'CANCELLED'); - static const Code UNKNOWN = Code._(2, _omitEnumNames ? '' : 'UNKNOWN'); - static const Code INVALID_ARGUMENT = Code._(3, _omitEnumNames ? '' : 'INVALID_ARGUMENT'); - static const Code DEADLINE_EXCEEDED = Code._(4, _omitEnumNames ? '' : 'DEADLINE_EXCEEDED'); - static const Code NOT_FOUND = Code._(5, _omitEnumNames ? '' : 'NOT_FOUND'); - static const Code ALREADY_EXISTS = Code._(6, _omitEnumNames ? '' : 'ALREADY_EXISTS'); - static const Code PERMISSION_DENIED = Code._(7, _omitEnumNames ? '' : 'PERMISSION_DENIED'); - static const Code UNAUTHENTICATED = Code._(16, _omitEnumNames ? '' : 'UNAUTHENTICATED'); - static const Code RESOURCE_EXHAUSTED = Code._(8, _omitEnumNames ? '' : 'RESOURCE_EXHAUSTED'); - static const Code FAILED_PRECONDITION = Code._(9, _omitEnumNames ? '' : 'FAILED_PRECONDITION'); - static const Code ABORTED = Code._(10, _omitEnumNames ? '' : 'ABORTED'); - static const Code OUT_OF_RANGE = Code._(11, _omitEnumNames ? '' : 'OUT_OF_RANGE'); - static const Code UNIMPLEMENTED = Code._(12, _omitEnumNames ? '' : 'UNIMPLEMENTED'); - static const Code INTERNAL = Code._(13, _omitEnumNames ? '' : 'INTERNAL'); - static const Code UNAVAILABLE = Code._(14, _omitEnumNames ? '' : 'UNAVAILABLE'); - static const Code DATA_LOSS = Code._(15, _omitEnumNames ? '' : 'DATA_LOSS'); - - static const $core.List values = [ - OK, - CANCELLED, - UNKNOWN, - INVALID_ARGUMENT, - DEADLINE_EXCEEDED, - NOT_FOUND, - ALREADY_EXISTS, - PERMISSION_DENIED, - UNAUTHENTICATED, - RESOURCE_EXHAUSTED, - FAILED_PRECONDITION, - ABORTED, - OUT_OF_RANGE, - UNIMPLEMENTED, - INTERNAL, - UNAVAILABLE, - DATA_LOSS, - ]; - - static final $core.Map<$core.int, Code> _byValue = $pb.ProtobufEnum.initByValue(values); - static Code? valueOf($core.int value) => _byValue[value]; - - const Code._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/rpc/code.pbjson.dart b/lib/src/gen/google/rpc/code.pbjson.dart deleted file mode 100644 index 79f111b6f13..00000000000 --- a/lib/src/gen/google/rpc/code.pbjson.dart +++ /dev/null @@ -1,48 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/code.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use codeDescriptor instead') -const Code$json = { - '1': 'Code', - '2': [ - {'1': 'OK', '2': 0}, - {'1': 'CANCELLED', '2': 1}, - {'1': 'UNKNOWN', '2': 2}, - {'1': 'INVALID_ARGUMENT', '2': 3}, - {'1': 'DEADLINE_EXCEEDED', '2': 4}, - {'1': 'NOT_FOUND', '2': 5}, - {'1': 'ALREADY_EXISTS', '2': 6}, - {'1': 'PERMISSION_DENIED', '2': 7}, - {'1': 'UNAUTHENTICATED', '2': 16}, - {'1': 'RESOURCE_EXHAUSTED', '2': 8}, - {'1': 'FAILED_PRECONDITION', '2': 9}, - {'1': 'ABORTED', '2': 10}, - {'1': 'OUT_OF_RANGE', '2': 11}, - {'1': 'UNIMPLEMENTED', '2': 12}, - {'1': 'INTERNAL', '2': 13}, - {'1': 'UNAVAILABLE', '2': 14}, - {'1': 'DATA_LOSS', '2': 15}, - ], -}; - -/// Descriptor for `Code`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List codeDescriptor = $convert.base64Decode( - 'CgRDb2RlEgYKAk9LEAASDQoJQ0FOQ0VMTEVEEAESCwoHVU5LTk9XThACEhQKEElOVkFMSURfQV' - 'JHVU1FTlQQAxIVChFERUFETElORV9FWENFRURFRBAEEg0KCU5PVF9GT1VORBAFEhIKDkFMUkVB' - 'RFlfRVhJU1RTEAYSFQoRUEVSTUlTU0lPTl9ERU5JRUQQBxITCg9VTkFVVEhFTlRJQ0FURUQQEB' - 'IWChJSRVNPVVJDRV9FWEhBVVNURUQQCBIXChNGQUlMRURfUFJFQ09ORElUSU9OEAkSCwoHQUJP' - 'UlRFRBAKEhAKDE9VVF9PRl9SQU5HRRALEhEKDVVOSU1QTEVNRU5URUQQDBIMCghJTlRFUk5BTB' - 'ANEg8KC1VOQVZBSUxBQkxFEA4SDQoJREFUQV9MT1NTEA8='); - diff --git a/lib/src/gen/google/rpc/context/attribute_context.pb.dart b/lib/src/gen/google/rpc/context/attribute_context.pb.dart deleted file mode 100644 index 7d1f5d175a7..00000000000 --- a/lib/src/gen/google/rpc/context/attribute_context.pb.dart +++ /dev/null @@ -1,1173 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/context/attribute_context.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../protobuf/any.pb.dart' as $9; -import '../../protobuf/duration.pb.dart' as $4; -import '../../protobuf/struct.pb.dart' as $7; -import '../../protobuf/timestamp.pb.dart' as $6; - -/// This message defines attributes for a node that handles a network request. -/// The node can be either a service or an application that sends, forwards, -/// or receives the request. Service peers should fill in -/// `principal` and `labels` as appropriate. -class AttributeContext_Peer extends $pb.GeneratedMessage { - factory AttributeContext_Peer({ - $core.String? ip, - $fixnum.Int64? port, - $core.Map<$core.String, $core.String>? labels, - $core.String? principal, - $core.String? regionCode, - }) { - final $result = create(); - if (ip != null) { - $result.ip = ip; - } - if (port != null) { - $result.port = port; - } - if (labels != null) { - $result.labels.addAll(labels); - } - if (principal != null) { - $result.principal = principal; - } - if (regionCode != null) { - $result.regionCode = regionCode; - } - return $result; - } - AttributeContext_Peer._() : super(); - factory AttributeContext_Peer.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AttributeContext_Peer.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttributeContext.Peer', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc.context'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'ip') - ..aInt64(2, _omitFieldNames ? '' : 'port') - ..m<$core.String, $core.String>(6, _omitFieldNames ? '' : 'labels', entryClassName: 'AttributeContext.Peer.LabelsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.rpc.context')) - ..aOS(7, _omitFieldNames ? '' : 'principal') - ..aOS(8, _omitFieldNames ? '' : 'regionCode') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AttributeContext_Peer clone() => AttributeContext_Peer()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AttributeContext_Peer copyWith(void Function(AttributeContext_Peer) updates) => super.copyWith((message) => updates(message as AttributeContext_Peer)) as AttributeContext_Peer; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AttributeContext_Peer create() => AttributeContext_Peer._(); - AttributeContext_Peer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AttributeContext_Peer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AttributeContext_Peer? _defaultInstance; - - /// The IP address of the peer. - @$pb.TagNumber(1) - $core.String get ip => $_getSZ(0); - @$pb.TagNumber(1) - set ip($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasIp() => $_has(0); - @$pb.TagNumber(1) - void clearIp() => clearField(1); - - /// The network port of the peer. - @$pb.TagNumber(2) - $fixnum.Int64 get port => $_getI64(1); - @$pb.TagNumber(2) - set port($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasPort() => $_has(1); - @$pb.TagNumber(2) - void clearPort() => clearField(2); - - /// The labels associated with the peer. - @$pb.TagNumber(6) - $core.Map<$core.String, $core.String> get labels => $_getMap(2); - - /// The identity of this peer. Similar to `Request.auth.principal`, but - /// relative to the peer instead of the request. For example, the - /// identity associated with a load balancer that forwarded the request. - @$pb.TagNumber(7) - $core.String get principal => $_getSZ(3); - @$pb.TagNumber(7) - set principal($core.String v) { $_setString(3, v); } - @$pb.TagNumber(7) - $core.bool hasPrincipal() => $_has(3); - @$pb.TagNumber(7) - void clearPrincipal() => clearField(7); - - /// The CLDR country/region code associated with the above IP address. - /// If the IP address is private, the `region_code` should reflect the - /// physical location where this peer is running. - @$pb.TagNumber(8) - $core.String get regionCode => $_getSZ(4); - @$pb.TagNumber(8) - set regionCode($core.String v) { $_setString(4, v); } - @$pb.TagNumber(8) - $core.bool hasRegionCode() => $_has(4); - @$pb.TagNumber(8) - void clearRegionCode() => clearField(8); -} - -/// This message defines attributes associated with API operations, such as -/// a network API request. The terminology is based on the conventions used -/// by Google APIs, Istio, and OpenAPI. -class AttributeContext_Api extends $pb.GeneratedMessage { - factory AttributeContext_Api({ - $core.String? service, - $core.String? operation, - $core.String? protocol, - $core.String? version, - }) { - final $result = create(); - if (service != null) { - $result.service = service; - } - if (operation != null) { - $result.operation = operation; - } - if (protocol != null) { - $result.protocol = protocol; - } - if (version != null) { - $result.version = version; - } - return $result; - } - AttributeContext_Api._() : super(); - factory AttributeContext_Api.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AttributeContext_Api.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttributeContext.Api', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc.context'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'service') - ..aOS(2, _omitFieldNames ? '' : 'operation') - ..aOS(3, _omitFieldNames ? '' : 'protocol') - ..aOS(4, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AttributeContext_Api clone() => AttributeContext_Api()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AttributeContext_Api copyWith(void Function(AttributeContext_Api) updates) => super.copyWith((message) => updates(message as AttributeContext_Api)) as AttributeContext_Api; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AttributeContext_Api create() => AttributeContext_Api._(); - AttributeContext_Api createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AttributeContext_Api getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AttributeContext_Api? _defaultInstance; - - /// The API service name. It is a logical identifier for a networked API, - /// such as "pubsub.googleapis.com". The naming syntax depends on the - /// API management system being used for handling the request. - @$pb.TagNumber(1) - $core.String get service => $_getSZ(0); - @$pb.TagNumber(1) - set service($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasService() => $_has(0); - @$pb.TagNumber(1) - void clearService() => clearField(1); - - /// The API operation name. For gRPC requests, it is the fully qualified API - /// method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI - /// requests, it is the `operationId`, such as "getPet". - @$pb.TagNumber(2) - $core.String get operation => $_getSZ(1); - @$pb.TagNumber(2) - set operation($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasOperation() => $_has(1); - @$pb.TagNumber(2) - void clearOperation() => clearField(2); - - /// The API protocol used for sending the request, such as "http", "https", - /// "grpc", or "internal". - @$pb.TagNumber(3) - $core.String get protocol => $_getSZ(2); - @$pb.TagNumber(3) - set protocol($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasProtocol() => $_has(2); - @$pb.TagNumber(3) - void clearProtocol() => clearField(3); - - /// The API version associated with the API operation above, such as "v1" or - /// "v1alpha1". - @$pb.TagNumber(4) - $core.String get version => $_getSZ(3); - @$pb.TagNumber(4) - set version($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasVersion() => $_has(3); - @$pb.TagNumber(4) - void clearVersion() => clearField(4); -} - -/// This message defines request authentication attributes. Terminology is -/// based on the JSON Web Token (JWT) standard, but the terms also -/// correlate to concepts in other standards. -class AttributeContext_Auth extends $pb.GeneratedMessage { - factory AttributeContext_Auth({ - $core.String? principal, - $core.Iterable<$core.String>? audiences, - $core.String? presenter, - $7.Struct? claims, - $core.Iterable<$core.String>? accessLevels, - }) { - final $result = create(); - if (principal != null) { - $result.principal = principal; - } - if (audiences != null) { - $result.audiences.addAll(audiences); - } - if (presenter != null) { - $result.presenter = presenter; - } - if (claims != null) { - $result.claims = claims; - } - if (accessLevels != null) { - $result.accessLevels.addAll(accessLevels); - } - return $result; - } - AttributeContext_Auth._() : super(); - factory AttributeContext_Auth.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AttributeContext_Auth.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttributeContext.Auth', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc.context'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'principal') - ..pPS(2, _omitFieldNames ? '' : 'audiences') - ..aOS(3, _omitFieldNames ? '' : 'presenter') - ..aOM<$7.Struct>(4, _omitFieldNames ? '' : 'claims', subBuilder: $7.Struct.create) - ..pPS(5, _omitFieldNames ? '' : 'accessLevels') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AttributeContext_Auth clone() => AttributeContext_Auth()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AttributeContext_Auth copyWith(void Function(AttributeContext_Auth) updates) => super.copyWith((message) => updates(message as AttributeContext_Auth)) as AttributeContext_Auth; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AttributeContext_Auth create() => AttributeContext_Auth._(); - AttributeContext_Auth createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AttributeContext_Auth getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AttributeContext_Auth? _defaultInstance; - - /// The authenticated principal. Reflects the issuer (`iss`) and subject - /// (`sub`) claims within a JWT. The issuer and subject should be `/` - /// delimited, with `/` percent-encoded within the subject fragment. For - /// Google accounts, the principal format is: - /// "https://accounts.google.com/{id}" - @$pb.TagNumber(1) - $core.String get principal => $_getSZ(0); - @$pb.TagNumber(1) - set principal($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPrincipal() => $_has(0); - @$pb.TagNumber(1) - void clearPrincipal() => clearField(1); - - /// The intended audience(s) for this authentication information. Reflects - /// the audience (`aud`) claim within a JWT. The audience - /// value(s) depends on the `issuer`, but typically include one or more of - /// the following pieces of information: - /// - /// * The services intended to receive the credential. For example, - /// ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. - /// * A set of service-based scopes. For example, - /// ["https://www.googleapis.com/auth/cloud-platform"]. - /// * The client id of an app, such as the Firebase project id for JWTs - /// from Firebase Auth. - /// - /// Consult the documentation for the credential issuer to determine the - /// information provided. - @$pb.TagNumber(2) - $core.List<$core.String> get audiences => $_getList(1); - - /// The authorized presenter of the credential. Reflects the optional - /// Authorized Presenter (`azp`) claim within a JWT or the - /// OAuth client id. For example, a Google Cloud Platform client id looks - /// as follows: "123456789012.apps.googleusercontent.com". - @$pb.TagNumber(3) - $core.String get presenter => $_getSZ(2); - @$pb.TagNumber(3) - set presenter($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasPresenter() => $_has(2); - @$pb.TagNumber(3) - void clearPresenter() => clearField(3); - - /// Structured claims presented with the credential. JWTs include - /// `{key: value}` pairs for standard and private claims. The following - /// is a subset of the standard required and optional claims that would - /// typically be presented for a Google-based JWT: - /// - /// {'iss': 'accounts.google.com', - /// 'sub': '113289723416554971153', - /// 'aud': ['123456789012', 'pubsub.googleapis.com'], - /// 'azp': '123456789012.apps.googleusercontent.com', - /// 'email': 'jsmith@example.com', - /// 'iat': 1353601026, - /// 'exp': 1353604926} - /// - /// SAML assertions are similarly specified, but with an identity provider - /// dependent structure. - @$pb.TagNumber(4) - $7.Struct get claims => $_getN(3); - @$pb.TagNumber(4) - set claims($7.Struct v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasClaims() => $_has(3); - @$pb.TagNumber(4) - void clearClaims() => clearField(4); - @$pb.TagNumber(4) - $7.Struct ensureClaims() => $_ensure(3); - - /// A list of access level resource names that allow resources to be - /// accessed by authenticated requester. It is part of Secure GCP processing - /// for the incoming request. An access level string has the format: - /// "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" - /// - /// Example: - /// "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" - @$pb.TagNumber(5) - $core.List<$core.String> get accessLevels => $_getList(4); -} - -/// This message defines attributes for an HTTP request. If the actual -/// request is not an HTTP request, the runtime system should try to map -/// the actual request to an equivalent HTTP request. -class AttributeContext_Request extends $pb.GeneratedMessage { - factory AttributeContext_Request({ - $core.String? id, - $core.String? method, - $core.Map<$core.String, $core.String>? headers, - $core.String? path, - $core.String? host, - $core.String? scheme, - $core.String? query, - $6.Timestamp? time, - $fixnum.Int64? size, - $core.String? protocol, - $core.String? reason, - AttributeContext_Auth? auth, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (method != null) { - $result.method = method; - } - if (headers != null) { - $result.headers.addAll(headers); - } - if (path != null) { - $result.path = path; - } - if (host != null) { - $result.host = host; - } - if (scheme != null) { - $result.scheme = scheme; - } - if (query != null) { - $result.query = query; - } - if (time != null) { - $result.time = time; - } - if (size != null) { - $result.size = size; - } - if (protocol != null) { - $result.protocol = protocol; - } - if (reason != null) { - $result.reason = reason; - } - if (auth != null) { - $result.auth = auth; - } - return $result; - } - AttributeContext_Request._() : super(); - factory AttributeContext_Request.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AttributeContext_Request.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttributeContext.Request', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc.context'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'method') - ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'headers', entryClassName: 'AttributeContext.Request.HeadersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.rpc.context')) - ..aOS(4, _omitFieldNames ? '' : 'path') - ..aOS(5, _omitFieldNames ? '' : 'host') - ..aOS(6, _omitFieldNames ? '' : 'scheme') - ..aOS(7, _omitFieldNames ? '' : 'query') - ..aOM<$6.Timestamp>(9, _omitFieldNames ? '' : 'time', subBuilder: $6.Timestamp.create) - ..aInt64(10, _omitFieldNames ? '' : 'size') - ..aOS(11, _omitFieldNames ? '' : 'protocol') - ..aOS(12, _omitFieldNames ? '' : 'reason') - ..aOM(13, _omitFieldNames ? '' : 'auth', subBuilder: AttributeContext_Auth.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AttributeContext_Request clone() => AttributeContext_Request()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AttributeContext_Request copyWith(void Function(AttributeContext_Request) updates) => super.copyWith((message) => updates(message as AttributeContext_Request)) as AttributeContext_Request; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AttributeContext_Request create() => AttributeContext_Request._(); - AttributeContext_Request createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AttributeContext_Request getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AttributeContext_Request? _defaultInstance; - - /// The unique ID for a request, which can be propagated to downstream - /// systems. The ID should have low probability of collision - /// within a single day for a specific service. - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// The HTTP request method, such as `GET`, `POST`. - @$pb.TagNumber(2) - $core.String get method => $_getSZ(1); - @$pb.TagNumber(2) - set method($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMethod() => $_has(1); - @$pb.TagNumber(2) - void clearMethod() => clearField(2); - - /// The HTTP request headers. If multiple headers share the same key, they - /// must be merged according to the HTTP spec. All header keys must be - /// lowercased, because HTTP header keys are case-insensitive. - @$pb.TagNumber(3) - $core.Map<$core.String, $core.String> get headers => $_getMap(2); - - /// The HTTP URL path, excluding the query parameters. - @$pb.TagNumber(4) - $core.String get path => $_getSZ(3); - @$pb.TagNumber(4) - set path($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasPath() => $_has(3); - @$pb.TagNumber(4) - void clearPath() => clearField(4); - - /// The HTTP request `Host` header value. - @$pb.TagNumber(5) - $core.String get host => $_getSZ(4); - @$pb.TagNumber(5) - set host($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasHost() => $_has(4); - @$pb.TagNumber(5) - void clearHost() => clearField(5); - - /// The HTTP URL scheme, such as `http` and `https`. - @$pb.TagNumber(6) - $core.String get scheme => $_getSZ(5); - @$pb.TagNumber(6) - set scheme($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasScheme() => $_has(5); - @$pb.TagNumber(6) - void clearScheme() => clearField(6); - - /// The HTTP URL query in the format of `name1=value1&name2=value2`, as it - /// appears in the first line of the HTTP request. No decoding is performed. - @$pb.TagNumber(7) - $core.String get query => $_getSZ(6); - @$pb.TagNumber(7) - set query($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasQuery() => $_has(6); - @$pb.TagNumber(7) - void clearQuery() => clearField(7); - - /// The timestamp when the `destination` service receives the last byte of - /// the request. - @$pb.TagNumber(9) - $6.Timestamp get time => $_getN(7); - @$pb.TagNumber(9) - set time($6.Timestamp v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasTime() => $_has(7); - @$pb.TagNumber(9) - void clearTime() => clearField(9); - @$pb.TagNumber(9) - $6.Timestamp ensureTime() => $_ensure(7); - - /// The HTTP request size in bytes. If unknown, it must be -1. - @$pb.TagNumber(10) - $fixnum.Int64 get size => $_getI64(8); - @$pb.TagNumber(10) - set size($fixnum.Int64 v) { $_setInt64(8, v); } - @$pb.TagNumber(10) - $core.bool hasSize() => $_has(8); - @$pb.TagNumber(10) - void clearSize() => clearField(10); - - /// The network protocol used with the request, such as "http/1.1", - /// "spdy/3", "h2", "h2c", "webrtc", "tcp", "udp", "quic". See - /// https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids - /// for details. - @$pb.TagNumber(11) - $core.String get protocol => $_getSZ(9); - @$pb.TagNumber(11) - set protocol($core.String v) { $_setString(9, v); } - @$pb.TagNumber(11) - $core.bool hasProtocol() => $_has(9); - @$pb.TagNumber(11) - void clearProtocol() => clearField(11); - - /// A special parameter for request reason. It is used by security systems - /// to associate auditing information with a request. - @$pb.TagNumber(12) - $core.String get reason => $_getSZ(10); - @$pb.TagNumber(12) - set reason($core.String v) { $_setString(10, v); } - @$pb.TagNumber(12) - $core.bool hasReason() => $_has(10); - @$pb.TagNumber(12) - void clearReason() => clearField(12); - - /// The request authentication. May be absent for unauthenticated requests. - /// Derived from the HTTP request `Authorization` header or equivalent. - @$pb.TagNumber(13) - AttributeContext_Auth get auth => $_getN(11); - @$pb.TagNumber(13) - set auth(AttributeContext_Auth v) { setField(13, v); } - @$pb.TagNumber(13) - $core.bool hasAuth() => $_has(11); - @$pb.TagNumber(13) - void clearAuth() => clearField(13); - @$pb.TagNumber(13) - AttributeContext_Auth ensureAuth() => $_ensure(11); -} - -/// This message defines attributes for a typical network response. It -/// generally models semantics of an HTTP response. -class AttributeContext_Response extends $pb.GeneratedMessage { - factory AttributeContext_Response({ - $fixnum.Int64? code, - $fixnum.Int64? size, - $core.Map<$core.String, $core.String>? headers, - $6.Timestamp? time, - $4.Duration? backendLatency, - }) { - final $result = create(); - if (code != null) { - $result.code = code; - } - if (size != null) { - $result.size = size; - } - if (headers != null) { - $result.headers.addAll(headers); - } - if (time != null) { - $result.time = time; - } - if (backendLatency != null) { - $result.backendLatency = backendLatency; - } - return $result; - } - AttributeContext_Response._() : super(); - factory AttributeContext_Response.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AttributeContext_Response.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttributeContext.Response', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc.context'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'code') - ..aInt64(2, _omitFieldNames ? '' : 'size') - ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'headers', entryClassName: 'AttributeContext.Response.HeadersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.rpc.context')) - ..aOM<$6.Timestamp>(4, _omitFieldNames ? '' : 'time', subBuilder: $6.Timestamp.create) - ..aOM<$4.Duration>(5, _omitFieldNames ? '' : 'backendLatency', subBuilder: $4.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AttributeContext_Response clone() => AttributeContext_Response()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AttributeContext_Response copyWith(void Function(AttributeContext_Response) updates) => super.copyWith((message) => updates(message as AttributeContext_Response)) as AttributeContext_Response; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AttributeContext_Response create() => AttributeContext_Response._(); - AttributeContext_Response createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AttributeContext_Response getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AttributeContext_Response? _defaultInstance; - - /// The HTTP response status code, such as `200` and `404`. - @$pb.TagNumber(1) - $fixnum.Int64 get code => $_getI64(0); - @$pb.TagNumber(1) - set code($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasCode() => $_has(0); - @$pb.TagNumber(1) - void clearCode() => clearField(1); - - /// The HTTP response size in bytes. If unknown, it must be -1. - @$pb.TagNumber(2) - $fixnum.Int64 get size => $_getI64(1); - @$pb.TagNumber(2) - set size($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasSize() => $_has(1); - @$pb.TagNumber(2) - void clearSize() => clearField(2); - - /// The HTTP response headers. If multiple headers share the same key, they - /// must be merged according to HTTP spec. All header keys must be - /// lowercased, because HTTP header keys are case-insensitive. - @$pb.TagNumber(3) - $core.Map<$core.String, $core.String> get headers => $_getMap(2); - - /// The timestamp when the `destination` service sends the last byte of - /// the response. - @$pb.TagNumber(4) - $6.Timestamp get time => $_getN(3); - @$pb.TagNumber(4) - set time($6.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasTime() => $_has(3); - @$pb.TagNumber(4) - void clearTime() => clearField(4); - @$pb.TagNumber(4) - $6.Timestamp ensureTime() => $_ensure(3); - - /// The amount of time it takes the backend service to fully respond to a - /// request. Measured from when the destination service starts to send the - /// request to the backend until when the destination service receives the - /// complete response from the backend. - @$pb.TagNumber(5) - $4.Duration get backendLatency => $_getN(4); - @$pb.TagNumber(5) - set backendLatency($4.Duration v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasBackendLatency() => $_has(4); - @$pb.TagNumber(5) - void clearBackendLatency() => clearField(5); - @$pb.TagNumber(5) - $4.Duration ensureBackendLatency() => $_ensure(4); -} - -/// This message defines core attributes for a resource. A resource is an -/// addressable (named) entity provided by the destination service. For -/// example, a file stored on a network storage service. -class AttributeContext_Resource extends $pb.GeneratedMessage { - factory AttributeContext_Resource({ - $core.String? service, - $core.String? name, - $core.String? type, - $core.Map<$core.String, $core.String>? labels, - $core.String? uid, - $core.Map<$core.String, $core.String>? annotations, - $core.String? displayName, - $6.Timestamp? createTime, - $6.Timestamp? updateTime, - $6.Timestamp? deleteTime, - $core.String? etag, - $core.String? location, - }) { - final $result = create(); - if (service != null) { - $result.service = service; - } - if (name != null) { - $result.name = name; - } - if (type != null) { - $result.type = type; - } - if (labels != null) { - $result.labels.addAll(labels); - } - if (uid != null) { - $result.uid = uid; - } - if (annotations != null) { - $result.annotations.addAll(annotations); - } - if (displayName != null) { - $result.displayName = displayName; - } - if (createTime != null) { - $result.createTime = createTime; - } - if (updateTime != null) { - $result.updateTime = updateTime; - } - if (deleteTime != null) { - $result.deleteTime = deleteTime; - } - if (etag != null) { - $result.etag = etag; - } - if (location != null) { - $result.location = location; - } - return $result; - } - AttributeContext_Resource._() : super(); - factory AttributeContext_Resource.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AttributeContext_Resource.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttributeContext.Resource', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc.context'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'service') - ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOS(3, _omitFieldNames ? '' : 'type') - ..m<$core.String, $core.String>(4, _omitFieldNames ? '' : 'labels', entryClassName: 'AttributeContext.Resource.LabelsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.rpc.context')) - ..aOS(5, _omitFieldNames ? '' : 'uid') - ..m<$core.String, $core.String>(6, _omitFieldNames ? '' : 'annotations', entryClassName: 'AttributeContext.Resource.AnnotationsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.rpc.context')) - ..aOS(7, _omitFieldNames ? '' : 'displayName') - ..aOM<$6.Timestamp>(8, _omitFieldNames ? '' : 'createTime', subBuilder: $6.Timestamp.create) - ..aOM<$6.Timestamp>(9, _omitFieldNames ? '' : 'updateTime', subBuilder: $6.Timestamp.create) - ..aOM<$6.Timestamp>(10, _omitFieldNames ? '' : 'deleteTime', subBuilder: $6.Timestamp.create) - ..aOS(11, _omitFieldNames ? '' : 'etag') - ..aOS(12, _omitFieldNames ? '' : 'location') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AttributeContext_Resource clone() => AttributeContext_Resource()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AttributeContext_Resource copyWith(void Function(AttributeContext_Resource) updates) => super.copyWith((message) => updates(message as AttributeContext_Resource)) as AttributeContext_Resource; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AttributeContext_Resource create() => AttributeContext_Resource._(); - AttributeContext_Resource createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AttributeContext_Resource getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AttributeContext_Resource? _defaultInstance; - - /// The name of the service that this resource belongs to, such as - /// `pubsub.googleapis.com`. The service may be different from the DNS - /// hostname that actually serves the request. - @$pb.TagNumber(1) - $core.String get service => $_getSZ(0); - @$pb.TagNumber(1) - set service($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasService() => $_has(0); - @$pb.TagNumber(1) - void clearService() => clearField(1); - - /// The stable identifier (name) of a resource on the `service`. A resource - /// can be logically identified as "//{resource.service}/{resource.name}". - /// The differences between a resource name and a URI are: - /// - /// * Resource name is a logical identifier, independent of network - /// protocol and API version. For example, - /// `//pubsub.googleapis.com/projects/123/topics/news-feed`. - /// * URI often includes protocol and version information, so it can - /// be used directly by applications. For example, - /// `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. - /// - /// See https://cloud.google.com/apis/design/resource_names for details. - @$pb.TagNumber(2) - $core.String get name => $_getSZ(1); - @$pb.TagNumber(2) - set name($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasName() => $_has(1); - @$pb.TagNumber(2) - void clearName() => clearField(2); - - /// The type of the resource. The syntax is platform-specific because - /// different platforms define their resources differently. - /// - /// For Google APIs, the type format must be "{service}/{kind}", such as - /// "pubsub.googleapis.com/Topic". - @$pb.TagNumber(3) - $core.String get type => $_getSZ(2); - @$pb.TagNumber(3) - set type($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasType() => $_has(2); - @$pb.TagNumber(3) - void clearType() => clearField(3); - - /// The labels or tags on the resource, such as AWS resource tags and - /// Kubernetes resource labels. - @$pb.TagNumber(4) - $core.Map<$core.String, $core.String> get labels => $_getMap(3); - - /// The unique identifier of the resource. UID is unique in the time - /// and space for this resource within the scope of the service. It is - /// typically generated by the server on successful creation of a resource - /// and must not be changed. UID is used to uniquely identify resources - /// with resource name reuses. This should be a UUID4. - @$pb.TagNumber(5) - $core.String get uid => $_getSZ(4); - @$pb.TagNumber(5) - set uid($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasUid() => $_has(4); - @$pb.TagNumber(5) - void clearUid() => clearField(5); - - /// Annotations is an unstructured key-value map stored with a resource that - /// may be set by external tools to store and retrieve arbitrary metadata. - /// They are not queryable and should be preserved when modifying objects. - /// - /// More info: - /// https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ - @$pb.TagNumber(6) - $core.Map<$core.String, $core.String> get annotations => $_getMap(5); - - /// Mutable. The display name set by clients. Must be <= 63 characters. - @$pb.TagNumber(7) - $core.String get displayName => $_getSZ(6); - @$pb.TagNumber(7) - set displayName($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasDisplayName() => $_has(6); - @$pb.TagNumber(7) - void clearDisplayName() => clearField(7); - - /// Output only. The timestamp when the resource was created. This may - /// be either the time creation was initiated or when it was completed. - @$pb.TagNumber(8) - $6.Timestamp get createTime => $_getN(7); - @$pb.TagNumber(8) - set createTime($6.Timestamp v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasCreateTime() => $_has(7); - @$pb.TagNumber(8) - void clearCreateTime() => clearField(8); - @$pb.TagNumber(8) - $6.Timestamp ensureCreateTime() => $_ensure(7); - - /// Output only. The timestamp when the resource was last updated. Any - /// change to the resource made by users must refresh this value. - /// Changes to a resource made by the service should refresh this value. - @$pb.TagNumber(9) - $6.Timestamp get updateTime => $_getN(8); - @$pb.TagNumber(9) - set updateTime($6.Timestamp v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasUpdateTime() => $_has(8); - @$pb.TagNumber(9) - void clearUpdateTime() => clearField(9); - @$pb.TagNumber(9) - $6.Timestamp ensureUpdateTime() => $_ensure(8); - - /// Output only. The timestamp when the resource was deleted. - /// If the resource is not deleted, this must be empty. - @$pb.TagNumber(10) - $6.Timestamp get deleteTime => $_getN(9); - @$pb.TagNumber(10) - set deleteTime($6.Timestamp v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasDeleteTime() => $_has(9); - @$pb.TagNumber(10) - void clearDeleteTime() => clearField(10); - @$pb.TagNumber(10) - $6.Timestamp ensureDeleteTime() => $_ensure(9); - - /// Output only. An opaque value that uniquely identifies a version or - /// generation of a resource. It can be used to confirm that the client - /// and server agree on the ordering of a resource being written. - @$pb.TagNumber(11) - $core.String get etag => $_getSZ(10); - @$pb.TagNumber(11) - set etag($core.String v) { $_setString(10, v); } - @$pb.TagNumber(11) - $core.bool hasEtag() => $_has(10); - @$pb.TagNumber(11) - void clearEtag() => clearField(11); - - /// Immutable. The location of the resource. The location encoding is - /// specific to the service provider, and new encoding may be introduced - /// as the service evolves. - /// - /// For Google Cloud products, the encoding is what is used by Google Cloud - /// APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The - /// semantics of `location` is identical to the - /// `cloud.googleapis.com/location` label used by some Google Cloud APIs. - @$pb.TagNumber(12) - $core.String get location => $_getSZ(11); - @$pb.TagNumber(12) - set location($core.String v) { $_setString(11, v); } - @$pb.TagNumber(12) - $core.bool hasLocation() => $_has(11); - @$pb.TagNumber(12) - void clearLocation() => clearField(12); -} - -/// This message defines the standard attribute vocabulary for Google APIs. -/// -/// An attribute is a piece of metadata that describes an activity on a network -/// service. For example, the size of an HTTP request, or the status code of -/// an HTTP response. -/// -/// Each attribute has a type and a name, which is logically defined as -/// a proto message field in `AttributeContext`. The field type becomes the -/// attribute type, and the field path becomes the attribute name. For example, -/// the attribute `source.ip` maps to field `AttributeContext.source.ip`. -/// -/// This message definition is guaranteed not to have any wire breaking change. -/// So you can use it directly for passing attributes across different systems. -/// -/// NOTE: Different system may generate different subset of attributes. Please -/// verify the system specification before relying on an attribute generated -/// a system. -class AttributeContext extends $pb.GeneratedMessage { - factory AttributeContext({ - AttributeContext_Peer? source, - AttributeContext_Peer? destination, - AttributeContext_Request? request, - AttributeContext_Response? response, - AttributeContext_Resource? resource, - AttributeContext_Api? api, - AttributeContext_Peer? origin, - $core.Iterable<$9.Any>? extensions, - }) { - final $result = create(); - if (source != null) { - $result.source = source; - } - if (destination != null) { - $result.destination = destination; - } - if (request != null) { - $result.request = request; - } - if (response != null) { - $result.response = response; - } - if (resource != null) { - $result.resource = resource; - } - if (api != null) { - $result.api = api; - } - if (origin != null) { - $result.origin = origin; - } - if (extensions != null) { - $result.extensions.addAll(extensions); - } - return $result; - } - AttributeContext._() : super(); - factory AttributeContext.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AttributeContext.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AttributeContext', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc.context'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'source', subBuilder: AttributeContext_Peer.create) - ..aOM(2, _omitFieldNames ? '' : 'destination', subBuilder: AttributeContext_Peer.create) - ..aOM(3, _omitFieldNames ? '' : 'request', subBuilder: AttributeContext_Request.create) - ..aOM(4, _omitFieldNames ? '' : 'response', subBuilder: AttributeContext_Response.create) - ..aOM(5, _omitFieldNames ? '' : 'resource', subBuilder: AttributeContext_Resource.create) - ..aOM(6, _omitFieldNames ? '' : 'api', subBuilder: AttributeContext_Api.create) - ..aOM(7, _omitFieldNames ? '' : 'origin', subBuilder: AttributeContext_Peer.create) - ..pc<$9.Any>(8, _omitFieldNames ? '' : 'extensions', $pb.PbFieldType.PM, subBuilder: $9.Any.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AttributeContext clone() => AttributeContext()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AttributeContext copyWith(void Function(AttributeContext) updates) => super.copyWith((message) => updates(message as AttributeContext)) as AttributeContext; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AttributeContext create() => AttributeContext._(); - AttributeContext createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AttributeContext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AttributeContext? _defaultInstance; - - /// The source of a network activity, such as starting a TCP connection. - /// In a multi hop network activity, the source represents the sender of the - /// last hop. - @$pb.TagNumber(1) - AttributeContext_Peer get source => $_getN(0); - @$pb.TagNumber(1) - set source(AttributeContext_Peer v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSource() => $_has(0); - @$pb.TagNumber(1) - void clearSource() => clearField(1); - @$pb.TagNumber(1) - AttributeContext_Peer ensureSource() => $_ensure(0); - - /// The destination of a network activity, such as accepting a TCP connection. - /// In a multi hop network activity, the destination represents the receiver of - /// the last hop. - @$pb.TagNumber(2) - AttributeContext_Peer get destination => $_getN(1); - @$pb.TagNumber(2) - set destination(AttributeContext_Peer v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasDestination() => $_has(1); - @$pb.TagNumber(2) - void clearDestination() => clearField(2); - @$pb.TagNumber(2) - AttributeContext_Peer ensureDestination() => $_ensure(1); - - /// Represents a network request, such as an HTTP request. - @$pb.TagNumber(3) - AttributeContext_Request get request => $_getN(2); - @$pb.TagNumber(3) - set request(AttributeContext_Request v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasRequest() => $_has(2); - @$pb.TagNumber(3) - void clearRequest() => clearField(3); - @$pb.TagNumber(3) - AttributeContext_Request ensureRequest() => $_ensure(2); - - /// Represents a network response, such as an HTTP response. - @$pb.TagNumber(4) - AttributeContext_Response get response => $_getN(3); - @$pb.TagNumber(4) - set response(AttributeContext_Response v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasResponse() => $_has(3); - @$pb.TagNumber(4) - void clearResponse() => clearField(4); - @$pb.TagNumber(4) - AttributeContext_Response ensureResponse() => $_ensure(3); - - /// Represents a target resource that is involved with a network activity. - /// If multiple resources are involved with an activity, this must be the - /// primary one. - @$pb.TagNumber(5) - AttributeContext_Resource get resource => $_getN(4); - @$pb.TagNumber(5) - set resource(AttributeContext_Resource v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasResource() => $_has(4); - @$pb.TagNumber(5) - void clearResource() => clearField(5); - @$pb.TagNumber(5) - AttributeContext_Resource ensureResource() => $_ensure(4); - - /// Represents an API operation that is involved to a network activity. - @$pb.TagNumber(6) - AttributeContext_Api get api => $_getN(5); - @$pb.TagNumber(6) - set api(AttributeContext_Api v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasApi() => $_has(5); - @$pb.TagNumber(6) - void clearApi() => clearField(6); - @$pb.TagNumber(6) - AttributeContext_Api ensureApi() => $_ensure(5); - - /// The origin of a network activity. In a multi hop network activity, - /// the origin represents the sender of the first hop. For the first hop, - /// the `source` and the `origin` must have the same content. - @$pb.TagNumber(7) - AttributeContext_Peer get origin => $_getN(6); - @$pb.TagNumber(7) - set origin(AttributeContext_Peer v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasOrigin() => $_has(6); - @$pb.TagNumber(7) - void clearOrigin() => clearField(7); - @$pb.TagNumber(7) - AttributeContext_Peer ensureOrigin() => $_ensure(6); - - /// Supports extensions for advanced use cases, such as logs and metrics. - @$pb.TagNumber(8) - $core.List<$9.Any> get extensions => $_getList(7); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/rpc/context/attribute_context.pbenum.dart b/lib/src/gen/google/rpc/context/attribute_context.pbenum.dart deleted file mode 100644 index 2b82ef14375..00000000000 --- a/lib/src/gen/google/rpc/context/attribute_context.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/context/attribute_context.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/rpc/context/attribute_context.pbjson.dart b/lib/src/gen/google/rpc/context/attribute_context.pbjson.dart deleted file mode 100644 index 93e82c338f4..00000000000 --- a/lib/src/gen/google/rpc/context/attribute_context.pbjson.dart +++ /dev/null @@ -1,220 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/context/attribute_context.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext$json = { - '1': 'AttributeContext', - '2': [ - {'1': 'origin', '3': 7, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Peer', '10': 'origin'}, - {'1': 'source', '3': 1, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Peer', '10': 'source'}, - {'1': 'destination', '3': 2, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Peer', '10': 'destination'}, - {'1': 'request', '3': 3, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Request', '10': 'request'}, - {'1': 'response', '3': 4, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Response', '10': 'response'}, - {'1': 'resource', '3': 5, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Resource', '10': 'resource'}, - {'1': 'api', '3': 6, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Api', '10': 'api'}, - {'1': 'extensions', '3': 8, '4': 3, '5': 11, '6': '.google.protobuf.Any', '10': 'extensions'}, - ], - '3': [AttributeContext_Peer$json, AttributeContext_Api$json, AttributeContext_Auth$json, AttributeContext_Request$json, AttributeContext_Response$json, AttributeContext_Resource$json], -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Peer$json = { - '1': 'Peer', - '2': [ - {'1': 'ip', '3': 1, '4': 1, '5': 9, '10': 'ip'}, - {'1': 'port', '3': 2, '4': 1, '5': 3, '10': 'port'}, - {'1': 'labels', '3': 6, '4': 3, '5': 11, '6': '.google.rpc.context.AttributeContext.Peer.LabelsEntry', '10': 'labels'}, - {'1': 'principal', '3': 7, '4': 1, '5': 9, '10': 'principal'}, - {'1': 'region_code', '3': 8, '4': 1, '5': 9, '10': 'regionCode'}, - ], - '3': [AttributeContext_Peer_LabelsEntry$json], -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Peer_LabelsEntry$json = { - '1': 'LabelsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Api$json = { - '1': 'Api', - '2': [ - {'1': 'service', '3': 1, '4': 1, '5': 9, '10': 'service'}, - {'1': 'operation', '3': 2, '4': 1, '5': 9, '10': 'operation'}, - {'1': 'protocol', '3': 3, '4': 1, '5': 9, '10': 'protocol'}, - {'1': 'version', '3': 4, '4': 1, '5': 9, '10': 'version'}, - ], -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Auth$json = { - '1': 'Auth', - '2': [ - {'1': 'principal', '3': 1, '4': 1, '5': 9, '10': 'principal'}, - {'1': 'audiences', '3': 2, '4': 3, '5': 9, '10': 'audiences'}, - {'1': 'presenter', '3': 3, '4': 1, '5': 9, '10': 'presenter'}, - {'1': 'claims', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'claims'}, - {'1': 'access_levels', '3': 5, '4': 3, '5': 9, '10': 'accessLevels'}, - ], -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Request$json = { - '1': 'Request', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'method', '3': 2, '4': 1, '5': 9, '10': 'method'}, - {'1': 'headers', '3': 3, '4': 3, '5': 11, '6': '.google.rpc.context.AttributeContext.Request.HeadersEntry', '10': 'headers'}, - {'1': 'path', '3': 4, '4': 1, '5': 9, '10': 'path'}, - {'1': 'host', '3': 5, '4': 1, '5': 9, '10': 'host'}, - {'1': 'scheme', '3': 6, '4': 1, '5': 9, '10': 'scheme'}, - {'1': 'query', '3': 7, '4': 1, '5': 9, '10': 'query'}, - {'1': 'time', '3': 9, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'time'}, - {'1': 'size', '3': 10, '4': 1, '5': 3, '10': 'size'}, - {'1': 'protocol', '3': 11, '4': 1, '5': 9, '10': 'protocol'}, - {'1': 'reason', '3': 12, '4': 1, '5': 9, '10': 'reason'}, - {'1': 'auth', '3': 13, '4': 1, '5': 11, '6': '.google.rpc.context.AttributeContext.Auth', '10': 'auth'}, - ], - '3': [AttributeContext_Request_HeadersEntry$json], -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Request_HeadersEntry$json = { - '1': 'HeadersEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Response$json = { - '1': 'Response', - '2': [ - {'1': 'code', '3': 1, '4': 1, '5': 3, '10': 'code'}, - {'1': 'size', '3': 2, '4': 1, '5': 3, '10': 'size'}, - {'1': 'headers', '3': 3, '4': 3, '5': 11, '6': '.google.rpc.context.AttributeContext.Response.HeadersEntry', '10': 'headers'}, - {'1': 'time', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'time'}, - {'1': 'backend_latency', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'backendLatency'}, - ], - '3': [AttributeContext_Response_HeadersEntry$json], -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Response_HeadersEntry$json = { - '1': 'HeadersEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Resource$json = { - '1': 'Resource', - '2': [ - {'1': 'service', '3': 1, '4': 1, '5': 9, '10': 'service'}, - {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 3, '4': 1, '5': 9, '10': 'type'}, - {'1': 'labels', '3': 4, '4': 3, '5': 11, '6': '.google.rpc.context.AttributeContext.Resource.LabelsEntry', '10': 'labels'}, - {'1': 'uid', '3': 5, '4': 1, '5': 9, '10': 'uid'}, - {'1': 'annotations', '3': 6, '4': 3, '5': 11, '6': '.google.rpc.context.AttributeContext.Resource.AnnotationsEntry', '10': 'annotations'}, - {'1': 'display_name', '3': 7, '4': 1, '5': 9, '10': 'displayName'}, - {'1': 'create_time', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createTime'}, - {'1': 'update_time', '3': 9, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'updateTime'}, - {'1': 'delete_time', '3': 10, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'deleteTime'}, - {'1': 'etag', '3': 11, '4': 1, '5': 9, '10': 'etag'}, - {'1': 'location', '3': 12, '4': 1, '5': 9, '10': 'location'}, - ], - '3': [AttributeContext_Resource_LabelsEntry$json, AttributeContext_Resource_AnnotationsEntry$json], -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Resource_LabelsEntry$json = { - '1': 'LabelsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -@$core.Deprecated('Use attributeContextDescriptor instead') -const AttributeContext_Resource_AnnotationsEntry$json = { - '1': 'AnnotationsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `AttributeContext`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List attributeContextDescriptor = $convert.base64Decode( - 'ChBBdHRyaWJ1dGVDb250ZXh0EkEKBm9yaWdpbhgHIAEoCzIpLmdvb2dsZS5ycGMuY29udGV4dC' - '5BdHRyaWJ1dGVDb250ZXh0LlBlZXJSBm9yaWdpbhJBCgZzb3VyY2UYASABKAsyKS5nb29nbGUu' - 'cnBjLmNvbnRleHQuQXR0cmlidXRlQ29udGV4dC5QZWVyUgZzb3VyY2USSwoLZGVzdGluYXRpb2' - '4YAiABKAsyKS5nb29nbGUucnBjLmNvbnRleHQuQXR0cmlidXRlQ29udGV4dC5QZWVyUgtkZXN0' - 'aW5hdGlvbhJGCgdyZXF1ZXN0GAMgASgLMiwuZ29vZ2xlLnJwYy5jb250ZXh0LkF0dHJpYnV0ZU' - 'NvbnRleHQuUmVxdWVzdFIHcmVxdWVzdBJJCghyZXNwb25zZRgEIAEoCzItLmdvb2dsZS5ycGMu' - 'Y29udGV4dC5BdHRyaWJ1dGVDb250ZXh0LlJlc3BvbnNlUghyZXNwb25zZRJJCghyZXNvdXJjZR' - 'gFIAEoCzItLmdvb2dsZS5ycGMuY29udGV4dC5BdHRyaWJ1dGVDb250ZXh0LlJlc291cmNlUghy' - 'ZXNvdXJjZRI6CgNhcGkYBiABKAsyKC5nb29nbGUucnBjLmNvbnRleHQuQXR0cmlidXRlQ29udG' - 'V4dC5BcGlSA2FwaRI0CgpleHRlbnNpb25zGAggAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFueVIK' - 'ZXh0ZW5zaW9ucxrzAQoEUGVlchIOCgJpcBgBIAEoCVICaXASEgoEcG9ydBgCIAEoA1IEcG9ydB' - 'JNCgZsYWJlbHMYBiADKAsyNS5nb29nbGUucnBjLmNvbnRleHQuQXR0cmlidXRlQ29udGV4dC5Q' - 'ZWVyLkxhYmVsc0VudHJ5UgZsYWJlbHMSHAoJcHJpbmNpcGFsGAcgASgJUglwcmluY2lwYWwSHw' - 'oLcmVnaW9uX2NvZGUYCCABKAlSCnJlZ2lvbkNvZGUaOQoLTGFiZWxzRW50cnkSEAoDa2V5GAEg' - 'ASgJUgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4ARpzCgNBcGkSGAoHc2VydmljZRgBIA' - 'EoCVIHc2VydmljZRIcCglvcGVyYXRpb24YAiABKAlSCW9wZXJhdGlvbhIaCghwcm90b2NvbBgD' - 'IAEoCVIIcHJvdG9jb2wSGAoHdmVyc2lvbhgEIAEoCVIHdmVyc2lvbhq2AQoEQXV0aBIcCglwcm' - 'luY2lwYWwYASABKAlSCXByaW5jaXBhbBIcCglhdWRpZW5jZXMYAiADKAlSCWF1ZGllbmNlcxIc' - 'CglwcmVzZW50ZXIYAyABKAlSCXByZXNlbnRlchIvCgZjbGFpbXMYBCABKAsyFy5nb29nbGUucH' - 'JvdG9idWYuU3RydWN0UgZjbGFpbXMSIwoNYWNjZXNzX2xldmVscxgFIAMoCVIMYWNjZXNzTGV2' - 'ZWxzGs8DCgdSZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZBIWCgZtZXRob2QYAiABKAlSBm1ldGhvZB' - 'JTCgdoZWFkZXJzGAMgAygLMjkuZ29vZ2xlLnJwYy5jb250ZXh0LkF0dHJpYnV0ZUNvbnRleHQu' - 'UmVxdWVzdC5IZWFkZXJzRW50cnlSB2hlYWRlcnMSEgoEcGF0aBgEIAEoCVIEcGF0aBISCgRob3' - 'N0GAUgASgJUgRob3N0EhYKBnNjaGVtZRgGIAEoCVIGc2NoZW1lEhQKBXF1ZXJ5GAcgASgJUgVx' - 'dWVyeRIuCgR0aW1lGAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIEdGltZRISCg' - 'RzaXplGAogASgDUgRzaXplEhoKCHByb3RvY29sGAsgASgJUghwcm90b2NvbBIWCgZyZWFzb24Y' - 'DCABKAlSBnJlYXNvbhI9CgRhdXRoGA0gASgLMikuZ29vZ2xlLnJwYy5jb250ZXh0LkF0dHJpYn' - 'V0ZUNvbnRleHQuQXV0aFIEYXV0aBo6CgxIZWFkZXJzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkS' - 'FAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4ARq4AgoIUmVzcG9uc2USEgoEY29kZRgBIAEoA1IEY2' - '9kZRISCgRzaXplGAIgASgDUgRzaXplElQKB2hlYWRlcnMYAyADKAsyOi5nb29nbGUucnBjLmNv' - 'bnRleHQuQXR0cmlidXRlQ29udGV4dC5SZXNwb25zZS5IZWFkZXJzRW50cnlSB2hlYWRlcnMSLg' - 'oEdGltZRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSBHRpbWUSQgoPYmFja2Vu' - 'ZF9sYXRlbmN5GAUgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uUg5iYWNrZW5kTGF0ZW' - '5jeRo6CgxIZWFkZXJzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSFAoFdmFsdWUYAiABKAlSBXZh' - 'bHVlOgI4ARqYBQoIUmVzb3VyY2USGAoHc2VydmljZRgBIAEoCVIHc2VydmljZRISCgRuYW1lGA' - 'IgASgJUgRuYW1lEhIKBHR5cGUYAyABKAlSBHR5cGUSUQoGbGFiZWxzGAQgAygLMjkuZ29vZ2xl' - 'LnJwYy5jb250ZXh0LkF0dHJpYnV0ZUNvbnRleHQuUmVzb3VyY2UuTGFiZWxzRW50cnlSBmxhYm' - 'VscxIQCgN1aWQYBSABKAlSA3VpZBJgCgthbm5vdGF0aW9ucxgGIAMoCzI+Lmdvb2dsZS5ycGMu' - 'Y29udGV4dC5BdHRyaWJ1dGVDb250ZXh0LlJlc291cmNlLkFubm90YXRpb25zRW50cnlSC2Fubm' - '90YXRpb25zEiEKDGRpc3BsYXlfbmFtZRgHIAEoCVILZGlzcGxheU5hbWUSOwoLY3JlYXRlX3Rp' - 'bWUYCCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgpjcmVhdGVUaW1lEjsKC3VwZG' - 'F0ZV90aW1lGAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIKdXBkYXRlVGltZRI7' - 'CgtkZWxldGVfdGltZRgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCmRlbGV0ZV' - 'RpbWUSEgoEZXRhZxgLIAEoCVIEZXRhZxIaCghsb2NhdGlvbhgMIAEoCVIIbG9jYXRpb24aOQoL' - 'TGFiZWxzRW50cnkSEAoDa2V5GAEgASgJUgNrZXkSFAoFdmFsdWUYAiABKAlSBXZhbHVlOgI4AR' - 'o+ChBBbm5vdGF0aW9uc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2' - 'YWx1ZToCOAE='); - diff --git a/lib/src/gen/google/rpc/error_details.pb.dart b/lib/src/gen/google/rpc/error_details.pb.dart deleted file mode 100644 index a918e98406a..00000000000 --- a/lib/src/gen/google/rpc/error_details.pb.dart +++ /dev/null @@ -1,1085 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/error_details.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/duration.pb.dart' as $4; - -/// Describes the cause of the error with structured details. -/// -/// Example of an error when contacting the "pubsub.googleapis.com" API when it -/// is not enabled: -/// -/// { "reason": "API_DISABLED" -/// "domain": "googleapis.com" -/// "metadata": { -/// "resource": "projects/123", -/// "service": "pubsub.googleapis.com" -/// } -/// } -/// -/// This response indicates that the pubsub.googleapis.com API is not enabled. -/// -/// Example of an error that is returned when attempting to create a Spanner -/// instance in a region that is out of stock: -/// -/// { "reason": "STOCKOUT" -/// "domain": "spanner.googleapis.com", -/// "metadata": { -/// "availableRegions": "us-central1,us-east2" -/// } -/// } -class ErrorInfo extends $pb.GeneratedMessage { - factory ErrorInfo({ - $core.String? reason, - $core.String? domain, - $core.Map<$core.String, $core.String>? metadata, - }) { - final $result = create(); - if (reason != null) { - $result.reason = reason; - } - if (domain != null) { - $result.domain = domain; - } - if (metadata != null) { - $result.metadata.addAll(metadata); - } - return $result; - } - ErrorInfo._() : super(); - factory ErrorInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ErrorInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ErrorInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'reason') - ..aOS(2, _omitFieldNames ? '' : 'domain') - ..m<$core.String, $core.String>(3, _omitFieldNames ? '' : 'metadata', entryClassName: 'ErrorInfo.MetadataEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('google.rpc')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ErrorInfo clone() => ErrorInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ErrorInfo copyWith(void Function(ErrorInfo) updates) => super.copyWith((message) => updates(message as ErrorInfo)) as ErrorInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ErrorInfo create() => ErrorInfo._(); - ErrorInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ErrorInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ErrorInfo? _defaultInstance; - - /// The reason of the error. This is a constant value that identifies the - /// proximate cause of the error. Error reasons are unique within a particular - /// domain of errors. This should be at most 63 characters and match a - /// regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents - /// UPPER_SNAKE_CASE. - @$pb.TagNumber(1) - $core.String get reason => $_getSZ(0); - @$pb.TagNumber(1) - set reason($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasReason() => $_has(0); - @$pb.TagNumber(1) - void clearReason() => clearField(1); - - /// The logical grouping to which the "reason" belongs. The error domain - /// is typically the registered service name of the tool or product that - /// generates the error. Example: "pubsub.googleapis.com". If the error is - /// generated by some common infrastructure, the error domain must be a - /// globally unique value that identifies the infrastructure. For Google API - /// infrastructure, the error domain is "googleapis.com". - @$pb.TagNumber(2) - $core.String get domain => $_getSZ(1); - @$pb.TagNumber(2) - set domain($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDomain() => $_has(1); - @$pb.TagNumber(2) - void clearDomain() => clearField(2); - - /// Additional structured details about this error. - /// - /// Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should - /// ideally be lowerCamelCase. Also, they must be limited to 64 characters in - /// length. When identifying the current value of an exceeded limit, the units - /// should be contained in the key, not the value. For example, rather than - /// `{"instanceLimit": "100/request"}`, should be returned as, - /// `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of - /// instances that can be created in a single (batch) request. - @$pb.TagNumber(3) - $core.Map<$core.String, $core.String> get metadata => $_getMap(2); -} - -/// Describes when the clients can retry a failed request. Clients could ignore -/// the recommendation here or retry when this information is missing from error -/// responses. -/// -/// It's always recommended that clients should use exponential backoff when -/// retrying. -/// -/// Clients should wait until `retry_delay` amount of time has passed since -/// receiving the error response before retrying. If retrying requests also -/// fail, clients should use an exponential backoff scheme to gradually increase -/// the delay between retries based on `retry_delay`, until either a maximum -/// number of retries have been reached or a maximum retry delay cap has been -/// reached. -class RetryInfo extends $pb.GeneratedMessage { - factory RetryInfo({ - $4.Duration? retryDelay, - }) { - final $result = create(); - if (retryDelay != null) { - $result.retryDelay = retryDelay; - } - return $result; - } - RetryInfo._() : super(); - factory RetryInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RetryInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RetryInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOM<$4.Duration>(1, _omitFieldNames ? '' : 'retryDelay', subBuilder: $4.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RetryInfo clone() => RetryInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RetryInfo copyWith(void Function(RetryInfo) updates) => super.copyWith((message) => updates(message as RetryInfo)) as RetryInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RetryInfo create() => RetryInfo._(); - RetryInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RetryInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RetryInfo? _defaultInstance; - - /// Clients should wait at least this long between retrying the same request. - @$pb.TagNumber(1) - $4.Duration get retryDelay => $_getN(0); - @$pb.TagNumber(1) - set retryDelay($4.Duration v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasRetryDelay() => $_has(0); - @$pb.TagNumber(1) - void clearRetryDelay() => clearField(1); - @$pb.TagNumber(1) - $4.Duration ensureRetryDelay() => $_ensure(0); -} - -/// Describes additional debugging info. -class DebugInfo extends $pb.GeneratedMessage { - factory DebugInfo({ - $core.Iterable<$core.String>? stackEntries, - $core.String? detail, - }) { - final $result = create(); - if (stackEntries != null) { - $result.stackEntries.addAll(stackEntries); - } - if (detail != null) { - $result.detail = detail; - } - return $result; - } - DebugInfo._() : super(); - factory DebugInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DebugInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DebugInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'stackEntries') - ..aOS(2, _omitFieldNames ? '' : 'detail') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DebugInfo clone() => DebugInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DebugInfo copyWith(void Function(DebugInfo) updates) => super.copyWith((message) => updates(message as DebugInfo)) as DebugInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DebugInfo create() => DebugInfo._(); - DebugInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DebugInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DebugInfo? _defaultInstance; - - /// The stack trace entries indicating where the error occurred. - @$pb.TagNumber(1) - $core.List<$core.String> get stackEntries => $_getList(0); - - /// Additional debugging information provided by the server. - @$pb.TagNumber(2) - $core.String get detail => $_getSZ(1); - @$pb.TagNumber(2) - set detail($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDetail() => $_has(1); - @$pb.TagNumber(2) - void clearDetail() => clearField(2); -} - -/// A message type used to describe a single quota violation. For example, a -/// daily quota or a custom quota that was exceeded. -class QuotaFailure_Violation extends $pb.GeneratedMessage { - factory QuotaFailure_Violation({ - $core.String? subject, - $core.String? description, - }) { - final $result = create(); - if (subject != null) { - $result.subject = subject; - } - if (description != null) { - $result.description = description; - } - return $result; - } - QuotaFailure_Violation._() : super(); - factory QuotaFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory QuotaFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'subject') - ..aOS(2, _omitFieldNames ? '' : 'description') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - QuotaFailure_Violation clone() => QuotaFailure_Violation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - QuotaFailure_Violation copyWith(void Function(QuotaFailure_Violation) updates) => super.copyWith((message) => updates(message as QuotaFailure_Violation)) as QuotaFailure_Violation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static QuotaFailure_Violation create() => QuotaFailure_Violation._(); - QuotaFailure_Violation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static QuotaFailure_Violation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static QuotaFailure_Violation? _defaultInstance; - - /// The subject on which the quota check failed. - /// For example, "clientip:" or "project:". - @$pb.TagNumber(1) - $core.String get subject => $_getSZ(0); - @$pb.TagNumber(1) - set subject($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSubject() => $_has(0); - @$pb.TagNumber(1) - void clearSubject() => clearField(1); - - /// A description of how the quota check failed. Clients can use this - /// description to find more about the quota configuration in the service's - /// public documentation, or find the relevant quota limit to adjust through - /// developer console. - /// - /// For example: "Service disabled" or "Daily Limit for read operations - /// exceeded". - @$pb.TagNumber(2) - $core.String get description => $_getSZ(1); - @$pb.TagNumber(2) - set description($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDescription() => $_has(1); - @$pb.TagNumber(2) - void clearDescription() => clearField(2); -} - -/// Describes how a quota check failed. -/// -/// For example if a daily limit was exceeded for the calling project, -/// a service could respond with a QuotaFailure detail containing the project -/// id and the description of the quota limit that was exceeded. If the -/// calling project hasn't enabled the service in the developer console, then -/// a service could respond with the project id and set `service_disabled` -/// to true. -/// -/// Also see RetryInfo and Help types for other details about handling a -/// quota failure. -class QuotaFailure extends $pb.GeneratedMessage { - factory QuotaFailure({ - $core.Iterable? violations, - }) { - final $result = create(); - if (violations != null) { - $result.violations.addAll(violations); - } - return $result; - } - QuotaFailure._() : super(); - factory QuotaFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory QuotaFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuotaFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: QuotaFailure_Violation.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - QuotaFailure clone() => QuotaFailure()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - QuotaFailure copyWith(void Function(QuotaFailure) updates) => super.copyWith((message) => updates(message as QuotaFailure)) as QuotaFailure; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static QuotaFailure create() => QuotaFailure._(); - QuotaFailure createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static QuotaFailure getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static QuotaFailure? _defaultInstance; - - /// Describes all quota violations. - @$pb.TagNumber(1) - $core.List get violations => $_getList(0); -} - -/// A message type used to describe a single precondition failure. -class PreconditionFailure_Violation extends $pb.GeneratedMessage { - factory PreconditionFailure_Violation({ - $core.String? type, - $core.String? subject, - $core.String? description, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (subject != null) { - $result.subject = subject; - } - if (description != null) { - $result.description = description; - } - return $result; - } - PreconditionFailure_Violation._() : super(); - factory PreconditionFailure_Violation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PreconditionFailure_Violation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure.Violation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..aOS(2, _omitFieldNames ? '' : 'subject') - ..aOS(3, _omitFieldNames ? '' : 'description') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PreconditionFailure_Violation clone() => PreconditionFailure_Violation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PreconditionFailure_Violation copyWith(void Function(PreconditionFailure_Violation) updates) => super.copyWith((message) => updates(message as PreconditionFailure_Violation)) as PreconditionFailure_Violation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PreconditionFailure_Violation create() => PreconditionFailure_Violation._(); - PreconditionFailure_Violation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PreconditionFailure_Violation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PreconditionFailure_Violation? _defaultInstance; - - /// The type of PreconditionFailure. We recommend using a service-specific - /// enum type to define the supported precondition violation subjects. For - /// example, "TOS" for "Terms of Service violation". - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// The subject, relative to the type, that failed. - /// For example, "google.com/cloud" relative to the "TOS" type would indicate - /// which terms of service is being referenced. - @$pb.TagNumber(2) - $core.String get subject => $_getSZ(1); - @$pb.TagNumber(2) - set subject($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSubject() => $_has(1); - @$pb.TagNumber(2) - void clearSubject() => clearField(2); - - /// A description of how the precondition failed. Developers can use this - /// description to understand how to fix the failure. - /// - /// For example: "Terms of service not accepted". - @$pb.TagNumber(3) - $core.String get description => $_getSZ(2); - @$pb.TagNumber(3) - set description($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDescription() => $_has(2); - @$pb.TagNumber(3) - void clearDescription() => clearField(3); -} - -/// Describes what preconditions have failed. -/// -/// For example, if an RPC failed because it required the Terms of Service to be -/// acknowledged, it could list the terms of service violation in the -/// PreconditionFailure message. -class PreconditionFailure extends $pb.GeneratedMessage { - factory PreconditionFailure({ - $core.Iterable? violations, - }) { - final $result = create(); - if (violations != null) { - $result.violations.addAll(violations); - } - return $result; - } - PreconditionFailure._() : super(); - factory PreconditionFailure.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PreconditionFailure.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PreconditionFailure', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'violations', $pb.PbFieldType.PM, subBuilder: PreconditionFailure_Violation.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PreconditionFailure clone() => PreconditionFailure()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PreconditionFailure copyWith(void Function(PreconditionFailure) updates) => super.copyWith((message) => updates(message as PreconditionFailure)) as PreconditionFailure; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PreconditionFailure create() => PreconditionFailure._(); - PreconditionFailure createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PreconditionFailure getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PreconditionFailure? _defaultInstance; - - /// Describes all precondition violations. - @$pb.TagNumber(1) - $core.List get violations => $_getList(0); -} - -/// A message type used to describe a single bad request field. -class BadRequest_FieldViolation extends $pb.GeneratedMessage { - factory BadRequest_FieldViolation({ - $core.String? field_1, - $core.String? description, - $core.String? reason, - LocalizedMessage? localizedMessage, - }) { - final $result = create(); - if (field_1 != null) { - $result.field_1 = field_1; - } - if (description != null) { - $result.description = description; - } - if (reason != null) { - $result.reason = reason; - } - if (localizedMessage != null) { - $result.localizedMessage = localizedMessage; - } - return $result; - } - BadRequest_FieldViolation._() : super(); - factory BadRequest_FieldViolation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BadRequest_FieldViolation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest.FieldViolation', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'field') - ..aOS(2, _omitFieldNames ? '' : 'description') - ..aOS(3, _omitFieldNames ? '' : 'reason') - ..aOM(4, _omitFieldNames ? '' : 'localizedMessage', subBuilder: LocalizedMessage.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BadRequest_FieldViolation clone() => BadRequest_FieldViolation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BadRequest_FieldViolation copyWith(void Function(BadRequest_FieldViolation) updates) => super.copyWith((message) => updates(message as BadRequest_FieldViolation)) as BadRequest_FieldViolation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BadRequest_FieldViolation create() => BadRequest_FieldViolation._(); - BadRequest_FieldViolation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BadRequest_FieldViolation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BadRequest_FieldViolation? _defaultInstance; - - /// A path that leads to a field in the request body. The value will be a - /// sequence of dot-separated identifiers that identify a protocol buffer - /// field. - /// - /// Consider the following: - /// - /// message CreateContactRequest { - /// message EmailAddress { - /// enum Type { - /// TYPE_UNSPECIFIED = 0; - /// HOME = 1; - /// WORK = 2; - /// } - /// - /// optional string email = 1; - /// repeated EmailType type = 2; - /// } - /// - /// string full_name = 1; - /// repeated EmailAddress email_addresses = 2; - /// } - /// - /// In this example, in proto `field` could take one of the following values: - /// - /// * `full_name` for a violation in the `full_name` value - /// * `email_addresses[1].email` for a violation in the `email` field of the - /// first `email_addresses` message - /// * `email_addresses[3].type[2]` for a violation in the second `type` - /// value in the third `email_addresses` message. - /// - /// In JSON, the same values are represented as: - /// - /// * `fullName` for a violation in the `fullName` value - /// * `emailAddresses[1].email` for a violation in the `email` field of the - /// first `emailAddresses` message - /// * `emailAddresses[3].type[2]` for a violation in the second `type` - /// value in the third `emailAddresses` message. - @$pb.TagNumber(1) - $core.String get field_1 => $_getSZ(0); - @$pb.TagNumber(1) - set field_1($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasField_1() => $_has(0); - @$pb.TagNumber(1) - void clearField_1() => clearField(1); - - /// A description of why the request element is bad. - @$pb.TagNumber(2) - $core.String get description => $_getSZ(1); - @$pb.TagNumber(2) - set description($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDescription() => $_has(1); - @$pb.TagNumber(2) - void clearDescription() => clearField(2); - - /// The reason of the field-level error. This is a constant value that - /// identifies the proximate cause of the field-level error. It should - /// uniquely identify the type of the FieldViolation within the scope of the - /// google.rpc.ErrorInfo.domain. This should be at most 63 - /// characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, - /// which represents UPPER_SNAKE_CASE. - @$pb.TagNumber(3) - $core.String get reason => $_getSZ(2); - @$pb.TagNumber(3) - set reason($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasReason() => $_has(2); - @$pb.TagNumber(3) - void clearReason() => clearField(3); - - /// Provides a localized error message for field-level errors that is safe to - /// return to the API consumer. - @$pb.TagNumber(4) - LocalizedMessage get localizedMessage => $_getN(3); - @$pb.TagNumber(4) - set localizedMessage(LocalizedMessage v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasLocalizedMessage() => $_has(3); - @$pb.TagNumber(4) - void clearLocalizedMessage() => clearField(4); - @$pb.TagNumber(4) - LocalizedMessage ensureLocalizedMessage() => $_ensure(3); -} - -/// Describes violations in a client request. This error type focuses on the -/// syntactic aspects of the request. -class BadRequest extends $pb.GeneratedMessage { - factory BadRequest({ - $core.Iterable? fieldViolations, - }) { - final $result = create(); - if (fieldViolations != null) { - $result.fieldViolations.addAll(fieldViolations); - } - return $result; - } - BadRequest._() : super(); - factory BadRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BadRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BadRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'fieldViolations', $pb.PbFieldType.PM, subBuilder: BadRequest_FieldViolation.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BadRequest clone() => BadRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BadRequest copyWith(void Function(BadRequest) updates) => super.copyWith((message) => updates(message as BadRequest)) as BadRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BadRequest create() => BadRequest._(); - BadRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BadRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BadRequest? _defaultInstance; - - /// Describes all violations in a client request. - @$pb.TagNumber(1) - $core.List get fieldViolations => $_getList(0); -} - -/// Contains metadata about the request that clients can attach when filing a bug -/// or providing other forms of feedback. -class RequestInfo extends $pb.GeneratedMessage { - factory RequestInfo({ - $core.String? requestId, - $core.String? servingData, - }) { - final $result = create(); - if (requestId != null) { - $result.requestId = requestId; - } - if (servingData != null) { - $result.servingData = servingData; - } - return $result; - } - RequestInfo._() : super(); - factory RequestInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RequestInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'requestId') - ..aOS(2, _omitFieldNames ? '' : 'servingData') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestInfo clone() => RequestInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestInfo copyWith(void Function(RequestInfo) updates) => super.copyWith((message) => updates(message as RequestInfo)) as RequestInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RequestInfo create() => RequestInfo._(); - RequestInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RequestInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RequestInfo? _defaultInstance; - - /// An opaque string that should only be interpreted by the service generating - /// it. For example, it can be used to identify requests in the service's logs. - @$pb.TagNumber(1) - $core.String get requestId => $_getSZ(0); - @$pb.TagNumber(1) - set requestId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRequestId() => $_has(0); - @$pb.TagNumber(1) - void clearRequestId() => clearField(1); - - /// Any data that was used to serve this request. For example, an encrypted - /// stack trace that can be sent back to the service provider for debugging. - @$pb.TagNumber(2) - $core.String get servingData => $_getSZ(1); - @$pb.TagNumber(2) - set servingData($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasServingData() => $_has(1); - @$pb.TagNumber(2) - void clearServingData() => clearField(2); -} - -/// Describes the resource that is being accessed. -class ResourceInfo extends $pb.GeneratedMessage { - factory ResourceInfo({ - $core.String? resourceType, - $core.String? resourceName, - $core.String? owner, - $core.String? description, - }) { - final $result = create(); - if (resourceType != null) { - $result.resourceType = resourceType; - } - if (resourceName != null) { - $result.resourceName = resourceName; - } - if (owner != null) { - $result.owner = owner; - } - if (description != null) { - $result.description = description; - } - return $result; - } - ResourceInfo._() : super(); - factory ResourceInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'resourceType') - ..aOS(2, _omitFieldNames ? '' : 'resourceName') - ..aOS(3, _omitFieldNames ? '' : 'owner') - ..aOS(4, _omitFieldNames ? '' : 'description') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceInfo clone() => ResourceInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceInfo copyWith(void Function(ResourceInfo) updates) => super.copyWith((message) => updates(message as ResourceInfo)) as ResourceInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceInfo create() => ResourceInfo._(); - ResourceInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceInfo? _defaultInstance; - - /// A name for the type of resource being accessed, e.g. "sql table", - /// "cloud storage bucket", "file", "Google calendar"; or the type URL - /// of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". - @$pb.TagNumber(1) - $core.String get resourceType => $_getSZ(0); - @$pb.TagNumber(1) - set resourceType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasResourceType() => $_has(0); - @$pb.TagNumber(1) - void clearResourceType() => clearField(1); - - /// The name of the resource being accessed. For example, a shared calendar - /// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current - /// error is - /// [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. - @$pb.TagNumber(2) - $core.String get resourceName => $_getSZ(1); - @$pb.TagNumber(2) - set resourceName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasResourceName() => $_has(1); - @$pb.TagNumber(2) - void clearResourceName() => clearField(2); - - /// The owner of the resource (optional). - /// For example, "user:" or "project:". - @$pb.TagNumber(3) - $core.String get owner => $_getSZ(2); - @$pb.TagNumber(3) - set owner($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasOwner() => $_has(2); - @$pb.TagNumber(3) - void clearOwner() => clearField(3); - - /// Describes what error is encountered when accessing this resource. - /// For example, updating a cloud project may require the `writer` permission - /// on the developer console project. - @$pb.TagNumber(4) - $core.String get description => $_getSZ(3); - @$pb.TagNumber(4) - set description($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasDescription() => $_has(3); - @$pb.TagNumber(4) - void clearDescription() => clearField(4); -} - -/// Describes a URL link. -class Help_Link extends $pb.GeneratedMessage { - factory Help_Link({ - $core.String? description, - $core.String? url, - }) { - final $result = create(); - if (description != null) { - $result.description = description; - } - if (url != null) { - $result.url = url; - } - return $result; - } - Help_Link._() : super(); - factory Help_Link.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Help_Link.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help.Link', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'description') - ..aOS(2, _omitFieldNames ? '' : 'url') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Help_Link clone() => Help_Link()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Help_Link copyWith(void Function(Help_Link) updates) => super.copyWith((message) => updates(message as Help_Link)) as Help_Link; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Help_Link create() => Help_Link._(); - Help_Link createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Help_Link getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Help_Link? _defaultInstance; - - /// Describes what the link offers. - @$pb.TagNumber(1) - $core.String get description => $_getSZ(0); - @$pb.TagNumber(1) - set description($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasDescription() => $_has(0); - @$pb.TagNumber(1) - void clearDescription() => clearField(1); - - /// The URL of the link. - @$pb.TagNumber(2) - $core.String get url => $_getSZ(1); - @$pb.TagNumber(2) - set url($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasUrl() => $_has(1); - @$pb.TagNumber(2) - void clearUrl() => clearField(2); -} - -/// Provides links to documentation or for performing an out of band action. -/// -/// For example, if a quota check failed with an error indicating the calling -/// project hasn't enabled the accessed service, this can contain a URL pointing -/// directly to the right place in the developer console to flip the bit. -class Help extends $pb.GeneratedMessage { - factory Help({ - $core.Iterable? links, - }) { - final $result = create(); - if (links != null) { - $result.links.addAll(links); - } - return $result; - } - Help._() : super(); - factory Help.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Help.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Help', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'links', $pb.PbFieldType.PM, subBuilder: Help_Link.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Help clone() => Help()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Help copyWith(void Function(Help) updates) => super.copyWith((message) => updates(message as Help)) as Help; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Help create() => Help._(); - Help createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Help getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Help? _defaultInstance; - - /// URL(s) pointing to additional information on handling the current error. - @$pb.TagNumber(1) - $core.List get links => $_getList(0); -} - -/// Provides a localized error message that is safe to return to the user -/// which can be attached to an RPC error. -class LocalizedMessage extends $pb.GeneratedMessage { - factory LocalizedMessage({ - $core.String? locale, - $core.String? message, - }) { - final $result = create(); - if (locale != null) { - $result.locale = locale; - } - if (message != null) { - $result.message = message; - } - return $result; - } - LocalizedMessage._() : super(); - factory LocalizedMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LocalizedMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocalizedMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'locale') - ..aOS(2, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LocalizedMessage clone() => LocalizedMessage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LocalizedMessage copyWith(void Function(LocalizedMessage) updates) => super.copyWith((message) => updates(message as LocalizedMessage)) as LocalizedMessage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LocalizedMessage create() => LocalizedMessage._(); - LocalizedMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LocalizedMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LocalizedMessage? _defaultInstance; - - /// The locale used following the specification defined at - /// https://www.rfc-editor.org/rfc/bcp/bcp47.txt. - /// Examples are: "en-US", "fr-CH", "es-MX" - @$pb.TagNumber(1) - $core.String get locale => $_getSZ(0); - @$pb.TagNumber(1) - set locale($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasLocale() => $_has(0); - @$pb.TagNumber(1) - void clearLocale() => clearField(1); - - /// The localized error message in the above locale. - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/rpc/error_details.pbenum.dart b/lib/src/gen/google/rpc/error_details.pbenum.dart deleted file mode 100644 index 5756f8a233b..00000000000 --- a/lib/src/gen/google/rpc/error_details.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/error_details.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/rpc/error_details.pbjson.dart b/lib/src/gen/google/rpc/error_details.pbjson.dart deleted file mode 100644 index 92c675cea76..00000000000 --- a/lib/src/gen/google/rpc/error_details.pbjson.dart +++ /dev/null @@ -1,216 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/error_details.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use errorInfoDescriptor instead') -const ErrorInfo$json = { - '1': 'ErrorInfo', - '2': [ - {'1': 'reason', '3': 1, '4': 1, '5': 9, '10': 'reason'}, - {'1': 'domain', '3': 2, '4': 1, '5': 9, '10': 'domain'}, - {'1': 'metadata', '3': 3, '4': 3, '5': 11, '6': '.google.rpc.ErrorInfo.MetadataEntry', '10': 'metadata'}, - ], - '3': [ErrorInfo_MetadataEntry$json], -}; - -@$core.Deprecated('Use errorInfoDescriptor instead') -const ErrorInfo_MetadataEntry$json = { - '1': 'MetadataEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `ErrorInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List errorInfoDescriptor = $convert.base64Decode( - 'CglFcnJvckluZm8SFgoGcmVhc29uGAEgASgJUgZyZWFzb24SFgoGZG9tYWluGAIgASgJUgZkb2' - '1haW4SPwoIbWV0YWRhdGEYAyADKAsyIy5nb29nbGUucnBjLkVycm9ySW5mby5NZXRhZGF0YUVu' - 'dHJ5UghtZXRhZGF0YRo7Cg1NZXRhZGF0YUVudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbH' - 'VlGAIgASgJUgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use retryInfoDescriptor instead') -const RetryInfo$json = { - '1': 'RetryInfo', - '2': [ - {'1': 'retry_delay', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'retryDelay'}, - ], -}; - -/// Descriptor for `RetryInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List retryInfoDescriptor = $convert.base64Decode( - 'CglSZXRyeUluZm8SOgoLcmV0cnlfZGVsYXkYASABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYX' - 'Rpb25SCnJldHJ5RGVsYXk='); - -@$core.Deprecated('Use debugInfoDescriptor instead') -const DebugInfo$json = { - '1': 'DebugInfo', - '2': [ - {'1': 'stack_entries', '3': 1, '4': 3, '5': 9, '10': 'stackEntries'}, - {'1': 'detail', '3': 2, '4': 1, '5': 9, '10': 'detail'}, - ], -}; - -/// Descriptor for `DebugInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List debugInfoDescriptor = $convert.base64Decode( - 'CglEZWJ1Z0luZm8SIwoNc3RhY2tfZW50cmllcxgBIAMoCVIMc3RhY2tFbnRyaWVzEhYKBmRldG' - 'FpbBgCIAEoCVIGZGV0YWls'); - -@$core.Deprecated('Use quotaFailureDescriptor instead') -const QuotaFailure$json = { - '1': 'QuotaFailure', - '2': [ - {'1': 'violations', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.QuotaFailure.Violation', '10': 'violations'}, - ], - '3': [QuotaFailure_Violation$json], -}; - -@$core.Deprecated('Use quotaFailureDescriptor instead') -const QuotaFailure_Violation$json = { - '1': 'Violation', - '2': [ - {'1': 'subject', '3': 1, '4': 1, '5': 9, '10': 'subject'}, - {'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'}, - ], -}; - -/// Descriptor for `QuotaFailure`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List quotaFailureDescriptor = $convert.base64Decode( - 'CgxRdW90YUZhaWx1cmUSQgoKdmlvbGF0aW9ucxgBIAMoCzIiLmdvb2dsZS5ycGMuUXVvdGFGYW' - 'lsdXJlLlZpb2xhdGlvblIKdmlvbGF0aW9ucxpHCglWaW9sYXRpb24SGAoHc3ViamVjdBgBIAEo' - 'CVIHc3ViamVjdBIgCgtkZXNjcmlwdGlvbhgCIAEoCVILZGVzY3JpcHRpb24='); - -@$core.Deprecated('Use preconditionFailureDescriptor instead') -const PreconditionFailure$json = { - '1': 'PreconditionFailure', - '2': [ - {'1': 'violations', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.PreconditionFailure.Violation', '10': 'violations'}, - ], - '3': [PreconditionFailure_Violation$json], -}; - -@$core.Deprecated('Use preconditionFailureDescriptor instead') -const PreconditionFailure_Violation$json = { - '1': 'Violation', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'subject', '3': 2, '4': 1, '5': 9, '10': 'subject'}, - {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - ], -}; - -/// Descriptor for `PreconditionFailure`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List preconditionFailureDescriptor = $convert.base64Decode( - 'ChNQcmVjb25kaXRpb25GYWlsdXJlEkkKCnZpb2xhdGlvbnMYASADKAsyKS5nb29nbGUucnBjLl' - 'ByZWNvbmRpdGlvbkZhaWx1cmUuVmlvbGF0aW9uUgp2aW9sYXRpb25zGlsKCVZpb2xhdGlvbhIS' - 'CgR0eXBlGAEgASgJUgR0eXBlEhgKB3N1YmplY3QYAiABKAlSB3N1YmplY3QSIAoLZGVzY3JpcH' - 'Rpb24YAyABKAlSC2Rlc2NyaXB0aW9u'); - -@$core.Deprecated('Use badRequestDescriptor instead') -const BadRequest$json = { - '1': 'BadRequest', - '2': [ - {'1': 'field_violations', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.BadRequest.FieldViolation', '10': 'fieldViolations'}, - ], - '3': [BadRequest_FieldViolation$json], -}; - -@$core.Deprecated('Use badRequestDescriptor instead') -const BadRequest_FieldViolation$json = { - '1': 'FieldViolation', - '2': [ - {'1': 'field', '3': 1, '4': 1, '5': 9, '10': 'field'}, - {'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'}, - {'1': 'reason', '3': 3, '4': 1, '5': 9, '10': 'reason'}, - {'1': 'localized_message', '3': 4, '4': 1, '5': 11, '6': '.google.rpc.LocalizedMessage', '10': 'localizedMessage'}, - ], -}; - -/// Descriptor for `BadRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List badRequestDescriptor = $convert.base64Decode( - 'CgpCYWRSZXF1ZXN0ElAKEGZpZWxkX3Zpb2xhdGlvbnMYASADKAsyJS5nb29nbGUucnBjLkJhZF' - 'JlcXVlc3QuRmllbGRWaW9sYXRpb25SD2ZpZWxkVmlvbGF0aW9ucxqrAQoORmllbGRWaW9sYXRp' - 'b24SFAoFZmllbGQYASABKAlSBWZpZWxkEiAKC2Rlc2NyaXB0aW9uGAIgASgJUgtkZXNjcmlwdG' - 'lvbhIWCgZyZWFzb24YAyABKAlSBnJlYXNvbhJJChFsb2NhbGl6ZWRfbWVzc2FnZRgEIAEoCzIc' - 'Lmdvb2dsZS5ycGMuTG9jYWxpemVkTWVzc2FnZVIQbG9jYWxpemVkTWVzc2FnZQ=='); - -@$core.Deprecated('Use requestInfoDescriptor instead') -const RequestInfo$json = { - '1': 'RequestInfo', - '2': [ - {'1': 'request_id', '3': 1, '4': 1, '5': 9, '10': 'requestId'}, - {'1': 'serving_data', '3': 2, '4': 1, '5': 9, '10': 'servingData'}, - ], -}; - -/// Descriptor for `RequestInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestInfoDescriptor = $convert.base64Decode( - 'CgtSZXF1ZXN0SW5mbxIdCgpyZXF1ZXN0X2lkGAEgASgJUglyZXF1ZXN0SWQSIQoMc2VydmluZ1' - '9kYXRhGAIgASgJUgtzZXJ2aW5nRGF0YQ=='); - -@$core.Deprecated('Use resourceInfoDescriptor instead') -const ResourceInfo$json = { - '1': 'ResourceInfo', - '2': [ - {'1': 'resource_type', '3': 1, '4': 1, '5': 9, '10': 'resourceType'}, - {'1': 'resource_name', '3': 2, '4': 1, '5': 9, '10': 'resourceName'}, - {'1': 'owner', '3': 3, '4': 1, '5': 9, '10': 'owner'}, - {'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'}, - ], -}; - -/// Descriptor for `ResourceInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceInfoDescriptor = $convert.base64Decode( - 'CgxSZXNvdXJjZUluZm8SIwoNcmVzb3VyY2VfdHlwZRgBIAEoCVIMcmVzb3VyY2VUeXBlEiMKDX' - 'Jlc291cmNlX25hbWUYAiABKAlSDHJlc291cmNlTmFtZRIUCgVvd25lchgDIAEoCVIFb3duZXIS' - 'IAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9u'); - -@$core.Deprecated('Use helpDescriptor instead') -const Help$json = { - '1': 'Help', - '2': [ - {'1': 'links', '3': 1, '4': 3, '5': 11, '6': '.google.rpc.Help.Link', '10': 'links'}, - ], - '3': [Help_Link$json], -}; - -@$core.Deprecated('Use helpDescriptor instead') -const Help_Link$json = { - '1': 'Link', - '2': [ - {'1': 'description', '3': 1, '4': 1, '5': 9, '10': 'description'}, - {'1': 'url', '3': 2, '4': 1, '5': 9, '10': 'url'}, - ], -}; - -/// Descriptor for `Help`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List helpDescriptor = $convert.base64Decode( - 'CgRIZWxwEisKBWxpbmtzGAEgAygLMhUuZ29vZ2xlLnJwYy5IZWxwLkxpbmtSBWxpbmtzGjoKBE' - 'xpbmsSIAoLZGVzY3JpcHRpb24YASABKAlSC2Rlc2NyaXB0aW9uEhAKA3VybBgCIAEoCVIDdXJs'); - -@$core.Deprecated('Use localizedMessageDescriptor instead') -const LocalizedMessage$json = { - '1': 'LocalizedMessage', - '2': [ - {'1': 'locale', '3': 1, '4': 1, '5': 9, '10': 'locale'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `LocalizedMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List localizedMessageDescriptor = $convert.base64Decode( - 'ChBMb2NhbGl6ZWRNZXNzYWdlEhYKBmxvY2FsZRgBIAEoCVIGbG9jYWxlEhgKB21lc3NhZ2UYAi' - 'ABKAlSB21lc3NhZ2U='); - diff --git a/lib/src/gen/google/rpc/status.pb.dart b/lib/src/gen/google/rpc/status.pb.dart deleted file mode 100644 index d905be90a95..00000000000 --- a/lib/src/gen/google/rpc/status.pb.dart +++ /dev/null @@ -1,107 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/status.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/any.pb.dart' as $9; - -/// The `Status` type defines a logical error model that is suitable for -/// different programming environments, including REST APIs and RPC APIs. It is -/// used by [gRPC](https://github.com/grpc). Each `Status` message contains -/// three pieces of data: error code, error message, and error details. -/// -/// You can find out more about this error model and how to work with it in the -/// [API Design Guide](https://cloud.google.com/apis/design/errors). -class Status extends $pb.GeneratedMessage { - factory Status({ - $core.int? code, - $core.String? message, - $core.Iterable<$9.Any>? details, - }) { - final $result = create(); - if (code != null) { - $result.code = code; - } - if (message != null) { - $result.message = message; - } - if (details != null) { - $result.details.addAll(details); - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.rpc'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'message') - ..pc<$9.Any>(3, _omitFieldNames ? '' : 'details', $pb.PbFieldType.PM, subBuilder: $9.Any.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - /// The status code, which should be an enum value of - /// [google.rpc.Code][google.rpc.Code]. - @$pb.TagNumber(1) - $core.int get code => $_getIZ(0); - @$pb.TagNumber(1) - set code($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasCode() => $_has(0); - @$pb.TagNumber(1) - void clearCode() => clearField(1); - - /// A developer-facing error message, which should be in English. Any - /// user-facing error message should be localized and sent in the - /// [google.rpc.Status.details][google.rpc.Status.details] field, or localized - /// by the client. - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); - - /// A list of messages that carry the error details. There is a common set of - /// message types for APIs to use. - @$pb.TagNumber(3) - $core.List<$9.Any> get details => $_getList(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/rpc/status.pbenum.dart b/lib/src/gen/google/rpc/status.pbenum.dart deleted file mode 100644 index 3777628dc6b..00000000000 --- a/lib/src/gen/google/rpc/status.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/status.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/rpc/status.pbjson.dart b/lib/src/gen/google/rpc/status.pbjson.dart deleted file mode 100644 index ccf6edfd6a7..00000000000 --- a/lib/src/gen/google/rpc/status.pbjson.dart +++ /dev/null @@ -1,30 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/rpc/status.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - {'1': 'details', '3': 3, '4': 3, '5': 11, '6': '.google.protobuf.Any', '10': 'details'}, - ], -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSEgoEY29kZRgBIAEoBVIEY29kZRIYCgdtZXNzYWdlGAIgASgJUgdtZXNzYWdlEi' - '4KB2RldGFpbHMYAyADKAsyFC5nb29nbGUucHJvdG9idWYuQW55UgdkZXRhaWxz'); - diff --git a/lib/src/gen/google/type/calendar_period.pb.dart b/lib/src/gen/google/type/calendar_period.pb.dart deleted file mode 100644 index 4818d6910e9..00000000000 --- a/lib/src/gen/google/type/calendar_period.pb.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/calendar_period.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -export 'calendar_period.pbenum.dart'; - diff --git a/lib/src/gen/google/type/calendar_period.pbenum.dart b/lib/src/gen/google/type/calendar_period.pbenum.dart deleted file mode 100644 index 227e14a5d06..00000000000 --- a/lib/src/gen/google/type/calendar_period.pbenum.dart +++ /dev/null @@ -1,47 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/calendar_period.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// A `CalendarPeriod` represents the abstract concept of a time period that has -/// a canonical start. Grammatically, "the start of the current -/// `CalendarPeriod`." All calendar times begin at midnight UTC. -class CalendarPeriod extends $pb.ProtobufEnum { - static const CalendarPeriod CALENDAR_PERIOD_UNSPECIFIED = CalendarPeriod._(0, _omitEnumNames ? '' : 'CALENDAR_PERIOD_UNSPECIFIED'); - static const CalendarPeriod DAY = CalendarPeriod._(1, _omitEnumNames ? '' : 'DAY'); - static const CalendarPeriod WEEK = CalendarPeriod._(2, _omitEnumNames ? '' : 'WEEK'); - static const CalendarPeriod FORTNIGHT = CalendarPeriod._(3, _omitEnumNames ? '' : 'FORTNIGHT'); - static const CalendarPeriod MONTH = CalendarPeriod._(4, _omitEnumNames ? '' : 'MONTH'); - static const CalendarPeriod QUARTER = CalendarPeriod._(5, _omitEnumNames ? '' : 'QUARTER'); - static const CalendarPeriod HALF = CalendarPeriod._(6, _omitEnumNames ? '' : 'HALF'); - static const CalendarPeriod YEAR = CalendarPeriod._(7, _omitEnumNames ? '' : 'YEAR'); - - static const $core.List values = [ - CALENDAR_PERIOD_UNSPECIFIED, - DAY, - WEEK, - FORTNIGHT, - MONTH, - QUARTER, - HALF, - YEAR, - ]; - - static final $core.Map<$core.int, CalendarPeriod> _byValue = $pb.ProtobufEnum.initByValue(values); - static CalendarPeriod? valueOf($core.int value) => _byValue[value]; - - const CalendarPeriod._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/type/calendar_period.pbjson.dart b/lib/src/gen/google/type/calendar_period.pbjson.dart deleted file mode 100644 index 52ac68e6499..00000000000 --- a/lib/src/gen/google/type/calendar_period.pbjson.dart +++ /dev/null @@ -1,36 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/calendar_period.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use calendarPeriodDescriptor instead') -const CalendarPeriod$json = { - '1': 'CalendarPeriod', - '2': [ - {'1': 'CALENDAR_PERIOD_UNSPECIFIED', '2': 0}, - {'1': 'DAY', '2': 1}, - {'1': 'WEEK', '2': 2}, - {'1': 'FORTNIGHT', '2': 3}, - {'1': 'MONTH', '2': 4}, - {'1': 'QUARTER', '2': 5}, - {'1': 'HALF', '2': 6}, - {'1': 'YEAR', '2': 7}, - ], -}; - -/// Descriptor for `CalendarPeriod`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List calendarPeriodDescriptor = $convert.base64Decode( - 'Cg5DYWxlbmRhclBlcmlvZBIfChtDQUxFTkRBUl9QRVJJT0RfVU5TUEVDSUZJRUQQABIHCgNEQV' - 'kQARIICgRXRUVLEAISDQoJRk9SVE5JR0hUEAMSCQoFTU9OVEgQBBILCgdRVUFSVEVSEAUSCAoE' - 'SEFMRhAGEggKBFlFQVIQBw=='); - diff --git a/lib/src/gen/google/type/color.pb.dart b/lib/src/gen/google/type/color.pb.dart deleted file mode 100644 index ba785e2e1a8..00000000000 --- a/lib/src/gen/google/type/color.pb.dart +++ /dev/null @@ -1,252 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/color.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/wrappers.pb.dart' as $16; - -/// Represents a color in the RGBA color space. This representation is designed -/// for simplicity of conversion to/from color representations in various -/// languages over compactness. For example, the fields of this representation -/// can be trivially provided to the constructor of `java.awt.Color` in Java; it -/// can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` -/// method in iOS; and, with just a little work, it can be easily formatted into -/// a CSS `rgba()` string in JavaScript. -/// -/// This reference page doesn't carry information about the absolute color -/// space -/// that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, -/// DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color -/// space. -/// -/// When color equality needs to be decided, implementations, unless -/// documented otherwise, treat two colors as equal if all their red, -/// green, blue, and alpha values each differ by at most 1e-5. -/// -/// Example (Java): -/// -/// import com.google.type.Color; -/// -/// // ... -/// public static java.awt.Color fromProto(Color protocolor) { -/// float alpha = protocolor.hasAlpha() -/// ? protocolor.getAlpha().getValue() -/// : 1.0; -/// -/// return new java.awt.Color( -/// protocolor.getRed(), -/// protocolor.getGreen(), -/// protocolor.getBlue(), -/// alpha); -/// } -/// -/// public static Color toProto(java.awt.Color color) { -/// float red = (float) color.getRed(); -/// float green = (float) color.getGreen(); -/// float blue = (float) color.getBlue(); -/// float denominator = 255.0; -/// Color.Builder resultBuilder = -/// Color -/// .newBuilder() -/// .setRed(red / denominator) -/// .setGreen(green / denominator) -/// .setBlue(blue / denominator); -/// int alpha = color.getAlpha(); -/// if (alpha != 255) { -/// result.setAlpha( -/// FloatValue -/// .newBuilder() -/// .setValue(((float) alpha) / denominator) -/// .build()); -/// } -/// return resultBuilder.build(); -/// } -/// // ... -/// -/// Example (iOS / Obj-C): -/// -/// // ... -/// static UIColor* fromProto(Color* protocolor) { -/// float red = [protocolor red]; -/// float green = [protocolor green]; -/// float blue = [protocolor blue]; -/// FloatValue* alpha_wrapper = [protocolor alpha]; -/// float alpha = 1.0; -/// if (alpha_wrapper != nil) { -/// alpha = [alpha_wrapper value]; -/// } -/// return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; -/// } -/// -/// static Color* toProto(UIColor* color) { -/// CGFloat red, green, blue, alpha; -/// if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { -/// return nil; -/// } -/// Color* result = [[Color alloc] init]; -/// [result setRed:red]; -/// [result setGreen:green]; -/// [result setBlue:blue]; -/// if (alpha <= 0.9999) { -/// [result setAlpha:floatWrapperWithValue(alpha)]; -/// } -/// [result autorelease]; -/// return result; -/// } -/// // ... -/// -/// Example (JavaScript): -/// -/// // ... -/// -/// var protoToCssColor = function(rgb_color) { -/// var redFrac = rgb_color.red || 0.0; -/// var greenFrac = rgb_color.green || 0.0; -/// var blueFrac = rgb_color.blue || 0.0; -/// var red = Math.floor(redFrac * 255); -/// var green = Math.floor(greenFrac * 255); -/// var blue = Math.floor(blueFrac * 255); -/// -/// if (!('alpha' in rgb_color)) { -/// return rgbToCssColor(red, green, blue); -/// } -/// -/// var alphaFrac = rgb_color.alpha.value || 0.0; -/// var rgbParams = [red, green, blue].join(','); -/// return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); -/// }; -/// -/// var rgbToCssColor = function(red, green, blue) { -/// var rgbNumber = new Number((red << 16) | (green << 8) | blue); -/// var hexString = rgbNumber.toString(16); -/// var missingZeros = 6 - hexString.length; -/// var resultBuilder = ['#']; -/// for (var i = 0; i < missingZeros; i++) { -/// resultBuilder.push('0'); -/// } -/// resultBuilder.push(hexString); -/// return resultBuilder.join(''); -/// }; -/// -/// // ... -class Color extends $pb.GeneratedMessage { - factory Color({ - $core.double? red, - $core.double? green, - $core.double? blue, - $16.FloatValue? alpha, - }) { - final $result = create(); - if (red != null) { - $result.red = red; - } - if (green != null) { - $result.green = green; - } - if (blue != null) { - $result.blue = blue; - } - if (alpha != null) { - $result.alpha = alpha; - } - return $result; - } - Color._() : super(); - factory Color.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Color.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Color', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'red', $pb.PbFieldType.OF) - ..a<$core.double>(2, _omitFieldNames ? '' : 'green', $pb.PbFieldType.OF) - ..a<$core.double>(3, _omitFieldNames ? '' : 'blue', $pb.PbFieldType.OF) - ..aOM<$16.FloatValue>(4, _omitFieldNames ? '' : 'alpha', subBuilder: $16.FloatValue.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Color clone() => Color()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Color copyWith(void Function(Color) updates) => super.copyWith((message) => updates(message as Color)) as Color; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Color create() => Color._(); - Color createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Color getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Color? _defaultInstance; - - /// The amount of red in the color as a value in the interval [0, 1]. - @$pb.TagNumber(1) - $core.double get red => $_getN(0); - @$pb.TagNumber(1) - set red($core.double v) { $_setFloat(0, v); } - @$pb.TagNumber(1) - $core.bool hasRed() => $_has(0); - @$pb.TagNumber(1) - void clearRed() => clearField(1); - - /// The amount of green in the color as a value in the interval [0, 1]. - @$pb.TagNumber(2) - $core.double get green => $_getN(1); - @$pb.TagNumber(2) - set green($core.double v) { $_setFloat(1, v); } - @$pb.TagNumber(2) - $core.bool hasGreen() => $_has(1); - @$pb.TagNumber(2) - void clearGreen() => clearField(2); - - /// The amount of blue in the color as a value in the interval [0, 1]. - @$pb.TagNumber(3) - $core.double get blue => $_getN(2); - @$pb.TagNumber(3) - set blue($core.double v) { $_setFloat(2, v); } - @$pb.TagNumber(3) - $core.bool hasBlue() => $_has(2); - @$pb.TagNumber(3) - void clearBlue() => clearField(3); - - /// The fraction of this color that should be applied to the pixel. That is, - /// the final pixel color is defined by the equation: - /// - /// `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` - /// - /// This means that a value of 1.0 corresponds to a solid color, whereas - /// a value of 0.0 corresponds to a completely transparent color. This - /// uses a wrapper message rather than a simple float scalar so that it is - /// possible to distinguish between a default value and the value being unset. - /// If omitted, this color object is rendered as a solid color - /// (as if the alpha value had been explicitly given a value of 1.0). - @$pb.TagNumber(4) - $16.FloatValue get alpha => $_getN(3); - @$pb.TagNumber(4) - set alpha($16.FloatValue v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasAlpha() => $_has(3); - @$pb.TagNumber(4) - void clearAlpha() => clearField(4); - @$pb.TagNumber(4) - $16.FloatValue ensureAlpha() => $_ensure(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/color.pbenum.dart b/lib/src/gen/google/type/color.pbenum.dart deleted file mode 100644 index 67fc7f73034..00000000000 --- a/lib/src/gen/google/type/color.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/color.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/color.pbjson.dart b/lib/src/gen/google/type/color.pbjson.dart deleted file mode 100644 index 243c1d48241..00000000000 --- a/lib/src/gen/google/type/color.pbjson.dart +++ /dev/null @@ -1,32 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/color.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use colorDescriptor instead') -const Color$json = { - '1': 'Color', - '2': [ - {'1': 'red', '3': 1, '4': 1, '5': 2, '10': 'red'}, - {'1': 'green', '3': 2, '4': 1, '5': 2, '10': 'green'}, - {'1': 'blue', '3': 3, '4': 1, '5': 2, '10': 'blue'}, - {'1': 'alpha', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.FloatValue', '10': 'alpha'}, - ], -}; - -/// Descriptor for `Color`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List colorDescriptor = $convert.base64Decode( - 'CgVDb2xvchIQCgNyZWQYASABKAJSA3JlZBIUCgVncmVlbhgCIAEoAlIFZ3JlZW4SEgoEYmx1ZR' - 'gDIAEoAlIEYmx1ZRIxCgVhbHBoYRgEIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GbG9hdFZhbHVl' - 'UgVhbHBoYQ=='); - diff --git a/lib/src/gen/google/type/date.pb.dart b/lib/src/gen/google/type/date.pb.dart deleted file mode 100644 index 936e22bc281..00000000000 --- a/lib/src/gen/google/type/date.pb.dart +++ /dev/null @@ -1,116 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/date.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents a whole or partial calendar date, such as a birthday. The time of -/// day and time zone are either specified elsewhere or are insignificant. The -/// date is relative to the Gregorian Calendar. This can represent one of the -/// following: -/// -/// * A full date, with non-zero year, month, and day values -/// * A month and day value, with a zero year, such as an anniversary -/// * A year on its own, with zero month and day values -/// * A year and month value, with a zero day, such as a credit card expiration -/// date -/// -/// Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and -/// `google.protobuf.Timestamp`. -class Date extends $pb.GeneratedMessage { - factory Date({ - $core.int? year, - $core.int? month, - $core.int? day, - }) { - final $result = create(); - if (year != null) { - $result.year = year; - } - if (month != null) { - $result.month = month; - } - if (day != null) { - $result.day = day; - } - return $result; - } - Date._() : super(); - factory Date.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Date.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Date', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'year', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'month', $pb.PbFieldType.O3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'day', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Date clone() => Date()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Date copyWith(void Function(Date) updates) => super.copyWith((message) => updates(message as Date)) as Date; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Date create() => Date._(); - Date createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Date getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Date? _defaultInstance; - - /// Year of the date. Must be from 1 to 9999, or 0 to specify a date without - /// a year. - @$pb.TagNumber(1) - $core.int get year => $_getIZ(0); - @$pb.TagNumber(1) - set year($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasYear() => $_has(0); - @$pb.TagNumber(1) - void clearYear() => clearField(1); - - /// Month of a year. Must be from 1 to 12, or 0 to specify a year without a - /// month and day. - @$pb.TagNumber(2) - $core.int get month => $_getIZ(1); - @$pb.TagNumber(2) - set month($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasMonth() => $_has(1); - @$pb.TagNumber(2) - void clearMonth() => clearField(2); - - /// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 - /// to specify a year by itself or a year and month where the day isn't - /// significant. - @$pb.TagNumber(3) - $core.int get day => $_getIZ(2); - @$pb.TagNumber(3) - set day($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasDay() => $_has(2); - @$pb.TagNumber(3) - void clearDay() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/date.pbenum.dart b/lib/src/gen/google/type/date.pbenum.dart deleted file mode 100644 index bf02aae7f71..00000000000 --- a/lib/src/gen/google/type/date.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/date.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/date.pbjson.dart b/lib/src/gen/google/type/date.pbjson.dart deleted file mode 100644 index 990b78afb77..00000000000 --- a/lib/src/gen/google/type/date.pbjson.dart +++ /dev/null @@ -1,30 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/date.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use dateDescriptor instead') -const Date$json = { - '1': 'Date', - '2': [ - {'1': 'year', '3': 1, '4': 1, '5': 5, '10': 'year'}, - {'1': 'month', '3': 2, '4': 1, '5': 5, '10': 'month'}, - {'1': 'day', '3': 3, '4': 1, '5': 5, '10': 'day'}, - ], -}; - -/// Descriptor for `Date`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dateDescriptor = $convert.base64Decode( - 'CgREYXRlEhIKBHllYXIYASABKAVSBHllYXISFAoFbW9udGgYAiABKAVSBW1vbnRoEhAKA2RheR' - 'gDIAEoBVIDZGF5'); - diff --git a/lib/src/gen/google/type/datetime.pb.dart b/lib/src/gen/google/type/datetime.pb.dart deleted file mode 100644 index a076b3866d3..00000000000 --- a/lib/src/gen/google/type/datetime.pb.dart +++ /dev/null @@ -1,310 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/datetime.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/duration.pb.dart' as $4; - -enum DateTime_TimeOffset { - utcOffset, - timeZone, - notSet -} - -/// Represents civil time (or occasionally physical time). -/// -/// This type can represent a civil time in one of a few possible ways: -/// -/// * When utc_offset is set and time_zone is unset: a civil time on a calendar -/// day with a particular offset from UTC. -/// * When time_zone is set and utc_offset is unset: a civil time on a calendar -/// day in a particular time zone. -/// * When neither time_zone nor utc_offset is set: a civil time on a calendar -/// day in local time. -/// -/// The date is relative to the Proleptic Gregorian Calendar. -/// -/// If year is 0, the DateTime is considered not to have a specific year. month -/// and day must have valid, non-zero values. -/// -/// This type may also be used to represent a physical time if all the date and -/// time fields are set and either case of the `time_offset` oneof is set. -/// Consider using `Timestamp` message for physical time instead. If your use -/// case also would like to store the user's timezone, that can be done in -/// another field. -/// -/// This type is more flexible than some applications may want. Make sure to -/// document and validate your application's limitations. -class DateTime extends $pb.GeneratedMessage { - factory DateTime({ - $core.int? year, - $core.int? month, - $core.int? day, - $core.int? hours, - $core.int? minutes, - $core.int? seconds, - $core.int? nanos, - $4.Duration? utcOffset, - TimeZone? timeZone, - }) { - final $result = create(); - if (year != null) { - $result.year = year; - } - if (month != null) { - $result.month = month; - } - if (day != null) { - $result.day = day; - } - if (hours != null) { - $result.hours = hours; - } - if (minutes != null) { - $result.minutes = minutes; - } - if (seconds != null) { - $result.seconds = seconds; - } - if (nanos != null) { - $result.nanos = nanos; - } - if (utcOffset != null) { - $result.utcOffset = utcOffset; - } - if (timeZone != null) { - $result.timeZone = timeZone; - } - return $result; - } - DateTime._() : super(); - factory DateTime.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DateTime.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, DateTime_TimeOffset> _DateTime_TimeOffsetByTag = { - 8 : DateTime_TimeOffset.utcOffset, - 9 : DateTime_TimeOffset.timeZone, - 0 : DateTime_TimeOffset.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DateTime', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..oo(0, [8, 9]) - ..a<$core.int>(1, _omitFieldNames ? '' : 'year', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'month', $pb.PbFieldType.O3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'day', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'hours', $pb.PbFieldType.O3) - ..a<$core.int>(5, _omitFieldNames ? '' : 'minutes', $pb.PbFieldType.O3) - ..a<$core.int>(6, _omitFieldNames ? '' : 'seconds', $pb.PbFieldType.O3) - ..a<$core.int>(7, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) - ..aOM<$4.Duration>(8, _omitFieldNames ? '' : 'utcOffset', subBuilder: $4.Duration.create) - ..aOM(9, _omitFieldNames ? '' : 'timeZone', subBuilder: TimeZone.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DateTime clone() => DateTime()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DateTime copyWith(void Function(DateTime) updates) => super.copyWith((message) => updates(message as DateTime)) as DateTime; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DateTime create() => DateTime._(); - DateTime createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DateTime getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DateTime? _defaultInstance; - - DateTime_TimeOffset whichTimeOffset() => _DateTime_TimeOffsetByTag[$_whichOneof(0)]!; - void clearTimeOffset() => clearField($_whichOneof(0)); - - /// Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a - /// datetime without a year. - @$pb.TagNumber(1) - $core.int get year => $_getIZ(0); - @$pb.TagNumber(1) - set year($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasYear() => $_has(0); - @$pb.TagNumber(1) - void clearYear() => clearField(1); - - /// Required. Month of year. Must be from 1 to 12. - @$pb.TagNumber(2) - $core.int get month => $_getIZ(1); - @$pb.TagNumber(2) - set month($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasMonth() => $_has(1); - @$pb.TagNumber(2) - void clearMonth() => clearField(2); - - /// Required. Day of month. Must be from 1 to 31 and valid for the year and - /// month. - @$pb.TagNumber(3) - $core.int get day => $_getIZ(2); - @$pb.TagNumber(3) - set day($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasDay() => $_has(2); - @$pb.TagNumber(3) - void clearDay() => clearField(3); - - /// Required. Hours of day in 24 hour format. Should be from 0 to 23. An API - /// may choose to allow the value "24:00:00" for scenarios like business - /// closing time. - @$pb.TagNumber(4) - $core.int get hours => $_getIZ(3); - @$pb.TagNumber(4) - set hours($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasHours() => $_has(3); - @$pb.TagNumber(4) - void clearHours() => clearField(4); - - /// Required. Minutes of hour of day. Must be from 0 to 59. - @$pb.TagNumber(5) - $core.int get minutes => $_getIZ(4); - @$pb.TagNumber(5) - set minutes($core.int v) { $_setSignedInt32(4, v); } - @$pb.TagNumber(5) - $core.bool hasMinutes() => $_has(4); - @$pb.TagNumber(5) - void clearMinutes() => clearField(5); - - /// Required. Seconds of minutes of the time. Must normally be from 0 to 59. An - /// API may allow the value 60 if it allows leap-seconds. - @$pb.TagNumber(6) - $core.int get seconds => $_getIZ(5); - @$pb.TagNumber(6) - set seconds($core.int v) { $_setSignedInt32(5, v); } - @$pb.TagNumber(6) - $core.bool hasSeconds() => $_has(5); - @$pb.TagNumber(6) - void clearSeconds() => clearField(6); - - /// Required. Fractions of seconds in nanoseconds. Must be from 0 to - /// 999,999,999. - @$pb.TagNumber(7) - $core.int get nanos => $_getIZ(6); - @$pb.TagNumber(7) - set nanos($core.int v) { $_setSignedInt32(6, v); } - @$pb.TagNumber(7) - $core.bool hasNanos() => $_has(6); - @$pb.TagNumber(7) - void clearNanos() => clearField(7); - - /// UTC offset. Must be whole seconds, between -18 hours and +18 hours. - /// For example, a UTC offset of -4:00 would be represented as - /// { seconds: -14400 }. - @$pb.TagNumber(8) - $4.Duration get utcOffset => $_getN(7); - @$pb.TagNumber(8) - set utcOffset($4.Duration v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasUtcOffset() => $_has(7); - @$pb.TagNumber(8) - void clearUtcOffset() => clearField(8); - @$pb.TagNumber(8) - $4.Duration ensureUtcOffset() => $_ensure(7); - - /// Time zone. - @$pb.TagNumber(9) - TimeZone get timeZone => $_getN(8); - @$pb.TagNumber(9) - set timeZone(TimeZone v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasTimeZone() => $_has(8); - @$pb.TagNumber(9) - void clearTimeZone() => clearField(9); - @$pb.TagNumber(9) - TimeZone ensureTimeZone() => $_ensure(8); -} - -/// Represents a time zone from the -/// [IANA Time Zone Database](https://www.iana.org/time-zones). -class TimeZone extends $pb.GeneratedMessage { - factory TimeZone({ - $core.String? id, - $core.String? version, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (version != null) { - $result.version = version; - } - return $result; - } - TimeZone._() : super(); - factory TimeZone.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TimeZone.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimeZone', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TimeZone clone() => TimeZone()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TimeZone copyWith(void Function(TimeZone) updates) => super.copyWith((message) => updates(message as TimeZone)) as TimeZone; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TimeZone create() => TimeZone._(); - TimeZone createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TimeZone getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TimeZone? _defaultInstance; - - /// IANA Time Zone Database time zone, e.g. "America/New_York". - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// Optional. IANA Time Zone Database version number, e.g. "2019a". - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/datetime.pbenum.dart b/lib/src/gen/google/type/datetime.pbenum.dart deleted file mode 100644 index f3107060817..00000000000 --- a/lib/src/gen/google/type/datetime.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/datetime.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/datetime.pbjson.dart b/lib/src/gen/google/type/datetime.pbjson.dart deleted file mode 100644 index 5f3225743f8..00000000000 --- a/lib/src/gen/google/type/datetime.pbjson.dart +++ /dev/null @@ -1,56 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/datetime.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use dateTimeDescriptor instead') -const DateTime$json = { - '1': 'DateTime', - '2': [ - {'1': 'year', '3': 1, '4': 1, '5': 5, '10': 'year'}, - {'1': 'month', '3': 2, '4': 1, '5': 5, '10': 'month'}, - {'1': 'day', '3': 3, '4': 1, '5': 5, '10': 'day'}, - {'1': 'hours', '3': 4, '4': 1, '5': 5, '10': 'hours'}, - {'1': 'minutes', '3': 5, '4': 1, '5': 5, '10': 'minutes'}, - {'1': 'seconds', '3': 6, '4': 1, '5': 5, '10': 'seconds'}, - {'1': 'nanos', '3': 7, '4': 1, '5': 5, '10': 'nanos'}, - {'1': 'utc_offset', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '9': 0, '10': 'utcOffset'}, - {'1': 'time_zone', '3': 9, '4': 1, '5': 11, '6': '.google.type.TimeZone', '9': 0, '10': 'timeZone'}, - ], - '8': [ - {'1': 'time_offset'}, - ], -}; - -/// Descriptor for `DateTime`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List dateTimeDescriptor = $convert.base64Decode( - 'CghEYXRlVGltZRISCgR5ZWFyGAEgASgFUgR5ZWFyEhQKBW1vbnRoGAIgASgFUgVtb250aBIQCg' - 'NkYXkYAyABKAVSA2RheRIUCgVob3VycxgEIAEoBVIFaG91cnMSGAoHbWludXRlcxgFIAEoBVIH' - 'bWludXRlcxIYCgdzZWNvbmRzGAYgASgFUgdzZWNvbmRzEhQKBW5hbm9zGAcgASgFUgVuYW5vcx' - 'I6Cgp1dGNfb2Zmc2V0GAggASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uSABSCXV0Y09m' - 'ZnNldBI0Cgl0aW1lX3pvbmUYCSABKAsyFS5nb29nbGUudHlwZS5UaW1lWm9uZUgAUgh0aW1lWm' - '9uZUINCgt0aW1lX29mZnNldA=='); - -@$core.Deprecated('Use timeZoneDescriptor instead') -const TimeZone$json = { - '1': 'TimeZone', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, - ], -}; - -/// Descriptor for `TimeZone`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timeZoneDescriptor = $convert.base64Decode( - 'CghUaW1lWm9uZRIOCgJpZBgBIAEoCVICaWQSGAoHdmVyc2lvbhgCIAEoCVIHdmVyc2lvbg=='); - diff --git a/lib/src/gen/google/type/dayofweek.pb.dart b/lib/src/gen/google/type/dayofweek.pb.dart deleted file mode 100644 index 9927e2e22e2..00000000000 --- a/lib/src/gen/google/type/dayofweek.pb.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/dayofweek.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -export 'dayofweek.pbenum.dart'; - diff --git a/lib/src/gen/google/type/dayofweek.pbenum.dart b/lib/src/gen/google/type/dayofweek.pbenum.dart deleted file mode 100644 index 8d40a566135..00000000000 --- a/lib/src/gen/google/type/dayofweek.pbenum.dart +++ /dev/null @@ -1,45 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/dayofweek.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents a day of the week. -class DayOfWeek extends $pb.ProtobufEnum { - static const DayOfWeek DAY_OF_WEEK_UNSPECIFIED = DayOfWeek._(0, _omitEnumNames ? '' : 'DAY_OF_WEEK_UNSPECIFIED'); - static const DayOfWeek MONDAY = DayOfWeek._(1, _omitEnumNames ? '' : 'MONDAY'); - static const DayOfWeek TUESDAY = DayOfWeek._(2, _omitEnumNames ? '' : 'TUESDAY'); - static const DayOfWeek WEDNESDAY = DayOfWeek._(3, _omitEnumNames ? '' : 'WEDNESDAY'); - static const DayOfWeek THURSDAY = DayOfWeek._(4, _omitEnumNames ? '' : 'THURSDAY'); - static const DayOfWeek FRIDAY = DayOfWeek._(5, _omitEnumNames ? '' : 'FRIDAY'); - static const DayOfWeek SATURDAY = DayOfWeek._(6, _omitEnumNames ? '' : 'SATURDAY'); - static const DayOfWeek SUNDAY = DayOfWeek._(7, _omitEnumNames ? '' : 'SUNDAY'); - - static const $core.List values = [ - DAY_OF_WEEK_UNSPECIFIED, - MONDAY, - TUESDAY, - WEDNESDAY, - THURSDAY, - FRIDAY, - SATURDAY, - SUNDAY, - ]; - - static final $core.Map<$core.int, DayOfWeek> _byValue = $pb.ProtobufEnum.initByValue(values); - static DayOfWeek? valueOf($core.int value) => _byValue[value]; - - const DayOfWeek._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/type/dayofweek.pbjson.dart b/lib/src/gen/google/type/dayofweek.pbjson.dart deleted file mode 100644 index e31a7f37b08..00000000000 --- a/lib/src/gen/google/type/dayofweek.pbjson.dart +++ /dev/null @@ -1,36 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/dayofweek.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use dayOfWeekDescriptor instead') -const DayOfWeek$json = { - '1': 'DayOfWeek', - '2': [ - {'1': 'DAY_OF_WEEK_UNSPECIFIED', '2': 0}, - {'1': 'MONDAY', '2': 1}, - {'1': 'TUESDAY', '2': 2}, - {'1': 'WEDNESDAY', '2': 3}, - {'1': 'THURSDAY', '2': 4}, - {'1': 'FRIDAY', '2': 5}, - {'1': 'SATURDAY', '2': 6}, - {'1': 'SUNDAY', '2': 7}, - ], -}; - -/// Descriptor for `DayOfWeek`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List dayOfWeekDescriptor = $convert.base64Decode( - 'CglEYXlPZldlZWsSGwoXREFZX09GX1dFRUtfVU5TUEVDSUZJRUQQABIKCgZNT05EQVkQARILCg' - 'dUVUVTREFZEAISDQoJV0VETkVTREFZEAMSDAoIVEhVUlNEQVkQBBIKCgZGUklEQVkQBRIMCghT' - 'QVRVUkRBWRAGEgoKBlNVTkRBWRAH'); - diff --git a/lib/src/gen/google/type/decimal.pb.dart b/lib/src/gen/google/type/decimal.pb.dart deleted file mode 100644 index ff249b2a1f2..00000000000 --- a/lib/src/gen/google/type/decimal.pb.dart +++ /dev/null @@ -1,135 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/decimal.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// A representation of a decimal value, such as 2.5. Clients may convert values -/// into language-native decimal formats, such as Java's [BigDecimal][] or -/// Python's [decimal.Decimal][]. -/// -/// [BigDecimal]: -/// https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html -/// [decimal.Decimal]: https://docs.python.org/3/library/decimal.html -class Decimal extends $pb.GeneratedMessage { - factory Decimal({ - $core.String? value, - }) { - final $result = create(); - if (value != null) { - $result.value = value; - } - return $result; - } - Decimal._() : super(); - factory Decimal.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Decimal.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Decimal', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'value') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Decimal clone() => Decimal()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Decimal copyWith(void Function(Decimal) updates) => super.copyWith((message) => updates(message as Decimal)) as Decimal; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Decimal create() => Decimal._(); - Decimal createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Decimal getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Decimal? _defaultInstance; - - /// The decimal value, as a string. - /// - /// The string representation consists of an optional sign, `+` (`U+002B`) - /// or `-` (`U+002D`), followed by a sequence of zero or more decimal digits - /// ("the integer"), optionally followed by a fraction, optionally followed - /// by an exponent. - /// - /// The fraction consists of a decimal point followed by zero or more decimal - /// digits. The string must contain at least one digit in either the integer - /// or the fraction. The number formed by the sign, the integer and the - /// fraction is referred to as the significand. - /// - /// The exponent consists of the character `e` (`U+0065`) or `E` (`U+0045`) - /// followed by one or more decimal digits. - /// - /// Services **should** normalize decimal values before storing them by: - /// - /// - Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - /// - Replacing a zero-length integer value with `0` (`.5` -> `0.5`). - /// - Coercing the exponent character to lower-case (`2.5E8` -> `2.5e8`). - /// - Removing an explicitly-provided zero exponent (`2.5e0` -> `2.5`). - /// - /// Services **may** perform additional normalization based on its own needs - /// and the internal decimal implementation selected, such as shifting the - /// decimal point and exponent value together (example: `2.5e-1` <-> `0.25`). - /// Additionally, services **may** preserve trailing zeroes in the fraction - /// to indicate increased precision, but are not required to do so. - /// - /// Note that only the `.` character is supported to divide the integer - /// and the fraction; `,` **should not** be supported regardless of locale. - /// Additionally, thousand separators **should not** be supported. If a - /// service does support them, values **must** be normalized. - /// - /// The ENBF grammar is: - /// - /// DecimalString = - /// [Sign] Significand [Exponent]; - /// - /// Sign = '+' | '-'; - /// - /// Significand = - /// Digits ['.'] [Digits] | [Digits] '.' Digits; - /// - /// Exponent = ('e' | 'E') [Sign] Digits; - /// - /// Digits = { '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' }; - /// - /// Services **should** clearly document the range of supported values, the - /// maximum supported precision (total number of digits), and, if applicable, - /// the scale (number of digits after the decimal point), as well as how it - /// behaves when receiving out-of-bounds values. - /// - /// Services **may** choose to accept values passed as input even when the - /// value has a higher precision or scale than the service supports, and - /// **should** round the value to fit the supported scale. Alternatively, the - /// service **may** error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) - /// if precision would be lost. - /// - /// Services **should** error with `400 Bad Request` (`INVALID_ARGUMENT` in - /// gRPC) if the service receives a value outside of the supported range. - @$pb.TagNumber(1) - $core.String get value => $_getSZ(0); - @$pb.TagNumber(1) - set value($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasValue() => $_has(0); - @$pb.TagNumber(1) - void clearValue() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/decimal.pbenum.dart b/lib/src/gen/google/type/decimal.pbenum.dart deleted file mode 100644 index 1b364f5ddee..00000000000 --- a/lib/src/gen/google/type/decimal.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/decimal.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/decimal.pbjson.dart b/lib/src/gen/google/type/decimal.pbjson.dart deleted file mode 100644 index 7c7138e3fb8..00000000000 --- a/lib/src/gen/google/type/decimal.pbjson.dart +++ /dev/null @@ -1,27 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/decimal.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use decimalDescriptor instead') -const Decimal$json = { - '1': 'Decimal', - '2': [ - {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, - ], -}; - -/// Descriptor for `Decimal`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List decimalDescriptor = $convert.base64Decode( - 'CgdEZWNpbWFsEhQKBXZhbHVlGAEgASgJUgV2YWx1ZQ=='); - diff --git a/lib/src/gen/google/type/expr.pb.dart b/lib/src/gen/google/type/expr.pb.dart deleted file mode 100644 index f3e49583da8..00000000000 --- a/lib/src/gen/google/type/expr.pb.dart +++ /dev/null @@ -1,150 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/expr.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents a textual expression in the Common Expression Language (CEL) -/// syntax. CEL is a C-like expression language. The syntax and semantics of CEL -/// are documented at https://github.com/google/cel-spec. -/// -/// Example (Comparison): -/// -/// title: "Summary size limit" -/// description: "Determines if a summary is less than 100 chars" -/// expression: "document.summary.size() < 100" -/// -/// Example (Equality): -/// -/// title: "Requestor is owner" -/// description: "Determines if requestor is the document owner" -/// expression: "document.owner == request.auth.claims.email" -/// -/// Example (Logic): -/// -/// title: "Public documents" -/// description: "Determine whether the document should be publicly visible" -/// expression: "document.type != 'private' && document.type != 'internal'" -/// -/// Example (Data Manipulation): -/// -/// title: "Notification string" -/// description: "Create a notification string with a timestamp." -/// expression: "'New message received at ' + string(document.create_time)" -/// -/// The exact variables and functions that may be referenced within an expression -/// are determined by the service that evaluates it. See the service -/// documentation for additional information. -class Expr extends $pb.GeneratedMessage { - factory Expr({ - $core.String? expression, - $core.String? title, - $core.String? description, - $core.String? location, - }) { - final $result = create(); - if (expression != null) { - $result.expression = expression; - } - if (title != null) { - $result.title = title; - } - if (description != null) { - $result.description = description; - } - if (location != null) { - $result.location = location; - } - return $result; - } - Expr._() : super(); - factory Expr.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Expr.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Expr', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'expression') - ..aOS(2, _omitFieldNames ? '' : 'title') - ..aOS(3, _omitFieldNames ? '' : 'description') - ..aOS(4, _omitFieldNames ? '' : 'location') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Expr clone() => Expr()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Expr copyWith(void Function(Expr) updates) => super.copyWith((message) => updates(message as Expr)) as Expr; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Expr create() => Expr._(); - Expr createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Expr getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Expr? _defaultInstance; - - /// Textual representation of an expression in Common Expression Language - /// syntax. - @$pb.TagNumber(1) - $core.String get expression => $_getSZ(0); - @$pb.TagNumber(1) - set expression($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasExpression() => $_has(0); - @$pb.TagNumber(1) - void clearExpression() => clearField(1); - - /// Optional. Title for the expression, i.e. a short string describing - /// its purpose. This can be used e.g. in UIs which allow to enter the - /// expression. - @$pb.TagNumber(2) - $core.String get title => $_getSZ(1); - @$pb.TagNumber(2) - set title($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasTitle() => $_has(1); - @$pb.TagNumber(2) - void clearTitle() => clearField(2); - - /// Optional. Description of the expression. This is a longer text which - /// describes the expression, e.g. when hovered over it in a UI. - @$pb.TagNumber(3) - $core.String get description => $_getSZ(2); - @$pb.TagNumber(3) - set description($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDescription() => $_has(2); - @$pb.TagNumber(3) - void clearDescription() => clearField(3); - - /// Optional. String indicating the location of the expression for error - /// reporting, e.g. a file name and a position in the file. - @$pb.TagNumber(4) - $core.String get location => $_getSZ(3); - @$pb.TagNumber(4) - set location($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasLocation() => $_has(3); - @$pb.TagNumber(4) - void clearLocation() => clearField(4); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/expr.pbenum.dart b/lib/src/gen/google/type/expr.pbenum.dart deleted file mode 100644 index 5b59d1f4611..00000000000 --- a/lib/src/gen/google/type/expr.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/expr.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/expr.pbjson.dart b/lib/src/gen/google/type/expr.pbjson.dart deleted file mode 100644 index 4f3fc3fc9b2..00000000000 --- a/lib/src/gen/google/type/expr.pbjson.dart +++ /dev/null @@ -1,32 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/expr.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use exprDescriptor instead') -const Expr$json = { - '1': 'Expr', - '2': [ - {'1': 'expression', '3': 1, '4': 1, '5': 9, '10': 'expression'}, - {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, - {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'location', '3': 4, '4': 1, '5': 9, '10': 'location'}, - ], -}; - -/// Descriptor for `Expr`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List exprDescriptor = $convert.base64Decode( - 'CgRFeHByEh4KCmV4cHJlc3Npb24YASABKAlSCmV4cHJlc3Npb24SFAoFdGl0bGUYAiABKAlSBX' - 'RpdGxlEiAKC2Rlc2NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhIaCghsb2NhdGlvbhgEIAEo' - 'CVIIbG9jYXRpb24='); - diff --git a/lib/src/gen/google/type/fraction.pb.dart b/lib/src/gen/google/type/fraction.pb.dart deleted file mode 100644 index 0d377d7cf43..00000000000 --- a/lib/src/gen/google/type/fraction.pb.dart +++ /dev/null @@ -1,87 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/fraction.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents a fraction in terms of a numerator divided by a denominator. -class Fraction extends $pb.GeneratedMessage { - factory Fraction({ - $fixnum.Int64? numerator, - $fixnum.Int64? denominator, - }) { - final $result = create(); - if (numerator != null) { - $result.numerator = numerator; - } - if (denominator != null) { - $result.denominator = denominator; - } - return $result; - } - Fraction._() : super(); - factory Fraction.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Fraction.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Fraction', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'numerator') - ..aInt64(2, _omitFieldNames ? '' : 'denominator') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Fraction clone() => Fraction()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Fraction copyWith(void Function(Fraction) updates) => super.copyWith((message) => updates(message as Fraction)) as Fraction; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Fraction create() => Fraction._(); - Fraction createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Fraction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Fraction? _defaultInstance; - - /// The numerator in the fraction, e.g. 2 in 2/3. - @$pb.TagNumber(1) - $fixnum.Int64 get numerator => $_getI64(0); - @$pb.TagNumber(1) - set numerator($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasNumerator() => $_has(0); - @$pb.TagNumber(1) - void clearNumerator() => clearField(1); - - /// The value by which the numerator is divided, e.g. 3 in 2/3. Must be - /// positive. - @$pb.TagNumber(2) - $fixnum.Int64 get denominator => $_getI64(1); - @$pb.TagNumber(2) - set denominator($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasDenominator() => $_has(1); - @$pb.TagNumber(2) - void clearDenominator() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/fraction.pbenum.dart b/lib/src/gen/google/type/fraction.pbenum.dart deleted file mode 100644 index 23dc166a7ba..00000000000 --- a/lib/src/gen/google/type/fraction.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/fraction.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/fraction.pbjson.dart b/lib/src/gen/google/type/fraction.pbjson.dart deleted file mode 100644 index 27f0f4d3cd3..00000000000 --- a/lib/src/gen/google/type/fraction.pbjson.dart +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/fraction.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use fractionDescriptor instead') -const Fraction$json = { - '1': 'Fraction', - '2': [ - {'1': 'numerator', '3': 1, '4': 1, '5': 3, '10': 'numerator'}, - {'1': 'denominator', '3': 2, '4': 1, '5': 3, '10': 'denominator'}, - ], -}; - -/// Descriptor for `Fraction`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fractionDescriptor = $convert.base64Decode( - 'CghGcmFjdGlvbhIcCgludW1lcmF0b3IYASABKANSCW51bWVyYXRvchIgCgtkZW5vbWluYXRvch' - 'gCIAEoA1ILZGVub21pbmF0b3I='); - diff --git a/lib/src/gen/google/type/interval.pb.dart b/lib/src/gen/google/type/interval.pb.dart deleted file mode 100644 index ec1f59db2cc..00000000000 --- a/lib/src/gen/google/type/interval.pb.dart +++ /dev/null @@ -1,102 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/interval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../protobuf/timestamp.pb.dart' as $6; - -/// Represents a time interval, encoded as a Timestamp start (inclusive) and a -/// Timestamp end (exclusive). -/// -/// The start must be less than or equal to the end. -/// When the start equals the end, the interval is empty (matches no time). -/// When both start and end are unspecified, the interval matches any time. -class Interval extends $pb.GeneratedMessage { - factory Interval({ - $6.Timestamp? startTime, - $6.Timestamp? endTime, - }) { - final $result = create(); - if (startTime != null) { - $result.startTime = startTime; - } - if (endTime != null) { - $result.endTime = endTime; - } - return $result; - } - Interval._() : super(); - factory Interval.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Interval.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Interval', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aOM<$6.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $6.Timestamp.create) - ..aOM<$6.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $6.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Interval clone() => Interval()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Interval copyWith(void Function(Interval) updates) => super.copyWith((message) => updates(message as Interval)) as Interval; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Interval create() => Interval._(); - Interval createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Interval getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Interval? _defaultInstance; - - /// Optional. Inclusive start of the interval. - /// - /// If specified, a Timestamp matching this interval will have to be the same - /// or after the start. - @$pb.TagNumber(1) - $6.Timestamp get startTime => $_getN(0); - @$pb.TagNumber(1) - set startTime($6.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStartTime() => $_has(0); - @$pb.TagNumber(1) - void clearStartTime() => clearField(1); - @$pb.TagNumber(1) - $6.Timestamp ensureStartTime() => $_ensure(0); - - /// Optional. Exclusive end of the interval. - /// - /// If specified, a Timestamp matching this interval will have to be before the - /// end. - @$pb.TagNumber(2) - $6.Timestamp get endTime => $_getN(1); - @$pb.TagNumber(2) - set endTime($6.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEndTime() => $_has(1); - @$pb.TagNumber(2) - void clearEndTime() => clearField(2); - @$pb.TagNumber(2) - $6.Timestamp ensureEndTime() => $_ensure(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/interval.pbenum.dart b/lib/src/gen/google/type/interval.pbenum.dart deleted file mode 100644 index d05c633e6a2..00000000000 --- a/lib/src/gen/google/type/interval.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/interval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/interval.pbjson.dart b/lib/src/gen/google/type/interval.pbjson.dart deleted file mode 100644 index 8d5c63cca62..00000000000 --- a/lib/src/gen/google/type/interval.pbjson.dart +++ /dev/null @@ -1,30 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/interval.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use intervalDescriptor instead') -const Interval$json = { - '1': 'Interval', - '2': [ - {'1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'startTime'}, - {'1': 'end_time', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'endTime'}, - ], -}; - -/// Descriptor for `Interval`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List intervalDescriptor = $convert.base64Decode( - 'CghJbnRlcnZhbBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' - 'dGFtcFIHZW5kVGltZQ=='); - diff --git a/lib/src/gen/google/type/latlng.pb.dart b/lib/src/gen/google/type/latlng.pb.dart deleted file mode 100644 index 2e752e82fba..00000000000 --- a/lib/src/gen/google/type/latlng.pb.dart +++ /dev/null @@ -1,89 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/latlng.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// An object that represents a latitude/longitude pair. This is expressed as a -/// pair of doubles to represent degrees latitude and degrees longitude. Unless -/// specified otherwise, this must conform to the -/// WGS84 -/// standard. Values must be within normalized ranges. -class LatLng extends $pb.GeneratedMessage { - factory LatLng({ - $core.double? latitude, - $core.double? longitude, - }) { - final $result = create(); - if (latitude != null) { - $result.latitude = latitude; - } - if (longitude != null) { - $result.longitude = longitude; - } - return $result; - } - LatLng._() : super(); - factory LatLng.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LatLng.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LatLng', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'latitude', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'longitude', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LatLng clone() => LatLng()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LatLng copyWith(void Function(LatLng) updates) => super.copyWith((message) => updates(message as LatLng)) as LatLng; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LatLng create() => LatLng._(); - LatLng createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LatLng getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LatLng? _defaultInstance; - - /// The latitude in degrees. It must be in the range [-90.0, +90.0]. - @$pb.TagNumber(1) - $core.double get latitude => $_getN(0); - @$pb.TagNumber(1) - set latitude($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasLatitude() => $_has(0); - @$pb.TagNumber(1) - void clearLatitude() => clearField(1); - - /// The longitude in degrees. It must be in the range [-180.0, +180.0]. - @$pb.TagNumber(2) - $core.double get longitude => $_getN(1); - @$pb.TagNumber(2) - set longitude($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasLongitude() => $_has(1); - @$pb.TagNumber(2) - void clearLongitude() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/latlng.pbenum.dart b/lib/src/gen/google/type/latlng.pbenum.dart deleted file mode 100644 index 78930d449e8..00000000000 --- a/lib/src/gen/google/type/latlng.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/latlng.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/latlng.pbjson.dart b/lib/src/gen/google/type/latlng.pbjson.dart deleted file mode 100644 index f4fbfe12240..00000000000 --- a/lib/src/gen/google/type/latlng.pbjson.dart +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/latlng.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use latLngDescriptor instead') -const LatLng$json = { - '1': 'LatLng', - '2': [ - {'1': 'latitude', '3': 1, '4': 1, '5': 1, '10': 'latitude'}, - {'1': 'longitude', '3': 2, '4': 1, '5': 1, '10': 'longitude'}, - ], -}; - -/// Descriptor for `LatLng`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List latLngDescriptor = $convert.base64Decode( - 'CgZMYXRMbmcSGgoIbGF0aXR1ZGUYASABKAFSCGxhdGl0dWRlEhwKCWxvbmdpdHVkZRgCIAEoAV' - 'IJbG9uZ2l0dWRl'); - diff --git a/lib/src/gen/google/type/localized_text.pb.dart b/lib/src/gen/google/type/localized_text.pb.dart deleted file mode 100644 index 4c10a52165c..00000000000 --- a/lib/src/gen/google/type/localized_text.pb.dart +++ /dev/null @@ -1,88 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/localized_text.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Localized variant of a text in a particular language. -class LocalizedText extends $pb.GeneratedMessage { - factory LocalizedText({ - $core.String? text, - $core.String? languageCode, - }) { - final $result = create(); - if (text != null) { - $result.text = text; - } - if (languageCode != null) { - $result.languageCode = languageCode; - } - return $result; - } - LocalizedText._() : super(); - factory LocalizedText.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LocalizedText.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LocalizedText', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'text') - ..aOS(2, _omitFieldNames ? '' : 'languageCode') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LocalizedText clone() => LocalizedText()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LocalizedText copyWith(void Function(LocalizedText) updates) => super.copyWith((message) => updates(message as LocalizedText)) as LocalizedText; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LocalizedText create() => LocalizedText._(); - LocalizedText createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LocalizedText getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LocalizedText? _defaultInstance; - - /// Localized string in the language corresponding to `language_code' below. - @$pb.TagNumber(1) - $core.String get text => $_getSZ(0); - @$pb.TagNumber(1) - set text($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasText() => $_has(0); - @$pb.TagNumber(1) - void clearText() => clearField(1); - - /// The text's BCP-47 language code, such as "en-US" or "sr-Latn". - /// - /// For more information, see - /// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. - @$pb.TagNumber(2) - $core.String get languageCode => $_getSZ(1); - @$pb.TagNumber(2) - set languageCode($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasLanguageCode() => $_has(1); - @$pb.TagNumber(2) - void clearLanguageCode() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/localized_text.pbenum.dart b/lib/src/gen/google/type/localized_text.pbenum.dart deleted file mode 100644 index 2b93bfaeaff..00000000000 --- a/lib/src/gen/google/type/localized_text.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/localized_text.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/localized_text.pbjson.dart b/lib/src/gen/google/type/localized_text.pbjson.dart deleted file mode 100644 index dd41b3a7aca..00000000000 --- a/lib/src/gen/google/type/localized_text.pbjson.dart +++ /dev/null @@ -1,29 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/localized_text.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use localizedTextDescriptor instead') -const LocalizedText$json = { - '1': 'LocalizedText', - '2': [ - {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, - {'1': 'language_code', '3': 2, '4': 1, '5': 9, '10': 'languageCode'}, - ], -}; - -/// Descriptor for `LocalizedText`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List localizedTextDescriptor = $convert.base64Decode( - 'Cg1Mb2NhbGl6ZWRUZXh0EhIKBHRleHQYASABKAlSBHRleHQSIwoNbGFuZ3VhZ2VfY29kZRgCIA' - 'EoCVIMbGFuZ3VhZ2VDb2Rl'); - diff --git a/lib/src/gen/google/type/money.pb.dart b/lib/src/gen/google/type/money.pb.dart deleted file mode 100644 index c47da8a26ae..00000000000 --- a/lib/src/gen/google/type/money.pb.dart +++ /dev/null @@ -1,107 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/money.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents an amount of money with its currency type. -class Money extends $pb.GeneratedMessage { - factory Money({ - $core.String? currencyCode, - $fixnum.Int64? units, - $core.int? nanos, - }) { - final $result = create(); - if (currencyCode != null) { - $result.currencyCode = currencyCode; - } - if (units != null) { - $result.units = units; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; - } - Money._() : super(); - factory Money.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Money.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Money', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'currencyCode') - ..aInt64(2, _omitFieldNames ? '' : 'units') - ..a<$core.int>(3, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Money clone() => Money()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Money copyWith(void Function(Money) updates) => super.copyWith((message) => updates(message as Money)) as Money; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Money create() => Money._(); - Money createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Money getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Money? _defaultInstance; - - /// The three-letter currency code defined in ISO 4217. - @$pb.TagNumber(1) - $core.String get currencyCode => $_getSZ(0); - @$pb.TagNumber(1) - set currencyCode($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasCurrencyCode() => $_has(0); - @$pb.TagNumber(1) - void clearCurrencyCode() => clearField(1); - - /// The whole units of the amount. - /// For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - @$pb.TagNumber(2) - $fixnum.Int64 get units => $_getI64(1); - @$pb.TagNumber(2) - set units($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasUnits() => $_has(1); - @$pb.TagNumber(2) - void clearUnits() => clearField(2); - - /// Number of nano (10^-9) units of the amount. - /// The value must be between -999,999,999 and +999,999,999 inclusive. - /// If `units` is positive, `nanos` must be positive or zero. - /// If `units` is zero, `nanos` can be positive, zero, or negative. - /// If `units` is negative, `nanos` must be negative or zero. - /// For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - @$pb.TagNumber(3) - $core.int get nanos => $_getIZ(2); - @$pb.TagNumber(3) - set nanos($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasNanos() => $_has(2); - @$pb.TagNumber(3) - void clearNanos() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/money.pbenum.dart b/lib/src/gen/google/type/money.pbenum.dart deleted file mode 100644 index 3a1a07ae646..00000000000 --- a/lib/src/gen/google/type/money.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/money.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/money.pbjson.dart b/lib/src/gen/google/type/money.pbjson.dart deleted file mode 100644 index 5e993f07799..00000000000 --- a/lib/src/gen/google/type/money.pbjson.dart +++ /dev/null @@ -1,30 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/money.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use moneyDescriptor instead') -const Money$json = { - '1': 'Money', - '2': [ - {'1': 'currency_code', '3': 1, '4': 1, '5': 9, '10': 'currencyCode'}, - {'1': 'units', '3': 2, '4': 1, '5': 3, '10': 'units'}, - {'1': 'nanos', '3': 3, '4': 1, '5': 5, '10': 'nanos'}, - ], -}; - -/// Descriptor for `Money`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moneyDescriptor = $convert.base64Decode( - 'CgVNb25leRIjCg1jdXJyZW5jeV9jb2RlGAEgASgJUgxjdXJyZW5jeUNvZGUSFAoFdW5pdHMYAi' - 'ABKANSBXVuaXRzEhQKBW5hbm9zGAMgASgFUgVuYW5vcw=='); - diff --git a/lib/src/gen/google/type/month.pb.dart b/lib/src/gen/google/type/month.pb.dart deleted file mode 100644 index 5f966622cce..00000000000 --- a/lib/src/gen/google/type/month.pb.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/month.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -export 'month.pbenum.dart'; - diff --git a/lib/src/gen/google/type/month.pbenum.dart b/lib/src/gen/google/type/month.pbenum.dart deleted file mode 100644 index a5ebd760baa..00000000000 --- a/lib/src/gen/google/type/month.pbenum.dart +++ /dev/null @@ -1,55 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/month.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents a month in the Gregorian calendar. -class Month extends $pb.ProtobufEnum { - static const Month MONTH_UNSPECIFIED = Month._(0, _omitEnumNames ? '' : 'MONTH_UNSPECIFIED'); - static const Month JANUARY = Month._(1, _omitEnumNames ? '' : 'JANUARY'); - static const Month FEBRUARY = Month._(2, _omitEnumNames ? '' : 'FEBRUARY'); - static const Month MARCH = Month._(3, _omitEnumNames ? '' : 'MARCH'); - static const Month APRIL = Month._(4, _omitEnumNames ? '' : 'APRIL'); - static const Month MAY = Month._(5, _omitEnumNames ? '' : 'MAY'); - static const Month JUNE = Month._(6, _omitEnumNames ? '' : 'JUNE'); - static const Month JULY = Month._(7, _omitEnumNames ? '' : 'JULY'); - static const Month AUGUST = Month._(8, _omitEnumNames ? '' : 'AUGUST'); - static const Month SEPTEMBER = Month._(9, _omitEnumNames ? '' : 'SEPTEMBER'); - static const Month OCTOBER = Month._(10, _omitEnumNames ? '' : 'OCTOBER'); - static const Month NOVEMBER = Month._(11, _omitEnumNames ? '' : 'NOVEMBER'); - static const Month DECEMBER = Month._(12, _omitEnumNames ? '' : 'DECEMBER'); - - static const $core.List values = [ - MONTH_UNSPECIFIED, - JANUARY, - FEBRUARY, - MARCH, - APRIL, - MAY, - JUNE, - JULY, - AUGUST, - SEPTEMBER, - OCTOBER, - NOVEMBER, - DECEMBER, - ]; - - static final $core.Map<$core.int, Month> _byValue = $pb.ProtobufEnum.initByValue(values); - static Month? valueOf($core.int value) => _byValue[value]; - - const Month._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/google/type/month.pbjson.dart b/lib/src/gen/google/type/month.pbjson.dart deleted file mode 100644 index d729b5923e1..00000000000 --- a/lib/src/gen/google/type/month.pbjson.dart +++ /dev/null @@ -1,42 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/month.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use monthDescriptor instead') -const Month$json = { - '1': 'Month', - '2': [ - {'1': 'MONTH_UNSPECIFIED', '2': 0}, - {'1': 'JANUARY', '2': 1}, - {'1': 'FEBRUARY', '2': 2}, - {'1': 'MARCH', '2': 3}, - {'1': 'APRIL', '2': 4}, - {'1': 'MAY', '2': 5}, - {'1': 'JUNE', '2': 6}, - {'1': 'JULY', '2': 7}, - {'1': 'AUGUST', '2': 8}, - {'1': 'SEPTEMBER', '2': 9}, - {'1': 'OCTOBER', '2': 10}, - {'1': 'NOVEMBER', '2': 11}, - {'1': 'DECEMBER', '2': 12}, - ], -}; - -/// Descriptor for `Month`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List monthDescriptor = $convert.base64Decode( - 'CgVNb250aBIVChFNT05USF9VTlNQRUNJRklFRBAAEgsKB0pBTlVBUlkQARIMCghGRUJSVUFSWR' - 'ACEgkKBU1BUkNIEAMSCQoFQVBSSUwQBBIHCgNNQVkQBRIICgRKVU5FEAYSCAoESlVMWRAHEgoK' - 'BkFVR1VTVBAIEg0KCVNFUFRFTUJFUhAJEgsKB09DVE9CRVIQChIMCghOT1ZFTUJFUhALEgwKCE' - 'RFQ0VNQkVSEAw='); - diff --git a/lib/src/gen/google/type/phone_number.pb.dart b/lib/src/gen/google/type/phone_number.pb.dart deleted file mode 100644 index 84f4ac17619..00000000000 --- a/lib/src/gen/google/type/phone_number.pb.dart +++ /dev/null @@ -1,247 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/phone_number.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// An object representing a short code, which is a phone number that is -/// typically much shorter than regular phone numbers and can be used to -/// address messages in MMS and SMS systems, as well as for abbreviated dialing -/// (e.g. "Text 611 to see how many minutes you have remaining on your plan."). -/// -/// Short codes are restricted to a region and are not internationally -/// dialable, which means the same short code can exist in different regions, -/// with different usage and pricing, even if those regions share the same -/// country calling code (e.g. US and CA). -class PhoneNumber_ShortCode extends $pb.GeneratedMessage { - factory PhoneNumber_ShortCode({ - $core.String? regionCode, - $core.String? number, - }) { - final $result = create(); - if (regionCode != null) { - $result.regionCode = regionCode; - } - if (number != null) { - $result.number = number; - } - return $result; - } - PhoneNumber_ShortCode._() : super(); - factory PhoneNumber_ShortCode.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PhoneNumber_ShortCode.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PhoneNumber.ShortCode', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'regionCode') - ..aOS(2, _omitFieldNames ? '' : 'number') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PhoneNumber_ShortCode clone() => PhoneNumber_ShortCode()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PhoneNumber_ShortCode copyWith(void Function(PhoneNumber_ShortCode) updates) => super.copyWith((message) => updates(message as PhoneNumber_ShortCode)) as PhoneNumber_ShortCode; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PhoneNumber_ShortCode create() => PhoneNumber_ShortCode._(); - PhoneNumber_ShortCode createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PhoneNumber_ShortCode getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PhoneNumber_ShortCode? _defaultInstance; - - /// Required. The BCP-47 region code of the location where calls to this - /// short code can be made, such as "US" and "BB". - /// - /// Reference(s): - /// - http://www.unicode.org/reports/tr35/#unicode_region_subtag - @$pb.TagNumber(1) - $core.String get regionCode => $_getSZ(0); - @$pb.TagNumber(1) - set regionCode($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRegionCode() => $_has(0); - @$pb.TagNumber(1) - void clearRegionCode() => clearField(1); - - /// Required. The short code digits, without a leading plus ('+') or country - /// calling code, e.g. "611". - @$pb.TagNumber(2) - $core.String get number => $_getSZ(1); - @$pb.TagNumber(2) - set number($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasNumber() => $_has(1); - @$pb.TagNumber(2) - void clearNumber() => clearField(2); -} - -enum PhoneNumber_Kind { - e164Number, - shortCode, - notSet -} - -/// An object representing a phone number, suitable as an API wire format. -/// -/// This representation: -/// -/// - should not be used for locale-specific formatting of a phone number, such -/// as "+1 (650) 253-0000 ext. 123" -/// -/// - is not designed for efficient storage -/// - may not be suitable for dialing - specialized libraries (see references) -/// should be used to parse the number for that purpose -/// -/// To do something meaningful with this number, such as format it for various -/// use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first. -/// -/// For instance, in Java this would be: -/// -/// com.google.type.PhoneNumber wireProto = -/// com.google.type.PhoneNumber.newBuilder().build(); -/// com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber = -/// PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ"); -/// if (!wireProto.getExtension().isEmpty()) { -/// phoneNumber.setExtension(wireProto.getExtension()); -/// } -/// -/// Reference(s): -/// - https://github.com/google/libphonenumber -class PhoneNumber extends $pb.GeneratedMessage { - factory PhoneNumber({ - $core.String? e164Number, - PhoneNumber_ShortCode? shortCode, - $core.String? extension_3, - }) { - final $result = create(); - if (e164Number != null) { - $result.e164Number = e164Number; - } - if (shortCode != null) { - $result.shortCode = shortCode; - } - if (extension_3 != null) { - $result.extension_3 = extension_3; - } - return $result; - } - PhoneNumber._() : super(); - factory PhoneNumber.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PhoneNumber.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, PhoneNumber_Kind> _PhoneNumber_KindByTag = { - 1 : PhoneNumber_Kind.e164Number, - 2 : PhoneNumber_Kind.shortCode, - 0 : PhoneNumber_Kind.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PhoneNumber', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOS(1, _omitFieldNames ? '' : 'e164Number') - ..aOM(2, _omitFieldNames ? '' : 'shortCode', subBuilder: PhoneNumber_ShortCode.create) - ..aOS(3, _omitFieldNames ? '' : 'extension') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PhoneNumber clone() => PhoneNumber()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PhoneNumber copyWith(void Function(PhoneNumber) updates) => super.copyWith((message) => updates(message as PhoneNumber)) as PhoneNumber; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PhoneNumber create() => PhoneNumber._(); - PhoneNumber createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PhoneNumber getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PhoneNumber? _defaultInstance; - - PhoneNumber_Kind whichKind() => _PhoneNumber_KindByTag[$_whichOneof(0)]!; - void clearKind() => clearField($_whichOneof(0)); - - /// The phone number, represented as a leading plus sign ('+'), followed by a - /// phone number that uses a relaxed ITU E.164 format consisting of the - /// country calling code (1 to 3 digits) and the subscriber number, with no - /// additional spaces or formatting, e.g.: - /// - correct: "+15552220123" - /// - incorrect: "+1 (555) 222-01234 x123". - /// - /// The ITU E.164 format limits the latter to 12 digits, but in practice not - /// all countries respect that, so we relax that restriction here. - /// National-only numbers are not allowed. - /// - /// References: - /// - https://www.itu.int/rec/T-REC-E.164-201011-I - /// - https://en.wikipedia.org/wiki/E.164. - /// - https://en.wikipedia.org/wiki/List_of_country_calling_codes - @$pb.TagNumber(1) - $core.String get e164Number => $_getSZ(0); - @$pb.TagNumber(1) - set e164Number($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasE164Number() => $_has(0); - @$pb.TagNumber(1) - void clearE164Number() => clearField(1); - - /// A short code. - /// - /// Reference(s): - /// - https://en.wikipedia.org/wiki/Short_code - @$pb.TagNumber(2) - PhoneNumber_ShortCode get shortCode => $_getN(1); - @$pb.TagNumber(2) - set shortCode(PhoneNumber_ShortCode v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasShortCode() => $_has(1); - @$pb.TagNumber(2) - void clearShortCode() => clearField(2); - @$pb.TagNumber(2) - PhoneNumber_ShortCode ensureShortCode() => $_ensure(1); - - /// The phone number's extension. The extension is not standardized in ITU - /// recommendations, except for being defined as a series of numbers with a - /// maximum length of 40 digits. Other than digits, some other dialing - /// characters such as ',' (indicating a wait) or '#' may be stored here. - /// - /// Note that no regions currently use extensions with short codes, so this - /// field is normally only set in conjunction with an E.164 number. It is held - /// separately from the E.164 number to allow for short code extensions in the - /// future. - @$pb.TagNumber(3) - $core.String get extension_3 => $_getSZ(2); - @$pb.TagNumber(3) - set extension_3($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasExtension_3() => $_has(2); - @$pb.TagNumber(3) - void clearExtension_3() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/phone_number.pbenum.dart b/lib/src/gen/google/type/phone_number.pbenum.dart deleted file mode 100644 index ff1a1b8b148..00000000000 --- a/lib/src/gen/google/type/phone_number.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/phone_number.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/phone_number.pbjson.dart b/lib/src/gen/google/type/phone_number.pbjson.dart deleted file mode 100644 index ae59afeabf5..00000000000 --- a/lib/src/gen/google/type/phone_number.pbjson.dart +++ /dev/null @@ -1,46 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/phone_number.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use phoneNumberDescriptor instead') -const PhoneNumber$json = { - '1': 'PhoneNumber', - '2': [ - {'1': 'e164_number', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'e164Number'}, - {'1': 'short_code', '3': 2, '4': 1, '5': 11, '6': '.google.type.PhoneNumber.ShortCode', '9': 0, '10': 'shortCode'}, - {'1': 'extension', '3': 3, '4': 1, '5': 9, '10': 'extension'}, - ], - '3': [PhoneNumber_ShortCode$json], - '8': [ - {'1': 'kind'}, - ], -}; - -@$core.Deprecated('Use phoneNumberDescriptor instead') -const PhoneNumber_ShortCode$json = { - '1': 'ShortCode', - '2': [ - {'1': 'region_code', '3': 1, '4': 1, '5': 9, '10': 'regionCode'}, - {'1': 'number', '3': 2, '4': 1, '5': 9, '10': 'number'}, - ], -}; - -/// Descriptor for `PhoneNumber`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List phoneNumberDescriptor = $convert.base64Decode( - 'CgtQaG9uZU51bWJlchIhCgtlMTY0X251bWJlchgBIAEoCUgAUgplMTY0TnVtYmVyEkMKCnNob3' - 'J0X2NvZGUYAiABKAsyIi5nb29nbGUudHlwZS5QaG9uZU51bWJlci5TaG9ydENvZGVIAFIJc2hv' - 'cnRDb2RlEhwKCWV4dGVuc2lvbhgDIAEoCVIJZXh0ZW5zaW9uGkQKCVNob3J0Q29kZRIfCgtyZW' - 'dpb25fY29kZRgBIAEoCVIKcmVnaW9uQ29kZRIWCgZudW1iZXIYAiABKAlSBm51bWJlckIGCgRr' - 'aW5k'); - diff --git a/lib/src/gen/google/type/postal_address.pb.dart b/lib/src/gen/google/type/postal_address.pb.dart deleted file mode 100644 index c13bfd55741..00000000000 --- a/lib/src/gen/google/type/postal_address.pb.dart +++ /dev/null @@ -1,282 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/postal_address.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents a postal address, e.g. for postal delivery or payments addresses. -/// Given a postal address, a postal service can deliver items to a premise, P.O. -/// Box or similar. -/// It is not intended to model geographical locations (roads, towns, -/// mountains). -/// -/// In typical usage an address would be created via user input or from importing -/// existing data, depending on the type of process. -/// -/// Advice on address input / editing: -/// - Use an i18n-ready address widget such as -/// https://github.com/google/libaddressinput) -/// - Users should not be presented with UI elements for input or editing of -/// fields outside countries where that field is used. -/// -/// For more guidance on how to use this schema, please see: -/// https://support.google.com/business/answer/6397478 -class PostalAddress extends $pb.GeneratedMessage { - factory PostalAddress({ - $core.int? revision, - $core.String? regionCode, - $core.String? languageCode, - $core.String? postalCode, - $core.String? sortingCode, - $core.String? administrativeArea, - $core.String? locality, - $core.String? sublocality, - $core.Iterable<$core.String>? addressLines, - $core.Iterable<$core.String>? recipients, - $core.String? organization, - }) { - final $result = create(); - if (revision != null) { - $result.revision = revision; - } - if (regionCode != null) { - $result.regionCode = regionCode; - } - if (languageCode != null) { - $result.languageCode = languageCode; - } - if (postalCode != null) { - $result.postalCode = postalCode; - } - if (sortingCode != null) { - $result.sortingCode = sortingCode; - } - if (administrativeArea != null) { - $result.administrativeArea = administrativeArea; - } - if (locality != null) { - $result.locality = locality; - } - if (sublocality != null) { - $result.sublocality = sublocality; - } - if (addressLines != null) { - $result.addressLines.addAll(addressLines); - } - if (recipients != null) { - $result.recipients.addAll(recipients); - } - if (organization != null) { - $result.organization = organization; - } - return $result; - } - PostalAddress._() : super(); - factory PostalAddress.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PostalAddress.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PostalAddress', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'revision', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'regionCode') - ..aOS(3, _omitFieldNames ? '' : 'languageCode') - ..aOS(4, _omitFieldNames ? '' : 'postalCode') - ..aOS(5, _omitFieldNames ? '' : 'sortingCode') - ..aOS(6, _omitFieldNames ? '' : 'administrativeArea') - ..aOS(7, _omitFieldNames ? '' : 'locality') - ..aOS(8, _omitFieldNames ? '' : 'sublocality') - ..pPS(9, _omitFieldNames ? '' : 'addressLines') - ..pPS(10, _omitFieldNames ? '' : 'recipients') - ..aOS(11, _omitFieldNames ? '' : 'organization') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PostalAddress clone() => PostalAddress()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PostalAddress copyWith(void Function(PostalAddress) updates) => super.copyWith((message) => updates(message as PostalAddress)) as PostalAddress; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PostalAddress create() => PostalAddress._(); - PostalAddress createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PostalAddress getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PostalAddress? _defaultInstance; - - /// The schema revision of the `PostalAddress`. This must be set to 0, which is - /// the latest revision. - /// - /// All new revisions **must** be backward compatible with old revisions. - @$pb.TagNumber(1) - $core.int get revision => $_getIZ(0); - @$pb.TagNumber(1) - set revision($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasRevision() => $_has(0); - @$pb.TagNumber(1) - void clearRevision() => clearField(1); - - /// Required. CLDR region code of the country/region of the address. This - /// is never inferred and it is up to the user to ensure the value is - /// correct. See http://cldr.unicode.org/ and - /// http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html - /// for details. Example: "CH" for Switzerland. - @$pb.TagNumber(2) - $core.String get regionCode => $_getSZ(1); - @$pb.TagNumber(2) - set regionCode($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRegionCode() => $_has(1); - @$pb.TagNumber(2) - void clearRegionCode() => clearField(2); - - /// Optional. BCP-47 language code of the contents of this address (if - /// known). This is often the UI language of the input form or is expected - /// to match one of the languages used in the address' country/region, or their - /// transliterated equivalents. - /// This can affect formatting in certain countries, but is not critical - /// to the correctness of the data and will never affect any validation or - /// other non-formatting related operations. - /// - /// If this value is not known, it should be omitted (rather than specifying a - /// possibly incorrect default). - /// - /// Examples: "zh-Hant", "ja", "ja-Latn", "en". - @$pb.TagNumber(3) - $core.String get languageCode => $_getSZ(2); - @$pb.TagNumber(3) - set languageCode($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLanguageCode() => $_has(2); - @$pb.TagNumber(3) - void clearLanguageCode() => clearField(3); - - /// Optional. Postal code of the address. Not all countries use or require - /// postal codes to be present, but where they are used, they may trigger - /// additional validation with other parts of the address (e.g. state/zip - /// validation in the U.S.A.). - @$pb.TagNumber(4) - $core.String get postalCode => $_getSZ(3); - @$pb.TagNumber(4) - set postalCode($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasPostalCode() => $_has(3); - @$pb.TagNumber(4) - void clearPostalCode() => clearField(4); - - /// Optional. Additional, country-specific, sorting code. This is not used - /// in most regions. Where it is used, the value is either a string like - /// "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number - /// alone, representing the "sector code" (Jamaica), "delivery area indicator" - /// (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). - @$pb.TagNumber(5) - $core.String get sortingCode => $_getSZ(4); - @$pb.TagNumber(5) - set sortingCode($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasSortingCode() => $_has(4); - @$pb.TagNumber(5) - void clearSortingCode() => clearField(5); - - /// Optional. Highest administrative subdivision which is used for postal - /// addresses of a country or region. - /// For example, this can be a state, a province, an oblast, or a prefecture. - /// Specifically, for Spain this is the province and not the autonomous - /// community (e.g. "Barcelona" and not "Catalonia"). - /// Many countries don't use an administrative area in postal addresses. E.g. - /// in Switzerland this should be left unpopulated. - @$pb.TagNumber(6) - $core.String get administrativeArea => $_getSZ(5); - @$pb.TagNumber(6) - set administrativeArea($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasAdministrativeArea() => $_has(5); - @$pb.TagNumber(6) - void clearAdministrativeArea() => clearField(6); - - /// Optional. Generally refers to the city/town portion of the address. - /// Examples: US city, IT comune, UK post town. - /// In regions of the world where localities are not well defined or do not fit - /// into this structure well, leave locality empty and use address_lines. - @$pb.TagNumber(7) - $core.String get locality => $_getSZ(6); - @$pb.TagNumber(7) - set locality($core.String v) { $_setString(6, v); } - @$pb.TagNumber(7) - $core.bool hasLocality() => $_has(6); - @$pb.TagNumber(7) - void clearLocality() => clearField(7); - - /// Optional. Sublocality of the address. - /// For example, this can be neighborhoods, boroughs, districts. - @$pb.TagNumber(8) - $core.String get sublocality => $_getSZ(7); - @$pb.TagNumber(8) - set sublocality($core.String v) { $_setString(7, v); } - @$pb.TagNumber(8) - $core.bool hasSublocality() => $_has(7); - @$pb.TagNumber(8) - void clearSublocality() => clearField(8); - - /// Unstructured address lines describing the lower levels of an address. - /// - /// Because values in address_lines do not have type information and may - /// sometimes contain multiple values in a single field (e.g. - /// "Austin, TX"), it is important that the line order is clear. The order of - /// address lines should be "envelope order" for the country/region of the - /// address. In places where this can vary (e.g. Japan), address_language is - /// used to make it explicit (e.g. "ja" for large-to-small ordering and - /// "ja-Latn" or "en" for small-to-large). This way, the most specific line of - /// an address can be selected based on the language. - /// - /// The minimum permitted structural representation of an address consists - /// of a region_code with all remaining information placed in the - /// address_lines. It would be possible to format such an address very - /// approximately without geocoding, but no semantic reasoning could be - /// made about any of the address components until it was at least - /// partially resolved. - /// - /// Creating an address only containing a region_code and address_lines, and - /// then geocoding is the recommended way to handle completely unstructured - /// addresses (as opposed to guessing which parts of the address should be - /// localities or administrative areas). - @$pb.TagNumber(9) - $core.List<$core.String> get addressLines => $_getList(8); - - /// Optional. The recipient at the address. - /// This field may, under certain circumstances, contain multiline information. - /// For example, it might contain "care of" information. - @$pb.TagNumber(10) - $core.List<$core.String> get recipients => $_getList(9); - - /// Optional. The name of the organization at the address. - @$pb.TagNumber(11) - $core.String get organization => $_getSZ(10); - @$pb.TagNumber(11) - set organization($core.String v) { $_setString(10, v); } - @$pb.TagNumber(11) - $core.bool hasOrganization() => $_has(10); - @$pb.TagNumber(11) - void clearOrganization() => clearField(11); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/postal_address.pbenum.dart b/lib/src/gen/google/type/postal_address.pbenum.dart deleted file mode 100644 index 824aaf9fc79..00000000000 --- a/lib/src/gen/google/type/postal_address.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/postal_address.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/postal_address.pbjson.dart b/lib/src/gen/google/type/postal_address.pbjson.dart deleted file mode 100644 index 5b9c933b2fe..00000000000 --- a/lib/src/gen/google/type/postal_address.pbjson.dart +++ /dev/null @@ -1,44 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/postal_address.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use postalAddressDescriptor instead') -const PostalAddress$json = { - '1': 'PostalAddress', - '2': [ - {'1': 'revision', '3': 1, '4': 1, '5': 5, '10': 'revision'}, - {'1': 'region_code', '3': 2, '4': 1, '5': 9, '10': 'regionCode'}, - {'1': 'language_code', '3': 3, '4': 1, '5': 9, '10': 'languageCode'}, - {'1': 'postal_code', '3': 4, '4': 1, '5': 9, '10': 'postalCode'}, - {'1': 'sorting_code', '3': 5, '4': 1, '5': 9, '10': 'sortingCode'}, - {'1': 'administrative_area', '3': 6, '4': 1, '5': 9, '10': 'administrativeArea'}, - {'1': 'locality', '3': 7, '4': 1, '5': 9, '10': 'locality'}, - {'1': 'sublocality', '3': 8, '4': 1, '5': 9, '10': 'sublocality'}, - {'1': 'address_lines', '3': 9, '4': 3, '5': 9, '10': 'addressLines'}, - {'1': 'recipients', '3': 10, '4': 3, '5': 9, '10': 'recipients'}, - {'1': 'organization', '3': 11, '4': 1, '5': 9, '10': 'organization'}, - ], -}; - -/// Descriptor for `PostalAddress`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List postalAddressDescriptor = $convert.base64Decode( - 'Cg1Qb3N0YWxBZGRyZXNzEhoKCHJldmlzaW9uGAEgASgFUghyZXZpc2lvbhIfCgtyZWdpb25fY2' - '9kZRgCIAEoCVIKcmVnaW9uQ29kZRIjCg1sYW5ndWFnZV9jb2RlGAMgASgJUgxsYW5ndWFnZUNv' - 'ZGUSHwoLcG9zdGFsX2NvZGUYBCABKAlSCnBvc3RhbENvZGUSIQoMc29ydGluZ19jb2RlGAUgAS' - 'gJUgtzb3J0aW5nQ29kZRIvChNhZG1pbmlzdHJhdGl2ZV9hcmVhGAYgASgJUhJhZG1pbmlzdHJh' - 'dGl2ZUFyZWESGgoIbG9jYWxpdHkYByABKAlSCGxvY2FsaXR5EiAKC3N1YmxvY2FsaXR5GAggAS' - 'gJUgtzdWJsb2NhbGl0eRIjCg1hZGRyZXNzX2xpbmVzGAkgAygJUgxhZGRyZXNzTGluZXMSHgoK' - 'cmVjaXBpZW50cxgKIAMoCVIKcmVjaXBpZW50cxIiCgxvcmdhbml6YXRpb24YCyABKAlSDG9yZ2' - 'FuaXphdGlvbg=='); - diff --git a/lib/src/gen/google/type/quaternion.pb.dart b/lib/src/gen/google/type/quaternion.pb.dart deleted file mode 100644 index 18c85bf9563..00000000000 --- a/lib/src/gen/google/type/quaternion.pb.dart +++ /dev/null @@ -1,169 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/quaternion.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// A quaternion is defined as the quotient of two directed lines in a -/// three-dimensional space or equivalently as the quotient of two Euclidean -/// vectors (https://en.wikipedia.org/wiki/Quaternion). -/// -/// Quaternions are often used in calculations involving three-dimensional -/// rotations (https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation), -/// as they provide greater mathematical robustness by avoiding the gimbal lock -/// problems that can be encountered when using Euler angles -/// (https://en.wikipedia.org/wiki/Gimbal_lock). -/// -/// Quaternions are generally represented in this form: -/// -/// w + xi + yj + zk -/// -/// where x, y, z, and w are real numbers, and i, j, and k are three imaginary -/// numbers. -/// -/// Our naming choice `(x, y, z, w)` comes from the desire to avoid confusion for -/// those interested in the geometric properties of the quaternion in the 3D -/// Cartesian space. Other texts often use alternative names or subscripts, such -/// as `(a, b, c, d)`, `(1, i, j, k)`, or `(0, 1, 2, 3)`, which are perhaps -/// better suited for mathematical interpretations. -/// -/// To avoid any confusion, as well as to maintain compatibility with a large -/// number of software libraries, the quaternions represented using the protocol -/// buffer below *must* follow the Hamilton convention, which defines `ij = k` -/// (i.e. a right-handed algebra), and therefore: -/// -/// i^2 = j^2 = k^2 = ijk = −1 -/// ij = −ji = k -/// jk = −kj = i -/// ki = −ik = j -/// -/// Please DO NOT use this to represent quaternions that follow the JPL -/// convention, or any of the other quaternion flavors out there. -/// -/// Definitions: -/// -/// - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`. -/// - Unit (or normalized) quaternion: a quaternion whose norm is 1. -/// - Pure quaternion: a quaternion whose scalar component (`w`) is 0. -/// - Rotation quaternion: a unit quaternion used to represent rotation. -/// - Orientation quaternion: a unit quaternion used to represent orientation. -/// -/// A quaternion can be normalized by dividing it by its norm. The resulting -/// quaternion maintains the same direction, but has a norm of 1, i.e. it moves -/// on the unit sphere. This is generally necessary for rotation and orientation -/// quaternions, to avoid rounding errors: -/// https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions -/// -/// Note that `(x, y, z, w)` and `(-x, -y, -z, -w)` represent the same rotation, -/// but normalization would be even more useful, e.g. for comparison purposes, if -/// it would produce a unique representation. It is thus recommended that `w` be -/// kept positive, which can be achieved by changing all the signs when `w` is -/// negative. -class Quaternion extends $pb.GeneratedMessage { - factory Quaternion({ - $core.double? x, - $core.double? y, - $core.double? z, - $core.double? w, - }) { - final $result = create(); - if (x != null) { - $result.x = x; - } - if (y != null) { - $result.y = y; - } - if (z != null) { - $result.z = z; - } - if (w != null) { - $result.w = w; - } - return $result; - } - Quaternion._() : super(); - factory Quaternion.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Quaternion.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Quaternion', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'x', $pb.PbFieldType.OD) - ..a<$core.double>(2, _omitFieldNames ? '' : 'y', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'z', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'w', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Quaternion clone() => Quaternion()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Quaternion copyWith(void Function(Quaternion) updates) => super.copyWith((message) => updates(message as Quaternion)) as Quaternion; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Quaternion create() => Quaternion._(); - Quaternion createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Quaternion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Quaternion? _defaultInstance; - - /// The x component. - @$pb.TagNumber(1) - $core.double get x => $_getN(0); - @$pb.TagNumber(1) - set x($core.double v) { $_setDouble(0, v); } - @$pb.TagNumber(1) - $core.bool hasX() => $_has(0); - @$pb.TagNumber(1) - void clearX() => clearField(1); - - /// The y component. - @$pb.TagNumber(2) - $core.double get y => $_getN(1); - @$pb.TagNumber(2) - set y($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasY() => $_has(1); - @$pb.TagNumber(2) - void clearY() => clearField(2); - - /// The z component. - @$pb.TagNumber(3) - $core.double get z => $_getN(2); - @$pb.TagNumber(3) - set z($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasZ() => $_has(2); - @$pb.TagNumber(3) - void clearZ() => clearField(3); - - /// The scalar component. - @$pb.TagNumber(4) - $core.double get w => $_getN(3); - @$pb.TagNumber(4) - set w($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasW() => $_has(3); - @$pb.TagNumber(4) - void clearW() => clearField(4); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/quaternion.pbenum.dart b/lib/src/gen/google/type/quaternion.pbenum.dart deleted file mode 100644 index f4efbdda76e..00000000000 --- a/lib/src/gen/google/type/quaternion.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/quaternion.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/quaternion.pbjson.dart b/lib/src/gen/google/type/quaternion.pbjson.dart deleted file mode 100644 index be9421c1b25..00000000000 --- a/lib/src/gen/google/type/quaternion.pbjson.dart +++ /dev/null @@ -1,31 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/quaternion.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use quaternionDescriptor instead') -const Quaternion$json = { - '1': 'Quaternion', - '2': [ - {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, - {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, - {'1': 'z', '3': 3, '4': 1, '5': 1, '10': 'z'}, - {'1': 'w', '3': 4, '4': 1, '5': 1, '10': 'w'}, - ], -}; - -/// Descriptor for `Quaternion`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List quaternionDescriptor = $convert.base64Decode( - 'CgpRdWF0ZXJuaW9uEgwKAXgYASABKAFSAXgSDAoBeRgCIAEoAVIBeRIMCgF6GAMgASgBUgF6Eg' - 'wKAXcYBCABKAFSAXc='); - diff --git a/lib/src/gen/google/type/timeofday.pb.dart b/lib/src/gen/google/type/timeofday.pb.dart deleted file mode 100644 index 08987704855..00000000000 --- a/lib/src/gen/google/type/timeofday.pb.dart +++ /dev/null @@ -1,120 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/timeofday.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Represents a time of day. The date and time zone are either not significant -/// or are specified elsewhere. An API may choose to allow leap seconds. Related -/// types are [google.type.Date][google.type.Date] and -/// `google.protobuf.Timestamp`. -class TimeOfDay extends $pb.GeneratedMessage { - factory TimeOfDay({ - $core.int? hours, - $core.int? minutes, - $core.int? seconds, - $core.int? nanos, - }) { - final $result = create(); - if (hours != null) { - $result.hours = hours; - } - if (minutes != null) { - $result.minutes = minutes; - } - if (seconds != null) { - $result.seconds = seconds; - } - if (nanos != null) { - $result.nanos = nanos; - } - return $result; - } - TimeOfDay._() : super(); - factory TimeOfDay.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TimeOfDay.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimeOfDay', package: const $pb.PackageName(_omitMessageNames ? '' : 'google.type'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'hours', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'minutes', $pb.PbFieldType.O3) - ..a<$core.int>(3, _omitFieldNames ? '' : 'seconds', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'nanos', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TimeOfDay clone() => TimeOfDay()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TimeOfDay copyWith(void Function(TimeOfDay) updates) => super.copyWith((message) => updates(message as TimeOfDay)) as TimeOfDay; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TimeOfDay create() => TimeOfDay._(); - TimeOfDay createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TimeOfDay getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TimeOfDay? _defaultInstance; - - /// Hours of day in 24 hour format. Should be from 0 to 23. An API may choose - /// to allow the value "24:00:00" for scenarios like business closing time. - @$pb.TagNumber(1) - $core.int get hours => $_getIZ(0); - @$pb.TagNumber(1) - set hours($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasHours() => $_has(0); - @$pb.TagNumber(1) - void clearHours() => clearField(1); - - /// Minutes of hour of day. Must be from 0 to 59. - @$pb.TagNumber(2) - $core.int get minutes => $_getIZ(1); - @$pb.TagNumber(2) - set minutes($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasMinutes() => $_has(1); - @$pb.TagNumber(2) - void clearMinutes() => clearField(2); - - /// Seconds of minutes of the time. Must normally be from 0 to 59. An API may - /// allow the value 60 if it allows leap-seconds. - @$pb.TagNumber(3) - $core.int get seconds => $_getIZ(2); - @$pb.TagNumber(3) - set seconds($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasSeconds() => $_has(2); - @$pb.TagNumber(3) - void clearSeconds() => clearField(3); - - /// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. - @$pb.TagNumber(4) - $core.int get nanos => $_getIZ(3); - @$pb.TagNumber(4) - set nanos($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasNanos() => $_has(3); - @$pb.TagNumber(4) - void clearNanos() => clearField(4); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/google/type/timeofday.pbenum.dart b/lib/src/gen/google/type/timeofday.pbenum.dart deleted file mode 100644 index b8fbc22ea49..00000000000 --- a/lib/src/gen/google/type/timeofday.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/timeofday.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/google/type/timeofday.pbjson.dart b/lib/src/gen/google/type/timeofday.pbjson.dart deleted file mode 100644 index a83327169ea..00000000000 --- a/lib/src/gen/google/type/timeofday.pbjson.dart +++ /dev/null @@ -1,31 +0,0 @@ -// -// Generated code. Do not modify. -// source: google/type/timeofday.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use timeOfDayDescriptor instead') -const TimeOfDay$json = { - '1': 'TimeOfDay', - '2': [ - {'1': 'hours', '3': 1, '4': 1, '5': 5, '10': 'hours'}, - {'1': 'minutes', '3': 2, '4': 1, '5': 5, '10': 'minutes'}, - {'1': 'seconds', '3': 3, '4': 1, '5': 5, '10': 'seconds'}, - {'1': 'nanos', '3': 4, '4': 1, '5': 5, '10': 'nanos'}, - ], -}; - -/// Descriptor for `TimeOfDay`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List timeOfDayDescriptor = $convert.base64Decode( - 'CglUaW1lT2ZEYXkSFAoFaG91cnMYASABKAVSBWhvdXJzEhgKB21pbnV0ZXMYAiABKAVSB21pbn' - 'V0ZXMSGAoHc2Vjb25kcxgDIAEoBVIHc2Vjb25kcxIUCgVuYW5vcxgEIAEoBVIFbmFub3M='); - diff --git a/lib/src/gen/grpc/reflection/v1/reflection.pb.dart b/lib/src/gen/grpc/reflection/v1/reflection.pb.dart deleted file mode 100644 index 0bdb7b44f39..00000000000 --- a/lib/src/gen/grpc/reflection/v1/reflection.pb.dart +++ /dev/null @@ -1,683 +0,0 @@ -// -// Generated code. Do not modify. -// source: grpc/reflection/v1/reflection.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -enum ServerReflectionRequest_MessageRequest { - fileByFilename, - fileContainingSymbol, - fileContainingExtension, - allExtensionNumbersOfType, - listServices, - notSet -} - -/// The message sent by the client when calling ServerReflectionInfo method. -class ServerReflectionRequest extends $pb.GeneratedMessage { - factory ServerReflectionRequest({ - $core.String? host, - $core.String? fileByFilename, - $core.String? fileContainingSymbol, - ExtensionRequest? fileContainingExtension, - $core.String? allExtensionNumbersOfType, - $core.String? listServices, - }) { - final $result = create(); - if (host != null) { - $result.host = host; - } - if (fileByFilename != null) { - $result.fileByFilename = fileByFilename; - } - if (fileContainingSymbol != null) { - $result.fileContainingSymbol = fileContainingSymbol; - } - if (fileContainingExtension != null) { - $result.fileContainingExtension = fileContainingExtension; - } - if (allExtensionNumbersOfType != null) { - $result.allExtensionNumbersOfType = allExtensionNumbersOfType; - } - if (listServices != null) { - $result.listServices = listServices; - } - return $result; - } - ServerReflectionRequest._() : super(); - factory ServerReflectionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ServerReflectionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, ServerReflectionRequest_MessageRequest> _ServerReflectionRequest_MessageRequestByTag = { - 3 : ServerReflectionRequest_MessageRequest.fileByFilename, - 4 : ServerReflectionRequest_MessageRequest.fileContainingSymbol, - 5 : ServerReflectionRequest_MessageRequest.fileContainingExtension, - 6 : ServerReflectionRequest_MessageRequest.allExtensionNumbersOfType, - 7 : ServerReflectionRequest_MessageRequest.listServices, - 0 : ServerReflectionRequest_MessageRequest.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServerReflectionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..oo(0, [3, 4, 5, 6, 7]) - ..aOS(1, _omitFieldNames ? '' : 'host') - ..aOS(3, _omitFieldNames ? '' : 'fileByFilename') - ..aOS(4, _omitFieldNames ? '' : 'fileContainingSymbol') - ..aOM(5, _omitFieldNames ? '' : 'fileContainingExtension', subBuilder: ExtensionRequest.create) - ..aOS(6, _omitFieldNames ? '' : 'allExtensionNumbersOfType') - ..aOS(7, _omitFieldNames ? '' : 'listServices') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ServerReflectionRequest clone() => ServerReflectionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ServerReflectionRequest copyWith(void Function(ServerReflectionRequest) updates) => super.copyWith((message) => updates(message as ServerReflectionRequest)) as ServerReflectionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ServerReflectionRequest create() => ServerReflectionRequest._(); - ServerReflectionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ServerReflectionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ServerReflectionRequest? _defaultInstance; - - ServerReflectionRequest_MessageRequest whichMessageRequest() => _ServerReflectionRequest_MessageRequestByTag[$_whichOneof(0)]!; - void clearMessageRequest() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - $core.String get host => $_getSZ(0); - @$pb.TagNumber(1) - set host($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasHost() => $_has(0); - @$pb.TagNumber(1) - void clearHost() => clearField(1); - - /// Find a proto file by the file name. - @$pb.TagNumber(3) - $core.String get fileByFilename => $_getSZ(1); - @$pb.TagNumber(3) - set fileByFilename($core.String v) { $_setString(1, v); } - @$pb.TagNumber(3) - $core.bool hasFileByFilename() => $_has(1); - @$pb.TagNumber(3) - void clearFileByFilename() => clearField(3); - - /// Find the proto file that declares the given fully-qualified symbol name. - /// This field should be a fully-qualified symbol name - /// (e.g. .[.] or .). - @$pb.TagNumber(4) - $core.String get fileContainingSymbol => $_getSZ(2); - @$pb.TagNumber(4) - set fileContainingSymbol($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasFileContainingSymbol() => $_has(2); - @$pb.TagNumber(4) - void clearFileContainingSymbol() => clearField(4); - - /// Find the proto file which defines an extension extending the given - /// message type with the given field number. - @$pb.TagNumber(5) - ExtensionRequest get fileContainingExtension => $_getN(3); - @$pb.TagNumber(5) - set fileContainingExtension(ExtensionRequest v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasFileContainingExtension() => $_has(3); - @$pb.TagNumber(5) - void clearFileContainingExtension() => clearField(5); - @$pb.TagNumber(5) - ExtensionRequest ensureFileContainingExtension() => $_ensure(3); - - /// Finds the tag numbers used by all known extensions of the given message - /// type, and appends them to ExtensionNumberResponse in an undefined order. - /// Its corresponding method is best-effort: it's not guaranteed that the - /// reflection service will implement this method, and it's not guaranteed - /// that this method will provide all extensions. Returns - /// StatusCode::UNIMPLEMENTED if it's not implemented. - /// This field should be a fully-qualified type name. The format is - /// . - @$pb.TagNumber(6) - $core.String get allExtensionNumbersOfType => $_getSZ(4); - @$pb.TagNumber(6) - set allExtensionNumbersOfType($core.String v) { $_setString(4, v); } - @$pb.TagNumber(6) - $core.bool hasAllExtensionNumbersOfType() => $_has(4); - @$pb.TagNumber(6) - void clearAllExtensionNumbersOfType() => clearField(6); - - /// List the full names of registered services. The content will not be - /// checked. - @$pb.TagNumber(7) - $core.String get listServices => $_getSZ(5); - @$pb.TagNumber(7) - set listServices($core.String v) { $_setString(5, v); } - @$pb.TagNumber(7) - $core.bool hasListServices() => $_has(5); - @$pb.TagNumber(7) - void clearListServices() => clearField(7); -} - -/// The type name and extension number sent by the client when requesting -/// file_containing_extension. -class ExtensionRequest extends $pb.GeneratedMessage { - factory ExtensionRequest({ - $core.String? containingType, - $core.int? extensionNumber, - }) { - final $result = create(); - if (containingType != null) { - $result.containingType = containingType; - } - if (extensionNumber != null) { - $result.extensionNumber = extensionNumber; - } - return $result; - } - ExtensionRequest._() : super(); - factory ExtensionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExtensionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'containingType') - ..a<$core.int>(2, _omitFieldNames ? '' : 'extensionNumber', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExtensionRequest clone() => ExtensionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExtensionRequest copyWith(void Function(ExtensionRequest) updates) => super.copyWith((message) => updates(message as ExtensionRequest)) as ExtensionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExtensionRequest create() => ExtensionRequest._(); - ExtensionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExtensionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExtensionRequest? _defaultInstance; - - /// Fully-qualified type name. The format should be . - @$pb.TagNumber(1) - $core.String get containingType => $_getSZ(0); - @$pb.TagNumber(1) - set containingType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasContainingType() => $_has(0); - @$pb.TagNumber(1) - void clearContainingType() => clearField(1); - - @$pb.TagNumber(2) - $core.int get extensionNumber => $_getIZ(1); - @$pb.TagNumber(2) - set extensionNumber($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasExtensionNumber() => $_has(1); - @$pb.TagNumber(2) - void clearExtensionNumber() => clearField(2); -} - -enum ServerReflectionResponse_MessageResponse { - fileDescriptorResponse, - allExtensionNumbersResponse, - listServicesResponse, - errorResponse, - notSet -} - -/// The message sent by the server to answer ServerReflectionInfo method. -class ServerReflectionResponse extends $pb.GeneratedMessage { - factory ServerReflectionResponse({ - $core.String? validHost, - ServerReflectionRequest? originalRequest, - FileDescriptorResponse? fileDescriptorResponse, - ExtensionNumberResponse? allExtensionNumbersResponse, - ListServiceResponse? listServicesResponse, - ErrorResponse? errorResponse, - }) { - final $result = create(); - if (validHost != null) { - $result.validHost = validHost; - } - if (originalRequest != null) { - $result.originalRequest = originalRequest; - } - if (fileDescriptorResponse != null) { - $result.fileDescriptorResponse = fileDescriptorResponse; - } - if (allExtensionNumbersResponse != null) { - $result.allExtensionNumbersResponse = allExtensionNumbersResponse; - } - if (listServicesResponse != null) { - $result.listServicesResponse = listServicesResponse; - } - if (errorResponse != null) { - $result.errorResponse = errorResponse; - } - return $result; - } - ServerReflectionResponse._() : super(); - factory ServerReflectionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ServerReflectionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, ServerReflectionResponse_MessageResponse> _ServerReflectionResponse_MessageResponseByTag = { - 4 : ServerReflectionResponse_MessageResponse.fileDescriptorResponse, - 5 : ServerReflectionResponse_MessageResponse.allExtensionNumbersResponse, - 6 : ServerReflectionResponse_MessageResponse.listServicesResponse, - 7 : ServerReflectionResponse_MessageResponse.errorResponse, - 0 : ServerReflectionResponse_MessageResponse.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServerReflectionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..oo(0, [4, 5, 6, 7]) - ..aOS(1, _omitFieldNames ? '' : 'validHost') - ..aOM(2, _omitFieldNames ? '' : 'originalRequest', subBuilder: ServerReflectionRequest.create) - ..aOM(4, _omitFieldNames ? '' : 'fileDescriptorResponse', subBuilder: FileDescriptorResponse.create) - ..aOM(5, _omitFieldNames ? '' : 'allExtensionNumbersResponse', subBuilder: ExtensionNumberResponse.create) - ..aOM(6, _omitFieldNames ? '' : 'listServicesResponse', subBuilder: ListServiceResponse.create) - ..aOM(7, _omitFieldNames ? '' : 'errorResponse', subBuilder: ErrorResponse.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ServerReflectionResponse clone() => ServerReflectionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ServerReflectionResponse copyWith(void Function(ServerReflectionResponse) updates) => super.copyWith((message) => updates(message as ServerReflectionResponse)) as ServerReflectionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ServerReflectionResponse create() => ServerReflectionResponse._(); - ServerReflectionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ServerReflectionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ServerReflectionResponse? _defaultInstance; - - ServerReflectionResponse_MessageResponse whichMessageResponse() => _ServerReflectionResponse_MessageResponseByTag[$_whichOneof(0)]!; - void clearMessageResponse() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - $core.String get validHost => $_getSZ(0); - @$pb.TagNumber(1) - set validHost($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasValidHost() => $_has(0); - @$pb.TagNumber(1) - void clearValidHost() => clearField(1); - - @$pb.TagNumber(2) - ServerReflectionRequest get originalRequest => $_getN(1); - @$pb.TagNumber(2) - set originalRequest(ServerReflectionRequest v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasOriginalRequest() => $_has(1); - @$pb.TagNumber(2) - void clearOriginalRequest() => clearField(2); - @$pb.TagNumber(2) - ServerReflectionRequest ensureOriginalRequest() => $_ensure(1); - - /// This message is used to answer file_by_filename, file_containing_symbol, - /// file_containing_extension requests with transitive dependencies. - /// As the repeated label is not allowed in oneof fields, we use a - /// FileDescriptorResponse message to encapsulate the repeated fields. - /// The reflection service is allowed to avoid sending FileDescriptorProtos - /// that were previously sent in response to earlier requests in the stream. - @$pb.TagNumber(4) - FileDescriptorResponse get fileDescriptorResponse => $_getN(2); - @$pb.TagNumber(4) - set fileDescriptorResponse(FileDescriptorResponse v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasFileDescriptorResponse() => $_has(2); - @$pb.TagNumber(4) - void clearFileDescriptorResponse() => clearField(4); - @$pb.TagNumber(4) - FileDescriptorResponse ensureFileDescriptorResponse() => $_ensure(2); - - /// This message is used to answer all_extension_numbers_of_type requests. - @$pb.TagNumber(5) - ExtensionNumberResponse get allExtensionNumbersResponse => $_getN(3); - @$pb.TagNumber(5) - set allExtensionNumbersResponse(ExtensionNumberResponse v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasAllExtensionNumbersResponse() => $_has(3); - @$pb.TagNumber(5) - void clearAllExtensionNumbersResponse() => clearField(5); - @$pb.TagNumber(5) - ExtensionNumberResponse ensureAllExtensionNumbersResponse() => $_ensure(3); - - /// This message is used to answer list_services requests. - @$pb.TagNumber(6) - ListServiceResponse get listServicesResponse => $_getN(4); - @$pb.TagNumber(6) - set listServicesResponse(ListServiceResponse v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasListServicesResponse() => $_has(4); - @$pb.TagNumber(6) - void clearListServicesResponse() => clearField(6); - @$pb.TagNumber(6) - ListServiceResponse ensureListServicesResponse() => $_ensure(4); - - /// This message is used when an error occurs. - @$pb.TagNumber(7) - ErrorResponse get errorResponse => $_getN(5); - @$pb.TagNumber(7) - set errorResponse(ErrorResponse v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasErrorResponse() => $_has(5); - @$pb.TagNumber(7) - void clearErrorResponse() => clearField(7); - @$pb.TagNumber(7) - ErrorResponse ensureErrorResponse() => $_ensure(5); -} - -/// Serialized FileDescriptorProto messages sent by the server answering -/// a file_by_filename, file_containing_symbol, or file_containing_extension -/// request. -class FileDescriptorResponse extends $pb.GeneratedMessage { - factory FileDescriptorResponse({ - $core.Iterable<$core.List<$core.int>>? fileDescriptorProto, - }) { - final $result = create(); - if (fileDescriptorProto != null) { - $result.fileDescriptorProto.addAll(fileDescriptorProto); - } - return $result; - } - FileDescriptorResponse._() : super(); - factory FileDescriptorResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileDescriptorResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileDescriptorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..p<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'fileDescriptorProto', $pb.PbFieldType.PY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileDescriptorResponse clone() => FileDescriptorResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileDescriptorResponse copyWith(void Function(FileDescriptorResponse) updates) => super.copyWith((message) => updates(message as FileDescriptorResponse)) as FileDescriptorResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileDescriptorResponse create() => FileDescriptorResponse._(); - FileDescriptorResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileDescriptorResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileDescriptorResponse? _defaultInstance; - - /// Serialized FileDescriptorProto messages. We avoid taking a dependency on - /// descriptor.proto, which uses proto2 only features, by making them opaque - /// bytes instead. - @$pb.TagNumber(1) - $core.List<$core.List<$core.int>> get fileDescriptorProto => $_getList(0); -} - -/// A list of extension numbers sent by the server answering -/// all_extension_numbers_of_type request. -class ExtensionNumberResponse extends $pb.GeneratedMessage { - factory ExtensionNumberResponse({ - $core.String? baseTypeName, - $core.Iterable<$core.int>? extensionNumber, - }) { - final $result = create(); - if (baseTypeName != null) { - $result.baseTypeName = baseTypeName; - } - if (extensionNumber != null) { - $result.extensionNumber.addAll(extensionNumber); - } - return $result; - } - ExtensionNumberResponse._() : super(); - factory ExtensionNumberResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ExtensionNumberResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtensionNumberResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'baseTypeName') - ..p<$core.int>(2, _omitFieldNames ? '' : 'extensionNumber', $pb.PbFieldType.K3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ExtensionNumberResponse clone() => ExtensionNumberResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ExtensionNumberResponse copyWith(void Function(ExtensionNumberResponse) updates) => super.copyWith((message) => updates(message as ExtensionNumberResponse)) as ExtensionNumberResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ExtensionNumberResponse create() => ExtensionNumberResponse._(); - ExtensionNumberResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ExtensionNumberResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ExtensionNumberResponse? _defaultInstance; - - /// Full name of the base type, including the package name. The format - /// is . - @$pb.TagNumber(1) - $core.String get baseTypeName => $_getSZ(0); - @$pb.TagNumber(1) - set baseTypeName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasBaseTypeName() => $_has(0); - @$pb.TagNumber(1) - void clearBaseTypeName() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$core.int> get extensionNumber => $_getList(1); -} - -/// A list of ServiceResponse sent by the server answering list_services request. -class ListServiceResponse extends $pb.GeneratedMessage { - factory ListServiceResponse({ - $core.Iterable? service, - }) { - final $result = create(); - if (service != null) { - $result.service.addAll(service); - } - return $result; - } - ListServiceResponse._() : super(); - factory ListServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'service', $pb.PbFieldType.PM, subBuilder: ServiceResponse.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListServiceResponse clone() => ListServiceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListServiceResponse copyWith(void Function(ListServiceResponse) updates) => super.copyWith((message) => updates(message as ListServiceResponse)) as ListServiceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListServiceResponse create() => ListServiceResponse._(); - ListServiceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListServiceResponse? _defaultInstance; - - /// The information of each service may be expanded in the future, so we use - /// ServiceResponse message to encapsulate it. - @$pb.TagNumber(1) - $core.List get service => $_getList(0); -} - -/// The information of a single service used by ListServiceResponse to answer -/// list_services request. -class ServiceResponse extends $pb.GeneratedMessage { - factory ServiceResponse({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - ServiceResponse._() : super(); - factory ServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ServiceResponse clone() => ServiceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ServiceResponse copyWith(void Function(ServiceResponse) updates) => super.copyWith((message) => updates(message as ServiceResponse)) as ServiceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ServiceResponse create() => ServiceResponse._(); - ServiceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ServiceResponse? _defaultInstance; - - /// Full name of a registered service, including its package name. The format - /// is . - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// The error code and error message sent by the server when an error occurs. -class ErrorResponse extends $pb.GeneratedMessage { - factory ErrorResponse({ - $core.int? errorCode, - $core.String? errorMessage, - }) { - final $result = create(); - if (errorCode != null) { - $result.errorCode = errorCode; - } - if (errorMessage != null) { - $result.errorMessage = errorMessage; - } - return $result; - } - ErrorResponse._() : super(); - factory ErrorResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ErrorResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ErrorResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'grpc.reflection.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'errorCode', $pb.PbFieldType.O3) - ..aOS(2, _omitFieldNames ? '' : 'errorMessage') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ErrorResponse clone() => ErrorResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ErrorResponse copyWith(void Function(ErrorResponse) updates) => super.copyWith((message) => updates(message as ErrorResponse)) as ErrorResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ErrorResponse create() => ErrorResponse._(); - ErrorResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ErrorResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ErrorResponse? _defaultInstance; - - /// This field uses the error codes defined in grpc::StatusCode. - @$pb.TagNumber(1) - $core.int get errorCode => $_getIZ(0); - @$pb.TagNumber(1) - set errorCode($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasErrorCode() => $_has(0); - @$pb.TagNumber(1) - void clearErrorCode() => clearField(1); - - @$pb.TagNumber(2) - $core.String get errorMessage => $_getSZ(1); - @$pb.TagNumber(2) - set errorMessage($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasErrorMessage() => $_has(1); - @$pb.TagNumber(2) - void clearErrorMessage() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/grpc/reflection/v1/reflection.pbenum.dart b/lib/src/gen/grpc/reflection/v1/reflection.pbenum.dart deleted file mode 100644 index d7741c4c109..00000000000 --- a/lib/src/gen/grpc/reflection/v1/reflection.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: grpc/reflection/v1/reflection.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/grpc/reflection/v1/reflection.pbgrpc.dart b/lib/src/gen/grpc/reflection/v1/reflection.pbgrpc.dart deleted file mode 100644 index 5a7d5be0381..00000000000 --- a/lib/src/gen/grpc/reflection/v1/reflection.pbgrpc.dart +++ /dev/null @@ -1,55 +0,0 @@ -// -// Generated code. Do not modify. -// source: grpc/reflection/v1/reflection.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'reflection.pb.dart' as $0; - -export 'reflection.pb.dart'; - -@$pb.GrpcServiceName('grpc.reflection.v1.ServerReflection') -class ServerReflectionClient extends $grpc.Client { - static final _$serverReflectionInfo = $grpc.ClientMethod<$0.ServerReflectionRequest, $0.ServerReflectionResponse>( - '/grpc.reflection.v1.ServerReflection/ServerReflectionInfo', - ($0.ServerReflectionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ServerReflectionResponse.fromBuffer(value)); - - ServerReflectionClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseStream<$0.ServerReflectionResponse> serverReflectionInfo($async.Stream<$0.ServerReflectionRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$serverReflectionInfo, request, options: options); - } -} - -@$pb.GrpcServiceName('grpc.reflection.v1.ServerReflection') -abstract class ServerReflectionServiceBase extends $grpc.Service { - $core.String get $name => 'grpc.reflection.v1.ServerReflection'; - - ServerReflectionServiceBase() { - $addMethod($grpc.ServiceMethod<$0.ServerReflectionRequest, $0.ServerReflectionResponse>( - 'ServerReflectionInfo', - serverReflectionInfo, - true, - true, - ($core.List<$core.int> value) => $0.ServerReflectionRequest.fromBuffer(value), - ($0.ServerReflectionResponse value) => value.writeToBuffer())); - } - - $async.Stream<$0.ServerReflectionResponse> serverReflectionInfo($grpc.ServiceCall call, $async.Stream<$0.ServerReflectionRequest> request); -} diff --git a/lib/src/gen/grpc/reflection/v1/reflection.pbjson.dart b/lib/src/gen/grpc/reflection/v1/reflection.pbjson.dart deleted file mode 100644 index a563b503818..00000000000 --- a/lib/src/gen/grpc/reflection/v1/reflection.pbjson.dart +++ /dev/null @@ -1,151 +0,0 @@ -// -// Generated code. Do not modify. -// source: grpc/reflection/v1/reflection.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use serverReflectionRequestDescriptor instead') -const ServerReflectionRequest$json = { - '1': 'ServerReflectionRequest', - '2': [ - {'1': 'host', '3': 1, '4': 1, '5': 9, '10': 'host'}, - {'1': 'file_by_filename', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'fileByFilename'}, - {'1': 'file_containing_symbol', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'fileContainingSymbol'}, - {'1': 'file_containing_extension', '3': 5, '4': 1, '5': 11, '6': '.grpc.reflection.v1.ExtensionRequest', '9': 0, '10': 'fileContainingExtension'}, - {'1': 'all_extension_numbers_of_type', '3': 6, '4': 1, '5': 9, '9': 0, '10': 'allExtensionNumbersOfType'}, - {'1': 'list_services', '3': 7, '4': 1, '5': 9, '9': 0, '10': 'listServices'}, - ], - '8': [ - {'1': 'message_request'}, - ], -}; - -/// Descriptor for `ServerReflectionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serverReflectionRequestDescriptor = $convert.base64Decode( - 'ChdTZXJ2ZXJSZWZsZWN0aW9uUmVxdWVzdBISCgRob3N0GAEgASgJUgRob3N0EioKEGZpbGVfYn' - 'lfZmlsZW5hbWUYAyABKAlIAFIOZmlsZUJ5RmlsZW5hbWUSNgoWZmlsZV9jb250YWluaW5nX3N5' - 'bWJvbBgEIAEoCUgAUhRmaWxlQ29udGFpbmluZ1N5bWJvbBJiChlmaWxlX2NvbnRhaW5pbmdfZX' - 'h0ZW5zaW9uGAUgASgLMiQuZ3JwYy5yZWZsZWN0aW9uLnYxLkV4dGVuc2lvblJlcXVlc3RIAFIX' - 'ZmlsZUNvbnRhaW5pbmdFeHRlbnNpb24SQgodYWxsX2V4dGVuc2lvbl9udW1iZXJzX29mX3R5cG' - 'UYBiABKAlIAFIZYWxsRXh0ZW5zaW9uTnVtYmVyc09mVHlwZRIlCg1saXN0X3NlcnZpY2VzGAcg' - 'ASgJSABSDGxpc3RTZXJ2aWNlc0IRCg9tZXNzYWdlX3JlcXVlc3Q='); - -@$core.Deprecated('Use extensionRequestDescriptor instead') -const ExtensionRequest$json = { - '1': 'ExtensionRequest', - '2': [ - {'1': 'containing_type', '3': 1, '4': 1, '5': 9, '10': 'containingType'}, - {'1': 'extension_number', '3': 2, '4': 1, '5': 5, '10': 'extensionNumber'}, - ], -}; - -/// Descriptor for `ExtensionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List extensionRequestDescriptor = $convert.base64Decode( - 'ChBFeHRlbnNpb25SZXF1ZXN0EicKD2NvbnRhaW5pbmdfdHlwZRgBIAEoCVIOY29udGFpbmluZ1' - 'R5cGUSKQoQZXh0ZW5zaW9uX251bWJlchgCIAEoBVIPZXh0ZW5zaW9uTnVtYmVy'); - -@$core.Deprecated('Use serverReflectionResponseDescriptor instead') -const ServerReflectionResponse$json = { - '1': 'ServerReflectionResponse', - '2': [ - {'1': 'valid_host', '3': 1, '4': 1, '5': 9, '10': 'validHost'}, - {'1': 'original_request', '3': 2, '4': 1, '5': 11, '6': '.grpc.reflection.v1.ServerReflectionRequest', '10': 'originalRequest'}, - {'1': 'file_descriptor_response', '3': 4, '4': 1, '5': 11, '6': '.grpc.reflection.v1.FileDescriptorResponse', '9': 0, '10': 'fileDescriptorResponse'}, - {'1': 'all_extension_numbers_response', '3': 5, '4': 1, '5': 11, '6': '.grpc.reflection.v1.ExtensionNumberResponse', '9': 0, '10': 'allExtensionNumbersResponse'}, - {'1': 'list_services_response', '3': 6, '4': 1, '5': 11, '6': '.grpc.reflection.v1.ListServiceResponse', '9': 0, '10': 'listServicesResponse'}, - {'1': 'error_response', '3': 7, '4': 1, '5': 11, '6': '.grpc.reflection.v1.ErrorResponse', '9': 0, '10': 'errorResponse'}, - ], - '8': [ - {'1': 'message_response'}, - ], -}; - -/// Descriptor for `ServerReflectionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serverReflectionResponseDescriptor = $convert.base64Decode( - 'ChhTZXJ2ZXJSZWZsZWN0aW9uUmVzcG9uc2USHQoKdmFsaWRfaG9zdBgBIAEoCVIJdmFsaWRIb3' - 'N0ElYKEG9yaWdpbmFsX3JlcXVlc3QYAiABKAsyKy5ncnBjLnJlZmxlY3Rpb24udjEuU2VydmVy' - 'UmVmbGVjdGlvblJlcXVlc3RSD29yaWdpbmFsUmVxdWVzdBJmChhmaWxlX2Rlc2NyaXB0b3Jfcm' - 'VzcG9uc2UYBCABKAsyKi5ncnBjLnJlZmxlY3Rpb24udjEuRmlsZURlc2NyaXB0b3JSZXNwb25z' - 'ZUgAUhZmaWxlRGVzY3JpcHRvclJlc3BvbnNlEnIKHmFsbF9leHRlbnNpb25fbnVtYmVyc19yZX' - 'Nwb25zZRgFIAEoCzIrLmdycGMucmVmbGVjdGlvbi52MS5FeHRlbnNpb25OdW1iZXJSZXNwb25z' - 'ZUgAUhthbGxFeHRlbnNpb25OdW1iZXJzUmVzcG9uc2USXwoWbGlzdF9zZXJ2aWNlc19yZXNwb2' - '5zZRgGIAEoCzInLmdycGMucmVmbGVjdGlvbi52MS5MaXN0U2VydmljZVJlc3BvbnNlSABSFGxp' - 'c3RTZXJ2aWNlc1Jlc3BvbnNlEkoKDmVycm9yX3Jlc3BvbnNlGAcgASgLMiEuZ3JwYy5yZWZsZW' - 'N0aW9uLnYxLkVycm9yUmVzcG9uc2VIAFINZXJyb3JSZXNwb25zZUISChBtZXNzYWdlX3Jlc3Bv' - 'bnNl'); - -@$core.Deprecated('Use fileDescriptorResponseDescriptor instead') -const FileDescriptorResponse$json = { - '1': 'FileDescriptorResponse', - '2': [ - {'1': 'file_descriptor_proto', '3': 1, '4': 3, '5': 12, '10': 'fileDescriptorProto'}, - ], -}; - -/// Descriptor for `FileDescriptorResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileDescriptorResponseDescriptor = $convert.base64Decode( - 'ChZGaWxlRGVzY3JpcHRvclJlc3BvbnNlEjIKFWZpbGVfZGVzY3JpcHRvcl9wcm90bxgBIAMoDF' - 'ITZmlsZURlc2NyaXB0b3JQcm90bw=='); - -@$core.Deprecated('Use extensionNumberResponseDescriptor instead') -const ExtensionNumberResponse$json = { - '1': 'ExtensionNumberResponse', - '2': [ - {'1': 'base_type_name', '3': 1, '4': 1, '5': 9, '10': 'baseTypeName'}, - {'1': 'extension_number', '3': 2, '4': 3, '5': 5, '10': 'extensionNumber'}, - ], -}; - -/// Descriptor for `ExtensionNumberResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List extensionNumberResponseDescriptor = $convert.base64Decode( - 'ChdFeHRlbnNpb25OdW1iZXJSZXNwb25zZRIkCg5iYXNlX3R5cGVfbmFtZRgBIAEoCVIMYmFzZV' - 'R5cGVOYW1lEikKEGV4dGVuc2lvbl9udW1iZXIYAiADKAVSD2V4dGVuc2lvbk51bWJlcg=='); - -@$core.Deprecated('Use listServiceResponseDescriptor instead') -const ListServiceResponse$json = { - '1': 'ListServiceResponse', - '2': [ - {'1': 'service', '3': 1, '4': 3, '5': 11, '6': '.grpc.reflection.v1.ServiceResponse', '10': 'service'}, - ], -}; - -/// Descriptor for `ListServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listServiceResponseDescriptor = $convert.base64Decode( - 'ChNMaXN0U2VydmljZVJlc3BvbnNlEj0KB3NlcnZpY2UYASADKAsyIy5ncnBjLnJlZmxlY3Rpb2' - '4udjEuU2VydmljZVJlc3BvbnNlUgdzZXJ2aWNl'); - -@$core.Deprecated('Use serviceResponseDescriptor instead') -const ServiceResponse$json = { - '1': 'ServiceResponse', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `ServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List serviceResponseDescriptor = $convert.base64Decode( - 'Cg9TZXJ2aWNlUmVzcG9uc2USEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use errorResponseDescriptor instead') -const ErrorResponse$json = { - '1': 'ErrorResponse', - '2': [ - {'1': 'error_code', '3': 1, '4': 1, '5': 5, '10': 'errorCode'}, - {'1': 'error_message', '3': 2, '4': 1, '5': 9, '10': 'errorMessage'}, - ], -}; - -/// Descriptor for `ErrorResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List errorResponseDescriptor = $convert.base64Decode( - 'Cg1FcnJvclJlc3BvbnNlEh0KCmVycm9yX2NvZGUYASABKAVSCWVycm9yQ29kZRIjCg1lcnJvcl' - '9tZXNzYWdlGAIgASgJUgxlcnJvck1lc3NhZ2U='); - diff --git a/lib/src/gen/module/v1/module.pb.dart b/lib/src/gen/module/v1/module.pb.dart deleted file mode 100644 index 865c3d748cc..00000000000 --- a/lib/src/gen/module/v1/module.pb.dart +++ /dev/null @@ -1,631 +0,0 @@ -// -// Generated code. Do not modify. -// source: module/v1/module.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../app/v1/robot.pb.dart' as $13; -import '../../robot/v1/robot.pb.dart' as $33; - -class AddResourceRequest extends $pb.GeneratedMessage { - factory AddResourceRequest({ - $13.ComponentConfig? config, - $core.Iterable<$core.String>? dependencies, - }) { - final $result = create(); - if (config != null) { - $result.config = config; - } - if (dependencies != null) { - $result.dependencies.addAll(dependencies); - } - return $result; - } - AddResourceRequest._() : super(); - factory AddResourceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$13.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $13.ComponentConfig.create) - ..pPS(2, _omitFieldNames ? '' : 'dependencies') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddResourceRequest clone() => AddResourceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddResourceRequest copyWith(void Function(AddResourceRequest) updates) => super.copyWith((message) => updates(message as AddResourceRequest)) as AddResourceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddResourceRequest create() => AddResourceRequest._(); - AddResourceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddResourceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddResourceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $13.ComponentConfig get config => $_getN(0); - @$pb.TagNumber(1) - set config($13.ComponentConfig v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasConfig() => $_has(0); - @$pb.TagNumber(1) - void clearConfig() => clearField(1); - @$pb.TagNumber(1) - $13.ComponentConfig ensureConfig() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List<$core.String> get dependencies => $_getList(1); -} - -class AddResourceResponse extends $pb.GeneratedMessage { - factory AddResourceResponse() => create(); - AddResourceResponse._() : super(); - factory AddResourceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddResourceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddResourceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddResourceResponse clone() => AddResourceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddResourceResponse copyWith(void Function(AddResourceResponse) updates) => super.copyWith((message) => updates(message as AddResourceResponse)) as AddResourceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddResourceResponse create() => AddResourceResponse._(); - AddResourceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddResourceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddResourceResponse? _defaultInstance; -} - -class ReconfigureResourceRequest extends $pb.GeneratedMessage { - factory ReconfigureResourceRequest({ - $13.ComponentConfig? config, - $core.Iterable<$core.String>? dependencies, - }) { - final $result = create(); - if (config != null) { - $result.config = config; - } - if (dependencies != null) { - $result.dependencies.addAll(dependencies); - } - return $result; - } - ReconfigureResourceRequest._() : super(); - factory ReconfigureResourceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReconfigureResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReconfigureResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$13.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $13.ComponentConfig.create) - ..pPS(2, _omitFieldNames ? '' : 'dependencies') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReconfigureResourceRequest clone() => ReconfigureResourceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReconfigureResourceRequest copyWith(void Function(ReconfigureResourceRequest) updates) => super.copyWith((message) => updates(message as ReconfigureResourceRequest)) as ReconfigureResourceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReconfigureResourceRequest create() => ReconfigureResourceRequest._(); - ReconfigureResourceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReconfigureResourceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReconfigureResourceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $13.ComponentConfig get config => $_getN(0); - @$pb.TagNumber(1) - set config($13.ComponentConfig v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasConfig() => $_has(0); - @$pb.TagNumber(1) - void clearConfig() => clearField(1); - @$pb.TagNumber(1) - $13.ComponentConfig ensureConfig() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List<$core.String> get dependencies => $_getList(1); -} - -class ReconfigureResourceResponse extends $pb.GeneratedMessage { - factory ReconfigureResourceResponse() => create(); - ReconfigureResourceResponse._() : super(); - factory ReconfigureResourceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReconfigureResourceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReconfigureResourceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReconfigureResourceResponse clone() => ReconfigureResourceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReconfigureResourceResponse copyWith(void Function(ReconfigureResourceResponse) updates) => super.copyWith((message) => updates(message as ReconfigureResourceResponse)) as ReconfigureResourceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReconfigureResourceResponse create() => ReconfigureResourceResponse._(); - ReconfigureResourceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReconfigureResourceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReconfigureResourceResponse? _defaultInstance; -} - -class RemoveResourceRequest extends $pb.GeneratedMessage { - factory RemoveResourceRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - RemoveResourceRequest._() : super(); - factory RemoveResourceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveResourceRequest clone() => RemoveResourceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveResourceRequest copyWith(void Function(RemoveResourceRequest) updates) => super.copyWith((message) => updates(message as RemoveResourceRequest)) as RemoveResourceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveResourceRequest create() => RemoveResourceRequest._(); - RemoveResourceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveResourceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveResourceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class RemoveResourceResponse extends $pb.GeneratedMessage { - factory RemoveResourceResponse() => create(); - RemoveResourceResponse._() : super(); - factory RemoveResourceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveResourceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveResourceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveResourceResponse clone() => RemoveResourceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveResourceResponse copyWith(void Function(RemoveResourceResponse) updates) => super.copyWith((message) => updates(message as RemoveResourceResponse)) as RemoveResourceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveResourceResponse create() => RemoveResourceResponse._(); - RemoveResourceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveResourceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveResourceResponse? _defaultInstance; -} - -class HandlerDefinition extends $pb.GeneratedMessage { - factory HandlerDefinition({ - $33.ResourceRPCSubtype? subtype, - $core.Iterable<$core.String>? models, - }) { - final $result = create(); - if (subtype != null) { - $result.subtype = subtype; - } - if (models != null) { - $result.models.addAll(models); - } - return $result; - } - HandlerDefinition._() : super(); - factory HandlerDefinition.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HandlerDefinition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlerDefinition', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$33.ResourceRPCSubtype>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $33.ResourceRPCSubtype.create) - ..pPS(2, _omitFieldNames ? '' : 'models') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - HandlerDefinition clone() => HandlerDefinition()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HandlerDefinition copyWith(void Function(HandlerDefinition) updates) => super.copyWith((message) => updates(message as HandlerDefinition)) as HandlerDefinition; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static HandlerDefinition create() => HandlerDefinition._(); - HandlerDefinition createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static HandlerDefinition getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static HandlerDefinition? _defaultInstance; - - @$pb.TagNumber(1) - $33.ResourceRPCSubtype get subtype => $_getN(0); - @$pb.TagNumber(1) - set subtype($33.ResourceRPCSubtype v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSubtype() => $_has(0); - @$pb.TagNumber(1) - void clearSubtype() => clearField(1); - @$pb.TagNumber(1) - $33.ResourceRPCSubtype ensureSubtype() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List<$core.String> get models => $_getList(1); -} - -class HandlerMap extends $pb.GeneratedMessage { - factory HandlerMap({ - $core.Iterable? handlers, - }) { - final $result = create(); - if (handlers != null) { - $result.handlers.addAll(handlers); - } - return $result; - } - HandlerMap._() : super(); - factory HandlerMap.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory HandlerMap.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlerMap', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'handlers', $pb.PbFieldType.PM, subBuilder: HandlerDefinition.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - HandlerMap clone() => HandlerMap()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - HandlerMap copyWith(void Function(HandlerMap) updates) => super.copyWith((message) => updates(message as HandlerMap)) as HandlerMap; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static HandlerMap create() => HandlerMap._(); - HandlerMap createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static HandlerMap getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static HandlerMap? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get handlers => $_getList(0); -} - -class ReadyRequest extends $pb.GeneratedMessage { - factory ReadyRequest({ - $core.String? parentAddress, - $core.String? webrtcOffer, - }) { - final $result = create(); - if (parentAddress != null) { - $result.parentAddress = parentAddress; - } - if (webrtcOffer != null) { - $result.webrtcOffer = webrtcOffer; - } - return $result; - } - ReadyRequest._() : super(); - factory ReadyRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadyRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'parentAddress') - ..aOS(2, _omitFieldNames ? '' : 'webrtcOffer') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadyRequest clone() => ReadyRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadyRequest copyWith(void Function(ReadyRequest) updates) => super.copyWith((message) => updates(message as ReadyRequest)) as ReadyRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadyRequest create() => ReadyRequest._(); - ReadyRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadyRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadyRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get parentAddress => $_getSZ(0); - @$pb.TagNumber(1) - set parentAddress($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasParentAddress() => $_has(0); - @$pb.TagNumber(1) - void clearParentAddress() => clearField(1); - - @$pb.TagNumber(2) - $core.String get webrtcOffer => $_getSZ(1); - @$pb.TagNumber(2) - set webrtcOffer($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasWebrtcOffer() => $_has(1); - @$pb.TagNumber(2) - void clearWebrtcOffer() => clearField(2); -} - -class ReadyResponse extends $pb.GeneratedMessage { - factory ReadyResponse({ - $core.bool? ready, - HandlerMap? handlermap, - $core.String? webrtcAnswer, - }) { - final $result = create(); - if (ready != null) { - $result.ready = ready; - } - if (handlermap != null) { - $result.handlermap = handlermap; - } - if (webrtcAnswer != null) { - $result.webrtcAnswer = webrtcAnswer; - } - return $result; - } - ReadyResponse._() : super(); - factory ReadyResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ReadyResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadyResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'ready') - ..aOM(2, _omitFieldNames ? '' : 'handlermap', subBuilder: HandlerMap.create) - ..aOS(3, _omitFieldNames ? '' : 'webrtcAnswer') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ReadyResponse clone() => ReadyResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ReadyResponse copyWith(void Function(ReadyResponse) updates) => super.copyWith((message) => updates(message as ReadyResponse)) as ReadyResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ReadyResponse create() => ReadyResponse._(); - ReadyResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ReadyResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ReadyResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get ready => $_getBF(0); - @$pb.TagNumber(1) - set ready($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasReady() => $_has(0); - @$pb.TagNumber(1) - void clearReady() => clearField(1); - - @$pb.TagNumber(2) - HandlerMap get handlermap => $_getN(1); - @$pb.TagNumber(2) - set handlermap(HandlerMap v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasHandlermap() => $_has(1); - @$pb.TagNumber(2) - void clearHandlermap() => clearField(2); - @$pb.TagNumber(2) - HandlerMap ensureHandlermap() => $_ensure(1); - - @$pb.TagNumber(3) - $core.String get webrtcAnswer => $_getSZ(2); - @$pb.TagNumber(3) - set webrtcAnswer($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasWebrtcAnswer() => $_has(2); - @$pb.TagNumber(3) - void clearWebrtcAnswer() => clearField(3); -} - -class ValidateConfigRequest extends $pb.GeneratedMessage { - factory ValidateConfigRequest({ - $13.ComponentConfig? config, - }) { - final $result = create(); - if (config != null) { - $result.config = config; - } - return $result; - } - ValidateConfigRequest._() : super(); - factory ValidateConfigRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ValidateConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ValidateConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$13.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $13.ComponentConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ValidateConfigRequest clone() => ValidateConfigRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ValidateConfigRequest copyWith(void Function(ValidateConfigRequest) updates) => super.copyWith((message) => updates(message as ValidateConfigRequest)) as ValidateConfigRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ValidateConfigRequest create() => ValidateConfigRequest._(); - ValidateConfigRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ValidateConfigRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ValidateConfigRequest? _defaultInstance; - - @$pb.TagNumber(1) - $13.ComponentConfig get config => $_getN(0); - @$pb.TagNumber(1) - set config($13.ComponentConfig v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasConfig() => $_has(0); - @$pb.TagNumber(1) - void clearConfig() => clearField(1); - @$pb.TagNumber(1) - $13.ComponentConfig ensureConfig() => $_ensure(0); -} - -class ValidateConfigResponse extends $pb.GeneratedMessage { - factory ValidateConfigResponse({ - $core.Iterable<$core.String>? dependencies, - }) { - final $result = create(); - if (dependencies != null) { - $result.dependencies.addAll(dependencies); - } - return $result; - } - ValidateConfigResponse._() : super(); - factory ValidateConfigResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ValidateConfigResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ValidateConfigResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'dependencies') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ValidateConfigResponse clone() => ValidateConfigResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ValidateConfigResponse copyWith(void Function(ValidateConfigResponse) updates) => super.copyWith((message) => updates(message as ValidateConfigResponse)) as ValidateConfigResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ValidateConfigResponse create() => ValidateConfigResponse._(); - ValidateConfigResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ValidateConfigResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ValidateConfigResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get dependencies => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/module/v1/module.pbenum.dart b/lib/src/gen/module/v1/module.pbenum.dart deleted file mode 100644 index 285bf33925e..00000000000 --- a/lib/src/gen/module/v1/module.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: module/v1/module.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/module/v1/module.pbgrpc.dart b/lib/src/gen/module/v1/module.pbgrpc.dart deleted file mode 100644 index 7d04b45d435..00000000000 --- a/lib/src/gen/module/v1/module.pbgrpc.dart +++ /dev/null @@ -1,139 +0,0 @@ -// -// Generated code. Do not modify. -// source: module/v1/module.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'module.pb.dart' as $34; - -export 'module.pb.dart'; - -@$pb.GrpcServiceName('viam.module.v1.ModuleService') -class ModuleServiceClient extends $grpc.Client { - static final _$addResource = $grpc.ClientMethod<$34.AddResourceRequest, $34.AddResourceResponse>( - '/viam.module.v1.ModuleService/AddResource', - ($34.AddResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.AddResourceResponse.fromBuffer(value)); - static final _$reconfigureResource = $grpc.ClientMethod<$34.ReconfigureResourceRequest, $34.ReconfigureResourceResponse>( - '/viam.module.v1.ModuleService/ReconfigureResource', - ($34.ReconfigureResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.ReconfigureResourceResponse.fromBuffer(value)); - static final _$removeResource = $grpc.ClientMethod<$34.RemoveResourceRequest, $34.RemoveResourceResponse>( - '/viam.module.v1.ModuleService/RemoveResource', - ($34.RemoveResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.RemoveResourceResponse.fromBuffer(value)); - static final _$ready = $grpc.ClientMethod<$34.ReadyRequest, $34.ReadyResponse>( - '/viam.module.v1.ModuleService/Ready', - ($34.ReadyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.ReadyResponse.fromBuffer(value)); - static final _$validateConfig = $grpc.ClientMethod<$34.ValidateConfigRequest, $34.ValidateConfigResponse>( - '/viam.module.v1.ModuleService/ValidateConfig', - ($34.ValidateConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.ValidateConfigResponse.fromBuffer(value)); - - ModuleServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$34.AddResourceResponse> addResource($34.AddResourceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addResource, request, options: options); - } - - $grpc.ResponseFuture<$34.ReconfigureResourceResponse> reconfigureResource($34.ReconfigureResourceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$reconfigureResource, request, options: options); - } - - $grpc.ResponseFuture<$34.RemoveResourceResponse> removeResource($34.RemoveResourceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeResource, request, options: options); - } - - $grpc.ResponseFuture<$34.ReadyResponse> ready($34.ReadyRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$ready, request, options: options); - } - - $grpc.ResponseFuture<$34.ValidateConfigResponse> validateConfig($34.ValidateConfigRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$validateConfig, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.module.v1.ModuleService') -abstract class ModuleServiceBase extends $grpc.Service { - $core.String get $name => 'viam.module.v1.ModuleService'; - - ModuleServiceBase() { - $addMethod($grpc.ServiceMethod<$34.AddResourceRequest, $34.AddResourceResponse>( - 'AddResource', - addResource_Pre, - false, - false, - ($core.List<$core.int> value) => $34.AddResourceRequest.fromBuffer(value), - ($34.AddResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.ReconfigureResourceRequest, $34.ReconfigureResourceResponse>( - 'ReconfigureResource', - reconfigureResource_Pre, - false, - false, - ($core.List<$core.int> value) => $34.ReconfigureResourceRequest.fromBuffer(value), - ($34.ReconfigureResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.RemoveResourceRequest, $34.RemoveResourceResponse>( - 'RemoveResource', - removeResource_Pre, - false, - false, - ($core.List<$core.int> value) => $34.RemoveResourceRequest.fromBuffer(value), - ($34.RemoveResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.ReadyRequest, $34.ReadyResponse>( - 'Ready', - ready_Pre, - false, - false, - ($core.List<$core.int> value) => $34.ReadyRequest.fromBuffer(value), - ($34.ReadyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.ValidateConfigRequest, $34.ValidateConfigResponse>( - 'ValidateConfig', - validateConfig_Pre, - false, - false, - ($core.List<$core.int> value) => $34.ValidateConfigRequest.fromBuffer(value), - ($34.ValidateConfigResponse value) => value.writeToBuffer())); - } - - $async.Future<$34.AddResourceResponse> addResource_Pre($grpc.ServiceCall call, $async.Future<$34.AddResourceRequest> request) async { - return addResource(call, await request); - } - - $async.Future<$34.ReconfigureResourceResponse> reconfigureResource_Pre($grpc.ServiceCall call, $async.Future<$34.ReconfigureResourceRequest> request) async { - return reconfigureResource(call, await request); - } - - $async.Future<$34.RemoveResourceResponse> removeResource_Pre($grpc.ServiceCall call, $async.Future<$34.RemoveResourceRequest> request) async { - return removeResource(call, await request); - } - - $async.Future<$34.ReadyResponse> ready_Pre($grpc.ServiceCall call, $async.Future<$34.ReadyRequest> request) async { - return ready(call, await request); - } - - $async.Future<$34.ValidateConfigResponse> validateConfig_Pre($grpc.ServiceCall call, $async.Future<$34.ValidateConfigRequest> request) async { - return validateConfig(call, await request); - } - - $async.Future<$34.AddResourceResponse> addResource($grpc.ServiceCall call, $34.AddResourceRequest request); - $async.Future<$34.ReconfigureResourceResponse> reconfigureResource($grpc.ServiceCall call, $34.ReconfigureResourceRequest request); - $async.Future<$34.RemoveResourceResponse> removeResource($grpc.ServiceCall call, $34.RemoveResourceRequest request); - $async.Future<$34.ReadyResponse> ready($grpc.ServiceCall call, $34.ReadyRequest request); - $async.Future<$34.ValidateConfigResponse> validateConfig($grpc.ServiceCall call, $34.ValidateConfigRequest request); -} diff --git a/lib/src/gen/module/v1/module.pbjson.dart b/lib/src/gen/module/v1/module.pbjson.dart deleted file mode 100644 index 346257b0a34..00000000000 --- a/lib/src/gen/module/v1/module.pbjson.dart +++ /dev/null @@ -1,166 +0,0 @@ -// -// Generated code. Do not modify. -// source: module/v1/module.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use addResourceRequestDescriptor instead') -const AddResourceRequest$json = { - '1': 'AddResourceRequest', - '2': [ - {'1': 'config', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.ComponentConfig', '10': 'config'}, - {'1': 'dependencies', '3': 2, '4': 3, '5': 9, '10': 'dependencies'}, - ], -}; - -/// Descriptor for `AddResourceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addResourceRequestDescriptor = $convert.base64Decode( - 'ChJBZGRSZXNvdXJjZVJlcXVlc3QSNAoGY29uZmlnGAEgASgLMhwudmlhbS5hcHAudjEuQ29tcG' - '9uZW50Q29uZmlnUgZjb25maWcSIgoMZGVwZW5kZW5jaWVzGAIgAygJUgxkZXBlbmRlbmNpZXM='); - -@$core.Deprecated('Use addResourceResponseDescriptor instead') -const AddResourceResponse$json = { - '1': 'AddResourceResponse', -}; - -/// Descriptor for `AddResourceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addResourceResponseDescriptor = $convert.base64Decode( - 'ChNBZGRSZXNvdXJjZVJlc3BvbnNl'); - -@$core.Deprecated('Use reconfigureResourceRequestDescriptor instead') -const ReconfigureResourceRequest$json = { - '1': 'ReconfigureResourceRequest', - '2': [ - {'1': 'config', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.ComponentConfig', '10': 'config'}, - {'1': 'dependencies', '3': 2, '4': 3, '5': 9, '10': 'dependencies'}, - ], -}; - -/// Descriptor for `ReconfigureResourceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List reconfigureResourceRequestDescriptor = $convert.base64Decode( - 'ChpSZWNvbmZpZ3VyZVJlc291cmNlUmVxdWVzdBI0CgZjb25maWcYASABKAsyHC52aWFtLmFwcC' - '52MS5Db21wb25lbnRDb25maWdSBmNvbmZpZxIiCgxkZXBlbmRlbmNpZXMYAiADKAlSDGRlcGVu' - 'ZGVuY2llcw=='); - -@$core.Deprecated('Use reconfigureResourceResponseDescriptor instead') -const ReconfigureResourceResponse$json = { - '1': 'ReconfigureResourceResponse', -}; - -/// Descriptor for `ReconfigureResourceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List reconfigureResourceResponseDescriptor = $convert.base64Decode( - 'ChtSZWNvbmZpZ3VyZVJlc291cmNlUmVzcG9uc2U='); - -@$core.Deprecated('Use removeResourceRequestDescriptor instead') -const RemoveResourceRequest$json = { - '1': 'RemoveResourceRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `RemoveResourceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeResourceRequestDescriptor = $convert.base64Decode( - 'ChVSZW1vdmVSZXNvdXJjZVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use removeResourceResponseDescriptor instead') -const RemoveResourceResponse$json = { - '1': 'RemoveResourceResponse', -}; - -/// Descriptor for `RemoveResourceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeResourceResponseDescriptor = $convert.base64Decode( - 'ChZSZW1vdmVSZXNvdXJjZVJlc3BvbnNl'); - -@$core.Deprecated('Use handlerDefinitionDescriptor instead') -const HandlerDefinition$json = { - '1': 'HandlerDefinition', - '2': [ - {'1': 'subtype', '3': 1, '4': 1, '5': 11, '6': '.viam.robot.v1.ResourceRPCSubtype', '10': 'subtype'}, - {'1': 'models', '3': 2, '4': 3, '5': 9, '10': 'models'}, - ], -}; - -/// Descriptor for `HandlerDefinition`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List handlerDefinitionDescriptor = $convert.base64Decode( - 'ChFIYW5kbGVyRGVmaW5pdGlvbhI7CgdzdWJ0eXBlGAEgASgLMiEudmlhbS5yb2JvdC52MS5SZX' - 'NvdXJjZVJQQ1N1YnR5cGVSB3N1YnR5cGUSFgoGbW9kZWxzGAIgAygJUgZtb2RlbHM='); - -@$core.Deprecated('Use handlerMapDescriptor instead') -const HandlerMap$json = { - '1': 'HandlerMap', - '2': [ - {'1': 'handlers', '3': 1, '4': 3, '5': 11, '6': '.viam.module.v1.HandlerDefinition', '10': 'handlers'}, - ], -}; - -/// Descriptor for `HandlerMap`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List handlerMapDescriptor = $convert.base64Decode( - 'CgpIYW5kbGVyTWFwEj0KCGhhbmRsZXJzGAEgAygLMiEudmlhbS5tb2R1bGUudjEuSGFuZGxlck' - 'RlZmluaXRpb25SCGhhbmRsZXJz'); - -@$core.Deprecated('Use readyRequestDescriptor instead') -const ReadyRequest$json = { - '1': 'ReadyRequest', - '2': [ - {'1': 'parent_address', '3': 1, '4': 1, '5': 9, '10': 'parentAddress'}, - {'1': 'webrtc_offer', '3': 2, '4': 1, '5': 9, '10': 'webrtcOffer'}, - ], -}; - -/// Descriptor for `ReadyRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readyRequestDescriptor = $convert.base64Decode( - 'CgxSZWFkeVJlcXVlc3QSJQoOcGFyZW50X2FkZHJlc3MYASABKAlSDXBhcmVudEFkZHJlc3MSIQ' - 'oMd2VicnRjX29mZmVyGAIgASgJUgt3ZWJydGNPZmZlcg=='); - -@$core.Deprecated('Use readyResponseDescriptor instead') -const ReadyResponse$json = { - '1': 'ReadyResponse', - '2': [ - {'1': 'ready', '3': 1, '4': 1, '5': 8, '10': 'ready'}, - {'1': 'handlermap', '3': 2, '4': 1, '5': 11, '6': '.viam.module.v1.HandlerMap', '10': 'handlermap'}, - {'1': 'webrtc_answer', '3': 3, '4': 1, '5': 9, '10': 'webrtcAnswer'}, - ], -}; - -/// Descriptor for `ReadyResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readyResponseDescriptor = $convert.base64Decode( - 'Cg1SZWFkeVJlc3BvbnNlEhQKBXJlYWR5GAEgASgIUgVyZWFkeRI6CgpoYW5kbGVybWFwGAIgAS' - 'gLMhoudmlhbS5tb2R1bGUudjEuSGFuZGxlck1hcFIKaGFuZGxlcm1hcBIjCg13ZWJydGNfYW5z' - 'd2VyGAMgASgJUgx3ZWJydGNBbnN3ZXI='); - -@$core.Deprecated('Use validateConfigRequestDescriptor instead') -const ValidateConfigRequest$json = { - '1': 'ValidateConfigRequest', - '2': [ - {'1': 'config', '3': 1, '4': 1, '5': 11, '6': '.viam.app.v1.ComponentConfig', '10': 'config'}, - ], -}; - -/// Descriptor for `ValidateConfigRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List validateConfigRequestDescriptor = $convert.base64Decode( - 'ChVWYWxpZGF0ZUNvbmZpZ1JlcXVlc3QSNAoGY29uZmlnGAEgASgLMhwudmlhbS5hcHAudjEuQ2' - '9tcG9uZW50Q29uZmlnUgZjb25maWc='); - -@$core.Deprecated('Use validateConfigResponseDescriptor instead') -const ValidateConfigResponse$json = { - '1': 'ValidateConfigResponse', - '2': [ - {'1': 'dependencies', '3': 1, '4': 3, '5': 9, '10': 'dependencies'}, - ], -}; - -/// Descriptor for `ValidateConfigResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List validateConfigResponseDescriptor = $convert.base64Decode( - 'ChZWYWxpZGF0ZUNvbmZpZ1Jlc3BvbnNlEiIKDGRlcGVuZGVuY2llcxgBIAMoCVIMZGVwZW5kZW' - '5jaWVz'); - diff --git a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pb.dart b/lib/src/gen/proto/rpc/examples/echo/v1/echo.pb.dart deleted file mode 100644 index f8ea60732e3..00000000000 --- a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pb.dart +++ /dev/null @@ -1,318 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echo/v1/echo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class EchoRequest extends $pb.GeneratedMessage { - factory EchoRequest({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoRequest._() : super(); - factory EchoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoRequest clone() => EchoRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoRequest copyWith(void Function(EchoRequest) updates) => super.copyWith((message) => updates(message as EchoRequest)) as EchoRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoRequest create() => EchoRequest._(); - EchoRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoResponse extends $pb.GeneratedMessage { - factory EchoResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResponse._() : super(); - factory EchoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResponse clone() => EchoResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResponse copyWith(void Function(EchoResponse) updates) => super.copyWith((message) => updates(message as EchoResponse)) as EchoResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResponse create() => EchoResponse._(); - EchoResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoMultipleRequest extends $pb.GeneratedMessage { - factory EchoMultipleRequest({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoMultipleRequest._() : super(); - factory EchoMultipleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoMultipleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoMultipleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoMultipleRequest clone() => EchoMultipleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoMultipleRequest copyWith(void Function(EchoMultipleRequest) updates) => super.copyWith((message) => updates(message as EchoMultipleRequest)) as EchoMultipleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoMultipleRequest create() => EchoMultipleRequest._(); - EchoMultipleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoMultipleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoMultipleRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoMultipleResponse extends $pb.GeneratedMessage { - factory EchoMultipleResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoMultipleResponse._() : super(); - factory EchoMultipleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoMultipleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoMultipleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoMultipleResponse clone() => EchoMultipleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoMultipleResponse copyWith(void Function(EchoMultipleResponse) updates) => super.copyWith((message) => updates(message as EchoMultipleResponse)) as EchoMultipleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoMultipleResponse create() => EchoMultipleResponse._(); - EchoMultipleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoMultipleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoMultipleResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoBiDiRequest extends $pb.GeneratedMessage { - factory EchoBiDiRequest({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoBiDiRequest._() : super(); - factory EchoBiDiRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoBiDiRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoBiDiRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoBiDiRequest clone() => EchoBiDiRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoBiDiRequest copyWith(void Function(EchoBiDiRequest) updates) => super.copyWith((message) => updates(message as EchoBiDiRequest)) as EchoBiDiRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoBiDiRequest create() => EchoBiDiRequest._(); - EchoBiDiRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoBiDiRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoBiDiRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoBiDiResponse extends $pb.GeneratedMessage { - factory EchoBiDiResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoBiDiResponse._() : super(); - factory EchoBiDiResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoBiDiResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoBiDiResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echo.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoBiDiResponse clone() => EchoBiDiResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoBiDiResponse copyWith(void Function(EchoBiDiResponse) updates) => super.copyWith((message) => updates(message as EchoBiDiResponse)) as EchoBiDiResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoBiDiResponse create() => EchoBiDiResponse._(); - EchoBiDiResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoBiDiResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoBiDiResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbenum.dart b/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbenum.dart deleted file mode 100644 index 4cc1a2fba8c..00000000000 --- a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echo/v1/echo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbgrpc.dart b/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbgrpc.dart deleted file mode 100644 index 423ddc36479..00000000000 --- a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbgrpc.dart +++ /dev/null @@ -1,95 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echo/v1/echo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'echo.pb.dart' as $0; - -export 'echo.pb.dart'; - -@$pb.GrpcServiceName('proto.rpc.examples.echo.v1.EchoService') -class EchoServiceClient extends $grpc.Client { - static final _$echo = $grpc.ClientMethod<$0.EchoRequest, $0.EchoResponse>( - '/proto.rpc.examples.echo.v1.EchoService/Echo', - ($0.EchoRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.EchoResponse.fromBuffer(value)); - static final _$echoMultiple = $grpc.ClientMethod<$0.EchoMultipleRequest, $0.EchoMultipleResponse>( - '/proto.rpc.examples.echo.v1.EchoService/EchoMultiple', - ($0.EchoMultipleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.EchoMultipleResponse.fromBuffer(value)); - static final _$echoBiDi = $grpc.ClientMethod<$0.EchoBiDiRequest, $0.EchoBiDiResponse>( - '/proto.rpc.examples.echo.v1.EchoService/EchoBiDi', - ($0.EchoBiDiRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.EchoBiDiResponse.fromBuffer(value)); - - EchoServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$0.EchoResponse> echo($0.EchoRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$echo, request, options: options); - } - - $grpc.ResponseStream<$0.EchoMultipleResponse> echoMultiple($0.EchoMultipleRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$echoMultiple, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseStream<$0.EchoBiDiResponse> echoBiDi($async.Stream<$0.EchoBiDiRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$echoBiDi, request, options: options); - } -} - -@$pb.GrpcServiceName('proto.rpc.examples.echo.v1.EchoService') -abstract class EchoServiceBase extends $grpc.Service { - $core.String get $name => 'proto.rpc.examples.echo.v1.EchoService'; - - EchoServiceBase() { - $addMethod($grpc.ServiceMethod<$0.EchoRequest, $0.EchoResponse>( - 'Echo', - echo_Pre, - false, - false, - ($core.List<$core.int> value) => $0.EchoRequest.fromBuffer(value), - ($0.EchoResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.EchoMultipleRequest, $0.EchoMultipleResponse>( - 'EchoMultiple', - echoMultiple_Pre, - false, - true, - ($core.List<$core.int> value) => $0.EchoMultipleRequest.fromBuffer(value), - ($0.EchoMultipleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.EchoBiDiRequest, $0.EchoBiDiResponse>( - 'EchoBiDi', - echoBiDi, - true, - true, - ($core.List<$core.int> value) => $0.EchoBiDiRequest.fromBuffer(value), - ($0.EchoBiDiResponse value) => value.writeToBuffer())); - } - - $async.Future<$0.EchoResponse> echo_Pre($grpc.ServiceCall call, $async.Future<$0.EchoRequest> request) async { - return echo(call, await request); - } - - $async.Stream<$0.EchoMultipleResponse> echoMultiple_Pre($grpc.ServiceCall call, $async.Future<$0.EchoMultipleRequest> request) async* { - yield* echoMultiple(call, await request); - } - - $async.Future<$0.EchoResponse> echo($grpc.ServiceCall call, $0.EchoRequest request); - $async.Stream<$0.EchoMultipleResponse> echoMultiple($grpc.ServiceCall call, $0.EchoMultipleRequest request); - $async.Stream<$0.EchoBiDiResponse> echoBiDi($grpc.ServiceCall call, $async.Stream<$0.EchoBiDiRequest> request); -} diff --git a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbjson.dart b/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbjson.dart deleted file mode 100644 index 1606688d559..00000000000 --- a/lib/src/gen/proto/rpc/examples/echo/v1/echo.pbjson.dart +++ /dev/null @@ -1,87 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echo/v1/echo.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use echoRequestDescriptor instead') -const EchoRequest$json = { - '1': 'EchoRequest', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoRequestDescriptor = $convert.base64Decode( - 'CgtFY2hvUmVxdWVzdBIYCgdtZXNzYWdlGAEgASgJUgdtZXNzYWdl'); - -@$core.Deprecated('Use echoResponseDescriptor instead') -const EchoResponse$json = { - '1': 'EchoResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResponseDescriptor = $convert.base64Decode( - 'CgxFY2hvUmVzcG9uc2USGAoHbWVzc2FnZRgBIAEoCVIHbWVzc2FnZQ=='); - -@$core.Deprecated('Use echoMultipleRequestDescriptor instead') -const EchoMultipleRequest$json = { - '1': 'EchoMultipleRequest', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoMultipleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoMultipleRequestDescriptor = $convert.base64Decode( - 'ChNFY2hvTXVsdGlwbGVSZXF1ZXN0EhgKB21lc3NhZ2UYASABKAlSB21lc3NhZ2U='); - -@$core.Deprecated('Use echoMultipleResponseDescriptor instead') -const EchoMultipleResponse$json = { - '1': 'EchoMultipleResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoMultipleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoMultipleResponseDescriptor = $convert.base64Decode( - 'ChRFY2hvTXVsdGlwbGVSZXNwb25zZRIYCgdtZXNzYWdlGAEgASgJUgdtZXNzYWdl'); - -@$core.Deprecated('Use echoBiDiRequestDescriptor instead') -const EchoBiDiRequest$json = { - '1': 'EchoBiDiRequest', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoBiDiRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoBiDiRequestDescriptor = $convert.base64Decode( - 'Cg9FY2hvQmlEaVJlcXVlc3QSGAoHbWVzc2FnZRgBIAEoCVIHbWVzc2FnZQ=='); - -@$core.Deprecated('Use echoBiDiResponseDescriptor instead') -const EchoBiDiResponse$json = { - '1': 'EchoBiDiResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoBiDiResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoBiDiResponseDescriptor = $convert.base64Decode( - 'ChBFY2hvQmlEaVJlc3BvbnNlEhgKB21lc3NhZ2UYASABKAlSB21lc3NhZ2U='); - diff --git a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pb.dart b/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pb.dart deleted file mode 100644 index 72df17301af..00000000000 --- a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pb.dart +++ /dev/null @@ -1,360 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echoresource/v1/echoresource.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class EchoResourceRequest extends $pb.GeneratedMessage { - factory EchoResourceRequest({ - $core.String? name, - $core.String? message, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResourceRequest._() : super(); - factory EchoResourceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echoresource.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResourceRequest clone() => EchoResourceRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResourceRequest copyWith(void Function(EchoResourceRequest) updates) => super.copyWith((message) => updates(message as EchoResourceRequest)) as EchoResourceRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResourceRequest create() => EchoResourceRequest._(); - EchoResourceRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResourceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResourceRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); -} - -class EchoResourceResponse extends $pb.GeneratedMessage { - factory EchoResourceResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResourceResponse._() : super(); - factory EchoResourceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResourceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResourceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echoresource.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResourceResponse clone() => EchoResourceResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResourceResponse copyWith(void Function(EchoResourceResponse) updates) => super.copyWith((message) => updates(message as EchoResourceResponse)) as EchoResourceResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResourceResponse create() => EchoResourceResponse._(); - EchoResourceResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResourceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResourceResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoResourceMultipleRequest extends $pb.GeneratedMessage { - factory EchoResourceMultipleRequest({ - $core.String? name, - $core.String? message, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResourceMultipleRequest._() : super(); - factory EchoResourceMultipleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResourceMultipleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResourceMultipleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echoresource.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResourceMultipleRequest clone() => EchoResourceMultipleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResourceMultipleRequest copyWith(void Function(EchoResourceMultipleRequest) updates) => super.copyWith((message) => updates(message as EchoResourceMultipleRequest)) as EchoResourceMultipleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResourceMultipleRequest create() => EchoResourceMultipleRequest._(); - EchoResourceMultipleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResourceMultipleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResourceMultipleRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); -} - -class EchoResourceMultipleResponse extends $pb.GeneratedMessage { - factory EchoResourceMultipleResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResourceMultipleResponse._() : super(); - factory EchoResourceMultipleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResourceMultipleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResourceMultipleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echoresource.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResourceMultipleResponse clone() => EchoResourceMultipleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResourceMultipleResponse copyWith(void Function(EchoResourceMultipleResponse) updates) => super.copyWith((message) => updates(message as EchoResourceMultipleResponse)) as EchoResourceMultipleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResourceMultipleResponse create() => EchoResourceMultipleResponse._(); - EchoResourceMultipleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResourceMultipleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResourceMultipleResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - -class EchoResourceBiDiRequest extends $pb.GeneratedMessage { - factory EchoResourceBiDiRequest({ - $core.String? name, - $core.String? message, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResourceBiDiRequest._() : super(); - factory EchoResourceBiDiRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResourceBiDiRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResourceBiDiRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echoresource.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResourceBiDiRequest clone() => EchoResourceBiDiRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResourceBiDiRequest copyWith(void Function(EchoResourceBiDiRequest) updates) => super.copyWith((message) => updates(message as EchoResourceBiDiRequest)) as EchoResourceBiDiRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResourceBiDiRequest create() => EchoResourceBiDiRequest._(); - EchoResourceBiDiRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResourceBiDiRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResourceBiDiRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get message => $_getSZ(1); - @$pb.TagNumber(2) - set message($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMessage() => $_has(1); - @$pb.TagNumber(2) - void clearMessage() => clearField(2); -} - -class EchoResourceBiDiResponse extends $pb.GeneratedMessage { - factory EchoResourceBiDiResponse({ - $core.String? message, - }) { - final $result = create(); - if (message != null) { - $result.message = message; - } - return $result; - } - EchoResourceBiDiResponse._() : super(); - factory EchoResourceBiDiResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory EchoResourceBiDiResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EchoResourceBiDiResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.examples.echoresource.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'message') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - EchoResourceBiDiResponse clone() => EchoResourceBiDiResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - EchoResourceBiDiResponse copyWith(void Function(EchoResourceBiDiResponse) updates) => super.copyWith((message) => updates(message as EchoResourceBiDiResponse)) as EchoResourceBiDiResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static EchoResourceBiDiResponse create() => EchoResourceBiDiResponse._(); - EchoResourceBiDiResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static EchoResourceBiDiResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static EchoResourceBiDiResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get message => $_getSZ(0); - @$pb.TagNumber(1) - set message($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearMessage() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbenum.dart b/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbenum.dart deleted file mode 100644 index 0ae3181f44c..00000000000 --- a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echoresource/v1/echoresource.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbgrpc.dart b/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbgrpc.dart deleted file mode 100644 index b0f9541bc68..00000000000 --- a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbgrpc.dart +++ /dev/null @@ -1,95 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echoresource/v1/echoresource.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'echoresource.pb.dart' as $1; - -export 'echoresource.pb.dart'; - -@$pb.GrpcServiceName('proto.rpc.examples.echoresource.v1.EchoResourceService') -class EchoResourceServiceClient extends $grpc.Client { - static final _$echoResource = $grpc.ClientMethod<$1.EchoResourceRequest, $1.EchoResourceResponse>( - '/proto.rpc.examples.echoresource.v1.EchoResourceService/EchoResource', - ($1.EchoResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.EchoResourceResponse.fromBuffer(value)); - static final _$echoResourceMultiple = $grpc.ClientMethod<$1.EchoResourceMultipleRequest, $1.EchoResourceMultipleResponse>( - '/proto.rpc.examples.echoresource.v1.EchoResourceService/EchoResourceMultiple', - ($1.EchoResourceMultipleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.EchoResourceMultipleResponse.fromBuffer(value)); - static final _$echoResourceBiDi = $grpc.ClientMethod<$1.EchoResourceBiDiRequest, $1.EchoResourceBiDiResponse>( - '/proto.rpc.examples.echoresource.v1.EchoResourceService/EchoResourceBiDi', - ($1.EchoResourceBiDiRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.EchoResourceBiDiResponse.fromBuffer(value)); - - EchoResourceServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$1.EchoResourceResponse> echoResource($1.EchoResourceRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$echoResource, request, options: options); - } - - $grpc.ResponseStream<$1.EchoResourceMultipleResponse> echoResourceMultiple($1.EchoResourceMultipleRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$echoResourceMultiple, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseStream<$1.EchoResourceBiDiResponse> echoResourceBiDi($async.Stream<$1.EchoResourceBiDiRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$echoResourceBiDi, request, options: options); - } -} - -@$pb.GrpcServiceName('proto.rpc.examples.echoresource.v1.EchoResourceService') -abstract class EchoResourceServiceBase extends $grpc.Service { - $core.String get $name => 'proto.rpc.examples.echoresource.v1.EchoResourceService'; - - EchoResourceServiceBase() { - $addMethod($grpc.ServiceMethod<$1.EchoResourceRequest, $1.EchoResourceResponse>( - 'EchoResource', - echoResource_Pre, - false, - false, - ($core.List<$core.int> value) => $1.EchoResourceRequest.fromBuffer(value), - ($1.EchoResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.EchoResourceMultipleRequest, $1.EchoResourceMultipleResponse>( - 'EchoResourceMultiple', - echoResourceMultiple_Pre, - false, - true, - ($core.List<$core.int> value) => $1.EchoResourceMultipleRequest.fromBuffer(value), - ($1.EchoResourceMultipleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.EchoResourceBiDiRequest, $1.EchoResourceBiDiResponse>( - 'EchoResourceBiDi', - echoResourceBiDi, - true, - true, - ($core.List<$core.int> value) => $1.EchoResourceBiDiRequest.fromBuffer(value), - ($1.EchoResourceBiDiResponse value) => value.writeToBuffer())); - } - - $async.Future<$1.EchoResourceResponse> echoResource_Pre($grpc.ServiceCall call, $async.Future<$1.EchoResourceRequest> request) async { - return echoResource(call, await request); - } - - $async.Stream<$1.EchoResourceMultipleResponse> echoResourceMultiple_Pre($grpc.ServiceCall call, $async.Future<$1.EchoResourceMultipleRequest> request) async* { - yield* echoResourceMultiple(call, await request); - } - - $async.Future<$1.EchoResourceResponse> echoResource($grpc.ServiceCall call, $1.EchoResourceRequest request); - $async.Stream<$1.EchoResourceMultipleResponse> echoResourceMultiple($grpc.ServiceCall call, $1.EchoResourceMultipleRequest request); - $async.Stream<$1.EchoResourceBiDiResponse> echoResourceBiDi($grpc.ServiceCall call, $async.Stream<$1.EchoResourceBiDiRequest> request); -} diff --git a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbjson.dart b/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbjson.dart deleted file mode 100644 index d1cc8a69531..00000000000 --- a/lib/src/gen/proto/rpc/examples/echoresource/v1/echoresource.pbjson.dart +++ /dev/null @@ -1,94 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/examples/echoresource/v1/echoresource.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use echoResourceRequestDescriptor instead') -const EchoResourceRequest$json = { - '1': 'EchoResourceRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResourceRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResourceRequestDescriptor = $convert.base64Decode( - 'ChNFY2hvUmVzb3VyY2VSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSGAoHbWVzc2FnZRgCIA' - 'EoCVIHbWVzc2FnZQ=='); - -@$core.Deprecated('Use echoResourceResponseDescriptor instead') -const EchoResourceResponse$json = { - '1': 'EchoResourceResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResourceResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResourceResponseDescriptor = $convert.base64Decode( - 'ChRFY2hvUmVzb3VyY2VSZXNwb25zZRIYCgdtZXNzYWdlGAEgASgJUgdtZXNzYWdl'); - -@$core.Deprecated('Use echoResourceMultipleRequestDescriptor instead') -const EchoResourceMultipleRequest$json = { - '1': 'EchoResourceMultipleRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResourceMultipleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResourceMultipleRequestDescriptor = $convert.base64Decode( - 'ChtFY2hvUmVzb3VyY2VNdWx0aXBsZVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIYCgdtZX' - 'NzYWdlGAIgASgJUgdtZXNzYWdl'); - -@$core.Deprecated('Use echoResourceMultipleResponseDescriptor instead') -const EchoResourceMultipleResponse$json = { - '1': 'EchoResourceMultipleResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResourceMultipleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResourceMultipleResponseDescriptor = $convert.base64Decode( - 'ChxFY2hvUmVzb3VyY2VNdWx0aXBsZVJlc3BvbnNlEhgKB21lc3NhZ2UYASABKAlSB21lc3NhZ2' - 'U='); - -@$core.Deprecated('Use echoResourceBiDiRequestDescriptor instead') -const EchoResourceBiDiRequest$json = { - '1': 'EchoResourceBiDiRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResourceBiDiRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResourceBiDiRequestDescriptor = $convert.base64Decode( - 'ChdFY2hvUmVzb3VyY2VCaURpUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhgKB21lc3NhZ2' - 'UYAiABKAlSB21lc3NhZ2U='); - -@$core.Deprecated('Use echoResourceBiDiResponseDescriptor instead') -const EchoResourceBiDiResponse$json = { - '1': 'EchoResourceBiDiResponse', - '2': [ - {'1': 'message', '3': 1, '4': 1, '5': 9, '10': 'message'}, - ], -}; - -/// Descriptor for `EchoResourceBiDiResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List echoResourceBiDiResponseDescriptor = $convert.base64Decode( - 'ChhFY2hvUmVzb3VyY2VCaURpUmVzcG9uc2USGAoHbWVzc2FnZRgBIAEoCVIHbWVzc2FnZQ=='); - diff --git a/lib/src/gen/proto/rpc/v1/auth.pb.dart b/lib/src/gen/proto/rpc/v1/auth.pb.dart deleted file mode 100644 index 3e3f1a3f564..00000000000 --- a/lib/src/gen/proto/rpc/v1/auth.pb.dart +++ /dev/null @@ -1,308 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/v1/auth.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class Credentials extends $pb.GeneratedMessage { - factory Credentials({ - $core.String? type, - $core.String? payload, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (payload != null) { - $result.payload = payload; - } - return $result; - } - Credentials._() : super(); - factory Credentials.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Credentials.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Credentials', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..aOS(2, _omitFieldNames ? '' : 'payload') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Credentials clone() => Credentials()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Credentials copyWith(void Function(Credentials) updates) => super.copyWith((message) => updates(message as Credentials)) as Credentials; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Credentials create() => Credentials._(); - Credentials createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Credentials getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Credentials? _defaultInstance; - - /// type is the type of credentials being used. - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - /// payload is an opaque string used that are of the given type above. - @$pb.TagNumber(2) - $core.String get payload => $_getSZ(1); - @$pb.TagNumber(2) - set payload($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPayload() => $_has(1); - @$pb.TagNumber(2) - void clearPayload() => clearField(2); -} - -/// An AuthenticateRequest contains the credentials used to authenticate. -class AuthenticateRequest extends $pb.GeneratedMessage { - factory AuthenticateRequest({ - $core.String? entity, - Credentials? credentials, - }) { - final $result = create(); - if (entity != null) { - $result.entity = entity; - } - if (credentials != null) { - $result.credentials = credentials; - } - return $result; - } - AuthenticateRequest._() : super(); - factory AuthenticateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthenticateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthenticateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'entity') - ..aOM(2, _omitFieldNames ? '' : 'credentials', subBuilder: Credentials.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthenticateRequest clone() => AuthenticateRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthenticateRequest copyWith(void Function(AuthenticateRequest) updates) => super.copyWith((message) => updates(message as AuthenticateRequest)) as AuthenticateRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthenticateRequest create() => AuthenticateRequest._(); - AuthenticateRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthenticateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthenticateRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get entity => $_getSZ(0); - @$pb.TagNumber(1) - set entity($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasEntity() => $_has(0); - @$pb.TagNumber(1) - void clearEntity() => clearField(1); - - @$pb.TagNumber(2) - Credentials get credentials => $_getN(1); - @$pb.TagNumber(2) - set credentials(Credentials v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCredentials() => $_has(1); - @$pb.TagNumber(2) - void clearCredentials() => clearField(2); - @$pb.TagNumber(2) - Credentials ensureCredentials() => $_ensure(1); -} - -/// An AuthenticateResponse is returned after successful authentication. -class AuthenticateResponse extends $pb.GeneratedMessage { - factory AuthenticateResponse({ - $core.String? accessToken, - }) { - final $result = create(); - if (accessToken != null) { - $result.accessToken = accessToken; - } - return $result; - } - AuthenticateResponse._() : super(); - factory AuthenticateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthenticateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthenticateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'accessToken') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthenticateResponse clone() => AuthenticateResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthenticateResponse copyWith(void Function(AuthenticateResponse) updates) => super.copyWith((message) => updates(message as AuthenticateResponse)) as AuthenticateResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthenticateResponse create() => AuthenticateResponse._(); - AuthenticateResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthenticateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthenticateResponse? _defaultInstance; - - /// access_token is a JWT where only the expiration should be deemed - /// important. - @$pb.TagNumber(1) - $core.String get accessToken => $_getSZ(0); - @$pb.TagNumber(1) - set accessToken($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasAccessToken() => $_has(0); - @$pb.TagNumber(1) - void clearAccessToken() => clearField(1); -} - -/// An AuthenticateToRequest contains the entity to authenticate to. -class AuthenticateToRequest extends $pb.GeneratedMessage { - factory AuthenticateToRequest({ - $core.String? entity, - }) { - final $result = create(); - if (entity != null) { - $result.entity = entity; - } - return $result; - } - AuthenticateToRequest._() : super(); - factory AuthenticateToRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthenticateToRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthenticateToRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'entity') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthenticateToRequest clone() => AuthenticateToRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthenticateToRequest copyWith(void Function(AuthenticateToRequest) updates) => super.copyWith((message) => updates(message as AuthenticateToRequest)) as AuthenticateToRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthenticateToRequest create() => AuthenticateToRequest._(); - AuthenticateToRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthenticateToRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthenticateToRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get entity => $_getSZ(0); - @$pb.TagNumber(1) - set entity($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasEntity() => $_has(0); - @$pb.TagNumber(1) - void clearEntity() => clearField(1); -} - -/// An AuthenticateResponse is returned after successful authentication. -class AuthenticateToResponse extends $pb.GeneratedMessage { - factory AuthenticateToResponse({ - $core.String? accessToken, - }) { - final $result = create(); - if (accessToken != null) { - $result.accessToken = accessToken; - } - return $result; - } - AuthenticateToResponse._() : super(); - factory AuthenticateToResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AuthenticateToResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthenticateToResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'accessToken') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AuthenticateToResponse clone() => AuthenticateToResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AuthenticateToResponse copyWith(void Function(AuthenticateToResponse) updates) => super.copyWith((message) => updates(message as AuthenticateToResponse)) as AuthenticateToResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AuthenticateToResponse create() => AuthenticateToResponse._(); - AuthenticateToResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AuthenticateToResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AuthenticateToResponse? _defaultInstance; - - /// access_token is a JWT where only the expiration should be deemed - /// important. - @$pb.TagNumber(1) - $core.String get accessToken => $_getSZ(0); - @$pb.TagNumber(1) - set accessToken($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasAccessToken() => $_has(0); - @$pb.TagNumber(1) - void clearAccessToken() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/proto/rpc/v1/auth.pbenum.dart b/lib/src/gen/proto/rpc/v1/auth.pbenum.dart deleted file mode 100644 index b97a457b3ee..00000000000 --- a/lib/src/gen/proto/rpc/v1/auth.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/v1/auth.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/proto/rpc/v1/auth.pbgrpc.dart b/lib/src/gen/proto/rpc/v1/auth.pbgrpc.dart deleted file mode 100644 index f25de4166b1..00000000000 --- a/lib/src/gen/proto/rpc/v1/auth.pbgrpc.dart +++ /dev/null @@ -1,97 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/v1/auth.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'auth.pb.dart' as $2; - -export 'auth.pb.dart'; - -@$pb.GrpcServiceName('proto.rpc.v1.AuthService') -class AuthServiceClient extends $grpc.Client { - static final _$authenticate = $grpc.ClientMethod<$2.AuthenticateRequest, $2.AuthenticateResponse>( - '/proto.rpc.v1.AuthService/Authenticate', - ($2.AuthenticateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.AuthenticateResponse.fromBuffer(value)); - - AuthServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$2.AuthenticateResponse> authenticate($2.AuthenticateRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$authenticate, request, options: options); - } -} - -@$pb.GrpcServiceName('proto.rpc.v1.AuthService') -abstract class AuthServiceBase extends $grpc.Service { - $core.String get $name => 'proto.rpc.v1.AuthService'; - - AuthServiceBase() { - $addMethod($grpc.ServiceMethod<$2.AuthenticateRequest, $2.AuthenticateResponse>( - 'Authenticate', - authenticate_Pre, - false, - false, - ($core.List<$core.int> value) => $2.AuthenticateRequest.fromBuffer(value), - ($2.AuthenticateResponse value) => value.writeToBuffer())); - } - - $async.Future<$2.AuthenticateResponse> authenticate_Pre($grpc.ServiceCall call, $async.Future<$2.AuthenticateRequest> request) async { - return authenticate(call, await request); - } - - $async.Future<$2.AuthenticateResponse> authenticate($grpc.ServiceCall call, $2.AuthenticateRequest request); -} -@$pb.GrpcServiceName('proto.rpc.v1.ExternalAuthService') -class ExternalAuthServiceClient extends $grpc.Client { - static final _$authenticateTo = $grpc.ClientMethod<$2.AuthenticateToRequest, $2.AuthenticateToResponse>( - '/proto.rpc.v1.ExternalAuthService/AuthenticateTo', - ($2.AuthenticateToRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.AuthenticateToResponse.fromBuffer(value)); - - ExternalAuthServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$2.AuthenticateToResponse> authenticateTo($2.AuthenticateToRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$authenticateTo, request, options: options); - } -} - -@$pb.GrpcServiceName('proto.rpc.v1.ExternalAuthService') -abstract class ExternalAuthServiceBase extends $grpc.Service { - $core.String get $name => 'proto.rpc.v1.ExternalAuthService'; - - ExternalAuthServiceBase() { - $addMethod($grpc.ServiceMethod<$2.AuthenticateToRequest, $2.AuthenticateToResponse>( - 'AuthenticateTo', - authenticateTo_Pre, - false, - false, - ($core.List<$core.int> value) => $2.AuthenticateToRequest.fromBuffer(value), - ($2.AuthenticateToResponse value) => value.writeToBuffer())); - } - - $async.Future<$2.AuthenticateToResponse> authenticateTo_Pre($grpc.ServiceCall call, $async.Future<$2.AuthenticateToRequest> request) async { - return authenticateTo(call, await request); - } - - $async.Future<$2.AuthenticateToResponse> authenticateTo($grpc.ServiceCall call, $2.AuthenticateToRequest request); -} diff --git a/lib/src/gen/proto/rpc/v1/auth.pbjson.dart b/lib/src/gen/proto/rpc/v1/auth.pbjson.dart deleted file mode 100644 index ae21da8de97..00000000000 --- a/lib/src/gen/proto/rpc/v1/auth.pbjson.dart +++ /dev/null @@ -1,81 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/v1/auth.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use credentialsDescriptor instead') -const Credentials$json = { - '1': 'Credentials', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'payload', '3': 2, '4': 1, '5': 9, '10': 'payload'}, - ], -}; - -/// Descriptor for `Credentials`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List credentialsDescriptor = $convert.base64Decode( - 'CgtDcmVkZW50aWFscxISCgR0eXBlGAEgASgJUgR0eXBlEhgKB3BheWxvYWQYAiABKAlSB3BheW' - 'xvYWQ='); - -@$core.Deprecated('Use authenticateRequestDescriptor instead') -const AuthenticateRequest$json = { - '1': 'AuthenticateRequest', - '2': [ - {'1': 'entity', '3': 1, '4': 1, '5': 9, '10': 'entity'}, - {'1': 'credentials', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.v1.Credentials', '10': 'credentials'}, - ], -}; - -/// Descriptor for `AuthenticateRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authenticateRequestDescriptor = $convert.base64Decode( - 'ChNBdXRoZW50aWNhdGVSZXF1ZXN0EhYKBmVudGl0eRgBIAEoCVIGZW50aXR5EjsKC2NyZWRlbn' - 'RpYWxzGAIgASgLMhkucHJvdG8ucnBjLnYxLkNyZWRlbnRpYWxzUgtjcmVkZW50aWFscw=='); - -@$core.Deprecated('Use authenticateResponseDescriptor instead') -const AuthenticateResponse$json = { - '1': 'AuthenticateResponse', - '2': [ - {'1': 'access_token', '3': 1, '4': 1, '5': 9, '10': 'accessToken'}, - ], -}; - -/// Descriptor for `AuthenticateResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authenticateResponseDescriptor = $convert.base64Decode( - 'ChRBdXRoZW50aWNhdGVSZXNwb25zZRIhCgxhY2Nlc3NfdG9rZW4YASABKAlSC2FjY2Vzc1Rva2' - 'Vu'); - -@$core.Deprecated('Use authenticateToRequestDescriptor instead') -const AuthenticateToRequest$json = { - '1': 'AuthenticateToRequest', - '2': [ - {'1': 'entity', '3': 1, '4': 1, '5': 9, '10': 'entity'}, - ], -}; - -/// Descriptor for `AuthenticateToRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authenticateToRequestDescriptor = $convert.base64Decode( - 'ChVBdXRoZW50aWNhdGVUb1JlcXVlc3QSFgoGZW50aXR5GAEgASgJUgZlbnRpdHk='); - -@$core.Deprecated('Use authenticateToResponseDescriptor instead') -const AuthenticateToResponse$json = { - '1': 'AuthenticateToResponse', - '2': [ - {'1': 'access_token', '3': 1, '4': 1, '5': 9, '10': 'accessToken'}, - ], -}; - -/// Descriptor for `AuthenticateToResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List authenticateToResponseDescriptor = $convert.base64Decode( - 'ChZBdXRoZW50aWNhdGVUb1Jlc3BvbnNlEiEKDGFjY2Vzc190b2tlbhgBIAEoCVILYWNjZXNzVG' - '9rZW4='); - diff --git a/lib/src/gen/proto/rpc/webrtc/v1/grpc.pb.dart b/lib/src/gen/proto/rpc/webrtc/v1/grpc.pb.dart deleted file mode 100644 index b926aa9c29a..00000000000 --- a/lib/src/gen/proto/rpc/webrtc/v1/grpc.pb.dart +++ /dev/null @@ -1,812 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/webrtc/v1/grpc.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../../google/protobuf/duration.pb.dart' as $4; -import '../../../../google/rpc/status.pb.dart' as $5; - -/// A PacketMessage is used to packetize large messages (> 64KiB) to be able to safely -/// transmit over WebRTC data channels. -class PacketMessage extends $pb.GeneratedMessage { - factory PacketMessage({ - $core.List<$core.int>? data, - $core.bool? eom, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - if (eom != null) { - $result.eom = eom; - } - return $result; - } - PacketMessage._() : super(); - factory PacketMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PacketMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PacketMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..aOB(2, _omitFieldNames ? '' : 'eom') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PacketMessage clone() => PacketMessage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PacketMessage copyWith(void Function(PacketMessage) updates) => super.copyWith((message) => updates(message as PacketMessage)) as PacketMessage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PacketMessage create() => PacketMessage._(); - PacketMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PacketMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PacketMessage? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getN(0); - @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); - - @$pb.TagNumber(2) - $core.bool get eom => $_getBF(1); - @$pb.TagNumber(2) - set eom($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasEom() => $_has(1); - @$pb.TagNumber(2) - void clearEom() => clearField(2); -} - -/// A Stream represents an instance of a gRPC stream between -/// a client and a server. -class Stream extends $pb.GeneratedMessage { - factory Stream({ - $fixnum.Int64? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - Stream._() : super(); - factory Stream.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Stream.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Stream', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Stream clone() => Stream()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Stream copyWith(void Function(Stream) updates) => super.copyWith((message) => updates(message as Stream)) as Stream; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Stream create() => Stream._(); - Stream createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Stream getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Stream? _defaultInstance; - - @$pb.TagNumber(1) - $fixnum.Int64 get id => $_getI64(0); - @$pb.TagNumber(1) - set id($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -enum Request_Type { - headers, - message, - rstStream, - notSet -} - -/// A Request is a frame coming from a client. It is always -/// associated with a stream where the client assigns the stream -/// identifier. Servers will drop frames where the stream identifier -/// has no association (if a non-header frames are sent). -class Request extends $pb.GeneratedMessage { - factory Request({ - Stream? stream, - RequestHeaders? headers, - RequestMessage? message, - $core.bool? rstStream, - }) { - final $result = create(); - if (stream != null) { - $result.stream = stream; - } - if (headers != null) { - $result.headers = headers; - } - if (message != null) { - $result.message = message; - } - if (rstStream != null) { - $result.rstStream = rstStream; - } - return $result; - } - Request._() : super(); - factory Request.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Request.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Request_Type> _Request_TypeByTag = { - 2 : Request_Type.headers, - 3 : Request_Type.message, - 4 : Request_Type.rstStream, - 0 : Request_Type.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Request', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..oo(0, [2, 3, 4]) - ..aOM(1, _omitFieldNames ? '' : 'stream', subBuilder: Stream.create) - ..aOM(2, _omitFieldNames ? '' : 'headers', subBuilder: RequestHeaders.create) - ..aOM(3, _omitFieldNames ? '' : 'message', subBuilder: RequestMessage.create) - ..aOB(4, _omitFieldNames ? '' : 'rstStream') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Request clone() => Request()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Request copyWith(void Function(Request) updates) => super.copyWith((message) => updates(message as Request)) as Request; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Request create() => Request._(); - Request createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Request getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Request? _defaultInstance; - - Request_Type whichType() => _Request_TypeByTag[$_whichOneof(0)]!; - void clearType() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - Stream get stream => $_getN(0); - @$pb.TagNumber(1) - set stream(Stream v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStream() => $_has(0); - @$pb.TagNumber(1) - void clearStream() => clearField(1); - @$pb.TagNumber(1) - Stream ensureStream() => $_ensure(0); - - @$pb.TagNumber(2) - RequestHeaders get headers => $_getN(1); - @$pb.TagNumber(2) - set headers(RequestHeaders v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasHeaders() => $_has(1); - @$pb.TagNumber(2) - void clearHeaders() => clearField(2); - @$pb.TagNumber(2) - RequestHeaders ensureHeaders() => $_ensure(1); - - @$pb.TagNumber(3) - RequestMessage get message => $_getN(2); - @$pb.TagNumber(3) - set message(RequestMessage v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasMessage() => $_has(2); - @$pb.TagNumber(3) - void clearMessage() => clearField(3); - @$pb.TagNumber(3) - RequestMessage ensureMessage() => $_ensure(2); - - @$pb.TagNumber(4) - $core.bool get rstStream => $_getBF(3); - @$pb.TagNumber(4) - set rstStream($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasRstStream() => $_has(3); - @$pb.TagNumber(4) - void clearRstStream() => clearField(4); -} - -/// RequestHeaders describe the unary or streaming call to make. -class RequestHeaders extends $pb.GeneratedMessage { - factory RequestHeaders({ - $core.String? method, - Metadata? metadata, - $4.Duration? timeout, - }) { - final $result = create(); - if (method != null) { - $result.method = method; - } - if (metadata != null) { - $result.metadata = metadata; - } - if (timeout != null) { - $result.timeout = timeout; - } - return $result; - } - RequestHeaders._() : super(); - factory RequestHeaders.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RequestHeaders.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestHeaders', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'method') - ..aOM(2, _omitFieldNames ? '' : 'metadata', subBuilder: Metadata.create) - ..aOM<$4.Duration>(3, _omitFieldNames ? '' : 'timeout', subBuilder: $4.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestHeaders clone() => RequestHeaders()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestHeaders copyWith(void Function(RequestHeaders) updates) => super.copyWith((message) => updates(message as RequestHeaders)) as RequestHeaders; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RequestHeaders create() => RequestHeaders._(); - RequestHeaders createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RequestHeaders getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RequestHeaders? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get method => $_getSZ(0); - @$pb.TagNumber(1) - set method($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMethod() => $_has(0); - @$pb.TagNumber(1) - void clearMethod() => clearField(1); - - @$pb.TagNumber(2) - Metadata get metadata => $_getN(1); - @$pb.TagNumber(2) - set metadata(Metadata v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasMetadata() => $_has(1); - @$pb.TagNumber(2) - void clearMetadata() => clearField(2); - @$pb.TagNumber(2) - Metadata ensureMetadata() => $_ensure(1); - - @$pb.TagNumber(3) - $4.Duration get timeout => $_getN(2); - @$pb.TagNumber(3) - set timeout($4.Duration v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasTimeout() => $_has(2); - @$pb.TagNumber(3) - void clearTimeout() => clearField(3); - @$pb.TagNumber(3) - $4.Duration ensureTimeout() => $_ensure(2); -} - -/// A RequestMessage contains individual gRPC messages and a potential -/// end-of-stream (EOS) marker. -class RequestMessage extends $pb.GeneratedMessage { - factory RequestMessage({ - $core.bool? hasMessage, - PacketMessage? packetMessage, - $core.bool? eos, - }) { - final $result = create(); - if (hasMessage != null) { - $result.hasMessage = hasMessage; - } - if (packetMessage != null) { - $result.packetMessage = packetMessage; - } - if (eos != null) { - $result.eos = eos; - } - return $result; - } - RequestMessage._() : super(); - factory RequestMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RequestMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'hasMessage') - ..aOM(2, _omitFieldNames ? '' : 'packetMessage', subBuilder: PacketMessage.create) - ..aOB(3, _omitFieldNames ? '' : 'eos') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RequestMessage clone() => RequestMessage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RequestMessage copyWith(void Function(RequestMessage) updates) => super.copyWith((message) => updates(message as RequestMessage)) as RequestMessage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RequestMessage create() => RequestMessage._(); - RequestMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RequestMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RequestMessage? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get hasMessage => $_getBF(0); - @$pb.TagNumber(1) - set hasMessage($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasHasMessage() => $_has(0); - @$pb.TagNumber(1) - void clearHasMessage() => clearField(1); - - @$pb.TagNumber(2) - PacketMessage get packetMessage => $_getN(1); - @$pb.TagNumber(2) - set packetMessage(PacketMessage v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPacketMessage() => $_has(1); - @$pb.TagNumber(2) - void clearPacketMessage() => clearField(2); - @$pb.TagNumber(2) - PacketMessage ensurePacketMessage() => $_ensure(1); - - @$pb.TagNumber(3) - $core.bool get eos => $_getBF(2); - @$pb.TagNumber(3) - set eos($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasEos() => $_has(2); - @$pb.TagNumber(3) - void clearEos() => clearField(3); -} - -enum Response_Type { - headers, - message, - trailers, - notSet -} - -/// A Response is a frame coming from a server. It is always -/// associated with a stream where the client assigns the stream -/// identifier. Clients will drop frames where the stream identifier -/// has no association. -class Response extends $pb.GeneratedMessage { - factory Response({ - Stream? stream, - ResponseHeaders? headers, - ResponseMessage? message, - ResponseTrailers? trailers, - }) { - final $result = create(); - if (stream != null) { - $result.stream = stream; - } - if (headers != null) { - $result.headers = headers; - } - if (message != null) { - $result.message = message; - } - if (trailers != null) { - $result.trailers = trailers; - } - return $result; - } - Response._() : super(); - factory Response.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Response.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Response_Type> _Response_TypeByTag = { - 2 : Response_Type.headers, - 3 : Response_Type.message, - 4 : Response_Type.trailers, - 0 : Response_Type.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Response', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..oo(0, [2, 3, 4]) - ..aOM(1, _omitFieldNames ? '' : 'stream', subBuilder: Stream.create) - ..aOM(2, _omitFieldNames ? '' : 'headers', subBuilder: ResponseHeaders.create) - ..aOM(3, _omitFieldNames ? '' : 'message', subBuilder: ResponseMessage.create) - ..aOM(4, _omitFieldNames ? '' : 'trailers', subBuilder: ResponseTrailers.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Response clone() => Response()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Response copyWith(void Function(Response) updates) => super.copyWith((message) => updates(message as Response)) as Response; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Response create() => Response._(); - Response createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Response getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Response? _defaultInstance; - - Response_Type whichType() => _Response_TypeByTag[$_whichOneof(0)]!; - void clearType() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - Stream get stream => $_getN(0); - @$pb.TagNumber(1) - set stream(Stream v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStream() => $_has(0); - @$pb.TagNumber(1) - void clearStream() => clearField(1); - @$pb.TagNumber(1) - Stream ensureStream() => $_ensure(0); - - @$pb.TagNumber(2) - ResponseHeaders get headers => $_getN(1); - @$pb.TagNumber(2) - set headers(ResponseHeaders v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasHeaders() => $_has(1); - @$pb.TagNumber(2) - void clearHeaders() => clearField(2); - @$pb.TagNumber(2) - ResponseHeaders ensureHeaders() => $_ensure(1); - - @$pb.TagNumber(3) - ResponseMessage get message => $_getN(2); - @$pb.TagNumber(3) - set message(ResponseMessage v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasMessage() => $_has(2); - @$pb.TagNumber(3) - void clearMessage() => clearField(3); - @$pb.TagNumber(3) - ResponseMessage ensureMessage() => $_ensure(2); - - @$pb.TagNumber(4) - ResponseTrailers get trailers => $_getN(3); - @$pb.TagNumber(4) - set trailers(ResponseTrailers v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasTrailers() => $_has(3); - @$pb.TagNumber(4) - void clearTrailers() => clearField(4); - @$pb.TagNumber(4) - ResponseTrailers ensureTrailers() => $_ensure(3); -} - -/// ResponseHeaders contain custom metadata that are sent to the client -/// before any message or trailers (unless only trailers are sent). -class ResponseHeaders extends $pb.GeneratedMessage { - factory ResponseHeaders({ - Metadata? metadata, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - return $result; - } - ResponseHeaders._() : super(); - factory ResponseHeaders.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResponseHeaders.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResponseHeaders', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: Metadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResponseHeaders clone() => ResponseHeaders()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResponseHeaders copyWith(void Function(ResponseHeaders) updates) => super.copyWith((message) => updates(message as ResponseHeaders)) as ResponseHeaders; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResponseHeaders create() => ResponseHeaders._(); - ResponseHeaders createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResponseHeaders getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResponseHeaders? _defaultInstance; - - @$pb.TagNumber(1) - Metadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(Metadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - Metadata ensureMetadata() => $_ensure(0); -} - -/// ResponseMessage contains the data of a response to a call. -class ResponseMessage extends $pb.GeneratedMessage { - factory ResponseMessage({ - PacketMessage? packetMessage, - }) { - final $result = create(); - if (packetMessage != null) { - $result.packetMessage = packetMessage; - } - return $result; - } - ResponseMessage._() : super(); - factory ResponseMessage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResponseMessage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResponseMessage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'packetMessage', subBuilder: PacketMessage.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResponseMessage clone() => ResponseMessage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResponseMessage copyWith(void Function(ResponseMessage) updates) => super.copyWith((message) => updates(message as ResponseMessage)) as ResponseMessage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResponseMessage create() => ResponseMessage._(); - ResponseMessage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResponseMessage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResponseMessage? _defaultInstance; - - @$pb.TagNumber(1) - PacketMessage get packetMessage => $_getN(0); - @$pb.TagNumber(1) - set packetMessage(PacketMessage v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPacketMessage() => $_has(0); - @$pb.TagNumber(1) - void clearPacketMessage() => clearField(1); - @$pb.TagNumber(1) - PacketMessage ensurePacketMessage() => $_ensure(0); -} - -/// ResponseTrailers contain the status of a response and any custom metadata. -class ResponseTrailers extends $pb.GeneratedMessage { - factory ResponseTrailers({ - $5.Status? status, - Metadata? metadata, - }) { - final $result = create(); - if (status != null) { - $result.status = status; - } - if (metadata != null) { - $result.metadata = metadata; - } - return $result; - } - ResponseTrailers._() : super(); - factory ResponseTrailers.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResponseTrailers.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResponseTrailers', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM<$5.Status>(1, _omitFieldNames ? '' : 'status', subBuilder: $5.Status.create) - ..aOM(2, _omitFieldNames ? '' : 'metadata', subBuilder: Metadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResponseTrailers clone() => ResponseTrailers()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResponseTrailers copyWith(void Function(ResponseTrailers) updates) => super.copyWith((message) => updates(message as ResponseTrailers)) as ResponseTrailers; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResponseTrailers create() => ResponseTrailers._(); - ResponseTrailers createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResponseTrailers getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResponseTrailers? _defaultInstance; - - @$pb.TagNumber(1) - $5.Status get status => $_getN(0); - @$pb.TagNumber(1) - set status($5.Status v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStatus() => $_has(0); - @$pb.TagNumber(1) - void clearStatus() => clearField(1); - @$pb.TagNumber(1) - $5.Status ensureStatus() => $_ensure(0); - - @$pb.TagNumber(2) - Metadata get metadata => $_getN(1); - @$pb.TagNumber(2) - set metadata(Metadata v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasMetadata() => $_has(1); - @$pb.TagNumber(2) - void clearMetadata() => clearField(2); - @$pb.TagNumber(2) - Metadata ensureMetadata() => $_ensure(1); -} - -/// Strings are a series of values. -class Strings extends $pb.GeneratedMessage { - factory Strings({ - $core.Iterable<$core.String>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - Strings._() : super(); - factory Strings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Strings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Strings', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'values') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Strings clone() => Strings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Strings copyWith(void Function(Strings) updates) => super.copyWith((message) => updates(message as Strings)) as Strings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Strings create() => Strings._(); - Strings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Strings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Strings? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get values => $_getList(0); -} - -/// Metadata is for custom key values provided by a client or server -/// during a stream. -class Metadata extends $pb.GeneratedMessage { - factory Metadata({ - $core.Map<$core.String, Strings>? md, - }) { - final $result = create(); - if (md != null) { - $result.md.addAll(md); - } - return $result; - } - Metadata._() : super(); - factory Metadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Metadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Metadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..m<$core.String, Strings>(1, _omitFieldNames ? '' : 'md', entryClassName: 'Metadata.MdEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: Strings.create, valueDefaultOrMaker: Strings.getDefault, packageName: const $pb.PackageName('proto.rpc.webrtc.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Metadata clone() => Metadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Metadata copyWith(void Function(Metadata) updates) => super.copyWith((message) => updates(message as Metadata)) as Metadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Metadata create() => Metadata._(); - Metadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Metadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Metadata? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.String, Strings> get md => $_getMap(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/proto/rpc/webrtc/v1/grpc.pbenum.dart b/lib/src/gen/proto/rpc/webrtc/v1/grpc.pbenum.dart deleted file mode 100644 index 92e52fb1ec3..00000000000 --- a/lib/src/gen/proto/rpc/webrtc/v1/grpc.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/webrtc/v1/grpc.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/proto/rpc/webrtc/v1/grpc.pbjson.dart b/lib/src/gen/proto/rpc/webrtc/v1/grpc.pbjson.dart deleted file mode 100644 index 5aca9176ce2..00000000000 --- a/lib/src/gen/proto/rpc/webrtc/v1/grpc.pbjson.dart +++ /dev/null @@ -1,194 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/webrtc/v1/grpc.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use packetMessageDescriptor instead') -const PacketMessage$json = { - '1': 'PacketMessage', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 12, '10': 'data'}, - {'1': 'eom', '3': 2, '4': 1, '5': 8, '10': 'eom'}, - ], -}; - -/// Descriptor for `PacketMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List packetMessageDescriptor = $convert.base64Decode( - 'Cg1QYWNrZXRNZXNzYWdlEhIKBGRhdGEYASABKAxSBGRhdGESEAoDZW9tGAIgASgIUgNlb20='); - -@$core.Deprecated('Use streamDescriptor instead') -const Stream$json = { - '1': 'Stream', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 4, '10': 'id'}, - ], -}; - -/// Descriptor for `Stream`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamDescriptor = $convert.base64Decode( - 'CgZTdHJlYW0SDgoCaWQYASABKARSAmlk'); - -@$core.Deprecated('Use requestDescriptor instead') -const Request$json = { - '1': 'Request', - '2': [ - {'1': 'stream', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.Stream', '10': 'stream'}, - {'1': 'headers', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.RequestHeaders', '9': 0, '10': 'headers'}, - {'1': 'message', '3': 3, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.RequestMessage', '9': 0, '10': 'message'}, - {'1': 'rst_stream', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'rstStream'}, - ], - '8': [ - {'1': 'type'}, - ], -}; - -/// Descriptor for `Request`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestDescriptor = $convert.base64Decode( - 'CgdSZXF1ZXN0EjMKBnN0cmVhbRgBIAEoCzIbLnByb3RvLnJwYy53ZWJydGMudjEuU3RyZWFtUg' - 'ZzdHJlYW0SPwoHaGVhZGVycxgCIAEoCzIjLnByb3RvLnJwYy53ZWJydGMudjEuUmVxdWVzdEhl' - 'YWRlcnNIAFIHaGVhZGVycxI/CgdtZXNzYWdlGAMgASgLMiMucHJvdG8ucnBjLndlYnJ0Yy52MS' - '5SZXF1ZXN0TWVzc2FnZUgAUgdtZXNzYWdlEh8KCnJzdF9zdHJlYW0YBCABKAhIAFIJcnN0U3Ry' - 'ZWFtQgYKBHR5cGU='); - -@$core.Deprecated('Use requestHeadersDescriptor instead') -const RequestHeaders$json = { - '1': 'RequestHeaders', - '2': [ - {'1': 'method', '3': 1, '4': 1, '5': 9, '10': 'method'}, - {'1': 'metadata', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.Metadata', '10': 'metadata'}, - {'1': 'timeout', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'timeout'}, - ], -}; - -/// Descriptor for `RequestHeaders`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestHeadersDescriptor = $convert.base64Decode( - 'Cg5SZXF1ZXN0SGVhZGVycxIWCgZtZXRob2QYASABKAlSBm1ldGhvZBI5CghtZXRhZGF0YRgCIA' - 'EoCzIdLnByb3RvLnJwYy53ZWJydGMudjEuTWV0YWRhdGFSCG1ldGFkYXRhEjMKB3RpbWVvdXQY' - 'AyABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25SB3RpbWVvdXQ='); - -@$core.Deprecated('Use requestMessageDescriptor instead') -const RequestMessage$json = { - '1': 'RequestMessage', - '2': [ - {'1': 'has_message', '3': 1, '4': 1, '5': 8, '10': 'hasMessage'}, - {'1': 'packet_message', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.PacketMessage', '10': 'packetMessage'}, - {'1': 'eos', '3': 3, '4': 1, '5': 8, '10': 'eos'}, - ], -}; - -/// Descriptor for `RequestMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List requestMessageDescriptor = $convert.base64Decode( - 'Cg5SZXF1ZXN0TWVzc2FnZRIfCgtoYXNfbWVzc2FnZRgBIAEoCFIKaGFzTWVzc2FnZRJJCg5wYW' - 'NrZXRfbWVzc2FnZRgCIAEoCzIiLnByb3RvLnJwYy53ZWJydGMudjEuUGFja2V0TWVzc2FnZVIN' - 'cGFja2V0TWVzc2FnZRIQCgNlb3MYAyABKAhSA2Vvcw=='); - -@$core.Deprecated('Use responseDescriptor instead') -const Response$json = { - '1': 'Response', - '2': [ - {'1': 'stream', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.Stream', '10': 'stream'}, - {'1': 'headers', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.ResponseHeaders', '9': 0, '10': 'headers'}, - {'1': 'message', '3': 3, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.ResponseMessage', '9': 0, '10': 'message'}, - {'1': 'trailers', '3': 4, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.ResponseTrailers', '9': 0, '10': 'trailers'}, - ], - '8': [ - {'1': 'type'}, - ], -}; - -/// Descriptor for `Response`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List responseDescriptor = $convert.base64Decode( - 'CghSZXNwb25zZRIzCgZzdHJlYW0YASABKAsyGy5wcm90by5ycGMud2VicnRjLnYxLlN0cmVhbV' - 'IGc3RyZWFtEkAKB2hlYWRlcnMYAiABKAsyJC5wcm90by5ycGMud2VicnRjLnYxLlJlc3BvbnNl' - 'SGVhZGVyc0gAUgdoZWFkZXJzEkAKB21lc3NhZ2UYAyABKAsyJC5wcm90by5ycGMud2VicnRjLn' - 'YxLlJlc3BvbnNlTWVzc2FnZUgAUgdtZXNzYWdlEkMKCHRyYWlsZXJzGAQgASgLMiUucHJvdG8u' - 'cnBjLndlYnJ0Yy52MS5SZXNwb25zZVRyYWlsZXJzSABSCHRyYWlsZXJzQgYKBHR5cGU='); - -@$core.Deprecated('Use responseHeadersDescriptor instead') -const ResponseHeaders$json = { - '1': 'ResponseHeaders', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.Metadata', '10': 'metadata'}, - ], -}; - -/// Descriptor for `ResponseHeaders`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List responseHeadersDescriptor = $convert.base64Decode( - 'Cg9SZXNwb25zZUhlYWRlcnMSOQoIbWV0YWRhdGEYASABKAsyHS5wcm90by5ycGMud2VicnRjLn' - 'YxLk1ldGFkYXRhUghtZXRhZGF0YQ=='); - -@$core.Deprecated('Use responseMessageDescriptor instead') -const ResponseMessage$json = { - '1': 'ResponseMessage', - '2': [ - {'1': 'packet_message', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.PacketMessage', '10': 'packetMessage'}, - ], -}; - -/// Descriptor for `ResponseMessage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List responseMessageDescriptor = $convert.base64Decode( - 'Cg9SZXNwb25zZU1lc3NhZ2USSQoOcGFja2V0X21lc3NhZ2UYASABKAsyIi5wcm90by5ycGMud2' - 'VicnRjLnYxLlBhY2tldE1lc3NhZ2VSDXBhY2tldE1lc3NhZ2U='); - -@$core.Deprecated('Use responseTrailersDescriptor instead') -const ResponseTrailers$json = { - '1': 'ResponseTrailers', - '2': [ - {'1': 'status', '3': 1, '4': 1, '5': 11, '6': '.google.rpc.Status', '10': 'status'}, - {'1': 'metadata', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.Metadata', '10': 'metadata'}, - ], -}; - -/// Descriptor for `ResponseTrailers`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List responseTrailersDescriptor = $convert.base64Decode( - 'ChBSZXNwb25zZVRyYWlsZXJzEioKBnN0YXR1cxgBIAEoCzISLmdvb2dsZS5ycGMuU3RhdHVzUg' - 'ZzdGF0dXMSOQoIbWV0YWRhdGEYAiABKAsyHS5wcm90by5ycGMud2VicnRjLnYxLk1ldGFkYXRh' - 'UghtZXRhZGF0YQ=='); - -@$core.Deprecated('Use stringsDescriptor instead') -const Strings$json = { - '1': 'Strings', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 9, '10': 'values'}, - ], -}; - -/// Descriptor for `Strings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stringsDescriptor = $convert.base64Decode( - 'CgdTdHJpbmdzEhYKBnZhbHVlcxgBIAMoCVIGdmFsdWVz'); - -@$core.Deprecated('Use metadataDescriptor instead') -const Metadata$json = { - '1': 'Metadata', - '2': [ - {'1': 'md', '3': 1, '4': 3, '5': 11, '6': '.proto.rpc.webrtc.v1.Metadata.MdEntry', '10': 'md'}, - ], - '3': [Metadata_MdEntry$json], -}; - -@$core.Deprecated('Use metadataDescriptor instead') -const Metadata_MdEntry$json = { - '1': 'MdEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.Strings', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `Metadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metadataDescriptor = $convert.base64Decode( - 'CghNZXRhZGF0YRI1CgJtZBgBIAMoCzIlLnByb3RvLnJwYy53ZWJydGMudjEuTWV0YWRhdGEuTW' - 'RFbnRyeVICbWQaUwoHTWRFbnRyeRIQCgNrZXkYASABKAlSA2tleRIyCgV2YWx1ZRgCIAEoCzIc' - 'LnByb3RvLnJwYy53ZWJydGMudjEuU3RyaW5nc1IFdmFsdWU6AjgB'); - diff --git a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pb.dart b/lib/src/gen/proto/rpc/webrtc/v1/signaling.pb.dart deleted file mode 100644 index 2fed37a316b..00000000000 --- a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pb.dart +++ /dev/null @@ -1,1497 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/webrtc/v1/signaling.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../../google/protobuf/timestamp.pb.dart' as $6; -import '../../../../google/rpc/status.pb.dart' as $5; - -/// ICECandidate represents an ICE candidate. -/// From https://github.com/pion/webrtc/blob/5f6baf73255598a7b4a7c9400bb0381acc9aa3dc/icecandidateinit.go -class ICECandidate extends $pb.GeneratedMessage { - factory ICECandidate({ - $core.String? candidate, - $core.String? sdpMid, - $core.int? sdpmLineIndex, - $core.String? usernameFragment, - }) { - final $result = create(); - if (candidate != null) { - $result.candidate = candidate; - } - if (sdpMid != null) { - $result.sdpMid = sdpMid; - } - if (sdpmLineIndex != null) { - $result.sdpmLineIndex = sdpmLineIndex; - } - if (usernameFragment != null) { - $result.usernameFragment = usernameFragment; - } - return $result; - } - ICECandidate._() : super(); - factory ICECandidate.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ICECandidate.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ICECandidate', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'candidate') - ..aOS(2, _omitFieldNames ? '' : 'sdpMid') - ..a<$core.int>(3, _omitFieldNames ? '' : 'sdpmLineIndex', $pb.PbFieldType.OU3) - ..aOS(4, _omitFieldNames ? '' : 'usernameFragment') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ICECandidate clone() => ICECandidate()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ICECandidate copyWith(void Function(ICECandidate) updates) => super.copyWith((message) => updates(message as ICECandidate)) as ICECandidate; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ICECandidate create() => ICECandidate._(); - ICECandidate createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ICECandidate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ICECandidate? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get candidate => $_getSZ(0); - @$pb.TagNumber(1) - set candidate($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasCandidate() => $_has(0); - @$pb.TagNumber(1) - void clearCandidate() => clearField(1); - - @$pb.TagNumber(2) - $core.String get sdpMid => $_getSZ(1); - @$pb.TagNumber(2) - set sdpMid($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSdpMid() => $_has(1); - @$pb.TagNumber(2) - void clearSdpMid() => clearField(2); - - @$pb.TagNumber(3) - $core.int get sdpmLineIndex => $_getIZ(2); - @$pb.TagNumber(3) - set sdpmLineIndex($core.int v) { $_setUnsignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasSdpmLineIndex() => $_has(2); - @$pb.TagNumber(3) - void clearSdpmLineIndex() => clearField(3); - - @$pb.TagNumber(4) - $core.String get usernameFragment => $_getSZ(3); - @$pb.TagNumber(4) - set usernameFragment($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasUsernameFragment() => $_has(3); - @$pb.TagNumber(4) - void clearUsernameFragment() => clearField(4); -} - -/// CallRequest is the SDP offer that the controlling side is making. -class CallRequest extends $pb.GeneratedMessage { - factory CallRequest({ - $core.String? sdp, - $core.bool? disableTrickle, - }) { - final $result = create(); - if (sdp != null) { - $result.sdp = sdp; - } - if (disableTrickle != null) { - $result.disableTrickle = disableTrickle; - } - return $result; - } - CallRequest._() : super(); - factory CallRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CallRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CallRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sdp') - ..aOB(2, _omitFieldNames ? '' : 'disableTrickle') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CallRequest clone() => CallRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CallRequest copyWith(void Function(CallRequest) updates) => super.copyWith((message) => updates(message as CallRequest)) as CallRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CallRequest create() => CallRequest._(); - CallRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CallRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CallRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sdp => $_getSZ(0); - @$pb.TagNumber(1) - set sdp($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSdp() => $_has(0); - @$pb.TagNumber(1) - void clearSdp() => clearField(1); - - /// when disable_trickle is true, the init stage will be the only stage - /// to be received in the response and the caller can expect the SDP - /// to contain all ICE candidates. - @$pb.TagNumber(2) - $core.bool get disableTrickle => $_getBF(1); - @$pb.TagNumber(2) - set disableTrickle($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasDisableTrickle() => $_has(1); - @$pb.TagNumber(2) - void clearDisableTrickle() => clearField(2); -} - -/// CallResponseInitStage is the first and a one time stage that represents -/// the initial response to starting a call. -class CallResponseInitStage extends $pb.GeneratedMessage { - factory CallResponseInitStage({ - $core.String? sdp, - }) { - final $result = create(); - if (sdp != null) { - $result.sdp = sdp; - } - return $result; - } - CallResponseInitStage._() : super(); - factory CallResponseInitStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CallResponseInitStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CallResponseInitStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sdp') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CallResponseInitStage clone() => CallResponseInitStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CallResponseInitStage copyWith(void Function(CallResponseInitStage) updates) => super.copyWith((message) => updates(message as CallResponseInitStage)) as CallResponseInitStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CallResponseInitStage create() => CallResponseInitStage._(); - CallResponseInitStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CallResponseInitStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CallResponseInitStage? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sdp => $_getSZ(0); - @$pb.TagNumber(1) - set sdp($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSdp() => $_has(0); - @$pb.TagNumber(1) - void clearSdp() => clearField(1); -} - -/// CallResponseUpdateStage is multiply used to trickle in ICE candidates from -/// the controlled (answering) side. -class CallResponseUpdateStage extends $pb.GeneratedMessage { - factory CallResponseUpdateStage({ - ICECandidate? candidate, - }) { - final $result = create(); - if (candidate != null) { - $result.candidate = candidate; - } - return $result; - } - CallResponseUpdateStage._() : super(); - factory CallResponseUpdateStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CallResponseUpdateStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CallResponseUpdateStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'candidate', subBuilder: ICECandidate.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CallResponseUpdateStage clone() => CallResponseUpdateStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CallResponseUpdateStage copyWith(void Function(CallResponseUpdateStage) updates) => super.copyWith((message) => updates(message as CallResponseUpdateStage)) as CallResponseUpdateStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CallResponseUpdateStage create() => CallResponseUpdateStage._(); - CallResponseUpdateStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CallResponseUpdateStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CallResponseUpdateStage? _defaultInstance; - - @$pb.TagNumber(1) - ICECandidate get candidate => $_getN(0); - @$pb.TagNumber(1) - set candidate(ICECandidate v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCandidate() => $_has(0); - @$pb.TagNumber(1) - void clearCandidate() => clearField(1); - @$pb.TagNumber(1) - ICECandidate ensureCandidate() => $_ensure(0); -} - -enum CallResponse_Stage { - init, - update, - notSet -} - -/// CallResponse is the SDP answer that the controlled side responds with. -class CallResponse extends $pb.GeneratedMessage { - factory CallResponse({ - $core.String? uuid, - CallResponseInitStage? init, - CallResponseUpdateStage? update, - }) { - final $result = create(); - if (uuid != null) { - $result.uuid = uuid; - } - if (init != null) { - $result.init = init; - } - if (update != null) { - $result.update = update; - } - return $result; - } - CallResponse._() : super(); - factory CallResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CallResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, CallResponse_Stage> _CallResponse_StageByTag = { - 2 : CallResponse_Stage.init, - 3 : CallResponse_Stage.update, - 0 : CallResponse_Stage.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CallResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..oo(0, [2, 3]) - ..aOS(1, _omitFieldNames ? '' : 'uuid') - ..aOM(2, _omitFieldNames ? '' : 'init', subBuilder: CallResponseInitStage.create) - ..aOM(3, _omitFieldNames ? '' : 'update', subBuilder: CallResponseUpdateStage.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CallResponse clone() => CallResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CallResponse copyWith(void Function(CallResponse) updates) => super.copyWith((message) => updates(message as CallResponse)) as CallResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CallResponse create() => CallResponse._(); - CallResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CallResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CallResponse? _defaultInstance; - - CallResponse_Stage whichStage() => _CallResponse_StageByTag[$_whichOneof(0)]!; - void clearStage() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - $core.String get uuid => $_getSZ(0); - @$pb.TagNumber(1) - set uuid($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUuid() => $_has(0); - @$pb.TagNumber(1) - void clearUuid() => clearField(1); - - @$pb.TagNumber(2) - CallResponseInitStage get init => $_getN(1); - @$pb.TagNumber(2) - set init(CallResponseInitStage v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasInit() => $_has(1); - @$pb.TagNumber(2) - void clearInit() => clearField(2); - @$pb.TagNumber(2) - CallResponseInitStage ensureInit() => $_ensure(1); - - @$pb.TagNumber(3) - CallResponseUpdateStage get update => $_getN(2); - @$pb.TagNumber(3) - set update(CallResponseUpdateStage v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasUpdate() => $_has(2); - @$pb.TagNumber(3) - void clearUpdate() => clearField(3); - @$pb.TagNumber(3) - CallResponseUpdateStage ensureUpdate() => $_ensure(2); -} - -enum CallUpdateRequest_Update { - candidate, - done, - error, - notSet -} - -/// CallUpdateRequest updates the call with additional info to the controlled side. -class CallUpdateRequest extends $pb.GeneratedMessage { - factory CallUpdateRequest({ - $core.String? uuid, - ICECandidate? candidate, - $core.bool? done, - $5.Status? error, - }) { - final $result = create(); - if (uuid != null) { - $result.uuid = uuid; - } - if (candidate != null) { - $result.candidate = candidate; - } - if (done != null) { - $result.done = done; - } - if (error != null) { - $result.error = error; - } - return $result; - } - CallUpdateRequest._() : super(); - factory CallUpdateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CallUpdateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, CallUpdateRequest_Update> _CallUpdateRequest_UpdateByTag = { - 2 : CallUpdateRequest_Update.candidate, - 3 : CallUpdateRequest_Update.done, - 4 : CallUpdateRequest_Update.error, - 0 : CallUpdateRequest_Update.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CallUpdateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..oo(0, [2, 3, 4]) - ..aOS(1, _omitFieldNames ? '' : 'uuid') - ..aOM(2, _omitFieldNames ? '' : 'candidate', subBuilder: ICECandidate.create) - ..aOB(3, _omitFieldNames ? '' : 'done') - ..aOM<$5.Status>(4, _omitFieldNames ? '' : 'error', subBuilder: $5.Status.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CallUpdateRequest clone() => CallUpdateRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CallUpdateRequest copyWith(void Function(CallUpdateRequest) updates) => super.copyWith((message) => updates(message as CallUpdateRequest)) as CallUpdateRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CallUpdateRequest create() => CallUpdateRequest._(); - CallUpdateRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CallUpdateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CallUpdateRequest? _defaultInstance; - - CallUpdateRequest_Update whichUpdate() => _CallUpdateRequest_UpdateByTag[$_whichOneof(0)]!; - void clearUpdate() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - $core.String get uuid => $_getSZ(0); - @$pb.TagNumber(1) - set uuid($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUuid() => $_has(0); - @$pb.TagNumber(1) - void clearUuid() => clearField(1); - - @$pb.TagNumber(2) - ICECandidate get candidate => $_getN(1); - @$pb.TagNumber(2) - set candidate(ICECandidate v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCandidate() => $_has(1); - @$pb.TagNumber(2) - void clearCandidate() => clearField(2); - @$pb.TagNumber(2) - ICECandidate ensureCandidate() => $_ensure(1); - - @$pb.TagNumber(3) - $core.bool get done => $_getBF(2); - @$pb.TagNumber(3) - set done($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasDone() => $_has(2); - @$pb.TagNumber(3) - void clearDone() => clearField(3); - - @$pb.TagNumber(4) - $5.Status get error => $_getN(3); - @$pb.TagNumber(4) - set error($5.Status v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasError() => $_has(3); - @$pb.TagNumber(4) - void clearError() => clearField(4); - @$pb.TagNumber(4) - $5.Status ensureError() => $_ensure(3); -} - -/// CallUpdateResponse contains nothing in response to a call update. -class CallUpdateResponse extends $pb.GeneratedMessage { - factory CallUpdateResponse() => create(); - CallUpdateResponse._() : super(); - factory CallUpdateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CallUpdateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CallUpdateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CallUpdateResponse clone() => CallUpdateResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CallUpdateResponse copyWith(void Function(CallUpdateResponse) updates) => super.copyWith((message) => updates(message as CallUpdateResponse)) as CallUpdateResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CallUpdateResponse create() => CallUpdateResponse._(); - CallUpdateResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CallUpdateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CallUpdateResponse? _defaultInstance; -} - -/// ICEServer describes an ICE server. -class ICEServer extends $pb.GeneratedMessage { - factory ICEServer({ - $core.Iterable<$core.String>? urls, - $core.String? username, - $core.String? credential, - }) { - final $result = create(); - if (urls != null) { - $result.urls.addAll(urls); - } - if (username != null) { - $result.username = username; - } - if (credential != null) { - $result.credential = credential; - } - return $result; - } - ICEServer._() : super(); - factory ICEServer.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ICEServer.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ICEServer', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'urls') - ..aOS(2, _omitFieldNames ? '' : 'username') - ..aOS(3, _omitFieldNames ? '' : 'credential') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ICEServer clone() => ICEServer()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ICEServer copyWith(void Function(ICEServer) updates) => super.copyWith((message) => updates(message as ICEServer)) as ICEServer; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ICEServer create() => ICEServer._(); - ICEServer createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ICEServer getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ICEServer? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get urls => $_getList(0); - - @$pb.TagNumber(2) - $core.String get username => $_getSZ(1); - @$pb.TagNumber(2) - set username($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasUsername() => $_has(1); - @$pb.TagNumber(2) - void clearUsername() => clearField(2); - - @$pb.TagNumber(3) - $core.String get credential => $_getSZ(2); - @$pb.TagNumber(3) - set credential($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasCredential() => $_has(2); - @$pb.TagNumber(3) - void clearCredential() => clearField(3); -} - -/// WebRTCConfig represents parts of a WebRTC config. -class WebRTCConfig extends $pb.GeneratedMessage { - factory WebRTCConfig({ - $core.Iterable? additionalIceServers, - $core.bool? disableTrickle, - }) { - final $result = create(); - if (additionalIceServers != null) { - $result.additionalIceServers.addAll(additionalIceServers); - } - if (disableTrickle != null) { - $result.disableTrickle = disableTrickle; - } - return $result; - } - WebRTCConfig._() : super(); - factory WebRTCConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WebRTCConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'WebRTCConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'additionalIceServers', $pb.PbFieldType.PM, subBuilder: ICEServer.create) - ..aOB(2, _omitFieldNames ? '' : 'disableTrickle') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WebRTCConfig clone() => WebRTCConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WebRTCConfig copyWith(void Function(WebRTCConfig) updates) => super.copyWith((message) => updates(message as WebRTCConfig)) as WebRTCConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static WebRTCConfig create() => WebRTCConfig._(); - WebRTCConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WebRTCConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WebRTCConfig? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get additionalIceServers => $_getList(0); - - /// disable_trickle indicates if Trickle ICE should be used. Currently, both - /// sides must both respect this setting. - @$pb.TagNumber(2) - $core.bool get disableTrickle => $_getBF(1); - @$pb.TagNumber(2) - set disableTrickle($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasDisableTrickle() => $_has(1); - @$pb.TagNumber(2) - void clearDisableTrickle() => clearField(2); -} - -/// AnswerRequestInitStage is the first and a one time stage that represents the -/// callers initial SDP request to the controlled (answerer) side. -class AnswerRequestInitStage extends $pb.GeneratedMessage { - factory AnswerRequestInitStage({ - $core.String? sdp, - WebRTCConfig? optionalConfig, - $6.Timestamp? deadline, - }) { - final $result = create(); - if (sdp != null) { - $result.sdp = sdp; - } - if (optionalConfig != null) { - $result.optionalConfig = optionalConfig; - } - if (deadline != null) { - $result.deadline = deadline; - } - return $result; - } - AnswerRequestInitStage._() : super(); - factory AnswerRequestInitStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerRequestInitStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerRequestInitStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sdp') - ..aOM(2, _omitFieldNames ? '' : 'optionalConfig', subBuilder: WebRTCConfig.create) - ..aOM<$6.Timestamp>(3, _omitFieldNames ? '' : 'deadline', subBuilder: $6.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerRequestInitStage clone() => AnswerRequestInitStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerRequestInitStage copyWith(void Function(AnswerRequestInitStage) updates) => super.copyWith((message) => updates(message as AnswerRequestInitStage)) as AnswerRequestInitStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerRequestInitStage create() => AnswerRequestInitStage._(); - AnswerRequestInitStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerRequestInitStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerRequestInitStage? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sdp => $_getSZ(0); - @$pb.TagNumber(1) - set sdp($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSdp() => $_has(0); - @$pb.TagNumber(1) - void clearSdp() => clearField(1); - - @$pb.TagNumber(2) - WebRTCConfig get optionalConfig => $_getN(1); - @$pb.TagNumber(2) - set optionalConfig(WebRTCConfig v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasOptionalConfig() => $_has(1); - @$pb.TagNumber(2) - void clearOptionalConfig() => clearField(2); - @$pb.TagNumber(2) - WebRTCConfig ensureOptionalConfig() => $_ensure(1); - - @$pb.TagNumber(3) - $6.Timestamp get deadline => $_getN(2); - @$pb.TagNumber(3) - set deadline($6.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasDeadline() => $_has(2); - @$pb.TagNumber(3) - void clearDeadline() => clearField(3); - @$pb.TagNumber(3) - $6.Timestamp ensureDeadline() => $_ensure(2); -} - -/// AnswerRequestUpdateStage is multiply used to trickle in ICE candidates to -/// the controlled (answerer) side. -class AnswerRequestUpdateStage extends $pb.GeneratedMessage { - factory AnswerRequestUpdateStage({ - ICECandidate? candidate, - }) { - final $result = create(); - if (candidate != null) { - $result.candidate = candidate; - } - return $result; - } - AnswerRequestUpdateStage._() : super(); - factory AnswerRequestUpdateStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerRequestUpdateStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerRequestUpdateStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'candidate', subBuilder: ICECandidate.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerRequestUpdateStage clone() => AnswerRequestUpdateStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerRequestUpdateStage copyWith(void Function(AnswerRequestUpdateStage) updates) => super.copyWith((message) => updates(message as AnswerRequestUpdateStage)) as AnswerRequestUpdateStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerRequestUpdateStage create() => AnswerRequestUpdateStage._(); - AnswerRequestUpdateStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerRequestUpdateStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerRequestUpdateStage? _defaultInstance; - - @$pb.TagNumber(1) - ICECandidate get candidate => $_getN(0); - @$pb.TagNumber(1) - set candidate(ICECandidate v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCandidate() => $_has(0); - @$pb.TagNumber(1) - void clearCandidate() => clearField(1); - @$pb.TagNumber(1) - ICECandidate ensureCandidate() => $_ensure(0); -} - -/// AnswerRequestDoneStage indicates the controller is done responding with candidates. -class AnswerRequestDoneStage extends $pb.GeneratedMessage { - factory AnswerRequestDoneStage() => create(); - AnswerRequestDoneStage._() : super(); - factory AnswerRequestDoneStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerRequestDoneStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerRequestDoneStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerRequestDoneStage clone() => AnswerRequestDoneStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerRequestDoneStage copyWith(void Function(AnswerRequestDoneStage) updates) => super.copyWith((message) => updates(message as AnswerRequestDoneStage)) as AnswerRequestDoneStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerRequestDoneStage create() => AnswerRequestDoneStage._(); - AnswerRequestDoneStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerRequestDoneStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerRequestDoneStage? _defaultInstance; -} - -/// AnswerRequestErrorStage indicates the exchange has failed with an error. -class AnswerRequestErrorStage extends $pb.GeneratedMessage { - factory AnswerRequestErrorStage({ - $5.Status? status, - }) { - final $result = create(); - if (status != null) { - $result.status = status; - } - return $result; - } - AnswerRequestErrorStage._() : super(); - factory AnswerRequestErrorStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerRequestErrorStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerRequestErrorStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM<$5.Status>(1, _omitFieldNames ? '' : 'status', subBuilder: $5.Status.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerRequestErrorStage clone() => AnswerRequestErrorStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerRequestErrorStage copyWith(void Function(AnswerRequestErrorStage) updates) => super.copyWith((message) => updates(message as AnswerRequestErrorStage)) as AnswerRequestErrorStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerRequestErrorStage create() => AnswerRequestErrorStage._(); - AnswerRequestErrorStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerRequestErrorStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerRequestErrorStage? _defaultInstance; - - @$pb.TagNumber(1) - $5.Status get status => $_getN(0); - @$pb.TagNumber(1) - set status($5.Status v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStatus() => $_has(0); - @$pb.TagNumber(1) - void clearStatus() => clearField(1); - @$pb.TagNumber(1) - $5.Status ensureStatus() => $_ensure(0); -} - -/// AnswerRequestHeartbeatStage is sent periodically to verify liveness of answerer. -class AnswerRequestHeartbeatStage extends $pb.GeneratedMessage { - factory AnswerRequestHeartbeatStage() => create(); - AnswerRequestHeartbeatStage._() : super(); - factory AnswerRequestHeartbeatStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerRequestHeartbeatStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerRequestHeartbeatStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerRequestHeartbeatStage clone() => AnswerRequestHeartbeatStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerRequestHeartbeatStage copyWith(void Function(AnswerRequestHeartbeatStage) updates) => super.copyWith((message) => updates(message as AnswerRequestHeartbeatStage)) as AnswerRequestHeartbeatStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerRequestHeartbeatStage create() => AnswerRequestHeartbeatStage._(); - AnswerRequestHeartbeatStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerRequestHeartbeatStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerRequestHeartbeatStage? _defaultInstance; -} - -enum AnswerRequest_Stage { - init, - update, - done, - error, - heartbeat, - notSet -} - -/// AnswerRequest is the SDP offer that the controlling side is making via the answering -/// stream. -class AnswerRequest extends $pb.GeneratedMessage { - factory AnswerRequest({ - $core.String? uuid, - AnswerRequestInitStage? init, - AnswerRequestUpdateStage? update, - AnswerRequestDoneStage? done, - AnswerRequestErrorStage? error, - AnswerRequestHeartbeatStage? heartbeat, - }) { - final $result = create(); - if (uuid != null) { - $result.uuid = uuid; - } - if (init != null) { - $result.init = init; - } - if (update != null) { - $result.update = update; - } - if (done != null) { - $result.done = done; - } - if (error != null) { - $result.error = error; - } - if (heartbeat != null) { - $result.heartbeat = heartbeat; - } - return $result; - } - AnswerRequest._() : super(); - factory AnswerRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, AnswerRequest_Stage> _AnswerRequest_StageByTag = { - 2 : AnswerRequest_Stage.init, - 3 : AnswerRequest_Stage.update, - 4 : AnswerRequest_Stage.done, - 5 : AnswerRequest_Stage.error, - 6 : AnswerRequest_Stage.heartbeat, - 0 : AnswerRequest_Stage.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..oo(0, [2, 3, 4, 5, 6]) - ..aOS(1, _omitFieldNames ? '' : 'uuid') - ..aOM(2, _omitFieldNames ? '' : 'init', subBuilder: AnswerRequestInitStage.create) - ..aOM(3, _omitFieldNames ? '' : 'update', subBuilder: AnswerRequestUpdateStage.create) - ..aOM(4, _omitFieldNames ? '' : 'done', subBuilder: AnswerRequestDoneStage.create) - ..aOM(5, _omitFieldNames ? '' : 'error', subBuilder: AnswerRequestErrorStage.create) - ..aOM(6, _omitFieldNames ? '' : 'heartbeat', subBuilder: AnswerRequestHeartbeatStage.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerRequest clone() => AnswerRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerRequest copyWith(void Function(AnswerRequest) updates) => super.copyWith((message) => updates(message as AnswerRequest)) as AnswerRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerRequest create() => AnswerRequest._(); - AnswerRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerRequest? _defaultInstance; - - AnswerRequest_Stage whichStage() => _AnswerRequest_StageByTag[$_whichOneof(0)]!; - void clearStage() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - $core.String get uuid => $_getSZ(0); - @$pb.TagNumber(1) - set uuid($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUuid() => $_has(0); - @$pb.TagNumber(1) - void clearUuid() => clearField(1); - - @$pb.TagNumber(2) - AnswerRequestInitStage get init => $_getN(1); - @$pb.TagNumber(2) - set init(AnswerRequestInitStage v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasInit() => $_has(1); - @$pb.TagNumber(2) - void clearInit() => clearField(2); - @$pb.TagNumber(2) - AnswerRequestInitStage ensureInit() => $_ensure(1); - - @$pb.TagNumber(3) - AnswerRequestUpdateStage get update => $_getN(2); - @$pb.TagNumber(3) - set update(AnswerRequestUpdateStage v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasUpdate() => $_has(2); - @$pb.TagNumber(3) - void clearUpdate() => clearField(3); - @$pb.TagNumber(3) - AnswerRequestUpdateStage ensureUpdate() => $_ensure(2); - - /// done is sent when the requester is done sending information - @$pb.TagNumber(4) - AnswerRequestDoneStage get done => $_getN(3); - @$pb.TagNumber(4) - set done(AnswerRequestDoneStage v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasDone() => $_has(3); - @$pb.TagNumber(4) - void clearDone() => clearField(4); - @$pb.TagNumber(4) - AnswerRequestDoneStage ensureDone() => $_ensure(3); - - /// error is sent any time before done - @$pb.TagNumber(5) - AnswerRequestErrorStage get error => $_getN(4); - @$pb.TagNumber(5) - set error(AnswerRequestErrorStage v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasError() => $_has(4); - @$pb.TagNumber(5) - void clearError() => clearField(5); - @$pb.TagNumber(5) - AnswerRequestErrorStage ensureError() => $_ensure(4); - - /// heartbeat is sent periodically to verify liveness of answerer - @$pb.TagNumber(6) - AnswerRequestHeartbeatStage get heartbeat => $_getN(5); - @$pb.TagNumber(6) - set heartbeat(AnswerRequestHeartbeatStage v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasHeartbeat() => $_has(5); - @$pb.TagNumber(6) - void clearHeartbeat() => clearField(6); - @$pb.TagNumber(6) - AnswerRequestHeartbeatStage ensureHeartbeat() => $_ensure(5); -} - -/// AnswerResponseInitStage is the first and a one time stage that represents the -/// answerers initial SDP response to the controlling side. -class AnswerResponseInitStage extends $pb.GeneratedMessage { - factory AnswerResponseInitStage({ - $core.String? sdp, - }) { - final $result = create(); - if (sdp != null) { - $result.sdp = sdp; - } - return $result; - } - AnswerResponseInitStage._() : super(); - factory AnswerResponseInitStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerResponseInitStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerResponseInitStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'sdp') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerResponseInitStage clone() => AnswerResponseInitStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerResponseInitStage copyWith(void Function(AnswerResponseInitStage) updates) => super.copyWith((message) => updates(message as AnswerResponseInitStage)) as AnswerResponseInitStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerResponseInitStage create() => AnswerResponseInitStage._(); - AnswerResponseInitStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerResponseInitStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerResponseInitStage? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get sdp => $_getSZ(0); - @$pb.TagNumber(1) - set sdp($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSdp() => $_has(0); - @$pb.TagNumber(1) - void clearSdp() => clearField(1); -} - -/// AnswerResponseUpdateStage is multiply used to trickle in ICE candidates to -/// the controlling side. -class AnswerResponseUpdateStage extends $pb.GeneratedMessage { - factory AnswerResponseUpdateStage({ - ICECandidate? candidate, - }) { - final $result = create(); - if (candidate != null) { - $result.candidate = candidate; - } - return $result; - } - AnswerResponseUpdateStage._() : super(); - factory AnswerResponseUpdateStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerResponseUpdateStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerResponseUpdateStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'candidate', subBuilder: ICECandidate.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerResponseUpdateStage clone() => AnswerResponseUpdateStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerResponseUpdateStage copyWith(void Function(AnswerResponseUpdateStage) updates) => super.copyWith((message) => updates(message as AnswerResponseUpdateStage)) as AnswerResponseUpdateStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerResponseUpdateStage create() => AnswerResponseUpdateStage._(); - AnswerResponseUpdateStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerResponseUpdateStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerResponseUpdateStage? _defaultInstance; - - @$pb.TagNumber(1) - ICECandidate get candidate => $_getN(0); - @$pb.TagNumber(1) - set candidate(ICECandidate v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCandidate() => $_has(0); - @$pb.TagNumber(1) - void clearCandidate() => clearField(1); - @$pb.TagNumber(1) - ICECandidate ensureCandidate() => $_ensure(0); -} - -/// AnswerResponseDoneStage indicates the answerer is done responding with candidates. -class AnswerResponseDoneStage extends $pb.GeneratedMessage { - factory AnswerResponseDoneStage() => create(); - AnswerResponseDoneStage._() : super(); - factory AnswerResponseDoneStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerResponseDoneStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerResponseDoneStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerResponseDoneStage clone() => AnswerResponseDoneStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerResponseDoneStage copyWith(void Function(AnswerResponseDoneStage) updates) => super.copyWith((message) => updates(message as AnswerResponseDoneStage)) as AnswerResponseDoneStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerResponseDoneStage create() => AnswerResponseDoneStage._(); - AnswerResponseDoneStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerResponseDoneStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerResponseDoneStage? _defaultInstance; -} - -/// AnswerResponseErrorStage indicates the exchange has failed with an error. -class AnswerResponseErrorStage extends $pb.GeneratedMessage { - factory AnswerResponseErrorStage({ - $5.Status? status, - }) { - final $result = create(); - if (status != null) { - $result.status = status; - } - return $result; - } - AnswerResponseErrorStage._() : super(); - factory AnswerResponseErrorStage.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerResponseErrorStage.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerResponseErrorStage', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM<$5.Status>(1, _omitFieldNames ? '' : 'status', subBuilder: $5.Status.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerResponseErrorStage clone() => AnswerResponseErrorStage()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerResponseErrorStage copyWith(void Function(AnswerResponseErrorStage) updates) => super.copyWith((message) => updates(message as AnswerResponseErrorStage)) as AnswerResponseErrorStage; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerResponseErrorStage create() => AnswerResponseErrorStage._(); - AnswerResponseErrorStage createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerResponseErrorStage getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerResponseErrorStage? _defaultInstance; - - @$pb.TagNumber(1) - $5.Status get status => $_getN(0); - @$pb.TagNumber(1) - set status($5.Status v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasStatus() => $_has(0); - @$pb.TagNumber(1) - void clearStatus() => clearField(1); - @$pb.TagNumber(1) - $5.Status ensureStatus() => $_ensure(0); -} - -enum AnswerResponse_Stage { - init, - update, - done, - error, - notSet -} - -/// AnswerResponse is the SDP answer that an answerer responds with. -class AnswerResponse extends $pb.GeneratedMessage { - factory AnswerResponse({ - $core.String? uuid, - AnswerResponseInitStage? init, - AnswerResponseUpdateStage? update, - AnswerResponseDoneStage? done, - AnswerResponseErrorStage? error, - }) { - final $result = create(); - if (uuid != null) { - $result.uuid = uuid; - } - if (init != null) { - $result.init = init; - } - if (update != null) { - $result.update = update; - } - if (done != null) { - $result.done = done; - } - if (error != null) { - $result.error = error; - } - return $result; - } - AnswerResponse._() : super(); - factory AnswerResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AnswerResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, AnswerResponse_Stage> _AnswerResponse_StageByTag = { - 2 : AnswerResponse_Stage.init, - 3 : AnswerResponse_Stage.update, - 4 : AnswerResponse_Stage.done, - 5 : AnswerResponse_Stage.error, - 0 : AnswerResponse_Stage.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnswerResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..oo(0, [2, 3, 4, 5]) - ..aOS(1, _omitFieldNames ? '' : 'uuid') - ..aOM(2, _omitFieldNames ? '' : 'init', subBuilder: AnswerResponseInitStage.create) - ..aOM(3, _omitFieldNames ? '' : 'update', subBuilder: AnswerResponseUpdateStage.create) - ..aOM(4, _omitFieldNames ? '' : 'done', subBuilder: AnswerResponseDoneStage.create) - ..aOM(5, _omitFieldNames ? '' : 'error', subBuilder: AnswerResponseErrorStage.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AnswerResponse clone() => AnswerResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AnswerResponse copyWith(void Function(AnswerResponse) updates) => super.copyWith((message) => updates(message as AnswerResponse)) as AnswerResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AnswerResponse create() => AnswerResponse._(); - AnswerResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AnswerResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AnswerResponse? _defaultInstance; - - AnswerResponse_Stage whichStage() => _AnswerResponse_StageByTag[$_whichOneof(0)]!; - void clearStage() => clearField($_whichOneof(0)); - - @$pb.TagNumber(1) - $core.String get uuid => $_getSZ(0); - @$pb.TagNumber(1) - set uuid($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasUuid() => $_has(0); - @$pb.TagNumber(1) - void clearUuid() => clearField(1); - - @$pb.TagNumber(2) - AnswerResponseInitStage get init => $_getN(1); - @$pb.TagNumber(2) - set init(AnswerResponseInitStage v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasInit() => $_has(1); - @$pb.TagNumber(2) - void clearInit() => clearField(2); - @$pb.TagNumber(2) - AnswerResponseInitStage ensureInit() => $_ensure(1); - - @$pb.TagNumber(3) - AnswerResponseUpdateStage get update => $_getN(2); - @$pb.TagNumber(3) - set update(AnswerResponseUpdateStage v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasUpdate() => $_has(2); - @$pb.TagNumber(3) - void clearUpdate() => clearField(3); - @$pb.TagNumber(3) - AnswerResponseUpdateStage ensureUpdate() => $_ensure(2); - - /// done is sent when the answerer is done sending information - @$pb.TagNumber(4) - AnswerResponseDoneStage get done => $_getN(3); - @$pb.TagNumber(4) - set done(AnswerResponseDoneStage v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasDone() => $_has(3); - @$pb.TagNumber(4) - void clearDone() => clearField(4); - @$pb.TagNumber(4) - AnswerResponseDoneStage ensureDone() => $_ensure(3); - - /// error is sent any time before done - @$pb.TagNumber(5) - AnswerResponseErrorStage get error => $_getN(4); - @$pb.TagNumber(5) - set error(AnswerResponseErrorStage v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasError() => $_has(4); - @$pb.TagNumber(5) - void clearError() => clearField(5); - @$pb.TagNumber(5) - AnswerResponseErrorStage ensureError() => $_ensure(4); -} - -/// OptionalWebRTCConfigRequest is the request for getting an optional WebRTC config -/// to use for the peer connection. -class OptionalWebRTCConfigRequest extends $pb.GeneratedMessage { - factory OptionalWebRTCConfigRequest() => create(); - OptionalWebRTCConfigRequest._() : super(); - factory OptionalWebRTCConfigRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OptionalWebRTCConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OptionalWebRTCConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OptionalWebRTCConfigRequest clone() => OptionalWebRTCConfigRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OptionalWebRTCConfigRequest copyWith(void Function(OptionalWebRTCConfigRequest) updates) => super.copyWith((message) => updates(message as OptionalWebRTCConfigRequest)) as OptionalWebRTCConfigRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OptionalWebRTCConfigRequest create() => OptionalWebRTCConfigRequest._(); - OptionalWebRTCConfigRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OptionalWebRTCConfigRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OptionalWebRTCConfigRequest? _defaultInstance; -} - -/// OptionalWebRTCConfigResponse contains the optional WebRTC config -/// to use for the peer connection. -class OptionalWebRTCConfigResponse extends $pb.GeneratedMessage { - factory OptionalWebRTCConfigResponse({ - WebRTCConfig? config, - }) { - final $result = create(); - if (config != null) { - $result.config = config; - } - return $result; - } - OptionalWebRTCConfigResponse._() : super(); - factory OptionalWebRTCConfigResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OptionalWebRTCConfigResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OptionalWebRTCConfigResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.rpc.webrtc.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'config', subBuilder: WebRTCConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OptionalWebRTCConfigResponse clone() => OptionalWebRTCConfigResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OptionalWebRTCConfigResponse copyWith(void Function(OptionalWebRTCConfigResponse) updates) => super.copyWith((message) => updates(message as OptionalWebRTCConfigResponse)) as OptionalWebRTCConfigResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OptionalWebRTCConfigResponse create() => OptionalWebRTCConfigResponse._(); - OptionalWebRTCConfigResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OptionalWebRTCConfigResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OptionalWebRTCConfigResponse? _defaultInstance; - - @$pb.TagNumber(1) - WebRTCConfig get config => $_getN(0); - @$pb.TagNumber(1) - set config(WebRTCConfig v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasConfig() => $_has(0); - @$pb.TagNumber(1) - void clearConfig() => clearField(1); - @$pb.TagNumber(1) - WebRTCConfig ensureConfig() => $_ensure(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbenum.dart b/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbenum.dart deleted file mode 100644 index 10682fd26b3..00000000000 --- a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/webrtc/v1/signaling.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbgrpc.dart b/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbgrpc.dart deleted file mode 100644 index 506585106a4..00000000000 --- a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbgrpc.dart +++ /dev/null @@ -1,115 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/webrtc/v1/signaling.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'signaling.pb.dart' as $3; - -export 'signaling.pb.dart'; - -@$pb.GrpcServiceName('proto.rpc.webrtc.v1.SignalingService') -class SignalingServiceClient extends $grpc.Client { - static final _$call = $grpc.ClientMethod<$3.CallRequest, $3.CallResponse>( - '/proto.rpc.webrtc.v1.SignalingService/Call', - ($3.CallRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.CallResponse.fromBuffer(value)); - static final _$callUpdate = $grpc.ClientMethod<$3.CallUpdateRequest, $3.CallUpdateResponse>( - '/proto.rpc.webrtc.v1.SignalingService/CallUpdate', - ($3.CallUpdateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.CallUpdateResponse.fromBuffer(value)); - static final _$answer = $grpc.ClientMethod<$3.AnswerResponse, $3.AnswerRequest>( - '/proto.rpc.webrtc.v1.SignalingService/Answer', - ($3.AnswerResponse value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.AnswerRequest.fromBuffer(value)); - static final _$optionalWebRTCConfig = $grpc.ClientMethod<$3.OptionalWebRTCConfigRequest, $3.OptionalWebRTCConfigResponse>( - '/proto.rpc.webrtc.v1.SignalingService/OptionalWebRTCConfig', - ($3.OptionalWebRTCConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.OptionalWebRTCConfigResponse.fromBuffer(value)); - - SignalingServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseStream<$3.CallResponse> call($3.CallRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$call, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$3.CallUpdateResponse> callUpdate($3.CallUpdateRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$callUpdate, request, options: options); - } - - $grpc.ResponseStream<$3.AnswerRequest> answer($async.Stream<$3.AnswerResponse> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$answer, request, options: options); - } - - $grpc.ResponseFuture<$3.OptionalWebRTCConfigResponse> optionalWebRTCConfig($3.OptionalWebRTCConfigRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$optionalWebRTCConfig, request, options: options); - } -} - -@$pb.GrpcServiceName('proto.rpc.webrtc.v1.SignalingService') -abstract class SignalingServiceBase extends $grpc.Service { - $core.String get $name => 'proto.rpc.webrtc.v1.SignalingService'; - - SignalingServiceBase() { - $addMethod($grpc.ServiceMethod<$3.CallRequest, $3.CallResponse>( - 'Call', - call_Pre, - false, - true, - ($core.List<$core.int> value) => $3.CallRequest.fromBuffer(value), - ($3.CallResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.CallUpdateRequest, $3.CallUpdateResponse>( - 'CallUpdate', - callUpdate_Pre, - false, - false, - ($core.List<$core.int> value) => $3.CallUpdateRequest.fromBuffer(value), - ($3.CallUpdateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.AnswerResponse, $3.AnswerRequest>( - 'Answer', - answer, - true, - true, - ($core.List<$core.int> value) => $3.AnswerResponse.fromBuffer(value), - ($3.AnswerRequest value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.OptionalWebRTCConfigRequest, $3.OptionalWebRTCConfigResponse>( - 'OptionalWebRTCConfig', - optionalWebRTCConfig_Pre, - false, - false, - ($core.List<$core.int> value) => $3.OptionalWebRTCConfigRequest.fromBuffer(value), - ($3.OptionalWebRTCConfigResponse value) => value.writeToBuffer())); - } - - $async.Stream<$3.CallResponse> call_Pre($grpc.ServiceCall call, $async.Future<$3.CallRequest> request) async* { - yield* this.call(call, await request); - } - - $async.Future<$3.CallUpdateResponse> callUpdate_Pre($grpc.ServiceCall call, $async.Future<$3.CallUpdateRequest> request) async { - return callUpdate(call, await request); - } - - $async.Future<$3.OptionalWebRTCConfigResponse> optionalWebRTCConfig_Pre($grpc.ServiceCall call, $async.Future<$3.OptionalWebRTCConfigRequest> request) async { - return optionalWebRTCConfig(call, await request); - } - - $async.Stream<$3.CallResponse> call($grpc.ServiceCall call, $3.CallRequest request); - $async.Future<$3.CallUpdateResponse> callUpdate($grpc.ServiceCall call, $3.CallUpdateRequest request); - $async.Stream<$3.AnswerRequest> answer($grpc.ServiceCall call, $async.Stream<$3.AnswerResponse> request); - $async.Future<$3.OptionalWebRTCConfigResponse> optionalWebRTCConfig($grpc.ServiceCall call, $3.OptionalWebRTCConfigRequest request); -} diff --git a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbjson.dart b/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbjson.dart deleted file mode 100644 index 87565605c90..00000000000 --- a/lib/src/gen/proto/rpc/webrtc/v1/signaling.pbjson.dart +++ /dev/null @@ -1,342 +0,0 @@ -// -// Generated code. Do not modify. -// source: proto/rpc/webrtc/v1/signaling.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use iCECandidateDescriptor instead') -const ICECandidate$json = { - '1': 'ICECandidate', - '2': [ - {'1': 'candidate', '3': 1, '4': 1, '5': 9, '10': 'candidate'}, - {'1': 'sdp_mid', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'sdpMid', '17': true}, - {'1': 'sdpm_line_index', '3': 3, '4': 1, '5': 13, '9': 1, '10': 'sdpmLineIndex', '17': true}, - {'1': 'username_fragment', '3': 4, '4': 1, '5': 9, '9': 2, '10': 'usernameFragment', '17': true}, - ], - '8': [ - {'1': '_sdp_mid'}, - {'1': '_sdpm_line_index'}, - {'1': '_username_fragment'}, - ], -}; - -/// Descriptor for `ICECandidate`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List iCECandidateDescriptor = $convert.base64Decode( - 'CgxJQ0VDYW5kaWRhdGUSHAoJY2FuZGlkYXRlGAEgASgJUgljYW5kaWRhdGUSHAoHc2RwX21pZB' - 'gCIAEoCUgAUgZzZHBNaWSIAQESKwoPc2RwbV9saW5lX2luZGV4GAMgASgNSAFSDXNkcG1MaW5l' - 'SW5kZXiIAQESMAoRdXNlcm5hbWVfZnJhZ21lbnQYBCABKAlIAlIQdXNlcm5hbWVGcmFnbWVudI' - 'gBAUIKCghfc2RwX21pZEISChBfc2RwbV9saW5lX2luZGV4QhQKEl91c2VybmFtZV9mcmFnbWVu' - 'dA=='); - -@$core.Deprecated('Use callRequestDescriptor instead') -const CallRequest$json = { - '1': 'CallRequest', - '2': [ - {'1': 'sdp', '3': 1, '4': 1, '5': 9, '10': 'sdp'}, - {'1': 'disable_trickle', '3': 2, '4': 1, '5': 8, '10': 'disableTrickle'}, - ], -}; - -/// Descriptor for `CallRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List callRequestDescriptor = $convert.base64Decode( - 'CgtDYWxsUmVxdWVzdBIQCgNzZHAYASABKAlSA3NkcBInCg9kaXNhYmxlX3RyaWNrbGUYAiABKA' - 'hSDmRpc2FibGVUcmlja2xl'); - -@$core.Deprecated('Use callResponseInitStageDescriptor instead') -const CallResponseInitStage$json = { - '1': 'CallResponseInitStage', - '2': [ - {'1': 'sdp', '3': 1, '4': 1, '5': 9, '10': 'sdp'}, - ], -}; - -/// Descriptor for `CallResponseInitStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List callResponseInitStageDescriptor = $convert.base64Decode( - 'ChVDYWxsUmVzcG9uc2VJbml0U3RhZ2USEAoDc2RwGAEgASgJUgNzZHA='); - -@$core.Deprecated('Use callResponseUpdateStageDescriptor instead') -const CallResponseUpdateStage$json = { - '1': 'CallResponseUpdateStage', - '2': [ - {'1': 'candidate', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.ICECandidate', '10': 'candidate'}, - ], -}; - -/// Descriptor for `CallResponseUpdateStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List callResponseUpdateStageDescriptor = $convert.base64Decode( - 'ChdDYWxsUmVzcG9uc2VVcGRhdGVTdGFnZRI/CgljYW5kaWRhdGUYASABKAsyIS5wcm90by5ycG' - 'Mud2VicnRjLnYxLklDRUNhbmRpZGF0ZVIJY2FuZGlkYXRl'); - -@$core.Deprecated('Use callResponseDescriptor instead') -const CallResponse$json = { - '1': 'CallResponse', - '2': [ - {'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'}, - {'1': 'init', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.CallResponseInitStage', '9': 0, '10': 'init'}, - {'1': 'update', '3': 3, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.CallResponseUpdateStage', '9': 0, '10': 'update'}, - ], - '8': [ - {'1': 'stage'}, - ], -}; - -/// Descriptor for `CallResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List callResponseDescriptor = $convert.base64Decode( - 'CgxDYWxsUmVzcG9uc2USEgoEdXVpZBgBIAEoCVIEdXVpZBJACgRpbml0GAIgASgLMioucHJvdG' - '8ucnBjLndlYnJ0Yy52MS5DYWxsUmVzcG9uc2VJbml0U3RhZ2VIAFIEaW5pdBJGCgZ1cGRhdGUY' - 'AyABKAsyLC5wcm90by5ycGMud2VicnRjLnYxLkNhbGxSZXNwb25zZVVwZGF0ZVN0YWdlSABSBn' - 'VwZGF0ZUIHCgVzdGFnZQ=='); - -@$core.Deprecated('Use callUpdateRequestDescriptor instead') -const CallUpdateRequest$json = { - '1': 'CallUpdateRequest', - '2': [ - {'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'}, - {'1': 'candidate', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.ICECandidate', '9': 0, '10': 'candidate'}, - {'1': 'done', '3': 3, '4': 1, '5': 8, '9': 0, '10': 'done'}, - {'1': 'error', '3': 4, '4': 1, '5': 11, '6': '.google.rpc.Status', '9': 0, '10': 'error'}, - ], - '8': [ - {'1': 'update'}, - ], -}; - -/// Descriptor for `CallUpdateRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List callUpdateRequestDescriptor = $convert.base64Decode( - 'ChFDYWxsVXBkYXRlUmVxdWVzdBISCgR1dWlkGAEgASgJUgR1dWlkEkEKCWNhbmRpZGF0ZRgCIA' - 'EoCzIhLnByb3RvLnJwYy53ZWJydGMudjEuSUNFQ2FuZGlkYXRlSABSCWNhbmRpZGF0ZRIUCgRk' - 'b25lGAMgASgISABSBGRvbmUSKgoFZXJyb3IYBCABKAsyEi5nb29nbGUucnBjLlN0YXR1c0gAUg' - 'VlcnJvckIICgZ1cGRhdGU='); - -@$core.Deprecated('Use callUpdateResponseDescriptor instead') -const CallUpdateResponse$json = { - '1': 'CallUpdateResponse', -}; - -/// Descriptor for `CallUpdateResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List callUpdateResponseDescriptor = $convert.base64Decode( - 'ChJDYWxsVXBkYXRlUmVzcG9uc2U='); - -@$core.Deprecated('Use iCEServerDescriptor instead') -const ICEServer$json = { - '1': 'ICEServer', - '2': [ - {'1': 'urls', '3': 1, '4': 3, '5': 9, '10': 'urls'}, - {'1': 'username', '3': 2, '4': 1, '5': 9, '10': 'username'}, - {'1': 'credential', '3': 3, '4': 1, '5': 9, '10': 'credential'}, - ], -}; - -/// Descriptor for `ICEServer`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List iCEServerDescriptor = $convert.base64Decode( - 'CglJQ0VTZXJ2ZXISEgoEdXJscxgBIAMoCVIEdXJscxIaCgh1c2VybmFtZRgCIAEoCVIIdXNlcm' - '5hbWUSHgoKY3JlZGVudGlhbBgDIAEoCVIKY3JlZGVudGlhbA=='); - -@$core.Deprecated('Use webRTCConfigDescriptor instead') -const WebRTCConfig$json = { - '1': 'WebRTCConfig', - '2': [ - {'1': 'additional_ice_servers', '3': 1, '4': 3, '5': 11, '6': '.proto.rpc.webrtc.v1.ICEServer', '10': 'additionalIceServers'}, - {'1': 'disable_trickle', '3': 2, '4': 1, '5': 8, '10': 'disableTrickle'}, - ], -}; - -/// Descriptor for `WebRTCConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List webRTCConfigDescriptor = $convert.base64Decode( - 'CgxXZWJSVENDb25maWcSVAoWYWRkaXRpb25hbF9pY2Vfc2VydmVycxgBIAMoCzIeLnByb3RvLn' - 'JwYy53ZWJydGMudjEuSUNFU2VydmVyUhRhZGRpdGlvbmFsSWNlU2VydmVycxInCg9kaXNhYmxl' - 'X3RyaWNrbGUYAiABKAhSDmRpc2FibGVUcmlja2xl'); - -@$core.Deprecated('Use answerRequestInitStageDescriptor instead') -const AnswerRequestInitStage$json = { - '1': 'AnswerRequestInitStage', - '2': [ - {'1': 'sdp', '3': 1, '4': 1, '5': 9, '10': 'sdp'}, - {'1': 'optional_config', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.WebRTCConfig', '10': 'optionalConfig'}, - {'1': 'deadline', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 0, '10': 'deadline', '17': true}, - ], - '8': [ - {'1': '_deadline'}, - ], -}; - -/// Descriptor for `AnswerRequestInitStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerRequestInitStageDescriptor = $convert.base64Decode( - 'ChZBbnN3ZXJSZXF1ZXN0SW5pdFN0YWdlEhAKA3NkcBgBIAEoCVIDc2RwEkoKD29wdGlvbmFsX2' - 'NvbmZpZxgCIAEoCzIhLnByb3RvLnJwYy53ZWJydGMudjEuV2ViUlRDQ29uZmlnUg5vcHRpb25h' - 'bENvbmZpZxI7CghkZWFkbGluZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAF' - 'IIZGVhZGxpbmWIAQFCCwoJX2RlYWRsaW5l'); - -@$core.Deprecated('Use answerRequestUpdateStageDescriptor instead') -const AnswerRequestUpdateStage$json = { - '1': 'AnswerRequestUpdateStage', - '2': [ - {'1': 'candidate', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.ICECandidate', '10': 'candidate'}, - ], -}; - -/// Descriptor for `AnswerRequestUpdateStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerRequestUpdateStageDescriptor = $convert.base64Decode( - 'ChhBbnN3ZXJSZXF1ZXN0VXBkYXRlU3RhZ2USPwoJY2FuZGlkYXRlGAEgASgLMiEucHJvdG8ucn' - 'BjLndlYnJ0Yy52MS5JQ0VDYW5kaWRhdGVSCWNhbmRpZGF0ZQ=='); - -@$core.Deprecated('Use answerRequestDoneStageDescriptor instead') -const AnswerRequestDoneStage$json = { - '1': 'AnswerRequestDoneStage', -}; - -/// Descriptor for `AnswerRequestDoneStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerRequestDoneStageDescriptor = $convert.base64Decode( - 'ChZBbnN3ZXJSZXF1ZXN0RG9uZVN0YWdl'); - -@$core.Deprecated('Use answerRequestErrorStageDescriptor instead') -const AnswerRequestErrorStage$json = { - '1': 'AnswerRequestErrorStage', - '2': [ - {'1': 'status', '3': 1, '4': 1, '5': 11, '6': '.google.rpc.Status', '10': 'status'}, - ], -}; - -/// Descriptor for `AnswerRequestErrorStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerRequestErrorStageDescriptor = $convert.base64Decode( - 'ChdBbnN3ZXJSZXF1ZXN0RXJyb3JTdGFnZRIqCgZzdGF0dXMYASABKAsyEi5nb29nbGUucnBjLl' - 'N0YXR1c1IGc3RhdHVz'); - -@$core.Deprecated('Use answerRequestHeartbeatStageDescriptor instead') -const AnswerRequestHeartbeatStage$json = { - '1': 'AnswerRequestHeartbeatStage', -}; - -/// Descriptor for `AnswerRequestHeartbeatStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerRequestHeartbeatStageDescriptor = $convert.base64Decode( - 'ChtBbnN3ZXJSZXF1ZXN0SGVhcnRiZWF0U3RhZ2U='); - -@$core.Deprecated('Use answerRequestDescriptor instead') -const AnswerRequest$json = { - '1': 'AnswerRequest', - '2': [ - {'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'}, - {'1': 'init', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerRequestInitStage', '9': 0, '10': 'init'}, - {'1': 'update', '3': 3, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerRequestUpdateStage', '9': 0, '10': 'update'}, - {'1': 'done', '3': 4, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerRequestDoneStage', '9': 0, '10': 'done'}, - {'1': 'error', '3': 5, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerRequestErrorStage', '9': 0, '10': 'error'}, - {'1': 'heartbeat', '3': 6, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerRequestHeartbeatStage', '9': 0, '10': 'heartbeat'}, - ], - '8': [ - {'1': 'stage'}, - ], -}; - -/// Descriptor for `AnswerRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerRequestDescriptor = $convert.base64Decode( - 'Cg1BbnN3ZXJSZXF1ZXN0EhIKBHV1aWQYASABKAlSBHV1aWQSQQoEaW5pdBgCIAEoCzIrLnByb3' - 'RvLnJwYy53ZWJydGMudjEuQW5zd2VyUmVxdWVzdEluaXRTdGFnZUgAUgRpbml0EkcKBnVwZGF0' - 'ZRgDIAEoCzItLnByb3RvLnJwYy53ZWJydGMudjEuQW5zd2VyUmVxdWVzdFVwZGF0ZVN0YWdlSA' - 'BSBnVwZGF0ZRJBCgRkb25lGAQgASgLMisucHJvdG8ucnBjLndlYnJ0Yy52MS5BbnN3ZXJSZXF1' - 'ZXN0RG9uZVN0YWdlSABSBGRvbmUSRAoFZXJyb3IYBSABKAsyLC5wcm90by5ycGMud2VicnRjLn' - 'YxLkFuc3dlclJlcXVlc3RFcnJvclN0YWdlSABSBWVycm9yElAKCWhlYXJ0YmVhdBgGIAEoCzIw' - 'LnByb3RvLnJwYy53ZWJydGMudjEuQW5zd2VyUmVxdWVzdEhlYXJ0YmVhdFN0YWdlSABSCWhlYX' - 'J0YmVhdEIHCgVzdGFnZQ=='); - -@$core.Deprecated('Use answerResponseInitStageDescriptor instead') -const AnswerResponseInitStage$json = { - '1': 'AnswerResponseInitStage', - '2': [ - {'1': 'sdp', '3': 1, '4': 1, '5': 9, '10': 'sdp'}, - ], -}; - -/// Descriptor for `AnswerResponseInitStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerResponseInitStageDescriptor = $convert.base64Decode( - 'ChdBbnN3ZXJSZXNwb25zZUluaXRTdGFnZRIQCgNzZHAYASABKAlSA3NkcA=='); - -@$core.Deprecated('Use answerResponseUpdateStageDescriptor instead') -const AnswerResponseUpdateStage$json = { - '1': 'AnswerResponseUpdateStage', - '2': [ - {'1': 'candidate', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.ICECandidate', '10': 'candidate'}, - ], -}; - -/// Descriptor for `AnswerResponseUpdateStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerResponseUpdateStageDescriptor = $convert.base64Decode( - 'ChlBbnN3ZXJSZXNwb25zZVVwZGF0ZVN0YWdlEj8KCWNhbmRpZGF0ZRgBIAEoCzIhLnByb3RvLn' - 'JwYy53ZWJydGMudjEuSUNFQ2FuZGlkYXRlUgljYW5kaWRhdGU='); - -@$core.Deprecated('Use answerResponseDoneStageDescriptor instead') -const AnswerResponseDoneStage$json = { - '1': 'AnswerResponseDoneStage', -}; - -/// Descriptor for `AnswerResponseDoneStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerResponseDoneStageDescriptor = $convert.base64Decode( - 'ChdBbnN3ZXJSZXNwb25zZURvbmVTdGFnZQ=='); - -@$core.Deprecated('Use answerResponseErrorStageDescriptor instead') -const AnswerResponseErrorStage$json = { - '1': 'AnswerResponseErrorStage', - '2': [ - {'1': 'status', '3': 1, '4': 1, '5': 11, '6': '.google.rpc.Status', '10': 'status'}, - ], -}; - -/// Descriptor for `AnswerResponseErrorStage`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerResponseErrorStageDescriptor = $convert.base64Decode( - 'ChhBbnN3ZXJSZXNwb25zZUVycm9yU3RhZ2USKgoGc3RhdHVzGAEgASgLMhIuZ29vZ2xlLnJwYy' - '5TdGF0dXNSBnN0YXR1cw=='); - -@$core.Deprecated('Use answerResponseDescriptor instead') -const AnswerResponse$json = { - '1': 'AnswerResponse', - '2': [ - {'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'}, - {'1': 'init', '3': 2, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerResponseInitStage', '9': 0, '10': 'init'}, - {'1': 'update', '3': 3, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerResponseUpdateStage', '9': 0, '10': 'update'}, - {'1': 'done', '3': 4, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerResponseDoneStage', '9': 0, '10': 'done'}, - {'1': 'error', '3': 5, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.AnswerResponseErrorStage', '9': 0, '10': 'error'}, - ], - '8': [ - {'1': 'stage'}, - ], -}; - -/// Descriptor for `AnswerResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List answerResponseDescriptor = $convert.base64Decode( - 'Cg5BbnN3ZXJSZXNwb25zZRISCgR1dWlkGAEgASgJUgR1dWlkEkIKBGluaXQYAiABKAsyLC5wcm' - '90by5ycGMud2VicnRjLnYxLkFuc3dlclJlc3BvbnNlSW5pdFN0YWdlSABSBGluaXQSSAoGdXBk' - 'YXRlGAMgASgLMi4ucHJvdG8ucnBjLndlYnJ0Yy52MS5BbnN3ZXJSZXNwb25zZVVwZGF0ZVN0YW' - 'dlSABSBnVwZGF0ZRJCCgRkb25lGAQgASgLMiwucHJvdG8ucnBjLndlYnJ0Yy52MS5BbnN3ZXJS' - 'ZXNwb25zZURvbmVTdGFnZUgAUgRkb25lEkUKBWVycm9yGAUgASgLMi0ucHJvdG8ucnBjLndlYn' - 'J0Yy52MS5BbnN3ZXJSZXNwb25zZUVycm9yU3RhZ2VIAFIFZXJyb3JCBwoFc3RhZ2U='); - -@$core.Deprecated('Use optionalWebRTCConfigRequestDescriptor instead') -const OptionalWebRTCConfigRequest$json = { - '1': 'OptionalWebRTCConfigRequest', -}; - -/// Descriptor for `OptionalWebRTCConfigRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List optionalWebRTCConfigRequestDescriptor = $convert.base64Decode( - 'ChtPcHRpb25hbFdlYlJUQ0NvbmZpZ1JlcXVlc3Q='); - -@$core.Deprecated('Use optionalWebRTCConfigResponseDescriptor instead') -const OptionalWebRTCConfigResponse$json = { - '1': 'OptionalWebRTCConfigResponse', - '2': [ - {'1': 'config', '3': 1, '4': 1, '5': 11, '6': '.proto.rpc.webrtc.v1.WebRTCConfig', '10': 'config'}, - ], -}; - -/// Descriptor for `OptionalWebRTCConfigResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List optionalWebRTCConfigResponseDescriptor = $convert.base64Decode( - 'ChxPcHRpb25hbFdlYlJUQ0NvbmZpZ1Jlc3BvbnNlEjkKBmNvbmZpZxgBIAEoCzIhLnByb3RvLn' - 'JwYy53ZWJydGMudjEuV2ViUlRDQ29uZmlnUgZjb25maWc='); - diff --git a/lib/src/gen/provisioning/v1/provisioning.pb.dart b/lib/src/gen/provisioning/v1/provisioning.pb.dart deleted file mode 100644 index e460f41cc47..00000000000 --- a/lib/src/gen/provisioning/v1/provisioning.pb.dart +++ /dev/null @@ -1,703 +0,0 @@ -// -// Generated code. Do not modify. -// source: provisioning/v1/provisioning.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class GetSmartMachineStatusRequest extends $pb.GeneratedMessage { - factory GetSmartMachineStatusRequest() => create(); - GetSmartMachineStatusRequest._() : super(); - factory GetSmartMachineStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetSmartMachineStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSmartMachineStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSmartMachineStatusRequest clone() => GetSmartMachineStatusRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSmartMachineStatusRequest copyWith(void Function(GetSmartMachineStatusRequest) updates) => super.copyWith((message) => updates(message as GetSmartMachineStatusRequest)) as GetSmartMachineStatusRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetSmartMachineStatusRequest create() => GetSmartMachineStatusRequest._(); - GetSmartMachineStatusRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetSmartMachineStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetSmartMachineStatusRequest? _defaultInstance; -} - -class GetSmartMachineStatusResponse extends $pb.GeneratedMessage { - factory GetSmartMachineStatusResponse({ - ProvisioningInfo? provisioningInfo, - $core.bool? hasSmartMachineCredentials, - $core.bool? isOnline, - NetworkInfo? latestConnectionAttempt, - $core.Iterable<$core.String>? errors, - }) { - final $result = create(); - if (provisioningInfo != null) { - $result.provisioningInfo = provisioningInfo; - } - if (hasSmartMachineCredentials != null) { - $result.hasSmartMachineCredentials = hasSmartMachineCredentials; - } - if (isOnline != null) { - $result.isOnline = isOnline; - } - if (latestConnectionAttempt != null) { - $result.latestConnectionAttempt = latestConnectionAttempt; - } - if (errors != null) { - $result.errors.addAll(errors); - } - return $result; - } - GetSmartMachineStatusResponse._() : super(); - factory GetSmartMachineStatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetSmartMachineStatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSmartMachineStatusResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'provisioningInfo', subBuilder: ProvisioningInfo.create) - ..aOB(2, _omitFieldNames ? '' : 'hasSmartMachineCredentials') - ..aOB(3, _omitFieldNames ? '' : 'isOnline') - ..aOM(4, _omitFieldNames ? '' : 'latestConnectionAttempt', subBuilder: NetworkInfo.create) - ..pPS(5, _omitFieldNames ? '' : 'errors') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSmartMachineStatusResponse clone() => GetSmartMachineStatusResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSmartMachineStatusResponse copyWith(void Function(GetSmartMachineStatusResponse) updates) => super.copyWith((message) => updates(message as GetSmartMachineStatusResponse)) as GetSmartMachineStatusResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetSmartMachineStatusResponse create() => GetSmartMachineStatusResponse._(); - GetSmartMachineStatusResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetSmartMachineStatusResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetSmartMachineStatusResponse? _defaultInstance; - - @$pb.TagNumber(1) - ProvisioningInfo get provisioningInfo => $_getN(0); - @$pb.TagNumber(1) - set provisioningInfo(ProvisioningInfo v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasProvisioningInfo() => $_has(0); - @$pb.TagNumber(1) - void clearProvisioningInfo() => clearField(1); - @$pb.TagNumber(1) - ProvisioningInfo ensureProvisioningInfo() => $_ensure(0); - - @$pb.TagNumber(2) - $core.bool get hasSmartMachineCredentials => $_getBF(1); - @$pb.TagNumber(2) - set hasSmartMachineCredentials($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasHasSmartMachineCredentials() => $_has(1); - @$pb.TagNumber(2) - void clearHasSmartMachineCredentials() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get isOnline => $_getBF(2); - @$pb.TagNumber(3) - set isOnline($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIsOnline() => $_has(2); - @$pb.TagNumber(3) - void clearIsOnline() => clearField(3); - - @$pb.TagNumber(4) - NetworkInfo get latestConnectionAttempt => $_getN(3); - @$pb.TagNumber(4) - set latestConnectionAttempt(NetworkInfo v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasLatestConnectionAttempt() => $_has(3); - @$pb.TagNumber(4) - void clearLatestConnectionAttempt() => clearField(4); - @$pb.TagNumber(4) - NetworkInfo ensureLatestConnectionAttempt() => $_ensure(3); - - @$pb.TagNumber(5) - $core.List<$core.String> get errors => $_getList(4); -} - -class SetNetworkCredentialsRequest extends $pb.GeneratedMessage { - factory SetNetworkCredentialsRequest({ - $core.String? type, - $core.String? ssid, - $core.String? psk, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (ssid != null) { - $result.ssid = ssid; - } - if (psk != null) { - $result.psk = psk; - } - return $result; - } - SetNetworkCredentialsRequest._() : super(); - factory SetNetworkCredentialsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetNetworkCredentialsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetNetworkCredentialsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..aOS(2, _omitFieldNames ? '' : 'ssid') - ..aOS(3, _omitFieldNames ? '' : 'psk') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetNetworkCredentialsRequest clone() => SetNetworkCredentialsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetNetworkCredentialsRequest copyWith(void Function(SetNetworkCredentialsRequest) updates) => super.copyWith((message) => updates(message as SetNetworkCredentialsRequest)) as SetNetworkCredentialsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetNetworkCredentialsRequest create() => SetNetworkCredentialsRequest._(); - SetNetworkCredentialsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetNetworkCredentialsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetNetworkCredentialsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get ssid => $_getSZ(1); - @$pb.TagNumber(2) - set ssid($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSsid() => $_has(1); - @$pb.TagNumber(2) - void clearSsid() => clearField(2); - - @$pb.TagNumber(3) - $core.String get psk => $_getSZ(2); - @$pb.TagNumber(3) - set psk($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasPsk() => $_has(2); - @$pb.TagNumber(3) - void clearPsk() => clearField(3); -} - -class SetNetworkCredentialsResponse extends $pb.GeneratedMessage { - factory SetNetworkCredentialsResponse() => create(); - SetNetworkCredentialsResponse._() : super(); - factory SetNetworkCredentialsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetNetworkCredentialsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetNetworkCredentialsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetNetworkCredentialsResponse clone() => SetNetworkCredentialsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetNetworkCredentialsResponse copyWith(void Function(SetNetworkCredentialsResponse) updates) => super.copyWith((message) => updates(message as SetNetworkCredentialsResponse)) as SetNetworkCredentialsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetNetworkCredentialsResponse create() => SetNetworkCredentialsResponse._(); - SetNetworkCredentialsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetNetworkCredentialsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetNetworkCredentialsResponse? _defaultInstance; -} - -class SetSmartMachineCredentialsRequest extends $pb.GeneratedMessage { - factory SetSmartMachineCredentialsRequest({ - CloudConfig? cloud, - }) { - final $result = create(); - if (cloud != null) { - $result.cloud = cloud; - } - return $result; - } - SetSmartMachineCredentialsRequest._() : super(); - factory SetSmartMachineCredentialsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetSmartMachineCredentialsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetSmartMachineCredentialsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'cloud', subBuilder: CloudConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetSmartMachineCredentialsRequest clone() => SetSmartMachineCredentialsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetSmartMachineCredentialsRequest copyWith(void Function(SetSmartMachineCredentialsRequest) updates) => super.copyWith((message) => updates(message as SetSmartMachineCredentialsRequest)) as SetSmartMachineCredentialsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetSmartMachineCredentialsRequest create() => SetSmartMachineCredentialsRequest._(); - SetSmartMachineCredentialsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetSmartMachineCredentialsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetSmartMachineCredentialsRequest? _defaultInstance; - - @$pb.TagNumber(1) - CloudConfig get cloud => $_getN(0); - @$pb.TagNumber(1) - set cloud(CloudConfig v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCloud() => $_has(0); - @$pb.TagNumber(1) - void clearCloud() => clearField(1); - @$pb.TagNumber(1) - CloudConfig ensureCloud() => $_ensure(0); -} - -class SetSmartMachineCredentialsResponse extends $pb.GeneratedMessage { - factory SetSmartMachineCredentialsResponse() => create(); - SetSmartMachineCredentialsResponse._() : super(); - factory SetSmartMachineCredentialsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetSmartMachineCredentialsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetSmartMachineCredentialsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetSmartMachineCredentialsResponse clone() => SetSmartMachineCredentialsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetSmartMachineCredentialsResponse copyWith(void Function(SetSmartMachineCredentialsResponse) updates) => super.copyWith((message) => updates(message as SetSmartMachineCredentialsResponse)) as SetSmartMachineCredentialsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetSmartMachineCredentialsResponse create() => SetSmartMachineCredentialsResponse._(); - SetSmartMachineCredentialsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetSmartMachineCredentialsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetSmartMachineCredentialsResponse? _defaultInstance; -} - -class GetNetworkListRequest extends $pb.GeneratedMessage { - factory GetNetworkListRequest() => create(); - GetNetworkListRequest._() : super(); - factory GetNetworkListRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetNetworkListRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNetworkListRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetNetworkListRequest clone() => GetNetworkListRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetNetworkListRequest copyWith(void Function(GetNetworkListRequest) updates) => super.copyWith((message) => updates(message as GetNetworkListRequest)) as GetNetworkListRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetNetworkListRequest create() => GetNetworkListRequest._(); - GetNetworkListRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetNetworkListRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetNetworkListRequest? _defaultInstance; -} - -class GetNetworkListResponse extends $pb.GeneratedMessage { - factory GetNetworkListResponse({ - $core.Iterable? networks, - }) { - final $result = create(); - if (networks != null) { - $result.networks.addAll(networks); - } - return $result; - } - GetNetworkListResponse._() : super(); - factory GetNetworkListResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetNetworkListResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNetworkListResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'networks', $pb.PbFieldType.PM, subBuilder: NetworkInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetNetworkListResponse clone() => GetNetworkListResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetNetworkListResponse copyWith(void Function(GetNetworkListResponse) updates) => super.copyWith((message) => updates(message as GetNetworkListResponse)) as GetNetworkListResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetNetworkListResponse create() => GetNetworkListResponse._(); - GetNetworkListResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetNetworkListResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetNetworkListResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get networks => $_getList(0); -} - -class ProvisioningInfo extends $pb.GeneratedMessage { - factory ProvisioningInfo({ - $core.String? fragmentId, - $core.String? model, - $core.String? manufacturer, - }) { - final $result = create(); - if (fragmentId != null) { - $result.fragmentId = fragmentId; - } - if (model != null) { - $result.model = model; - } - if (manufacturer != null) { - $result.manufacturer = manufacturer; - } - return $result; - } - ProvisioningInfo._() : super(); - factory ProvisioningInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ProvisioningInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ProvisioningInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..aOS(2, _omitFieldNames ? '' : 'model') - ..aOS(3, _omitFieldNames ? '' : 'manufacturer') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ProvisioningInfo clone() => ProvisioningInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ProvisioningInfo copyWith(void Function(ProvisioningInfo) updates) => super.copyWith((message) => updates(message as ProvisioningInfo)) as ProvisioningInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ProvisioningInfo create() => ProvisioningInfo._(); - ProvisioningInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ProvisioningInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ProvisioningInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get fragmentId => $_getSZ(0); - @$pb.TagNumber(1) - set fragmentId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFragmentId() => $_has(0); - @$pb.TagNumber(1) - void clearFragmentId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get model => $_getSZ(1); - @$pb.TagNumber(2) - set model($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasModel() => $_has(1); - @$pb.TagNumber(2) - void clearModel() => clearField(2); - - @$pb.TagNumber(3) - $core.String get manufacturer => $_getSZ(2); - @$pb.TagNumber(3) - set manufacturer($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasManufacturer() => $_has(2); - @$pb.TagNumber(3) - void clearManufacturer() => clearField(3); -} - -class NetworkInfo extends $pb.GeneratedMessage { - factory NetworkInfo({ - $core.String? type, - $core.String? ssid, - $core.String? security, - $core.int? signal, - $core.bool? connected, - $core.String? lastError, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (ssid != null) { - $result.ssid = ssid; - } - if (security != null) { - $result.security = security; - } - if (signal != null) { - $result.signal = signal; - } - if (connected != null) { - $result.connected = connected; - } - if (lastError != null) { - $result.lastError = lastError; - } - return $result; - } - NetworkInfo._() : super(); - factory NetworkInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory NetworkInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NetworkInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'type') - ..aOS(2, _omitFieldNames ? '' : 'ssid') - ..aOS(3, _omitFieldNames ? '' : 'security') - ..a<$core.int>(4, _omitFieldNames ? '' : 'signal', $pb.PbFieldType.O3) - ..aOB(5, _omitFieldNames ? '' : 'connected') - ..aOS(6, _omitFieldNames ? '' : 'lastError') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - NetworkInfo clone() => NetworkInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - NetworkInfo copyWith(void Function(NetworkInfo) updates) => super.copyWith((message) => updates(message as NetworkInfo)) as NetworkInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static NetworkInfo create() => NetworkInfo._(); - NetworkInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static NetworkInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static NetworkInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get type => $_getSZ(0); - @$pb.TagNumber(1) - set type($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get ssid => $_getSZ(1); - @$pb.TagNumber(2) - set ssid($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSsid() => $_has(1); - @$pb.TagNumber(2) - void clearSsid() => clearField(2); - - @$pb.TagNumber(3) - $core.String get security => $_getSZ(2); - @$pb.TagNumber(3) - set security($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasSecurity() => $_has(2); - @$pb.TagNumber(3) - void clearSecurity() => clearField(3); - - @$pb.TagNumber(4) - $core.int get signal => $_getIZ(3); - @$pb.TagNumber(4) - set signal($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasSignal() => $_has(3); - @$pb.TagNumber(4) - void clearSignal() => clearField(4); - - @$pb.TagNumber(5) - $core.bool get connected => $_getBF(4); - @$pb.TagNumber(5) - set connected($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasConnected() => $_has(4); - @$pb.TagNumber(5) - void clearConnected() => clearField(5); - - @$pb.TagNumber(6) - $core.String get lastError => $_getSZ(5); - @$pb.TagNumber(6) - set lastError($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasLastError() => $_has(5); - @$pb.TagNumber(6) - void clearLastError() => clearField(6); -} - -/// minimal CloudConfig to create /etc/viam.json -class CloudConfig extends $pb.GeneratedMessage { - factory CloudConfig({ - $core.String? id, - $core.String? secret, - $core.String? appAddress, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (secret != null) { - $result.secret = secret; - } - if (appAddress != null) { - $result.appAddress = appAddress; - } - return $result; - } - CloudConfig._() : super(); - factory CloudConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CloudConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CloudConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.provisioning.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'secret') - ..aOS(3, _omitFieldNames ? '' : 'appAddress') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CloudConfig clone() => CloudConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CloudConfig copyWith(void Function(CloudConfig) updates) => super.copyWith((message) => updates(message as CloudConfig)) as CloudConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CloudConfig create() => CloudConfig._(); - CloudConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CloudConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CloudConfig? _defaultInstance; - - /// SmartMachine part id - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// SmartMachine part secret - @$pb.TagNumber(2) - $core.String get secret => $_getSZ(1); - @$pb.TagNumber(2) - set secret($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSecret() => $_has(1); - @$pb.TagNumber(2) - void clearSecret() => clearField(2); - - @$pb.TagNumber(3) - $core.String get appAddress => $_getSZ(2); - @$pb.TagNumber(3) - set appAddress($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasAppAddress() => $_has(2); - @$pb.TagNumber(3) - void clearAppAddress() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/provisioning/v1/provisioning.pbenum.dart b/lib/src/gen/provisioning/v1/provisioning.pbenum.dart deleted file mode 100644 index 95bb4709705..00000000000 --- a/lib/src/gen/provisioning/v1/provisioning.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: provisioning/v1/provisioning.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/provisioning/v1/provisioning.pbgrpc.dart b/lib/src/gen/provisioning/v1/provisioning.pbgrpc.dart deleted file mode 100644 index 5a3c2d52a57..00000000000 --- a/lib/src/gen/provisioning/v1/provisioning.pbgrpc.dart +++ /dev/null @@ -1,119 +0,0 @@ -// -// Generated code. Do not modify. -// source: provisioning/v1/provisioning.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'provisioning.pb.dart' as $35; - -export 'provisioning.pb.dart'; - -@$pb.GrpcServiceName('viam.provisioning.v1.ProvisioningService') -class ProvisioningServiceClient extends $grpc.Client { - static final _$getSmartMachineStatus = $grpc.ClientMethod<$35.GetSmartMachineStatusRequest, $35.GetSmartMachineStatusResponse>( - '/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus', - ($35.GetSmartMachineStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetSmartMachineStatusResponse.fromBuffer(value)); - static final _$setNetworkCredentials = $grpc.ClientMethod<$35.SetNetworkCredentialsRequest, $35.SetNetworkCredentialsResponse>( - '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials', - ($35.SetNetworkCredentialsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.SetNetworkCredentialsResponse.fromBuffer(value)); - static final _$setSmartMachineCredentials = $grpc.ClientMethod<$35.SetSmartMachineCredentialsRequest, $35.SetSmartMachineCredentialsResponse>( - '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials', - ($35.SetSmartMachineCredentialsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.SetSmartMachineCredentialsResponse.fromBuffer(value)); - static final _$getNetworkList = $grpc.ClientMethod<$35.GetNetworkListRequest, $35.GetNetworkListResponse>( - '/viam.provisioning.v1.ProvisioningService/GetNetworkList', - ($35.GetNetworkListRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetNetworkListResponse.fromBuffer(value)); - - ProvisioningServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$35.GetSmartMachineStatusResponse> getSmartMachineStatus($35.GetSmartMachineStatusRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getSmartMachineStatus, request, options: options); - } - - $grpc.ResponseFuture<$35.SetNetworkCredentialsResponse> setNetworkCredentials($35.SetNetworkCredentialsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setNetworkCredentials, request, options: options); - } - - $grpc.ResponseFuture<$35.SetSmartMachineCredentialsResponse> setSmartMachineCredentials($35.SetSmartMachineCredentialsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setSmartMachineCredentials, request, options: options); - } - - $grpc.ResponseFuture<$35.GetNetworkListResponse> getNetworkList($35.GetNetworkListRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getNetworkList, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.provisioning.v1.ProvisioningService') -abstract class ProvisioningServiceBase extends $grpc.Service { - $core.String get $name => 'viam.provisioning.v1.ProvisioningService'; - - ProvisioningServiceBase() { - $addMethod($grpc.ServiceMethod<$35.GetSmartMachineStatusRequest, $35.GetSmartMachineStatusResponse>( - 'GetSmartMachineStatus', - getSmartMachineStatus_Pre, - false, - false, - ($core.List<$core.int> value) => $35.GetSmartMachineStatusRequest.fromBuffer(value), - ($35.GetSmartMachineStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.SetNetworkCredentialsRequest, $35.SetNetworkCredentialsResponse>( - 'SetNetworkCredentials', - setNetworkCredentials_Pre, - false, - false, - ($core.List<$core.int> value) => $35.SetNetworkCredentialsRequest.fromBuffer(value), - ($35.SetNetworkCredentialsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.SetSmartMachineCredentialsRequest, $35.SetSmartMachineCredentialsResponse>( - 'SetSmartMachineCredentials', - setSmartMachineCredentials_Pre, - false, - false, - ($core.List<$core.int> value) => $35.SetSmartMachineCredentialsRequest.fromBuffer(value), - ($35.SetSmartMachineCredentialsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetNetworkListRequest, $35.GetNetworkListResponse>( - 'GetNetworkList', - getNetworkList_Pre, - false, - false, - ($core.List<$core.int> value) => $35.GetNetworkListRequest.fromBuffer(value), - ($35.GetNetworkListResponse value) => value.writeToBuffer())); - } - - $async.Future<$35.GetSmartMachineStatusResponse> getSmartMachineStatus_Pre($grpc.ServiceCall call, $async.Future<$35.GetSmartMachineStatusRequest> request) async { - return getSmartMachineStatus(call, await request); - } - - $async.Future<$35.SetNetworkCredentialsResponse> setNetworkCredentials_Pre($grpc.ServiceCall call, $async.Future<$35.SetNetworkCredentialsRequest> request) async { - return setNetworkCredentials(call, await request); - } - - $async.Future<$35.SetSmartMachineCredentialsResponse> setSmartMachineCredentials_Pre($grpc.ServiceCall call, $async.Future<$35.SetSmartMachineCredentialsRequest> request) async { - return setSmartMachineCredentials(call, await request); - } - - $async.Future<$35.GetNetworkListResponse> getNetworkList_Pre($grpc.ServiceCall call, $async.Future<$35.GetNetworkListRequest> request) async { - return getNetworkList(call, await request); - } - - $async.Future<$35.GetSmartMachineStatusResponse> getSmartMachineStatus($grpc.ServiceCall call, $35.GetSmartMachineStatusRequest request); - $async.Future<$35.SetNetworkCredentialsResponse> setNetworkCredentials($grpc.ServiceCall call, $35.SetNetworkCredentialsRequest request); - $async.Future<$35.SetSmartMachineCredentialsResponse> setSmartMachineCredentials($grpc.ServiceCall call, $35.SetSmartMachineCredentialsRequest request); - $async.Future<$35.GetNetworkListResponse> getNetworkList($grpc.ServiceCall call, $35.GetNetworkListRequest request); -} diff --git a/lib/src/gen/provisioning/v1/provisioning.pbjson.dart b/lib/src/gen/provisioning/v1/provisioning.pbjson.dart deleted file mode 100644 index d3936a5661f..00000000000 --- a/lib/src/gen/provisioning/v1/provisioning.pbjson.dart +++ /dev/null @@ -1,163 +0,0 @@ -// -// Generated code. Do not modify. -// source: provisioning/v1/provisioning.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getSmartMachineStatusRequestDescriptor instead') -const GetSmartMachineStatusRequest$json = { - '1': 'GetSmartMachineStatusRequest', -}; - -/// Descriptor for `GetSmartMachineStatusRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSmartMachineStatusRequestDescriptor = $convert.base64Decode( - 'ChxHZXRTbWFydE1hY2hpbmVTdGF0dXNSZXF1ZXN0'); - -@$core.Deprecated('Use getSmartMachineStatusResponseDescriptor instead') -const GetSmartMachineStatusResponse$json = { - '1': 'GetSmartMachineStatusResponse', - '2': [ - {'1': 'provisioning_info', '3': 1, '4': 1, '5': 11, '6': '.viam.provisioning.v1.ProvisioningInfo', '10': 'provisioningInfo'}, - {'1': 'has_smart_machine_credentials', '3': 2, '4': 1, '5': 8, '10': 'hasSmartMachineCredentials'}, - {'1': 'is_online', '3': 3, '4': 1, '5': 8, '10': 'isOnline'}, - {'1': 'latest_connection_attempt', '3': 4, '4': 1, '5': 11, '6': '.viam.provisioning.v1.NetworkInfo', '10': 'latestConnectionAttempt'}, - {'1': 'errors', '3': 5, '4': 3, '5': 9, '10': 'errors'}, - ], -}; - -/// Descriptor for `GetSmartMachineStatusResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSmartMachineStatusResponseDescriptor = $convert.base64Decode( - 'Ch1HZXRTbWFydE1hY2hpbmVTdGF0dXNSZXNwb25zZRJTChFwcm92aXNpb25pbmdfaW5mbxgBIA' - 'EoCzImLnZpYW0ucHJvdmlzaW9uaW5nLnYxLlByb3Zpc2lvbmluZ0luZm9SEHByb3Zpc2lvbmlu' - 'Z0luZm8SQQodaGFzX3NtYXJ0X21hY2hpbmVfY3JlZGVudGlhbHMYAiABKAhSGmhhc1NtYXJ0TW' - 'FjaGluZUNyZWRlbnRpYWxzEhsKCWlzX29ubGluZRgDIAEoCFIIaXNPbmxpbmUSXQoZbGF0ZXN0' - 'X2Nvbm5lY3Rpb25fYXR0ZW1wdBgEIAEoCzIhLnZpYW0ucHJvdmlzaW9uaW5nLnYxLk5ldHdvcm' - 'tJbmZvUhdsYXRlc3RDb25uZWN0aW9uQXR0ZW1wdBIWCgZlcnJvcnMYBSADKAlSBmVycm9ycw=='); - -@$core.Deprecated('Use setNetworkCredentialsRequestDescriptor instead') -const SetNetworkCredentialsRequest$json = { - '1': 'SetNetworkCredentialsRequest', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'ssid', '3': 2, '4': 1, '5': 9, '10': 'ssid'}, - {'1': 'psk', '3': 3, '4': 1, '5': 9, '10': 'psk'}, - ], -}; - -/// Descriptor for `SetNetworkCredentialsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setNetworkCredentialsRequestDescriptor = $convert.base64Decode( - 'ChxTZXROZXR3b3JrQ3JlZGVudGlhbHNSZXF1ZXN0EhIKBHR5cGUYASABKAlSBHR5cGUSEgoEc3' - 'NpZBgCIAEoCVIEc3NpZBIQCgNwc2sYAyABKAlSA3Bzaw=='); - -@$core.Deprecated('Use setNetworkCredentialsResponseDescriptor instead') -const SetNetworkCredentialsResponse$json = { - '1': 'SetNetworkCredentialsResponse', -}; - -/// Descriptor for `SetNetworkCredentialsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setNetworkCredentialsResponseDescriptor = $convert.base64Decode( - 'Ch1TZXROZXR3b3JrQ3JlZGVudGlhbHNSZXNwb25zZQ=='); - -@$core.Deprecated('Use setSmartMachineCredentialsRequestDescriptor instead') -const SetSmartMachineCredentialsRequest$json = { - '1': 'SetSmartMachineCredentialsRequest', - '2': [ - {'1': 'cloud', '3': 1, '4': 1, '5': 11, '6': '.viam.provisioning.v1.CloudConfig', '10': 'cloud'}, - ], -}; - -/// Descriptor for `SetSmartMachineCredentialsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setSmartMachineCredentialsRequestDescriptor = $convert.base64Decode( - 'CiFTZXRTbWFydE1hY2hpbmVDcmVkZW50aWFsc1JlcXVlc3QSNwoFY2xvdWQYASABKAsyIS52aW' - 'FtLnByb3Zpc2lvbmluZy52MS5DbG91ZENvbmZpZ1IFY2xvdWQ='); - -@$core.Deprecated('Use setSmartMachineCredentialsResponseDescriptor instead') -const SetSmartMachineCredentialsResponse$json = { - '1': 'SetSmartMachineCredentialsResponse', -}; - -/// Descriptor for `SetSmartMachineCredentialsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setSmartMachineCredentialsResponseDescriptor = $convert.base64Decode( - 'CiJTZXRTbWFydE1hY2hpbmVDcmVkZW50aWFsc1Jlc3BvbnNl'); - -@$core.Deprecated('Use getNetworkListRequestDescriptor instead') -const GetNetworkListRequest$json = { - '1': 'GetNetworkListRequest', -}; - -/// Descriptor for `GetNetworkListRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getNetworkListRequestDescriptor = $convert.base64Decode( - 'ChVHZXROZXR3b3JrTGlzdFJlcXVlc3Q='); - -@$core.Deprecated('Use getNetworkListResponseDescriptor instead') -const GetNetworkListResponse$json = { - '1': 'GetNetworkListResponse', - '2': [ - {'1': 'networks', '3': 1, '4': 3, '5': 11, '6': '.viam.provisioning.v1.NetworkInfo', '10': 'networks'}, - ], -}; - -/// Descriptor for `GetNetworkListResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getNetworkListResponseDescriptor = $convert.base64Decode( - 'ChZHZXROZXR3b3JrTGlzdFJlc3BvbnNlEj0KCG5ldHdvcmtzGAEgAygLMiEudmlhbS5wcm92aX' - 'Npb25pbmcudjEuTmV0d29ya0luZm9SCG5ldHdvcmtz'); - -@$core.Deprecated('Use provisioningInfoDescriptor instead') -const ProvisioningInfo$json = { - '1': 'ProvisioningInfo', - '2': [ - {'1': 'fragment_id', '3': 1, '4': 1, '5': 9, '10': 'fragmentId'}, - {'1': 'model', '3': 2, '4': 1, '5': 9, '10': 'model'}, - {'1': 'manufacturer', '3': 3, '4': 1, '5': 9, '10': 'manufacturer'}, - ], -}; - -/// Descriptor for `ProvisioningInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List provisioningInfoDescriptor = $convert.base64Decode( - 'ChBQcm92aXNpb25pbmdJbmZvEh8KC2ZyYWdtZW50X2lkGAEgASgJUgpmcmFnbWVudElkEhQKBW' - '1vZGVsGAIgASgJUgVtb2RlbBIiCgxtYW51ZmFjdHVyZXIYAyABKAlSDG1hbnVmYWN0dXJlcg=='); - -@$core.Deprecated('Use networkInfoDescriptor instead') -const NetworkInfo$json = { - '1': 'NetworkInfo', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 9, '10': 'type'}, - {'1': 'ssid', '3': 2, '4': 1, '5': 9, '10': 'ssid'}, - {'1': 'security', '3': 3, '4': 1, '5': 9, '10': 'security'}, - {'1': 'signal', '3': 4, '4': 1, '5': 5, '10': 'signal'}, - {'1': 'connected', '3': 5, '4': 1, '5': 8, '10': 'connected'}, - {'1': 'last_error', '3': 6, '4': 1, '5': 9, '10': 'lastError'}, - ], -}; - -/// Descriptor for `NetworkInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List networkInfoDescriptor = $convert.base64Decode( - 'CgtOZXR3b3JrSW5mbxISCgR0eXBlGAEgASgJUgR0eXBlEhIKBHNzaWQYAiABKAlSBHNzaWQSGg' - 'oIc2VjdXJpdHkYAyABKAlSCHNlY3VyaXR5EhYKBnNpZ25hbBgEIAEoBVIGc2lnbmFsEhwKCWNv' - 'bm5lY3RlZBgFIAEoCFIJY29ubmVjdGVkEh0KCmxhc3RfZXJyb3IYBiABKAlSCWxhc3RFcnJvcg' - '=='); - -@$core.Deprecated('Use cloudConfigDescriptor instead') -const CloudConfig$json = { - '1': 'CloudConfig', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'secret', '3': 2, '4': 1, '5': 9, '10': 'secret'}, - {'1': 'app_address', '3': 3, '4': 1, '5': 9, '10': 'appAddress'}, - ], -}; - -/// Descriptor for `CloudConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cloudConfigDescriptor = $convert.base64Decode( - 'CgtDbG91ZENvbmZpZxIOCgJpZBgBIAEoCVICaWQSFgoGc2VjcmV0GAIgASgJUgZzZWNyZXQSHw' - 'oLYXBwX2FkZHJlc3MYAyABKAlSCmFwcEFkZHJlc3M='); - diff --git a/lib/src/gen/robot/v1/robot.pb.dart b/lib/src/gen/robot/v1/robot.pb.dart deleted file mode 100644 index 74e0284d55a..00000000000 --- a/lib/src/gen/robot/v1/robot.pb.dart +++ /dev/null @@ -1,3335 +0,0 @@ -// -// Generated code. Do not modify. -// source: robot/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../common/v1/common.pb.dart' as $15; -import '../../google/protobuf/duration.pb.dart' as $45; -import '../../google/protobuf/struct.pb.dart' as $46; -import '../../google/protobuf/timestamp.pb.dart' as $47; -import 'robot.pbenum.dart'; - -export 'robot.pbenum.dart'; - -class TunnelRequest extends $pb.GeneratedMessage { - factory TunnelRequest({ - $core.int? destinationPort, - $core.List<$core.int>? data, - }) { - final $result = create(); - if (destinationPort != null) { - $result.destinationPort = destinationPort; - } - if (data != null) { - $result.data = data; - } - return $result; - } - TunnelRequest._() : super(); - factory TunnelRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TunnelRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TunnelRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'destinationPort', $pb.PbFieldType.OU3) - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TunnelRequest clone() => TunnelRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TunnelRequest copyWith(void Function(TunnelRequest) updates) => super.copyWith((message) => updates(message as TunnelRequest)) as TunnelRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TunnelRequest create() => TunnelRequest._(); - TunnelRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TunnelRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TunnelRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get destinationPort => $_getIZ(0); - @$pb.TagNumber(1) - set destinationPort($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasDestinationPort() => $_has(0); - @$pb.TagNumber(1) - void clearDestinationPort() => clearField(1); - - @$pb.TagNumber(2) - $core.List<$core.int> get data => $_getN(1); - @$pb.TagNumber(2) - set data($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasData() => $_has(1); - @$pb.TagNumber(2) - void clearData() => clearField(2); -} - -class TunnelResponse extends $pb.GeneratedMessage { - factory TunnelResponse({ - $core.List<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - TunnelResponse._() : super(); - factory TunnelResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TunnelResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TunnelResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TunnelResponse clone() => TunnelResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TunnelResponse copyWith(void Function(TunnelResponse) updates) => super.copyWith((message) => updates(message as TunnelResponse)) as TunnelResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TunnelResponse create() => TunnelResponse._(); - TunnelResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TunnelResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TunnelResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getN(0); - @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); -} - -class ListTunnelsRequest extends $pb.GeneratedMessage { - factory ListTunnelsRequest() => create(); - ListTunnelsRequest._() : super(); - factory ListTunnelsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListTunnelsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTunnelsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListTunnelsRequest clone() => ListTunnelsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListTunnelsRequest copyWith(void Function(ListTunnelsRequest) updates) => super.copyWith((message) => updates(message as ListTunnelsRequest)) as ListTunnelsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListTunnelsRequest create() => ListTunnelsRequest._(); - ListTunnelsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListTunnelsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListTunnelsRequest? _defaultInstance; -} - -class ListTunnelsResponse extends $pb.GeneratedMessage { - factory ListTunnelsResponse({ - $core.Iterable? tunnels, - }) { - final $result = create(); - if (tunnels != null) { - $result.tunnels.addAll(tunnels); - } - return $result; - } - ListTunnelsResponse._() : super(); - factory ListTunnelsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListTunnelsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListTunnelsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'tunnels', $pb.PbFieldType.PM, subBuilder: Tunnel.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListTunnelsResponse clone() => ListTunnelsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListTunnelsResponse copyWith(void Function(ListTunnelsResponse) updates) => super.copyWith((message) => updates(message as ListTunnelsResponse)) as ListTunnelsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListTunnelsResponse create() => ListTunnelsResponse._(); - ListTunnelsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListTunnelsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListTunnelsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get tunnels => $_getList(0); -} - -class Tunnel extends $pb.GeneratedMessage { - factory Tunnel({ - $core.int? port, - $45.Duration? connectionTimeout, - }) { - final $result = create(); - if (port != null) { - $result.port = port; - } - if (connectionTimeout != null) { - $result.connectionTimeout = connectionTimeout; - } - return $result; - } - Tunnel._() : super(); - factory Tunnel.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Tunnel.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Tunnel', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'port', $pb.PbFieldType.OU3) - ..aOM<$45.Duration>(2, _omitFieldNames ? '' : 'connectionTimeout', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Tunnel clone() => Tunnel()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Tunnel copyWith(void Function(Tunnel) updates) => super.copyWith((message) => updates(message as Tunnel)) as Tunnel; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Tunnel create() => Tunnel._(); - Tunnel createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Tunnel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Tunnel? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get port => $_getIZ(0); - @$pb.TagNumber(1) - set port($core.int v) { $_setUnsignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasPort() => $_has(0); - @$pb.TagNumber(1) - void clearPort() => clearField(1); - - @$pb.TagNumber(2) - $45.Duration get connectionTimeout => $_getN(1); - @$pb.TagNumber(2) - set connectionTimeout($45.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasConnectionTimeout() => $_has(1); - @$pb.TagNumber(2) - void clearConnectionTimeout() => clearField(2); - @$pb.TagNumber(2) - $45.Duration ensureConnectionTimeout() => $_ensure(1); -} - -class FrameSystemConfig extends $pb.GeneratedMessage { - factory FrameSystemConfig({ - $15.Transform? frame, - $46.Struct? kinematics, - }) { - final $result = create(); - if (frame != null) { - $result.frame = frame; - } - if (kinematics != null) { - $result.kinematics = kinematics; - } - return $result; - } - FrameSystemConfig._() : super(); - factory FrameSystemConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FrameSystemConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FrameSystemConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$15.Transform>(1, _omitFieldNames ? '' : 'frame', subBuilder: $15.Transform.create) - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'kinematics', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FrameSystemConfig clone() => FrameSystemConfig()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FrameSystemConfig copyWith(void Function(FrameSystemConfig) updates) => super.copyWith((message) => updates(message as FrameSystemConfig)) as FrameSystemConfig; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FrameSystemConfig create() => FrameSystemConfig._(); - FrameSystemConfig createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FrameSystemConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FrameSystemConfig? _defaultInstance; - - /// this is an experimental API message - @$pb.TagNumber(1) - $15.Transform get frame => $_getN(0); - @$pb.TagNumber(1) - set frame($15.Transform v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasFrame() => $_has(0); - @$pb.TagNumber(1) - void clearFrame() => clearField(1); - @$pb.TagNumber(1) - $15.Transform ensureFrame() => $_ensure(0); - - @$pb.TagNumber(2) - $46.Struct get kinematics => $_getN(1); - @$pb.TagNumber(2) - set kinematics($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasKinematics() => $_has(1); - @$pb.TagNumber(2) - void clearKinematics() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureKinematics() => $_ensure(1); -} - -class FrameSystemConfigRequest extends $pb.GeneratedMessage { - factory FrameSystemConfigRequest({ - $core.Iterable<$15.Transform>? supplementalTransforms, - }) { - final $result = create(); - if (supplementalTransforms != null) { - $result.supplementalTransforms.addAll(supplementalTransforms); - } - return $result; - } - FrameSystemConfigRequest._() : super(); - factory FrameSystemConfigRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FrameSystemConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FrameSystemConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$15.Transform>(1, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $15.Transform.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FrameSystemConfigRequest clone() => FrameSystemConfigRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FrameSystemConfigRequest copyWith(void Function(FrameSystemConfigRequest) updates) => super.copyWith((message) => updates(message as FrameSystemConfigRequest)) as FrameSystemConfigRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FrameSystemConfigRequest create() => FrameSystemConfigRequest._(); - FrameSystemConfigRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FrameSystemConfigRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FrameSystemConfigRequest? _defaultInstance; - - /// pose information on any additional reference frames that are needed - /// to supplement the robot's frame system - @$pb.TagNumber(1) - $core.List<$15.Transform> get supplementalTransforms => $_getList(0); -} - -class FrameSystemConfigResponse extends $pb.GeneratedMessage { - factory FrameSystemConfigResponse({ - $core.Iterable? frameSystemConfigs, - }) { - final $result = create(); - if (frameSystemConfigs != null) { - $result.frameSystemConfigs.addAll(frameSystemConfigs); - } - return $result; - } - FrameSystemConfigResponse._() : super(); - factory FrameSystemConfigResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FrameSystemConfigResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FrameSystemConfigResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'frameSystemConfigs', $pb.PbFieldType.PM, subBuilder: FrameSystemConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FrameSystemConfigResponse clone() => FrameSystemConfigResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FrameSystemConfigResponse copyWith(void Function(FrameSystemConfigResponse) updates) => super.copyWith((message) => updates(message as FrameSystemConfigResponse)) as FrameSystemConfigResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FrameSystemConfigResponse create() => FrameSystemConfigResponse._(); - FrameSystemConfigResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FrameSystemConfigResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FrameSystemConfigResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get frameSystemConfigs => $_getList(0); -} - -class TransformPoseRequest extends $pb.GeneratedMessage { - factory TransformPoseRequest({ - $15.PoseInFrame? source, - $core.String? destination, - $core.Iterable<$15.Transform>? supplementalTransforms, - }) { - final $result = create(); - if (source != null) { - $result.source = source; - } - if (destination != null) { - $result.destination = destination; - } - if (supplementalTransforms != null) { - $result.supplementalTransforms.addAll(supplementalTransforms); - } - return $result; - } - TransformPoseRequest._() : super(); - factory TransformPoseRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TransformPoseRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransformPoseRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$15.PoseInFrame>(1, _omitFieldNames ? '' : 'source', subBuilder: $15.PoseInFrame.create) - ..aOS(2, _omitFieldNames ? '' : 'destination') - ..pc<$15.Transform>(3, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $15.Transform.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TransformPoseRequest clone() => TransformPoseRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransformPoseRequest copyWith(void Function(TransformPoseRequest) updates) => super.copyWith((message) => updates(message as TransformPoseRequest)) as TransformPoseRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TransformPoseRequest create() => TransformPoseRequest._(); - TransformPoseRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TransformPoseRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TransformPoseRequest? _defaultInstance; - - /// the original pose to transform along with the reference frame in - /// which it was observed - @$pb.TagNumber(1) - $15.PoseInFrame get source => $_getN(0); - @$pb.TagNumber(1) - set source($15.PoseInFrame v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSource() => $_has(0); - @$pb.TagNumber(1) - void clearSource() => clearField(1); - @$pb.TagNumber(1) - $15.PoseInFrame ensureSource() => $_ensure(0); - - /// the reference frame into which the source pose should be transformed, - /// if unset this defaults to the "world" reference frame - @$pb.TagNumber(2) - $core.String get destination => $_getSZ(1); - @$pb.TagNumber(2) - set destination($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDestination() => $_has(1); - @$pb.TagNumber(2) - void clearDestination() => clearField(2); - - /// pose information on any additional reference frames that are needed - /// to perform the transform - @$pb.TagNumber(3) - $core.List<$15.Transform> get supplementalTransforms => $_getList(2); -} - -class TransformPoseResponse extends $pb.GeneratedMessage { - factory TransformPoseResponse({ - $15.PoseInFrame? pose, - }) { - final $result = create(); - if (pose != null) { - $result.pose = pose; - } - return $result; - } - TransformPoseResponse._() : super(); - factory TransformPoseResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TransformPoseResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransformPoseResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$15.PoseInFrame>(1, _omitFieldNames ? '' : 'pose', subBuilder: $15.PoseInFrame.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TransformPoseResponse clone() => TransformPoseResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransformPoseResponse copyWith(void Function(TransformPoseResponse) updates) => super.copyWith((message) => updates(message as TransformPoseResponse)) as TransformPoseResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TransformPoseResponse create() => TransformPoseResponse._(); - TransformPoseResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TransformPoseResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TransformPoseResponse? _defaultInstance; - - @$pb.TagNumber(1) - $15.PoseInFrame get pose => $_getN(0); - @$pb.TagNumber(1) - set pose($15.PoseInFrame v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPose() => $_has(0); - @$pb.TagNumber(1) - void clearPose() => clearField(1); - @$pb.TagNumber(1) - $15.PoseInFrame ensurePose() => $_ensure(0); -} - -class TransformPCDRequest extends $pb.GeneratedMessage { - factory TransformPCDRequest({ - $core.List<$core.int>? pointCloudPcd, - $core.String? source, - $core.String? destination, - }) { - final $result = create(); - if (pointCloudPcd != null) { - $result.pointCloudPcd = pointCloudPcd; - } - if (source != null) { - $result.source = source; - } - if (destination != null) { - $result.destination = destination; - } - return $result; - } - TransformPCDRequest._() : super(); - factory TransformPCDRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TransformPCDRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransformPCDRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'pointCloudPcd', $pb.PbFieldType.OY) - ..aOS(2, _omitFieldNames ? '' : 'source') - ..aOS(3, _omitFieldNames ? '' : 'destination') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TransformPCDRequest clone() => TransformPCDRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransformPCDRequest copyWith(void Function(TransformPCDRequest) updates) => super.copyWith((message) => updates(message as TransformPCDRequest)) as TransformPCDRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TransformPCDRequest create() => TransformPCDRequest._(); - TransformPCDRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TransformPCDRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TransformPCDRequest? _defaultInstance; - - /// the point clouds to transform. This should be in the PCD format - /// encoded into bytes: https://pointclouds.org/documentation/tutorials/pcd_file_format.html - @$pb.TagNumber(1) - $core.List<$core.int> get pointCloudPcd => $_getN(0); - @$pb.TagNumber(1) - set pointCloudPcd($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasPointCloudPcd() => $_has(0); - @$pb.TagNumber(1) - void clearPointCloudPcd() => clearField(1); - - /// the reference frame of the point cloud. - @$pb.TagNumber(2) - $core.String get source => $_getSZ(1); - @$pb.TagNumber(2) - set source($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasSource() => $_has(1); - @$pb.TagNumber(2) - void clearSource() => clearField(2); - - /// the reference frame into which the source data should be transformed, if unset this defaults to the "world" reference frame. - /// Do not move the robot between the generation of the initial pointcloud and the receipt - /// of the transformed pointcloud because that will make the transformations inaccurate - @$pb.TagNumber(3) - $core.String get destination => $_getSZ(2); - @$pb.TagNumber(3) - set destination($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDestination() => $_has(2); - @$pb.TagNumber(3) - void clearDestination() => clearField(3); -} - -class TransformPCDResponse extends $pb.GeneratedMessage { - factory TransformPCDResponse({ - $core.List<$core.int>? pointCloudPcd, - }) { - final $result = create(); - if (pointCloudPcd != null) { - $result.pointCloudPcd = pointCloudPcd; - } - return $result; - } - TransformPCDResponse._() : super(); - factory TransformPCDResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TransformPCDResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransformPCDResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'pointCloudPcd', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TransformPCDResponse clone() => TransformPCDResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TransformPCDResponse copyWith(void Function(TransformPCDResponse) updates) => super.copyWith((message) => updates(message as TransformPCDResponse)) as TransformPCDResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TransformPCDResponse create() => TransformPCDResponse._(); - TransformPCDResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TransformPCDResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TransformPCDResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get pointCloudPcd => $_getN(0); - @$pb.TagNumber(1) - set pointCloudPcd($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasPointCloudPcd() => $_has(0); - @$pb.TagNumber(1) - void clearPointCloudPcd() => clearField(1); -} - -class ResourceNamesRequest extends $pb.GeneratedMessage { - factory ResourceNamesRequest() => create(); - ResourceNamesRequest._() : super(); - factory ResourceNamesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceNamesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceNamesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceNamesRequest clone() => ResourceNamesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceNamesRequest copyWith(void Function(ResourceNamesRequest) updates) => super.copyWith((message) => updates(message as ResourceNamesRequest)) as ResourceNamesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceNamesRequest create() => ResourceNamesRequest._(); - ResourceNamesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceNamesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceNamesRequest? _defaultInstance; -} - -class ResourceNamesResponse extends $pb.GeneratedMessage { - factory ResourceNamesResponse({ - $core.Iterable<$15.ResourceName>? resources, - }) { - final $result = create(); - if (resources != null) { - $result.resources.addAll(resources); - } - return $result; - } - ResourceNamesResponse._() : super(); - factory ResourceNamesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceNamesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceNamesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$15.ResourceName>(1, _omitFieldNames ? '' : 'resources', $pb.PbFieldType.PM, subBuilder: $15.ResourceName.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceNamesResponse clone() => ResourceNamesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceNamesResponse copyWith(void Function(ResourceNamesResponse) updates) => super.copyWith((message) => updates(message as ResourceNamesResponse)) as ResourceNamesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceNamesResponse create() => ResourceNamesResponse._(); - ResourceNamesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceNamesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceNamesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$15.ResourceName> get resources => $_getList(0); -} - -class ResourceRPCSubtype extends $pb.GeneratedMessage { - factory ResourceRPCSubtype({ - $15.ResourceName? subtype, - $core.String? protoService, - }) { - final $result = create(); - if (subtype != null) { - $result.subtype = subtype; - } - if (protoService != null) { - $result.protoService = protoService; - } - return $result; - } - ResourceRPCSubtype._() : super(); - factory ResourceRPCSubtype.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceRPCSubtype.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceRPCSubtype', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $15.ResourceName.create) - ..aOS(2, _omitFieldNames ? '' : 'protoService') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceRPCSubtype clone() => ResourceRPCSubtype()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceRPCSubtype copyWith(void Function(ResourceRPCSubtype) updates) => super.copyWith((message) => updates(message as ResourceRPCSubtype)) as ResourceRPCSubtype; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceRPCSubtype create() => ResourceRPCSubtype._(); - ResourceRPCSubtype createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceRPCSubtype getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceRPCSubtype? _defaultInstance; - - @$pb.TagNumber(1) - $15.ResourceName get subtype => $_getN(0); - @$pb.TagNumber(1) - set subtype($15.ResourceName v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSubtype() => $_has(0); - @$pb.TagNumber(1) - void clearSubtype() => clearField(1); - @$pb.TagNumber(1) - $15.ResourceName ensureSubtype() => $_ensure(0); - - @$pb.TagNumber(2) - $core.String get protoService => $_getSZ(1); - @$pb.TagNumber(2) - set protoService($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasProtoService() => $_has(1); - @$pb.TagNumber(2) - void clearProtoService() => clearField(2); -} - -class ResourceRPCSubtypesRequest extends $pb.GeneratedMessage { - factory ResourceRPCSubtypesRequest() => create(); - ResourceRPCSubtypesRequest._() : super(); - factory ResourceRPCSubtypesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceRPCSubtypesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceRPCSubtypesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceRPCSubtypesRequest clone() => ResourceRPCSubtypesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceRPCSubtypesRequest copyWith(void Function(ResourceRPCSubtypesRequest) updates) => super.copyWith((message) => updates(message as ResourceRPCSubtypesRequest)) as ResourceRPCSubtypesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceRPCSubtypesRequest create() => ResourceRPCSubtypesRequest._(); - ResourceRPCSubtypesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceRPCSubtypesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceRPCSubtypesRequest? _defaultInstance; -} - -class ResourceRPCSubtypesResponse extends $pb.GeneratedMessage { - factory ResourceRPCSubtypesResponse({ - $core.Iterable? resourceRpcSubtypes, - }) { - final $result = create(); - if (resourceRpcSubtypes != null) { - $result.resourceRpcSubtypes.addAll(resourceRpcSubtypes); - } - return $result; - } - ResourceRPCSubtypesResponse._() : super(); - factory ResourceRPCSubtypesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceRPCSubtypesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceRPCSubtypesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'resourceRpcSubtypes', $pb.PbFieldType.PM, subBuilder: ResourceRPCSubtype.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceRPCSubtypesResponse clone() => ResourceRPCSubtypesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceRPCSubtypesResponse copyWith(void Function(ResourceRPCSubtypesResponse) updates) => super.copyWith((message) => updates(message as ResourceRPCSubtypesResponse)) as ResourceRPCSubtypesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceRPCSubtypesResponse create() => ResourceRPCSubtypesResponse._(); - ResourceRPCSubtypesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceRPCSubtypesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceRPCSubtypesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get resourceRpcSubtypes => $_getList(0); -} - -class Operation extends $pb.GeneratedMessage { - factory Operation({ - $core.String? id, - $core.String? method, - $46.Struct? arguments, - $47.Timestamp? started, - $core.String? sessionId, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (method != null) { - $result.method = method; - } - if (arguments != null) { - $result.arguments = arguments; - } - if (started != null) { - $result.started = started; - } - if (sessionId != null) { - $result.sessionId = sessionId; - } - return $result; - } - Operation._() : super(); - factory Operation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Operation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Operation', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOS(2, _omitFieldNames ? '' : 'method') - ..aOM<$46.Struct>(3, _omitFieldNames ? '' : 'arguments', subBuilder: $46.Struct.create) - ..aOM<$47.Timestamp>(4, _omitFieldNames ? '' : 'started', subBuilder: $47.Timestamp.create) - ..aOS(5, _omitFieldNames ? '' : 'sessionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Operation clone() => Operation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Operation copyWith(void Function(Operation) updates) => super.copyWith((message) => updates(message as Operation)) as Operation; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Operation create() => Operation._(); - Operation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Operation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Operation? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get method => $_getSZ(1); - @$pb.TagNumber(2) - set method($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasMethod() => $_has(1); - @$pb.TagNumber(2) - void clearMethod() => clearField(2); - - @$pb.TagNumber(3) - $46.Struct get arguments => $_getN(2); - @$pb.TagNumber(3) - set arguments($46.Struct v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasArguments() => $_has(2); - @$pb.TagNumber(3) - void clearArguments() => clearField(3); - @$pb.TagNumber(3) - $46.Struct ensureArguments() => $_ensure(2); - - @$pb.TagNumber(4) - $47.Timestamp get started => $_getN(3); - @$pb.TagNumber(4) - set started($47.Timestamp v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasStarted() => $_has(3); - @$pb.TagNumber(4) - void clearStarted() => clearField(4); - @$pb.TagNumber(4) - $47.Timestamp ensureStarted() => $_ensure(3); - - @$pb.TagNumber(5) - $core.String get sessionId => $_getSZ(4); - @$pb.TagNumber(5) - set sessionId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasSessionId() => $_has(4); - @$pb.TagNumber(5) - void clearSessionId() => clearField(5); -} - -class GetOperationsRequest extends $pb.GeneratedMessage { - factory GetOperationsRequest() => create(); - GetOperationsRequest._() : super(); - factory GetOperationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOperationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOperationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOperationsRequest clone() => GetOperationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOperationsRequest copyWith(void Function(GetOperationsRequest) updates) => super.copyWith((message) => updates(message as GetOperationsRequest)) as GetOperationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOperationsRequest create() => GetOperationsRequest._(); - GetOperationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOperationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOperationsRequest? _defaultInstance; -} - -class GetOperationsResponse extends $pb.GeneratedMessage { - factory GetOperationsResponse({ - $core.Iterable? operations, - }) { - final $result = create(); - if (operations != null) { - $result.operations.addAll(operations); - } - return $result; - } - GetOperationsResponse._() : super(); - factory GetOperationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetOperationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOperationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'operations', $pb.PbFieldType.PM, subBuilder: Operation.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetOperationsResponse clone() => GetOperationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetOperationsResponse copyWith(void Function(GetOperationsResponse) updates) => super.copyWith((message) => updates(message as GetOperationsResponse)) as GetOperationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetOperationsResponse create() => GetOperationsResponse._(); - GetOperationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetOperationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetOperationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get operations => $_getList(0); -} - -class CancelOperationRequest extends $pb.GeneratedMessage { - factory CancelOperationRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - CancelOperationRequest._() : super(); - factory CancelOperationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CancelOperationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelOperationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CancelOperationRequest clone() => CancelOperationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CancelOperationRequest copyWith(void Function(CancelOperationRequest) updates) => super.copyWith((message) => updates(message as CancelOperationRequest)) as CancelOperationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CancelOperationRequest create() => CancelOperationRequest._(); - CancelOperationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CancelOperationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CancelOperationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class CancelOperationResponse extends $pb.GeneratedMessage { - factory CancelOperationResponse() => create(); - CancelOperationResponse._() : super(); - factory CancelOperationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CancelOperationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CancelOperationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CancelOperationResponse clone() => CancelOperationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CancelOperationResponse copyWith(void Function(CancelOperationResponse) updates) => super.copyWith((message) => updates(message as CancelOperationResponse)) as CancelOperationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CancelOperationResponse create() => CancelOperationResponse._(); - CancelOperationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CancelOperationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CancelOperationResponse? _defaultInstance; -} - -class BlockForOperationRequest extends $pb.GeneratedMessage { - factory BlockForOperationRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - BlockForOperationRequest._() : super(); - factory BlockForOperationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BlockForOperationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockForOperationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BlockForOperationRequest clone() => BlockForOperationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockForOperationRequest copyWith(void Function(BlockForOperationRequest) updates) => super.copyWith((message) => updates(message as BlockForOperationRequest)) as BlockForOperationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BlockForOperationRequest create() => BlockForOperationRequest._(); - BlockForOperationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BlockForOperationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BlockForOperationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class BlockForOperationResponse extends $pb.GeneratedMessage { - factory BlockForOperationResponse() => create(); - BlockForOperationResponse._() : super(); - factory BlockForOperationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BlockForOperationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BlockForOperationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BlockForOperationResponse clone() => BlockForOperationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BlockForOperationResponse copyWith(void Function(BlockForOperationResponse) updates) => super.copyWith((message) => updates(message as BlockForOperationResponse)) as BlockForOperationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BlockForOperationResponse create() => BlockForOperationResponse._(); - BlockForOperationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static BlockForOperationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static BlockForOperationResponse? _defaultInstance; -} - -class PeerConnectionInfo extends $pb.GeneratedMessage { - factory PeerConnectionInfo({ - PeerConnectionType? type, - $core.String? remoteAddress, - $core.String? localAddress, - }) { - final $result = create(); - if (type != null) { - $result.type = type; - } - if (remoteAddress != null) { - $result.remoteAddress = remoteAddress; - } - if (localAddress != null) { - $result.localAddress = localAddress; - } - return $result; - } - PeerConnectionInfo._() : super(); - factory PeerConnectionInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PeerConnectionInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PeerConnectionInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PeerConnectionType.PEER_CONNECTION_TYPE_UNSPECIFIED, valueOf: PeerConnectionType.valueOf, enumValues: PeerConnectionType.values) - ..aOS(2, _omitFieldNames ? '' : 'remoteAddress') - ..aOS(3, _omitFieldNames ? '' : 'localAddress') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PeerConnectionInfo clone() => PeerConnectionInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PeerConnectionInfo copyWith(void Function(PeerConnectionInfo) updates) => super.copyWith((message) => updates(message as PeerConnectionInfo)) as PeerConnectionInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PeerConnectionInfo create() => PeerConnectionInfo._(); - PeerConnectionInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PeerConnectionInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PeerConnectionInfo? _defaultInstance; - - @$pb.TagNumber(1) - PeerConnectionType get type => $_getN(0); - @$pb.TagNumber(1) - set type(PeerConnectionType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasType() => $_has(0); - @$pb.TagNumber(1) - void clearType() => clearField(1); - - @$pb.TagNumber(2) - $core.String get remoteAddress => $_getSZ(1); - @$pb.TagNumber(2) - set remoteAddress($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasRemoteAddress() => $_has(1); - @$pb.TagNumber(2) - void clearRemoteAddress() => clearField(2); - - @$pb.TagNumber(3) - $core.String get localAddress => $_getSZ(2); - @$pb.TagNumber(3) - set localAddress($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLocalAddress() => $_has(2); - @$pb.TagNumber(3) - void clearLocalAddress() => clearField(3); -} - -class Session extends $pb.GeneratedMessage { - factory Session({ - $core.String? id, - PeerConnectionInfo? peerConnectionInfo, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (peerConnectionInfo != null) { - $result.peerConnectionInfo = peerConnectionInfo; - } - return $result; - } - Session._() : super(); - factory Session.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Session.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Session', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM(2, _omitFieldNames ? '' : 'peerConnectionInfo', subBuilder: PeerConnectionInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Session clone() => Session()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Session copyWith(void Function(Session) updates) => super.copyWith((message) => updates(message as Session)) as Session; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Session create() => Session._(); - Session createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Session getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Session? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - PeerConnectionInfo get peerConnectionInfo => $_getN(1); - @$pb.TagNumber(2) - set peerConnectionInfo(PeerConnectionInfo v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasPeerConnectionInfo() => $_has(1); - @$pb.TagNumber(2) - void clearPeerConnectionInfo() => clearField(2); - @$pb.TagNumber(2) - PeerConnectionInfo ensurePeerConnectionInfo() => $_ensure(1); -} - -class GetSessionsRequest extends $pb.GeneratedMessage { - factory GetSessionsRequest() => create(); - GetSessionsRequest._() : super(); - factory GetSessionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetSessionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSessionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSessionsRequest clone() => GetSessionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSessionsRequest copyWith(void Function(GetSessionsRequest) updates) => super.copyWith((message) => updates(message as GetSessionsRequest)) as GetSessionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetSessionsRequest create() => GetSessionsRequest._(); - GetSessionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetSessionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetSessionsRequest? _defaultInstance; -} - -class GetSessionsResponse extends $pb.GeneratedMessage { - factory GetSessionsResponse({ - $core.Iterable? sessions, - }) { - final $result = create(); - if (sessions != null) { - $result.sessions.addAll(sessions); - } - return $result; - } - GetSessionsResponse._() : super(); - factory GetSessionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetSessionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSessionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'sessions', $pb.PbFieldType.PM, subBuilder: Session.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSessionsResponse clone() => GetSessionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSessionsResponse copyWith(void Function(GetSessionsResponse) updates) => super.copyWith((message) => updates(message as GetSessionsResponse)) as GetSessionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetSessionsResponse create() => GetSessionsResponse._(); - GetSessionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetSessionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetSessionsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get sessions => $_getList(0); -} - -class DiscoveryQuery extends $pb.GeneratedMessage { - factory DiscoveryQuery({ - $core.String? subtype, - $core.String? model, - $46.Struct? extra, - }) { - final $result = create(); - if (subtype != null) { - $result.subtype = subtype; - } - if (model != null) { - $result.model = model; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - DiscoveryQuery._() : super(); - factory DiscoveryQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DiscoveryQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoveryQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'subtype') - ..aOS(2, _omitFieldNames ? '' : 'model') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DiscoveryQuery clone() => DiscoveryQuery()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DiscoveryQuery copyWith(void Function(DiscoveryQuery) updates) => super.copyWith((message) => updates(message as DiscoveryQuery)) as DiscoveryQuery; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DiscoveryQuery create() => DiscoveryQuery._(); - DiscoveryQuery createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DiscoveryQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DiscoveryQuery? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get subtype => $_getSZ(0); - @$pb.TagNumber(1) - set subtype($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasSubtype() => $_has(0); - @$pb.TagNumber(1) - void clearSubtype() => clearField(1); - - @$pb.TagNumber(2) - $core.String get model => $_getSZ(1); - @$pb.TagNumber(2) - set model($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasModel() => $_has(1); - @$pb.TagNumber(2) - void clearModel() => clearField(2); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class Discovery extends $pb.GeneratedMessage { - factory Discovery({ - DiscoveryQuery? query, - $46.Struct? results, - }) { - final $result = create(); - if (query != null) { - $result.query = query; - } - if (results != null) { - $result.results = results; - } - return $result; - } - Discovery._() : super(); - factory Discovery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Discovery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Discovery', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'query', subBuilder: DiscoveryQuery.create) - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'results', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Discovery clone() => Discovery()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Discovery copyWith(void Function(Discovery) updates) => super.copyWith((message) => updates(message as Discovery)) as Discovery; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Discovery create() => Discovery._(); - Discovery createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Discovery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Discovery? _defaultInstance; - - @$pb.TagNumber(1) - DiscoveryQuery get query => $_getN(0); - @$pb.TagNumber(1) - set query(DiscoveryQuery v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasQuery() => $_has(0); - @$pb.TagNumber(1) - void clearQuery() => clearField(1); - @$pb.TagNumber(1) - DiscoveryQuery ensureQuery() => $_ensure(0); - - @$pb.TagNumber(2) - $46.Struct get results => $_getN(1); - @$pb.TagNumber(2) - set results($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasResults() => $_has(1); - @$pb.TagNumber(2) - void clearResults() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureResults() => $_ensure(1); -} - -class ModuleModel extends $pb.GeneratedMessage { - factory ModuleModel({ - $core.String? moduleName, - $core.String? model, - $core.String? api, - $core.bool? fromLocalModule, - }) { - final $result = create(); - if (moduleName != null) { - $result.moduleName = moduleName; - } - if (model != null) { - $result.model = model; - } - if (api != null) { - $result.api = api; - } - if (fromLocalModule != null) { - $result.fromLocalModule = fromLocalModule; - } - return $result; - } - ModuleModel._() : super(); - factory ModuleModel.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ModuleModel.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ModuleModel', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'moduleName') - ..aOS(2, _omitFieldNames ? '' : 'model') - ..aOS(3, _omitFieldNames ? '' : 'api') - ..aOB(4, _omitFieldNames ? '' : 'fromLocalModule') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ModuleModel clone() => ModuleModel()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ModuleModel copyWith(void Function(ModuleModel) updates) => super.copyWith((message) => updates(message as ModuleModel)) as ModuleModel; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ModuleModel create() => ModuleModel._(); - ModuleModel createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ModuleModel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ModuleModel? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get moduleName => $_getSZ(0); - @$pb.TagNumber(1) - set moduleName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleName() => $_has(0); - @$pb.TagNumber(1) - void clearModuleName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get model => $_getSZ(1); - @$pb.TagNumber(2) - set model($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasModel() => $_has(1); - @$pb.TagNumber(2) - void clearModel() => clearField(2); - - @$pb.TagNumber(3) - $core.String get api => $_getSZ(2); - @$pb.TagNumber(3) - set api($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasApi() => $_has(2); - @$pb.TagNumber(3) - void clearApi() => clearField(3); - - @$pb.TagNumber(4) - $core.bool get fromLocalModule => $_getBF(3); - @$pb.TagNumber(4) - set fromLocalModule($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasFromLocalModule() => $_has(3); - @$pb.TagNumber(4) - void clearFromLocalModule() => clearField(4); -} - -class GetModelsFromModulesRequest extends $pb.GeneratedMessage { - factory GetModelsFromModulesRequest() => create(); - GetModelsFromModulesRequest._() : super(); - factory GetModelsFromModulesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetModelsFromModulesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModelsFromModulesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetModelsFromModulesRequest clone() => GetModelsFromModulesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetModelsFromModulesRequest copyWith(void Function(GetModelsFromModulesRequest) updates) => super.copyWith((message) => updates(message as GetModelsFromModulesRequest)) as GetModelsFromModulesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetModelsFromModulesRequest create() => GetModelsFromModulesRequest._(); - GetModelsFromModulesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetModelsFromModulesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetModelsFromModulesRequest? _defaultInstance; -} - -class GetModelsFromModulesResponse extends $pb.GeneratedMessage { - factory GetModelsFromModulesResponse({ - $core.Iterable? models, - }) { - final $result = create(); - if (models != null) { - $result.models.addAll(models); - } - return $result; - } - GetModelsFromModulesResponse._() : super(); - factory GetModelsFromModulesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetModelsFromModulesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModelsFromModulesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: ModuleModel.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetModelsFromModulesResponse clone() => GetModelsFromModulesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetModelsFromModulesResponse copyWith(void Function(GetModelsFromModulesResponse) updates) => super.copyWith((message) => updates(message as GetModelsFromModulesResponse)) as GetModelsFromModulesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetModelsFromModulesResponse create() => GetModelsFromModulesResponse._(); - GetModelsFromModulesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetModelsFromModulesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetModelsFromModulesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get models => $_getList(0); -} - -class DiscoverComponentsRequest extends $pb.GeneratedMessage { - factory DiscoverComponentsRequest({ - $core.Iterable? queries, - }) { - final $result = create(); - if (queries != null) { - $result.queries.addAll(queries); - } - return $result; - } - DiscoverComponentsRequest._() : super(); - factory DiscoverComponentsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DiscoverComponentsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoverComponentsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'queries', $pb.PbFieldType.PM, subBuilder: DiscoveryQuery.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DiscoverComponentsRequest clone() => DiscoverComponentsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DiscoverComponentsRequest copyWith(void Function(DiscoverComponentsRequest) updates) => super.copyWith((message) => updates(message as DiscoverComponentsRequest)) as DiscoverComponentsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DiscoverComponentsRequest create() => DiscoverComponentsRequest._(); - DiscoverComponentsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DiscoverComponentsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DiscoverComponentsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get queries => $_getList(0); -} - -class DiscoverComponentsResponse extends $pb.GeneratedMessage { - factory DiscoverComponentsResponse({ - $core.Iterable? discovery, - }) { - final $result = create(); - if (discovery != null) { - $result.discovery.addAll(discovery); - } - return $result; - } - DiscoverComponentsResponse._() : super(); - factory DiscoverComponentsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DiscoverComponentsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoverComponentsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'discovery', $pb.PbFieldType.PM, subBuilder: Discovery.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DiscoverComponentsResponse clone() => DiscoverComponentsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DiscoverComponentsResponse copyWith(void Function(DiscoverComponentsResponse) updates) => super.copyWith((message) => updates(message as DiscoverComponentsResponse)) as DiscoverComponentsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DiscoverComponentsResponse create() => DiscoverComponentsResponse._(); - DiscoverComponentsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DiscoverComponentsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DiscoverComponentsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get discovery => $_getList(0); -} - -class Status extends $pb.GeneratedMessage { - factory Status({ - $15.ResourceName? name, - $46.Struct? status, - $47.Timestamp? lastReconfigured, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (status != null) { - $result.status = status; - } - if (lastReconfigured != null) { - $result.lastReconfigured = lastReconfigured; - } - return $result; - } - Status._() : super(); - factory Status.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.ResourceName.create) - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'status', subBuilder: $46.Struct.create) - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'lastReconfigured', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Status clone() => Status()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Status copyWith(void Function(Status) updates) => super.copyWith((message) => updates(message as Status)) as Status; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Status create() => Status._(); - Status createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Status getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Status? _defaultInstance; - - @$pb.TagNumber(1) - $15.ResourceName get name => $_getN(0); - @$pb.TagNumber(1) - set name($15.ResourceName v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - @$pb.TagNumber(1) - $15.ResourceName ensureName() => $_ensure(0); - - @$pb.TagNumber(2) - $46.Struct get status => $_getN(1); - @$pb.TagNumber(2) - set status($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasStatus() => $_has(1); - @$pb.TagNumber(2) - void clearStatus() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureStatus() => $_ensure(1); - - @$pb.TagNumber(3) - $47.Timestamp get lastReconfigured => $_getN(2); - @$pb.TagNumber(3) - set lastReconfigured($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasLastReconfigured() => $_has(2); - @$pb.TagNumber(3) - void clearLastReconfigured() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureLastReconfigured() => $_ensure(2); -} - -class GetStatusRequest extends $pb.GeneratedMessage { - factory GetStatusRequest({ - $core.Iterable<$15.ResourceName>? resourceNames, - }) { - final $result = create(); - if (resourceNames != null) { - $result.resourceNames.addAll(resourceNames); - } - return $result; - } - GetStatusRequest._() : super(); - factory GetStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$15.ResourceName>(1, _omitFieldNames ? '' : 'resourceNames', $pb.PbFieldType.PM, subBuilder: $15.ResourceName.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetStatusRequest clone() => GetStatusRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetStatusRequest copyWith(void Function(GetStatusRequest) updates) => super.copyWith((message) => updates(message as GetStatusRequest)) as GetStatusRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetStatusRequest create() => GetStatusRequest._(); - GetStatusRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetStatusRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$15.ResourceName> get resourceNames => $_getList(0); -} - -class GetStatusResponse extends $pb.GeneratedMessage { - factory GetStatusResponse({ - $core.Iterable? status, - }) { - final $result = create(); - if (status != null) { - $result.status.addAll(status); - } - return $result; - } - GetStatusResponse._() : super(); - factory GetStatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetStatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetStatusResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'status', $pb.PbFieldType.PM, subBuilder: Status.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetStatusResponse clone() => GetStatusResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetStatusResponse copyWith(void Function(GetStatusResponse) updates) => super.copyWith((message) => updates(message as GetStatusResponse)) as GetStatusResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetStatusResponse create() => GetStatusResponse._(); - GetStatusResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetStatusResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetStatusResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get status => $_getList(0); -} - -class StreamStatusRequest extends $pb.GeneratedMessage { - factory StreamStatusRequest({ - $core.Iterable<$15.ResourceName>? resourceNames, - $45.Duration? every, - }) { - final $result = create(); - if (resourceNames != null) { - $result.resourceNames.addAll(resourceNames); - } - if (every != null) { - $result.every = every; - } - return $result; - } - StreamStatusRequest._() : super(); - factory StreamStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$15.ResourceName>(1, _omitFieldNames ? '' : 'resourceNames', $pb.PbFieldType.PM, subBuilder: $15.ResourceName.create) - ..aOM<$45.Duration>(2, _omitFieldNames ? '' : 'every', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamStatusRequest clone() => StreamStatusRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamStatusRequest copyWith(void Function(StreamStatusRequest) updates) => super.copyWith((message) => updates(message as StreamStatusRequest)) as StreamStatusRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamStatusRequest create() => StreamStatusRequest._(); - StreamStatusRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamStatusRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$15.ResourceName> get resourceNames => $_getList(0); - - @$pb.TagNumber(2) - $45.Duration get every => $_getN(1); - @$pb.TagNumber(2) - set every($45.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEvery() => $_has(1); - @$pb.TagNumber(2) - void clearEvery() => clearField(2); - @$pb.TagNumber(2) - $45.Duration ensureEvery() => $_ensure(1); -} - -class StreamStatusResponse extends $pb.GeneratedMessage { - factory StreamStatusResponse({ - $core.Iterable? status, - }) { - final $result = create(); - if (status != null) { - $result.status.addAll(status); - } - return $result; - } - StreamStatusResponse._() : super(); - factory StreamStatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamStatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStatusResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'status', $pb.PbFieldType.PM, subBuilder: Status.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamStatusResponse clone() => StreamStatusResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamStatusResponse copyWith(void Function(StreamStatusResponse) updates) => super.copyWith((message) => updates(message as StreamStatusResponse)) as StreamStatusResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamStatusResponse create() => StreamStatusResponse._(); - StreamStatusResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StreamStatusResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StreamStatusResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get status => $_getList(0); -} - -class StopExtraParameters extends $pb.GeneratedMessage { - factory StopExtraParameters({ - $15.ResourceName? name, - $46.Struct? params, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (params != null) { - $result.params = params; - } - return $result; - } - StopExtraParameters._() : super(); - factory StopExtraParameters.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopExtraParameters.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopExtraParameters', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.ResourceName.create) - ..aOM<$46.Struct>(2, _omitFieldNames ? '' : 'params', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopExtraParameters clone() => StopExtraParameters()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopExtraParameters copyWith(void Function(StopExtraParameters) updates) => super.copyWith((message) => updates(message as StopExtraParameters)) as StopExtraParameters; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopExtraParameters create() => StopExtraParameters._(); - StopExtraParameters createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopExtraParameters getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopExtraParameters? _defaultInstance; - - @$pb.TagNumber(1) - $15.ResourceName get name => $_getN(0); - @$pb.TagNumber(1) - set name($15.ResourceName v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - @$pb.TagNumber(1) - $15.ResourceName ensureName() => $_ensure(0); - - @$pb.TagNumber(2) - $46.Struct get params => $_getN(1); - @$pb.TagNumber(2) - set params($46.Struct v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasParams() => $_has(1); - @$pb.TagNumber(2) - void clearParams() => clearField(2); - @$pb.TagNumber(2) - $46.Struct ensureParams() => $_ensure(1); -} - -class StopAllRequest extends $pb.GeneratedMessage { - factory StopAllRequest({ - $core.Iterable? extra, - }) { - final $result = create(); - if (extra != null) { - $result.extra.addAll(extra); - } - return $result; - } - StopAllRequest._() : super(); - factory StopAllRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopAllRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopAllRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(99, _omitFieldNames ? '' : 'extra', $pb.PbFieldType.PM, subBuilder: StopExtraParameters.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopAllRequest clone() => StopAllRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopAllRequest copyWith(void Function(StopAllRequest) updates) => super.copyWith((message) => updates(message as StopAllRequest)) as StopAllRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopAllRequest create() => StopAllRequest._(); - StopAllRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopAllRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopAllRequest? _defaultInstance; - - @$pb.TagNumber(99) - $core.List get extra => $_getList(0); -} - -class StopAllResponse extends $pb.GeneratedMessage { - factory StopAllResponse() => create(); - StopAllResponse._() : super(); - factory StopAllResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopAllResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopAllResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopAllResponse clone() => StopAllResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopAllResponse copyWith(void Function(StopAllResponse) updates) => super.copyWith((message) => updates(message as StopAllResponse)) as StopAllResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopAllResponse create() => StopAllResponse._(); - StopAllResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopAllResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopAllResponse? _defaultInstance; -} - -class StartSessionRequest extends $pb.GeneratedMessage { - factory StartSessionRequest({ - $core.String? resume, - }) { - final $result = create(); - if (resume != null) { - $result.resume = resume; - } - return $result; - } - StartSessionRequest._() : super(); - factory StartSessionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StartSessionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartSessionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'resume') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StartSessionRequest clone() => StartSessionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StartSessionRequest copyWith(void Function(StartSessionRequest) updates) => super.copyWith((message) => updates(message as StartSessionRequest)) as StartSessionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartSessionRequest create() => StartSessionRequest._(); - StartSessionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartSessionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartSessionRequest? _defaultInstance; - - /// resume can be used to attempt to continue a stream after a disconnection event. If - /// a session is not found, a new one will be created and returned. - @$pb.TagNumber(1) - $core.String get resume => $_getSZ(0); - @$pb.TagNumber(1) - set resume($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasResume() => $_has(0); - @$pb.TagNumber(1) - void clearResume() => clearField(1); -} - -class StartSessionResponse extends $pb.GeneratedMessage { - factory StartSessionResponse({ - $core.String? id, - $45.Duration? heartbeatWindow, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (heartbeatWindow != null) { - $result.heartbeatWindow = heartbeatWindow; - } - return $result; - } - StartSessionResponse._() : super(); - factory StartSessionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StartSessionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartSessionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$45.Duration>(2, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $45.Duration.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StartSessionResponse clone() => StartSessionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StartSessionResponse copyWith(void Function(StartSessionResponse) updates) => super.copyWith((message) => updates(message as StartSessionResponse)) as StartSessionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StartSessionResponse create() => StartSessionResponse._(); - StartSessionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StartSessionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StartSessionResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $45.Duration get heartbeatWindow => $_getN(1); - @$pb.TagNumber(2) - set heartbeatWindow($45.Duration v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasHeartbeatWindow() => $_has(1); - @$pb.TagNumber(2) - void clearHeartbeatWindow() => clearField(2); - @$pb.TagNumber(2) - $45.Duration ensureHeartbeatWindow() => $_ensure(1); -} - -class SendSessionHeartbeatRequest extends $pb.GeneratedMessage { - factory SendSessionHeartbeatRequest({ - $core.String? id, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - return $result; - } - SendSessionHeartbeatRequest._() : super(); - factory SendSessionHeartbeatRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SendSessionHeartbeatRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendSessionHeartbeatRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SendSessionHeartbeatRequest clone() => SendSessionHeartbeatRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SendSessionHeartbeatRequest copyWith(void Function(SendSessionHeartbeatRequest) updates) => super.copyWith((message) => updates(message as SendSessionHeartbeatRequest)) as SendSessionHeartbeatRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SendSessionHeartbeatRequest create() => SendSessionHeartbeatRequest._(); - SendSessionHeartbeatRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SendSessionHeartbeatRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SendSessionHeartbeatRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); -} - -class SendSessionHeartbeatResponse extends $pb.GeneratedMessage { - factory SendSessionHeartbeatResponse() => create(); - SendSessionHeartbeatResponse._() : super(); - factory SendSessionHeartbeatResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SendSessionHeartbeatResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SendSessionHeartbeatResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SendSessionHeartbeatResponse clone() => SendSessionHeartbeatResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SendSessionHeartbeatResponse copyWith(void Function(SendSessionHeartbeatResponse) updates) => super.copyWith((message) => updates(message as SendSessionHeartbeatResponse)) as SendSessionHeartbeatResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SendSessionHeartbeatResponse create() => SendSessionHeartbeatResponse._(); - SendSessionHeartbeatResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SendSessionHeartbeatResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SendSessionHeartbeatResponse? _defaultInstance; -} - -class LogRequest extends $pb.GeneratedMessage { - factory LogRequest({ - $core.Iterable<$15.LogEntry>? logs, - }) { - final $result = create(); - if (logs != null) { - $result.logs.addAll(logs); - } - return $result; - } - LogRequest._() : super(); - factory LogRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LogRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$15.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $15.LogEntry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LogRequest clone() => LogRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LogRequest copyWith(void Function(LogRequest) updates) => super.copyWith((message) => updates(message as LogRequest)) as LogRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LogRequest create() => LogRequest._(); - LogRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LogRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LogRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$15.LogEntry> get logs => $_getList(0); -} - -class LogResponse extends $pb.GeneratedMessage { - factory LogResponse() => create(); - LogResponse._() : super(); - factory LogResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LogResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LogResponse clone() => LogResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LogResponse copyWith(void Function(LogResponse) updates) => super.copyWith((message) => updates(message as LogResponse)) as LogResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LogResponse create() => LogResponse._(); - LogResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LogResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LogResponse? _defaultInstance; -} - -class GetCloudMetadataRequest extends $pb.GeneratedMessage { - factory GetCloudMetadataRequest() => create(); - GetCloudMetadataRequest._() : super(); - factory GetCloudMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCloudMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCloudMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCloudMetadataRequest clone() => GetCloudMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCloudMetadataRequest copyWith(void Function(GetCloudMetadataRequest) updates) => super.copyWith((message) => updates(message as GetCloudMetadataRequest)) as GetCloudMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCloudMetadataRequest create() => GetCloudMetadataRequest._(); - GetCloudMetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCloudMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCloudMetadataRequest? _defaultInstance; -} - -class GetCloudMetadataResponse extends $pb.GeneratedMessage { - factory GetCloudMetadataResponse({ - @$core.Deprecated('This field is deprecated.') - $core.String? robotPartId, - $core.String? primaryOrgId, - $core.String? locationId, - $core.String? machineId, - $core.String? machinePartId, - }) { - final $result = create(); - if (robotPartId != null) { - // ignore: deprecated_member_use_from_same_package - $result.robotPartId = robotPartId; - } - if (primaryOrgId != null) { - $result.primaryOrgId = primaryOrgId; - } - if (locationId != null) { - $result.locationId = locationId; - } - if (machineId != null) { - $result.machineId = machineId; - } - if (machinePartId != null) { - $result.machinePartId = machinePartId; - } - return $result; - } - GetCloudMetadataResponse._() : super(); - factory GetCloudMetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetCloudMetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCloudMetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'robotPartId') - ..aOS(2, _omitFieldNames ? '' : 'primaryOrgId') - ..aOS(3, _omitFieldNames ? '' : 'locationId') - ..aOS(4, _omitFieldNames ? '' : 'machineId') - ..aOS(5, _omitFieldNames ? '' : 'machinePartId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetCloudMetadataResponse clone() => GetCloudMetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetCloudMetadataResponse copyWith(void Function(GetCloudMetadataResponse) updates) => super.copyWith((message) => updates(message as GetCloudMetadataResponse)) as GetCloudMetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetCloudMetadataResponse create() => GetCloudMetadataResponse._(); - GetCloudMetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetCloudMetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetCloudMetadataResponse? _defaultInstance; - - /// Deprecated: use machine_part_id field. - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.String get robotPartId => $_getSZ(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - set robotPartId($core.String v) { $_setString(0, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.bool hasRobotPartId() => $_has(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - void clearRobotPartId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get primaryOrgId => $_getSZ(1); - @$pb.TagNumber(2) - set primaryOrgId($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasPrimaryOrgId() => $_has(1); - @$pb.TagNumber(2) - void clearPrimaryOrgId() => clearField(2); - - @$pb.TagNumber(3) - $core.String get locationId => $_getSZ(2); - @$pb.TagNumber(3) - set locationId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasLocationId() => $_has(2); - @$pb.TagNumber(3) - void clearLocationId() => clearField(3); - - @$pb.TagNumber(4) - $core.String get machineId => $_getSZ(3); - @$pb.TagNumber(4) - set machineId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasMachineId() => $_has(3); - @$pb.TagNumber(4) - void clearMachineId() => clearField(4); - - @$pb.TagNumber(5) - $core.String get machinePartId => $_getSZ(4); - @$pb.TagNumber(5) - set machinePartId($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasMachinePartId() => $_has(4); - @$pb.TagNumber(5) - void clearMachinePartId() => clearField(5); -} - -enum RestartModuleRequest_IdOrName { - moduleId, - moduleName, - notSet -} - -class RestartModuleRequest extends $pb.GeneratedMessage { - factory RestartModuleRequest({ - $core.String? moduleId, - $core.String? moduleName, - }) { - final $result = create(); - if (moduleId != null) { - $result.moduleId = moduleId; - } - if (moduleName != null) { - $result.moduleName = moduleName; - } - return $result; - } - RestartModuleRequest._() : super(); - factory RestartModuleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RestartModuleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, RestartModuleRequest_IdOrName> _RestartModuleRequest_IdOrNameByTag = { - 1 : RestartModuleRequest_IdOrName.moduleId, - 2 : RestartModuleRequest_IdOrName.moduleName, - 0 : RestartModuleRequest_IdOrName.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RestartModuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOS(1, _omitFieldNames ? '' : 'moduleId') - ..aOS(2, _omitFieldNames ? '' : 'moduleName') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RestartModuleRequest clone() => RestartModuleRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RestartModuleRequest copyWith(void Function(RestartModuleRequest) updates) => super.copyWith((message) => updates(message as RestartModuleRequest)) as RestartModuleRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RestartModuleRequest create() => RestartModuleRequest._(); - RestartModuleRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RestartModuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RestartModuleRequest? _defaultInstance; - - RestartModuleRequest_IdOrName whichIdOrName() => _RestartModuleRequest_IdOrNameByTag[$_whichOneof(0)]!; - void clearIdOrName() => clearField($_whichOneof(0)); - - /// ID is for registry modules, name for local modules - @$pb.TagNumber(1) - $core.String get moduleId => $_getSZ(0); - @$pb.TagNumber(1) - set moduleId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasModuleId() => $_has(0); - @$pb.TagNumber(1) - void clearModuleId() => clearField(1); - - @$pb.TagNumber(2) - $core.String get moduleName => $_getSZ(1); - @$pb.TagNumber(2) - set moduleName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasModuleName() => $_has(1); - @$pb.TagNumber(2) - void clearModuleName() => clearField(2); -} - -class RestartModuleResponse extends $pb.GeneratedMessage { - factory RestartModuleResponse() => create(); - RestartModuleResponse._() : super(); - factory RestartModuleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RestartModuleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RestartModuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RestartModuleResponse clone() => RestartModuleResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RestartModuleResponse copyWith(void Function(RestartModuleResponse) updates) => super.copyWith((message) => updates(message as RestartModuleResponse)) as RestartModuleResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RestartModuleResponse create() => RestartModuleResponse._(); - RestartModuleResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RestartModuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RestartModuleResponse? _defaultInstance; -} - -class ShutdownRequest extends $pb.GeneratedMessage { - factory ShutdownRequest() => create(); - ShutdownRequest._() : super(); - factory ShutdownRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ShutdownRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShutdownRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShutdownRequest clone() => ShutdownRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShutdownRequest copyWith(void Function(ShutdownRequest) updates) => super.copyWith((message) => updates(message as ShutdownRequest)) as ShutdownRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ShutdownRequest create() => ShutdownRequest._(); - ShutdownRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ShutdownRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ShutdownRequest? _defaultInstance; -} - -class ShutdownResponse extends $pb.GeneratedMessage { - factory ShutdownResponse() => create(); - ShutdownResponse._() : super(); - factory ShutdownResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ShutdownResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShutdownResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShutdownResponse clone() => ShutdownResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShutdownResponse copyWith(void Function(ShutdownResponse) updates) => super.copyWith((message) => updates(message as ShutdownResponse)) as ShutdownResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ShutdownResponse create() => ShutdownResponse._(); - ShutdownResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ShutdownResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ShutdownResponse? _defaultInstance; -} - -class GetMachineStatusRequest extends $pb.GeneratedMessage { - factory GetMachineStatusRequest() => create(); - GetMachineStatusRequest._() : super(); - factory GetMachineStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMachineStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMachineStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMachineStatusRequest clone() => GetMachineStatusRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMachineStatusRequest copyWith(void Function(GetMachineStatusRequest) updates) => super.copyWith((message) => updates(message as GetMachineStatusRequest)) as GetMachineStatusRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMachineStatusRequest create() => GetMachineStatusRequest._(); - GetMachineStatusRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetMachineStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetMachineStatusRequest? _defaultInstance; -} - -class GetMachineStatusResponse extends $pb.GeneratedMessage { - factory GetMachineStatusResponse({ - $core.Iterable? resources, - ConfigStatus? config, - GetMachineStatusResponse_State? state, - }) { - final $result = create(); - if (resources != null) { - $result.resources.addAll(resources); - } - if (config != null) { - $result.config = config; - } - if (state != null) { - $result.state = state; - } - return $result; - } - GetMachineStatusResponse._() : super(); - factory GetMachineStatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMachineStatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMachineStatusResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'resources', $pb.PbFieldType.PM, subBuilder: ResourceStatus.create) - ..aOM(2, _omitFieldNames ? '' : 'config', subBuilder: ConfigStatus.create) - ..e(3, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: GetMachineStatusResponse_State.STATE_UNSPECIFIED, valueOf: GetMachineStatusResponse_State.valueOf, enumValues: GetMachineStatusResponse_State.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMachineStatusResponse clone() => GetMachineStatusResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMachineStatusResponse copyWith(void Function(GetMachineStatusResponse) updates) => super.copyWith((message) => updates(message as GetMachineStatusResponse)) as GetMachineStatusResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMachineStatusResponse create() => GetMachineStatusResponse._(); - GetMachineStatusResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetMachineStatusResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetMachineStatusResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get resources => $_getList(0); - - @$pb.TagNumber(2) - ConfigStatus get config => $_getN(1); - @$pb.TagNumber(2) - set config(ConfigStatus v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasConfig() => $_has(1); - @$pb.TagNumber(2) - void clearConfig() => clearField(2); - @$pb.TagNumber(2) - ConfigStatus ensureConfig() => $_ensure(1); - - @$pb.TagNumber(3) - GetMachineStatusResponse_State get state => $_getN(2); - @$pb.TagNumber(3) - set state(GetMachineStatusResponse_State v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasState() => $_has(2); - @$pb.TagNumber(3) - void clearState() => clearField(3); -} - -class ResourceStatus extends $pb.GeneratedMessage { - factory ResourceStatus({ - $15.ResourceName? name, - ResourceStatus_State? state, - $47.Timestamp? lastUpdated, - $core.String? revision, - $core.String? error, - GetCloudMetadataResponse? cloudMetadata, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (state != null) { - $result.state = state; - } - if (lastUpdated != null) { - $result.lastUpdated = lastUpdated; - } - if (revision != null) { - $result.revision = revision; - } - if (error != null) { - $result.error = error; - } - if (cloudMetadata != null) { - $result.cloudMetadata = cloudMetadata; - } - return $result; - } - ResourceStatus._() : super(); - factory ResourceStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ResourceStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.ResourceName.create) - ..e(2, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: ResourceStatus_State.STATE_UNSPECIFIED, valueOf: ResourceStatus_State.valueOf, enumValues: ResourceStatus_State.values) - ..aOM<$47.Timestamp>(3, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $47.Timestamp.create) - ..aOS(4, _omitFieldNames ? '' : 'revision') - ..aOS(5, _omitFieldNames ? '' : 'error') - ..aOM(6, _omitFieldNames ? '' : 'cloudMetadata', subBuilder: GetCloudMetadataResponse.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ResourceStatus clone() => ResourceStatus()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ResourceStatus copyWith(void Function(ResourceStatus) updates) => super.copyWith((message) => updates(message as ResourceStatus)) as ResourceStatus; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ResourceStatus create() => ResourceStatus._(); - ResourceStatus createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ResourceStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ResourceStatus? _defaultInstance; - - /// resource name. - @$pb.TagNumber(1) - $15.ResourceName get name => $_getN(0); - @$pb.TagNumber(1) - set name($15.ResourceName v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - @$pb.TagNumber(1) - $15.ResourceName ensureName() => $_ensure(0); - - /// current state. - @$pb.TagNumber(2) - ResourceStatus_State get state => $_getN(1); - @$pb.TagNumber(2) - set state(ResourceStatus_State v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasState() => $_has(1); - @$pb.TagNumber(2) - void clearState() => clearField(2); - - /// state transition timestamp. - @$pb.TagNumber(3) - $47.Timestamp get lastUpdated => $_getN(2); - @$pb.TagNumber(3) - set lastUpdated($47.Timestamp v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasLastUpdated() => $_has(2); - @$pb.TagNumber(3) - void clearLastUpdated() => clearField(3); - @$pb.TagNumber(3) - $47.Timestamp ensureLastUpdated() => $_ensure(2); - - /// revision of the last config that successfully updated this resource. - @$pb.TagNumber(4) - $core.String get revision => $_getSZ(3); - @$pb.TagNumber(4) - set revision($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasRevision() => $_has(3); - @$pb.TagNumber(4) - void clearRevision() => clearField(4); - - /// error details for a resource. This is guaranteed to be null if the - /// resource is ready and non-null if the resource unhealthy. - @$pb.TagNumber(5) - $core.String get error => $_getSZ(4); - @$pb.TagNumber(5) - set error($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasError() => $_has(4); - @$pb.TagNumber(5) - void clearError() => clearField(5); - - /// infomation about resource orgID, locationID and partID - @$pb.TagNumber(6) - GetCloudMetadataResponse get cloudMetadata => $_getN(5); - @$pb.TagNumber(6) - set cloudMetadata(GetCloudMetadataResponse v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasCloudMetadata() => $_has(5); - @$pb.TagNumber(6) - void clearCloudMetadata() => clearField(6); - @$pb.TagNumber(6) - GetCloudMetadataResponse ensureCloudMetadata() => $_ensure(5); -} - -class ConfigStatus extends $pb.GeneratedMessage { - factory ConfigStatus({ - $core.String? revision, - $47.Timestamp? lastUpdated, - }) { - final $result = create(); - if (revision != null) { - $result.revision = revision; - } - if (lastUpdated != null) { - $result.lastUpdated = lastUpdated; - } - return $result; - } - ConfigStatus._() : super(); - factory ConfigStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ConfigStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConfigStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'revision') - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $47.Timestamp.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ConfigStatus clone() => ConfigStatus()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ConfigStatus copyWith(void Function(ConfigStatus) updates) => super.copyWith((message) => updates(message as ConfigStatus)) as ConfigStatus; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ConfigStatus create() => ConfigStatus._(); - ConfigStatus createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ConfigStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ConfigStatus? _defaultInstance; - - /// revision of the last config that the machine successfully ingested. - @$pb.TagNumber(1) - $core.String get revision => $_getSZ(0); - @$pb.TagNumber(1) - set revision($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasRevision() => $_has(0); - @$pb.TagNumber(1) - void clearRevision() => clearField(1); - - /// config ingestion timestamp. - @$pb.TagNumber(2) - $47.Timestamp get lastUpdated => $_getN(1); - @$pb.TagNumber(2) - set lastUpdated($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLastUpdated() => $_has(1); - @$pb.TagNumber(2) - void clearLastUpdated() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureLastUpdated() => $_ensure(1); -} - -class GetVersionRequest extends $pb.GeneratedMessage { - factory GetVersionRequest() => create(); - GetVersionRequest._() : super(); - factory GetVersionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetVersionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetVersionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVersionRequest clone() => GetVersionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVersionRequest copyWith(void Function(GetVersionRequest) updates) => super.copyWith((message) => updates(message as GetVersionRequest)) as GetVersionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetVersionRequest create() => GetVersionRequest._(); - GetVersionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetVersionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetVersionRequest? _defaultInstance; -} - -class GetVersionResponse extends $pb.GeneratedMessage { - factory GetVersionResponse({ - $core.String? platform, - $core.String? version, - $core.String? apiVersion, - }) { - final $result = create(); - if (platform != null) { - $result.platform = platform; - } - if (version != null) { - $result.version = version; - } - if (apiVersion != null) { - $result.apiVersion = apiVersion; - } - return $result; - } - GetVersionResponse._() : super(); - factory GetVersionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetVersionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetVersionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'platform') - ..aOS(2, _omitFieldNames ? '' : 'version') - ..aOS(3, _omitFieldNames ? '' : 'apiVersion') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetVersionResponse clone() => GetVersionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetVersionResponse copyWith(void Function(GetVersionResponse) updates) => super.copyWith((message) => updates(message as GetVersionResponse)) as GetVersionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetVersionResponse create() => GetVersionResponse._(); - GetVersionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetVersionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetVersionResponse? _defaultInstance; - - /// platform type of viam-server (ie. `rdk` or `micro-rdk`). - @$pb.TagNumber(1) - $core.String get platform => $_getSZ(0); - @$pb.TagNumber(1) - set platform($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPlatform() => $_has(0); - @$pb.TagNumber(1) - void clearPlatform() => clearField(1); - - /// version of viam-server. If built without a version, it will be dev-. - @$pb.TagNumber(2) - $core.String get version => $_getSZ(1); - @$pb.TagNumber(2) - set version($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasVersion() => $_has(1); - @$pb.TagNumber(2) - void clearVersion() => clearField(2); - - @$pb.TagNumber(3) - $core.String get apiVersion => $_getSZ(2); - @$pb.TagNumber(3) - set apiVersion($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasApiVersion() => $_has(2); - @$pb.TagNumber(3) - void clearApiVersion() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/robot/v1/robot.pbenum.dart b/lib/src/gen/robot/v1/robot.pbenum.dart deleted file mode 100644 index 92402c4caf9..00000000000 --- a/lib/src/gen/robot/v1/robot.pbenum.dart +++ /dev/null @@ -1,74 +0,0 @@ -// -// Generated code. Do not modify. -// source: robot/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class PeerConnectionType extends $pb.ProtobufEnum { - static const PeerConnectionType PEER_CONNECTION_TYPE_UNSPECIFIED = PeerConnectionType._(0, _omitEnumNames ? '' : 'PEER_CONNECTION_TYPE_UNSPECIFIED'); - static const PeerConnectionType PEER_CONNECTION_TYPE_GRPC = PeerConnectionType._(1, _omitEnumNames ? '' : 'PEER_CONNECTION_TYPE_GRPC'); - static const PeerConnectionType PEER_CONNECTION_TYPE_WEBRTC = PeerConnectionType._(2, _omitEnumNames ? '' : 'PEER_CONNECTION_TYPE_WEBRTC'); - - static const $core.List values = [ - PEER_CONNECTION_TYPE_UNSPECIFIED, - PEER_CONNECTION_TYPE_GRPC, - PEER_CONNECTION_TYPE_WEBRTC, - ]; - - static final $core.Map<$core.int, PeerConnectionType> _byValue = $pb.ProtobufEnum.initByValue(values); - static PeerConnectionType? valueOf($core.int value) => _byValue[value]; - - const PeerConnectionType._($core.int v, $core.String n) : super(v, n); -} - -class GetMachineStatusResponse_State extends $pb.ProtobufEnum { - static const GetMachineStatusResponse_State STATE_UNSPECIFIED = GetMachineStatusResponse_State._(0, _omitEnumNames ? '' : 'STATE_UNSPECIFIED'); - static const GetMachineStatusResponse_State STATE_INITIALIZING = GetMachineStatusResponse_State._(1, _omitEnumNames ? '' : 'STATE_INITIALIZING'); - static const GetMachineStatusResponse_State STATE_RUNNING = GetMachineStatusResponse_State._(2, _omitEnumNames ? '' : 'STATE_RUNNING'); - - static const $core.List values = [ - STATE_UNSPECIFIED, - STATE_INITIALIZING, - STATE_RUNNING, - ]; - - static final $core.Map<$core.int, GetMachineStatusResponse_State> _byValue = $pb.ProtobufEnum.initByValue(values); - static GetMachineStatusResponse_State? valueOf($core.int value) => _byValue[value]; - - const GetMachineStatusResponse_State._($core.int v, $core.String n) : super(v, n); -} - -class ResourceStatus_State extends $pb.ProtobufEnum { - static const ResourceStatus_State STATE_UNSPECIFIED = ResourceStatus_State._(0, _omitEnumNames ? '' : 'STATE_UNSPECIFIED'); - static const ResourceStatus_State STATE_UNCONFIGURED = ResourceStatus_State._(1, _omitEnumNames ? '' : 'STATE_UNCONFIGURED'); - static const ResourceStatus_State STATE_CONFIGURING = ResourceStatus_State._(2, _omitEnumNames ? '' : 'STATE_CONFIGURING'); - static const ResourceStatus_State STATE_READY = ResourceStatus_State._(3, _omitEnumNames ? '' : 'STATE_READY'); - static const ResourceStatus_State STATE_REMOVING = ResourceStatus_State._(4, _omitEnumNames ? '' : 'STATE_REMOVING'); - static const ResourceStatus_State STATE_UNHEALTHY = ResourceStatus_State._(5, _omitEnumNames ? '' : 'STATE_UNHEALTHY'); - - static const $core.List values = [ - STATE_UNSPECIFIED, - STATE_UNCONFIGURED, - STATE_CONFIGURING, - STATE_READY, - STATE_REMOVING, - STATE_UNHEALTHY, - ]; - - static final $core.Map<$core.int, ResourceStatus_State> _byValue = $pb.ProtobufEnum.initByValue(values); - static ResourceStatus_State? valueOf($core.int value) => _byValue[value]; - - const ResourceStatus_State._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/robot/v1/robot.pbgrpc.dart b/lib/src/gen/robot/v1/robot.pbgrpc.dart deleted file mode 100644 index 834b0fd8d52..00000000000 --- a/lib/src/gen/robot/v1/robot.pbgrpc.dart +++ /dev/null @@ -1,515 +0,0 @@ -// -// Generated code. Do not modify. -// source: robot/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'robot.pb.dart' as $33; - -export 'robot.pb.dart'; - -@$pb.GrpcServiceName('viam.robot.v1.RobotService') -class RobotServiceClient extends $grpc.Client { - static final _$getOperations = $grpc.ClientMethod<$33.GetOperationsRequest, $33.GetOperationsResponse>( - '/viam.robot.v1.RobotService/GetOperations', - ($33.GetOperationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.GetOperationsResponse.fromBuffer(value)); - static final _$getSessions = $grpc.ClientMethod<$33.GetSessionsRequest, $33.GetSessionsResponse>( - '/viam.robot.v1.RobotService/GetSessions', - ($33.GetSessionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.GetSessionsResponse.fromBuffer(value)); - static final _$resourceNames = $grpc.ClientMethod<$33.ResourceNamesRequest, $33.ResourceNamesResponse>( - '/viam.robot.v1.RobotService/ResourceNames', - ($33.ResourceNamesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.ResourceNamesResponse.fromBuffer(value)); - static final _$resourceRPCSubtypes = $grpc.ClientMethod<$33.ResourceRPCSubtypesRequest, $33.ResourceRPCSubtypesResponse>( - '/viam.robot.v1.RobotService/ResourceRPCSubtypes', - ($33.ResourceRPCSubtypesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.ResourceRPCSubtypesResponse.fromBuffer(value)); - static final _$cancelOperation = $grpc.ClientMethod<$33.CancelOperationRequest, $33.CancelOperationResponse>( - '/viam.robot.v1.RobotService/CancelOperation', - ($33.CancelOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.CancelOperationResponse.fromBuffer(value)); - static final _$blockForOperation = $grpc.ClientMethod<$33.BlockForOperationRequest, $33.BlockForOperationResponse>( - '/viam.robot.v1.RobotService/BlockForOperation', - ($33.BlockForOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.BlockForOperationResponse.fromBuffer(value)); - static final _$getModelsFromModules = $grpc.ClientMethod<$33.GetModelsFromModulesRequest, $33.GetModelsFromModulesResponse>( - '/viam.robot.v1.RobotService/GetModelsFromModules', - ($33.GetModelsFromModulesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.GetModelsFromModulesResponse.fromBuffer(value)); - static final _$discoverComponents = $grpc.ClientMethod<$33.DiscoverComponentsRequest, $33.DiscoverComponentsResponse>( - '/viam.robot.v1.RobotService/DiscoverComponents', - ($33.DiscoverComponentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.DiscoverComponentsResponse.fromBuffer(value)); - static final _$frameSystemConfig = $grpc.ClientMethod<$33.FrameSystemConfigRequest, $33.FrameSystemConfigResponse>( - '/viam.robot.v1.RobotService/FrameSystemConfig', - ($33.FrameSystemConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.FrameSystemConfigResponse.fromBuffer(value)); - static final _$transformPose = $grpc.ClientMethod<$33.TransformPoseRequest, $33.TransformPoseResponse>( - '/viam.robot.v1.RobotService/TransformPose', - ($33.TransformPoseRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.TransformPoseResponse.fromBuffer(value)); - static final _$transformPCD = $grpc.ClientMethod<$33.TransformPCDRequest, $33.TransformPCDResponse>( - '/viam.robot.v1.RobotService/TransformPCD', - ($33.TransformPCDRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.TransformPCDResponse.fromBuffer(value)); - static final _$getStatus = $grpc.ClientMethod<$33.GetStatusRequest, $33.GetStatusResponse>( - '/viam.robot.v1.RobotService/GetStatus', - ($33.GetStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.GetStatusResponse.fromBuffer(value)); - static final _$streamStatus = $grpc.ClientMethod<$33.StreamStatusRequest, $33.StreamStatusResponse>( - '/viam.robot.v1.RobotService/StreamStatus', - ($33.StreamStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.StreamStatusResponse.fromBuffer(value)); - static final _$stopAll = $grpc.ClientMethod<$33.StopAllRequest, $33.StopAllResponse>( - '/viam.robot.v1.RobotService/StopAll', - ($33.StopAllRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.StopAllResponse.fromBuffer(value)); - static final _$startSession = $grpc.ClientMethod<$33.StartSessionRequest, $33.StartSessionResponse>( - '/viam.robot.v1.RobotService/StartSession', - ($33.StartSessionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.StartSessionResponse.fromBuffer(value)); - static final _$sendSessionHeartbeat = $grpc.ClientMethod<$33.SendSessionHeartbeatRequest, $33.SendSessionHeartbeatResponse>( - '/viam.robot.v1.RobotService/SendSessionHeartbeat', - ($33.SendSessionHeartbeatRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.SendSessionHeartbeatResponse.fromBuffer(value)); - static final _$log = $grpc.ClientMethod<$33.LogRequest, $33.LogResponse>( - '/viam.robot.v1.RobotService/Log', - ($33.LogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.LogResponse.fromBuffer(value)); - static final _$getCloudMetadata = $grpc.ClientMethod<$33.GetCloudMetadataRequest, $33.GetCloudMetadataResponse>( - '/viam.robot.v1.RobotService/GetCloudMetadata', - ($33.GetCloudMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.GetCloudMetadataResponse.fromBuffer(value)); - static final _$restartModule = $grpc.ClientMethod<$33.RestartModuleRequest, $33.RestartModuleResponse>( - '/viam.robot.v1.RobotService/RestartModule', - ($33.RestartModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.RestartModuleResponse.fromBuffer(value)); - static final _$shutdown = $grpc.ClientMethod<$33.ShutdownRequest, $33.ShutdownResponse>( - '/viam.robot.v1.RobotService/Shutdown', - ($33.ShutdownRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.ShutdownResponse.fromBuffer(value)); - static final _$getMachineStatus = $grpc.ClientMethod<$33.GetMachineStatusRequest, $33.GetMachineStatusResponse>( - '/viam.robot.v1.RobotService/GetMachineStatus', - ($33.GetMachineStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.GetMachineStatusResponse.fromBuffer(value)); - static final _$getVersion = $grpc.ClientMethod<$33.GetVersionRequest, $33.GetVersionResponse>( - '/viam.robot.v1.RobotService/GetVersion', - ($33.GetVersionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.GetVersionResponse.fromBuffer(value)); - static final _$tunnel = $grpc.ClientMethod<$33.TunnelRequest, $33.TunnelResponse>( - '/viam.robot.v1.RobotService/Tunnel', - ($33.TunnelRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.TunnelResponse.fromBuffer(value)); - static final _$listTunnels = $grpc.ClientMethod<$33.ListTunnelsRequest, $33.ListTunnelsResponse>( - '/viam.robot.v1.RobotService/ListTunnels', - ($33.ListTunnelsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.ListTunnelsResponse.fromBuffer(value)); - - RobotServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$33.GetOperationsResponse> getOperations($33.GetOperationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getOperations, request, options: options); - } - - $grpc.ResponseFuture<$33.GetSessionsResponse> getSessions($33.GetSessionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getSessions, request, options: options); - } - - $grpc.ResponseFuture<$33.ResourceNamesResponse> resourceNames($33.ResourceNamesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$resourceNames, request, options: options); - } - - $grpc.ResponseFuture<$33.ResourceRPCSubtypesResponse> resourceRPCSubtypes($33.ResourceRPCSubtypesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$resourceRPCSubtypes, request, options: options); - } - - $grpc.ResponseFuture<$33.CancelOperationResponse> cancelOperation($33.CancelOperationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$cancelOperation, request, options: options); - } - - $grpc.ResponseFuture<$33.BlockForOperationResponse> blockForOperation($33.BlockForOperationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$blockForOperation, request, options: options); - } - - $grpc.ResponseFuture<$33.GetModelsFromModulesResponse> getModelsFromModules($33.GetModelsFromModulesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getModelsFromModules, request, options: options); - } - - $grpc.ResponseFuture<$33.DiscoverComponentsResponse> discoverComponents($33.DiscoverComponentsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$discoverComponents, request, options: options); - } - - $grpc.ResponseFuture<$33.FrameSystemConfigResponse> frameSystemConfig($33.FrameSystemConfigRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$frameSystemConfig, request, options: options); - } - - $grpc.ResponseFuture<$33.TransformPoseResponse> transformPose($33.TransformPoseRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$transformPose, request, options: options); - } - - $grpc.ResponseFuture<$33.TransformPCDResponse> transformPCD($33.TransformPCDRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$transformPCD, request, options: options); - } - - $grpc.ResponseFuture<$33.GetStatusResponse> getStatus($33.GetStatusRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getStatus, request, options: options); - } - - $grpc.ResponseStream<$33.StreamStatusResponse> streamStatus($33.StreamStatusRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$streamStatus, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$33.StopAllResponse> stopAll($33.StopAllRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stopAll, request, options: options); - } - - $grpc.ResponseFuture<$33.StartSessionResponse> startSession($33.StartSessionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$startSession, request, options: options); - } - - $grpc.ResponseFuture<$33.SendSessionHeartbeatResponse> sendSessionHeartbeat($33.SendSessionHeartbeatRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$sendSessionHeartbeat, request, options: options); - } - - $grpc.ResponseFuture<$33.LogResponse> log($33.LogRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$log, request, options: options); - } - - $grpc.ResponseFuture<$33.GetCloudMetadataResponse> getCloudMetadata($33.GetCloudMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getCloudMetadata, request, options: options); - } - - $grpc.ResponseFuture<$33.RestartModuleResponse> restartModule($33.RestartModuleRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$restartModule, request, options: options); - } - - $grpc.ResponseFuture<$33.ShutdownResponse> shutdown($33.ShutdownRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$shutdown, request, options: options); - } - - $grpc.ResponseFuture<$33.GetMachineStatusResponse> getMachineStatus($33.GetMachineStatusRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getMachineStatus, request, options: options); - } - - $grpc.ResponseFuture<$33.GetVersionResponse> getVersion($33.GetVersionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getVersion, request, options: options); - } - - $grpc.ResponseStream<$33.TunnelResponse> tunnel($async.Stream<$33.TunnelRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$tunnel, request, options: options); - } - - $grpc.ResponseFuture<$33.ListTunnelsResponse> listTunnels($33.ListTunnelsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listTunnels, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.robot.v1.RobotService') -abstract class RobotServiceBase extends $grpc.Service { - $core.String get $name => 'viam.robot.v1.RobotService'; - - RobotServiceBase() { - $addMethod($grpc.ServiceMethod<$33.GetOperationsRequest, $33.GetOperationsResponse>( - 'GetOperations', - getOperations_Pre, - false, - false, - ($core.List<$core.int> value) => $33.GetOperationsRequest.fromBuffer(value), - ($33.GetOperationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.GetSessionsRequest, $33.GetSessionsResponse>( - 'GetSessions', - getSessions_Pre, - false, - false, - ($core.List<$core.int> value) => $33.GetSessionsRequest.fromBuffer(value), - ($33.GetSessionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.ResourceNamesRequest, $33.ResourceNamesResponse>( - 'ResourceNames', - resourceNames_Pre, - false, - false, - ($core.List<$core.int> value) => $33.ResourceNamesRequest.fromBuffer(value), - ($33.ResourceNamesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.ResourceRPCSubtypesRequest, $33.ResourceRPCSubtypesResponse>( - 'ResourceRPCSubtypes', - resourceRPCSubtypes_Pre, - false, - false, - ($core.List<$core.int> value) => $33.ResourceRPCSubtypesRequest.fromBuffer(value), - ($33.ResourceRPCSubtypesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.CancelOperationRequest, $33.CancelOperationResponse>( - 'CancelOperation', - cancelOperation_Pre, - false, - false, - ($core.List<$core.int> value) => $33.CancelOperationRequest.fromBuffer(value), - ($33.CancelOperationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.BlockForOperationRequest, $33.BlockForOperationResponse>( - 'BlockForOperation', - blockForOperation_Pre, - false, - false, - ($core.List<$core.int> value) => $33.BlockForOperationRequest.fromBuffer(value), - ($33.BlockForOperationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.GetModelsFromModulesRequest, $33.GetModelsFromModulesResponse>( - 'GetModelsFromModules', - getModelsFromModules_Pre, - false, - false, - ($core.List<$core.int> value) => $33.GetModelsFromModulesRequest.fromBuffer(value), - ($33.GetModelsFromModulesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.DiscoverComponentsRequest, $33.DiscoverComponentsResponse>( - 'DiscoverComponents', - discoverComponents_Pre, - false, - false, - ($core.List<$core.int> value) => $33.DiscoverComponentsRequest.fromBuffer(value), - ($33.DiscoverComponentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.FrameSystemConfigRequest, $33.FrameSystemConfigResponse>( - 'FrameSystemConfig', - frameSystemConfig_Pre, - false, - false, - ($core.List<$core.int> value) => $33.FrameSystemConfigRequest.fromBuffer(value), - ($33.FrameSystemConfigResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.TransformPoseRequest, $33.TransformPoseResponse>( - 'TransformPose', - transformPose_Pre, - false, - false, - ($core.List<$core.int> value) => $33.TransformPoseRequest.fromBuffer(value), - ($33.TransformPoseResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.TransformPCDRequest, $33.TransformPCDResponse>( - 'TransformPCD', - transformPCD_Pre, - false, - false, - ($core.List<$core.int> value) => $33.TransformPCDRequest.fromBuffer(value), - ($33.TransformPCDResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.GetStatusRequest, $33.GetStatusResponse>( - 'GetStatus', - getStatus_Pre, - false, - false, - ($core.List<$core.int> value) => $33.GetStatusRequest.fromBuffer(value), - ($33.GetStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.StreamStatusRequest, $33.StreamStatusResponse>( - 'StreamStatus', - streamStatus_Pre, - false, - true, - ($core.List<$core.int> value) => $33.StreamStatusRequest.fromBuffer(value), - ($33.StreamStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.StopAllRequest, $33.StopAllResponse>( - 'StopAll', - stopAll_Pre, - false, - false, - ($core.List<$core.int> value) => $33.StopAllRequest.fromBuffer(value), - ($33.StopAllResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.StartSessionRequest, $33.StartSessionResponse>( - 'StartSession', - startSession_Pre, - false, - false, - ($core.List<$core.int> value) => $33.StartSessionRequest.fromBuffer(value), - ($33.StartSessionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.SendSessionHeartbeatRequest, $33.SendSessionHeartbeatResponse>( - 'SendSessionHeartbeat', - sendSessionHeartbeat_Pre, - false, - false, - ($core.List<$core.int> value) => $33.SendSessionHeartbeatRequest.fromBuffer(value), - ($33.SendSessionHeartbeatResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.LogRequest, $33.LogResponse>( - 'Log', - log_Pre, - false, - false, - ($core.List<$core.int> value) => $33.LogRequest.fromBuffer(value), - ($33.LogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.GetCloudMetadataRequest, $33.GetCloudMetadataResponse>( - 'GetCloudMetadata', - getCloudMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $33.GetCloudMetadataRequest.fromBuffer(value), - ($33.GetCloudMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.RestartModuleRequest, $33.RestartModuleResponse>( - 'RestartModule', - restartModule_Pre, - false, - false, - ($core.List<$core.int> value) => $33.RestartModuleRequest.fromBuffer(value), - ($33.RestartModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.ShutdownRequest, $33.ShutdownResponse>( - 'Shutdown', - shutdown_Pre, - false, - false, - ($core.List<$core.int> value) => $33.ShutdownRequest.fromBuffer(value), - ($33.ShutdownResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.GetMachineStatusRequest, $33.GetMachineStatusResponse>( - 'GetMachineStatus', - getMachineStatus_Pre, - false, - false, - ($core.List<$core.int> value) => $33.GetMachineStatusRequest.fromBuffer(value), - ($33.GetMachineStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.GetVersionRequest, $33.GetVersionResponse>( - 'GetVersion', - getVersion_Pre, - false, - false, - ($core.List<$core.int> value) => $33.GetVersionRequest.fromBuffer(value), - ($33.GetVersionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.TunnelRequest, $33.TunnelResponse>( - 'Tunnel', - tunnel, - true, - true, - ($core.List<$core.int> value) => $33.TunnelRequest.fromBuffer(value), - ($33.TunnelResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.ListTunnelsRequest, $33.ListTunnelsResponse>( - 'ListTunnels', - listTunnels_Pre, - false, - false, - ($core.List<$core.int> value) => $33.ListTunnelsRequest.fromBuffer(value), - ($33.ListTunnelsResponse value) => value.writeToBuffer())); - } - - $async.Future<$33.GetOperationsResponse> getOperations_Pre($grpc.ServiceCall call, $async.Future<$33.GetOperationsRequest> request) async { - return getOperations(call, await request); - } - - $async.Future<$33.GetSessionsResponse> getSessions_Pre($grpc.ServiceCall call, $async.Future<$33.GetSessionsRequest> request) async { - return getSessions(call, await request); - } - - $async.Future<$33.ResourceNamesResponse> resourceNames_Pre($grpc.ServiceCall call, $async.Future<$33.ResourceNamesRequest> request) async { - return resourceNames(call, await request); - } - - $async.Future<$33.ResourceRPCSubtypesResponse> resourceRPCSubtypes_Pre($grpc.ServiceCall call, $async.Future<$33.ResourceRPCSubtypesRequest> request) async { - return resourceRPCSubtypes(call, await request); - } - - $async.Future<$33.CancelOperationResponse> cancelOperation_Pre($grpc.ServiceCall call, $async.Future<$33.CancelOperationRequest> request) async { - return cancelOperation(call, await request); - } - - $async.Future<$33.BlockForOperationResponse> blockForOperation_Pre($grpc.ServiceCall call, $async.Future<$33.BlockForOperationRequest> request) async { - return blockForOperation(call, await request); - } - - $async.Future<$33.GetModelsFromModulesResponse> getModelsFromModules_Pre($grpc.ServiceCall call, $async.Future<$33.GetModelsFromModulesRequest> request) async { - return getModelsFromModules(call, await request); - } - - $async.Future<$33.DiscoverComponentsResponse> discoverComponents_Pre($grpc.ServiceCall call, $async.Future<$33.DiscoverComponentsRequest> request) async { - return discoverComponents(call, await request); - } - - $async.Future<$33.FrameSystemConfigResponse> frameSystemConfig_Pre($grpc.ServiceCall call, $async.Future<$33.FrameSystemConfigRequest> request) async { - return frameSystemConfig(call, await request); - } - - $async.Future<$33.TransformPoseResponse> transformPose_Pre($grpc.ServiceCall call, $async.Future<$33.TransformPoseRequest> request) async { - return transformPose(call, await request); - } - - $async.Future<$33.TransformPCDResponse> transformPCD_Pre($grpc.ServiceCall call, $async.Future<$33.TransformPCDRequest> request) async { - return transformPCD(call, await request); - } - - $async.Future<$33.GetStatusResponse> getStatus_Pre($grpc.ServiceCall call, $async.Future<$33.GetStatusRequest> request) async { - return getStatus(call, await request); - } - - $async.Stream<$33.StreamStatusResponse> streamStatus_Pre($grpc.ServiceCall call, $async.Future<$33.StreamStatusRequest> request) async* { - yield* streamStatus(call, await request); - } - - $async.Future<$33.StopAllResponse> stopAll_Pre($grpc.ServiceCall call, $async.Future<$33.StopAllRequest> request) async { - return stopAll(call, await request); - } - - $async.Future<$33.StartSessionResponse> startSession_Pre($grpc.ServiceCall call, $async.Future<$33.StartSessionRequest> request) async { - return startSession(call, await request); - } - - $async.Future<$33.SendSessionHeartbeatResponse> sendSessionHeartbeat_Pre($grpc.ServiceCall call, $async.Future<$33.SendSessionHeartbeatRequest> request) async { - return sendSessionHeartbeat(call, await request); - } - - $async.Future<$33.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$33.LogRequest> request) async { - return log(call, await request); - } - - $async.Future<$33.GetCloudMetadataResponse> getCloudMetadata_Pre($grpc.ServiceCall call, $async.Future<$33.GetCloudMetadataRequest> request) async { - return getCloudMetadata(call, await request); - } - - $async.Future<$33.RestartModuleResponse> restartModule_Pre($grpc.ServiceCall call, $async.Future<$33.RestartModuleRequest> request) async { - return restartModule(call, await request); - } - - $async.Future<$33.ShutdownResponse> shutdown_Pre($grpc.ServiceCall call, $async.Future<$33.ShutdownRequest> request) async { - return shutdown(call, await request); - } - - $async.Future<$33.GetMachineStatusResponse> getMachineStatus_Pre($grpc.ServiceCall call, $async.Future<$33.GetMachineStatusRequest> request) async { - return getMachineStatus(call, await request); - } - - $async.Future<$33.GetVersionResponse> getVersion_Pre($grpc.ServiceCall call, $async.Future<$33.GetVersionRequest> request) async { - return getVersion(call, await request); - } - - $async.Future<$33.ListTunnelsResponse> listTunnels_Pre($grpc.ServiceCall call, $async.Future<$33.ListTunnelsRequest> request) async { - return listTunnels(call, await request); - } - - $async.Future<$33.GetOperationsResponse> getOperations($grpc.ServiceCall call, $33.GetOperationsRequest request); - $async.Future<$33.GetSessionsResponse> getSessions($grpc.ServiceCall call, $33.GetSessionsRequest request); - $async.Future<$33.ResourceNamesResponse> resourceNames($grpc.ServiceCall call, $33.ResourceNamesRequest request); - $async.Future<$33.ResourceRPCSubtypesResponse> resourceRPCSubtypes($grpc.ServiceCall call, $33.ResourceRPCSubtypesRequest request); - $async.Future<$33.CancelOperationResponse> cancelOperation($grpc.ServiceCall call, $33.CancelOperationRequest request); - $async.Future<$33.BlockForOperationResponse> blockForOperation($grpc.ServiceCall call, $33.BlockForOperationRequest request); - $async.Future<$33.GetModelsFromModulesResponse> getModelsFromModules($grpc.ServiceCall call, $33.GetModelsFromModulesRequest request); - $async.Future<$33.DiscoverComponentsResponse> discoverComponents($grpc.ServiceCall call, $33.DiscoverComponentsRequest request); - $async.Future<$33.FrameSystemConfigResponse> frameSystemConfig($grpc.ServiceCall call, $33.FrameSystemConfigRequest request); - $async.Future<$33.TransformPoseResponse> transformPose($grpc.ServiceCall call, $33.TransformPoseRequest request); - $async.Future<$33.TransformPCDResponse> transformPCD($grpc.ServiceCall call, $33.TransformPCDRequest request); - $async.Future<$33.GetStatusResponse> getStatus($grpc.ServiceCall call, $33.GetStatusRequest request); - $async.Stream<$33.StreamStatusResponse> streamStatus($grpc.ServiceCall call, $33.StreamStatusRequest request); - $async.Future<$33.StopAllResponse> stopAll($grpc.ServiceCall call, $33.StopAllRequest request); - $async.Future<$33.StartSessionResponse> startSession($grpc.ServiceCall call, $33.StartSessionRequest request); - $async.Future<$33.SendSessionHeartbeatResponse> sendSessionHeartbeat($grpc.ServiceCall call, $33.SendSessionHeartbeatRequest request); - $async.Future<$33.LogResponse> log($grpc.ServiceCall call, $33.LogRequest request); - $async.Future<$33.GetCloudMetadataResponse> getCloudMetadata($grpc.ServiceCall call, $33.GetCloudMetadataRequest request); - $async.Future<$33.RestartModuleResponse> restartModule($grpc.ServiceCall call, $33.RestartModuleRequest request); - $async.Future<$33.ShutdownResponse> shutdown($grpc.ServiceCall call, $33.ShutdownRequest request); - $async.Future<$33.GetMachineStatusResponse> getMachineStatus($grpc.ServiceCall call, $33.GetMachineStatusRequest request); - $async.Future<$33.GetVersionResponse> getVersion($grpc.ServiceCall call, $33.GetVersionRequest request); - $async.Stream<$33.TunnelResponse> tunnel($grpc.ServiceCall call, $async.Stream<$33.TunnelRequest> request); - $async.Future<$33.ListTunnelsResponse> listTunnels($grpc.ServiceCall call, $33.ListTunnelsRequest request); -} diff --git a/lib/src/gen/robot/v1/robot.pbjson.dart b/lib/src/gen/robot/v1/robot.pbjson.dart deleted file mode 100644 index bd252639e0d..00000000000 --- a/lib/src/gen/robot/v1/robot.pbjson.dart +++ /dev/null @@ -1,875 +0,0 @@ -// -// Generated code. Do not modify. -// source: robot/v1/robot.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use peerConnectionTypeDescriptor instead') -const PeerConnectionType$json = { - '1': 'PeerConnectionType', - '2': [ - {'1': 'PEER_CONNECTION_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'PEER_CONNECTION_TYPE_GRPC', '2': 1}, - {'1': 'PEER_CONNECTION_TYPE_WEBRTC', '2': 2}, - ], -}; - -/// Descriptor for `PeerConnectionType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List peerConnectionTypeDescriptor = $convert.base64Decode( - 'ChJQZWVyQ29ubmVjdGlvblR5cGUSJAogUEVFUl9DT05ORUNUSU9OX1RZUEVfVU5TUEVDSUZJRU' - 'QQABIdChlQRUVSX0NPTk5FQ1RJT05fVFlQRV9HUlBDEAESHwobUEVFUl9DT05ORUNUSU9OX1RZ' - 'UEVfV0VCUlRDEAI='); - -@$core.Deprecated('Use tunnelRequestDescriptor instead') -const TunnelRequest$json = { - '1': 'TunnelRequest', - '2': [ - {'1': 'destination_port', '3': 1, '4': 1, '5': 13, '10': 'destinationPort'}, - {'1': 'data', '3': 2, '4': 1, '5': 12, '10': 'data'}, - ], -}; - -/// Descriptor for `TunnelRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tunnelRequestDescriptor = $convert.base64Decode( - 'Cg1UdW5uZWxSZXF1ZXN0EikKEGRlc3RpbmF0aW9uX3BvcnQYASABKA1SD2Rlc3RpbmF0aW9uUG' - '9ydBISCgRkYXRhGAIgASgMUgRkYXRh'); - -@$core.Deprecated('Use tunnelResponseDescriptor instead') -const TunnelResponse$json = { - '1': 'TunnelResponse', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 12, '10': 'data'}, - ], -}; - -/// Descriptor for `TunnelResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tunnelResponseDescriptor = $convert.base64Decode( - 'Cg5UdW5uZWxSZXNwb25zZRISCgRkYXRhGAEgASgMUgRkYXRh'); - -@$core.Deprecated('Use listTunnelsRequestDescriptor instead') -const ListTunnelsRequest$json = { - '1': 'ListTunnelsRequest', -}; - -/// Descriptor for `ListTunnelsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listTunnelsRequestDescriptor = $convert.base64Decode( - 'ChJMaXN0VHVubmVsc1JlcXVlc3Q='); - -@$core.Deprecated('Use listTunnelsResponseDescriptor instead') -const ListTunnelsResponse$json = { - '1': 'ListTunnelsResponse', - '2': [ - {'1': 'tunnels', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.Tunnel', '10': 'tunnels'}, - ], -}; - -/// Descriptor for `ListTunnelsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listTunnelsResponseDescriptor = $convert.base64Decode( - 'ChNMaXN0VHVubmVsc1Jlc3BvbnNlEi8KB3R1bm5lbHMYASADKAsyFS52aWFtLnJvYm90LnYxLl' - 'R1bm5lbFIHdHVubmVscw=='); - -@$core.Deprecated('Use tunnelDescriptor instead') -const Tunnel$json = { - '1': 'Tunnel', - '2': [ - {'1': 'port', '3': 1, '4': 1, '5': 13, '10': 'port'}, - {'1': 'connection_timeout', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'connectionTimeout'}, - ], -}; - -/// Descriptor for `Tunnel`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tunnelDescriptor = $convert.base64Decode( - 'CgZUdW5uZWwSEgoEcG9ydBgBIAEoDVIEcG9ydBJIChJjb25uZWN0aW9uX3RpbWVvdXQYAiABKA' - 'syGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb25SEWNvbm5lY3Rpb25UaW1lb3V0'); - -@$core.Deprecated('Use frameSystemConfigDescriptor instead') -const FrameSystemConfig$json = { - '1': 'FrameSystemConfig', - '2': [ - {'1': 'frame', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Transform', '10': 'frame'}, - {'1': 'kinematics', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'kinematics'}, - ], -}; - -/// Descriptor for `FrameSystemConfig`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List frameSystemConfigDescriptor = $convert.base64Decode( - 'ChFGcmFtZVN5c3RlbUNvbmZpZxIvCgVmcmFtZRgBIAEoCzIZLnZpYW0uY29tbW9uLnYxLlRyYW' - '5zZm9ybVIFZnJhbWUSNwoKa2luZW1hdGljcxgCIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1' - 'Y3RSCmtpbmVtYXRpY3M='); - -@$core.Deprecated('Use frameSystemConfigRequestDescriptor instead') -const FrameSystemConfigRequest$json = { - '1': 'FrameSystemConfigRequest', - '2': [ - {'1': 'supplemental_transforms', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.Transform', '10': 'supplementalTransforms'}, - ], -}; - -/// Descriptor for `FrameSystemConfigRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List frameSystemConfigRequestDescriptor = $convert.base64Decode( - 'ChhGcmFtZVN5c3RlbUNvbmZpZ1JlcXVlc3QSUgoXc3VwcGxlbWVudGFsX3RyYW5zZm9ybXMYAS' - 'ADKAsyGS52aWFtLmNvbW1vbi52MS5UcmFuc2Zvcm1SFnN1cHBsZW1lbnRhbFRyYW5zZm9ybXM='); - -@$core.Deprecated('Use frameSystemConfigResponseDescriptor instead') -const FrameSystemConfigResponse$json = { - '1': 'FrameSystemConfigResponse', - '2': [ - {'1': 'frame_system_configs', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.FrameSystemConfig', '10': 'frameSystemConfigs'}, - ], -}; - -/// Descriptor for `FrameSystemConfigResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List frameSystemConfigResponseDescriptor = $convert.base64Decode( - 'ChlGcmFtZVN5c3RlbUNvbmZpZ1Jlc3BvbnNlElIKFGZyYW1lX3N5c3RlbV9jb25maWdzGAEgAy' - 'gLMiAudmlhbS5yb2JvdC52MS5GcmFtZVN5c3RlbUNvbmZpZ1ISZnJhbWVTeXN0ZW1Db25maWdz'); - -@$core.Deprecated('Use transformPoseRequestDescriptor instead') -const TransformPoseRequest$json = { - '1': 'TransformPoseRequest', - '2': [ - {'1': 'source', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.PoseInFrame', '10': 'source'}, - {'1': 'destination', '3': 2, '4': 1, '5': 9, '10': 'destination'}, - {'1': 'supplemental_transforms', '3': 3, '4': 3, '5': 11, '6': '.viam.common.v1.Transform', '10': 'supplementalTransforms'}, - ], -}; - -/// Descriptor for `TransformPoseRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transformPoseRequestDescriptor = $convert.base64Decode( - 'ChRUcmFuc2Zvcm1Qb3NlUmVxdWVzdBIzCgZzb3VyY2UYASABKAsyGy52aWFtLmNvbW1vbi52MS' - '5Qb3NlSW5GcmFtZVIGc291cmNlEiAKC2Rlc3RpbmF0aW9uGAIgASgJUgtkZXN0aW5hdGlvbhJS' - 'ChdzdXBwbGVtZW50YWxfdHJhbnNmb3JtcxgDIAMoCzIZLnZpYW0uY29tbW9uLnYxLlRyYW5zZm' - '9ybVIWc3VwcGxlbWVudGFsVHJhbnNmb3Jtcw=='); - -@$core.Deprecated('Use transformPoseResponseDescriptor instead') -const TransformPoseResponse$json = { - '1': 'TransformPoseResponse', - '2': [ - {'1': 'pose', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.PoseInFrame', '10': 'pose'}, - ], -}; - -/// Descriptor for `TransformPoseResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transformPoseResponseDescriptor = $convert.base64Decode( - 'ChVUcmFuc2Zvcm1Qb3NlUmVzcG9uc2USLwoEcG9zZRgBIAEoCzIbLnZpYW0uY29tbW9uLnYxLl' - 'Bvc2VJbkZyYW1lUgRwb3Nl'); - -@$core.Deprecated('Use transformPCDRequestDescriptor instead') -const TransformPCDRequest$json = { - '1': 'TransformPCDRequest', - '2': [ - {'1': 'point_cloud_pcd', '3': 1, '4': 1, '5': 12, '10': 'pointCloudPcd'}, - {'1': 'source', '3': 2, '4': 1, '5': 9, '10': 'source'}, - {'1': 'destination', '3': 3, '4': 1, '5': 9, '10': 'destination'}, - ], -}; - -/// Descriptor for `TransformPCDRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transformPCDRequestDescriptor = $convert.base64Decode( - 'ChNUcmFuc2Zvcm1QQ0RSZXF1ZXN0EiYKD3BvaW50X2Nsb3VkX3BjZBgBIAEoDFINcG9pbnRDbG' - '91ZFBjZBIWCgZzb3VyY2UYAiABKAlSBnNvdXJjZRIgCgtkZXN0aW5hdGlvbhgDIAEoCVILZGVz' - 'dGluYXRpb24='); - -@$core.Deprecated('Use transformPCDResponseDescriptor instead') -const TransformPCDResponse$json = { - '1': 'TransformPCDResponse', - '2': [ - {'1': 'point_cloud_pcd', '3': 1, '4': 1, '5': 12, '10': 'pointCloudPcd'}, - ], -}; - -/// Descriptor for `TransformPCDResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List transformPCDResponseDescriptor = $convert.base64Decode( - 'ChRUcmFuc2Zvcm1QQ0RSZXNwb25zZRImCg9wb2ludF9jbG91ZF9wY2QYASABKAxSDXBvaW50Q2' - 'xvdWRQY2Q='); - -@$core.Deprecated('Use resourceNamesRequestDescriptor instead') -const ResourceNamesRequest$json = { - '1': 'ResourceNamesRequest', -}; - -/// Descriptor for `ResourceNamesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceNamesRequestDescriptor = $convert.base64Decode( - 'ChRSZXNvdXJjZU5hbWVzUmVxdWVzdA=='); - -@$core.Deprecated('Use resourceNamesResponseDescriptor instead') -const ResourceNamesResponse$json = { - '1': 'ResourceNamesResponse', - '2': [ - {'1': 'resources', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'resources'}, - ], -}; - -/// Descriptor for `ResourceNamesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceNamesResponseDescriptor = $convert.base64Decode( - 'ChVSZXNvdXJjZU5hbWVzUmVzcG9uc2USOgoJcmVzb3VyY2VzGAEgAygLMhwudmlhbS5jb21tb2' - '4udjEuUmVzb3VyY2VOYW1lUglyZXNvdXJjZXM='); - -@$core.Deprecated('Use resourceRPCSubtypeDescriptor instead') -const ResourceRPCSubtype$json = { - '1': 'ResourceRPCSubtype', - '2': [ - {'1': 'subtype', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'subtype'}, - {'1': 'proto_service', '3': 2, '4': 1, '5': 9, '10': 'protoService'}, - ], -}; - -/// Descriptor for `ResourceRPCSubtype`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceRPCSubtypeDescriptor = $convert.base64Decode( - 'ChJSZXNvdXJjZVJQQ1N1YnR5cGUSNgoHc3VidHlwZRgBIAEoCzIcLnZpYW0uY29tbW9uLnYxLl' - 'Jlc291cmNlTmFtZVIHc3VidHlwZRIjCg1wcm90b19zZXJ2aWNlGAIgASgJUgxwcm90b1NlcnZp' - 'Y2U='); - -@$core.Deprecated('Use resourceRPCSubtypesRequestDescriptor instead') -const ResourceRPCSubtypesRequest$json = { - '1': 'ResourceRPCSubtypesRequest', -}; - -/// Descriptor for `ResourceRPCSubtypesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceRPCSubtypesRequestDescriptor = $convert.base64Decode( - 'ChpSZXNvdXJjZVJQQ1N1YnR5cGVzUmVxdWVzdA=='); - -@$core.Deprecated('Use resourceRPCSubtypesResponseDescriptor instead') -const ResourceRPCSubtypesResponse$json = { - '1': 'ResourceRPCSubtypesResponse', - '2': [ - {'1': 'resource_rpc_subtypes', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.ResourceRPCSubtype', '10': 'resourceRpcSubtypes'}, - ], -}; - -/// Descriptor for `ResourceRPCSubtypesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceRPCSubtypesResponseDescriptor = $convert.base64Decode( - 'ChtSZXNvdXJjZVJQQ1N1YnR5cGVzUmVzcG9uc2USVQoVcmVzb3VyY2VfcnBjX3N1YnR5cGVzGA' - 'EgAygLMiEudmlhbS5yb2JvdC52MS5SZXNvdXJjZVJQQ1N1YnR5cGVSE3Jlc291cmNlUnBjU3Vi' - 'dHlwZXM='); - -@$core.Deprecated('Use operationDescriptor instead') -const Operation$json = { - '1': 'Operation', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'method', '3': 2, '4': 1, '5': 9, '10': 'method'}, - {'1': 'arguments', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'arguments'}, - {'1': 'started', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'started'}, - {'1': 'session_id', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'sessionId', '17': true}, - ], - '8': [ - {'1': '_session_id'}, - ], -}; - -/// Descriptor for `Operation`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List operationDescriptor = $convert.base64Decode( - 'CglPcGVyYXRpb24SDgoCaWQYASABKAlSAmlkEhYKBm1ldGhvZBgCIAEoCVIGbWV0aG9kEjUKCW' - 'FyZ3VtZW50cxgDIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSCWFyZ3VtZW50cxI0Cgdz' - 'dGFydGVkGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIHc3RhcnRlZBIiCgpzZX' - 'NzaW9uX2lkGAUgASgJSABSCXNlc3Npb25JZIgBAUINCgtfc2Vzc2lvbl9pZA=='); - -@$core.Deprecated('Use getOperationsRequestDescriptor instead') -const GetOperationsRequest$json = { - '1': 'GetOperationsRequest', -}; - -/// Descriptor for `GetOperationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOperationsRequestDescriptor = $convert.base64Decode( - 'ChRHZXRPcGVyYXRpb25zUmVxdWVzdA=='); - -@$core.Deprecated('Use getOperationsResponseDescriptor instead') -const GetOperationsResponse$json = { - '1': 'GetOperationsResponse', - '2': [ - {'1': 'operations', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.Operation', '10': 'operations'}, - ], -}; - -/// Descriptor for `GetOperationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getOperationsResponseDescriptor = $convert.base64Decode( - 'ChVHZXRPcGVyYXRpb25zUmVzcG9uc2USOAoKb3BlcmF0aW9ucxgBIAMoCzIYLnZpYW0ucm9ib3' - 'QudjEuT3BlcmF0aW9uUgpvcGVyYXRpb25z'); - -@$core.Deprecated('Use cancelOperationRequestDescriptor instead') -const CancelOperationRequest$json = { - '1': 'CancelOperationRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `CancelOperationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cancelOperationRequestDescriptor = $convert.base64Decode( - 'ChZDYW5jZWxPcGVyYXRpb25SZXF1ZXN0Eg4KAmlkGAEgASgJUgJpZA=='); - -@$core.Deprecated('Use cancelOperationResponseDescriptor instead') -const CancelOperationResponse$json = { - '1': 'CancelOperationResponse', -}; - -/// Descriptor for `CancelOperationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cancelOperationResponseDescriptor = $convert.base64Decode( - 'ChdDYW5jZWxPcGVyYXRpb25SZXNwb25zZQ=='); - -@$core.Deprecated('Use blockForOperationRequestDescriptor instead') -const BlockForOperationRequest$json = { - '1': 'BlockForOperationRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `BlockForOperationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockForOperationRequestDescriptor = $convert.base64Decode( - 'ChhCbG9ja0Zvck9wZXJhdGlvblJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use blockForOperationResponseDescriptor instead') -const BlockForOperationResponse$json = { - '1': 'BlockForOperationResponse', -}; - -/// Descriptor for `BlockForOperationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List blockForOperationResponseDescriptor = $convert.base64Decode( - 'ChlCbG9ja0Zvck9wZXJhdGlvblJlc3BvbnNl'); - -@$core.Deprecated('Use peerConnectionInfoDescriptor instead') -const PeerConnectionInfo$json = { - '1': 'PeerConnectionInfo', - '2': [ - {'1': 'type', '3': 1, '4': 1, '5': 14, '6': '.viam.robot.v1.PeerConnectionType', '10': 'type'}, - {'1': 'remote_address', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'remoteAddress', '17': true}, - {'1': 'local_address', '3': 3, '4': 1, '5': 9, '9': 1, '10': 'localAddress', '17': true}, - ], - '8': [ - {'1': '_remote_address'}, - {'1': '_local_address'}, - ], -}; - -/// Descriptor for `PeerConnectionInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List peerConnectionInfoDescriptor = $convert.base64Decode( - 'ChJQZWVyQ29ubmVjdGlvbkluZm8SNQoEdHlwZRgBIAEoDjIhLnZpYW0ucm9ib3QudjEuUGVlck' - 'Nvbm5lY3Rpb25UeXBlUgR0eXBlEioKDnJlbW90ZV9hZGRyZXNzGAIgASgJSABSDXJlbW90ZUFk' - 'ZHJlc3OIAQESKAoNbG9jYWxfYWRkcmVzcxgDIAEoCUgBUgxsb2NhbEFkZHJlc3OIAQFCEQoPX3' - 'JlbW90ZV9hZGRyZXNzQhAKDl9sb2NhbF9hZGRyZXNz'); - -@$core.Deprecated('Use sessionDescriptor instead') -const Session$json = { - '1': 'Session', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'peer_connection_info', '3': 2, '4': 1, '5': 11, '6': '.viam.robot.v1.PeerConnectionInfo', '9': 0, '10': 'peerConnectionInfo', '17': true}, - ], - '8': [ - {'1': '_peer_connection_info'}, - ], -}; - -/// Descriptor for `Session`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sessionDescriptor = $convert.base64Decode( - 'CgdTZXNzaW9uEg4KAmlkGAEgASgJUgJpZBJYChRwZWVyX2Nvbm5lY3Rpb25faW5mbxgCIAEoCz' - 'IhLnZpYW0ucm9ib3QudjEuUGVlckNvbm5lY3Rpb25JbmZvSABSEnBlZXJDb25uZWN0aW9uSW5m' - 'b4gBAUIXChVfcGVlcl9jb25uZWN0aW9uX2luZm8='); - -@$core.Deprecated('Use getSessionsRequestDescriptor instead') -const GetSessionsRequest$json = { - '1': 'GetSessionsRequest', -}; - -/// Descriptor for `GetSessionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSessionsRequestDescriptor = $convert.base64Decode( - 'ChJHZXRTZXNzaW9uc1JlcXVlc3Q='); - -@$core.Deprecated('Use getSessionsResponseDescriptor instead') -const GetSessionsResponse$json = { - '1': 'GetSessionsResponse', - '2': [ - {'1': 'sessions', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.Session', '10': 'sessions'}, - ], -}; - -/// Descriptor for `GetSessionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSessionsResponseDescriptor = $convert.base64Decode( - 'ChNHZXRTZXNzaW9uc1Jlc3BvbnNlEjIKCHNlc3Npb25zGAEgAygLMhYudmlhbS5yb2JvdC52MS' - '5TZXNzaW9uUghzZXNzaW9ucw=='); - -@$core.Deprecated('Use discoveryQueryDescriptor instead') -const DiscoveryQuery$json = { - '1': 'DiscoveryQuery', - '2': [ - {'1': 'subtype', '3': 1, '4': 1, '5': 9, '10': 'subtype'}, - {'1': 'model', '3': 2, '4': 1, '5': 9, '10': 'model'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `DiscoveryQuery`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List discoveryQueryDescriptor = $convert.base64Decode( - 'Cg5EaXNjb3ZlcnlRdWVyeRIYCgdzdWJ0eXBlGAEgASgJUgdzdWJ0eXBlEhQKBW1vZGVsGAIgAS' - 'gJUgVtb2RlbBItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh' - 'OgIYAQ=='); - -@$core.Deprecated('Use discoveryDescriptor instead') -const Discovery$json = { - '1': 'Discovery', - '2': [ - {'1': 'query', '3': 1, '4': 1, '5': 11, '6': '.viam.robot.v1.DiscoveryQuery', '10': 'query'}, - {'1': 'results', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'results'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `Discovery`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List discoveryDescriptor = $convert.base64Decode( - 'CglEaXNjb3ZlcnkSMwoFcXVlcnkYASABKAsyHS52aWFtLnJvYm90LnYxLkRpc2NvdmVyeVF1ZX' - 'J5UgVxdWVyeRIxCgdyZXN1bHRzGAIgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIHcmVz' - 'dWx0czoCGAE='); - -@$core.Deprecated('Use moduleModelDescriptor instead') -const ModuleModel$json = { - '1': 'ModuleModel', - '2': [ - {'1': 'module_name', '3': 1, '4': 1, '5': 9, '10': 'moduleName'}, - {'1': 'model', '3': 2, '4': 1, '5': 9, '10': 'model'}, - {'1': 'api', '3': 3, '4': 1, '5': 9, '10': 'api'}, - {'1': 'from_local_module', '3': 4, '4': 1, '5': 8, '10': 'fromLocalModule'}, - ], -}; - -/// Descriptor for `ModuleModel`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moduleModelDescriptor = $convert.base64Decode( - 'CgtNb2R1bGVNb2RlbBIfCgttb2R1bGVfbmFtZRgBIAEoCVIKbW9kdWxlTmFtZRIUCgVtb2RlbB' - 'gCIAEoCVIFbW9kZWwSEAoDYXBpGAMgASgJUgNhcGkSKgoRZnJvbV9sb2NhbF9tb2R1bGUYBCAB' - 'KAhSD2Zyb21Mb2NhbE1vZHVsZQ=='); - -@$core.Deprecated('Use getModelsFromModulesRequestDescriptor instead') -const GetModelsFromModulesRequest$json = { - '1': 'GetModelsFromModulesRequest', -}; - -/// Descriptor for `GetModelsFromModulesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getModelsFromModulesRequestDescriptor = $convert.base64Decode( - 'ChtHZXRNb2RlbHNGcm9tTW9kdWxlc1JlcXVlc3Q='); - -@$core.Deprecated('Use getModelsFromModulesResponseDescriptor instead') -const GetModelsFromModulesResponse$json = { - '1': 'GetModelsFromModulesResponse', - '2': [ - {'1': 'models', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.ModuleModel', '10': 'models'}, - ], -}; - -/// Descriptor for `GetModelsFromModulesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getModelsFromModulesResponseDescriptor = $convert.base64Decode( - 'ChxHZXRNb2RlbHNGcm9tTW9kdWxlc1Jlc3BvbnNlEjIKBm1vZGVscxgBIAMoCzIaLnZpYW0ucm' - '9ib3QudjEuTW9kdWxlTW9kZWxSBm1vZGVscw=='); - -@$core.Deprecated('Use discoverComponentsRequestDescriptor instead') -const DiscoverComponentsRequest$json = { - '1': 'DiscoverComponentsRequest', - '2': [ - {'1': 'queries', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.DiscoveryQuery', '10': 'queries'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `DiscoverComponentsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List discoverComponentsRequestDescriptor = $convert.base64Decode( - 'ChlEaXNjb3ZlckNvbXBvbmVudHNSZXF1ZXN0EjcKB3F1ZXJpZXMYASADKAsyHS52aWFtLnJvYm' - '90LnYxLkRpc2NvdmVyeVF1ZXJ5UgdxdWVyaWVzOgIYAQ=='); - -@$core.Deprecated('Use discoverComponentsResponseDescriptor instead') -const DiscoverComponentsResponse$json = { - '1': 'DiscoverComponentsResponse', - '2': [ - {'1': 'discovery', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.Discovery', '10': 'discovery'}, - ], - '7': {'3': true}, -}; - -/// Descriptor for `DiscoverComponentsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List discoverComponentsResponseDescriptor = $convert.base64Decode( - 'ChpEaXNjb3ZlckNvbXBvbmVudHNSZXNwb25zZRI2CglkaXNjb3ZlcnkYASADKAsyGC52aWFtLn' - 'JvYm90LnYxLkRpc2NvdmVyeVIJZGlzY292ZXJ5OgIYAQ=='); - -@$core.Deprecated('Use statusDescriptor instead') -const Status$json = { - '1': 'Status', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'name'}, - {'1': 'status', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'status'}, - {'1': 'last_reconfigured', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastReconfigured'}, - ], -}; - -/// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( - 'CgZTdGF0dXMSMAoEbmFtZRgBIAEoCzIcLnZpYW0uY29tbW9uLnYxLlJlc291cmNlTmFtZVIEbm' - 'FtZRIvCgZzdGF0dXMYAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgZzdGF0dXMSRwoR' - 'bGFzdF9yZWNvbmZpZ3VyZWQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUhBsYX' - 'N0UmVjb25maWd1cmVk'); - -@$core.Deprecated('Use getStatusRequestDescriptor instead') -const GetStatusRequest$json = { - '1': 'GetStatusRequest', - '2': [ - {'1': 'resource_names', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'resourceNames'}, - ], -}; - -/// Descriptor for `GetStatusRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getStatusRequestDescriptor = $convert.base64Decode( - 'ChBHZXRTdGF0dXNSZXF1ZXN0EkMKDnJlc291cmNlX25hbWVzGAEgAygLMhwudmlhbS5jb21tb2' - '4udjEuUmVzb3VyY2VOYW1lUg1yZXNvdXJjZU5hbWVz'); - -@$core.Deprecated('Use getStatusResponseDescriptor instead') -const GetStatusResponse$json = { - '1': 'GetStatusResponse', - '2': [ - {'1': 'status', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.Status', '10': 'status'}, - ], -}; - -/// Descriptor for `GetStatusResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getStatusResponseDescriptor = $convert.base64Decode( - 'ChFHZXRTdGF0dXNSZXNwb25zZRItCgZzdGF0dXMYASADKAsyFS52aWFtLnJvYm90LnYxLlN0YX' - 'R1c1IGc3RhdHVz'); - -@$core.Deprecated('Use streamStatusRequestDescriptor instead') -const StreamStatusRequest$json = { - '1': 'StreamStatusRequest', - '2': [ - {'1': 'resource_names', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'resourceNames'}, - {'1': 'every', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'every'}, - ], -}; - -/// Descriptor for `StreamStatusRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStatusRequestDescriptor = $convert.base64Decode( - 'ChNTdHJlYW1TdGF0dXNSZXF1ZXN0EkMKDnJlc291cmNlX25hbWVzGAEgAygLMhwudmlhbS5jb2' - '1tb24udjEuUmVzb3VyY2VOYW1lUg1yZXNvdXJjZU5hbWVzEi8KBWV2ZXJ5GAIgASgLMhkuZ29v' - 'Z2xlLnByb3RvYnVmLkR1cmF0aW9uUgVldmVyeQ=='); - -@$core.Deprecated('Use streamStatusResponseDescriptor instead') -const StreamStatusResponse$json = { - '1': 'StreamStatusResponse', - '2': [ - {'1': 'status', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.Status', '10': 'status'}, - ], -}; - -/// Descriptor for `StreamStatusResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamStatusResponseDescriptor = $convert.base64Decode( - 'ChRTdHJlYW1TdGF0dXNSZXNwb25zZRItCgZzdGF0dXMYASADKAsyFS52aWFtLnJvYm90LnYxLl' - 'N0YXR1c1IGc3RhdHVz'); - -@$core.Deprecated('Use stopExtraParametersDescriptor instead') -const StopExtraParameters$json = { - '1': 'StopExtraParameters', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'name'}, - {'1': 'params', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'params'}, - ], -}; - -/// Descriptor for `StopExtraParameters`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopExtraParametersDescriptor = $convert.base64Decode( - 'ChNTdG9wRXh0cmFQYXJhbWV0ZXJzEjAKBG5hbWUYASABKAsyHC52aWFtLmNvbW1vbi52MS5SZX' - 'NvdXJjZU5hbWVSBG5hbWUSLwoGcGFyYW1zGAIgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVj' - 'dFIGcGFyYW1z'); - -@$core.Deprecated('Use stopAllRequestDescriptor instead') -const StopAllRequest$json = { - '1': 'StopAllRequest', - '2': [ - {'1': 'extra', '3': 99, '4': 3, '5': 11, '6': '.viam.robot.v1.StopExtraParameters', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopAllRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopAllRequestDescriptor = $convert.base64Decode( - 'Cg5TdG9wQWxsUmVxdWVzdBI4CgVleHRyYRhjIAMoCzIiLnZpYW0ucm9ib3QudjEuU3RvcEV4dH' - 'JhUGFyYW1ldGVyc1IFZXh0cmE='); - -@$core.Deprecated('Use stopAllResponseDescriptor instead') -const StopAllResponse$json = { - '1': 'StopAllResponse', -}; - -/// Descriptor for `StopAllResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopAllResponseDescriptor = $convert.base64Decode( - 'Cg9TdG9wQWxsUmVzcG9uc2U='); - -@$core.Deprecated('Use startSessionRequestDescriptor instead') -const StartSessionRequest$json = { - '1': 'StartSessionRequest', - '2': [ - {'1': 'resume', '3': 1, '4': 1, '5': 9, '10': 'resume'}, - ], -}; - -/// Descriptor for `StartSessionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startSessionRequestDescriptor = $convert.base64Decode( - 'ChNTdGFydFNlc3Npb25SZXF1ZXN0EhYKBnJlc3VtZRgBIAEoCVIGcmVzdW1l'); - -@$core.Deprecated('Use startSessionResponseDescriptor instead') -const StartSessionResponse$json = { - '1': 'StartSessionResponse', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'heartbeat_window', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'heartbeatWindow'}, - ], -}; - -/// Descriptor for `StartSessionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List startSessionResponseDescriptor = $convert.base64Decode( - 'ChRTdGFydFNlc3Npb25SZXNwb25zZRIOCgJpZBgBIAEoCVICaWQSRAoQaGVhcnRiZWF0X3dpbm' - 'RvdxgCIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvblIPaGVhcnRiZWF0V2luZG93'); - -@$core.Deprecated('Use sendSessionHeartbeatRequestDescriptor instead') -const SendSessionHeartbeatRequest$json = { - '1': 'SendSessionHeartbeatRequest', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - ], -}; - -/// Descriptor for `SendSessionHeartbeatRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sendSessionHeartbeatRequestDescriptor = $convert.base64Decode( - 'ChtTZW5kU2Vzc2lvbkhlYXJ0YmVhdFJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); - -@$core.Deprecated('Use sendSessionHeartbeatResponseDescriptor instead') -const SendSessionHeartbeatResponse$json = { - '1': 'SendSessionHeartbeatResponse', -}; - -/// Descriptor for `SendSessionHeartbeatResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sendSessionHeartbeatResponseDescriptor = $convert.base64Decode( - 'ChxTZW5kU2Vzc2lvbkhlYXJ0YmVhdFJlc3BvbnNl'); - -@$core.Deprecated('Use logRequestDescriptor instead') -const LogRequest$json = { - '1': 'LogRequest', - '2': [ - {'1': 'logs', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.LogEntry', '10': 'logs'}, - ], -}; - -/// Descriptor for `LogRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List logRequestDescriptor = $convert.base64Decode( - 'CgpMb2dSZXF1ZXN0EiwKBGxvZ3MYASADKAsyGC52aWFtLmNvbW1vbi52MS5Mb2dFbnRyeVIEbG' - '9ncw=='); - -@$core.Deprecated('Use logResponseDescriptor instead') -const LogResponse$json = { - '1': 'LogResponse', -}; - -/// Descriptor for `LogResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List logResponseDescriptor = $convert.base64Decode( - 'CgtMb2dSZXNwb25zZQ=='); - -@$core.Deprecated('Use getCloudMetadataRequestDescriptor instead') -const GetCloudMetadataRequest$json = { - '1': 'GetCloudMetadataRequest', -}; - -/// Descriptor for `GetCloudMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCloudMetadataRequestDescriptor = $convert.base64Decode( - 'ChdHZXRDbG91ZE1ldGFkYXRhUmVxdWVzdA=='); - -@$core.Deprecated('Use getCloudMetadataResponseDescriptor instead') -const GetCloudMetadataResponse$json = { - '1': 'GetCloudMetadataResponse', - '2': [ - { - '1': 'robot_part_id', - '3': 1, - '4': 1, - '5': 9, - '8': {'3': true}, - '10': 'robotPartId', - }, - {'1': 'primary_org_id', '3': 2, '4': 1, '5': 9, '10': 'primaryOrgId'}, - {'1': 'location_id', '3': 3, '4': 1, '5': 9, '10': 'locationId'}, - {'1': 'machine_id', '3': 4, '4': 1, '5': 9, '10': 'machineId'}, - {'1': 'machine_part_id', '3': 5, '4': 1, '5': 9, '10': 'machinePartId'}, - ], -}; - -/// Descriptor for `GetCloudMetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getCloudMetadataResponseDescriptor = $convert.base64Decode( - 'ChhHZXRDbG91ZE1ldGFkYXRhUmVzcG9uc2USJgoNcm9ib3RfcGFydF9pZBgBIAEoCUICGAFSC3' - 'JvYm90UGFydElkEiQKDnByaW1hcnlfb3JnX2lkGAIgASgJUgxwcmltYXJ5T3JnSWQSHwoLbG9j' - 'YXRpb25faWQYAyABKAlSCmxvY2F0aW9uSWQSHQoKbWFjaGluZV9pZBgEIAEoCVIJbWFjaGluZU' - 'lkEiYKD21hY2hpbmVfcGFydF9pZBgFIAEoCVINbWFjaGluZVBhcnRJZA=='); - -@$core.Deprecated('Use restartModuleRequestDescriptor instead') -const RestartModuleRequest$json = { - '1': 'RestartModuleRequest', - '2': [ - {'1': 'module_id', '3': 1, '4': 1, '5': 9, '9': 0, '10': 'moduleId'}, - {'1': 'module_name', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'moduleName'}, - ], - '8': [ - {'1': 'id_or_name'}, - ], -}; - -/// Descriptor for `RestartModuleRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List restartModuleRequestDescriptor = $convert.base64Decode( - 'ChRSZXN0YXJ0TW9kdWxlUmVxdWVzdBIdCgltb2R1bGVfaWQYASABKAlIAFIIbW9kdWxlSWQSIQ' - 'oLbW9kdWxlX25hbWUYAiABKAlIAFIKbW9kdWxlTmFtZUIMCgppZF9vcl9uYW1l'); - -@$core.Deprecated('Use restartModuleResponseDescriptor instead') -const RestartModuleResponse$json = { - '1': 'RestartModuleResponse', -}; - -/// Descriptor for `RestartModuleResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List restartModuleResponseDescriptor = $convert.base64Decode( - 'ChVSZXN0YXJ0TW9kdWxlUmVzcG9uc2U='); - -@$core.Deprecated('Use shutdownRequestDescriptor instead') -const ShutdownRequest$json = { - '1': 'ShutdownRequest', -}; - -/// Descriptor for `ShutdownRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shutdownRequestDescriptor = $convert.base64Decode( - 'Cg9TaHV0ZG93blJlcXVlc3Q='); - -@$core.Deprecated('Use shutdownResponseDescriptor instead') -const ShutdownResponse$json = { - '1': 'ShutdownResponse', -}; - -/// Descriptor for `ShutdownResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shutdownResponseDescriptor = $convert.base64Decode( - 'ChBTaHV0ZG93blJlc3BvbnNl'); - -@$core.Deprecated('Use getMachineStatusRequestDescriptor instead') -const GetMachineStatusRequest$json = { - '1': 'GetMachineStatusRequest', -}; - -/// Descriptor for `GetMachineStatusRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMachineStatusRequestDescriptor = $convert.base64Decode( - 'ChdHZXRNYWNoaW5lU3RhdHVzUmVxdWVzdA=='); - -@$core.Deprecated('Use getMachineStatusResponseDescriptor instead') -const GetMachineStatusResponse$json = { - '1': 'GetMachineStatusResponse', - '2': [ - {'1': 'resources', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.ResourceStatus', '10': 'resources'}, - {'1': 'config', '3': 2, '4': 1, '5': 11, '6': '.viam.robot.v1.ConfigStatus', '10': 'config'}, - {'1': 'state', '3': 3, '4': 1, '5': 14, '6': '.viam.robot.v1.GetMachineStatusResponse.State', '10': 'state'}, - ], - '4': [GetMachineStatusResponse_State$json], -}; - -@$core.Deprecated('Use getMachineStatusResponseDescriptor instead') -const GetMachineStatusResponse_State$json = { - '1': 'State', - '2': [ - {'1': 'STATE_UNSPECIFIED', '2': 0}, - {'1': 'STATE_INITIALIZING', '2': 1}, - {'1': 'STATE_RUNNING', '2': 2}, - ], -}; - -/// Descriptor for `GetMachineStatusResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMachineStatusResponseDescriptor = $convert.base64Decode( - 'ChhHZXRNYWNoaW5lU3RhdHVzUmVzcG9uc2USOwoJcmVzb3VyY2VzGAEgAygLMh0udmlhbS5yb2' - 'JvdC52MS5SZXNvdXJjZVN0YXR1c1IJcmVzb3VyY2VzEjMKBmNvbmZpZxgCIAEoCzIbLnZpYW0u' - 'cm9ib3QudjEuQ29uZmlnU3RhdHVzUgZjb25maWcSQwoFc3RhdGUYAyABKA4yLS52aWFtLnJvYm' - '90LnYxLkdldE1hY2hpbmVTdGF0dXNSZXNwb25zZS5TdGF0ZVIFc3RhdGUiSQoFU3RhdGUSFQoR' - 'U1RBVEVfVU5TUEVDSUZJRUQQABIWChJTVEFURV9JTklUSUFMSVpJTkcQARIRCg1TVEFURV9SVU' - '5OSU5HEAI='); - -@$core.Deprecated('Use resourceStatusDescriptor instead') -const ResourceStatus$json = { - '1': 'ResourceStatus', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'name'}, - {'1': 'state', '3': 2, '4': 1, '5': 14, '6': '.viam.robot.v1.ResourceStatus.State', '10': 'state'}, - {'1': 'last_updated', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastUpdated'}, - {'1': 'revision', '3': 4, '4': 1, '5': 9, '10': 'revision'}, - {'1': 'error', '3': 5, '4': 1, '5': 9, '10': 'error'}, - {'1': 'cloud_metadata', '3': 6, '4': 1, '5': 11, '6': '.viam.robot.v1.GetCloudMetadataResponse', '9': 0, '10': 'cloudMetadata', '17': true}, - ], - '4': [ResourceStatus_State$json], - '8': [ - {'1': '_cloud_metadata'}, - ], -}; - -@$core.Deprecated('Use resourceStatusDescriptor instead') -const ResourceStatus_State$json = { - '1': 'State', - '2': [ - {'1': 'STATE_UNSPECIFIED', '2': 0}, - {'1': 'STATE_UNCONFIGURED', '2': 1}, - {'1': 'STATE_CONFIGURING', '2': 2}, - {'1': 'STATE_READY', '2': 3}, - {'1': 'STATE_REMOVING', '2': 4}, - {'1': 'STATE_UNHEALTHY', '2': 5}, - ], -}; - -/// Descriptor for `ResourceStatus`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resourceStatusDescriptor = $convert.base64Decode( - 'Cg5SZXNvdXJjZVN0YXR1cxIwCgRuYW1lGAEgASgLMhwudmlhbS5jb21tb24udjEuUmVzb3VyY2' - 'VOYW1lUgRuYW1lEjkKBXN0YXRlGAIgASgOMiMudmlhbS5yb2JvdC52MS5SZXNvdXJjZVN0YXR1' - 'cy5TdGF0ZVIFc3RhdGUSPQoMbGFzdF91cGRhdGVkGAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLl' - 'RpbWVzdGFtcFILbGFzdFVwZGF0ZWQSGgoIcmV2aXNpb24YBCABKAlSCHJldmlzaW9uEhQKBWVy' - 'cm9yGAUgASgJUgVlcnJvchJTCg5jbG91ZF9tZXRhZGF0YRgGIAEoCzInLnZpYW0ucm9ib3Qudj' - 'EuR2V0Q2xvdWRNZXRhZGF0YVJlc3BvbnNlSABSDWNsb3VkTWV0YWRhdGGIAQEihwEKBVN0YXRl' - 'EhUKEVNUQVRFX1VOU1BFQ0lGSUVEEAASFgoSU1RBVEVfVU5DT05GSUdVUkVEEAESFQoRU1RBVE' - 'VfQ09ORklHVVJJTkcQAhIPCgtTVEFURV9SRUFEWRADEhIKDlNUQVRFX1JFTU9WSU5HEAQSEwoP' - 'U1RBVEVfVU5IRUFMVEhZEAVCEQoPX2Nsb3VkX21ldGFkYXRh'); - -@$core.Deprecated('Use configStatusDescriptor instead') -const ConfigStatus$json = { - '1': 'ConfigStatus', - '2': [ - {'1': 'revision', '3': 1, '4': 1, '5': 9, '10': 'revision'}, - {'1': 'last_updated', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'lastUpdated'}, - ], -}; - -/// Descriptor for `ConfigStatus`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List configStatusDescriptor = $convert.base64Decode( - 'CgxDb25maWdTdGF0dXMSGgoIcmV2aXNpb24YASABKAlSCHJldmlzaW9uEj0KDGxhc3RfdXBkYX' - 'RlZBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSC2xhc3RVcGRhdGVk'); - -@$core.Deprecated('Use getVersionRequestDescriptor instead') -const GetVersionRequest$json = { - '1': 'GetVersionRequest', -}; - -/// Descriptor for `GetVersionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getVersionRequestDescriptor = $convert.base64Decode( - 'ChFHZXRWZXJzaW9uUmVxdWVzdA=='); - -@$core.Deprecated('Use getVersionResponseDescriptor instead') -const GetVersionResponse$json = { - '1': 'GetVersionResponse', - '2': [ - {'1': 'platform', '3': 1, '4': 1, '5': 9, '10': 'platform'}, - {'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'}, - {'1': 'api_version', '3': 3, '4': 1, '5': 9, '10': 'apiVersion'}, - ], -}; - -/// Descriptor for `GetVersionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getVersionResponseDescriptor = $convert.base64Decode( - 'ChJHZXRWZXJzaW9uUmVzcG9uc2USGgoIcGxhdGZvcm0YASABKAlSCHBsYXRmb3JtEhgKB3Zlcn' - 'Npb24YAiABKAlSB3ZlcnNpb24SHwoLYXBpX3ZlcnNpb24YAyABKAlSCmFwaVZlcnNpb24='); - diff --git a/lib/src/gen/service/datamanager/v1/data_manager.pb.dart b/lib/src/gen/service/datamanager/v1/data_manager.pb.dart deleted file mode 100644 index eac7e9967b6..00000000000 --- a/lib/src/gen/service/datamanager/v1/data_manager.pb.dart +++ /dev/null @@ -1,119 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/datamanager/v1/data_manager.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; - -class SyncRequest extends $pb.GeneratedMessage { - factory SyncRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SyncRequest._() : super(); - factory SyncRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SyncRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SyncRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.datamanager.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SyncRequest clone() => SyncRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SyncRequest copyWith(void Function(SyncRequest) updates) => super.copyWith((message) => updates(message as SyncRequest)) as SyncRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SyncRequest create() => SyncRequest._(); - SyncRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SyncRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SyncRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class SyncResponse extends $pb.GeneratedMessage { - factory SyncResponse() => create(); - SyncResponse._() : super(); - factory SyncResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SyncResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SyncResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.datamanager.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SyncResponse clone() => SyncResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SyncResponse copyWith(void Function(SyncResponse) updates) => super.copyWith((message) => updates(message as SyncResponse)) as SyncResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SyncResponse create() => SyncResponse._(); - SyncResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SyncResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SyncResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/datamanager/v1/data_manager.pbenum.dart b/lib/src/gen/service/datamanager/v1/data_manager.pbenum.dart deleted file mode 100644 index 74d1091377f..00000000000 --- a/lib/src/gen/service/datamanager/v1/data_manager.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/datamanager/v1/data_manager.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/service/datamanager/v1/data_manager.pbgrpc.dart b/lib/src/gen/service/datamanager/v1/data_manager.pbgrpc.dart deleted file mode 100644 index bf660455437..00000000000 --- a/lib/src/gen/service/datamanager/v1/data_manager.pbgrpc.dart +++ /dev/null @@ -1,80 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/datamanager/v1/data_manager.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'data_manager.pb.dart' as $36; - -export 'data_manager.pb.dart'; - -@$pb.GrpcServiceName('viam.service.datamanager.v1.DataManagerService') -class DataManagerServiceClient extends $grpc.Client { - static final _$sync = $grpc.ClientMethod<$36.SyncRequest, $36.SyncResponse>( - '/viam.service.datamanager.v1.DataManagerService/Sync', - ($36.SyncRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.SyncResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.datamanager.v1.DataManagerService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - DataManagerServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$36.SyncResponse> sync($36.SyncRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$sync, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.datamanager.v1.DataManagerService') -abstract class DataManagerServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.datamanager.v1.DataManagerService'; - - DataManagerServiceBase() { - $addMethod($grpc.ServiceMethod<$36.SyncRequest, $36.SyncResponse>( - 'Sync', - sync_Pre, - false, - false, - ($core.List<$core.int> value) => $36.SyncRequest.fromBuffer(value), - ($36.SyncResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$36.SyncResponse> sync_Pre($grpc.ServiceCall call, $async.Future<$36.SyncRequest> request) async { - return sync(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$36.SyncResponse> sync($grpc.ServiceCall call, $36.SyncRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/datamanager/v1/data_manager.pbjson.dart b/lib/src/gen/service/datamanager/v1/data_manager.pbjson.dart deleted file mode 100644 index b7166522021..00000000000 --- a/lib/src/gen/service/datamanager/v1/data_manager.pbjson.dart +++ /dev/null @@ -1,38 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/datamanager/v1/data_manager.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use syncRequestDescriptor instead') -const SyncRequest$json = { - '1': 'SyncRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SyncRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List syncRequestDescriptor = $convert.base64Decode( - 'CgtTeW5jUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2' - 'xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use syncResponseDescriptor instead') -const SyncResponse$json = { - '1': 'SyncResponse', -}; - -/// Descriptor for `SyncResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List syncResponseDescriptor = $convert.base64Decode( - 'CgxTeW5jUmVzcG9uc2U='); - diff --git a/lib/src/gen/service/discovery/v1/discovery.pb.dart b/lib/src/gen/service/discovery/v1/discovery.pb.dart deleted file mode 100644 index cf0477a5c9c..00000000000 --- a/lib/src/gen/service/discovery/v1/discovery.pb.dart +++ /dev/null @@ -1,134 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/discovery/v1/discovery.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../app/v1/robot.pb.dart' as $13; -import '../../../google/protobuf/struct.pb.dart' as $46; - -class DiscoverResourcesRequest extends $pb.GeneratedMessage { - factory DiscoverResourcesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - DiscoverResourcesRequest._() : super(); - factory DiscoverResourcesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DiscoverResourcesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoverResourcesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.discovery.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DiscoverResourcesRequest clone() => DiscoverResourcesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DiscoverResourcesRequest copyWith(void Function(DiscoverResourcesRequest) updates) => super.copyWith((message) => updates(message as DiscoverResourcesRequest)) as DiscoverResourcesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DiscoverResourcesRequest create() => DiscoverResourcesRequest._(); - DiscoverResourcesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DiscoverResourcesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DiscoverResourcesRequest? _defaultInstance; - - /// name of the discover service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class DiscoverResourcesResponse extends $pb.GeneratedMessage { - factory DiscoverResourcesResponse({ - $core.Iterable<$13.ComponentConfig>? discoveries, - }) { - final $result = create(); - if (discoveries != null) { - $result.discoveries.addAll(discoveries); - } - return $result; - } - DiscoverResourcesResponse._() : super(); - factory DiscoverResourcesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DiscoverResourcesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoverResourcesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.discovery.v1'), createEmptyInstance: create) - ..pc<$13.ComponentConfig>(1, _omitFieldNames ? '' : 'discoveries', $pb.PbFieldType.PM, subBuilder: $13.ComponentConfig.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DiscoverResourcesResponse clone() => DiscoverResourcesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DiscoverResourcesResponse copyWith(void Function(DiscoverResourcesResponse) updates) => super.copyWith((message) => updates(message as DiscoverResourcesResponse)) as DiscoverResourcesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DiscoverResourcesResponse create() => DiscoverResourcesResponse._(); - DiscoverResourcesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static DiscoverResourcesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static DiscoverResourcesResponse? _defaultInstance; - - /// list of ComponentConfigs that describe the components found by a discover service. - @$pb.TagNumber(1) - $core.List<$13.ComponentConfig> get discoveries => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/discovery/v1/discovery.pbenum.dart b/lib/src/gen/service/discovery/v1/discovery.pbenum.dart deleted file mode 100644 index b3792ca9127..00000000000 --- a/lib/src/gen/service/discovery/v1/discovery.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/discovery/v1/discovery.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/service/discovery/v1/discovery.pbgrpc.dart b/lib/src/gen/service/discovery/v1/discovery.pbgrpc.dart deleted file mode 100644 index f296d58713e..00000000000 --- a/lib/src/gen/service/discovery/v1/discovery.pbgrpc.dart +++ /dev/null @@ -1,80 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/discovery/v1/discovery.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'discovery.pb.dart' as $37; - -export 'discovery.pb.dart'; - -@$pb.GrpcServiceName('viam.service.discovery.v1.DiscoveryService') -class DiscoveryServiceClient extends $grpc.Client { - static final _$discoverResources = $grpc.ClientMethod<$37.DiscoverResourcesRequest, $37.DiscoverResourcesResponse>( - '/viam.service.discovery.v1.DiscoveryService/DiscoverResources', - ($37.DiscoverResourcesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $37.DiscoverResourcesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.discovery.v1.DiscoveryService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - DiscoveryServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$37.DiscoverResourcesResponse> discoverResources($37.DiscoverResourcesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$discoverResources, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.discovery.v1.DiscoveryService') -abstract class DiscoveryServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.discovery.v1.DiscoveryService'; - - DiscoveryServiceBase() { - $addMethod($grpc.ServiceMethod<$37.DiscoverResourcesRequest, $37.DiscoverResourcesResponse>( - 'DiscoverResources', - discoverResources_Pre, - false, - false, - ($core.List<$core.int> value) => $37.DiscoverResourcesRequest.fromBuffer(value), - ($37.DiscoverResourcesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$37.DiscoverResourcesResponse> discoverResources_Pre($grpc.ServiceCall call, $async.Future<$37.DiscoverResourcesRequest> request) async { - return discoverResources(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$37.DiscoverResourcesResponse> discoverResources($grpc.ServiceCall call, $37.DiscoverResourcesRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/discovery/v1/discovery.pbjson.dart b/lib/src/gen/service/discovery/v1/discovery.pbjson.dart deleted file mode 100644 index 8bccdadbf6f..00000000000 --- a/lib/src/gen/service/discovery/v1/discovery.pbjson.dart +++ /dev/null @@ -1,42 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/discovery/v1/discovery.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use discoverResourcesRequestDescriptor instead') -const DiscoverResourcesRequest$json = { - '1': 'DiscoverResourcesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `DiscoverResourcesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List discoverResourcesRequestDescriptor = $convert.base64Decode( - 'ChhEaXNjb3ZlclJlc291cmNlc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYR' - 'hjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use discoverResourcesResponseDescriptor instead') -const DiscoverResourcesResponse$json = { - '1': 'DiscoverResourcesResponse', - '2': [ - {'1': 'discoveries', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.ComponentConfig', '10': 'discoveries'}, - ], -}; - -/// Descriptor for `DiscoverResourcesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List discoverResourcesResponseDescriptor = $convert.base64Decode( - 'ChlEaXNjb3ZlclJlc291cmNlc1Jlc3BvbnNlEj4KC2Rpc2NvdmVyaWVzGAEgAygLMhwudmlhbS' - '5hcHAudjEuQ29tcG9uZW50Q29uZmlnUgtkaXNjb3Zlcmllcw=='); - diff --git a/lib/src/gen/service/generic/v1/generic.pb.dart b/lib/src/gen/service/generic/v1/generic.pb.dart deleted file mode 100644 index 245e6cf5c35..00000000000 --- a/lib/src/gen/service/generic/v1/generic.pb.dart +++ /dev/null @@ -1,13 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - diff --git a/lib/src/gen/service/generic/v1/generic.pbenum.dart b/lib/src/gen/service/generic/v1/generic.pbenum.dart deleted file mode 100644 index f1b7c57c373..00000000000 --- a/lib/src/gen/service/generic/v1/generic.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/service/generic/v1/generic.pbgrpc.dart b/lib/src/gen/service/generic/v1/generic.pbgrpc.dart deleted file mode 100644 index 5c2f5e7769a..00000000000 --- a/lib/src/gen/service/generic/v1/generic.pbgrpc.dart +++ /dev/null @@ -1,59 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; - -export 'generic.pb.dart'; - -@$pb.GrpcServiceName('viam.service.generic.v1.GenericService') -class GenericServiceClient extends $grpc.Client { - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.generic.v1.GenericService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - GenericServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.generic.v1.GenericService') -abstract class GenericServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.generic.v1.GenericService'; - - GenericServiceBase() { - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/generic/v1/generic.pbjson.dart b/lib/src/gen/service/generic/v1/generic.pbjson.dart deleted file mode 100644 index 18b410f2ff4..00000000000 --- a/lib/src/gen/service/generic/v1/generic.pbjson.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/generic/v1/generic.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - diff --git a/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart b/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart deleted file mode 100644 index 5aba17a8705..00000000000 --- a/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart +++ /dev/null @@ -1,1316 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/mlmodel/v1/mlmodel.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; -import 'mlmodel.pbenum.dart'; - -export 'mlmodel.pbenum.dart'; - -class InferRequest extends $pb.GeneratedMessage { - factory InferRequest({ - $core.String? name, - FlatTensors? inputTensors, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (inputTensors != null) { - $result.inputTensors = inputTensors; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - InferRequest._() : super(); - factory InferRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory InferRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InferRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM(3, _omitFieldNames ? '' : 'inputTensors', subBuilder: FlatTensors.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - InferRequest clone() => InferRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - InferRequest copyWith(void Function(InferRequest) updates) => super.copyWith((message) => updates(message as InferRequest)) as InferRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static InferRequest create() => InferRequest._(); - InferRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static InferRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static InferRequest? _defaultInstance; - - /// name of the model service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// the input data is provided as set of named flat tensors - @$pb.TagNumber(3) - FlatTensors get inputTensors => $_getN(1); - @$pb.TagNumber(3) - set inputTensors(FlatTensors v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasInputTensors() => $_has(1); - @$pb.TagNumber(3) - void clearInputTensors() => clearField(3); - @$pb.TagNumber(3) - FlatTensors ensureInputTensors() => $_ensure(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class InferResponse extends $pb.GeneratedMessage { - factory InferResponse({ - FlatTensors? outputTensors, - }) { - final $result = create(); - if (outputTensors != null) { - $result.outputTensors = outputTensors; - } - return $result; - } - InferResponse._() : super(); - factory InferResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory InferResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InferResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..aOM(3, _omitFieldNames ? '' : 'outputTensors', subBuilder: FlatTensors.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - InferResponse clone() => InferResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - InferResponse copyWith(void Function(InferResponse) updates) => super.copyWith((message) => updates(message as InferResponse)) as InferResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static InferResponse create() => InferResponse._(); - InferResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static InferResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static InferResponse? _defaultInstance; - - /// the output data is provided as a set of named flat tensors - @$pb.TagNumber(3) - FlatTensors get outputTensors => $_getN(0); - @$pb.TagNumber(3) - set outputTensors(FlatTensors v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasOutputTensors() => $_has(0); - @$pb.TagNumber(3) - void clearOutputTensors() => clearField(3); - @$pb.TagNumber(3) - FlatTensors ensureOutputTensors() => $_ensure(0); -} - -class MetadataRequest extends $pb.GeneratedMessage { - factory MetadataRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MetadataRequest._() : super(); - factory MetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MetadataRequest clone() => MetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MetadataRequest copyWith(void Function(MetadataRequest) updates) => super.copyWith((message) => updates(message as MetadataRequest)) as MetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MetadataRequest create() => MetadataRequest._(); - MetadataRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MetadataRequest? _defaultInstance; - - /// name of the model service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class MetadataResponse extends $pb.GeneratedMessage { - factory MetadataResponse({ - Metadata? metadata, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - return $result; - } - MetadataResponse._() : super(); - factory MetadataResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MetadataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetadataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: Metadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MetadataResponse clone() => MetadataResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MetadataResponse copyWith(void Function(MetadataResponse) updates) => super.copyWith((message) => updates(message as MetadataResponse)) as MetadataResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MetadataResponse create() => MetadataResponse._(); - MetadataResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MetadataResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MetadataResponse? _defaultInstance; - - /// this is the metadata associated with the ML model - @$pb.TagNumber(1) - Metadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(Metadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - Metadata ensureMetadata() => $_ensure(0); -} - -class Metadata extends $pb.GeneratedMessage { - factory Metadata({ - $core.String? name, - $core.String? type, - $core.String? description, - $core.Iterable? inputInfo, - $core.Iterable? outputInfo, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (type != null) { - $result.type = type; - } - if (description != null) { - $result.description = description; - } - if (inputInfo != null) { - $result.inputInfo.addAll(inputInfo); - } - if (outputInfo != null) { - $result.outputInfo.addAll(outputInfo); - } - return $result; - } - Metadata._() : super(); - factory Metadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Metadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Metadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'type') - ..aOS(3, _omitFieldNames ? '' : 'description') - ..pc(4, _omitFieldNames ? '' : 'inputInfo', $pb.PbFieldType.PM, subBuilder: TensorInfo.create) - ..pc(5, _omitFieldNames ? '' : 'outputInfo', $pb.PbFieldType.PM, subBuilder: TensorInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Metadata clone() => Metadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Metadata copyWith(void Function(Metadata) updates) => super.copyWith((message) => updates(message as Metadata)) as Metadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Metadata create() => Metadata._(); - Metadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Metadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Metadata? _defaultInstance; - - /// name of the model - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// type of model e.g. object_detector, text_classifier - @$pb.TagNumber(2) - $core.String get type => $_getSZ(1); - @$pb.TagNumber(2) - set type($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasType() => $_has(1); - @$pb.TagNumber(2) - void clearType() => clearField(2); - - /// description of the model - @$pb.TagNumber(3) - $core.String get description => $_getSZ(2); - @$pb.TagNumber(3) - set description($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDescription() => $_has(2); - @$pb.TagNumber(3) - void clearDescription() => clearField(3); - - /// the necessary input arrays/tensors for an inference, order matters - @$pb.TagNumber(4) - $core.List get inputInfo => $_getList(3); - - /// the output arrays/tensors of the model, order matters - @$pb.TagNumber(5) - $core.List get outputInfo => $_getList(4); -} - -class TensorInfo extends $pb.GeneratedMessage { - factory TensorInfo({ - $core.String? name, - $core.String? description, - $core.String? dataType, - $core.Iterable<$core.int>? shape, - $core.Iterable? associatedFiles, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (description != null) { - $result.description = description; - } - if (dataType != null) { - $result.dataType = dataType; - } - if (shape != null) { - $result.shape.addAll(shape); - } - if (associatedFiles != null) { - $result.associatedFiles.addAll(associatedFiles); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - TensorInfo._() : super(); - factory TensorInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory TensorInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TensorInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'description') - ..aOS(3, _omitFieldNames ? '' : 'dataType') - ..p<$core.int>(4, _omitFieldNames ? '' : 'shape', $pb.PbFieldType.K3) - ..pc(5, _omitFieldNames ? '' : 'associatedFiles', $pb.PbFieldType.PM, subBuilder: File.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - TensorInfo clone() => TensorInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - TensorInfo copyWith(void Function(TensorInfo) updates) => super.copyWith((message) => updates(message as TensorInfo)) as TensorInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static TensorInfo create() => TensorInfo._(); - TensorInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static TensorInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static TensorInfo? _defaultInstance; - - /// name of the data in the array/tensor - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// description of the data in the array/tensor - @$pb.TagNumber(2) - $core.String get description => $_getSZ(1); - @$pb.TagNumber(2) - set description($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDescription() => $_has(1); - @$pb.TagNumber(2) - void clearDescription() => clearField(2); - - /// data type of the array/tensor, e.g. float32, float64, uint8 - @$pb.TagNumber(3) - $core.String get dataType => $_getSZ(2); - @$pb.TagNumber(3) - set dataType($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDataType() => $_has(2); - @$pb.TagNumber(3) - void clearDataType() => clearField(3); - - /// shape of the array/tensor (-1 for unknown) - @$pb.TagNumber(4) - $core.List<$core.int> get shape => $_getList(3); - - /// files associated with the array/tensor, like for category labels - @$pb.TagNumber(5) - $core.List get associatedFiles => $_getList(4); - - /// anything else you want to say - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(5); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(5); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(5); -} - -class File extends $pb.GeneratedMessage { - factory File({ - $core.String? name, - $core.String? description, - LabelType? labelType, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (description != null) { - $result.description = description; - } - if (labelType != null) { - $result.labelType = labelType; - } - return $result; - } - File._() : super(); - factory File.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory File.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'File', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'description') - ..e(3, _omitFieldNames ? '' : 'labelType', $pb.PbFieldType.OE, defaultOrMaker: LabelType.LABEL_TYPE_UNSPECIFIED, valueOf: LabelType.valueOf, enumValues: LabelType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - File clone() => File()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - File copyWith(void Function(File) updates) => super.copyWith((message) => updates(message as File)) as File; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static File create() => File._(); - File createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static File getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static File? _defaultInstance; - - /// name of the file, with file extension - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// description of what the file contains - @$pb.TagNumber(2) - $core.String get description => $_getSZ(1); - @$pb.TagNumber(2) - set description($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDescription() => $_has(1); - @$pb.TagNumber(2) - void clearDescription() => clearField(2); - - /// How to associate the arrays/tensors to the labels in the file - @$pb.TagNumber(3) - LabelType get labelType => $_getN(2); - @$pb.TagNumber(3) - set labelType(LabelType v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasLabelType() => $_has(2); - @$pb.TagNumber(3) - void clearLabelType() => clearField(3); -} - -class FlatTensorDataInt8 extends $pb.GeneratedMessage { - factory FlatTensorDataInt8({ - $core.List<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - FlatTensorDataInt8._() : super(); - factory FlatTensorDataInt8.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataInt8.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataInt8', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt8 clone() => FlatTensorDataInt8()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt8 copyWith(void Function(FlatTensorDataInt8) updates) => super.copyWith((message) => updates(message as FlatTensorDataInt8)) as FlatTensorDataInt8; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt8 create() => FlatTensorDataInt8._(); - FlatTensorDataInt8 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt8 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataInt8? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getN(0); - @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); -} - -class FlatTensorDataUInt8 extends $pb.GeneratedMessage { - factory FlatTensorDataUInt8({ - $core.List<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data = data; - } - return $result; - } - FlatTensorDataUInt8._() : super(); - factory FlatTensorDataUInt8.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataUInt8.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataUInt8', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt8 clone() => FlatTensorDataUInt8()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt8 copyWith(void Function(FlatTensorDataUInt8) updates) => super.copyWith((message) => updates(message as FlatTensorDataUInt8)) as FlatTensorDataUInt8; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt8 create() => FlatTensorDataUInt8._(); - FlatTensorDataUInt8 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt8 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataUInt8? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getN(0); - @$pb.TagNumber(1) - set data($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasData() => $_has(0); - @$pb.TagNumber(1) - void clearData() => clearField(1); -} - -class FlatTensorDataInt16 extends $pb.GeneratedMessage { - factory FlatTensorDataInt16({ - $core.Iterable<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataInt16._() : super(); - factory FlatTensorDataInt16.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataInt16.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataInt16', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KF3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt16 clone() => FlatTensorDataInt16()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt16 copyWith(void Function(FlatTensorDataInt16) updates) => super.copyWith((message) => updates(message as FlatTensorDataInt16)) as FlatTensorDataInt16; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt16 create() => FlatTensorDataInt16._(); - FlatTensorDataInt16 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt16 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataInt16? _defaultInstance; - - /// packs two 16-bit numbers per entry - explicitly little-endian - /// so big-endian producers/consumers must compensate - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getList(0); -} - -class FlatTensorDataUInt16 extends $pb.GeneratedMessage { - factory FlatTensorDataUInt16({ - $core.Iterable<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataUInt16._() : super(); - factory FlatTensorDataUInt16.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataUInt16.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataUInt16', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KF3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt16 clone() => FlatTensorDataUInt16()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt16 copyWith(void Function(FlatTensorDataUInt16) updates) => super.copyWith((message) => updates(message as FlatTensorDataUInt16)) as FlatTensorDataUInt16; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt16 create() => FlatTensorDataUInt16._(); - FlatTensorDataUInt16 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt16 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataUInt16? _defaultInstance; - - /// packs two 16-bit numbers per entry - explicitly little-endian - /// so big-endian producers/consumers must compensate - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getList(0); -} - -class FlatTensorDataInt32 extends $pb.GeneratedMessage { - factory FlatTensorDataInt32({ - $core.Iterable<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataInt32._() : super(); - factory FlatTensorDataInt32.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataInt32.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataInt32', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KSF3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt32 clone() => FlatTensorDataInt32()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt32 copyWith(void Function(FlatTensorDataInt32) updates) => super.copyWith((message) => updates(message as FlatTensorDataInt32)) as FlatTensorDataInt32; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt32 create() => FlatTensorDataInt32._(); - FlatTensorDataInt32 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt32 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataInt32? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getList(0); -} - -class FlatTensorDataUInt32 extends $pb.GeneratedMessage { - factory FlatTensorDataUInt32({ - $core.Iterable<$core.int>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataUInt32._() : super(); - factory FlatTensorDataUInt32.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataUInt32.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataUInt32', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KF3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt32 clone() => FlatTensorDataUInt32()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt32 copyWith(void Function(FlatTensorDataUInt32) updates) => super.copyWith((message) => updates(message as FlatTensorDataUInt32)) as FlatTensorDataUInt32; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt32 create() => FlatTensorDataUInt32._(); - FlatTensorDataUInt32 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt32 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataUInt32? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get data => $_getList(0); -} - -class FlatTensorDataInt64 extends $pb.GeneratedMessage { - factory FlatTensorDataInt64({ - $core.Iterable<$fixnum.Int64>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataInt64._() : super(); - factory FlatTensorDataInt64.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataInt64.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataInt64', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$fixnum.Int64>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KSF6) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt64 clone() => FlatTensorDataInt64()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataInt64 copyWith(void Function(FlatTensorDataInt64) updates) => super.copyWith((message) => updates(message as FlatTensorDataInt64)) as FlatTensorDataInt64; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt64 create() => FlatTensorDataInt64._(); - FlatTensorDataInt64 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataInt64 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataInt64? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$fixnum.Int64> get data => $_getList(0); -} - -class FlatTensorDataUInt64 extends $pb.GeneratedMessage { - factory FlatTensorDataUInt64({ - $core.Iterable<$fixnum.Int64>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataUInt64._() : super(); - factory FlatTensorDataUInt64.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataUInt64.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataUInt64', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$fixnum.Int64>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KF6) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt64 clone() => FlatTensorDataUInt64()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataUInt64 copyWith(void Function(FlatTensorDataUInt64) updates) => super.copyWith((message) => updates(message as FlatTensorDataUInt64)) as FlatTensorDataUInt64; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt64 create() => FlatTensorDataUInt64._(); - FlatTensorDataUInt64 createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataUInt64 getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataUInt64? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$fixnum.Int64> get data => $_getList(0); -} - -class FlatTensorDataFloat extends $pb.GeneratedMessage { - factory FlatTensorDataFloat({ - $core.Iterable<$core.double>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataFloat._() : super(); - factory FlatTensorDataFloat.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataFloat.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataFloat', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataFloat clone() => FlatTensorDataFloat()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataFloat copyWith(void Function(FlatTensorDataFloat) updates) => super.copyWith((message) => updates(message as FlatTensorDataFloat)) as FlatTensorDataFloat; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataFloat create() => FlatTensorDataFloat._(); - FlatTensorDataFloat createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataFloat getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataFloat? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.double> get data => $_getList(0); -} - -class FlatTensorDataDouble extends $pb.GeneratedMessage { - factory FlatTensorDataDouble({ - $core.Iterable<$core.double>? data, - }) { - final $result = create(); - if (data != null) { - $result.data.addAll(data); - } - return $result; - } - FlatTensorDataDouble._() : super(); - factory FlatTensorDataDouble.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensorDataDouble.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensorDataDouble', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.KD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensorDataDouble clone() => FlatTensorDataDouble()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensorDataDouble copyWith(void Function(FlatTensorDataDouble) updates) => super.copyWith((message) => updates(message as FlatTensorDataDouble)) as FlatTensorDataDouble; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensorDataDouble create() => FlatTensorDataDouble._(); - FlatTensorDataDouble createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensorDataDouble getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensorDataDouble? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.double> get data => $_getList(0); -} - -enum FlatTensor_Tensor { - int8Tensor, - uint8Tensor, - int16Tensor, - uint16Tensor, - int32Tensor, - uint32Tensor, - int64Tensor, - uint64Tensor, - floatTensor, - doubleTensor, - notSet -} - -class FlatTensor extends $pb.GeneratedMessage { - factory FlatTensor({ - $core.Iterable<$fixnum.Int64>? shape, - FlatTensorDataInt8? int8Tensor, - FlatTensorDataUInt8? uint8Tensor, - FlatTensorDataInt16? int16Tensor, - FlatTensorDataUInt16? uint16Tensor, - FlatTensorDataInt32? int32Tensor, - FlatTensorDataUInt32? uint32Tensor, - FlatTensorDataInt64? int64Tensor, - FlatTensorDataUInt64? uint64Tensor, - FlatTensorDataFloat? floatTensor, - FlatTensorDataDouble? doubleTensor, - }) { - final $result = create(); - if (shape != null) { - $result.shape.addAll(shape); - } - if (int8Tensor != null) { - $result.int8Tensor = int8Tensor; - } - if (uint8Tensor != null) { - $result.uint8Tensor = uint8Tensor; - } - if (int16Tensor != null) { - $result.int16Tensor = int16Tensor; - } - if (uint16Tensor != null) { - $result.uint16Tensor = uint16Tensor; - } - if (int32Tensor != null) { - $result.int32Tensor = int32Tensor; - } - if (uint32Tensor != null) { - $result.uint32Tensor = uint32Tensor; - } - if (int64Tensor != null) { - $result.int64Tensor = int64Tensor; - } - if (uint64Tensor != null) { - $result.uint64Tensor = uint64Tensor; - } - if (floatTensor != null) { - $result.floatTensor = floatTensor; - } - if (doubleTensor != null) { - $result.doubleTensor = doubleTensor; - } - return $result; - } - FlatTensor._() : super(); - factory FlatTensor.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensor.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, FlatTensor_Tensor> _FlatTensor_TensorByTag = { - 2 : FlatTensor_Tensor.int8Tensor, - 3 : FlatTensor_Tensor.uint8Tensor, - 4 : FlatTensor_Tensor.int16Tensor, - 5 : FlatTensor_Tensor.uint16Tensor, - 6 : FlatTensor_Tensor.int32Tensor, - 7 : FlatTensor_Tensor.uint32Tensor, - 8 : FlatTensor_Tensor.int64Tensor, - 9 : FlatTensor_Tensor.uint64Tensor, - 10 : FlatTensor_Tensor.floatTensor, - 11 : FlatTensor_Tensor.doubleTensor, - 0 : FlatTensor_Tensor.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensor', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..oo(0, [2, 3, 4, 5, 6, 7, 8, 9, 10, 11]) - ..p<$fixnum.Int64>(1, _omitFieldNames ? '' : 'shape', $pb.PbFieldType.KF6) - ..aOM(2, _omitFieldNames ? '' : 'int8Tensor', subBuilder: FlatTensorDataInt8.create) - ..aOM(3, _omitFieldNames ? '' : 'uint8Tensor', subBuilder: FlatTensorDataUInt8.create) - ..aOM(4, _omitFieldNames ? '' : 'int16Tensor', subBuilder: FlatTensorDataInt16.create) - ..aOM(5, _omitFieldNames ? '' : 'uint16Tensor', subBuilder: FlatTensorDataUInt16.create) - ..aOM(6, _omitFieldNames ? '' : 'int32Tensor', subBuilder: FlatTensorDataInt32.create) - ..aOM(7, _omitFieldNames ? '' : 'uint32Tensor', subBuilder: FlatTensorDataUInt32.create) - ..aOM(8, _omitFieldNames ? '' : 'int64Tensor', subBuilder: FlatTensorDataInt64.create) - ..aOM(9, _omitFieldNames ? '' : 'uint64Tensor', subBuilder: FlatTensorDataUInt64.create) - ..aOM(10, _omitFieldNames ? '' : 'floatTensor', subBuilder: FlatTensorDataFloat.create) - ..aOM(11, _omitFieldNames ? '' : 'doubleTensor', subBuilder: FlatTensorDataDouble.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensor clone() => FlatTensor()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensor copyWith(void Function(FlatTensor) updates) => super.copyWith((message) => updates(message as FlatTensor)) as FlatTensor; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensor create() => FlatTensor._(); - FlatTensor createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensor getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensor? _defaultInstance; - - FlatTensor_Tensor whichTensor() => _FlatTensor_TensorByTag[$_whichOneof(0)]!; - void clearTensor() => clearField($_whichOneof(0)); - - /// the shape of the provided tensor as a list of integer extents - @$pb.TagNumber(1) - $core.List<$fixnum.Int64> get shape => $_getList(0); - - @$pb.TagNumber(2) - FlatTensorDataInt8 get int8Tensor => $_getN(1); - @$pb.TagNumber(2) - set int8Tensor(FlatTensorDataInt8 v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasInt8Tensor() => $_has(1); - @$pb.TagNumber(2) - void clearInt8Tensor() => clearField(2); - @$pb.TagNumber(2) - FlatTensorDataInt8 ensureInt8Tensor() => $_ensure(1); - - @$pb.TagNumber(3) - FlatTensorDataUInt8 get uint8Tensor => $_getN(2); - @$pb.TagNumber(3) - set uint8Tensor(FlatTensorDataUInt8 v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasUint8Tensor() => $_has(2); - @$pb.TagNumber(3) - void clearUint8Tensor() => clearField(3); - @$pb.TagNumber(3) - FlatTensorDataUInt8 ensureUint8Tensor() => $_ensure(2); - - @$pb.TagNumber(4) - FlatTensorDataInt16 get int16Tensor => $_getN(3); - @$pb.TagNumber(4) - set int16Tensor(FlatTensorDataInt16 v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasInt16Tensor() => $_has(3); - @$pb.TagNumber(4) - void clearInt16Tensor() => clearField(4); - @$pb.TagNumber(4) - FlatTensorDataInt16 ensureInt16Tensor() => $_ensure(3); - - @$pb.TagNumber(5) - FlatTensorDataUInt16 get uint16Tensor => $_getN(4); - @$pb.TagNumber(5) - set uint16Tensor(FlatTensorDataUInt16 v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasUint16Tensor() => $_has(4); - @$pb.TagNumber(5) - void clearUint16Tensor() => clearField(5); - @$pb.TagNumber(5) - FlatTensorDataUInt16 ensureUint16Tensor() => $_ensure(4); - - @$pb.TagNumber(6) - FlatTensorDataInt32 get int32Tensor => $_getN(5); - @$pb.TagNumber(6) - set int32Tensor(FlatTensorDataInt32 v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasInt32Tensor() => $_has(5); - @$pb.TagNumber(6) - void clearInt32Tensor() => clearField(6); - @$pb.TagNumber(6) - FlatTensorDataInt32 ensureInt32Tensor() => $_ensure(5); - - @$pb.TagNumber(7) - FlatTensorDataUInt32 get uint32Tensor => $_getN(6); - @$pb.TagNumber(7) - set uint32Tensor(FlatTensorDataUInt32 v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasUint32Tensor() => $_has(6); - @$pb.TagNumber(7) - void clearUint32Tensor() => clearField(7); - @$pb.TagNumber(7) - FlatTensorDataUInt32 ensureUint32Tensor() => $_ensure(6); - - @$pb.TagNumber(8) - FlatTensorDataInt64 get int64Tensor => $_getN(7); - @$pb.TagNumber(8) - set int64Tensor(FlatTensorDataInt64 v) { setField(8, v); } - @$pb.TagNumber(8) - $core.bool hasInt64Tensor() => $_has(7); - @$pb.TagNumber(8) - void clearInt64Tensor() => clearField(8); - @$pb.TagNumber(8) - FlatTensorDataInt64 ensureInt64Tensor() => $_ensure(7); - - @$pb.TagNumber(9) - FlatTensorDataUInt64 get uint64Tensor => $_getN(8); - @$pb.TagNumber(9) - set uint64Tensor(FlatTensorDataUInt64 v) { setField(9, v); } - @$pb.TagNumber(9) - $core.bool hasUint64Tensor() => $_has(8); - @$pb.TagNumber(9) - void clearUint64Tensor() => clearField(9); - @$pb.TagNumber(9) - FlatTensorDataUInt64 ensureUint64Tensor() => $_ensure(8); - - @$pb.TagNumber(10) - FlatTensorDataFloat get floatTensor => $_getN(9); - @$pb.TagNumber(10) - set floatTensor(FlatTensorDataFloat v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasFloatTensor() => $_has(9); - @$pb.TagNumber(10) - void clearFloatTensor() => clearField(10); - @$pb.TagNumber(10) - FlatTensorDataFloat ensureFloatTensor() => $_ensure(9); - - @$pb.TagNumber(11) - FlatTensorDataDouble get doubleTensor => $_getN(10); - @$pb.TagNumber(11) - set doubleTensor(FlatTensorDataDouble v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasDoubleTensor() => $_has(10); - @$pb.TagNumber(11) - void clearDoubleTensor() => clearField(11); - @$pb.TagNumber(11) - FlatTensorDataDouble ensureDoubleTensor() => $_ensure(10); -} - -class FlatTensors extends $pb.GeneratedMessage { - factory FlatTensors({ - $core.Map<$core.String, FlatTensor>? tensors, - }) { - final $result = create(); - if (tensors != null) { - $result.tensors.addAll(tensors); - } - return $result; - } - FlatTensors._() : super(); - factory FlatTensors.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FlatTensors.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FlatTensors', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) - ..m<$core.String, FlatTensor>(1, _omitFieldNames ? '' : 'tensors', entryClassName: 'FlatTensors.TensorsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: FlatTensor.create, valueDefaultOrMaker: FlatTensor.getDefault, packageName: const $pb.PackageName('viam.service.mlmodel.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FlatTensors clone() => FlatTensors()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FlatTensors copyWith(void Function(FlatTensors) updates) => super.copyWith((message) => updates(message as FlatTensors)) as FlatTensors; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FlatTensors create() => FlatTensors._(); - FlatTensors createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FlatTensors getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FlatTensors? _defaultInstance; - - /// A name-indexed collection of flat tensor objects - @$pb.TagNumber(1) - $core.Map<$core.String, FlatTensor> get tensors => $_getMap(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/mlmodel/v1/mlmodel.pbenum.dart b/lib/src/gen/service/mlmodel/v1/mlmodel.pbenum.dart deleted file mode 100644 index d5c484b2a31..00000000000 --- a/lib/src/gen/service/mlmodel/v1/mlmodel.pbenum.dart +++ /dev/null @@ -1,34 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/mlmodel/v1/mlmodel.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class LabelType extends $pb.ProtobufEnum { - static const LabelType LABEL_TYPE_UNSPECIFIED = LabelType._(0, _omitEnumNames ? '' : 'LABEL_TYPE_UNSPECIFIED'); - static const LabelType LABEL_TYPE_TENSOR_VALUE = LabelType._(1, _omitEnumNames ? '' : 'LABEL_TYPE_TENSOR_VALUE'); - static const LabelType LABEL_TYPE_TENSOR_AXIS = LabelType._(2, _omitEnumNames ? '' : 'LABEL_TYPE_TENSOR_AXIS'); - - static const $core.List values = [ - LABEL_TYPE_UNSPECIFIED, - LABEL_TYPE_TENSOR_VALUE, - LABEL_TYPE_TENSOR_AXIS, - ]; - - static final $core.Map<$core.int, LabelType> _byValue = $pb.ProtobufEnum.initByValue(values); - static LabelType? valueOf($core.int value) => _byValue[value]; - - const LabelType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/service/mlmodel/v1/mlmodel.pbgrpc.dart b/lib/src/gen/service/mlmodel/v1/mlmodel.pbgrpc.dart deleted file mode 100644 index b5ee9dda58c..00000000000 --- a/lib/src/gen/service/mlmodel/v1/mlmodel.pbgrpc.dart +++ /dev/null @@ -1,79 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/mlmodel/v1/mlmodel.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'mlmodel.pb.dart' as $6; - -export 'mlmodel.pb.dart'; - -@$pb.GrpcServiceName('viam.service.mlmodel.v1.MLModelService') -class MLModelServiceClient extends $grpc.Client { - static final _$infer = $grpc.ClientMethod<$6.InferRequest, $6.InferResponse>( - '/viam.service.mlmodel.v1.MLModelService/Infer', - ($6.InferRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.InferResponse.fromBuffer(value)); - static final _$metadata = $grpc.ClientMethod<$6.MetadataRequest, $6.MetadataResponse>( - '/viam.service.mlmodel.v1.MLModelService/Metadata', - ($6.MetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.MetadataResponse.fromBuffer(value)); - - MLModelServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$6.InferResponse> infer($6.InferRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$infer, request, options: options); - } - - $grpc.ResponseFuture<$6.MetadataResponse> metadata($6.MetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$metadata, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.mlmodel.v1.MLModelService') -abstract class MLModelServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.mlmodel.v1.MLModelService'; - - MLModelServiceBase() { - $addMethod($grpc.ServiceMethod<$6.InferRequest, $6.InferResponse>( - 'Infer', - infer_Pre, - false, - false, - ($core.List<$core.int> value) => $6.InferRequest.fromBuffer(value), - ($6.InferResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.MetadataRequest, $6.MetadataResponse>( - 'Metadata', - metadata_Pre, - false, - false, - ($core.List<$core.int> value) => $6.MetadataRequest.fromBuffer(value), - ($6.MetadataResponse value) => value.writeToBuffer())); - } - - $async.Future<$6.InferResponse> infer_Pre($grpc.ServiceCall call, $async.Future<$6.InferRequest> request) async { - return infer(call, await request); - } - - $async.Future<$6.MetadataResponse> metadata_Pre($grpc.ServiceCall call, $async.Future<$6.MetadataRequest> request) async { - return metadata(call, await request); - } - - $async.Future<$6.InferResponse> infer($grpc.ServiceCall call, $6.InferRequest request); - $async.Future<$6.MetadataResponse> metadata($grpc.ServiceCall call, $6.MetadataRequest request); -} diff --git a/lib/src/gen/service/mlmodel/v1/mlmodel.pbjson.dart b/lib/src/gen/service/mlmodel/v1/mlmodel.pbjson.dart deleted file mode 100644 index 6f1d1ee9767..00000000000 --- a/lib/src/gen/service/mlmodel/v1/mlmodel.pbjson.dart +++ /dev/null @@ -1,395 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/mlmodel/v1/mlmodel.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use labelTypeDescriptor instead') -const LabelType$json = { - '1': 'LabelType', - '2': [ - {'1': 'LABEL_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'LABEL_TYPE_TENSOR_VALUE', '2': 1}, - {'1': 'LABEL_TYPE_TENSOR_AXIS', '2': 2}, - ], -}; - -/// Descriptor for `LabelType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List labelTypeDescriptor = $convert.base64Decode( - 'CglMYWJlbFR5cGUSGgoWTEFCRUxfVFlQRV9VTlNQRUNJRklFRBAAEhsKF0xBQkVMX1RZUEVfVE' - 'VOU09SX1ZBTFVFEAESGgoWTEFCRUxfVFlQRV9URU5TT1JfQVhJUxAC'); - -@$core.Deprecated('Use inferRequestDescriptor instead') -const InferRequest$json = { - '1': 'InferRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'input_tensors', '3': 3, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensors', '10': 'inputTensors'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '9': [ - {'1': 2, '2': 3}, - ], - '10': ['input_data'], -}; - -/// Descriptor for `InferRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List inferRequestDescriptor = $convert.base64Decode( - 'CgxJbmZlclJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRJJCg1pbnB1dF90ZW5zb3JzGAMgAS' - 'gLMiQudmlhbS5zZXJ2aWNlLm1sbW9kZWwudjEuRmxhdFRlbnNvcnNSDGlucHV0VGVuc29ycxIt' - 'CgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJhSgQIAhADUgppbn' - 'B1dF9kYXRh'); - -@$core.Deprecated('Use inferResponseDescriptor instead') -const InferResponse$json = { - '1': 'InferResponse', - '2': [ - {'1': 'output_tensors', '3': 3, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensors', '10': 'outputTensors'}, - ], - '9': [ - {'1': 1, '2': 2}, - {'1': 2, '2': 3}, - ], - '10': ['name', 'output_data'], -}; - -/// Descriptor for `InferResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List inferResponseDescriptor = $convert.base64Decode( - 'Cg1JbmZlclJlc3BvbnNlEksKDm91dHB1dF90ZW5zb3JzGAMgASgLMiQudmlhbS5zZXJ2aWNlLm' - '1sbW9kZWwudjEuRmxhdFRlbnNvcnNSDW91dHB1dFRlbnNvcnNKBAgBEAJKBAgCEANSBG5hbWVS' - 'C291dHB1dF9kYXRh'); - -@$core.Deprecated('Use metadataRequestDescriptor instead') -const MetadataRequest$json = { - '1': 'MetadataRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `MetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metadataRequestDescriptor = $convert.base64Decode( - 'Cg9NZXRhZGF0YVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCzIXLm' - 'dvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use metadataResponseDescriptor instead') -const MetadataResponse$json = { - '1': 'MetadataResponse', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.Metadata', '10': 'metadata'}, - ], -}; - -/// Descriptor for `MetadataResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metadataResponseDescriptor = $convert.base64Decode( - 'ChBNZXRhZGF0YVJlc3BvbnNlEj0KCG1ldGFkYXRhGAEgASgLMiEudmlhbS5zZXJ2aWNlLm1sbW' - '9kZWwudjEuTWV0YWRhdGFSCG1ldGFkYXRh'); - -@$core.Deprecated('Use metadataDescriptor instead') -const Metadata$json = { - '1': 'Metadata', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 2, '4': 1, '5': 9, '10': 'type'}, - {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'input_info', '3': 4, '4': 3, '5': 11, '6': '.viam.service.mlmodel.v1.TensorInfo', '10': 'inputInfo'}, - {'1': 'output_info', '3': 5, '4': 3, '5': 11, '6': '.viam.service.mlmodel.v1.TensorInfo', '10': 'outputInfo'}, - ], -}; - -/// Descriptor for `Metadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metadataDescriptor = $convert.base64Decode( - 'CghNZXRhZGF0YRISCgRuYW1lGAEgASgJUgRuYW1lEhIKBHR5cGUYAiABKAlSBHR5cGUSIAoLZG' - 'VzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEkIKCmlucHV0X2luZm8YBCADKAsyIy52aWFt' - 'LnNlcnZpY2UubWxtb2RlbC52MS5UZW5zb3JJbmZvUglpbnB1dEluZm8SRAoLb3V0cHV0X2luZm' - '8YBSADKAsyIy52aWFtLnNlcnZpY2UubWxtb2RlbC52MS5UZW5zb3JJbmZvUgpvdXRwdXRJbmZv'); - -@$core.Deprecated('Use tensorInfoDescriptor instead') -const TensorInfo$json = { - '1': 'TensorInfo', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'}, - {'1': 'data_type', '3': 3, '4': 1, '5': 9, '10': 'dataType'}, - {'1': 'shape', '3': 4, '4': 3, '5': 5, '10': 'shape'}, - {'1': 'associated_files', '3': 5, '4': 3, '5': 11, '6': '.viam.service.mlmodel.v1.File', '10': 'associatedFiles'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `TensorInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List tensorInfoDescriptor = $convert.base64Decode( - 'CgpUZW5zb3JJbmZvEhIKBG5hbWUYASABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAiABKAlSC2' - 'Rlc2NyaXB0aW9uEhsKCWRhdGFfdHlwZRgDIAEoCVIIZGF0YVR5cGUSFAoFc2hhcGUYBCADKAVS' - 'BXNoYXBlEkgKEGFzc29jaWF0ZWRfZmlsZXMYBSADKAsyHS52aWFtLnNlcnZpY2UubWxtb2RlbC' - '52MS5GaWxlUg9hc3NvY2lhdGVkRmlsZXMSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9i' - 'dWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use fileDescriptor instead') -const File$json = { - '1': 'File', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'}, - {'1': 'label_type', '3': 3, '4': 1, '5': 14, '6': '.viam.service.mlmodel.v1.LabelType', '10': 'labelType'}, - ], -}; - -/// Descriptor for `File`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileDescriptor = $convert.base64Decode( - 'CgRGaWxlEhIKBG5hbWUYASABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb24YAiABKAlSC2Rlc2NyaX' - 'B0aW9uEkEKCmxhYmVsX3R5cGUYAyABKA4yIi52aWFtLnNlcnZpY2UubWxtb2RlbC52MS5MYWJl' - 'bFR5cGVSCWxhYmVsVHlwZQ=='); - -@$core.Deprecated('Use flatTensorDataInt8Descriptor instead') -const FlatTensorDataInt8$json = { - '1': 'FlatTensorDataInt8', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 12, '10': 'data'}, - ], -}; - -/// Descriptor for `FlatTensorDataInt8`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataInt8Descriptor = $convert.base64Decode( - 'ChJGbGF0VGVuc29yRGF0YUludDgSEgoEZGF0YRgBIAEoDFIEZGF0YQ=='); - -@$core.Deprecated('Use flatTensorDataUInt8Descriptor instead') -const FlatTensorDataUInt8$json = { - '1': 'FlatTensorDataUInt8', - '2': [ - {'1': 'data', '3': 1, '4': 1, '5': 12, '10': 'data'}, - ], -}; - -/// Descriptor for `FlatTensorDataUInt8`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataUInt8Descriptor = $convert.base64Decode( - 'ChNGbGF0VGVuc29yRGF0YVVJbnQ4EhIKBGRhdGEYASABKAxSBGRhdGE='); - -@$core.Deprecated('Use flatTensorDataInt16Descriptor instead') -const FlatTensorDataInt16$json = { - '1': 'FlatTensorDataInt16', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 7, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataInt16`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataInt16Descriptor = $convert.base64Decode( - 'ChNGbGF0VGVuc29yRGF0YUludDE2EhYKBGRhdGEYASADKAdCAhABUgRkYXRh'); - -@$core.Deprecated('Use flatTensorDataUInt16Descriptor instead') -const FlatTensorDataUInt16$json = { - '1': 'FlatTensorDataUInt16', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 7, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataUInt16`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataUInt16Descriptor = $convert.base64Decode( - 'ChRGbGF0VGVuc29yRGF0YVVJbnQxNhIWCgRkYXRhGAEgAygHQgIQAVIEZGF0YQ=='); - -@$core.Deprecated('Use flatTensorDataInt32Descriptor instead') -const FlatTensorDataInt32$json = { - '1': 'FlatTensorDataInt32', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 15, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataInt32`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataInt32Descriptor = $convert.base64Decode( - 'ChNGbGF0VGVuc29yRGF0YUludDMyEhYKBGRhdGEYASADKA9CAhABUgRkYXRh'); - -@$core.Deprecated('Use flatTensorDataUInt32Descriptor instead') -const FlatTensorDataUInt32$json = { - '1': 'FlatTensorDataUInt32', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 7, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataUInt32`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataUInt32Descriptor = $convert.base64Decode( - 'ChRGbGF0VGVuc29yRGF0YVVJbnQzMhIWCgRkYXRhGAEgAygHQgIQAVIEZGF0YQ=='); - -@$core.Deprecated('Use flatTensorDataInt64Descriptor instead') -const FlatTensorDataInt64$json = { - '1': 'FlatTensorDataInt64', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 16, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataInt64`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataInt64Descriptor = $convert.base64Decode( - 'ChNGbGF0VGVuc29yRGF0YUludDY0EhYKBGRhdGEYASADKBBCAhABUgRkYXRh'); - -@$core.Deprecated('Use flatTensorDataUInt64Descriptor instead') -const FlatTensorDataUInt64$json = { - '1': 'FlatTensorDataUInt64', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 6, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataUInt64`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataUInt64Descriptor = $convert.base64Decode( - 'ChRGbGF0VGVuc29yRGF0YVVJbnQ2NBIWCgRkYXRhGAEgAygGQgIQAVIEZGF0YQ=='); - -@$core.Deprecated('Use flatTensorDataFloatDescriptor instead') -const FlatTensorDataFloat$json = { - '1': 'FlatTensorDataFloat', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 2, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataFloat`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataFloatDescriptor = $convert.base64Decode( - 'ChNGbGF0VGVuc29yRGF0YUZsb2F0EhYKBGRhdGEYASADKAJCAhABUgRkYXRh'); - -@$core.Deprecated('Use flatTensorDataDoubleDescriptor instead') -const FlatTensorDataDouble$json = { - '1': 'FlatTensorDataDouble', - '2': [ - { - '1': 'data', - '3': 1, - '4': 3, - '5': 1, - '8': {'2': true}, - '10': 'data', - }, - ], -}; - -/// Descriptor for `FlatTensorDataDouble`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDataDoubleDescriptor = $convert.base64Decode( - 'ChRGbGF0VGVuc29yRGF0YURvdWJsZRIWCgRkYXRhGAEgAygBQgIQAVIEZGF0YQ=='); - -@$core.Deprecated('Use flatTensorDescriptor instead') -const FlatTensor$json = { - '1': 'FlatTensor', - '2': [ - {'1': 'shape', '3': 1, '4': 3, '5': 6, '10': 'shape'}, - {'1': 'int8_tensor', '3': 2, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataInt8', '9': 0, '10': 'int8Tensor'}, - {'1': 'uint8_tensor', '3': 3, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataUInt8', '9': 0, '10': 'uint8Tensor'}, - {'1': 'int16_tensor', '3': 4, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataInt16', '9': 0, '10': 'int16Tensor'}, - {'1': 'uint16_tensor', '3': 5, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataUInt16', '9': 0, '10': 'uint16Tensor'}, - {'1': 'int32_tensor', '3': 6, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataInt32', '9': 0, '10': 'int32Tensor'}, - {'1': 'uint32_tensor', '3': 7, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataUInt32', '9': 0, '10': 'uint32Tensor'}, - {'1': 'int64_tensor', '3': 8, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataInt64', '9': 0, '10': 'int64Tensor'}, - {'1': 'uint64_tensor', '3': 9, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataUInt64', '9': 0, '10': 'uint64Tensor'}, - {'1': 'float_tensor', '3': 10, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataFloat', '9': 0, '10': 'floatTensor'}, - {'1': 'double_tensor', '3': 11, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensorDataDouble', '9': 0, '10': 'doubleTensor'}, - ], - '8': [ - {'1': 'tensor'}, - ], -}; - -/// Descriptor for `FlatTensor`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorDescriptor = $convert.base64Decode( - 'CgpGbGF0VGVuc29yEhQKBXNoYXBlGAEgAygGUgVzaGFwZRJOCgtpbnQ4X3RlbnNvchgCIAEoCz' - 'IrLnZpYW0uc2VydmljZS5tbG1vZGVsLnYxLkZsYXRUZW5zb3JEYXRhSW50OEgAUgppbnQ4VGVu' - 'c29yElEKDHVpbnQ4X3RlbnNvchgDIAEoCzIsLnZpYW0uc2VydmljZS5tbG1vZGVsLnYxLkZsYX' - 'RUZW5zb3JEYXRhVUludDhIAFILdWludDhUZW5zb3ISUQoMaW50MTZfdGVuc29yGAQgASgLMiwu' - 'dmlhbS5zZXJ2aWNlLm1sbW9kZWwudjEuRmxhdFRlbnNvckRhdGFJbnQxNkgAUgtpbnQxNlRlbn' - 'NvchJUCg11aW50MTZfdGVuc29yGAUgASgLMi0udmlhbS5zZXJ2aWNlLm1sbW9kZWwudjEuRmxh' - 'dFRlbnNvckRhdGFVSW50MTZIAFIMdWludDE2VGVuc29yElEKDGludDMyX3RlbnNvchgGIAEoCz' - 'IsLnZpYW0uc2VydmljZS5tbG1vZGVsLnYxLkZsYXRUZW5zb3JEYXRhSW50MzJIAFILaW50MzJU' - 'ZW5zb3ISVAoNdWludDMyX3RlbnNvchgHIAEoCzItLnZpYW0uc2VydmljZS5tbG1vZGVsLnYxLk' - 'ZsYXRUZW5zb3JEYXRhVUludDMySABSDHVpbnQzMlRlbnNvchJRCgxpbnQ2NF90ZW5zb3IYCCAB' - 'KAsyLC52aWFtLnNlcnZpY2UubWxtb2RlbC52MS5GbGF0VGVuc29yRGF0YUludDY0SABSC2ludD' - 'Y0VGVuc29yElQKDXVpbnQ2NF90ZW5zb3IYCSABKAsyLS52aWFtLnNlcnZpY2UubWxtb2RlbC52' - 'MS5GbGF0VGVuc29yRGF0YVVJbnQ2NEgAUgx1aW50NjRUZW5zb3ISUQoMZmxvYXRfdGVuc29yGA' - 'ogASgLMiwudmlhbS5zZXJ2aWNlLm1sbW9kZWwudjEuRmxhdFRlbnNvckRhdGFGbG9hdEgAUgtm' - 'bG9hdFRlbnNvchJUCg1kb3VibGVfdGVuc29yGAsgASgLMi0udmlhbS5zZXJ2aWNlLm1sbW9kZW' - 'wudjEuRmxhdFRlbnNvckRhdGFEb3VibGVIAFIMZG91YmxlVGVuc29yQggKBnRlbnNvcg=='); - -@$core.Deprecated('Use flatTensorsDescriptor instead') -const FlatTensors$json = { - '1': 'FlatTensors', - '2': [ - {'1': 'tensors', '3': 1, '4': 3, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensors.TensorsEntry', '10': 'tensors'}, - ], - '3': [FlatTensors_TensorsEntry$json], -}; - -@$core.Deprecated('Use flatTensorsDescriptor instead') -const FlatTensors_TensorsEntry$json = { - '1': 'TensorsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.viam.service.mlmodel.v1.FlatTensor', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `FlatTensors`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List flatTensorsDescriptor = $convert.base64Decode( - 'CgtGbGF0VGVuc29ycxJLCgd0ZW5zb3JzGAEgAygLMjEudmlhbS5zZXJ2aWNlLm1sbW9kZWwudj' - 'EuRmxhdFRlbnNvcnMuVGVuc29yc0VudHJ5Ugd0ZW5zb3JzGl8KDFRlbnNvcnNFbnRyeRIQCgNr' - 'ZXkYASABKAlSA2tleRI5CgV2YWx1ZRgCIAEoCzIjLnZpYW0uc2VydmljZS5tbG1vZGVsLnYxLk' - 'ZsYXRUZW5zb3JSBXZhbHVlOgI4AQ=='); - diff --git a/lib/src/gen/service/motion/v1/motion.pb.dart b/lib/src/gen/service/motion/v1/motion.pb.dart deleted file mode 100644 index 1221c04d8b3..00000000000 --- a/lib/src/gen/service/motion/v1/motion.pb.dart +++ /dev/null @@ -1,2181 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/motion/v1/motion.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import 'motion.pbenum.dart'; - -export 'motion.pbenum.dart'; - -/// Moves any component on the robot to a specified destination which can be from the reference frame of any other component on the robot. -class MoveRequest extends $pb.GeneratedMessage { - factory MoveRequest({ - $core.String? name, - $15.PoseInFrame? destination, - $15.ResourceName? componentName, - $15.WorldState? worldState, - Constraints? constraints, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (destination != null) { - $result.destination = destination; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (worldState != null) { - $result.worldState = worldState; - } - if (constraints != null) { - $result.constraints = constraints; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveRequest._() : super(); - factory MoveRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.PoseInFrame>(2, _omitFieldNames ? '' : 'destination', subBuilder: $15.PoseInFrame.create) - ..aOM<$15.ResourceName>(3, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOM<$15.WorldState>(4, _omitFieldNames ? '' : 'worldState', subBuilder: $15.WorldState.create) - ..aOM(5, _omitFieldNames ? '' : 'constraints', subBuilder: Constraints.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveRequest clone() => MoveRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveRequest copyWith(void Function(MoveRequest) updates) => super.copyWith((message) => updates(message as MoveRequest)) as MoveRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveRequest create() => MoveRequest._(); - MoveRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveRequest? _defaultInstance; - - /// Name of the motion service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system - @$pb.TagNumber(2) - $15.PoseInFrame get destination => $_getN(1); - @$pb.TagNumber(2) - set destination($15.PoseInFrame v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasDestination() => $_has(1); - @$pb.TagNumber(2) - void clearDestination() => clearField(2); - @$pb.TagNumber(2) - $15.PoseInFrame ensureDestination() => $_ensure(1); - - /// Component on the robot to move to the specified destination - @$pb.TagNumber(3) - $15.ResourceName get componentName => $_getN(2); - @$pb.TagNumber(3) - set componentName($15.ResourceName v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasComponentName() => $_has(2); - @$pb.TagNumber(3) - void clearComponentName() => clearField(3); - @$pb.TagNumber(3) - $15.ResourceName ensureComponentName() => $_ensure(2); - - /// Avoid obstacles by specifying their geometries in the world state - /// Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move - @$pb.TagNumber(4) - $15.WorldState get worldState => $_getN(3); - @$pb.TagNumber(4) - set worldState($15.WorldState v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasWorldState() => $_has(3); - @$pb.TagNumber(4) - void clearWorldState() => clearField(4); - @$pb.TagNumber(4) - $15.WorldState ensureWorldState() => $_ensure(3); - - /// Constrain the way the robot will move - @$pb.TagNumber(5) - Constraints get constraints => $_getN(4); - @$pb.TagNumber(5) - set constraints(Constraints v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasConstraints() => $_has(4); - @$pb.TagNumber(5) - void clearConstraints() => clearField(5); - @$pb.TagNumber(5) - Constraints ensureConstraints() => $_ensure(4); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(5); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(5); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(5); -} - -class MoveResponse extends $pb.GeneratedMessage { - factory MoveResponse({ - $core.bool? success, - }) { - final $result = create(); - if (success != null) { - $result.success = success; - } - return $result; - } - MoveResponse._() : super(); - factory MoveResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'success') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveResponse clone() => MoveResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveResponse copyWith(void Function(MoveResponse) updates) => super.copyWith((message) => updates(message as MoveResponse)) as MoveResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveResponse create() => MoveResponse._(); - MoveResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get success => $_getBF(0); - @$pb.TagNumber(1) - set success($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasSuccess() => $_has(0); - @$pb.TagNumber(1) - void clearSuccess() => clearField(1); -} - -class MoveOnMapRequest extends $pb.GeneratedMessage { - factory MoveOnMapRequest({ - $core.String? name, - $15.Pose? destination, - $15.ResourceName? componentName, - $15.ResourceName? slamServiceName, - MotionConfiguration? motionConfiguration, - $core.Iterable<$15.Geometry>? obstacles, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (destination != null) { - $result.destination = destination; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (slamServiceName != null) { - $result.slamServiceName = slamServiceName; - } - if (motionConfiguration != null) { - $result.motionConfiguration = motionConfiguration; - } - if (obstacles != null) { - $result.obstacles.addAll(obstacles); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveOnMapRequest._() : super(); - factory MoveOnMapRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveOnMapRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveOnMapRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.Pose>(2, _omitFieldNames ? '' : 'destination', subBuilder: $15.Pose.create) - ..aOM<$15.ResourceName>(3, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOM<$15.ResourceName>(4, _omitFieldNames ? '' : 'slamServiceName', subBuilder: $15.ResourceName.create) - ..aOM(5, _omitFieldNames ? '' : 'motionConfiguration', subBuilder: MotionConfiguration.create) - ..pc<$15.Geometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $15.Geometry.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveOnMapRequest clone() => MoveOnMapRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveOnMapRequest copyWith(void Function(MoveOnMapRequest) updates) => super.copyWith((message) => updates(message as MoveOnMapRequest)) as MoveOnMapRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveOnMapRequest create() => MoveOnMapRequest._(); - MoveOnMapRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveOnMapRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveOnMapRequest? _defaultInstance; - - /// Name of the motion service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Specify a destination to, which can be any pose with respect to the SLAM map's origin - @$pb.TagNumber(2) - $15.Pose get destination => $_getN(1); - @$pb.TagNumber(2) - set destination($15.Pose v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasDestination() => $_has(1); - @$pb.TagNumber(2) - void clearDestination() => clearField(2); - @$pb.TagNumber(2) - $15.Pose ensureDestination() => $_ensure(1); - - /// Component on the robot to move to the specified destination - @$pb.TagNumber(3) - $15.ResourceName get componentName => $_getN(2); - @$pb.TagNumber(3) - set componentName($15.ResourceName v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasComponentName() => $_has(2); - @$pb.TagNumber(3) - void clearComponentName() => clearField(3); - @$pb.TagNumber(3) - $15.ResourceName ensureComponentName() => $_ensure(2); - - /// Name of the slam service from which the SLAM map is requested - @$pb.TagNumber(4) - $15.ResourceName get slamServiceName => $_getN(3); - @$pb.TagNumber(4) - set slamServiceName($15.ResourceName v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasSlamServiceName() => $_has(3); - @$pb.TagNumber(4) - void clearSlamServiceName() => clearField(4); - @$pb.TagNumber(4) - $15.ResourceName ensureSlamServiceName() => $_ensure(3); - - /// Optional set of motion configuration options - @$pb.TagNumber(5) - MotionConfiguration get motionConfiguration => $_getN(4); - @$pb.TagNumber(5) - set motionConfiguration(MotionConfiguration v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasMotionConfiguration() => $_has(4); - @$pb.TagNumber(5) - void clearMotionConfiguration() => clearField(5); - @$pb.TagNumber(5) - MotionConfiguration ensureMotionConfiguration() => $_ensure(4); - - /// Obstacles to be considered for motion planning - @$pb.TagNumber(6) - $core.List<$15.Geometry> get obstacles => $_getList(5); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(6); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(6); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(6); -} - -class MoveOnMapResponse extends $pb.GeneratedMessage { - factory MoveOnMapResponse({ - $core.String? executionId, - }) { - final $result = create(); - if (executionId != null) { - $result.executionId = executionId; - } - return $result; - } - MoveOnMapResponse._() : super(); - factory MoveOnMapResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveOnMapResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveOnMapResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'executionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveOnMapResponse clone() => MoveOnMapResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveOnMapResponse copyWith(void Function(MoveOnMapResponse) updates) => super.copyWith((message) => updates(message as MoveOnMapResponse)) as MoveOnMapResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveOnMapResponse create() => MoveOnMapResponse._(); - MoveOnMapResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveOnMapResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveOnMapResponse? _defaultInstance; - - /// The unique ID which identifies the execution. - /// Multiple plans will share the same execution_id if they were - /// generated due to replanning. - @$pb.TagNumber(1) - $core.String get executionId => $_getSZ(0); - @$pb.TagNumber(1) - set executionId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasExecutionId() => $_has(0); - @$pb.TagNumber(1) - void clearExecutionId() => clearField(1); -} - -/// Pairs a vision service with a camera, informing the service about which camera it may use -class ObstacleDetector extends $pb.GeneratedMessage { - factory ObstacleDetector({ - $15.ResourceName? visionService, - $15.ResourceName? camera, - }) { - final $result = create(); - if (visionService != null) { - $result.visionService = visionService; - } - if (camera != null) { - $result.camera = camera; - } - return $result; - } - ObstacleDetector._() : super(); - factory ObstacleDetector.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ObstacleDetector.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ObstacleDetector', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'visionService', subBuilder: $15.ResourceName.create) - ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'camera', subBuilder: $15.ResourceName.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ObstacleDetector clone() => ObstacleDetector()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ObstacleDetector copyWith(void Function(ObstacleDetector) updates) => super.copyWith((message) => updates(message as ObstacleDetector)) as ObstacleDetector; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ObstacleDetector create() => ObstacleDetector._(); - ObstacleDetector createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ObstacleDetector getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ObstacleDetector? _defaultInstance; - - @$pb.TagNumber(1) - $15.ResourceName get visionService => $_getN(0); - @$pb.TagNumber(1) - set visionService($15.ResourceName v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasVisionService() => $_has(0); - @$pb.TagNumber(1) - void clearVisionService() => clearField(1); - @$pb.TagNumber(1) - $15.ResourceName ensureVisionService() => $_ensure(0); - - @$pb.TagNumber(2) - $15.ResourceName get camera => $_getN(1); - @$pb.TagNumber(2) - set camera($15.ResourceName v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasCamera() => $_has(1); - @$pb.TagNumber(2) - void clearCamera() => clearField(2); - @$pb.TagNumber(2) - $15.ResourceName ensureCamera() => $_ensure(1); -} - -class MotionConfiguration extends $pb.GeneratedMessage { - factory MotionConfiguration({ - $core.Iterable? obstacleDetectors, - $core.double? positionPollingFrequencyHz, - $core.double? obstaclePollingFrequencyHz, - $core.double? planDeviationM, - $core.double? linearMPerSec, - $core.double? angularDegsPerSec, - }) { - final $result = create(); - if (obstacleDetectors != null) { - $result.obstacleDetectors.addAll(obstacleDetectors); - } - if (positionPollingFrequencyHz != null) { - $result.positionPollingFrequencyHz = positionPollingFrequencyHz; - } - if (obstaclePollingFrequencyHz != null) { - $result.obstaclePollingFrequencyHz = obstaclePollingFrequencyHz; - } - if (planDeviationM != null) { - $result.planDeviationM = planDeviationM; - } - if (linearMPerSec != null) { - $result.linearMPerSec = linearMPerSec; - } - if (angularDegsPerSec != null) { - $result.angularDegsPerSec = angularDegsPerSec; - } - return $result; - } - MotionConfiguration._() : super(); - factory MotionConfiguration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MotionConfiguration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MotionConfiguration', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'obstacleDetectors', $pb.PbFieldType.PM, subBuilder: ObstacleDetector.create) - ..a<$core.double>(2, _omitFieldNames ? '' : 'positionPollingFrequencyHz', $pb.PbFieldType.OD) - ..a<$core.double>(3, _omitFieldNames ? '' : 'obstaclePollingFrequencyHz', $pb.PbFieldType.OD) - ..a<$core.double>(4, _omitFieldNames ? '' : 'planDeviationM', $pb.PbFieldType.OD) - ..a<$core.double>(5, _omitFieldNames ? '' : 'linearMPerSec', $pb.PbFieldType.OD) - ..a<$core.double>(6, _omitFieldNames ? '' : 'angularDegsPerSec', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MotionConfiguration clone() => MotionConfiguration()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MotionConfiguration copyWith(void Function(MotionConfiguration) updates) => super.copyWith((message) => updates(message as MotionConfiguration)) as MotionConfiguration; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MotionConfiguration create() => MotionConfiguration._(); - MotionConfiguration createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MotionConfiguration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MotionConfiguration? _defaultInstance; - - /// The ObstacleDetectors that will be used for transient obstacle avoidance - @$pb.TagNumber(1) - $core.List get obstacleDetectors => $_getList(0); - - /// Sets the frequency to poll for the position of the robot - @$pb.TagNumber(2) - $core.double get positionPollingFrequencyHz => $_getN(1); - @$pb.TagNumber(2) - set positionPollingFrequencyHz($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasPositionPollingFrequencyHz() => $_has(1); - @$pb.TagNumber(2) - void clearPositionPollingFrequencyHz() => clearField(2); - - /// Sets the frequency to poll the vision service(s) for new obstacles - @$pb.TagNumber(3) - $core.double get obstaclePollingFrequencyHz => $_getN(2); - @$pb.TagNumber(3) - set obstaclePollingFrequencyHz($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasObstaclePollingFrequencyHz() => $_has(2); - @$pb.TagNumber(3) - void clearObstaclePollingFrequencyHz() => clearField(3); - - /// Sets the distance in meters that a robot is allowed to deviate from the motion plan - @$pb.TagNumber(4) - $core.double get planDeviationM => $_getN(3); - @$pb.TagNumber(4) - set planDeviationM($core.double v) { $_setDouble(3, v); } - @$pb.TagNumber(4) - $core.bool hasPlanDeviationM() => $_has(3); - @$pb.TagNumber(4) - void clearPlanDeviationM() => clearField(4); - - /// Optional linear velocity to target when moving - @$pb.TagNumber(5) - $core.double get linearMPerSec => $_getN(4); - @$pb.TagNumber(5) - set linearMPerSec($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasLinearMPerSec() => $_has(4); - @$pb.TagNumber(5) - void clearLinearMPerSec() => clearField(5); - - /// Optional angular velocity to target when turning - @$pb.TagNumber(6) - $core.double get angularDegsPerSec => $_getN(5); - @$pb.TagNumber(6) - set angularDegsPerSec($core.double v) { $_setDouble(5, v); } - @$pb.TagNumber(6) - $core.bool hasAngularDegsPerSec() => $_has(5); - @$pb.TagNumber(6) - void clearAngularDegsPerSec() => clearField(6); -} - -class MoveOnGlobeRequest extends $pb.GeneratedMessage { - factory MoveOnGlobeRequest({ - $core.String? name, - $15.GeoPoint? destination, - $core.double? heading, - $15.ResourceName? componentName, - $15.ResourceName? movementSensorName, - $core.Iterable<$15.GeoGeometry>? obstacles, - MotionConfiguration? motionConfiguration, - $core.Iterable<$15.GeoGeometry>? boundingRegions, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (destination != null) { - $result.destination = destination; - } - if (heading != null) { - $result.heading = heading; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (movementSensorName != null) { - $result.movementSensorName = movementSensorName; - } - if (obstacles != null) { - $result.obstacles.addAll(obstacles); - } - if (motionConfiguration != null) { - $result.motionConfiguration = motionConfiguration; - } - if (boundingRegions != null) { - $result.boundingRegions.addAll(boundingRegions); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - MoveOnGlobeRequest._() : super(); - factory MoveOnGlobeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveOnGlobeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveOnGlobeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.GeoPoint>(2, _omitFieldNames ? '' : 'destination', subBuilder: $15.GeoPoint.create) - ..a<$core.double>(3, _omitFieldNames ? '' : 'heading', $pb.PbFieldType.OD) - ..aOM<$15.ResourceName>(4, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOM<$15.ResourceName>(5, _omitFieldNames ? '' : 'movementSensorName', subBuilder: $15.ResourceName.create) - ..pc<$15.GeoGeometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $15.GeoGeometry.create) - ..aOM(7, _omitFieldNames ? '' : 'motionConfiguration', subBuilder: MotionConfiguration.create) - ..pc<$15.GeoGeometry>(8, _omitFieldNames ? '' : 'boundingRegions', $pb.PbFieldType.PM, subBuilder: $15.GeoGeometry.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveOnGlobeRequest clone() => MoveOnGlobeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveOnGlobeRequest copyWith(void Function(MoveOnGlobeRequest) updates) => super.copyWith((message) => updates(message as MoveOnGlobeRequest)) as MoveOnGlobeRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveOnGlobeRequest create() => MoveOnGlobeRequest._(); - MoveOnGlobeRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveOnGlobeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveOnGlobeRequest? _defaultInstance; - - /// Name of the motion service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Destination, encoded as a GeoPoint - @$pb.TagNumber(2) - $15.GeoPoint get destination => $_getN(1); - @$pb.TagNumber(2) - set destination($15.GeoPoint v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasDestination() => $_has(1); - @$pb.TagNumber(2) - void clearDestination() => clearField(2); - @$pb.TagNumber(2) - $15.GeoPoint ensureDestination() => $_ensure(1); - - /// Optional compass heading to achieve at the destination, in degrees [0-360) - @$pb.TagNumber(3) - $core.double get heading => $_getN(2); - @$pb.TagNumber(3) - set heading($core.double v) { $_setDouble(2, v); } - @$pb.TagNumber(3) - $core.bool hasHeading() => $_has(2); - @$pb.TagNumber(3) - void clearHeading() => clearField(3); - - /// Component on the robot to move to the specified destination - @$pb.TagNumber(4) - $15.ResourceName get componentName => $_getN(3); - @$pb.TagNumber(4) - set componentName($15.ResourceName v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasComponentName() => $_has(3); - @$pb.TagNumber(4) - void clearComponentName() => clearField(4); - @$pb.TagNumber(4) - $15.ResourceName ensureComponentName() => $_ensure(3); - - /// Name of the movement sensor which will be used to check robot location - @$pb.TagNumber(5) - $15.ResourceName get movementSensorName => $_getN(4); - @$pb.TagNumber(5) - set movementSensorName($15.ResourceName v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasMovementSensorName() => $_has(4); - @$pb.TagNumber(5) - void clearMovementSensorName() => clearField(5); - @$pb.TagNumber(5) - $15.ResourceName ensureMovementSensorName() => $_ensure(4); - - /// Obstacles to be considered for motion planning - @$pb.TagNumber(6) - $core.List<$15.GeoGeometry> get obstacles => $_getList(5); - - /// Optional set of motion configuration options - @$pb.TagNumber(7) - MotionConfiguration get motionConfiguration => $_getN(6); - @$pb.TagNumber(7) - set motionConfiguration(MotionConfiguration v) { setField(7, v); } - @$pb.TagNumber(7) - $core.bool hasMotionConfiguration() => $_has(6); - @$pb.TagNumber(7) - void clearMotionConfiguration() => clearField(7); - @$pb.TagNumber(7) - MotionConfiguration ensureMotionConfiguration() => $_ensure(6); - - /// Set of obstacles which the robot must remain within while navigating - @$pb.TagNumber(8) - $core.List<$15.GeoGeometry> get boundingRegions => $_getList(7); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(8); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(8); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(8); -} - -class MoveOnGlobeResponse extends $pb.GeneratedMessage { - factory MoveOnGlobeResponse({ - $core.String? executionId, - }) { - final $result = create(); - if (executionId != null) { - $result.executionId = executionId; - } - return $result; - } - MoveOnGlobeResponse._() : super(); - factory MoveOnGlobeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory MoveOnGlobeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveOnGlobeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'executionId') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - MoveOnGlobeResponse clone() => MoveOnGlobeResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - MoveOnGlobeResponse copyWith(void Function(MoveOnGlobeResponse) updates) => super.copyWith((message) => updates(message as MoveOnGlobeResponse)) as MoveOnGlobeResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static MoveOnGlobeResponse create() => MoveOnGlobeResponse._(); - MoveOnGlobeResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static MoveOnGlobeResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static MoveOnGlobeResponse? _defaultInstance; - - /// The unique ID which identifies the execution. - /// Multiple plans will share the same execution_id if they were - /// generated due to replanning. - @$pb.TagNumber(1) - $core.String get executionId => $_getSZ(0); - @$pb.TagNumber(1) - set executionId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasExecutionId() => $_has(0); - @$pb.TagNumber(1) - void clearExecutionId() => clearField(1); -} - -class GetPoseRequest extends $pb.GeneratedMessage { - factory GetPoseRequest({ - $core.String? name, - $15.ResourceName? componentName, - $core.String? destinationFrame, - $core.Iterable<$15.Transform>? supplementalTransforms, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (destinationFrame != null) { - $result.destinationFrame = destinationFrame; - } - if (supplementalTransforms != null) { - $result.supplementalTransforms.addAll(supplementalTransforms); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPoseRequest._() : super(); - factory GetPoseRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPoseRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPoseRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOS(3, _omitFieldNames ? '' : 'destinationFrame') - ..pc<$15.Transform>(4, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $15.Transform.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPoseRequest clone() => GetPoseRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPoseRequest copyWith(void Function(GetPoseRequest) updates) => super.copyWith((message) => updates(message as GetPoseRequest)) as GetPoseRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPoseRequest create() => GetPoseRequest._(); - GetPoseRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPoseRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPoseRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// the component whose pose is being requested - @$pb.TagNumber(2) - $15.ResourceName get componentName => $_getN(1); - @$pb.TagNumber(2) - set componentName($15.ResourceName v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasComponentName() => $_has(1); - @$pb.TagNumber(2) - void clearComponentName() => clearField(2); - @$pb.TagNumber(2) - $15.ResourceName ensureComponentName() => $_ensure(1); - - /// the reference frame in which the component's pose - /// should be provided, if unset this defaults - /// to the "world" reference frame - @$pb.TagNumber(3) - $core.String get destinationFrame => $_getSZ(2); - @$pb.TagNumber(3) - set destinationFrame($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDestinationFrame() => $_has(2); - @$pb.TagNumber(3) - void clearDestinationFrame() => clearField(3); - - /// pose information on any additional reference frames that are needed - /// to compute the component's pose - @$pb.TagNumber(4) - $core.List<$15.Transform> get supplementalTransforms => $_getList(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(4); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(4); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(4); -} - -class GetPoseResponse extends $pb.GeneratedMessage { - factory GetPoseResponse({ - $15.PoseInFrame? pose, - }) { - final $result = create(); - if (pose != null) { - $result.pose = pose; - } - return $result; - } - GetPoseResponse._() : super(); - factory GetPoseResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPoseResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPoseResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM<$15.PoseInFrame>(1, _omitFieldNames ? '' : 'pose', subBuilder: $15.PoseInFrame.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPoseResponse clone() => GetPoseResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPoseResponse copyWith(void Function(GetPoseResponse) updates) => super.copyWith((message) => updates(message as GetPoseResponse)) as GetPoseResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPoseResponse create() => GetPoseResponse._(); - GetPoseResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPoseResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPoseResponse? _defaultInstance; - - @$pb.TagNumber(1) - $15.PoseInFrame get pose => $_getN(0); - @$pb.TagNumber(1) - set pose($15.PoseInFrame v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPose() => $_has(0); - @$pb.TagNumber(1) - void clearPose() => clearField(1); - @$pb.TagNumber(1) - $15.PoseInFrame ensurePose() => $_ensure(0); -} - -class StopPlanRequest extends $pb.GeneratedMessage { - factory StopPlanRequest({ - $core.String? name, - $15.ResourceName? componentName, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - StopPlanRequest._() : super(); - factory StopPlanRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopPlanRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopPlanRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopPlanRequest clone() => StopPlanRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopPlanRequest copyWith(void Function(StopPlanRequest) updates) => super.copyWith((message) => updates(message as StopPlanRequest)) as StopPlanRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopPlanRequest create() => StopPlanRequest._(); - StopPlanRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopPlanRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopPlanRequest? _defaultInstance; - - /// The name of the motion service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// The component of the currently executing plan to stop - @$pb.TagNumber(2) - $15.ResourceName get componentName => $_getN(1); - @$pb.TagNumber(2) - set componentName($15.ResourceName v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasComponentName() => $_has(1); - @$pb.TagNumber(2) - void clearComponentName() => clearField(2); - @$pb.TagNumber(2) - $15.ResourceName ensureComponentName() => $_ensure(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class StopPlanResponse extends $pb.GeneratedMessage { - factory StopPlanResponse() => create(); - StopPlanResponse._() : super(); - factory StopPlanResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StopPlanResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopPlanResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StopPlanResponse clone() => StopPlanResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StopPlanResponse copyWith(void Function(StopPlanResponse) updates) => super.copyWith((message) => updates(message as StopPlanResponse)) as StopPlanResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StopPlanResponse create() => StopPlanResponse._(); - StopPlanResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static StopPlanResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static StopPlanResponse? _defaultInstance; -} - -class ListPlanStatusesRequest extends $pb.GeneratedMessage { - factory ListPlanStatusesRequest({ - $core.String? name, - $core.bool? onlyActivePlans, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (onlyActivePlans != null) { - $result.onlyActivePlans = onlyActivePlans; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - ListPlanStatusesRequest._() : super(); - factory ListPlanStatusesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListPlanStatusesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPlanStatusesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOB(2, _omitFieldNames ? '' : 'onlyActivePlans') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListPlanStatusesRequest clone() => ListPlanStatusesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListPlanStatusesRequest copyWith(void Function(ListPlanStatusesRequest) updates) => super.copyWith((message) => updates(message as ListPlanStatusesRequest)) as ListPlanStatusesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListPlanStatusesRequest create() => ListPlanStatusesRequest._(); - ListPlanStatusesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListPlanStatusesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListPlanStatusesRequest? _defaultInstance; - - /// The name of the motion service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// If supplied, the response will filter the - /// plan results for the supplied state - @$pb.TagNumber(2) - $core.bool get onlyActivePlans => $_getBF(1); - @$pb.TagNumber(2) - set onlyActivePlans($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasOnlyActivePlans() => $_has(1); - @$pb.TagNumber(2) - void clearOnlyActivePlans() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -/// Status of all executed / executing plan statuses with associated IDs within the 24 hour TTL -class ListPlanStatusesResponse extends $pb.GeneratedMessage { - factory ListPlanStatusesResponse({ - $core.Iterable? planStatusesWithIds, - }) { - final $result = create(); - if (planStatusesWithIds != null) { - $result.planStatusesWithIds.addAll(planStatusesWithIds); - } - return $result; - } - ListPlanStatusesResponse._() : super(); - factory ListPlanStatusesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListPlanStatusesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPlanStatusesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'planStatusesWithIds', $pb.PbFieldType.PM, subBuilder: PlanStatusWithID.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListPlanStatusesResponse clone() => ListPlanStatusesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListPlanStatusesResponse copyWith(void Function(ListPlanStatusesResponse) updates) => super.copyWith((message) => updates(message as ListPlanStatusesResponse)) as ListPlanStatusesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListPlanStatusesResponse create() => ListPlanStatusesResponse._(); - ListPlanStatusesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListPlanStatusesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListPlanStatusesResponse? _defaultInstance; - - /// List of last known statuses with the associated IDs of all plans within the TTL - /// ordered by timestamp in ascending order - @$pb.TagNumber(1) - $core.List get planStatusesWithIds => $_getList(0); -} - -class GetPlanRequest extends $pb.GeneratedMessage { - factory GetPlanRequest({ - $core.String? name, - $15.ResourceName? componentName, - $core.bool? lastPlanOnly, - $core.String? executionId, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (lastPlanOnly != null) { - $result.lastPlanOnly = lastPlanOnly; - } - if (executionId != null) { - $result.executionId = executionId; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPlanRequest._() : super(); - factory GetPlanRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPlanRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPlanRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOB(3, _omitFieldNames ? '' : 'lastPlanOnly') - ..aOS(4, _omitFieldNames ? '' : 'executionId') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPlanRequest clone() => GetPlanRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPlanRequest copyWith(void Function(GetPlanRequest) updates) => super.copyWith((message) => updates(message as GetPlanRequest)) as GetPlanRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPlanRequest create() => GetPlanRequest._(); - GetPlanRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPlanRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPlanRequest? _defaultInstance; - - /// The name of the motion service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// The name of the component which was requested to be moved. - @$pb.TagNumber(2) - $15.ResourceName get componentName => $_getN(1); - @$pb.TagNumber(2) - set componentName($15.ResourceName v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasComponentName() => $_has(1); - @$pb.TagNumber(2) - void clearComponentName() => clearField(2); - @$pb.TagNumber(2) - $15.ResourceName ensureComponentName() => $_ensure(1); - - /// If supplied, the response will only return - /// the the last plan for the component / execution - @$pb.TagNumber(3) - $core.bool get lastPlanOnly => $_getBF(2); - @$pb.TagNumber(3) - set lastPlanOnly($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasLastPlanOnly() => $_has(2); - @$pb.TagNumber(3) - void clearLastPlanOnly() => clearField(3); - - /// If you want to know about the plans of a previous execution - @$pb.TagNumber(4) - $core.String get executionId => $_getSZ(3); - @$pb.TagNumber(4) - set executionId($core.String v) { $_setString(3, v); } - @$pb.TagNumber(4) - $core.bool hasExecutionId() => $_has(3); - @$pb.TagNumber(4) - void clearExecutionId() => clearField(4); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(4); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(4); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(4); -} - -class GetPlanResponse extends $pb.GeneratedMessage { - factory GetPlanResponse({ - PlanWithStatus? currentPlanWithStatus, - $core.Iterable? replanHistory, - }) { - final $result = create(); - if (currentPlanWithStatus != null) { - $result.currentPlanWithStatus = currentPlanWithStatus; - } - if (replanHistory != null) { - $result.replanHistory.addAll(replanHistory); - } - return $result; - } - GetPlanResponse._() : super(); - factory GetPlanResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPlanResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPlanResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'currentPlanWithStatus', subBuilder: PlanWithStatus.create) - ..pc(2, _omitFieldNames ? '' : 'replanHistory', $pb.PbFieldType.PM, subBuilder: PlanWithStatus.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPlanResponse clone() => GetPlanResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPlanResponse copyWith(void Function(GetPlanResponse) updates) => super.copyWith((message) => updates(message as GetPlanResponse)) as GetPlanResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPlanResponse create() => GetPlanResponse._(); - GetPlanResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPlanResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPlanResponse? _defaultInstance; - - /// The current plan and status that matches the request query - @$pb.TagNumber(1) - PlanWithStatus get currentPlanWithStatus => $_getN(0); - @$pb.TagNumber(1) - set currentPlanWithStatus(PlanWithStatus v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasCurrentPlanWithStatus() => $_has(0); - @$pb.TagNumber(1) - void clearCurrentPlanWithStatus() => clearField(1); - @$pb.TagNumber(1) - PlanWithStatus ensureCurrentPlanWithStatus() => $_ensure(0); - - /// Returns the history of all previous plans that were - /// generated in ascending order. - /// This field will be empty if the motion service - /// did not need to re-plan. - @$pb.TagNumber(2) - $core.List get replanHistory => $_getList(1); -} - -/// Constraints specifies all enumerated constraints to be passed to Viam's motion planning, along with any optional parameters -class Constraints extends $pb.GeneratedMessage { - factory Constraints({ - $core.Iterable? linearConstraint, - $core.Iterable? orientationConstraint, - $core.Iterable? collisionSpecification, - }) { - final $result = create(); - if (linearConstraint != null) { - $result.linearConstraint.addAll(linearConstraint); - } - if (orientationConstraint != null) { - $result.orientationConstraint.addAll(orientationConstraint); - } - if (collisionSpecification != null) { - $result.collisionSpecification.addAll(collisionSpecification); - } - return $result; - } - Constraints._() : super(); - factory Constraints.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Constraints.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Constraints', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'linearConstraint', $pb.PbFieldType.PM, subBuilder: LinearConstraint.create) - ..pc(2, _omitFieldNames ? '' : 'orientationConstraint', $pb.PbFieldType.PM, subBuilder: OrientationConstraint.create) - ..pc(3, _omitFieldNames ? '' : 'collisionSpecification', $pb.PbFieldType.PM, subBuilder: CollisionSpecification.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Constraints clone() => Constraints()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Constraints copyWith(void Function(Constraints) updates) => super.copyWith((message) => updates(message as Constraints)) as Constraints; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Constraints create() => Constraints._(); - Constraints createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Constraints getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Constraints? _defaultInstance; - - /// Typed message for a specific constraint - @$pb.TagNumber(1) - $core.List get linearConstraint => $_getList(0); - - @$pb.TagNumber(2) - $core.List get orientationConstraint => $_getList(1); - - @$pb.TagNumber(3) - $core.List get collisionSpecification => $_getList(2); -} - -/// LinearConstraint specifies that the component being moved should move linearly relative to its goal. -/// It does not constrain the motion of components other than the `component_name` specified in motion.Move -class LinearConstraint extends $pb.GeneratedMessage { - factory LinearConstraint({ - $core.double? lineToleranceMm, - $core.double? orientationToleranceDegs, - }) { - final $result = create(); - if (lineToleranceMm != null) { - $result.lineToleranceMm = lineToleranceMm; - } - if (orientationToleranceDegs != null) { - $result.orientationToleranceDegs = orientationToleranceDegs; - } - return $result; - } - LinearConstraint._() : super(); - factory LinearConstraint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory LinearConstraint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LinearConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'lineToleranceMm', $pb.PbFieldType.OF) - ..a<$core.double>(2, _omitFieldNames ? '' : 'orientationToleranceDegs', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - LinearConstraint clone() => LinearConstraint()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - LinearConstraint copyWith(void Function(LinearConstraint) updates) => super.copyWith((message) => updates(message as LinearConstraint)) as LinearConstraint; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static LinearConstraint create() => LinearConstraint._(); - LinearConstraint createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static LinearConstraint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static LinearConstraint? _defaultInstance; - - @$pb.TagNumber(1) - $core.double get lineToleranceMm => $_getN(0); - @$pb.TagNumber(1) - set lineToleranceMm($core.double v) { $_setFloat(0, v); } - @$pb.TagNumber(1) - $core.bool hasLineToleranceMm() => $_has(0); - @$pb.TagNumber(1) - void clearLineToleranceMm() => clearField(1); - - /// Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states - @$pb.TagNumber(2) - $core.double get orientationToleranceDegs => $_getN(1); - @$pb.TagNumber(2) - set orientationToleranceDegs($core.double v) { $_setFloat(1, v); } - @$pb.TagNumber(2) - $core.bool hasOrientationToleranceDegs() => $_has(1); - @$pb.TagNumber(2) - void clearOrientationToleranceDegs() => clearField(2); -} - -/// OrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative -/// to the goal. It does not constrain the motion of components other than the `component_name` specified in motion.Move -class OrientationConstraint extends $pb.GeneratedMessage { - factory OrientationConstraint({ - $core.double? orientationToleranceDegs, - }) { - final $result = create(); - if (orientationToleranceDegs != null) { - $result.orientationToleranceDegs = orientationToleranceDegs; - } - return $result; - } - OrientationConstraint._() : super(); - factory OrientationConstraint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory OrientationConstraint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrientationConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..a<$core.double>(1, _omitFieldNames ? '' : 'orientationToleranceDegs', $pb.PbFieldType.OF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - OrientationConstraint clone() => OrientationConstraint()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - OrientationConstraint copyWith(void Function(OrientationConstraint) updates) => super.copyWith((message) => updates(message as OrientationConstraint)) as OrientationConstraint; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static OrientationConstraint create() => OrientationConstraint._(); - OrientationConstraint createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static OrientationConstraint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static OrientationConstraint? _defaultInstance; - - /// Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states - @$pb.TagNumber(1) - $core.double get orientationToleranceDegs => $_getN(0); - @$pb.TagNumber(1) - set orientationToleranceDegs($core.double v) { $_setFloat(0, v); } - @$pb.TagNumber(1) - $core.bool hasOrientationToleranceDegs() => $_has(0); - @$pb.TagNumber(1) - void clearOrientationToleranceDegs() => clearField(1); -} - -class CollisionSpecification_AllowedFrameCollisions extends $pb.GeneratedMessage { - factory CollisionSpecification_AllowedFrameCollisions({ - $core.String? frame1, - $core.String? frame2, - }) { - final $result = create(); - if (frame1 != null) { - $result.frame1 = frame1; - } - if (frame2 != null) { - $result.frame2 = frame2; - } - return $result; - } - CollisionSpecification_AllowedFrameCollisions._() : super(); - factory CollisionSpecification_AllowedFrameCollisions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CollisionSpecification_AllowedFrameCollisions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CollisionSpecification.AllowedFrameCollisions', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'frame1') - ..aOS(2, _omitFieldNames ? '' : 'frame2') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CollisionSpecification_AllowedFrameCollisions clone() => CollisionSpecification_AllowedFrameCollisions()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CollisionSpecification_AllowedFrameCollisions copyWith(void Function(CollisionSpecification_AllowedFrameCollisions) updates) => super.copyWith((message) => updates(message as CollisionSpecification_AllowedFrameCollisions)) as CollisionSpecification_AllowedFrameCollisions; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CollisionSpecification_AllowedFrameCollisions create() => CollisionSpecification_AllowedFrameCollisions._(); - CollisionSpecification_AllowedFrameCollisions createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CollisionSpecification_AllowedFrameCollisions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CollisionSpecification_AllowedFrameCollisions? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get frame1 => $_getSZ(0); - @$pb.TagNumber(1) - set frame1($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasFrame1() => $_has(0); - @$pb.TagNumber(1) - void clearFrame1() => clearField(1); - - @$pb.TagNumber(2) - $core.String get frame2 => $_getSZ(1); - @$pb.TagNumber(2) - set frame2($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasFrame2() => $_has(1); - @$pb.TagNumber(2) - void clearFrame2() => clearField(2); -} - -/// CollisionSpecification is used to selectively apply obstacle avoidance to specific parts of the robot -class CollisionSpecification extends $pb.GeneratedMessage { - factory CollisionSpecification({ - $core.Iterable? allows, - }) { - final $result = create(); - if (allows != null) { - $result.allows.addAll(allows); - } - return $result; - } - CollisionSpecification._() : super(); - factory CollisionSpecification.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CollisionSpecification.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CollisionSpecification', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'allows', $pb.PbFieldType.PM, subBuilder: CollisionSpecification_AllowedFrameCollisions.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CollisionSpecification clone() => CollisionSpecification()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CollisionSpecification copyWith(void Function(CollisionSpecification) updates) => super.copyWith((message) => updates(message as CollisionSpecification)) as CollisionSpecification; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CollisionSpecification create() => CollisionSpecification._(); - CollisionSpecification createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CollisionSpecification getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CollisionSpecification? _defaultInstance; - - /// Pairs of frame which should be allowed to collide with one another - @$pb.TagNumber(1) - $core.List get allows => $_getList(0); -} - -/// Describes a plan, its current status & all status changes -/// that have occured previously on that plan -class PlanWithStatus extends $pb.GeneratedMessage { - factory PlanWithStatus({ - Plan? plan, - PlanStatus? status, - $core.Iterable? statusHistory, - }) { - final $result = create(); - if (plan != null) { - $result.plan = plan; - } - if (status != null) { - $result.status = status; - } - if (statusHistory != null) { - $result.statusHistory.addAll(statusHistory); - } - return $result; - } - PlanWithStatus._() : super(); - factory PlanWithStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PlanWithStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlanWithStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM(1, _omitFieldNames ? '' : 'plan', subBuilder: Plan.create) - ..aOM(2, _omitFieldNames ? '' : 'status', subBuilder: PlanStatus.create) - ..pc(3, _omitFieldNames ? '' : 'statusHistory', $pb.PbFieldType.PM, subBuilder: PlanStatus.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PlanWithStatus clone() => PlanWithStatus()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PlanWithStatus copyWith(void Function(PlanWithStatus) updates) => super.copyWith((message) => updates(message as PlanWithStatus)) as PlanWithStatus; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PlanWithStatus create() => PlanWithStatus._(); - PlanWithStatus createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PlanWithStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PlanWithStatus? _defaultInstance; - - /// The plan - @$pb.TagNumber(1) - Plan get plan => $_getN(0); - @$pb.TagNumber(1) - set plan(Plan v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPlan() => $_has(0); - @$pb.TagNumber(1) - void clearPlan() => clearField(1); - @$pb.TagNumber(1) - Plan ensurePlan() => $_ensure(0); - - /// The current status of the plan - @$pb.TagNumber(2) - PlanStatus get status => $_getN(1); - @$pb.TagNumber(2) - set status(PlanStatus v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasStatus() => $_has(1); - @$pb.TagNumber(2) - void clearStatus() => clearField(2); - @$pb.TagNumber(2) - PlanStatus ensureStatus() => $_ensure(1); - - /// The prior status changes that have happened during plan execution - @$pb.TagNumber(3) - $core.List get statusHistory => $_getList(2); -} - -/// PlanStatusWithID describes the state of a given plan at a -/// point in time plus the plan_id, component_name and execution_id -/// the status is associated with -class PlanStatusWithID extends $pb.GeneratedMessage { - factory PlanStatusWithID({ - $core.String? planId, - $15.ResourceName? componentName, - $core.String? executionId, - PlanStatus? status, - }) { - final $result = create(); - if (planId != null) { - $result.planId = planId; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (executionId != null) { - $result.executionId = executionId; - } - if (status != null) { - $result.status = status; - } - return $result; - } - PlanStatusWithID._() : super(); - factory PlanStatusWithID.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PlanStatusWithID.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlanStatusWithID', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'planId') - ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOS(3, _omitFieldNames ? '' : 'executionId') - ..aOM(4, _omitFieldNames ? '' : 'status', subBuilder: PlanStatus.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PlanStatusWithID clone() => PlanStatusWithID()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PlanStatusWithID copyWith(void Function(PlanStatusWithID) updates) => super.copyWith((message) => updates(message as PlanStatusWithID)) as PlanStatusWithID; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PlanStatusWithID create() => PlanStatusWithID._(); - PlanStatusWithID createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PlanStatusWithID getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PlanStatusWithID? _defaultInstance; - - /// The unique ID of the plan - @$pb.TagNumber(1) - $core.String get planId => $_getSZ(0); - @$pb.TagNumber(1) - set planId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasPlanId() => $_has(0); - @$pb.TagNumber(1) - void clearPlanId() => clearField(1); - - /// The component to be moved. - /// Used for tracking & stopping. - /// NOTE: A plan may move more components than just the - /// component_name. - @$pb.TagNumber(2) - $15.ResourceName get componentName => $_getN(1); - @$pb.TagNumber(2) - set componentName($15.ResourceName v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasComponentName() => $_has(1); - @$pb.TagNumber(2) - void clearComponentName() => clearField(2); - @$pb.TagNumber(2) - $15.ResourceName ensureComponentName() => $_ensure(1); - - /// The unique ID which identifies the plan execution. - /// Multiple plans will share the same execution_id if they were - /// generated due to replanning. - @$pb.TagNumber(3) - $core.String get executionId => $_getSZ(2); - @$pb.TagNumber(3) - set executionId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasExecutionId() => $_has(2); - @$pb.TagNumber(3) - void clearExecutionId() => clearField(3); - - @$pb.TagNumber(4) - PlanStatus get status => $_getN(3); - @$pb.TagNumber(4) - set status(PlanStatus v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasStatus() => $_has(3); - @$pb.TagNumber(4) - void clearStatus() => clearField(4); - @$pb.TagNumber(4) - PlanStatus ensureStatus() => $_ensure(3); -} - -/// Plan status describes the state of a given plan at a -/// point in time -class PlanStatus extends $pb.GeneratedMessage { - factory PlanStatus({ - PlanState? state, - $47.Timestamp? timestamp, - $core.String? reason, - }) { - final $result = create(); - if (state != null) { - $result.state = state; - } - if (timestamp != null) { - $result.timestamp = timestamp; - } - if (reason != null) { - $result.reason = reason; - } - return $result; - } - PlanStatus._() : super(); - factory PlanStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PlanStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlanStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: PlanState.PLAN_STATE_UNSPECIFIED, valueOf: PlanState.valueOf, enumValues: PlanState.values) - ..aOM<$47.Timestamp>(2, _omitFieldNames ? '' : 'timestamp', subBuilder: $47.Timestamp.create) - ..aOS(3, _omitFieldNames ? '' : 'reason') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PlanStatus clone() => PlanStatus()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PlanStatus copyWith(void Function(PlanStatus) updates) => super.copyWith((message) => updates(message as PlanStatus)) as PlanStatus; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PlanStatus create() => PlanStatus._(); - PlanStatus createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PlanStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PlanStatus? _defaultInstance; - - /// The state of the plan execution - @$pb.TagNumber(1) - PlanState get state => $_getN(0); - @$pb.TagNumber(1) - set state(PlanState v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasState() => $_has(0); - @$pb.TagNumber(1) - void clearState() => clearField(1); - - /// The time the executing plan transtioned to the state - @$pb.TagNumber(2) - $47.Timestamp get timestamp => $_getN(1); - @$pb.TagNumber(2) - set timestamp($47.Timestamp v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasTimestamp() => $_has(1); - @$pb.TagNumber(2) - void clearTimestamp() => clearField(2); - @$pb.TagNumber(2) - $47.Timestamp ensureTimestamp() => $_ensure(1); - - /// The reason for the state change. If motion plan failed - /// this will return the error message. - /// If motion needed to re-plan, this will return - /// the re-plan reason. - @$pb.TagNumber(3) - $core.String get reason => $_getSZ(2); - @$pb.TagNumber(3) - set reason($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasReason() => $_has(2); - @$pb.TagNumber(3) - void clearReason() => clearField(3); -} - -/// A plan describes a motion plan -class Plan extends $pb.GeneratedMessage { - factory Plan({ - $core.String? id, - $15.ResourceName? componentName, - $core.String? executionId, - $core.Iterable? steps, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (componentName != null) { - $result.componentName = componentName; - } - if (executionId != null) { - $result.executionId = executionId; - } - if (steps != null) { - $result.steps.addAll(steps); - } - return $result; - } - Plan._() : super(); - factory Plan.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Plan.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Plan', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOS(3, _omitFieldNames ? '' : 'executionId') - ..pc(4, _omitFieldNames ? '' : 'steps', $pb.PbFieldType.PM, subBuilder: PlanStep.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Plan clone() => Plan()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Plan copyWith(void Function(Plan) updates) => super.copyWith((message) => updates(message as Plan)) as Plan; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Plan create() => Plan._(); - Plan createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Plan getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Plan? _defaultInstance; - - /// The plan's unique ID - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - /// The component requested to be moved. - /// Used for tracking & stopping. - /// NOTE: A plan may move more components than just the - /// root component. - @$pb.TagNumber(2) - $15.ResourceName get componentName => $_getN(1); - @$pb.TagNumber(2) - set componentName($15.ResourceName v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasComponentName() => $_has(1); - @$pb.TagNumber(2) - void clearComponentName() => clearField(2); - @$pb.TagNumber(2) - $15.ResourceName ensureComponentName() => $_ensure(1); - - /// The unique ID which identifies the execution. - /// Multiple plans will share the same execution_id if they were - /// generated due to replanning - @$pb.TagNumber(3) - $core.String get executionId => $_getSZ(2); - @$pb.TagNumber(3) - set executionId($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasExecutionId() => $_has(2); - @$pb.TagNumber(3) - void clearExecutionId() => clearField(3); - - /// The steps of a plan is an ordered list of plan steps - @$pb.TagNumber(4) - $core.List get steps => $_getList(3); -} - -class PlanStep extends $pb.GeneratedMessage { - factory PlanStep({ - $core.Map<$core.String, ComponentState>? step, - }) { - final $result = create(); - if (step != null) { - $result.step.addAll(step); - } - return $result; - } - PlanStep._() : super(); - factory PlanStep.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory PlanStep.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlanStep', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..m<$core.String, ComponentState>(1, _omitFieldNames ? '' : 'step', entryClassName: 'PlanStep.StepEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: ComponentState.create, valueDefaultOrMaker: ComponentState.getDefault, packageName: const $pb.PackageName('viam.service.motion.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - PlanStep clone() => PlanStep()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - PlanStep copyWith(void Function(PlanStep) updates) => super.copyWith((message) => updates(message as PlanStep)) as PlanStep; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static PlanStep create() => PlanStep._(); - PlanStep createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static PlanStep getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static PlanStep? _defaultInstance; - - /// A step is the component state each - /// component resource should reach while executing - /// that step of the plan. - /// Keys are the fully qualified component name. - @$pb.TagNumber(1) - $core.Map<$core.String, ComponentState> get step => $_getMap(0); -} - -/// A pose -class ComponentState extends $pb.GeneratedMessage { - factory ComponentState({ - $15.Pose? pose, - }) { - final $result = create(); - if (pose != null) { - $result.pose = pose; - } - return $result; - } - ComponentState._() : super(); - factory ComponentState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ComponentState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComponentState', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM<$15.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $15.Pose.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ComponentState clone() => ComponentState()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ComponentState copyWith(void Function(ComponentState) updates) => super.copyWith((message) => updates(message as ComponentState)) as ComponentState; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ComponentState create() => ComponentState._(); - ComponentState createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ComponentState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ComponentState? _defaultInstance; - - @$pb.TagNumber(1) - $15.Pose get pose => $_getN(0); - @$pb.TagNumber(1) - set pose($15.Pose v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPose() => $_has(0); - @$pb.TagNumber(1) - void clearPose() => clearField(1); - @$pb.TagNumber(1) - $15.Pose ensurePose() => $_ensure(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/motion/v1/motion.pbenum.dart b/lib/src/gen/service/motion/v1/motion.pbenum.dart deleted file mode 100644 index 9bf20f78f69..00000000000 --- a/lib/src/gen/service/motion/v1/motion.pbenum.dart +++ /dev/null @@ -1,43 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/motion/v1/motion.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// The states that a plan can be in. -/// InProgress if the plan is executing. -/// Stopped if the plan was stopped. -/// Suceeded if the robot reached its destination successfully. -/// Failed if the robot did not reach its destination. -class PlanState extends $pb.ProtobufEnum { - static const PlanState PLAN_STATE_UNSPECIFIED = PlanState._(0, _omitEnumNames ? '' : 'PLAN_STATE_UNSPECIFIED'); - static const PlanState PLAN_STATE_IN_PROGRESS = PlanState._(1, _omitEnumNames ? '' : 'PLAN_STATE_IN_PROGRESS'); - static const PlanState PLAN_STATE_STOPPED = PlanState._(2, _omitEnumNames ? '' : 'PLAN_STATE_STOPPED'); - static const PlanState PLAN_STATE_SUCCEEDED = PlanState._(3, _omitEnumNames ? '' : 'PLAN_STATE_SUCCEEDED'); - static const PlanState PLAN_STATE_FAILED = PlanState._(4, _omitEnumNames ? '' : 'PLAN_STATE_FAILED'); - - static const $core.List values = [ - PLAN_STATE_UNSPECIFIED, - PLAN_STATE_IN_PROGRESS, - PLAN_STATE_STOPPED, - PLAN_STATE_SUCCEEDED, - PLAN_STATE_FAILED, - ]; - - static final $core.Map<$core.int, PlanState> _byValue = $pb.ProtobufEnum.initByValue(values); - static PlanState? valueOf($core.int value) => _byValue[value]; - - const PlanState._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/service/motion/v1/motion.pbgrpc.dart b/lib/src/gen/service/motion/v1/motion.pbgrpc.dart deleted file mode 100644 index 181af0fc5b5..00000000000 --- a/lib/src/gen/service/motion/v1/motion.pbgrpc.dart +++ /dev/null @@ -1,200 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/motion/v1/motion.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'motion.pb.dart' as $38; - -export 'motion.pb.dart'; - -@$pb.GrpcServiceName('viam.service.motion.v1.MotionService') -class MotionServiceClient extends $grpc.Client { - static final _$move = $grpc.ClientMethod<$38.MoveRequest, $38.MoveResponse>( - '/viam.service.motion.v1.MotionService/Move', - ($38.MoveRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.MoveResponse.fromBuffer(value)); - static final _$moveOnMap = $grpc.ClientMethod<$38.MoveOnMapRequest, $38.MoveOnMapResponse>( - '/viam.service.motion.v1.MotionService/MoveOnMap', - ($38.MoveOnMapRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.MoveOnMapResponse.fromBuffer(value)); - static final _$moveOnGlobe = $grpc.ClientMethod<$38.MoveOnGlobeRequest, $38.MoveOnGlobeResponse>( - '/viam.service.motion.v1.MotionService/MoveOnGlobe', - ($38.MoveOnGlobeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.MoveOnGlobeResponse.fromBuffer(value)); - static final _$getPose = $grpc.ClientMethod<$38.GetPoseRequest, $38.GetPoseResponse>( - '/viam.service.motion.v1.MotionService/GetPose', - ($38.GetPoseRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.GetPoseResponse.fromBuffer(value)); - static final _$stopPlan = $grpc.ClientMethod<$38.StopPlanRequest, $38.StopPlanResponse>( - '/viam.service.motion.v1.MotionService/StopPlan', - ($38.StopPlanRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.StopPlanResponse.fromBuffer(value)); - static final _$listPlanStatuses = $grpc.ClientMethod<$38.ListPlanStatusesRequest, $38.ListPlanStatusesResponse>( - '/viam.service.motion.v1.MotionService/ListPlanStatuses', - ($38.ListPlanStatusesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.ListPlanStatusesResponse.fromBuffer(value)); - static final _$getPlan = $grpc.ClientMethod<$38.GetPlanRequest, $38.GetPlanResponse>( - '/viam.service.motion.v1.MotionService/GetPlan', - ($38.GetPlanRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.GetPlanResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.motion.v1.MotionService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - MotionServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$38.MoveResponse> move($38.MoveRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$move, request, options: options); - } - - $grpc.ResponseFuture<$38.MoveOnMapResponse> moveOnMap($38.MoveOnMapRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$moveOnMap, request, options: options); - } - - $grpc.ResponseFuture<$38.MoveOnGlobeResponse> moveOnGlobe($38.MoveOnGlobeRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$moveOnGlobe, request, options: options); - } - - $grpc.ResponseFuture<$38.GetPoseResponse> getPose($38.GetPoseRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPose, request, options: options); - } - - $grpc.ResponseFuture<$38.StopPlanResponse> stopPlan($38.StopPlanRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$stopPlan, request, options: options); - } - - $grpc.ResponseFuture<$38.ListPlanStatusesResponse> listPlanStatuses($38.ListPlanStatusesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listPlanStatuses, request, options: options); - } - - $grpc.ResponseFuture<$38.GetPlanResponse> getPlan($38.GetPlanRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPlan, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.motion.v1.MotionService') -abstract class MotionServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.motion.v1.MotionService'; - - MotionServiceBase() { - $addMethod($grpc.ServiceMethod<$38.MoveRequest, $38.MoveResponse>( - 'Move', - move_Pre, - false, - false, - ($core.List<$core.int> value) => $38.MoveRequest.fromBuffer(value), - ($38.MoveResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.MoveOnMapRequest, $38.MoveOnMapResponse>( - 'MoveOnMap', - moveOnMap_Pre, - false, - false, - ($core.List<$core.int> value) => $38.MoveOnMapRequest.fromBuffer(value), - ($38.MoveOnMapResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.MoveOnGlobeRequest, $38.MoveOnGlobeResponse>( - 'MoveOnGlobe', - moveOnGlobe_Pre, - false, - false, - ($core.List<$core.int> value) => $38.MoveOnGlobeRequest.fromBuffer(value), - ($38.MoveOnGlobeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.GetPoseRequest, $38.GetPoseResponse>( - 'GetPose', - getPose_Pre, - false, - false, - ($core.List<$core.int> value) => $38.GetPoseRequest.fromBuffer(value), - ($38.GetPoseResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.StopPlanRequest, $38.StopPlanResponse>( - 'StopPlan', - stopPlan_Pre, - false, - false, - ($core.List<$core.int> value) => $38.StopPlanRequest.fromBuffer(value), - ($38.StopPlanResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.ListPlanStatusesRequest, $38.ListPlanStatusesResponse>( - 'ListPlanStatuses', - listPlanStatuses_Pre, - false, - false, - ($core.List<$core.int> value) => $38.ListPlanStatusesRequest.fromBuffer(value), - ($38.ListPlanStatusesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.GetPlanRequest, $38.GetPlanResponse>( - 'GetPlan', - getPlan_Pre, - false, - false, - ($core.List<$core.int> value) => $38.GetPlanRequest.fromBuffer(value), - ($38.GetPlanResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$38.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$38.MoveRequest> request) async { - return move(call, await request); - } - - $async.Future<$38.MoveOnMapResponse> moveOnMap_Pre($grpc.ServiceCall call, $async.Future<$38.MoveOnMapRequest> request) async { - return moveOnMap(call, await request); - } - - $async.Future<$38.MoveOnGlobeResponse> moveOnGlobe_Pre($grpc.ServiceCall call, $async.Future<$38.MoveOnGlobeRequest> request) async { - return moveOnGlobe(call, await request); - } - - $async.Future<$38.GetPoseResponse> getPose_Pre($grpc.ServiceCall call, $async.Future<$38.GetPoseRequest> request) async { - return getPose(call, await request); - } - - $async.Future<$38.StopPlanResponse> stopPlan_Pre($grpc.ServiceCall call, $async.Future<$38.StopPlanRequest> request) async { - return stopPlan(call, await request); - } - - $async.Future<$38.ListPlanStatusesResponse> listPlanStatuses_Pre($grpc.ServiceCall call, $async.Future<$38.ListPlanStatusesRequest> request) async { - return listPlanStatuses(call, await request); - } - - $async.Future<$38.GetPlanResponse> getPlan_Pre($grpc.ServiceCall call, $async.Future<$38.GetPlanRequest> request) async { - return getPlan(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$38.MoveResponse> move($grpc.ServiceCall call, $38.MoveRequest request); - $async.Future<$38.MoveOnMapResponse> moveOnMap($grpc.ServiceCall call, $38.MoveOnMapRequest request); - $async.Future<$38.MoveOnGlobeResponse> moveOnGlobe($grpc.ServiceCall call, $38.MoveOnGlobeRequest request); - $async.Future<$38.GetPoseResponse> getPose($grpc.ServiceCall call, $38.GetPoseRequest request); - $async.Future<$38.StopPlanResponse> stopPlan($grpc.ServiceCall call, $38.StopPlanRequest request); - $async.Future<$38.ListPlanStatusesResponse> listPlanStatuses($grpc.ServiceCall call, $38.ListPlanStatusesRequest request); - $async.Future<$38.GetPlanResponse> getPlan($grpc.ServiceCall call, $38.GetPlanRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/motion/v1/motion.pbjson.dart b/lib/src/gen/service/motion/v1/motion.pbjson.dart deleted file mode 100644 index eb76c8cb6f8..00000000000 --- a/lib/src/gen/service/motion/v1/motion.pbjson.dart +++ /dev/null @@ -1,529 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/motion/v1/motion.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use planStateDescriptor instead') -const PlanState$json = { - '1': 'PlanState', - '2': [ - {'1': 'PLAN_STATE_UNSPECIFIED', '2': 0}, - {'1': 'PLAN_STATE_IN_PROGRESS', '2': 1}, - {'1': 'PLAN_STATE_STOPPED', '2': 2}, - {'1': 'PLAN_STATE_SUCCEEDED', '2': 3}, - {'1': 'PLAN_STATE_FAILED', '2': 4}, - ], -}; - -/// Descriptor for `PlanState`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List planStateDescriptor = $convert.base64Decode( - 'CglQbGFuU3RhdGUSGgoWUExBTl9TVEFURV9VTlNQRUNJRklFRBAAEhoKFlBMQU5fU1RBVEVfSU' - '5fUFJPR1JFU1MQARIWChJQTEFOX1NUQVRFX1NUT1BQRUQQAhIYChRQTEFOX1NUQVRFX1NVQ0NF' - 'RURFRBADEhUKEVBMQU5fU1RBVEVfRkFJTEVEEAQ='); - -@$core.Deprecated('Use moveRequestDescriptor instead') -const MoveRequest$json = { - '1': 'MoveRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'destination', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.PoseInFrame', '10': 'destination'}, - {'1': 'component_name', '3': 3, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'world_state', '3': 4, '4': 1, '5': 11, '6': '.viam.common.v1.WorldState', '9': 0, '10': 'worldState', '17': true}, - {'1': 'constraints', '3': 5, '4': 1, '5': 11, '6': '.viam.service.motion.v1.Constraints', '9': 1, '10': 'constraints', '17': true}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '8': [ - {'1': '_world_state'}, - {'1': '_constraints'}, - ], -}; - -/// Descriptor for `MoveRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveRequestDescriptor = $convert.base64Decode( - 'CgtNb3ZlUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEj0KC2Rlc3RpbmF0aW9uGAIgASgLMh' - 'sudmlhbS5jb21tb24udjEuUG9zZUluRnJhbWVSC2Rlc3RpbmF0aW9uEkMKDmNvbXBvbmVudF9u' - 'YW1lGAMgASgLMhwudmlhbS5jb21tb24udjEuUmVzb3VyY2VOYW1lUg1jb21wb25lbnROYW1lEk' - 'AKC3dvcmxkX3N0YXRlGAQgASgLMhoudmlhbS5jb21tb24udjEuV29ybGRTdGF0ZUgAUgp3b3Js' - 'ZFN0YXRliAEBEkoKC2NvbnN0cmFpbnRzGAUgASgLMiMudmlhbS5zZXJ2aWNlLm1vdGlvbi52MS' - '5Db25zdHJhaW50c0gBUgtjb25zdHJhaW50c4gBARItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5w' - 'cm90b2J1Zi5TdHJ1Y3RSBWV4dHJhQg4KDF93b3JsZF9zdGF0ZUIOCgxfY29uc3RyYWludHM='); - -@$core.Deprecated('Use moveResponseDescriptor instead') -const MoveResponse$json = { - '1': 'MoveResponse', - '2': [ - {'1': 'success', '3': 1, '4': 1, '5': 8, '10': 'success'}, - ], -}; - -/// Descriptor for `MoveResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveResponseDescriptor = $convert.base64Decode( - 'CgxNb3ZlUmVzcG9uc2USGAoHc3VjY2VzcxgBIAEoCFIHc3VjY2Vzcw=='); - -@$core.Deprecated('Use moveOnMapRequestDescriptor instead') -const MoveOnMapRequest$json = { - '1': 'MoveOnMapRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'destination', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'destination'}, - {'1': 'component_name', '3': 3, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'slam_service_name', '3': 4, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'slamServiceName'}, - {'1': 'motion_configuration', '3': 5, '4': 1, '5': 11, '6': '.viam.service.motion.v1.MotionConfiguration', '9': 0, '10': 'motionConfiguration', '17': true}, - {'1': 'obstacles', '3': 6, '4': 3, '5': 11, '6': '.viam.common.v1.Geometry', '10': 'obstacles'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '8': [ - {'1': '_motion_configuration'}, - ], -}; - -/// Descriptor for `MoveOnMapRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveOnMapRequestDescriptor = $convert.base64Decode( - 'ChBNb3ZlT25NYXBSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSNgoLZGVzdGluYXRpb24YAi' - 'ABKAsyFC52aWFtLmNvbW1vbi52MS5Qb3NlUgtkZXN0aW5hdGlvbhJDCg5jb21wb25lbnRfbmFt' - 'ZRgDIAEoCzIcLnZpYW0uY29tbW9uLnYxLlJlc291cmNlTmFtZVINY29tcG9uZW50TmFtZRJICh' - 'FzbGFtX3NlcnZpY2VfbmFtZRgEIAEoCzIcLnZpYW0uY29tbW9uLnYxLlJlc291cmNlTmFtZVIP' - 'c2xhbVNlcnZpY2VOYW1lEmMKFG1vdGlvbl9jb25maWd1cmF0aW9uGAUgASgLMisudmlhbS5zZX' - 'J2aWNlLm1vdGlvbi52MS5Nb3Rpb25Db25maWd1cmF0aW9uSABSE21vdGlvbkNvbmZpZ3VyYXRp' - 'b26IAQESNgoJb2JzdGFjbGVzGAYgAygLMhgudmlhbS5jb21tb24udjEuR2VvbWV0cnlSCW9ic3' - 'RhY2xlcxItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJhQhcK' - 'FV9tb3Rpb25fY29uZmlndXJhdGlvbg=='); - -@$core.Deprecated('Use moveOnMapResponseDescriptor instead') -const MoveOnMapResponse$json = { - '1': 'MoveOnMapResponse', - '2': [ - {'1': 'execution_id', '3': 1, '4': 1, '5': 9, '10': 'executionId'}, - ], -}; - -/// Descriptor for `MoveOnMapResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveOnMapResponseDescriptor = $convert.base64Decode( - 'ChFNb3ZlT25NYXBSZXNwb25zZRIhCgxleGVjdXRpb25faWQYASABKAlSC2V4ZWN1dGlvbklk'); - -@$core.Deprecated('Use obstacleDetectorDescriptor instead') -const ObstacleDetector$json = { - '1': 'ObstacleDetector', - '2': [ - {'1': 'vision_service', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'visionService'}, - {'1': 'camera', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'camera'}, - ], -}; - -/// Descriptor for `ObstacleDetector`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List obstacleDetectorDescriptor = $convert.base64Decode( - 'ChBPYnN0YWNsZURldGVjdG9yEkMKDnZpc2lvbl9zZXJ2aWNlGAEgASgLMhwudmlhbS5jb21tb2' - '4udjEuUmVzb3VyY2VOYW1lUg12aXNpb25TZXJ2aWNlEjQKBmNhbWVyYRgCIAEoCzIcLnZpYW0u' - 'Y29tbW9uLnYxLlJlc291cmNlTmFtZVIGY2FtZXJh'); - -@$core.Deprecated('Use motionConfigurationDescriptor instead') -const MotionConfiguration$json = { - '1': 'MotionConfiguration', - '2': [ - {'1': 'obstacle_detectors', '3': 1, '4': 3, '5': 11, '6': '.viam.service.motion.v1.ObstacleDetector', '10': 'obstacleDetectors'}, - {'1': 'position_polling_frequency_hz', '3': 2, '4': 1, '5': 1, '9': 0, '10': 'positionPollingFrequencyHz', '17': true}, - {'1': 'obstacle_polling_frequency_hz', '3': 3, '4': 1, '5': 1, '9': 1, '10': 'obstaclePollingFrequencyHz', '17': true}, - {'1': 'plan_deviation_m', '3': 4, '4': 1, '5': 1, '9': 2, '10': 'planDeviationM', '17': true}, - {'1': 'linear_m_per_sec', '3': 5, '4': 1, '5': 1, '9': 3, '10': 'linearMPerSec', '17': true}, - {'1': 'angular_degs_per_sec', '3': 6, '4': 1, '5': 1, '9': 4, '10': 'angularDegsPerSec', '17': true}, - ], - '8': [ - {'1': '_position_polling_frequency_hz'}, - {'1': '_obstacle_polling_frequency_hz'}, - {'1': '_plan_deviation_m'}, - {'1': '_linear_m_per_sec'}, - {'1': '_angular_degs_per_sec'}, - ], -}; - -/// Descriptor for `MotionConfiguration`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List motionConfigurationDescriptor = $convert.base64Decode( - 'ChNNb3Rpb25Db25maWd1cmF0aW9uElcKEm9ic3RhY2xlX2RldGVjdG9ycxgBIAMoCzIoLnZpYW' - '0uc2VydmljZS5tb3Rpb24udjEuT2JzdGFjbGVEZXRlY3RvclIRb2JzdGFjbGVEZXRlY3RvcnMS' - 'RgodcG9zaXRpb25fcG9sbGluZ19mcmVxdWVuY3lfaHoYAiABKAFIAFIacG9zaXRpb25Qb2xsaW' - '5nRnJlcXVlbmN5SHqIAQESRgodb2JzdGFjbGVfcG9sbGluZ19mcmVxdWVuY3lfaHoYAyABKAFI' - 'AVIab2JzdGFjbGVQb2xsaW5nRnJlcXVlbmN5SHqIAQESLQoQcGxhbl9kZXZpYXRpb25fbRgEIA' - 'EoAUgCUg5wbGFuRGV2aWF0aW9uTYgBARIsChBsaW5lYXJfbV9wZXJfc2VjGAUgASgBSANSDWxp' - 'bmVhck1QZXJTZWOIAQESNAoUYW5ndWxhcl9kZWdzX3Blcl9zZWMYBiABKAFIBFIRYW5ndWxhck' - 'RlZ3NQZXJTZWOIAQFCIAoeX3Bvc2l0aW9uX3BvbGxpbmdfZnJlcXVlbmN5X2h6QiAKHl9vYnN0' - 'YWNsZV9wb2xsaW5nX2ZyZXF1ZW5jeV9oekITChFfcGxhbl9kZXZpYXRpb25fbUITChFfbGluZW' - 'FyX21fcGVyX3NlY0IXChVfYW5ndWxhcl9kZWdzX3Blcl9zZWM='); - -@$core.Deprecated('Use moveOnGlobeRequestDescriptor instead') -const MoveOnGlobeRequest$json = { - '1': 'MoveOnGlobeRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'destination', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.GeoPoint', '10': 'destination'}, - {'1': 'heading', '3': 3, '4': 1, '5': 1, '9': 0, '10': 'heading', '17': true}, - {'1': 'component_name', '3': 4, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'movement_sensor_name', '3': 5, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'movementSensorName'}, - {'1': 'obstacles', '3': 6, '4': 3, '5': 11, '6': '.viam.common.v1.GeoGeometry', '10': 'obstacles'}, - {'1': 'motion_configuration', '3': 7, '4': 1, '5': 11, '6': '.viam.service.motion.v1.MotionConfiguration', '9': 1, '10': 'motionConfiguration', '17': true}, - {'1': 'bounding_regions', '3': 8, '4': 3, '5': 11, '6': '.viam.common.v1.GeoGeometry', '10': 'boundingRegions'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '8': [ - {'1': '_heading'}, - {'1': '_motion_configuration'}, - ], -}; - -/// Descriptor for `MoveOnGlobeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveOnGlobeRequestDescriptor = $convert.base64Decode( - 'ChJNb3ZlT25HbG9iZVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRI6CgtkZXN0aW5hdGlvbh' - 'gCIAEoCzIYLnZpYW0uY29tbW9uLnYxLkdlb1BvaW50UgtkZXN0aW5hdGlvbhIdCgdoZWFkaW5n' - 'GAMgASgBSABSB2hlYWRpbmeIAQESQwoOY29tcG9uZW50X25hbWUYBCABKAsyHC52aWFtLmNvbW' - '1vbi52MS5SZXNvdXJjZU5hbWVSDWNvbXBvbmVudE5hbWUSTgoUbW92ZW1lbnRfc2Vuc29yX25h' - 'bWUYBSABKAsyHC52aWFtLmNvbW1vbi52MS5SZXNvdXJjZU5hbWVSEm1vdmVtZW50U2Vuc29yTm' - 'FtZRI5CglvYnN0YWNsZXMYBiADKAsyGy52aWFtLmNvbW1vbi52MS5HZW9HZW9tZXRyeVIJb2Jz' - 'dGFjbGVzEmMKFG1vdGlvbl9jb25maWd1cmF0aW9uGAcgASgLMisudmlhbS5zZXJ2aWNlLm1vdG' - 'lvbi52MS5Nb3Rpb25Db25maWd1cmF0aW9uSAFSE21vdGlvbkNvbmZpZ3VyYXRpb26IAQESRgoQ' - 'Ym91bmRpbmdfcmVnaW9ucxgIIAMoCzIbLnZpYW0uY29tbW9uLnYxLkdlb0dlb21ldHJ5Ug9ib3' - 'VuZGluZ1JlZ2lvbnMSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVl' - 'eHRyYUIKCghfaGVhZGluZ0IXChVfbW90aW9uX2NvbmZpZ3VyYXRpb24='); - -@$core.Deprecated('Use moveOnGlobeResponseDescriptor instead') -const MoveOnGlobeResponse$json = { - '1': 'MoveOnGlobeResponse', - '2': [ - {'1': 'execution_id', '3': 1, '4': 1, '5': 9, '10': 'executionId'}, - ], -}; - -/// Descriptor for `MoveOnGlobeResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List moveOnGlobeResponseDescriptor = $convert.base64Decode( - 'ChNNb3ZlT25HbG9iZVJlc3BvbnNlEiEKDGV4ZWN1dGlvbl9pZBgBIAEoCVILZXhlY3V0aW9uSW' - 'Q='); - -@$core.Deprecated('Use getPoseRequestDescriptor instead') -const GetPoseRequest$json = { - '1': 'GetPoseRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'component_name', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'destination_frame', '3': 3, '4': 1, '5': 9, '10': 'destinationFrame'}, - {'1': 'supplemental_transforms', '3': 4, '4': 3, '5': 11, '6': '.viam.common.v1.Transform', '10': 'supplementalTransforms'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPoseRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPoseRequestDescriptor = $convert.base64Decode( - 'Cg5HZXRQb3NlUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEkMKDmNvbXBvbmVudF9uYW1lGA' - 'IgASgLMhwudmlhbS5jb21tb24udjEuUmVzb3VyY2VOYW1lUg1jb21wb25lbnROYW1lEisKEWRl' - 'c3RpbmF0aW9uX2ZyYW1lGAMgASgJUhBkZXN0aW5hdGlvbkZyYW1lElIKF3N1cHBsZW1lbnRhbF' - '90cmFuc2Zvcm1zGAQgAygLMhkudmlhbS5jb21tb24udjEuVHJhbnNmb3JtUhZzdXBwbGVtZW50' - 'YWxUcmFuc2Zvcm1zEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZX' - 'h0cmE='); - -@$core.Deprecated('Use getPoseResponseDescriptor instead') -const GetPoseResponse$json = { - '1': 'GetPoseResponse', - '2': [ - {'1': 'pose', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.PoseInFrame', '10': 'pose'}, - ], -}; - -/// Descriptor for `GetPoseResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPoseResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRQb3NlUmVzcG9uc2USLwoEcG9zZRgBIAEoCzIbLnZpYW0uY29tbW9uLnYxLlBvc2VJbk' - 'ZyYW1lUgRwb3Nl'); - -@$core.Deprecated('Use stopPlanRequestDescriptor instead') -const StopPlanRequest$json = { - '1': 'StopPlanRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'component_name', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `StopPlanRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopPlanRequestDescriptor = $convert.base64Decode( - 'Cg9TdG9wUGxhblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRJDCg5jb21wb25lbnRfbmFtZR' - 'gCIAEoCzIcLnZpYW0uY29tbW9uLnYxLlJlc291cmNlTmFtZVINY29tcG9uZW50TmFtZRItCgVl' - 'eHRyYRhjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use stopPlanResponseDescriptor instead') -const StopPlanResponse$json = { - '1': 'StopPlanResponse', -}; - -/// Descriptor for `StopPlanResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stopPlanResponseDescriptor = $convert.base64Decode( - 'ChBTdG9wUGxhblJlc3BvbnNl'); - -@$core.Deprecated('Use listPlanStatusesRequestDescriptor instead') -const ListPlanStatusesRequest$json = { - '1': 'ListPlanStatusesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'only_active_plans', '3': 2, '4': 1, '5': 8, '10': 'onlyActivePlans'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `ListPlanStatusesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listPlanStatusesRequestDescriptor = $convert.base64Decode( - 'ChdMaXN0UGxhblN0YXR1c2VzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEioKEW9ubHlfYW' - 'N0aXZlX3BsYW5zGAIgASgIUg9vbmx5QWN0aXZlUGxhbnMSLQoFZXh0cmEYYyABKAsyFy5nb29n' - 'bGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use listPlanStatusesResponseDescriptor instead') -const ListPlanStatusesResponse$json = { - '1': 'ListPlanStatusesResponse', - '2': [ - {'1': 'plan_statuses_with_ids', '3': 1, '4': 3, '5': 11, '6': '.viam.service.motion.v1.PlanStatusWithID', '10': 'planStatusesWithIds'}, - ], -}; - -/// Descriptor for `ListPlanStatusesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listPlanStatusesResponseDescriptor = $convert.base64Decode( - 'ChhMaXN0UGxhblN0YXR1c2VzUmVzcG9uc2USXQoWcGxhbl9zdGF0dXNlc193aXRoX2lkcxgBIA' - 'MoCzIoLnZpYW0uc2VydmljZS5tb3Rpb24udjEuUGxhblN0YXR1c1dpdGhJRFITcGxhblN0YXR1' - 'c2VzV2l0aElkcw=='); - -@$core.Deprecated('Use getPlanRequestDescriptor instead') -const GetPlanRequest$json = { - '1': 'GetPlanRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'component_name', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'last_plan_only', '3': 3, '4': 1, '5': 8, '10': 'lastPlanOnly'}, - {'1': 'execution_id', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'executionId', '17': true}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], - '8': [ - {'1': '_execution_id'}, - ], -}; - -/// Descriptor for `GetPlanRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPlanRequestDescriptor = $convert.base64Decode( - 'Cg5HZXRQbGFuUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEkMKDmNvbXBvbmVudF9uYW1lGA' - 'IgASgLMhwudmlhbS5jb21tb24udjEuUmVzb3VyY2VOYW1lUg1jb21wb25lbnROYW1lEiQKDmxh' - 'c3RfcGxhbl9vbmx5GAMgASgIUgxsYXN0UGxhbk9ubHkSJgoMZXhlY3V0aW9uX2lkGAQgASgJSA' - 'BSC2V4ZWN1dGlvbklkiAEBEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVj' - 'dFIFZXh0cmFCDwoNX2V4ZWN1dGlvbl9pZA=='); - -@$core.Deprecated('Use getPlanResponseDescriptor instead') -const GetPlanResponse$json = { - '1': 'GetPlanResponse', - '2': [ - {'1': 'current_plan_with_status', '3': 1, '4': 1, '5': 11, '6': '.viam.service.motion.v1.PlanWithStatus', '10': 'currentPlanWithStatus'}, - {'1': 'replan_history', '3': 2, '4': 3, '5': 11, '6': '.viam.service.motion.v1.PlanWithStatus', '10': 'replanHistory'}, - ], -}; - -/// Descriptor for `GetPlanResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPlanResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRQbGFuUmVzcG9uc2USXwoYY3VycmVudF9wbGFuX3dpdGhfc3RhdHVzGAEgASgLMiYudm' - 'lhbS5zZXJ2aWNlLm1vdGlvbi52MS5QbGFuV2l0aFN0YXR1c1IVY3VycmVudFBsYW5XaXRoU3Rh' - 'dHVzEk0KDnJlcGxhbl9oaXN0b3J5GAIgAygLMiYudmlhbS5zZXJ2aWNlLm1vdGlvbi52MS5QbG' - 'FuV2l0aFN0YXR1c1INcmVwbGFuSGlzdG9yeQ=='); - -@$core.Deprecated('Use constraintsDescriptor instead') -const Constraints$json = { - '1': 'Constraints', - '2': [ - {'1': 'linear_constraint', '3': 1, '4': 3, '5': 11, '6': '.viam.service.motion.v1.LinearConstraint', '10': 'linearConstraint'}, - {'1': 'orientation_constraint', '3': 2, '4': 3, '5': 11, '6': '.viam.service.motion.v1.OrientationConstraint', '10': 'orientationConstraint'}, - {'1': 'collision_specification', '3': 3, '4': 3, '5': 11, '6': '.viam.service.motion.v1.CollisionSpecification', '10': 'collisionSpecification'}, - ], -}; - -/// Descriptor for `Constraints`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List constraintsDescriptor = $convert.base64Decode( - 'CgtDb25zdHJhaW50cxJVChFsaW5lYXJfY29uc3RyYWludBgBIAMoCzIoLnZpYW0uc2VydmljZS' - '5tb3Rpb24udjEuTGluZWFyQ29uc3RyYWludFIQbGluZWFyQ29uc3RyYWludBJkChZvcmllbnRh' - 'dGlvbl9jb25zdHJhaW50GAIgAygLMi0udmlhbS5zZXJ2aWNlLm1vdGlvbi52MS5PcmllbnRhdG' - 'lvbkNvbnN0cmFpbnRSFW9yaWVudGF0aW9uQ29uc3RyYWludBJnChdjb2xsaXNpb25fc3BlY2lm' - 'aWNhdGlvbhgDIAMoCzIuLnZpYW0uc2VydmljZS5tb3Rpb24udjEuQ29sbGlzaW9uU3BlY2lmaW' - 'NhdGlvblIWY29sbGlzaW9uU3BlY2lmaWNhdGlvbg=='); - -@$core.Deprecated('Use linearConstraintDescriptor instead') -const LinearConstraint$json = { - '1': 'LinearConstraint', - '2': [ - {'1': 'line_tolerance_mm', '3': 1, '4': 1, '5': 2, '9': 0, '10': 'lineToleranceMm', '17': true}, - {'1': 'orientation_tolerance_degs', '3': 2, '4': 1, '5': 2, '9': 1, '10': 'orientationToleranceDegs', '17': true}, - ], - '8': [ - {'1': '_line_tolerance_mm'}, - {'1': '_orientation_tolerance_degs'}, - ], -}; - -/// Descriptor for `LinearConstraint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List linearConstraintDescriptor = $convert.base64Decode( - 'ChBMaW5lYXJDb25zdHJhaW50Ei8KEWxpbmVfdG9sZXJhbmNlX21tGAEgASgCSABSD2xpbmVUb2' - 'xlcmFuY2VNbYgBARJBChpvcmllbnRhdGlvbl90b2xlcmFuY2VfZGVncxgCIAEoAkgBUhhvcmll' - 'bnRhdGlvblRvbGVyYW5jZURlZ3OIAQFCFAoSX2xpbmVfdG9sZXJhbmNlX21tQh0KG19vcmllbn' - 'RhdGlvbl90b2xlcmFuY2VfZGVncw=='); - -@$core.Deprecated('Use orientationConstraintDescriptor instead') -const OrientationConstraint$json = { - '1': 'OrientationConstraint', - '2': [ - {'1': 'orientation_tolerance_degs', '3': 1, '4': 1, '5': 2, '9': 0, '10': 'orientationToleranceDegs', '17': true}, - ], - '8': [ - {'1': '_orientation_tolerance_degs'}, - ], -}; - -/// Descriptor for `OrientationConstraint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List orientationConstraintDescriptor = $convert.base64Decode( - 'ChVPcmllbnRhdGlvbkNvbnN0cmFpbnQSQQoab3JpZW50YXRpb25fdG9sZXJhbmNlX2RlZ3MYAS' - 'ABKAJIAFIYb3JpZW50YXRpb25Ub2xlcmFuY2VEZWdziAEBQh0KG19vcmllbnRhdGlvbl90b2xl' - 'cmFuY2VfZGVncw=='); - -@$core.Deprecated('Use collisionSpecificationDescriptor instead') -const CollisionSpecification$json = { - '1': 'CollisionSpecification', - '2': [ - {'1': 'allows', '3': 1, '4': 3, '5': 11, '6': '.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisions', '10': 'allows'}, - ], - '3': [CollisionSpecification_AllowedFrameCollisions$json], -}; - -@$core.Deprecated('Use collisionSpecificationDescriptor instead') -const CollisionSpecification_AllowedFrameCollisions$json = { - '1': 'AllowedFrameCollisions', - '2': [ - {'1': 'frame1', '3': 1, '4': 1, '5': 9, '10': 'frame1'}, - {'1': 'frame2', '3': 2, '4': 1, '5': 9, '10': 'frame2'}, - ], -}; - -/// Descriptor for `CollisionSpecification`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List collisionSpecificationDescriptor = $convert.base64Decode( - 'ChZDb2xsaXNpb25TcGVjaWZpY2F0aW9uEl0KBmFsbG93cxgBIAMoCzJFLnZpYW0uc2VydmljZS' - '5tb3Rpb24udjEuQ29sbGlzaW9uU3BlY2lmaWNhdGlvbi5BbGxvd2VkRnJhbWVDb2xsaXNpb25z' - 'UgZhbGxvd3MaSAoWQWxsb3dlZEZyYW1lQ29sbGlzaW9ucxIWCgZmcmFtZTEYASABKAlSBmZyYW' - '1lMRIWCgZmcmFtZTIYAiABKAlSBmZyYW1lMg=='); - -@$core.Deprecated('Use planWithStatusDescriptor instead') -const PlanWithStatus$json = { - '1': 'PlanWithStatus', - '2': [ - {'1': 'plan', '3': 1, '4': 1, '5': 11, '6': '.viam.service.motion.v1.Plan', '10': 'plan'}, - {'1': 'status', '3': 2, '4': 1, '5': 11, '6': '.viam.service.motion.v1.PlanStatus', '10': 'status'}, - {'1': 'status_history', '3': 3, '4': 3, '5': 11, '6': '.viam.service.motion.v1.PlanStatus', '10': 'statusHistory'}, - ], -}; - -/// Descriptor for `PlanWithStatus`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List planWithStatusDescriptor = $convert.base64Decode( - 'Cg5QbGFuV2l0aFN0YXR1cxIwCgRwbGFuGAEgASgLMhwudmlhbS5zZXJ2aWNlLm1vdGlvbi52MS' - '5QbGFuUgRwbGFuEjoKBnN0YXR1cxgCIAEoCzIiLnZpYW0uc2VydmljZS5tb3Rpb24udjEuUGxh' - 'blN0YXR1c1IGc3RhdHVzEkkKDnN0YXR1c19oaXN0b3J5GAMgAygLMiIudmlhbS5zZXJ2aWNlLm' - '1vdGlvbi52MS5QbGFuU3RhdHVzUg1zdGF0dXNIaXN0b3J5'); - -@$core.Deprecated('Use planStatusWithIDDescriptor instead') -const PlanStatusWithID$json = { - '1': 'PlanStatusWithID', - '2': [ - {'1': 'plan_id', '3': 1, '4': 1, '5': 9, '10': 'planId'}, - {'1': 'component_name', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'execution_id', '3': 3, '4': 1, '5': 9, '10': 'executionId'}, - {'1': 'status', '3': 4, '4': 1, '5': 11, '6': '.viam.service.motion.v1.PlanStatus', '10': 'status'}, - ], -}; - -/// Descriptor for `PlanStatusWithID`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List planStatusWithIDDescriptor = $convert.base64Decode( - 'ChBQbGFuU3RhdHVzV2l0aElEEhcKB3BsYW5faWQYASABKAlSBnBsYW5JZBJDCg5jb21wb25lbn' - 'RfbmFtZRgCIAEoCzIcLnZpYW0uY29tbW9uLnYxLlJlc291cmNlTmFtZVINY29tcG9uZW50TmFt' - 'ZRIhCgxleGVjdXRpb25faWQYAyABKAlSC2V4ZWN1dGlvbklkEjoKBnN0YXR1cxgEIAEoCzIiLn' - 'ZpYW0uc2VydmljZS5tb3Rpb24udjEuUGxhblN0YXR1c1IGc3RhdHVz'); - -@$core.Deprecated('Use planStatusDescriptor instead') -const PlanStatus$json = { - '1': 'PlanStatus', - '2': [ - {'1': 'state', '3': 1, '4': 1, '5': 14, '6': '.viam.service.motion.v1.PlanState', '10': 'state'}, - {'1': 'timestamp', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timestamp'}, - {'1': 'reason', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'reason', '17': true}, - ], - '8': [ - {'1': '_reason'}, - ], -}; - -/// Descriptor for `PlanStatus`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List planStatusDescriptor = $convert.base64Decode( - 'CgpQbGFuU3RhdHVzEjcKBXN0YXRlGAEgASgOMiEudmlhbS5zZXJ2aWNlLm1vdGlvbi52MS5QbG' - 'FuU3RhdGVSBXN0YXRlEjgKCXRpbWVzdGFtcBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l' - 'c3RhbXBSCXRpbWVzdGFtcBIbCgZyZWFzb24YAyABKAlIAFIGcmVhc29uiAEBQgkKB19yZWFzb2' - '4='); - -@$core.Deprecated('Use planDescriptor instead') -const Plan$json = { - '1': 'Plan', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'component_name', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.ResourceName', '10': 'componentName'}, - {'1': 'execution_id', '3': 3, '4': 1, '5': 9, '10': 'executionId'}, - {'1': 'steps', '3': 4, '4': 3, '5': 11, '6': '.viam.service.motion.v1.PlanStep', '10': 'steps'}, - ], -}; - -/// Descriptor for `Plan`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List planDescriptor = $convert.base64Decode( - 'CgRQbGFuEg4KAmlkGAEgASgJUgJpZBJDCg5jb21wb25lbnRfbmFtZRgCIAEoCzIcLnZpYW0uY2' - '9tbW9uLnYxLlJlc291cmNlTmFtZVINY29tcG9uZW50TmFtZRIhCgxleGVjdXRpb25faWQYAyAB' - 'KAlSC2V4ZWN1dGlvbklkEjYKBXN0ZXBzGAQgAygLMiAudmlhbS5zZXJ2aWNlLm1vdGlvbi52MS' - '5QbGFuU3RlcFIFc3RlcHM='); - -@$core.Deprecated('Use planStepDescriptor instead') -const PlanStep$json = { - '1': 'PlanStep', - '2': [ - {'1': 'step', '3': 1, '4': 3, '5': 11, '6': '.viam.service.motion.v1.PlanStep.StepEntry', '10': 'step'}, - ], - '3': [PlanStep_StepEntry$json], -}; - -@$core.Deprecated('Use planStepDescriptor instead') -const PlanStep_StepEntry$json = { - '1': 'StepEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.viam.service.motion.v1.ComponentState', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `PlanStep`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List planStepDescriptor = $convert.base64Decode( - 'CghQbGFuU3RlcBI+CgRzdGVwGAEgAygLMioudmlhbS5zZXJ2aWNlLm1vdGlvbi52MS5QbGFuU3' - 'RlcC5TdGVwRW50cnlSBHN0ZXAaXwoJU3RlcEVudHJ5EhAKA2tleRgBIAEoCVIDa2V5EjwKBXZh' - 'bHVlGAIgASgLMiYudmlhbS5zZXJ2aWNlLm1vdGlvbi52MS5Db21wb25lbnRTdGF0ZVIFdmFsdW' - 'U6AjgB'); - -@$core.Deprecated('Use componentStateDescriptor instead') -const ComponentState$json = { - '1': 'ComponentState', - '2': [ - {'1': 'pose', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'pose'}, - ], -}; - -/// Descriptor for `ComponentState`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List componentStateDescriptor = $convert.base64Decode( - 'Cg5Db21wb25lbnRTdGF0ZRIoCgRwb3NlGAEgASgLMhQudmlhbS5jb21tb24udjEuUG9zZVIEcG' - '9zZQ=='); - diff --git a/lib/src/gen/service/navigation/v1/navigation.pb.dart b/lib/src/gen/service/navigation/v1/navigation.pb.dart deleted file mode 100644 index da6e50da066..00000000000 --- a/lib/src/gen/service/navigation/v1/navigation.pb.dart +++ /dev/null @@ -1,1187 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/navigation/v1/navigation.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; -import 'navigation.pbenum.dart'; - -export 'navigation.pbenum.dart'; - -class GetModeRequest extends $pb.GeneratedMessage { - factory GetModeRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetModeRequest._() : super(); - factory GetModeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetModeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetModeRequest clone() => GetModeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetModeRequest copyWith(void Function(GetModeRequest) updates) => super.copyWith((message) => updates(message as GetModeRequest)) as GetModeRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetModeRequest create() => GetModeRequest._(); - GetModeRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetModeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetModeRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetModeResponse extends $pb.GeneratedMessage { - factory GetModeResponse({ - Mode? mode, - }) { - final $result = create(); - if (mode != null) { - $result.mode = mode; - } - return $result; - } - GetModeResponse._() : super(); - factory GetModeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetModeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'mode', $pb.PbFieldType.OE, defaultOrMaker: Mode.MODE_UNSPECIFIED, valueOf: Mode.valueOf, enumValues: Mode.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetModeResponse clone() => GetModeResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetModeResponse copyWith(void Function(GetModeResponse) updates) => super.copyWith((message) => updates(message as GetModeResponse)) as GetModeResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetModeResponse create() => GetModeResponse._(); - GetModeResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetModeResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetModeResponse? _defaultInstance; - - @$pb.TagNumber(1) - Mode get mode => $_getN(0); - @$pb.TagNumber(1) - set mode(Mode v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMode() => $_has(0); - @$pb.TagNumber(1) - void clearMode() => clearField(1); -} - -class SetModeRequest extends $pb.GeneratedMessage { - factory SetModeRequest({ - $core.String? name, - Mode? mode, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (mode != null) { - $result.mode = mode; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - SetModeRequest._() : super(); - factory SetModeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetModeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetModeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..e(2, _omitFieldNames ? '' : 'mode', $pb.PbFieldType.OE, defaultOrMaker: Mode.MODE_UNSPECIFIED, valueOf: Mode.valueOf, enumValues: Mode.values) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetModeRequest clone() => SetModeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetModeRequest copyWith(void Function(SetModeRequest) updates) => super.copyWith((message) => updates(message as SetModeRequest)) as SetModeRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetModeRequest create() => SetModeRequest._(); - SetModeRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetModeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetModeRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - Mode get mode => $_getN(1); - @$pb.TagNumber(2) - set mode(Mode v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasMode() => $_has(1); - @$pb.TagNumber(2) - void clearMode() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class SetModeResponse extends $pb.GeneratedMessage { - factory SetModeResponse() => create(); - SetModeResponse._() : super(); - factory SetModeResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetModeResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetModeResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetModeResponse clone() => SetModeResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetModeResponse copyWith(void Function(SetModeResponse) updates) => super.copyWith((message) => updates(message as SetModeResponse)) as SetModeResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetModeResponse create() => SetModeResponse._(); - SetModeResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetModeResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetModeResponse? _defaultInstance; -} - -class Waypoint extends $pb.GeneratedMessage { - factory Waypoint({ - $core.String? id, - $15.GeoPoint? location, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (location != null) { - $result.location = location; - } - return $result; - } - Waypoint._() : super(); - factory Waypoint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Waypoint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Waypoint', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$15.GeoPoint>(2, _omitFieldNames ? '' : 'location', subBuilder: $15.GeoPoint.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Waypoint clone() => Waypoint()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Waypoint copyWith(void Function(Waypoint) updates) => super.copyWith((message) => updates(message as Waypoint)) as Waypoint; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Waypoint create() => Waypoint._(); - Waypoint createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Waypoint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Waypoint? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get id => $_getSZ(0); - @$pb.TagNumber(1) - set id($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - $15.GeoPoint get location => $_getN(1); - @$pb.TagNumber(2) - set location($15.GeoPoint v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLocation() => $_has(1); - @$pb.TagNumber(2) - void clearLocation() => clearField(2); - @$pb.TagNumber(2) - $15.GeoPoint ensureLocation() => $_ensure(1); -} - -class GetLocationRequest extends $pb.GeneratedMessage { - factory GetLocationRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetLocationRequest._() : super(); - factory GetLocationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLocationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLocationRequest clone() => GetLocationRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLocationRequest copyWith(void Function(GetLocationRequest) updates) => super.copyWith((message) => updates(message as GetLocationRequest)) as GetLocationRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLocationRequest create() => GetLocationRequest._(); - GetLocationRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLocationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLocationRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetLocationResponse extends $pb.GeneratedMessage { - factory GetLocationResponse({ - $15.GeoPoint? location, - $core.double? compassHeading, - }) { - final $result = create(); - if (location != null) { - $result.location = location; - } - if (compassHeading != null) { - $result.compassHeading = compassHeading; - } - return $result; - } - GetLocationResponse._() : super(); - factory GetLocationResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOM<$15.GeoPoint>(1, _omitFieldNames ? '' : 'location', subBuilder: $15.GeoPoint.create) - ..a<$core.double>(2, _omitFieldNames ? '' : 'compassHeading', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetLocationResponse clone() => GetLocationResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetLocationResponse copyWith(void Function(GetLocationResponse) updates) => super.copyWith((message) => updates(message as GetLocationResponse)) as GetLocationResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetLocationResponse create() => GetLocationResponse._(); - GetLocationResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetLocationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetLocationResponse? _defaultInstance; - - @$pb.TagNumber(1) - $15.GeoPoint get location => $_getN(0); - @$pb.TagNumber(1) - set location($15.GeoPoint v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasLocation() => $_has(0); - @$pb.TagNumber(1) - void clearLocation() => clearField(1); - @$pb.TagNumber(1) - $15.GeoPoint ensureLocation() => $_ensure(0); - - /// A number from [0-360) where 0 is north - /// 90 is east, 180 is south, 270 is west - @$pb.TagNumber(2) - $core.double get compassHeading => $_getN(1); - @$pb.TagNumber(2) - set compassHeading($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasCompassHeading() => $_has(1); - @$pb.TagNumber(2) - void clearCompassHeading() => clearField(2); -} - -class GetWaypointsRequest extends $pb.GeneratedMessage { - factory GetWaypointsRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetWaypointsRequest._() : super(); - factory GetWaypointsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetWaypointsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWaypointsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetWaypointsRequest clone() => GetWaypointsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetWaypointsRequest copyWith(void Function(GetWaypointsRequest) updates) => super.copyWith((message) => updates(message as GetWaypointsRequest)) as GetWaypointsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetWaypointsRequest create() => GetWaypointsRequest._(); - GetWaypointsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetWaypointsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetWaypointsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetWaypointsResponse extends $pb.GeneratedMessage { - factory GetWaypointsResponse({ - $core.Iterable? waypoints, - }) { - final $result = create(); - if (waypoints != null) { - $result.waypoints.addAll(waypoints); - } - return $result; - } - GetWaypointsResponse._() : super(); - factory GetWaypointsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetWaypointsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWaypointsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'waypoints', $pb.PbFieldType.PM, subBuilder: Waypoint.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetWaypointsResponse clone() => GetWaypointsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetWaypointsResponse copyWith(void Function(GetWaypointsResponse) updates) => super.copyWith((message) => updates(message as GetWaypointsResponse)) as GetWaypointsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetWaypointsResponse create() => GetWaypointsResponse._(); - GetWaypointsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetWaypointsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetWaypointsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get waypoints => $_getList(0); -} - -class AddWaypointRequest extends $pb.GeneratedMessage { - factory AddWaypointRequest({ - $core.String? name, - $15.GeoPoint? location, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (location != null) { - $result.location = location; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - AddWaypointRequest._() : super(); - factory AddWaypointRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddWaypointRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddWaypointRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$15.GeoPoint>(2, _omitFieldNames ? '' : 'location', subBuilder: $15.GeoPoint.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddWaypointRequest clone() => AddWaypointRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddWaypointRequest copyWith(void Function(AddWaypointRequest) updates) => super.copyWith((message) => updates(message as AddWaypointRequest)) as AddWaypointRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddWaypointRequest create() => AddWaypointRequest._(); - AddWaypointRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddWaypointRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddWaypointRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $15.GeoPoint get location => $_getN(1); - @$pb.TagNumber(2) - set location($15.GeoPoint v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasLocation() => $_has(1); - @$pb.TagNumber(2) - void clearLocation() => clearField(2); - @$pb.TagNumber(2) - $15.GeoPoint ensureLocation() => $_ensure(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class AddWaypointResponse extends $pb.GeneratedMessage { - factory AddWaypointResponse() => create(); - AddWaypointResponse._() : super(); - factory AddWaypointResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddWaypointResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddWaypointResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddWaypointResponse clone() => AddWaypointResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddWaypointResponse copyWith(void Function(AddWaypointResponse) updates) => super.copyWith((message) => updates(message as AddWaypointResponse)) as AddWaypointResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddWaypointResponse create() => AddWaypointResponse._(); - AddWaypointResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddWaypointResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddWaypointResponse? _defaultInstance; -} - -class RemoveWaypointRequest extends $pb.GeneratedMessage { - factory RemoveWaypointRequest({ - $core.String? name, - $core.String? id, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (id != null) { - $result.id = id; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - RemoveWaypointRequest._() : super(); - factory RemoveWaypointRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveWaypointRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveWaypointRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'id') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveWaypointRequest clone() => RemoveWaypointRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveWaypointRequest copyWith(void Function(RemoveWaypointRequest) updates) => super.copyWith((message) => updates(message as RemoveWaypointRequest)) as RemoveWaypointRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveWaypointRequest create() => RemoveWaypointRequest._(); - RemoveWaypointRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveWaypointRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveWaypointRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get id => $_getSZ(1); - @$pb.TagNumber(2) - set id($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasId() => $_has(1); - @$pb.TagNumber(2) - void clearId() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class RemoveWaypointResponse extends $pb.GeneratedMessage { - factory RemoveWaypointResponse() => create(); - RemoveWaypointResponse._() : super(); - factory RemoveWaypointResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveWaypointResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveWaypointResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveWaypointResponse clone() => RemoveWaypointResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveWaypointResponse copyWith(void Function(RemoveWaypointResponse) updates) => super.copyWith((message) => updates(message as RemoveWaypointResponse)) as RemoveWaypointResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveWaypointResponse create() => RemoveWaypointResponse._(); - RemoveWaypointResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveWaypointResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveWaypointResponse? _defaultInstance; -} - -/// GetObstacles will return the geopoint location and geometry of all -/// known obstacles on the navigation map. Obstacles that are detected -/// through the vision service will only be returned if this endpoint is called -/// when the robot is sensing the obstacle -class GetObstaclesRequest extends $pb.GeneratedMessage { - factory GetObstaclesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetObstaclesRequest._() : super(); - factory GetObstaclesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetObstaclesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObstaclesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetObstaclesRequest clone() => GetObstaclesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetObstaclesRequest copyWith(void Function(GetObstaclesRequest) updates) => super.copyWith((message) => updates(message as GetObstaclesRequest)) as GetObstaclesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetObstaclesRequest create() => GetObstaclesRequest._(); - GetObstaclesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetObstaclesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetObstaclesRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetObstaclesResponse extends $pb.GeneratedMessage { - factory GetObstaclesResponse({ - $core.Iterable<$15.GeoGeometry>? obstacles, - }) { - final $result = create(); - if (obstacles != null) { - $result.obstacles.addAll(obstacles); - } - return $result; - } - GetObstaclesResponse._() : super(); - factory GetObstaclesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetObstaclesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObstaclesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..pc<$15.GeoGeometry>(1, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $15.GeoGeometry.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetObstaclesResponse clone() => GetObstaclesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetObstaclesResponse copyWith(void Function(GetObstaclesResponse) updates) => super.copyWith((message) => updates(message as GetObstaclesResponse)) as GetObstaclesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetObstaclesResponse create() => GetObstaclesResponse._(); - GetObstaclesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetObstaclesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetObstaclesResponse? _defaultInstance; - - /// List of all known geometries - @$pb.TagNumber(1) - $core.List<$15.GeoGeometry> get obstacles => $_getList(0); -} - -/// A user provided destination and the set of geopoints that -/// the robot is expected to take to get there -class Path extends $pb.GeneratedMessage { - factory Path({ - $core.String? destinationWaypointId, - $core.Iterable<$15.GeoPoint>? geopoints, - }) { - final $result = create(); - if (destinationWaypointId != null) { - $result.destinationWaypointId = destinationWaypointId; - } - if (geopoints != null) { - $result.geopoints.addAll(geopoints); - } - return $result; - } - Path._() : super(); - factory Path.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Path.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Path', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'destinationWaypointId') - ..pc<$15.GeoPoint>(2, _omitFieldNames ? '' : 'geopoints', $pb.PbFieldType.PM, subBuilder: $15.GeoPoint.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Path clone() => Path()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Path copyWith(void Function(Path) updates) => super.copyWith((message) => updates(message as Path)) as Path; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Path create() => Path._(); - Path createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Path getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Path? _defaultInstance; - - /// The id of the user specified waypoint - @$pb.TagNumber(1) - $core.String get destinationWaypointId => $_getSZ(0); - @$pb.TagNumber(1) - set destinationWaypointId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasDestinationWaypointId() => $_has(0); - @$pb.TagNumber(1) - void clearDestinationWaypointId() => clearField(1); - - /// List of geopoints that the motion planner output to reach the destination - /// The first geopoint is the starting position of the robot for that path - @$pb.TagNumber(2) - $core.List<$15.GeoPoint> get geopoints => $_getList(1); -} - -/// Returns all the paths known to the navigation service -class GetPathsRequest extends $pb.GeneratedMessage { - factory GetPathsRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPathsRequest._() : super(); - factory GetPathsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPathsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPathsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPathsRequest clone() => GetPathsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPathsRequest copyWith(void Function(GetPathsRequest) updates) => super.copyWith((message) => updates(message as GetPathsRequest)) as GetPathsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPathsRequest create() => GetPathsRequest._(); - GetPathsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPathsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPathsRequest? _defaultInstance; - - /// Name of the navigation service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetPathsResponse extends $pb.GeneratedMessage { - factory GetPathsResponse({ - $core.Iterable? paths, - }) { - final $result = create(); - if (paths != null) { - $result.paths.addAll(paths); - } - return $result; - } - GetPathsResponse._() : super(); - factory GetPathsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPathsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPathsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'paths', $pb.PbFieldType.PM, subBuilder: Path.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPathsResponse clone() => GetPathsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPathsResponse copyWith(void Function(GetPathsResponse) updates) => super.copyWith((message) => updates(message as GetPathsResponse)) as GetPathsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPathsResponse create() => GetPathsResponse._(); - GetPathsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPathsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPathsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get paths => $_getList(0); -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// Name of the navigation service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// Returns properties information for the named navigation service -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - MapType? mapType, - }) { - final $result = create(); - if (mapType != null) { - $result.mapType = mapType; - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'mapType', $pb.PbFieldType.OE, defaultOrMaker: MapType.MAP_TYPE_UNSPECIFIED, valueOf: MapType.valueOf, enumValues: MapType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - @$pb.TagNumber(1) - MapType get mapType => $_getN(0); - @$pb.TagNumber(1) - set mapType(MapType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMapType() => $_has(0); - @$pb.TagNumber(1) - void clearMapType() => clearField(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/navigation/v1/navigation.pbenum.dart b/lib/src/gen/service/navigation/v1/navigation.pbenum.dart deleted file mode 100644 index e39f69d7408..00000000000 --- a/lib/src/gen/service/navigation/v1/navigation.pbenum.dart +++ /dev/null @@ -1,54 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/navigation/v1/navigation.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// MapType represents the various types of maps the navigation service can ingest. -class MapType extends $pb.ProtobufEnum { - static const MapType MAP_TYPE_UNSPECIFIED = MapType._(0, _omitEnumNames ? '' : 'MAP_TYPE_UNSPECIFIED'); - static const MapType MAP_TYPE_NONE = MapType._(1, _omitEnumNames ? '' : 'MAP_TYPE_NONE'); - static const MapType MAP_TYPE_GPS = MapType._(2, _omitEnumNames ? '' : 'MAP_TYPE_GPS'); - - static const $core.List values = [ - MAP_TYPE_UNSPECIFIED, - MAP_TYPE_NONE, - MAP_TYPE_GPS, - ]; - - static final $core.Map<$core.int, MapType> _byValue = $pb.ProtobufEnum.initByValue(values); - static MapType? valueOf($core.int value) => _byValue[value]; - - const MapType._($core.int v, $core.String n) : super(v, n); -} - -class Mode extends $pb.ProtobufEnum { - static const Mode MODE_UNSPECIFIED = Mode._(0, _omitEnumNames ? '' : 'MODE_UNSPECIFIED'); - static const Mode MODE_MANUAL = Mode._(1, _omitEnumNames ? '' : 'MODE_MANUAL'); - static const Mode MODE_WAYPOINT = Mode._(2, _omitEnumNames ? '' : 'MODE_WAYPOINT'); - static const Mode MODE_EXPLORE = Mode._(3, _omitEnumNames ? '' : 'MODE_EXPLORE'); - - static const $core.List values = [ - MODE_UNSPECIFIED, - MODE_MANUAL, - MODE_WAYPOINT, - MODE_EXPLORE, - ]; - - static final $core.Map<$core.int, Mode> _byValue = $pb.ProtobufEnum.initByValue(values); - static Mode? valueOf($core.int value) => _byValue[value]; - - const Mode._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart b/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart deleted file mode 100644 index 99497d41523..00000000000 --- a/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart +++ /dev/null @@ -1,240 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/navigation/v1/navigation.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'navigation.pb.dart' as $39; - -export 'navigation.pb.dart'; - -@$pb.GrpcServiceName('viam.service.navigation.v1.NavigationService') -class NavigationServiceClient extends $grpc.Client { - static final _$getMode = $grpc.ClientMethod<$39.GetModeRequest, $39.GetModeResponse>( - '/viam.service.navigation.v1.NavigationService/GetMode', - ($39.GetModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetModeResponse.fromBuffer(value)); - static final _$setMode = $grpc.ClientMethod<$39.SetModeRequest, $39.SetModeResponse>( - '/viam.service.navigation.v1.NavigationService/SetMode', - ($39.SetModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.SetModeResponse.fromBuffer(value)); - static final _$getLocation = $grpc.ClientMethod<$39.GetLocationRequest, $39.GetLocationResponse>( - '/viam.service.navigation.v1.NavigationService/GetLocation', - ($39.GetLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetLocationResponse.fromBuffer(value)); - static final _$getWaypoints = $grpc.ClientMethod<$39.GetWaypointsRequest, $39.GetWaypointsResponse>( - '/viam.service.navigation.v1.NavigationService/GetWaypoints', - ($39.GetWaypointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetWaypointsResponse.fromBuffer(value)); - static final _$addWaypoint = $grpc.ClientMethod<$39.AddWaypointRequest, $39.AddWaypointResponse>( - '/viam.service.navigation.v1.NavigationService/AddWaypoint', - ($39.AddWaypointRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.AddWaypointResponse.fromBuffer(value)); - static final _$removeWaypoint = $grpc.ClientMethod<$39.RemoveWaypointRequest, $39.RemoveWaypointResponse>( - '/viam.service.navigation.v1.NavigationService/RemoveWaypoint', - ($39.RemoveWaypointRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.RemoveWaypointResponse.fromBuffer(value)); - static final _$getObstacles = $grpc.ClientMethod<$39.GetObstaclesRequest, $39.GetObstaclesResponse>( - '/viam.service.navigation.v1.NavigationService/GetObstacles', - ($39.GetObstaclesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetObstaclesResponse.fromBuffer(value)); - static final _$getPaths = $grpc.ClientMethod<$39.GetPathsRequest, $39.GetPathsResponse>( - '/viam.service.navigation.v1.NavigationService/GetPaths', - ($39.GetPathsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetPathsResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( - '/viam.service.navigation.v1.NavigationService/GetProperties', - ($39.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.navigation.v1.NavigationService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - NavigationServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$39.GetModeResponse> getMode($39.GetModeRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getMode, request, options: options); - } - - $grpc.ResponseFuture<$39.SetModeResponse> setMode($39.SetModeRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setMode, request, options: options); - } - - $grpc.ResponseFuture<$39.GetLocationResponse> getLocation($39.GetLocationRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getLocation, request, options: options); - } - - $grpc.ResponseFuture<$39.GetWaypointsResponse> getWaypoints($39.GetWaypointsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getWaypoints, request, options: options); - } - - $grpc.ResponseFuture<$39.AddWaypointResponse> addWaypoint($39.AddWaypointRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addWaypoint, request, options: options); - } - - $grpc.ResponseFuture<$39.RemoveWaypointResponse> removeWaypoint($39.RemoveWaypointRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeWaypoint, request, options: options); - } - - $grpc.ResponseFuture<$39.GetObstaclesResponse> getObstacles($39.GetObstaclesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getObstacles, request, options: options); - } - - $grpc.ResponseFuture<$39.GetPathsResponse> getPaths($39.GetPathsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPaths, request, options: options); - } - - $grpc.ResponseFuture<$39.GetPropertiesResponse> getProperties($39.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.navigation.v1.NavigationService') -abstract class NavigationServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.navigation.v1.NavigationService'; - - NavigationServiceBase() { - $addMethod($grpc.ServiceMethod<$39.GetModeRequest, $39.GetModeResponse>( - 'GetMode', - getMode_Pre, - false, - false, - ($core.List<$core.int> value) => $39.GetModeRequest.fromBuffer(value), - ($39.GetModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.SetModeRequest, $39.SetModeResponse>( - 'SetMode', - setMode_Pre, - false, - false, - ($core.List<$core.int> value) => $39.SetModeRequest.fromBuffer(value), - ($39.SetModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetLocationRequest, $39.GetLocationResponse>( - 'GetLocation', - getLocation_Pre, - false, - false, - ($core.List<$core.int> value) => $39.GetLocationRequest.fromBuffer(value), - ($39.GetLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetWaypointsRequest, $39.GetWaypointsResponse>( - 'GetWaypoints', - getWaypoints_Pre, - false, - false, - ($core.List<$core.int> value) => $39.GetWaypointsRequest.fromBuffer(value), - ($39.GetWaypointsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.AddWaypointRequest, $39.AddWaypointResponse>( - 'AddWaypoint', - addWaypoint_Pre, - false, - false, - ($core.List<$core.int> value) => $39.AddWaypointRequest.fromBuffer(value), - ($39.AddWaypointResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.RemoveWaypointRequest, $39.RemoveWaypointResponse>( - 'RemoveWaypoint', - removeWaypoint_Pre, - false, - false, - ($core.List<$core.int> value) => $39.RemoveWaypointRequest.fromBuffer(value), - ($39.RemoveWaypointResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetObstaclesRequest, $39.GetObstaclesResponse>( - 'GetObstacles', - getObstacles_Pre, - false, - false, - ($core.List<$core.int> value) => $39.GetObstaclesRequest.fromBuffer(value), - ($39.GetObstaclesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetPathsRequest, $39.GetPathsResponse>( - 'GetPaths', - getPaths_Pre, - false, - false, - ($core.List<$core.int> value) => $39.GetPathsRequest.fromBuffer(value), - ($39.GetPathsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $39.GetPropertiesRequest.fromBuffer(value), - ($39.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$39.GetModeResponse> getMode_Pre($grpc.ServiceCall call, $async.Future<$39.GetModeRequest> request) async { - return getMode(call, await request); - } - - $async.Future<$39.SetModeResponse> setMode_Pre($grpc.ServiceCall call, $async.Future<$39.SetModeRequest> request) async { - return setMode(call, await request); - } - - $async.Future<$39.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$39.GetLocationRequest> request) async { - return getLocation(call, await request); - } - - $async.Future<$39.GetWaypointsResponse> getWaypoints_Pre($grpc.ServiceCall call, $async.Future<$39.GetWaypointsRequest> request) async { - return getWaypoints(call, await request); - } - - $async.Future<$39.AddWaypointResponse> addWaypoint_Pre($grpc.ServiceCall call, $async.Future<$39.AddWaypointRequest> request) async { - return addWaypoint(call, await request); - } - - $async.Future<$39.RemoveWaypointResponse> removeWaypoint_Pre($grpc.ServiceCall call, $async.Future<$39.RemoveWaypointRequest> request) async { - return removeWaypoint(call, await request); - } - - $async.Future<$39.GetObstaclesResponse> getObstacles_Pre($grpc.ServiceCall call, $async.Future<$39.GetObstaclesRequest> request) async { - return getObstacles(call, await request); - } - - $async.Future<$39.GetPathsResponse> getPaths_Pre($grpc.ServiceCall call, $async.Future<$39.GetPathsRequest> request) async { - return getPaths(call, await request); - } - - $async.Future<$39.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$39.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$39.GetModeResponse> getMode($grpc.ServiceCall call, $39.GetModeRequest request); - $async.Future<$39.SetModeResponse> setMode($grpc.ServiceCall call, $39.SetModeRequest request); - $async.Future<$39.GetLocationResponse> getLocation($grpc.ServiceCall call, $39.GetLocationRequest request); - $async.Future<$39.GetWaypointsResponse> getWaypoints($grpc.ServiceCall call, $39.GetWaypointsRequest request); - $async.Future<$39.AddWaypointResponse> addWaypoint($grpc.ServiceCall call, $39.AddWaypointRequest request); - $async.Future<$39.RemoveWaypointResponse> removeWaypoint($grpc.ServiceCall call, $39.RemoveWaypointRequest request); - $async.Future<$39.GetObstaclesResponse> getObstacles($grpc.ServiceCall call, $39.GetObstaclesRequest request); - $async.Future<$39.GetPathsResponse> getPaths($grpc.ServiceCall call, $39.GetPathsRequest request); - $async.Future<$39.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $39.GetPropertiesRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/navigation/v1/navigation.pbjson.dart b/lib/src/gen/service/navigation/v1/navigation.pbjson.dart deleted file mode 100644 index 76cf3bb43cc..00000000000 --- a/lib/src/gen/service/navigation/v1/navigation.pbjson.dart +++ /dev/null @@ -1,311 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/navigation/v1/navigation.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use mapTypeDescriptor instead') -const MapType$json = { - '1': 'MapType', - '2': [ - {'1': 'MAP_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'MAP_TYPE_NONE', '2': 1}, - {'1': 'MAP_TYPE_GPS', '2': 2}, - ], -}; - -/// Descriptor for `MapType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List mapTypeDescriptor = $convert.base64Decode( - 'CgdNYXBUeXBlEhgKFE1BUF9UWVBFX1VOU1BFQ0lGSUVEEAASEQoNTUFQX1RZUEVfTk9ORRABEh' - 'AKDE1BUF9UWVBFX0dQUxAC'); - -@$core.Deprecated('Use modeDescriptor instead') -const Mode$json = { - '1': 'Mode', - '2': [ - {'1': 'MODE_UNSPECIFIED', '2': 0}, - {'1': 'MODE_MANUAL', '2': 1}, - {'1': 'MODE_WAYPOINT', '2': 2}, - {'1': 'MODE_EXPLORE', '2': 3}, - ], -}; - -/// Descriptor for `Mode`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List modeDescriptor = $convert.base64Decode( - 'CgRNb2RlEhQKEE1PREVfVU5TUEVDSUZJRUQQABIPCgtNT0RFX01BTlVBTBABEhEKDU1PREVfV0' - 'FZUE9JTlQQAhIQCgxNT0RFX0VYUExPUkUQAw=='); - -@$core.Deprecated('Use getModeRequestDescriptor instead') -const GetModeRequest$json = { - '1': 'GetModeRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetModeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getModeRequestDescriptor = $convert.base64Decode( - 'Cg5HZXRNb2RlUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgASgLMhcuZ2' - '9vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getModeResponseDescriptor instead') -const GetModeResponse$json = { - '1': 'GetModeResponse', - '2': [ - {'1': 'mode', '3': 1, '4': 1, '5': 14, '6': '.viam.service.navigation.v1.Mode', '10': 'mode'}, - ], -}; - -/// Descriptor for `GetModeResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getModeResponseDescriptor = $convert.base64Decode( - 'Cg9HZXRNb2RlUmVzcG9uc2USNAoEbW9kZRgBIAEoDjIgLnZpYW0uc2VydmljZS5uYXZpZ2F0aW' - '9uLnYxLk1vZGVSBG1vZGU='); - -@$core.Deprecated('Use setModeRequestDescriptor instead') -const SetModeRequest$json = { - '1': 'SetModeRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'mode', '3': 2, '4': 1, '5': 14, '6': '.viam.service.navigation.v1.Mode', '10': 'mode'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `SetModeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setModeRequestDescriptor = $convert.base64Decode( - 'Cg5TZXRNb2RlUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEjQKBG1vZGUYAiABKA4yIC52aW' - 'FtLnNlcnZpY2UubmF2aWdhdGlvbi52MS5Nb2RlUgRtb2RlEi0KBWV4dHJhGGMgASgLMhcuZ29v' - 'Z2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use setModeResponseDescriptor instead') -const SetModeResponse$json = { - '1': 'SetModeResponse', -}; - -/// Descriptor for `SetModeResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setModeResponseDescriptor = $convert.base64Decode( - 'Cg9TZXRNb2RlUmVzcG9uc2U='); - -@$core.Deprecated('Use waypointDescriptor instead') -const Waypoint$json = { - '1': 'Waypoint', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, - {'1': 'location', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.GeoPoint', '10': 'location'}, - ], -}; - -/// Descriptor for `Waypoint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List waypointDescriptor = $convert.base64Decode( - 'CghXYXlwb2ludBIOCgJpZBgBIAEoCVICaWQSNAoIbG9jYXRpb24YAiABKAsyGC52aWFtLmNvbW' - '1vbi52MS5HZW9Qb2ludFIIbG9jYXRpb24='); - -@$core.Deprecated('Use getLocationRequestDescriptor instead') -const GetLocationRequest$json = { - '1': 'GetLocationRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetLocationRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLocationRequestDescriptor = $convert.base64Decode( - 'ChJHZXRMb2NhdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCz' - 'IXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getLocationResponseDescriptor instead') -const GetLocationResponse$json = { - '1': 'GetLocationResponse', - '2': [ - {'1': 'location', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.GeoPoint', '10': 'location'}, - {'1': 'compass_heading', '3': 2, '4': 1, '5': 1, '10': 'compassHeading'}, - ], -}; - -/// Descriptor for `GetLocationResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getLocationResponseDescriptor = $convert.base64Decode( - 'ChNHZXRMb2NhdGlvblJlc3BvbnNlEjQKCGxvY2F0aW9uGAEgASgLMhgudmlhbS5jb21tb24udj' - 'EuR2VvUG9pbnRSCGxvY2F0aW9uEicKD2NvbXBhc3NfaGVhZGluZxgCIAEoAVIOY29tcGFzc0hl' - 'YWRpbmc='); - -@$core.Deprecated('Use getWaypointsRequestDescriptor instead') -const GetWaypointsRequest$json = { - '1': 'GetWaypointsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetWaypointsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getWaypointsRequestDescriptor = $convert.base64Decode( - 'ChNHZXRXYXlwb2ludHNSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSLQoFZXh0cmEYYyABKA' - 'syFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use getWaypointsResponseDescriptor instead') -const GetWaypointsResponse$json = { - '1': 'GetWaypointsResponse', - '2': [ - {'1': 'waypoints', '3': 1, '4': 3, '5': 11, '6': '.viam.service.navigation.v1.Waypoint', '10': 'waypoints'}, - ], -}; - -/// Descriptor for `GetWaypointsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getWaypointsResponseDescriptor = $convert.base64Decode( - 'ChRHZXRXYXlwb2ludHNSZXNwb25zZRJCCgl3YXlwb2ludHMYASADKAsyJC52aWFtLnNlcnZpY2' - 'UubmF2aWdhdGlvbi52MS5XYXlwb2ludFIJd2F5cG9pbnRz'); - -@$core.Deprecated('Use addWaypointRequestDescriptor instead') -const AddWaypointRequest$json = { - '1': 'AddWaypointRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'location', '3': 2, '4': 1, '5': 11, '6': '.viam.common.v1.GeoPoint', '10': 'location'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `AddWaypointRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addWaypointRequestDescriptor = $convert.base64Decode( - 'ChJBZGRXYXlwb2ludFJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRI0Cghsb2NhdGlvbhgCIA' - 'EoCzIYLnZpYW0uY29tbW9uLnYxLkdlb1BvaW50Ughsb2NhdGlvbhItCgVleHRyYRhjIAEoCzIX' - 'Lmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use addWaypointResponseDescriptor instead') -const AddWaypointResponse$json = { - '1': 'AddWaypointResponse', -}; - -/// Descriptor for `AddWaypointResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addWaypointResponseDescriptor = $convert.base64Decode( - 'ChNBZGRXYXlwb2ludFJlc3BvbnNl'); - -@$core.Deprecated('Use removeWaypointRequestDescriptor instead') -const RemoveWaypointRequest$json = { - '1': 'RemoveWaypointRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'id', '3': 2, '4': 1, '5': 9, '10': 'id'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `RemoveWaypointRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeWaypointRequestDescriptor = $convert.base64Decode( - 'ChVSZW1vdmVXYXlwb2ludFJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIOCgJpZBgCIAEoCV' - 'ICaWQSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use removeWaypointResponseDescriptor instead') -const RemoveWaypointResponse$json = { - '1': 'RemoveWaypointResponse', -}; - -/// Descriptor for `RemoveWaypointResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeWaypointResponseDescriptor = $convert.base64Decode( - 'ChZSZW1vdmVXYXlwb2ludFJlc3BvbnNl'); - -@$core.Deprecated('Use getObstaclesRequestDescriptor instead') -const GetObstaclesRequest$json = { - '1': 'GetObstaclesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetObstaclesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getObstaclesRequestDescriptor = $convert.base64Decode( - 'ChNHZXRPYnN0YWNsZXNSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSLQoFZXh0cmEYYyABKA' - 'syFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use getObstaclesResponseDescriptor instead') -const GetObstaclesResponse$json = { - '1': 'GetObstaclesResponse', - '2': [ - {'1': 'obstacles', '3': 1, '4': 3, '5': 11, '6': '.viam.common.v1.GeoGeometry', '10': 'obstacles'}, - ], -}; - -/// Descriptor for `GetObstaclesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getObstaclesResponseDescriptor = $convert.base64Decode( - 'ChRHZXRPYnN0YWNsZXNSZXNwb25zZRI5CglvYnN0YWNsZXMYASADKAsyGy52aWFtLmNvbW1vbi' - '52MS5HZW9HZW9tZXRyeVIJb2JzdGFjbGVz'); - -@$core.Deprecated('Use pathDescriptor instead') -const Path$json = { - '1': 'Path', - '2': [ - {'1': 'destination_waypoint_id', '3': 1, '4': 1, '5': 9, '10': 'destinationWaypointId'}, - {'1': 'geopoints', '3': 2, '4': 3, '5': 11, '6': '.viam.common.v1.GeoPoint', '10': 'geopoints'}, - ], -}; - -/// Descriptor for `Path`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List pathDescriptor = $convert.base64Decode( - 'CgRQYXRoEjYKF2Rlc3RpbmF0aW9uX3dheXBvaW50X2lkGAEgASgJUhVkZXN0aW5hdGlvbldheX' - 'BvaW50SWQSNgoJZ2VvcG9pbnRzGAIgAygLMhgudmlhbS5jb21tb24udjEuR2VvUG9pbnRSCWdl' - 'b3BvaW50cw=='); - -@$core.Deprecated('Use getPathsRequestDescriptor instead') -const GetPathsRequest$json = { - '1': 'GetPathsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPathsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPathsRequestDescriptor = $convert.base64Decode( - 'Cg9HZXRQYXRoc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYRhjIAEoCzIXLm' - 'dvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getPathsResponseDescriptor instead') -const GetPathsResponse$json = { - '1': 'GetPathsResponse', - '2': [ - {'1': 'paths', '3': 1, '4': 3, '5': 11, '6': '.viam.service.navigation.v1.Path', '10': 'paths'}, - ], -}; - -/// Descriptor for `GetPathsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPathsResponseDescriptor = $convert.base64Decode( - 'ChBHZXRQYXRoc1Jlc3BvbnNlEjYKBXBhdGhzGAEgAygLMiAudmlhbS5zZXJ2aWNlLm5hdmlnYX' - 'Rpb24udjEuUGF0aFIFcGF0aHM='); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1l'); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'map_type', '3': 1, '4': 1, '5': 14, '6': '.viam.service.navigation.v1.MapType', '10': 'mapType'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USPgoIbWFwX3R5cGUYASABKA4yIy52aWFtLnNlcnZpY2' - 'UubmF2aWdhdGlvbi52MS5NYXBUeXBlUgdtYXBUeXBl'); - diff --git a/lib/src/gen/service/sensors/v1/sensors.pb.dart b/lib/src/gen/service/sensors/v1/sensors.pb.dart deleted file mode 100644 index 995084c9d3f..00000000000 --- a/lib/src/gen/service/sensors/v1/sensors.pb.dart +++ /dev/null @@ -1,357 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/sensors/v1/sensors.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $46; - -/// The sensors service messages are deprecated -class GetSensorsRequest extends $pb.GeneratedMessage { - factory GetSensorsRequest({ - @$core.Deprecated('This field is deprecated.') - $core.String? name, - @$core.Deprecated('This field is deprecated.') - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - // ignore: deprecated_member_use_from_same_package - $result.name = name; - } - if (extra != null) { - // ignore: deprecated_member_use_from_same_package - $result.extra = extra; - } - return $result; - } - GetSensorsRequest._() : super(); - factory GetSensorsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetSensorsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSensorsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSensorsRequest clone() => GetSensorsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSensorsRequest copyWith(void Function(GetSensorsRequest) updates) => super.copyWith((message) => updates(message as GetSensorsRequest)) as GetSensorsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetSensorsRequest create() => GetSensorsRequest._(); - GetSensorsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetSensorsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetSensorsRequest? _defaultInstance; - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class GetSensorsResponse extends $pb.GeneratedMessage { - factory GetSensorsResponse({ - @$core.Deprecated('This field is deprecated.') - $core.Iterable<$15.ResourceName>? sensorNames, - }) { - final $result = create(); - if (sensorNames != null) { - // ignore: deprecated_member_use_from_same_package - $result.sensorNames.addAll(sensorNames); - } - return $result; - } - GetSensorsResponse._() : super(); - factory GetSensorsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetSensorsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSensorsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) - ..pc<$15.ResourceName>(1, _omitFieldNames ? '' : 'sensorNames', $pb.PbFieldType.PM, subBuilder: $15.ResourceName.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetSensorsResponse clone() => GetSensorsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetSensorsResponse copyWith(void Function(GetSensorsResponse) updates) => super.copyWith((message) => updates(message as GetSensorsResponse)) as GetSensorsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetSensorsResponse create() => GetSensorsResponse._(); - GetSensorsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetSensorsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetSensorsResponse? _defaultInstance; - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.List<$15.ResourceName> get sensorNames => $_getList(0); -} - -class GetReadingsRequest extends $pb.GeneratedMessage { - factory GetReadingsRequest({ - @$core.Deprecated('This field is deprecated.') - $core.String? name, - @$core.Deprecated('This field is deprecated.') - $core.Iterable<$15.ResourceName>? sensorNames, - @$core.Deprecated('This field is deprecated.') - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - // ignore: deprecated_member_use_from_same_package - $result.name = name; - } - if (sensorNames != null) { - // ignore: deprecated_member_use_from_same_package - $result.sensorNames.addAll(sensorNames); - } - if (extra != null) { - // ignore: deprecated_member_use_from_same_package - $result.extra = extra; - } - return $result; - } - GetReadingsRequest._() : super(); - factory GetReadingsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetReadingsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetReadingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pc<$15.ResourceName>(2, _omitFieldNames ? '' : 'sensorNames', $pb.PbFieldType.PM, subBuilder: $15.ResourceName.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetReadingsRequest clone() => GetReadingsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetReadingsRequest copyWith(void Function(GetReadingsRequest) updates) => super.copyWith((message) => updates(message as GetReadingsRequest)) as GetReadingsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetReadingsRequest create() => GetReadingsRequest._(); - GetReadingsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetReadingsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetReadingsRequest? _defaultInstance; - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(2) - $core.List<$15.ResourceName> get sensorNames => $_getList(1); - - /// Additional arguments to the method - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class Readings extends $pb.GeneratedMessage { - factory Readings({ - @$core.Deprecated('This field is deprecated.') - $15.ResourceName? name, - @$core.Deprecated('This field is deprecated.') - $core.Map<$core.String, $46.Value>? readings, - }) { - final $result = create(); - if (name != null) { - // ignore: deprecated_member_use_from_same_package - $result.name = name; - } - if (readings != null) { - // ignore: deprecated_member_use_from_same_package - $result.readings.addAll(readings); - } - return $result; - } - Readings._() : super(); - factory Readings.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Readings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Readings', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) - ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.ResourceName.create) - ..m<$core.String, $46.Value>(2, _omitFieldNames ? '' : 'readings', entryClassName: 'Readings.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $46.Value.create, valueDefaultOrMaker: $46.Value.getDefault, packageName: const $pb.PackageName('viam.service.sensors.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Readings clone() => Readings()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Readings copyWith(void Function(Readings) updates) => super.copyWith((message) => updates(message as Readings)) as Readings; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Readings create() => Readings._(); - Readings createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Readings getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Readings? _defaultInstance; - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $15.ResourceName get name => $_getN(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - set name($15.ResourceName v) { setField(1, v); } - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - void clearName() => clearField(1); - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $15.ResourceName ensureName() => $_ensure(0); - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(2) - $core.Map<$core.String, $46.Value> get readings => $_getMap(1); -} - -class GetReadingsResponse extends $pb.GeneratedMessage { - factory GetReadingsResponse({ - @$core.Deprecated('This field is deprecated.') - $core.Iterable? readings, - }) { - final $result = create(); - if (readings != null) { - // ignore: deprecated_member_use_from_same_package - $result.readings.addAll(readings); - } - return $result; - } - GetReadingsResponse._() : super(); - factory GetReadingsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetReadingsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetReadingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'readings', $pb.PbFieldType.PM, subBuilder: Readings.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetReadingsResponse clone() => GetReadingsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetReadingsResponse copyWith(void Function(GetReadingsResponse) updates) => super.copyWith((message) => updates(message as GetReadingsResponse)) as GetReadingsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetReadingsResponse create() => GetReadingsResponse._(); - GetReadingsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetReadingsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetReadingsResponse? _defaultInstance; - - @$core.Deprecated('This field is deprecated.') - @$pb.TagNumber(1) - $core.List get readings => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/sensors/v1/sensors.pbenum.dart b/lib/src/gen/service/sensors/v1/sensors.pbenum.dart deleted file mode 100644 index fa01d1959dd..00000000000 --- a/lib/src/gen/service/sensors/v1/sensors.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/sensors/v1/sensors.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart b/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart deleted file mode 100644 index ffc72590f10..00000000000 --- a/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart +++ /dev/null @@ -1,100 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/sensors/v1/sensors.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'sensors.pb.dart' as $40; - -export 'sensors.pb.dart'; - -@$pb.GrpcServiceName('viam.service.sensors.v1.SensorsService') -class SensorsServiceClient extends $grpc.Client { - static final _$getSensors = $grpc.ClientMethod<$40.GetSensorsRequest, $40.GetSensorsResponse>( - '/viam.service.sensors.v1.SensorsService/GetSensors', - ($40.GetSensorsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetSensorsResponse.fromBuffer(value)); - static final _$getReadings = $grpc.ClientMethod<$40.GetReadingsRequest, $40.GetReadingsResponse>( - '/viam.service.sensors.v1.SensorsService/GetReadings', - ($40.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetReadingsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.sensors.v1.SensorsService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - SensorsServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$40.GetSensorsResponse> getSensors($40.GetSensorsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getSensors, request, options: options); - } - - $grpc.ResponseFuture<$40.GetReadingsResponse> getReadings($40.GetReadingsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getReadings, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.sensors.v1.SensorsService') -abstract class SensorsServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.sensors.v1.SensorsService'; - - SensorsServiceBase() { - $addMethod($grpc.ServiceMethod<$40.GetSensorsRequest, $40.GetSensorsResponse>( - 'GetSensors', - getSensors_Pre, - false, - false, - ($core.List<$core.int> value) => $40.GetSensorsRequest.fromBuffer(value), - ($40.GetSensorsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.GetReadingsRequest, $40.GetReadingsResponse>( - 'GetReadings', - getReadings_Pre, - false, - false, - ($core.List<$core.int> value) => $40.GetReadingsRequest.fromBuffer(value), - ($40.GetReadingsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$40.GetSensorsResponse> getSensors_Pre($grpc.ServiceCall call, $async.Future<$40.GetSensorsRequest> request) async { - return getSensors(call, await request); - } - - $async.Future<$40.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$40.GetReadingsRequest> request) async { - return getReadings(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$40.GetSensorsResponse> getSensors($grpc.ServiceCall call, $40.GetSensorsRequest request); - $async.Future<$40.GetReadingsResponse> getReadings($grpc.ServiceCall call, $40.GetReadingsRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/sensors/v1/sensors.pbjson.dart b/lib/src/gen/service/sensors/v1/sensors.pbjson.dart deleted file mode 100644 index a02102b9432..00000000000 --- a/lib/src/gen/service/sensors/v1/sensors.pbjson.dart +++ /dev/null @@ -1,175 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/sensors/v1/sensors.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getSensorsRequestDescriptor instead') -const GetSensorsRequest$json = { - '1': 'GetSensorsRequest', - '2': [ - { - '1': 'name', - '3': 1, - '4': 1, - '5': 9, - '8': {'3': true}, - '10': 'name', - }, - { - '1': 'extra', - '3': 99, - '4': 1, - '5': 11, - '6': '.google.protobuf.Struct', - '8': {'3': true}, - '10': 'extra', - }, - ], - '7': {'3': true}, -}; - -/// Descriptor for `GetSensorsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSensorsRequestDescriptor = $convert.base64Decode( - 'ChFHZXRTZW5zb3JzUmVxdWVzdBIWCgRuYW1lGAEgASgJQgIYAVIEbmFtZRIxCgVleHRyYRhjIA' - 'EoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RCAhgBUgVleHRyYToCGAE='); - -@$core.Deprecated('Use getSensorsResponseDescriptor instead') -const GetSensorsResponse$json = { - '1': 'GetSensorsResponse', - '2': [ - { - '1': 'sensor_names', - '3': 1, - '4': 3, - '5': 11, - '6': '.viam.common.v1.ResourceName', - '8': {'3': true}, - '10': 'sensorNames', - }, - ], - '7': {'3': true}, -}; - -/// Descriptor for `GetSensorsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getSensorsResponseDescriptor = $convert.base64Decode( - 'ChJHZXRTZW5zb3JzUmVzcG9uc2USQwoMc2Vuc29yX25hbWVzGAEgAygLMhwudmlhbS5jb21tb2' - '4udjEuUmVzb3VyY2VOYW1lQgIYAVILc2Vuc29yTmFtZXM6AhgB'); - -@$core.Deprecated('Use getReadingsRequestDescriptor instead') -const GetReadingsRequest$json = { - '1': 'GetReadingsRequest', - '2': [ - { - '1': 'name', - '3': 1, - '4': 1, - '5': 9, - '8': {'3': true}, - '10': 'name', - }, - { - '1': 'sensor_names', - '3': 2, - '4': 3, - '5': 11, - '6': '.viam.common.v1.ResourceName', - '8': {'3': true}, - '10': 'sensorNames', - }, - { - '1': 'extra', - '3': 99, - '4': 1, - '5': 11, - '6': '.google.protobuf.Struct', - '8': {'3': true}, - '10': 'extra', - }, - ], - '7': {'3': true}, -}; - -/// Descriptor for `GetReadingsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getReadingsRequestDescriptor = $convert.base64Decode( - 'ChJHZXRSZWFkaW5nc1JlcXVlc3QSFgoEbmFtZRgBIAEoCUICGAFSBG5hbWUSQwoMc2Vuc29yX2' - '5hbWVzGAIgAygLMhwudmlhbS5jb21tb24udjEuUmVzb3VyY2VOYW1lQgIYAVILc2Vuc29yTmFt' - 'ZXMSMQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0QgIYAVIFZXh0cmE6Ah' - 'gB'); - -@$core.Deprecated('Use readingsDescriptor instead') -const Readings$json = { - '1': 'Readings', - '2': [ - { - '1': 'name', - '3': 1, - '4': 1, - '5': 11, - '6': '.viam.common.v1.ResourceName', - '8': {'3': true}, - '10': 'name', - }, - { - '1': 'readings', - '3': 2, - '4': 3, - '5': 11, - '6': '.viam.service.sensors.v1.Readings.ReadingsEntry', - '8': {'3': true}, - '10': 'readings', - }, - ], - '3': [Readings_ReadingsEntry$json], - '7': {'3': true}, -}; - -@$core.Deprecated('Use readingsDescriptor instead') -const Readings_ReadingsEntry$json = { - '1': 'ReadingsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Value', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `Readings`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List readingsDescriptor = $convert.base64Decode( - 'CghSZWFkaW5ncxI0CgRuYW1lGAEgASgLMhwudmlhbS5jb21tb24udjEuUmVzb3VyY2VOYW1lQg' - 'IYAVIEbmFtZRJPCghyZWFkaW5ncxgCIAMoCzIvLnZpYW0uc2VydmljZS5zZW5zb3JzLnYxLlJl' - 'YWRpbmdzLlJlYWRpbmdzRW50cnlCAhgBUghyZWFkaW5ncxpTCg1SZWFkaW5nc0VudHJ5EhAKA2' - 'tleRgBIAEoCVIDa2V5EiwKBXZhbHVlGAIgASgLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlUgV2' - 'YWx1ZToCOAE6AhgB'); - -@$core.Deprecated('Use getReadingsResponseDescriptor instead') -const GetReadingsResponse$json = { - '1': 'GetReadingsResponse', - '2': [ - { - '1': 'readings', - '3': 1, - '4': 3, - '5': 11, - '6': '.viam.service.sensors.v1.Readings', - '8': {'3': true}, - '10': 'readings', - }, - ], - '7': {'3': true}, -}; - -/// Descriptor for `GetReadingsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getReadingsResponseDescriptor = $convert.base64Decode( - 'ChNHZXRSZWFkaW5nc1Jlc3BvbnNlEkEKCHJlYWRpbmdzGAEgAygLMiEudmlhbS5zZXJ2aWNlLn' - 'NlbnNvcnMudjEuUmVhZGluZ3NCAhgBUghyZWFkaW5nczoCGAE='); - diff --git a/lib/src/gen/service/shell/v1/shell.pb.dart b/lib/src/gen/service/shell/v1/shell.pb.dart deleted file mode 100644 index e7cdd37583b..00000000000 --- a/lib/src/gen/service/shell/v1/shell.pb.dart +++ /dev/null @@ -1,913 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/shell/v1/shell.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/struct.pb.dart' as $46; -import '../../../google/protobuf/timestamp.pb.dart' as $47; -import 'shell.pbenum.dart'; - -export 'shell.pbenum.dart'; - -class ShellRequest extends $pb.GeneratedMessage { - factory ShellRequest({ - $core.String? name, - $core.String? dataIn, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (dataIn != null) { - $result.dataIn = dataIn; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - ShellRequest._() : super(); - factory ShellRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ShellRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShellRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'dataIn') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShellRequest clone() => ShellRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShellRequest copyWith(void Function(ShellRequest) updates) => super.copyWith((message) => updates(message as ShellRequest)) as ShellRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ShellRequest create() => ShellRequest._(); - ShellRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ShellRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ShellRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get dataIn => $_getSZ(1); - @$pb.TagNumber(2) - set dataIn($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDataIn() => $_has(1); - @$pb.TagNumber(2) - void clearDataIn() => clearField(2); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class ShellResponse extends $pb.GeneratedMessage { - factory ShellResponse({ - $core.String? dataOut, - $core.String? dataErr, - $core.bool? eof, - }) { - final $result = create(); - if (dataOut != null) { - $result.dataOut = dataOut; - } - if (dataErr != null) { - $result.dataErr = dataErr; - } - if (eof != null) { - $result.eof = eof; - } - return $result; - } - ShellResponse._() : super(); - factory ShellResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ShellResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShellResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'dataOut') - ..aOS(2, _omitFieldNames ? '' : 'dataErr') - ..aOB(3, _omitFieldNames ? '' : 'eof') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ShellResponse clone() => ShellResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ShellResponse copyWith(void Function(ShellResponse) updates) => super.copyWith((message) => updates(message as ShellResponse)) as ShellResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ShellResponse create() => ShellResponse._(); - ShellResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ShellResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ShellResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get dataOut => $_getSZ(0); - @$pb.TagNumber(1) - set dataOut($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasDataOut() => $_has(0); - @$pb.TagNumber(1) - void clearDataOut() => clearField(1); - - @$pb.TagNumber(2) - $core.String get dataErr => $_getSZ(1); - @$pb.TagNumber(2) - set dataErr($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasDataErr() => $_has(1); - @$pb.TagNumber(2) - void clearDataErr() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get eof => $_getBF(2); - @$pb.TagNumber(3) - set eof($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasEof() => $_has(2); - @$pb.TagNumber(3) - void clearEof() => clearField(3); -} - -/// FileData contains partial (sometimes complete) information about a File. -/// When transmitting FileData with CopyFilesToMachine and CopyFilesFromMachine, -/// it MUST initially contain its name, size, and is_dir. Depending on whether -/// preservation is in use, the mod_time and mode fields may be initially set -/// as well. On all transmissions, data and eof must be set. Because files are -/// sent one-by-one, it is currently permitted to exclude the initially set fields. -/// If this ever changes, a new scheme should be used for identifying files (like a number) -/// in order to reduce data transmission while allowing out-of-order transfers. -/// eof must be true and its own message once no more data is to be sent for this file. -class FileData extends $pb.GeneratedMessage { - factory FileData({ - $core.String? name, - $fixnum.Int64? size, - $core.bool? isDir, - $core.List<$core.int>? data, - $core.bool? eof, - $47.Timestamp? modTime, - $core.int? mode, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (size != null) { - $result.size = size; - } - if (isDir != null) { - $result.isDir = isDir; - } - if (data != null) { - $result.data = data; - } - if (eof != null) { - $result.eof = eof; - } - if (modTime != null) { - $result.modTime = modTime; - } - if (mode != null) { - $result.mode = mode; - } - return $result; - } - FileData._() : super(); - factory FileData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FileData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FileData', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aInt64(2, _omitFieldNames ? '' : 'size') - ..aOB(3, _omitFieldNames ? '' : 'isDir') - ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) - ..aOB(5, _omitFieldNames ? '' : 'eof') - ..aOM<$47.Timestamp>(6, _omitFieldNames ? '' : 'modTime', subBuilder: $47.Timestamp.create) - ..a<$core.int>(7, _omitFieldNames ? '' : 'mode', $pb.PbFieldType.OU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FileData clone() => FileData()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FileData copyWith(void Function(FileData) updates) => super.copyWith((message) => updates(message as FileData)) as FileData; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FileData create() => FileData._(); - FileData createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static FileData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static FileData? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $fixnum.Int64 get size => $_getI64(1); - @$pb.TagNumber(2) - set size($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasSize() => $_has(1); - @$pb.TagNumber(2) - void clearSize() => clearField(2); - - @$pb.TagNumber(3) - $core.bool get isDir => $_getBF(2); - @$pb.TagNumber(3) - set isDir($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasIsDir() => $_has(2); - @$pb.TagNumber(3) - void clearIsDir() => clearField(3); - - @$pb.TagNumber(4) - $core.List<$core.int> get data => $_getN(3); - @$pb.TagNumber(4) - set data($core.List<$core.int> v) { $_setBytes(3, v); } - @$pb.TagNumber(4) - $core.bool hasData() => $_has(3); - @$pb.TagNumber(4) - void clearData() => clearField(4); - - @$pb.TagNumber(5) - $core.bool get eof => $_getBF(4); - @$pb.TagNumber(5) - set eof($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasEof() => $_has(4); - @$pb.TagNumber(5) - void clearEof() => clearField(5); - - /// Note(erd): maybe support access time in the future if needed - @$pb.TagNumber(6) - $47.Timestamp get modTime => $_getN(5); - @$pb.TagNumber(6) - set modTime($47.Timestamp v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasModTime() => $_has(5); - @$pb.TagNumber(6) - void clearModTime() => clearField(6); - @$pb.TagNumber(6) - $47.Timestamp ensureModTime() => $_ensure(5); - - @$pb.TagNumber(7) - $core.int get mode => $_getIZ(6); - @$pb.TagNumber(7) - set mode($core.int v) { $_setUnsignedInt32(6, v); } - @$pb.TagNumber(7) - $core.bool hasMode() => $_has(6); - @$pb.TagNumber(7) - void clearMode() => clearField(7); -} - -class CopyFilesToMachineRequestMetadata extends $pb.GeneratedMessage { - factory CopyFilesToMachineRequestMetadata({ - $core.String? name, - CopyFilesSourceType? sourceType, - $core.String? destination, - $core.bool? preserve, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (sourceType != null) { - $result.sourceType = sourceType; - } - if (destination != null) { - $result.destination = destination; - } - if (preserve != null) { - $result.preserve = preserve; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - CopyFilesToMachineRequestMetadata._() : super(); - factory CopyFilesToMachineRequestMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CopyFilesToMachineRequestMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CopyFilesToMachineRequestMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..e(2, _omitFieldNames ? '' : 'sourceType', $pb.PbFieldType.OE, defaultOrMaker: CopyFilesSourceType.COPY_FILES_SOURCE_TYPE_UNSPECIFIED, valueOf: CopyFilesSourceType.valueOf, enumValues: CopyFilesSourceType.values) - ..aOS(3, _omitFieldNames ? '' : 'destination') - ..aOB(4, _omitFieldNames ? '' : 'preserve') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CopyFilesToMachineRequestMetadata clone() => CopyFilesToMachineRequestMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CopyFilesToMachineRequestMetadata copyWith(void Function(CopyFilesToMachineRequestMetadata) updates) => super.copyWith((message) => updates(message as CopyFilesToMachineRequestMetadata)) as CopyFilesToMachineRequestMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CopyFilesToMachineRequestMetadata create() => CopyFilesToMachineRequestMetadata._(); - CopyFilesToMachineRequestMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CopyFilesToMachineRequestMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CopyFilesToMachineRequestMetadata? _defaultInstance; - - /// name is the service name. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// source_type is the type of files that will be transmitted in this request stream. - @$pb.TagNumber(2) - CopyFilesSourceType get sourceType => $_getN(1); - @$pb.TagNumber(2) - set sourceType(CopyFilesSourceType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasSourceType() => $_has(1); - @$pb.TagNumber(2) - void clearSourceType() => clearField(2); - - /// destination is where the files should be placed. The receiver can choose to - /// reasonably modify this destination based on its implementation semantics. - @$pb.TagNumber(3) - $core.String get destination => $_getSZ(2); - @$pb.TagNumber(3) - set destination($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDestination() => $_has(2); - @$pb.TagNumber(3) - void clearDestination() => clearField(3); - - /// preserve indicates the the receiver should use the metadata in the file to reflect - /// the same state in its filesystem as applicable. - @$pb.TagNumber(4) - $core.bool get preserve => $_getBF(3); - @$pb.TagNumber(4) - set preserve($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasPreserve() => $_has(3); - @$pb.TagNumber(4) - void clearPreserve() => clearField(4); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(4); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(4); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(4); -} - -enum CopyFilesToMachineRequest_Request { - metadata, - fileData, - notSet -} - -class CopyFilesToMachineRequest extends $pb.GeneratedMessage { - factory CopyFilesToMachineRequest({ - CopyFilesToMachineRequestMetadata? metadata, - FileData? fileData, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - if (fileData != null) { - $result.fileData = fileData; - } - return $result; - } - CopyFilesToMachineRequest._() : super(); - factory CopyFilesToMachineRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CopyFilesToMachineRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, CopyFilesToMachineRequest_Request> _CopyFilesToMachineRequest_RequestByTag = { - 1 : CopyFilesToMachineRequest_Request.metadata, - 2 : CopyFilesToMachineRequest_Request.fileData, - 0 : CopyFilesToMachineRequest_Request.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CopyFilesToMachineRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: CopyFilesToMachineRequestMetadata.create) - ..aOM(2, _omitFieldNames ? '' : 'fileData', subBuilder: FileData.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CopyFilesToMachineRequest clone() => CopyFilesToMachineRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CopyFilesToMachineRequest copyWith(void Function(CopyFilesToMachineRequest) updates) => super.copyWith((message) => updates(message as CopyFilesToMachineRequest)) as CopyFilesToMachineRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CopyFilesToMachineRequest create() => CopyFilesToMachineRequest._(); - CopyFilesToMachineRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CopyFilesToMachineRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CopyFilesToMachineRequest? _defaultInstance; - - CopyFilesToMachineRequest_Request whichRequest() => _CopyFilesToMachineRequest_RequestByTag[$_whichOneof(0)]!; - void clearRequest() => clearField($_whichOneof(0)); - - /// metadata is sent first and only once. - @$pb.TagNumber(1) - CopyFilesToMachineRequestMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(CopyFilesToMachineRequestMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - CopyFilesToMachineRequestMetadata ensureMetadata() => $_ensure(0); - - /// file_data is sent only after metadata. All data MUST be sent - /// in order per-file. - @$pb.TagNumber(2) - FileData get fileData => $_getN(1); - @$pb.TagNumber(2) - set fileData(FileData v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasFileData() => $_has(1); - @$pb.TagNumber(2) - void clearFileData() => clearField(2); - @$pb.TagNumber(2) - FileData ensureFileData() => $_ensure(1); -} - -class CopyFilesToMachineResponse extends $pb.GeneratedMessage { - factory CopyFilesToMachineResponse({ - $core.bool? ackLastFile, - }) { - final $result = create(); - if (ackLastFile != null) { - $result.ackLastFile = ackLastFile; - } - return $result; - } - CopyFilesToMachineResponse._() : super(); - factory CopyFilesToMachineResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CopyFilesToMachineResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CopyFilesToMachineResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'ackLastFile') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CopyFilesToMachineResponse clone() => CopyFilesToMachineResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CopyFilesToMachineResponse copyWith(void Function(CopyFilesToMachineResponse) updates) => super.copyWith((message) => updates(message as CopyFilesToMachineResponse)) as CopyFilesToMachineResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CopyFilesToMachineResponse create() => CopyFilesToMachineResponse._(); - CopyFilesToMachineResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CopyFilesToMachineResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CopyFilesToMachineResponse? _defaultInstance; - - /// value does not matter here but responses must be sent after every - /// file has been received. - @$pb.TagNumber(1) - $core.bool get ackLastFile => $_getBF(0); - @$pb.TagNumber(1) - set ackLastFile($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasAckLastFile() => $_has(0); - @$pb.TagNumber(1) - void clearAckLastFile() => clearField(1); -} - -class CopyFilesFromMachineRequestMetadata extends $pb.GeneratedMessage { - factory CopyFilesFromMachineRequestMetadata({ - $core.String? name, - $core.Iterable<$core.String>? paths, - $core.bool? allowRecursion, - $core.bool? preserve, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (paths != null) { - $result.paths.addAll(paths); - } - if (allowRecursion != null) { - $result.allowRecursion = allowRecursion; - } - if (preserve != null) { - $result.preserve = preserve; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - CopyFilesFromMachineRequestMetadata._() : super(); - factory CopyFilesFromMachineRequestMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CopyFilesFromMachineRequestMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CopyFilesFromMachineRequestMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..pPS(2, _omitFieldNames ? '' : 'paths') - ..aOB(3, _omitFieldNames ? '' : 'allowRecursion') - ..aOB(4, _omitFieldNames ? '' : 'preserve') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineRequestMetadata clone() => CopyFilesFromMachineRequestMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineRequestMetadata copyWith(void Function(CopyFilesFromMachineRequestMetadata) updates) => super.copyWith((message) => updates(message as CopyFilesFromMachineRequestMetadata)) as CopyFilesFromMachineRequestMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineRequestMetadata create() => CopyFilesFromMachineRequestMetadata._(); - CopyFilesFromMachineRequestMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineRequestMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CopyFilesFromMachineRequestMetadata? _defaultInstance; - - /// name is the service name. - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// paths are the paths to copy from and send back over the wire. - @$pb.TagNumber(2) - $core.List<$core.String> get paths => $_getList(1); - - /// allow_recursion indicates if directories should be recursed into. If - /// a directory is encountered and this is false, an error MUST occur. - @$pb.TagNumber(3) - $core.bool get allowRecursion => $_getBF(2); - @$pb.TagNumber(3) - set allowRecursion($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasAllowRecursion() => $_has(2); - @$pb.TagNumber(3) - void clearAllowRecursion() => clearField(3); - - /// preserve indicates the the receiver should provide the metadata in the file - /// to reflect the same state in the sender's filesystem as applicable. - @$pb.TagNumber(4) - $core.bool get preserve => $_getBF(3); - @$pb.TagNumber(4) - set preserve($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasPreserve() => $_has(3); - @$pb.TagNumber(4) - void clearPreserve() => clearField(4); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(4); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(4); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(4); -} - -enum CopyFilesFromMachineRequest_Request { - metadata, - ackLastFile, - notSet -} - -class CopyFilesFromMachineRequest extends $pb.GeneratedMessage { - factory CopyFilesFromMachineRequest({ - CopyFilesFromMachineRequestMetadata? metadata, - $core.bool? ackLastFile, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - if (ackLastFile != null) { - $result.ackLastFile = ackLastFile; - } - return $result; - } - CopyFilesFromMachineRequest._() : super(); - factory CopyFilesFromMachineRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CopyFilesFromMachineRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, CopyFilesFromMachineRequest_Request> _CopyFilesFromMachineRequest_RequestByTag = { - 1 : CopyFilesFromMachineRequest_Request.metadata, - 2 : CopyFilesFromMachineRequest_Request.ackLastFile, - 0 : CopyFilesFromMachineRequest_Request.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CopyFilesFromMachineRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: CopyFilesFromMachineRequestMetadata.create) - ..aOB(2, _omitFieldNames ? '' : 'ackLastFile') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineRequest clone() => CopyFilesFromMachineRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineRequest copyWith(void Function(CopyFilesFromMachineRequest) updates) => super.copyWith((message) => updates(message as CopyFilesFromMachineRequest)) as CopyFilesFromMachineRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineRequest create() => CopyFilesFromMachineRequest._(); - CopyFilesFromMachineRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CopyFilesFromMachineRequest? _defaultInstance; - - CopyFilesFromMachineRequest_Request whichRequest() => _CopyFilesFromMachineRequest_RequestByTag[$_whichOneof(0)]!; - void clearRequest() => clearField($_whichOneof(0)); - - /// metadata is sent first and only once. - @$pb.TagNumber(1) - CopyFilesFromMachineRequestMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(CopyFilesFromMachineRequestMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - CopyFilesFromMachineRequestMetadata ensureMetadata() => $_ensure(0); - - /// ack_last_file is sent only after metadata and after each file has been received. - /// The value does not matter. - @$pb.TagNumber(2) - $core.bool get ackLastFile => $_getBF(1); - @$pb.TagNumber(2) - set ackLastFile($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasAckLastFile() => $_has(1); - @$pb.TagNumber(2) - void clearAckLastFile() => clearField(2); -} - -class CopyFilesFromMachineResponseMetadata extends $pb.GeneratedMessage { - factory CopyFilesFromMachineResponseMetadata({ - CopyFilesSourceType? sourceType, - }) { - final $result = create(); - if (sourceType != null) { - $result.sourceType = sourceType; - } - return $result; - } - CopyFilesFromMachineResponseMetadata._() : super(); - factory CopyFilesFromMachineResponseMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CopyFilesFromMachineResponseMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CopyFilesFromMachineResponseMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..e(1, _omitFieldNames ? '' : 'sourceType', $pb.PbFieldType.OE, defaultOrMaker: CopyFilesSourceType.COPY_FILES_SOURCE_TYPE_UNSPECIFIED, valueOf: CopyFilesSourceType.valueOf, enumValues: CopyFilesSourceType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineResponseMetadata clone() => CopyFilesFromMachineResponseMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineResponseMetadata copyWith(void Function(CopyFilesFromMachineResponseMetadata) updates) => super.copyWith((message) => updates(message as CopyFilesFromMachineResponseMetadata)) as CopyFilesFromMachineResponseMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineResponseMetadata create() => CopyFilesFromMachineResponseMetadata._(); - CopyFilesFromMachineResponseMetadata createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineResponseMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CopyFilesFromMachineResponseMetadata? _defaultInstance; - - /// source_type is the type of files that will be transmitted in this response stream. - @$pb.TagNumber(1) - CopyFilesSourceType get sourceType => $_getN(0); - @$pb.TagNumber(1) - set sourceType(CopyFilesSourceType v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasSourceType() => $_has(0); - @$pb.TagNumber(1) - void clearSourceType() => clearField(1); -} - -enum CopyFilesFromMachineResponse_Response { - metadata, - fileData, - notSet -} - -class CopyFilesFromMachineResponse extends $pb.GeneratedMessage { - factory CopyFilesFromMachineResponse({ - CopyFilesFromMachineResponseMetadata? metadata, - FileData? fileData, - }) { - final $result = create(); - if (metadata != null) { - $result.metadata = metadata; - } - if (fileData != null) { - $result.fileData = fileData; - } - return $result; - } - CopyFilesFromMachineResponse._() : super(); - factory CopyFilesFromMachineResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CopyFilesFromMachineResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, CopyFilesFromMachineResponse_Response> _CopyFilesFromMachineResponse_ResponseByTag = { - 1 : CopyFilesFromMachineResponse_Response.metadata, - 2 : CopyFilesFromMachineResponse_Response.fileData, - 0 : CopyFilesFromMachineResponse_Response.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CopyFilesFromMachineResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) - ..oo(0, [1, 2]) - ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: CopyFilesFromMachineResponseMetadata.create) - ..aOM(2, _omitFieldNames ? '' : 'fileData', subBuilder: FileData.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineResponse clone() => CopyFilesFromMachineResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CopyFilesFromMachineResponse copyWith(void Function(CopyFilesFromMachineResponse) updates) => super.copyWith((message) => updates(message as CopyFilesFromMachineResponse)) as CopyFilesFromMachineResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineResponse create() => CopyFilesFromMachineResponse._(); - CopyFilesFromMachineResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CopyFilesFromMachineResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CopyFilesFromMachineResponse? _defaultInstance; - - CopyFilesFromMachineResponse_Response whichResponse() => _CopyFilesFromMachineResponse_ResponseByTag[$_whichOneof(0)]!; - void clearResponse() => clearField($_whichOneof(0)); - - /// metadata is sent first and only once. - @$pb.TagNumber(1) - CopyFilesFromMachineResponseMetadata get metadata => $_getN(0); - @$pb.TagNumber(1) - set metadata(CopyFilesFromMachineResponseMetadata v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasMetadata() => $_has(0); - @$pb.TagNumber(1) - void clearMetadata() => clearField(1); - @$pb.TagNumber(1) - CopyFilesFromMachineResponseMetadata ensureMetadata() => $_ensure(0); - - /// file_data is sent only after metadata. All data MUST be sent - /// in order per-file. - @$pb.TagNumber(2) - FileData get fileData => $_getN(1); - @$pb.TagNumber(2) - set fileData(FileData v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasFileData() => $_has(1); - @$pb.TagNumber(2) - void clearFileData() => clearField(2); - @$pb.TagNumber(2) - FileData ensureFileData() => $_ensure(1); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/shell/v1/shell.pbenum.dart b/lib/src/gen/service/shell/v1/shell.pbenum.dart deleted file mode 100644 index 969a4db8ce0..00000000000 --- a/lib/src/gen/service/shell/v1/shell.pbenum.dart +++ /dev/null @@ -1,41 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/shell/v1/shell.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// CopyFilesSourceType indicates what will be copied. It's important -/// to disambiguate the single directory case from the multiple files -/// case in order to indicate that the user's intent is to copy a directory -/// into a single location which may result in a new top-level directory versus -/// the cause of multiples files that always go into the existing target destination. -class CopyFilesSourceType extends $pb.ProtobufEnum { - static const CopyFilesSourceType COPY_FILES_SOURCE_TYPE_UNSPECIFIED = CopyFilesSourceType._(0, _omitEnumNames ? '' : 'COPY_FILES_SOURCE_TYPE_UNSPECIFIED'); - static const CopyFilesSourceType COPY_FILES_SOURCE_TYPE_SINGLE_FILE = CopyFilesSourceType._(1, _omitEnumNames ? '' : 'COPY_FILES_SOURCE_TYPE_SINGLE_FILE'); - static const CopyFilesSourceType COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY = CopyFilesSourceType._(2, _omitEnumNames ? '' : 'COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY'); - static const CopyFilesSourceType COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES = CopyFilesSourceType._(3, _omitEnumNames ? '' : 'COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES'); - - static const $core.List values = [ - COPY_FILES_SOURCE_TYPE_UNSPECIFIED, - COPY_FILES_SOURCE_TYPE_SINGLE_FILE, - COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY, - COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES, - ]; - - static final $core.Map<$core.int, CopyFilesSourceType> _byValue = $pb.ProtobufEnum.initByValue(values); - static CopyFilesSourceType? valueOf($core.int value) => _byValue[value]; - - const CopyFilesSourceType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/service/shell/v1/shell.pbgrpc.dart b/lib/src/gen/service/shell/v1/shell.pbgrpc.dart deleted file mode 100644 index 9d1d622f840..00000000000 --- a/lib/src/gen/service/shell/v1/shell.pbgrpc.dart +++ /dev/null @@ -1,108 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/shell/v1/shell.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'shell.pb.dart' as $41; - -export 'shell.pb.dart'; - -@$pb.GrpcServiceName('viam.service.shell.v1.ShellService') -class ShellServiceClient extends $grpc.Client { - static final _$shell = $grpc.ClientMethod<$41.ShellRequest, $41.ShellResponse>( - '/viam.service.shell.v1.ShellService/Shell', - ($41.ShellRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.ShellResponse.fromBuffer(value)); - static final _$copyFilesToMachine = $grpc.ClientMethod<$41.CopyFilesToMachineRequest, $41.CopyFilesToMachineResponse>( - '/viam.service.shell.v1.ShellService/CopyFilesToMachine', - ($41.CopyFilesToMachineRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.CopyFilesToMachineResponse.fromBuffer(value)); - static final _$copyFilesFromMachine = $grpc.ClientMethod<$41.CopyFilesFromMachineRequest, $41.CopyFilesFromMachineResponse>( - '/viam.service.shell.v1.ShellService/CopyFilesFromMachine', - ($41.CopyFilesFromMachineRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.CopyFilesFromMachineResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.shell.v1.ShellService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - ShellServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseStream<$41.ShellResponse> shell($async.Stream<$41.ShellRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$shell, request, options: options); - } - - $grpc.ResponseStream<$41.CopyFilesToMachineResponse> copyFilesToMachine($async.Stream<$41.CopyFilesToMachineRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$copyFilesToMachine, request, options: options); - } - - $grpc.ResponseStream<$41.CopyFilesFromMachineResponse> copyFilesFromMachine($async.Stream<$41.CopyFilesFromMachineRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$copyFilesFromMachine, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.shell.v1.ShellService') -abstract class ShellServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.shell.v1.ShellService'; - - ShellServiceBase() { - $addMethod($grpc.ServiceMethod<$41.ShellRequest, $41.ShellResponse>( - 'Shell', - shell, - true, - true, - ($core.List<$core.int> value) => $41.ShellRequest.fromBuffer(value), - ($41.ShellResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$41.CopyFilesToMachineRequest, $41.CopyFilesToMachineResponse>( - 'CopyFilesToMachine', - copyFilesToMachine, - true, - true, - ($core.List<$core.int> value) => $41.CopyFilesToMachineRequest.fromBuffer(value), - ($41.CopyFilesToMachineResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$41.CopyFilesFromMachineRequest, $41.CopyFilesFromMachineResponse>( - 'CopyFilesFromMachine', - copyFilesFromMachine, - true, - true, - ($core.List<$core.int> value) => $41.CopyFilesFromMachineRequest.fromBuffer(value), - ($41.CopyFilesFromMachineResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Stream<$41.ShellResponse> shell($grpc.ServiceCall call, $async.Stream<$41.ShellRequest> request); - $async.Stream<$41.CopyFilesToMachineResponse> copyFilesToMachine($grpc.ServiceCall call, $async.Stream<$41.CopyFilesToMachineRequest> request); - $async.Stream<$41.CopyFilesFromMachineResponse> copyFilesFromMachine($grpc.ServiceCall call, $async.Stream<$41.CopyFilesFromMachineRequest> request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/shell/v1/shell.pbjson.dart b/lib/src/gen/service/shell/v1/shell.pbjson.dart deleted file mode 100644 index 9a81479f4f0..00000000000 --- a/lib/src/gen/service/shell/v1/shell.pbjson.dart +++ /dev/null @@ -1,211 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/shell/v1/shell.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use copyFilesSourceTypeDescriptor instead') -const CopyFilesSourceType$json = { - '1': 'CopyFilesSourceType', - '2': [ - {'1': 'COPY_FILES_SOURCE_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'COPY_FILES_SOURCE_TYPE_SINGLE_FILE', '2': 1}, - {'1': 'COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY', '2': 2}, - {'1': 'COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES', '2': 3}, - ], -}; - -/// Descriptor for `CopyFilesSourceType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List copyFilesSourceTypeDescriptor = $convert.base64Decode( - 'ChNDb3B5RmlsZXNTb3VyY2VUeXBlEiYKIkNPUFlfRklMRVNfU09VUkNFX1RZUEVfVU5TUEVDSU' - 'ZJRUQQABImCiJDT1BZX0ZJTEVTX1NPVVJDRV9UWVBFX1NJTkdMRV9GSUxFEAESKwonQ09QWV9G' - 'SUxFU19TT1VSQ0VfVFlQRV9TSU5HTEVfRElSRUNUT1JZEAISKQolQ09QWV9GSUxFU19TT1VSQ0' - 'VfVFlQRV9NVUxUSVBMRV9GSUxFUxAD'); - -@$core.Deprecated('Use shellRequestDescriptor instead') -const ShellRequest$json = { - '1': 'ShellRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'data_in', '3': 2, '4': 1, '5': 9, '10': 'dataIn'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `ShellRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shellRequestDescriptor = $convert.base64Decode( - 'CgxTaGVsbFJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIXCgdkYXRhX2luGAIgASgJUgZkYX' - 'RhSW4SLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use shellResponseDescriptor instead') -const ShellResponse$json = { - '1': 'ShellResponse', - '2': [ - {'1': 'data_out', '3': 1, '4': 1, '5': 9, '10': 'dataOut'}, - {'1': 'data_err', '3': 2, '4': 1, '5': 9, '10': 'dataErr'}, - {'1': 'eof', '3': 3, '4': 1, '5': 8, '10': 'eof'}, - ], -}; - -/// Descriptor for `ShellResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List shellResponseDescriptor = $convert.base64Decode( - 'Cg1TaGVsbFJlc3BvbnNlEhkKCGRhdGFfb3V0GAEgASgJUgdkYXRhT3V0EhkKCGRhdGFfZXJyGA' - 'IgASgJUgdkYXRhRXJyEhAKA2VvZhgDIAEoCFIDZW9m'); - -@$core.Deprecated('Use fileDataDescriptor instead') -const FileData$json = { - '1': 'FileData', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'size', '3': 2, '4': 1, '5': 3, '10': 'size'}, - {'1': 'is_dir', '3': 3, '4': 1, '5': 8, '10': 'isDir'}, - {'1': 'data', '3': 4, '4': 1, '5': 12, '10': 'data'}, - {'1': 'eof', '3': 5, '4': 1, '5': 8, '10': 'eof'}, - {'1': 'mod_time', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '9': 0, '10': 'modTime', '17': true}, - {'1': 'mode', '3': 7, '4': 1, '5': 13, '9': 1, '10': 'mode', '17': true}, - ], - '8': [ - {'1': '_mod_time'}, - {'1': '_mode'}, - ], -}; - -/// Descriptor for `FileData`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List fileDataDescriptor = $convert.base64Decode( - 'CghGaWxlRGF0YRISCgRuYW1lGAEgASgJUgRuYW1lEhIKBHNpemUYAiABKANSBHNpemUSFQoGaX' - 'NfZGlyGAMgASgIUgVpc0RpchISCgRkYXRhGAQgASgMUgRkYXRhEhAKA2VvZhgFIAEoCFIDZW9m' - 'EjoKCG1vZF90aW1lGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAUgdtb2RUaW' - '1liAEBEhcKBG1vZGUYByABKA1IAVIEbW9kZYgBAUILCglfbW9kX3RpbWVCBwoFX21vZGU='); - -@$core.Deprecated('Use copyFilesToMachineRequestMetadataDescriptor instead') -const CopyFilesToMachineRequestMetadata$json = { - '1': 'CopyFilesToMachineRequestMetadata', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'source_type', '3': 2, '4': 1, '5': 14, '6': '.viam.service.shell.v1.CopyFilesSourceType', '10': 'sourceType'}, - {'1': 'destination', '3': 3, '4': 1, '5': 9, '10': 'destination'}, - {'1': 'preserve', '3': 4, '4': 1, '5': 8, '10': 'preserve'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `CopyFilesToMachineRequestMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List copyFilesToMachineRequestMetadataDescriptor = $convert.base64Decode( - 'CiFDb3B5RmlsZXNUb01hY2hpbmVSZXF1ZXN0TWV0YWRhdGESEgoEbmFtZRgBIAEoCVIEbmFtZR' - 'JLCgtzb3VyY2VfdHlwZRgCIAEoDjIqLnZpYW0uc2VydmljZS5zaGVsbC52MS5Db3B5RmlsZXNT' - 'b3VyY2VUeXBlUgpzb3VyY2VUeXBlEiAKC2Rlc3RpbmF0aW9uGAMgASgJUgtkZXN0aW5hdGlvbh' - 'IaCghwcmVzZXJ2ZRgEIAEoCFIIcHJlc2VydmUSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJv' - 'dG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use copyFilesToMachineRequestDescriptor instead') -const CopyFilesToMachineRequest$json = { - '1': 'CopyFilesToMachineRequest', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.service.shell.v1.CopyFilesToMachineRequestMetadata', '9': 0, '10': 'metadata'}, - {'1': 'file_data', '3': 2, '4': 1, '5': 11, '6': '.viam.service.shell.v1.FileData', '9': 0, '10': 'fileData'}, - ], - '8': [ - {'1': 'request'}, - ], -}; - -/// Descriptor for `CopyFilesToMachineRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List copyFilesToMachineRequestDescriptor = $convert.base64Decode( - 'ChlDb3B5RmlsZXNUb01hY2hpbmVSZXF1ZXN0ElYKCG1ldGFkYXRhGAEgASgLMjgudmlhbS5zZX' - 'J2aWNlLnNoZWxsLnYxLkNvcHlGaWxlc1RvTWFjaGluZVJlcXVlc3RNZXRhZGF0YUgAUghtZXRh' - 'ZGF0YRI+CglmaWxlX2RhdGEYAiABKAsyHy52aWFtLnNlcnZpY2Uuc2hlbGwudjEuRmlsZURhdG' - 'FIAFIIZmlsZURhdGFCCQoHcmVxdWVzdA=='); - -@$core.Deprecated('Use copyFilesToMachineResponseDescriptor instead') -const CopyFilesToMachineResponse$json = { - '1': 'CopyFilesToMachineResponse', - '2': [ - {'1': 'ack_last_file', '3': 1, '4': 1, '5': 8, '10': 'ackLastFile'}, - ], -}; - -/// Descriptor for `CopyFilesToMachineResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List copyFilesToMachineResponseDescriptor = $convert.base64Decode( - 'ChpDb3B5RmlsZXNUb01hY2hpbmVSZXNwb25zZRIiCg1hY2tfbGFzdF9maWxlGAEgASgIUgthY2' - 'tMYXN0RmlsZQ=='); - -@$core.Deprecated('Use copyFilesFromMachineRequestMetadataDescriptor instead') -const CopyFilesFromMachineRequestMetadata$json = { - '1': 'CopyFilesFromMachineRequestMetadata', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'paths', '3': 2, '4': 3, '5': 9, '10': 'paths'}, - {'1': 'allow_recursion', '3': 3, '4': 1, '5': 8, '10': 'allowRecursion'}, - {'1': 'preserve', '3': 4, '4': 1, '5': 8, '10': 'preserve'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `CopyFilesFromMachineRequestMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List copyFilesFromMachineRequestMetadataDescriptor = $convert.base64Decode( - 'CiNDb3B5RmlsZXNGcm9tTWFjaGluZVJlcXVlc3RNZXRhZGF0YRISCgRuYW1lGAEgASgJUgRuYW' - '1lEhQKBXBhdGhzGAIgAygJUgVwYXRocxInCg9hbGxvd19yZWN1cnNpb24YAyABKAhSDmFsbG93' - 'UmVjdXJzaW9uEhoKCHByZXNlcnZlGAQgASgIUghwcmVzZXJ2ZRItCgVleHRyYRhjIAEoCzIXLm' - 'dvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use copyFilesFromMachineRequestDescriptor instead') -const CopyFilesFromMachineRequest$json = { - '1': 'CopyFilesFromMachineRequest', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.service.shell.v1.CopyFilesFromMachineRequestMetadata', '9': 0, '10': 'metadata'}, - {'1': 'ack_last_file', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'ackLastFile'}, - ], - '8': [ - {'1': 'request'}, - ], -}; - -/// Descriptor for `CopyFilesFromMachineRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List copyFilesFromMachineRequestDescriptor = $convert.base64Decode( - 'ChtDb3B5RmlsZXNGcm9tTWFjaGluZVJlcXVlc3QSWAoIbWV0YWRhdGEYASABKAsyOi52aWFtLn' - 'NlcnZpY2Uuc2hlbGwudjEuQ29weUZpbGVzRnJvbU1hY2hpbmVSZXF1ZXN0TWV0YWRhdGFIAFII' - 'bWV0YWRhdGESJAoNYWNrX2xhc3RfZmlsZRgCIAEoCEgAUgthY2tMYXN0RmlsZUIJCgdyZXF1ZX' - 'N0'); - -@$core.Deprecated('Use copyFilesFromMachineResponseMetadataDescriptor instead') -const CopyFilesFromMachineResponseMetadata$json = { - '1': 'CopyFilesFromMachineResponseMetadata', - '2': [ - {'1': 'source_type', '3': 1, '4': 1, '5': 14, '6': '.viam.service.shell.v1.CopyFilesSourceType', '10': 'sourceType'}, - ], -}; - -/// Descriptor for `CopyFilesFromMachineResponseMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List copyFilesFromMachineResponseMetadataDescriptor = $convert.base64Decode( - 'CiRDb3B5RmlsZXNGcm9tTWFjaGluZVJlc3BvbnNlTWV0YWRhdGESSwoLc291cmNlX3R5cGUYAS' - 'ABKA4yKi52aWFtLnNlcnZpY2Uuc2hlbGwudjEuQ29weUZpbGVzU291cmNlVHlwZVIKc291cmNl' - 'VHlwZQ=='); - -@$core.Deprecated('Use copyFilesFromMachineResponseDescriptor instead') -const CopyFilesFromMachineResponse$json = { - '1': 'CopyFilesFromMachineResponse', - '2': [ - {'1': 'metadata', '3': 1, '4': 1, '5': 11, '6': '.viam.service.shell.v1.CopyFilesFromMachineResponseMetadata', '9': 0, '10': 'metadata'}, - {'1': 'file_data', '3': 2, '4': 1, '5': 11, '6': '.viam.service.shell.v1.FileData', '9': 0, '10': 'fileData'}, - ], - '8': [ - {'1': 'response'}, - ], -}; - -/// Descriptor for `CopyFilesFromMachineResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List copyFilesFromMachineResponseDescriptor = $convert.base64Decode( - 'ChxDb3B5RmlsZXNGcm9tTWFjaGluZVJlc3BvbnNlElkKCG1ldGFkYXRhGAEgASgLMjsudmlhbS' - '5zZXJ2aWNlLnNoZWxsLnYxLkNvcHlGaWxlc0Zyb21NYWNoaW5lUmVzcG9uc2VNZXRhZGF0YUgA' - 'UghtZXRhZGF0YRI+CglmaWxlX2RhdGEYAiABKAsyHy52aWFtLnNlcnZpY2Uuc2hlbGwudjEuRm' - 'lsZURhdGFIAFIIZmlsZURhdGFCCgoIcmVzcG9uc2U='); - diff --git a/lib/src/gen/service/slam/v1/slam.pb.dart b/lib/src/gen/service/slam/v1/slam.pb.dart deleted file mode 100644 index bf710d6d617..00000000000 --- a/lib/src/gen/service/slam/v1/slam.pb.dart +++ /dev/null @@ -1,568 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/slam/v1/slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'slam.pbenum.dart'; - -export 'slam.pbenum.dart'; - -class GetPositionRequest extends $pb.GeneratedMessage { - factory GetPositionRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetPositionRequest._() : super(); - factory GetPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionRequest clone() => GetPositionRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionRequest copyWith(void Function(GetPositionRequest) updates) => super.copyWith((message) => updates(message as GetPositionRequest)) as GetPositionRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionRequest create() => GetPositionRequest._(); - GetPositionRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionRequest? _defaultInstance; - - /// Name of slam service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class GetPositionResponse extends $pb.GeneratedMessage { - factory GetPositionResponse({ - $15.Pose? pose, - }) { - final $result = create(); - if (pose != null) { - $result.pose = pose; - } - return $result; - } - GetPositionResponse._() : super(); - factory GetPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOM<$15.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $15.Pose.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPositionResponse clone() => GetPositionResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPositionResponse copyWith(void Function(GetPositionResponse) updates) => super.copyWith((message) => updates(message as GetPositionResponse)) as GetPositionResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPositionResponse create() => GetPositionResponse._(); - GetPositionResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPositionResponse? _defaultInstance; - - /// Current position of the specified component in the SLAM Map - @$pb.TagNumber(1) - $15.Pose get pose => $_getN(0); - @$pb.TagNumber(1) - set pose($15.Pose v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasPose() => $_has(0); - @$pb.TagNumber(1) - void clearPose() => clearField(1); - @$pb.TagNumber(1) - $15.Pose ensurePose() => $_ensure(0); -} - -class GetPointCloudMapRequest extends $pb.GeneratedMessage { - factory GetPointCloudMapRequest({ - $core.String? name, - $core.bool? returnEditedMap, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (returnEditedMap != null) { - $result.returnEditedMap = returnEditedMap; - } - return $result; - } - GetPointCloudMapRequest._() : super(); - factory GetPointCloudMapRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPointCloudMapRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPointCloudMapRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOB(2, _omitFieldNames ? '' : 'returnEditedMap') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPointCloudMapRequest clone() => GetPointCloudMapRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPointCloudMapRequest copyWith(void Function(GetPointCloudMapRequest) updates) => super.copyWith((message) => updates(message as GetPointCloudMapRequest)) as GetPointCloudMapRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPointCloudMapRequest create() => GetPointCloudMapRequest._(); - GetPointCloudMapRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPointCloudMapRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPointCloudMapRequest? _defaultInstance; - - /// Name of slam service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// For SLAM services that implement handling an edited map, this boolean - /// should indicate whether to return that edited map. If the SLAM service - /// does not handle edited maps, the unedited map will be returned instead. - @$pb.TagNumber(2) - $core.bool get returnEditedMap => $_getBF(1); - @$pb.TagNumber(2) - set returnEditedMap($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasReturnEditedMap() => $_has(1); - @$pb.TagNumber(2) - void clearReturnEditedMap() => clearField(2); -} - -class GetPointCloudMapResponse extends $pb.GeneratedMessage { - factory GetPointCloudMapResponse({ - $core.List<$core.int>? pointCloudPcdChunk, - }) { - final $result = create(); - if (pointCloudPcdChunk != null) { - $result.pointCloudPcdChunk = pointCloudPcdChunk; - } - return $result; - } - GetPointCloudMapResponse._() : super(); - factory GetPointCloudMapResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPointCloudMapResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPointCloudMapResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'pointCloudPcdChunk', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPointCloudMapResponse clone() => GetPointCloudMapResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPointCloudMapResponse copyWith(void Function(GetPointCloudMapResponse) updates) => super.copyWith((message) => updates(message as GetPointCloudMapResponse)) as GetPointCloudMapResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPointCloudMapResponse create() => GetPointCloudMapResponse._(); - GetPointCloudMapResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPointCloudMapResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPointCloudMapResponse? _defaultInstance; - - /// One chunk of the PointCloud. - /// For a given GetPointCloudMap request, concatenating all - /// GetPointCloudMapResponse.point_cloud_pcd_chunk values in the - /// order received result in the complete pointcloud in standard PCD - /// format where XY is the ground plane and positive Z is up, following - /// the Right Hand Rule. - /// - /// Read more about the pointcloud format here: - /// https://pointclouds.org/documentation/tutorials/pcd_file_format.html - /// - /// Viam expects pointcloud data with fields "x y z" or "x y z rgb", and for - /// this to be specified in the pointcloud header in the FIELDS entry. If color - /// data is included in the pointcloud, Viam's services assume that the color - /// value encodes a confidence score for that data point. Viam expects the - /// confidence score to be encoded in the blue parameter of the RGB value, on a - /// scale from 1-100. - /// - /// Pointclouds are little endian encoded. - @$pb.TagNumber(1) - $core.List<$core.int> get pointCloudPcdChunk => $_getN(0); - @$pb.TagNumber(1) - set pointCloudPcdChunk($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasPointCloudPcdChunk() => $_has(0); - @$pb.TagNumber(1) - void clearPointCloudPcdChunk() => clearField(1); -} - -class GetInternalStateRequest extends $pb.GeneratedMessage { - factory GetInternalStateRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetInternalStateRequest._() : super(); - factory GetInternalStateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInternalStateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInternalStateRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInternalStateRequest clone() => GetInternalStateRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInternalStateRequest copyWith(void Function(GetInternalStateRequest) updates) => super.copyWith((message) => updates(message as GetInternalStateRequest)) as GetInternalStateRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInternalStateRequest create() => GetInternalStateRequest._(); - GetInternalStateRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInternalStateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInternalStateRequest? _defaultInstance; - - /// Name of slam service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -class GetInternalStateResponse extends $pb.GeneratedMessage { - factory GetInternalStateResponse({ - $core.List<$core.int>? internalStateChunk, - }) { - final $result = create(); - if (internalStateChunk != null) { - $result.internalStateChunk = internalStateChunk; - } - return $result; - } - GetInternalStateResponse._() : super(); - factory GetInternalStateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetInternalStateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInternalStateResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'internalStateChunk', $pb.PbFieldType.OY) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetInternalStateResponse clone() => GetInternalStateResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetInternalStateResponse copyWith(void Function(GetInternalStateResponse) updates) => super.copyWith((message) => updates(message as GetInternalStateResponse)) as GetInternalStateResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetInternalStateResponse create() => GetInternalStateResponse._(); - GetInternalStateResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetInternalStateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetInternalStateResponse? _defaultInstance; - - /// Chunk of the internal state of the SLAM algorithm required to continue - /// mapping/localization - @$pb.TagNumber(1) - $core.List<$core.int> get internalStateChunk => $_getN(0); - @$pb.TagNumber(1) - set internalStateChunk($core.List<$core.int> v) { $_setBytes(0, v); } - @$pb.TagNumber(1) - $core.bool hasInternalStateChunk() => $_has(0); - @$pb.TagNumber(1) - void clearInternalStateChunk() => clearField(1); -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// Name of the slam service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// Returns properties information for the named slam service -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - $core.bool? cloudSlam, - MappingMode? mappingMode, - $core.String? internalStateFileType, - $core.Iterable? sensorInfo, - }) { - final $result = create(); - if (cloudSlam != null) { - $result.cloudSlam = cloudSlam; - } - if (mappingMode != null) { - $result.mappingMode = mappingMode; - } - if (internalStateFileType != null) { - $result.internalStateFileType = internalStateFileType; - } - if (sensorInfo != null) { - $result.sensorInfo.addAll(sensorInfo); - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'cloudSlam') - ..e(2, _omitFieldNames ? '' : 'mappingMode', $pb.PbFieldType.OE, defaultOrMaker: MappingMode.MAPPING_MODE_UNSPECIFIED, valueOf: MappingMode.valueOf, enumValues: MappingMode.values) - ..aOS(3, _omitFieldNames ? '' : 'internalStateFileType') - ..pc(4, _omitFieldNames ? '' : 'sensorInfo', $pb.PbFieldType.PM, subBuilder: SensorInfo.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.bool get cloudSlam => $_getBF(0); - @$pb.TagNumber(1) - set cloudSlam($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasCloudSlam() => $_has(0); - @$pb.TagNumber(1) - void clearCloudSlam() => clearField(1); - - @$pb.TagNumber(2) - MappingMode get mappingMode => $_getN(1); - @$pb.TagNumber(2) - set mappingMode(MappingMode v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasMappingMode() => $_has(1); - @$pb.TagNumber(2) - void clearMappingMode() => clearField(2); - - @$pb.TagNumber(3) - $core.String get internalStateFileType => $_getSZ(2); - @$pb.TagNumber(3) - set internalStateFileType($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasInternalStateFileType() => $_has(2); - @$pb.TagNumber(3) - void clearInternalStateFileType() => clearField(3); - - @$pb.TagNumber(4) - $core.List get sensorInfo => $_getList(3); -} - -class SensorInfo extends $pb.GeneratedMessage { - factory SensorInfo({ - $core.String? name, - SensorType? type, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (type != null) { - $result.type = type; - } - return $result; - } - SensorInfo._() : super(); - factory SensorInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SensorInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SensorInfo', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..e(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: SensorType.SENSOR_TYPE_UNSPECIFIED, valueOf: SensorType.valueOf, enumValues: SensorType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SensorInfo clone() => SensorInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SensorInfo copyWith(void Function(SensorInfo) updates) => super.copyWith((message) => updates(message as SensorInfo)) as SensorInfo; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SensorInfo create() => SensorInfo._(); - SensorInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SensorInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SensorInfo? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - SensorType get type => $_getN(1); - @$pb.TagNumber(2) - set type(SensorType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasType() => $_has(1); - @$pb.TagNumber(2) - void clearType() => clearField(2); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/slam/v1/slam.pbenum.dart b/lib/src/gen/service/slam/v1/slam.pbenum.dart deleted file mode 100644 index b467f243ba0..00000000000 --- a/lib/src/gen/service/slam/v1/slam.pbenum.dart +++ /dev/null @@ -1,56 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/slam/v1/slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// MappingMode represnts the various form of mapping and localizing SLAM can perform. -/// These include, creating a new map, localizing on an existiing map and updating an -/// exisiting map. -class MappingMode extends $pb.ProtobufEnum { - static const MappingMode MAPPING_MODE_UNSPECIFIED = MappingMode._(0, _omitEnumNames ? '' : 'MAPPING_MODE_UNSPECIFIED'); - static const MappingMode MAPPING_MODE_CREATE_NEW_MAP = MappingMode._(1, _omitEnumNames ? '' : 'MAPPING_MODE_CREATE_NEW_MAP'); - static const MappingMode MAPPING_MODE_LOCALIZE_ONLY = MappingMode._(2, _omitEnumNames ? '' : 'MAPPING_MODE_LOCALIZE_ONLY'); - static const MappingMode MAPPING_MODE_UPDATE_EXISTING_MAP = MappingMode._(3, _omitEnumNames ? '' : 'MAPPING_MODE_UPDATE_EXISTING_MAP'); - - static const $core.List values = [ - MAPPING_MODE_UNSPECIFIED, - MAPPING_MODE_CREATE_NEW_MAP, - MAPPING_MODE_LOCALIZE_ONLY, - MAPPING_MODE_UPDATE_EXISTING_MAP, - ]; - - static final $core.Map<$core.int, MappingMode> _byValue = $pb.ProtobufEnum.initByValue(values); - static MappingMode? valueOf($core.int value) => _byValue[value]; - - const MappingMode._($core.int v, $core.String n) : super(v, n); -} - -class SensorType extends $pb.ProtobufEnum { - static const SensorType SENSOR_TYPE_UNSPECIFIED = SensorType._(0, _omitEnumNames ? '' : 'SENSOR_TYPE_UNSPECIFIED'); - static const SensorType SENSOR_TYPE_CAMERA = SensorType._(1, _omitEnumNames ? '' : 'SENSOR_TYPE_CAMERA'); - static const SensorType SENSOR_TYPE_MOVEMENT_SENSOR = SensorType._(2, _omitEnumNames ? '' : 'SENSOR_TYPE_MOVEMENT_SENSOR'); - - static const $core.List values = [ - SENSOR_TYPE_UNSPECIFIED, - SENSOR_TYPE_CAMERA, - SENSOR_TYPE_MOVEMENT_SENSOR, - ]; - - static final $core.Map<$core.int, SensorType> _byValue = $pb.ProtobufEnum.initByValue(values); - static SensorType? valueOf($core.int value) => _byValue[value]; - - const SensorType._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/src/gen/service/slam/v1/slam.pbgrpc.dart b/lib/src/gen/service/slam/v1/slam.pbgrpc.dart deleted file mode 100644 index 37850129ac1..00000000000 --- a/lib/src/gen/service/slam/v1/slam.pbgrpc.dart +++ /dev/null @@ -1,140 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/slam/v1/slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'slam.pb.dart' as $42; - -export 'slam.pb.dart'; - -@$pb.GrpcServiceName('viam.service.slam.v1.SLAMService') -class SLAMServiceClient extends $grpc.Client { - static final _$getPosition = $grpc.ClientMethod<$42.GetPositionRequest, $42.GetPositionResponse>( - '/viam.service.slam.v1.SLAMService/GetPosition', - ($42.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $42.GetPositionResponse.fromBuffer(value)); - static final _$getPointCloudMap = $grpc.ClientMethod<$42.GetPointCloudMapRequest, $42.GetPointCloudMapResponse>( - '/viam.service.slam.v1.SLAMService/GetPointCloudMap', - ($42.GetPointCloudMapRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $42.GetPointCloudMapResponse.fromBuffer(value)); - static final _$getInternalState = $grpc.ClientMethod<$42.GetInternalStateRequest, $42.GetInternalStateResponse>( - '/viam.service.slam.v1.SLAMService/GetInternalState', - ($42.GetInternalStateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $42.GetInternalStateResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$42.GetPropertiesRequest, $42.GetPropertiesResponse>( - '/viam.service.slam.v1.SLAMService/GetProperties', - ($42.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $42.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.slam.v1.SLAMService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - SLAMServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$42.GetPositionResponse> getPosition($42.GetPositionRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getPosition, request, options: options); - } - - $grpc.ResponseStream<$42.GetPointCloudMapResponse> getPointCloudMap($42.GetPointCloudMapRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$getPointCloudMap, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseStream<$42.GetInternalStateResponse> getInternalState($42.GetInternalStateRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$getInternalState, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$42.GetPropertiesResponse> getProperties($42.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.slam.v1.SLAMService') -abstract class SLAMServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.slam.v1.SLAMService'; - - SLAMServiceBase() { - $addMethod($grpc.ServiceMethod<$42.GetPositionRequest, $42.GetPositionResponse>( - 'GetPosition', - getPosition_Pre, - false, - false, - ($core.List<$core.int> value) => $42.GetPositionRequest.fromBuffer(value), - ($42.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$42.GetPointCloudMapRequest, $42.GetPointCloudMapResponse>( - 'GetPointCloudMap', - getPointCloudMap_Pre, - false, - true, - ($core.List<$core.int> value) => $42.GetPointCloudMapRequest.fromBuffer(value), - ($42.GetPointCloudMapResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$42.GetInternalStateRequest, $42.GetInternalStateResponse>( - 'GetInternalState', - getInternalState_Pre, - false, - true, - ($core.List<$core.int> value) => $42.GetInternalStateRequest.fromBuffer(value), - ($42.GetInternalStateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$42.GetPropertiesRequest, $42.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $42.GetPropertiesRequest.fromBuffer(value), - ($42.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$42.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$42.GetPositionRequest> request) async { - return getPosition(call, await request); - } - - $async.Stream<$42.GetPointCloudMapResponse> getPointCloudMap_Pre($grpc.ServiceCall call, $async.Future<$42.GetPointCloudMapRequest> request) async* { - yield* getPointCloudMap(call, await request); - } - - $async.Stream<$42.GetInternalStateResponse> getInternalState_Pre($grpc.ServiceCall call, $async.Future<$42.GetInternalStateRequest> request) async* { - yield* getInternalState(call, await request); - } - - $async.Future<$42.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$42.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$42.GetPositionResponse> getPosition($grpc.ServiceCall call, $42.GetPositionRequest request); - $async.Stream<$42.GetPointCloudMapResponse> getPointCloudMap($grpc.ServiceCall call, $42.GetPointCloudMapRequest request); - $async.Stream<$42.GetInternalStateResponse> getInternalState($grpc.ServiceCall call, $42.GetInternalStateRequest request); - $async.Future<$42.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $42.GetPropertiesRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/slam/v1/slam.pbjson.dart b/lib/src/gen/service/slam/v1/slam.pbjson.dart deleted file mode 100644 index 7205f4de362..00000000000 --- a/lib/src/gen/service/slam/v1/slam.pbjson.dart +++ /dev/null @@ -1,177 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/slam/v1/slam.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use mappingModeDescriptor instead') -const MappingMode$json = { - '1': 'MappingMode', - '2': [ - {'1': 'MAPPING_MODE_UNSPECIFIED', '2': 0}, - {'1': 'MAPPING_MODE_CREATE_NEW_MAP', '2': 1}, - {'1': 'MAPPING_MODE_LOCALIZE_ONLY', '2': 2}, - {'1': 'MAPPING_MODE_UPDATE_EXISTING_MAP', '2': 3}, - ], -}; - -/// Descriptor for `MappingMode`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List mappingModeDescriptor = $convert.base64Decode( - 'CgtNYXBwaW5nTW9kZRIcChhNQVBQSU5HX01PREVfVU5TUEVDSUZJRUQQABIfChtNQVBQSU5HX0' - '1PREVfQ1JFQVRFX05FV19NQVAQARIeChpNQVBQSU5HX01PREVfTE9DQUxJWkVfT05MWRACEiQK' - 'IE1BUFBJTkdfTU9ERV9VUERBVEVfRVhJU1RJTkdfTUFQEAM='); - -@$core.Deprecated('Use sensorTypeDescriptor instead') -const SensorType$json = { - '1': 'SensorType', - '2': [ - {'1': 'SENSOR_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'SENSOR_TYPE_CAMERA', '2': 1}, - {'1': 'SENSOR_TYPE_MOVEMENT_SENSOR', '2': 2}, - ], -}; - -/// Descriptor for `SensorType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List sensorTypeDescriptor = $convert.base64Decode( - 'CgpTZW5zb3JUeXBlEhsKF1NFTlNPUl9UWVBFX1VOU1BFQ0lGSUVEEAASFgoSU0VOU09SX1RZUE' - 'VfQ0FNRVJBEAESHwobU0VOU09SX1RZUEVfTU9WRU1FTlRfU0VOU09SEAI='); - -@$core.Deprecated('Use getPositionRequestDescriptor instead') -const GetPositionRequest$json = { - '1': 'GetPositionRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionRequestDescriptor = $convert.base64Decode( - 'ChJHZXRQb3NpdGlvblJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZQ=='); - -@$core.Deprecated('Use getPositionResponseDescriptor instead') -const GetPositionResponse$json = { - '1': 'GetPositionResponse', - '2': [ - {'1': 'pose', '3': 1, '4': 1, '5': 11, '6': '.viam.common.v1.Pose', '10': 'pose'}, - ], -}; - -/// Descriptor for `GetPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPositionResponseDescriptor = $convert.base64Decode( - 'ChNHZXRQb3NpdGlvblJlc3BvbnNlEigKBHBvc2UYASABKAsyFC52aWFtLmNvbW1vbi52MS5Qb3' - 'NlUgRwb3Nl'); - -@$core.Deprecated('Use getPointCloudMapRequestDescriptor instead') -const GetPointCloudMapRequest$json = { - '1': 'GetPointCloudMapRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'return_edited_map', '3': 2, '4': 1, '5': 8, '9': 0, '10': 'returnEditedMap', '17': true}, - ], - '8': [ - {'1': '_return_edited_map'}, - ], -}; - -/// Descriptor for `GetPointCloudMapRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPointCloudMapRequestDescriptor = $convert.base64Decode( - 'ChdHZXRQb2ludENsb3VkTWFwUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi8KEXJldHVybl' - '9lZGl0ZWRfbWFwGAIgASgISABSD3JldHVybkVkaXRlZE1hcIgBAUIUChJfcmV0dXJuX2VkaXRl' - 'ZF9tYXA='); - -@$core.Deprecated('Use getPointCloudMapResponseDescriptor instead') -const GetPointCloudMapResponse$json = { - '1': 'GetPointCloudMapResponse', - '2': [ - {'1': 'point_cloud_pcd_chunk', '3': 1, '4': 1, '5': 12, '10': 'pointCloudPcdChunk'}, - ], -}; - -/// Descriptor for `GetPointCloudMapResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPointCloudMapResponseDescriptor = $convert.base64Decode( - 'ChhHZXRQb2ludENsb3VkTWFwUmVzcG9uc2USMQoVcG9pbnRfY2xvdWRfcGNkX2NodW5rGAEgAS' - 'gMUhJwb2ludENsb3VkUGNkQ2h1bms='); - -@$core.Deprecated('Use getInternalStateRequestDescriptor instead') -const GetInternalStateRequest$json = { - '1': 'GetInternalStateRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetInternalStateRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInternalStateRequestDescriptor = $convert.base64Decode( - 'ChdHZXRJbnRlcm5hbFN0YXRlUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1l'); - -@$core.Deprecated('Use getInternalStateResponseDescriptor instead') -const GetInternalStateResponse$json = { - '1': 'GetInternalStateResponse', - '2': [ - {'1': 'internal_state_chunk', '3': 1, '4': 1, '5': 12, '10': 'internalStateChunk'}, - ], -}; - -/// Descriptor for `GetInternalStateResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getInternalStateResponseDescriptor = $convert.base64Decode( - 'ChhHZXRJbnRlcm5hbFN0YXRlUmVzcG9uc2USMAoUaW50ZXJuYWxfc3RhdGVfY2h1bmsYASABKA' - 'xSEmludGVybmFsU3RhdGVDaHVuaw=='); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1l'); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'cloud_slam', '3': 1, '4': 1, '5': 8, '10': 'cloudSlam'}, - {'1': 'mapping_mode', '3': 2, '4': 1, '5': 14, '6': '.viam.service.slam.v1.MappingMode', '10': 'mappingMode'}, - {'1': 'internal_state_file_type', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'internalStateFileType', '17': true}, - {'1': 'sensor_info', '3': 4, '4': 3, '5': 11, '6': '.viam.service.slam.v1.SensorInfo', '10': 'sensorInfo'}, - ], - '8': [ - {'1': '_internal_state_file_type'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USHQoKY2xvdWRfc2xhbRgBIAEoCFIJY2xvdWRTbGFtEk' - 'QKDG1hcHBpbmdfbW9kZRgCIAEoDjIhLnZpYW0uc2VydmljZS5zbGFtLnYxLk1hcHBpbmdNb2Rl' - 'UgttYXBwaW5nTW9kZRI8ChhpbnRlcm5hbF9zdGF0ZV9maWxlX3R5cGUYAyABKAlIAFIVaW50ZX' - 'JuYWxTdGF0ZUZpbGVUeXBliAEBEkEKC3NlbnNvcl9pbmZvGAQgAygLMiAudmlhbS5zZXJ2aWNl' - 'LnNsYW0udjEuU2Vuc29ySW5mb1IKc2Vuc29ySW5mb0IbChlfaW50ZXJuYWxfc3RhdGVfZmlsZV' - '90eXBl'); - -@$core.Deprecated('Use sensorInfoDescriptor instead') -const SensorInfo$json = { - '1': 'SensorInfo', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.viam.service.slam.v1.SensorType', '10': 'type'}, - ], -}; - -/// Descriptor for `SensorInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sensorInfoDescriptor = $convert.base64Decode( - 'CgpTZW5zb3JJbmZvEhIKBG5hbWUYASABKAlSBG5hbWUSNAoEdHlwZRgCIAEoDjIgLnZpYW0uc2' - 'VydmljZS5zbGFtLnYxLlNlbnNvclR5cGVSBHR5cGU='); - diff --git a/lib/src/gen/service/vision/v1/vision.pb.dart b/lib/src/gen/service/vision/v1/vision.pb.dart deleted file mode 100644 index 0f125415d5d..00000000000 --- a/lib/src/gen/service/vision/v1/vision.pb.dart +++ /dev/null @@ -1,1439 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/vision/v1/vision.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import '../../../component/camera/v1/camera.pb.dart' as $21; -import '../../../google/protobuf/struct.pb.dart' as $46; - -class GetDetectionsRequest extends $pb.GeneratedMessage { - factory GetDetectionsRequest({ - $core.String? name, - $core.List<$core.int>? image, - $fixnum.Int64? width, - $fixnum.Int64? height, - $core.String? mimeType, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (image != null) { - $result.image = image; - } - if (width != null) { - $result.width = width; - } - if (height != null) { - $result.height = height; - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetDetectionsRequest._() : super(); - factory GetDetectionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDetectionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDetectionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'image', $pb.PbFieldType.OY) - ..aInt64(3, _omitFieldNames ? '' : 'width') - ..aInt64(4, _omitFieldNames ? '' : 'height') - ..aOS(5, _omitFieldNames ? '' : 'mimeType') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDetectionsRequest clone() => GetDetectionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDetectionsRequest copyWith(void Function(GetDetectionsRequest) updates) => super.copyWith((message) => updates(message as GetDetectionsRequest)) as GetDetectionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDetectionsRequest create() => GetDetectionsRequest._(); - GetDetectionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDetectionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDetectionsRequest? _defaultInstance; - - /// name of the vision service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// the image, encoded as bytes - @$pb.TagNumber(2) - $core.List<$core.int> get image => $_getN(1); - @$pb.TagNumber(2) - set image($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasImage() => $_has(1); - @$pb.TagNumber(2) - void clearImage() => clearField(2); - - /// the width of the image - @$pb.TagNumber(3) - $fixnum.Int64 get width => $_getI64(2); - @$pb.TagNumber(3) - set width($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasWidth() => $_has(2); - @$pb.TagNumber(3) - void clearWidth() => clearField(3); - - /// the height of the image - @$pb.TagNumber(4) - $fixnum.Int64 get height => $_getI64(3); - @$pb.TagNumber(4) - set height($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(4) - $core.bool hasHeight() => $_has(3); - @$pb.TagNumber(4) - void clearHeight() => clearField(4); - - /// the actual MIME type of image - @$pb.TagNumber(5) - $core.String get mimeType => $_getSZ(4); - @$pb.TagNumber(5) - set mimeType($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasMimeType() => $_has(4); - @$pb.TagNumber(5) - void clearMimeType() => clearField(5); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(5); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(5); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(5); -} - -class GetDetectionsResponse extends $pb.GeneratedMessage { - factory GetDetectionsResponse({ - $core.Iterable? detections, - }) { - final $result = create(); - if (detections != null) { - $result.detections.addAll(detections); - } - return $result; - } - GetDetectionsResponse._() : super(); - factory GetDetectionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDetectionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDetectionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'detections', $pb.PbFieldType.PM, subBuilder: Detection.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDetectionsResponse clone() => GetDetectionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDetectionsResponse copyWith(void Function(GetDetectionsResponse) updates) => super.copyWith((message) => updates(message as GetDetectionsResponse)) as GetDetectionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDetectionsResponse create() => GetDetectionsResponse._(); - GetDetectionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDetectionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDetectionsResponse? _defaultInstance; - - /// the bounding boxes and labels - @$pb.TagNumber(1) - $core.List get detections => $_getList(0); -} - -class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { - factory GetDetectionsFromCameraRequest({ - $core.String? name, - $core.String? cameraName, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (cameraName != null) { - $result.cameraName = cameraName; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetDetectionsFromCameraRequest._() : super(); - factory GetDetectionsFromCameraRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDetectionsFromCameraRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDetectionsFromCameraRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'cameraName') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDetectionsFromCameraRequest clone() => GetDetectionsFromCameraRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDetectionsFromCameraRequest copyWith(void Function(GetDetectionsFromCameraRequest) updates) => super.copyWith((message) => updates(message as GetDetectionsFromCameraRequest)) as GetDetectionsFromCameraRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDetectionsFromCameraRequest create() => GetDetectionsFromCameraRequest._(); - GetDetectionsFromCameraRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDetectionsFromCameraRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDetectionsFromCameraRequest? _defaultInstance; - - /// name of the vision service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// name of camera source to use as input - @$pb.TagNumber(2) - $core.String get cameraName => $_getSZ(1); - @$pb.TagNumber(2) - set cameraName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasCameraName() => $_has(1); - @$pb.TagNumber(2) - void clearCameraName() => clearField(2); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(2); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(2); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(2); -} - -class GetDetectionsFromCameraResponse extends $pb.GeneratedMessage { - factory GetDetectionsFromCameraResponse({ - $core.Iterable? detections, - }) { - final $result = create(); - if (detections != null) { - $result.detections.addAll(detections); - } - return $result; - } - GetDetectionsFromCameraResponse._() : super(); - factory GetDetectionsFromCameraResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDetectionsFromCameraResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDetectionsFromCameraResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'detections', $pb.PbFieldType.PM, subBuilder: Detection.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDetectionsFromCameraResponse clone() => GetDetectionsFromCameraResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDetectionsFromCameraResponse copyWith(void Function(GetDetectionsFromCameraResponse) updates) => super.copyWith((message) => updates(message as GetDetectionsFromCameraResponse)) as GetDetectionsFromCameraResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDetectionsFromCameraResponse create() => GetDetectionsFromCameraResponse._(); - GetDetectionsFromCameraResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetDetectionsFromCameraResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetDetectionsFromCameraResponse? _defaultInstance; - - /// the bounding boxes and labels - @$pb.TagNumber(1) - $core.List get detections => $_getList(0); -} - -class Detection extends $pb.GeneratedMessage { - factory Detection({ - $fixnum.Int64? xMin, - $fixnum.Int64? yMin, - $fixnum.Int64? xMax, - $fixnum.Int64? yMax, - $core.double? confidence, - $core.String? className, - $core.double? xMinNormalized, - $core.double? yMinNormalized, - $core.double? xMaxNormalized, - $core.double? yMaxNormalized, - }) { - final $result = create(); - if (xMin != null) { - $result.xMin = xMin; - } - if (yMin != null) { - $result.yMin = yMin; - } - if (xMax != null) { - $result.xMax = xMax; - } - if (yMax != null) { - $result.yMax = yMax; - } - if (confidence != null) { - $result.confidence = confidence; - } - if (className != null) { - $result.className = className; - } - if (xMinNormalized != null) { - $result.xMinNormalized = xMinNormalized; - } - if (yMinNormalized != null) { - $result.yMinNormalized = yMinNormalized; - } - if (xMaxNormalized != null) { - $result.xMaxNormalized = xMaxNormalized; - } - if (yMaxNormalized != null) { - $result.yMaxNormalized = yMaxNormalized; - } - return $result; - } - Detection._() : super(); - factory Detection.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Detection.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Detection', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aInt64(1, _omitFieldNames ? '' : 'xMin') - ..aInt64(2, _omitFieldNames ? '' : 'yMin') - ..aInt64(3, _omitFieldNames ? '' : 'xMax') - ..aInt64(4, _omitFieldNames ? '' : 'yMax') - ..a<$core.double>(5, _omitFieldNames ? '' : 'confidence', $pb.PbFieldType.OD) - ..aOS(6, _omitFieldNames ? '' : 'className') - ..a<$core.double>(7, _omitFieldNames ? '' : 'xMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(8, _omitFieldNames ? '' : 'yMinNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(9, _omitFieldNames ? '' : 'xMaxNormalized', $pb.PbFieldType.OD) - ..a<$core.double>(10, _omitFieldNames ? '' : 'yMaxNormalized', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Detection clone() => Detection()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Detection copyWith(void Function(Detection) updates) => super.copyWith((message) => updates(message as Detection)) as Detection; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Detection create() => Detection._(); - Detection createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Detection getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Detection? _defaultInstance; - - /// the four corners of the box - @$pb.TagNumber(1) - $fixnum.Int64 get xMin => $_getI64(0); - @$pb.TagNumber(1) - set xMin($fixnum.Int64 v) { $_setInt64(0, v); } - @$pb.TagNumber(1) - $core.bool hasXMin() => $_has(0); - @$pb.TagNumber(1) - void clearXMin() => clearField(1); - - @$pb.TagNumber(2) - $fixnum.Int64 get yMin => $_getI64(1); - @$pb.TagNumber(2) - set yMin($fixnum.Int64 v) { $_setInt64(1, v); } - @$pb.TagNumber(2) - $core.bool hasYMin() => $_has(1); - @$pb.TagNumber(2) - void clearYMin() => clearField(2); - - @$pb.TagNumber(3) - $fixnum.Int64 get xMax => $_getI64(2); - @$pb.TagNumber(3) - set xMax($fixnum.Int64 v) { $_setInt64(2, v); } - @$pb.TagNumber(3) - $core.bool hasXMax() => $_has(2); - @$pb.TagNumber(3) - void clearXMax() => clearField(3); - - @$pb.TagNumber(4) - $fixnum.Int64 get yMax => $_getI64(3); - @$pb.TagNumber(4) - set yMax($fixnum.Int64 v) { $_setInt64(3, v); } - @$pb.TagNumber(4) - $core.bool hasYMax() => $_has(3); - @$pb.TagNumber(4) - void clearYMax() => clearField(4); - - /// the confidence of the detection - @$pb.TagNumber(5) - $core.double get confidence => $_getN(4); - @$pb.TagNumber(5) - set confidence($core.double v) { $_setDouble(4, v); } - @$pb.TagNumber(5) - $core.bool hasConfidence() => $_has(4); - @$pb.TagNumber(5) - void clearConfidence() => clearField(5); - - /// label associated with the detected object - @$pb.TagNumber(6) - $core.String get className => $_getSZ(5); - @$pb.TagNumber(6) - set className($core.String v) { $_setString(5, v); } - @$pb.TagNumber(6) - $core.bool hasClassName() => $_has(5); - @$pb.TagNumber(6) - void clearClassName() => clearField(6); - - /// the four corners of the box, in proportion to the respective image dimension - @$pb.TagNumber(7) - $core.double get xMinNormalized => $_getN(6); - @$pb.TagNumber(7) - set xMinNormalized($core.double v) { $_setDouble(6, v); } - @$pb.TagNumber(7) - $core.bool hasXMinNormalized() => $_has(6); - @$pb.TagNumber(7) - void clearXMinNormalized() => clearField(7); - - @$pb.TagNumber(8) - $core.double get yMinNormalized => $_getN(7); - @$pb.TagNumber(8) - set yMinNormalized($core.double v) { $_setDouble(7, v); } - @$pb.TagNumber(8) - $core.bool hasYMinNormalized() => $_has(7); - @$pb.TagNumber(8) - void clearYMinNormalized() => clearField(8); - - @$pb.TagNumber(9) - $core.double get xMaxNormalized => $_getN(8); - @$pb.TagNumber(9) - set xMaxNormalized($core.double v) { $_setDouble(8, v); } - @$pb.TagNumber(9) - $core.bool hasXMaxNormalized() => $_has(8); - @$pb.TagNumber(9) - void clearXMaxNormalized() => clearField(9); - - @$pb.TagNumber(10) - $core.double get yMaxNormalized => $_getN(9); - @$pb.TagNumber(10) - set yMaxNormalized($core.double v) { $_setDouble(9, v); } - @$pb.TagNumber(10) - $core.bool hasYMaxNormalized() => $_has(9); - @$pb.TagNumber(10) - void clearYMaxNormalized() => clearField(10); -} - -class GetClassificationsRequest extends $pb.GeneratedMessage { - factory GetClassificationsRequest({ - $core.String? name, - $core.List<$core.int>? image, - $core.int? width, - $core.int? height, - $core.String? mimeType, - $core.int? n, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (image != null) { - $result.image = image; - } - if (width != null) { - $result.width = width; - } - if (height != null) { - $result.height = height; - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (n != null) { - $result.n = n; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetClassificationsRequest._() : super(); - factory GetClassificationsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetClassificationsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetClassificationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'image', $pb.PbFieldType.OY) - ..a<$core.int>(3, _omitFieldNames ? '' : 'width', $pb.PbFieldType.O3) - ..a<$core.int>(4, _omitFieldNames ? '' : 'height', $pb.PbFieldType.O3) - ..aOS(5, _omitFieldNames ? '' : 'mimeType') - ..a<$core.int>(6, _omitFieldNames ? '' : 'n', $pb.PbFieldType.O3) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetClassificationsRequest clone() => GetClassificationsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetClassificationsRequest copyWith(void Function(GetClassificationsRequest) updates) => super.copyWith((message) => updates(message as GetClassificationsRequest)) as GetClassificationsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetClassificationsRequest create() => GetClassificationsRequest._(); - GetClassificationsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetClassificationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetClassificationsRequest? _defaultInstance; - - /// name of the vision service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// the image encoded as bytes - @$pb.TagNumber(2) - $core.List<$core.int> get image => $_getN(1); - @$pb.TagNumber(2) - set image($core.List<$core.int> v) { $_setBytes(1, v); } - @$pb.TagNumber(2) - $core.bool hasImage() => $_has(1); - @$pb.TagNumber(2) - void clearImage() => clearField(2); - - /// the width of the image - @$pb.TagNumber(3) - $core.int get width => $_getIZ(2); - @$pb.TagNumber(3) - set width($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasWidth() => $_has(2); - @$pb.TagNumber(3) - void clearWidth() => clearField(3); - - /// the height of the image - @$pb.TagNumber(4) - $core.int get height => $_getIZ(3); - @$pb.TagNumber(4) - set height($core.int v) { $_setSignedInt32(3, v); } - @$pb.TagNumber(4) - $core.bool hasHeight() => $_has(3); - @$pb.TagNumber(4) - void clearHeight() => clearField(4); - - /// the actual MIME type of image - @$pb.TagNumber(5) - $core.String get mimeType => $_getSZ(4); - @$pb.TagNumber(5) - set mimeType($core.String v) { $_setString(4, v); } - @$pb.TagNumber(5) - $core.bool hasMimeType() => $_has(4); - @$pb.TagNumber(5) - void clearMimeType() => clearField(5); - - /// the number of classifications desired - @$pb.TagNumber(6) - $core.int get n => $_getIZ(5); - @$pb.TagNumber(6) - set n($core.int v) { $_setSignedInt32(5, v); } - @$pb.TagNumber(6) - $core.bool hasN() => $_has(5); - @$pb.TagNumber(6) - void clearN() => clearField(6); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(6); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(6); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(6); -} - -class GetClassificationsResponse extends $pb.GeneratedMessage { - factory GetClassificationsResponse({ - $core.Iterable? classifications, - }) { - final $result = create(); - if (classifications != null) { - $result.classifications.addAll(classifications); - } - return $result; - } - GetClassificationsResponse._() : super(); - factory GetClassificationsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetClassificationsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetClassificationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'classifications', $pb.PbFieldType.PM, subBuilder: Classification.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetClassificationsResponse clone() => GetClassificationsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetClassificationsResponse copyWith(void Function(GetClassificationsResponse) updates) => super.copyWith((message) => updates(message as GetClassificationsResponse)) as GetClassificationsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetClassificationsResponse create() => GetClassificationsResponse._(); - GetClassificationsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetClassificationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetClassificationsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get classifications => $_getList(0); -} - -class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { - factory GetClassificationsFromCameraRequest({ - $core.String? name, - $core.String? cameraName, - $core.int? n, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (cameraName != null) { - $result.cameraName = cameraName; - } - if (n != null) { - $result.n = n; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetClassificationsFromCameraRequest._() : super(); - factory GetClassificationsFromCameraRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetClassificationsFromCameraRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetClassificationsFromCameraRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'cameraName') - ..a<$core.int>(3, _omitFieldNames ? '' : 'n', $pb.PbFieldType.O3) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetClassificationsFromCameraRequest clone() => GetClassificationsFromCameraRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetClassificationsFromCameraRequest copyWith(void Function(GetClassificationsFromCameraRequest) updates) => super.copyWith((message) => updates(message as GetClassificationsFromCameraRequest)) as GetClassificationsFromCameraRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetClassificationsFromCameraRequest create() => GetClassificationsFromCameraRequest._(); - GetClassificationsFromCameraRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetClassificationsFromCameraRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetClassificationsFromCameraRequest? _defaultInstance; - - /// name of the vision service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// the image encoded as bytes - @$pb.TagNumber(2) - $core.String get cameraName => $_getSZ(1); - @$pb.TagNumber(2) - set cameraName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasCameraName() => $_has(1); - @$pb.TagNumber(2) - void clearCameraName() => clearField(2); - - /// the number of classifications desired - @$pb.TagNumber(3) - $core.int get n => $_getIZ(2); - @$pb.TagNumber(3) - set n($core.int v) { $_setSignedInt32(2, v); } - @$pb.TagNumber(3) - $core.bool hasN() => $_has(2); - @$pb.TagNumber(3) - void clearN() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class GetClassificationsFromCameraResponse extends $pb.GeneratedMessage { - factory GetClassificationsFromCameraResponse({ - $core.Iterable? classifications, - }) { - final $result = create(); - if (classifications != null) { - $result.classifications.addAll(classifications); - } - return $result; - } - GetClassificationsFromCameraResponse._() : super(); - factory GetClassificationsFromCameraResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetClassificationsFromCameraResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetClassificationsFromCameraResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'classifications', $pb.PbFieldType.PM, subBuilder: Classification.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetClassificationsFromCameraResponse clone() => GetClassificationsFromCameraResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetClassificationsFromCameraResponse copyWith(void Function(GetClassificationsFromCameraResponse) updates) => super.copyWith((message) => updates(message as GetClassificationsFromCameraResponse)) as GetClassificationsFromCameraResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetClassificationsFromCameraResponse create() => GetClassificationsFromCameraResponse._(); - GetClassificationsFromCameraResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetClassificationsFromCameraResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetClassificationsFromCameraResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get classifications => $_getList(0); -} - -/// the general form of the output from a classifier -class Classification extends $pb.GeneratedMessage { - factory Classification({ - $core.String? className, - $core.double? confidence, - }) { - final $result = create(); - if (className != null) { - $result.className = className; - } - if (confidence != null) { - $result.confidence = confidence; - } - return $result; - } - Classification._() : super(); - factory Classification.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Classification.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Classification', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'className') - ..a<$core.double>(2, _omitFieldNames ? '' : 'confidence', $pb.PbFieldType.OD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Classification clone() => Classification()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Classification copyWith(void Function(Classification) updates) => super.copyWith((message) => updates(message as Classification)) as Classification; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Classification create() => Classification._(); - Classification createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Classification getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Classification? _defaultInstance; - - /// the class name - @$pb.TagNumber(1) - $core.String get className => $_getSZ(0); - @$pb.TagNumber(1) - set className($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasClassName() => $_has(0); - @$pb.TagNumber(1) - void clearClassName() => clearField(1); - - /// the confidence score of the classification - @$pb.TagNumber(2) - $core.double get confidence => $_getN(1); - @$pb.TagNumber(2) - set confidence($core.double v) { $_setDouble(1, v); } - @$pb.TagNumber(2) - $core.bool hasConfidence() => $_has(1); - @$pb.TagNumber(2) - void clearConfidence() => clearField(2); -} - -class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { - factory GetObjectPointCloudsRequest({ - $core.String? name, - $core.String? cameraName, - $core.String? mimeType, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (cameraName != null) { - $result.cameraName = cameraName; - } - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetObjectPointCloudsRequest._() : super(); - factory GetObjectPointCloudsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetObjectPointCloudsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObjectPointCloudsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'cameraName') - ..aOS(3, _omitFieldNames ? '' : 'mimeType') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetObjectPointCloudsRequest clone() => GetObjectPointCloudsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetObjectPointCloudsRequest copyWith(void Function(GetObjectPointCloudsRequest) updates) => super.copyWith((message) => updates(message as GetObjectPointCloudsRequest)) as GetObjectPointCloudsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetObjectPointCloudsRequest create() => GetObjectPointCloudsRequest._(); - GetObjectPointCloudsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetObjectPointCloudsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetObjectPointCloudsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Name of a camera - @$pb.TagNumber(2) - $core.String get cameraName => $_getSZ(1); - @$pb.TagNumber(2) - set cameraName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasCameraName() => $_has(1); - @$pb.TagNumber(2) - void clearCameraName() => clearField(2); - - /// Requested MIME type of response - @$pb.TagNumber(3) - $core.String get mimeType => $_getSZ(2); - @$pb.TagNumber(3) - set mimeType($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasMimeType() => $_has(2); - @$pb.TagNumber(3) - void clearMimeType() => clearField(3); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(3); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(3); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(3); -} - -class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { - factory GetObjectPointCloudsResponse({ - $core.String? mimeType, - $core.Iterable<$15.PointCloudObject>? objects, - }) { - final $result = create(); - if (mimeType != null) { - $result.mimeType = mimeType; - } - if (objects != null) { - $result.objects.addAll(objects); - } - return $result; - } - GetObjectPointCloudsResponse._() : super(); - factory GetObjectPointCloudsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetObjectPointCloudsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObjectPointCloudsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'mimeType') - ..pc<$15.PointCloudObject>(2, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $15.PointCloudObject.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetObjectPointCloudsResponse clone() => GetObjectPointCloudsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetObjectPointCloudsResponse copyWith(void Function(GetObjectPointCloudsResponse) updates) => super.copyWith((message) => updates(message as GetObjectPointCloudsResponse)) as GetObjectPointCloudsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetObjectPointCloudsResponse create() => GetObjectPointCloudsResponse._(); - GetObjectPointCloudsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetObjectPointCloudsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetObjectPointCloudsResponse? _defaultInstance; - - /// Actual MIME type of response - @$pb.TagNumber(1) - $core.String get mimeType => $_getSZ(0); - @$pb.TagNumber(1) - set mimeType($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasMimeType() => $_has(0); - @$pb.TagNumber(1) - void clearMimeType() => clearField(1); - - /// List of objects in the scene - @$pb.TagNumber(2) - $core.List<$15.PointCloudObject> get objects => $_getList(1); -} - -class GetPropertiesRequest extends $pb.GeneratedMessage { - factory GetPropertiesRequest({ - $core.String? name, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - GetPropertiesRequest._() : super(); - factory GetPropertiesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest clone() => GetPropertiesRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesRequest copyWith(void Function(GetPropertiesRequest) updates) => super.copyWith((message) => updates(message as GetPropertiesRequest)) as GetPropertiesRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest create() => GetPropertiesRequest._(); - GetPropertiesRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesRequest? _defaultInstance; - - /// name of the vision service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// Additional arguments to the method - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(1); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(1); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(1); -} - -class CaptureAllFromCameraRequest extends $pb.GeneratedMessage { - factory CaptureAllFromCameraRequest({ - $core.String? name, - $core.String? cameraName, - $core.bool? returnImage, - $core.bool? returnClassifications, - $core.bool? returnDetections, - $core.bool? returnObjectPointClouds, - $46.Struct? extra, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (cameraName != null) { - $result.cameraName = cameraName; - } - if (returnImage != null) { - $result.returnImage = returnImage; - } - if (returnClassifications != null) { - $result.returnClassifications = returnClassifications; - } - if (returnDetections != null) { - $result.returnDetections = returnDetections; - } - if (returnObjectPointClouds != null) { - $result.returnObjectPointClouds = returnObjectPointClouds; - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - CaptureAllFromCameraRequest._() : super(); - factory CaptureAllFromCameraRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CaptureAllFromCameraRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureAllFromCameraRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOS(2, _omitFieldNames ? '' : 'cameraName') - ..aOB(3, _omitFieldNames ? '' : 'returnImage') - ..aOB(4, _omitFieldNames ? '' : 'returnClassifications') - ..aOB(5, _omitFieldNames ? '' : 'returnDetections') - ..aOB(6, _omitFieldNames ? '' : 'returnObjectPointClouds') - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CaptureAllFromCameraRequest clone() => CaptureAllFromCameraRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CaptureAllFromCameraRequest copyWith(void Function(CaptureAllFromCameraRequest) updates) => super.copyWith((message) => updates(message as CaptureAllFromCameraRequest)) as CaptureAllFromCameraRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CaptureAllFromCameraRequest create() => CaptureAllFromCameraRequest._(); - CaptureAllFromCameraRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CaptureAllFromCameraRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CaptureAllFromCameraRequest? _defaultInstance; - - /// name of the vision service - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - /// name of camera source to use as input - @$pb.TagNumber(2) - $core.String get cameraName => $_getSZ(1); - @$pb.TagNumber(2) - set cameraName($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasCameraName() => $_has(1); - @$pb.TagNumber(2) - void clearCameraName() => clearField(2); - - /// whether or not including the image in the response - @$pb.TagNumber(3) - $core.bool get returnImage => $_getBF(2); - @$pb.TagNumber(3) - set returnImage($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasReturnImage() => $_has(2); - @$pb.TagNumber(3) - void clearReturnImage() => clearField(3); - - /// whether or not including classifications in the response - @$pb.TagNumber(4) - $core.bool get returnClassifications => $_getBF(3); - @$pb.TagNumber(4) - set returnClassifications($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(4) - $core.bool hasReturnClassifications() => $_has(3); - @$pb.TagNumber(4) - void clearReturnClassifications() => clearField(4); - - /// whether or not including detections in the response - @$pb.TagNumber(5) - $core.bool get returnDetections => $_getBF(4); - @$pb.TagNumber(5) - set returnDetections($core.bool v) { $_setBool(4, v); } - @$pb.TagNumber(5) - $core.bool hasReturnDetections() => $_has(4); - @$pb.TagNumber(5) - void clearReturnDetections() => clearField(5); - - /// whether or not including pcd in the response - @$pb.TagNumber(6) - $core.bool get returnObjectPointClouds => $_getBF(5); - @$pb.TagNumber(6) - set returnObjectPointClouds($core.bool v) { $_setBool(5, v); } - @$pb.TagNumber(6) - $core.bool hasReturnObjectPointClouds() => $_has(5); - @$pb.TagNumber(6) - void clearReturnObjectPointClouds() => clearField(6); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(6); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(6); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(6); -} - -class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { - factory CaptureAllFromCameraResponse({ - $21.Image? image, - $core.Iterable? detections, - $core.Iterable? classifications, - $core.Iterable<$15.PointCloudObject>? objects, - $46.Struct? extra, - }) { - final $result = create(); - if (image != null) { - $result.image = image; - } - if (detections != null) { - $result.detections.addAll(detections); - } - if (classifications != null) { - $result.classifications.addAll(classifications); - } - if (objects != null) { - $result.objects.addAll(objects); - } - if (extra != null) { - $result.extra = extra; - } - return $result; - } - CaptureAllFromCameraResponse._() : super(); - factory CaptureAllFromCameraResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CaptureAllFromCameraResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureAllFromCameraResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOM<$21.Image>(1, _omitFieldNames ? '' : 'image', subBuilder: $21.Image.create) - ..pc(2, _omitFieldNames ? '' : 'detections', $pb.PbFieldType.PM, subBuilder: Detection.create) - ..pc(3, _omitFieldNames ? '' : 'classifications', $pb.PbFieldType.PM, subBuilder: Classification.create) - ..pc<$15.PointCloudObject>(4, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $15.PointCloudObject.create) - ..aOM<$46.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $46.Struct.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CaptureAllFromCameraResponse clone() => CaptureAllFromCameraResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CaptureAllFromCameraResponse copyWith(void Function(CaptureAllFromCameraResponse) updates) => super.copyWith((message) => updates(message as CaptureAllFromCameraResponse)) as CaptureAllFromCameraResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static CaptureAllFromCameraResponse create() => CaptureAllFromCameraResponse._(); - CaptureAllFromCameraResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CaptureAllFromCameraResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CaptureAllFromCameraResponse? _defaultInstance; - - @$pb.TagNumber(1) - $21.Image get image => $_getN(0); - @$pb.TagNumber(1) - set image($21.Image v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasImage() => $_has(0); - @$pb.TagNumber(1) - void clearImage() => clearField(1); - @$pb.TagNumber(1) - $21.Image ensureImage() => $_ensure(0); - - @$pb.TagNumber(2) - $core.List get detections => $_getList(1); - - @$pb.TagNumber(3) - $core.List get classifications => $_getList(2); - - @$pb.TagNumber(4) - $core.List<$15.PointCloudObject> get objects => $_getList(3); - - @$pb.TagNumber(99) - $46.Struct get extra => $_getN(4); - @$pb.TagNumber(99) - set extra($46.Struct v) { setField(99, v); } - @$pb.TagNumber(99) - $core.bool hasExtra() => $_has(4); - @$pb.TagNumber(99) - void clearExtra() => clearField(99); - @$pb.TagNumber(99) - $46.Struct ensureExtra() => $_ensure(4); -} - -class GetPropertiesResponse extends $pb.GeneratedMessage { - factory GetPropertiesResponse({ - $core.bool? classificationsSupported, - $core.bool? detectionsSupported, - $core.bool? objectPointCloudsSupported, - }) { - final $result = create(); - if (classificationsSupported != null) { - $result.classificationsSupported = classificationsSupported; - } - if (detectionsSupported != null) { - $result.detectionsSupported = detectionsSupported; - } - if (objectPointCloudsSupported != null) { - $result.objectPointCloudsSupported = objectPointCloudsSupported; - } - return $result; - } - GetPropertiesResponse._() : super(); - factory GetPropertiesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetPropertiesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOB(1, _omitFieldNames ? '' : 'classificationsSupported') - ..aOB(2, _omitFieldNames ? '' : 'detectionsSupported') - ..aOB(3, _omitFieldNames ? '' : 'objectPointCloudsSupported') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse clone() => GetPropertiesResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetPropertiesResponse copyWith(void Function(GetPropertiesResponse) updates) => super.copyWith((message) => updates(message as GetPropertiesResponse)) as GetPropertiesResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse create() => GetPropertiesResponse._(); - GetPropertiesResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetPropertiesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetPropertiesResponse? _defaultInstance; - - /// whether or not classifactions are supported by the vision service - @$pb.TagNumber(1) - $core.bool get classificationsSupported => $_getBF(0); - @$pb.TagNumber(1) - set classificationsSupported($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(1) - $core.bool hasClassificationsSupported() => $_has(0); - @$pb.TagNumber(1) - void clearClassificationsSupported() => clearField(1); - - /// whether or not detections are supported by the vision service - @$pb.TagNumber(2) - $core.bool get detectionsSupported => $_getBF(1); - @$pb.TagNumber(2) - set detectionsSupported($core.bool v) { $_setBool(1, v); } - @$pb.TagNumber(2) - $core.bool hasDetectionsSupported() => $_has(1); - @$pb.TagNumber(2) - void clearDetectionsSupported() => clearField(2); - - /// whether or not 3d segmentation is supported by the vision service - @$pb.TagNumber(3) - $core.bool get objectPointCloudsSupported => $_getBF(2); - @$pb.TagNumber(3) - set objectPointCloudsSupported($core.bool v) { $_setBool(2, v); } - @$pb.TagNumber(3) - $core.bool hasObjectPointCloudsSupported() => $_has(2); - @$pb.TagNumber(3) - void clearObjectPointCloudsSupported() => clearField(3); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/vision/v1/vision.pbenum.dart b/lib/src/gen/service/vision/v1/vision.pbenum.dart deleted file mode 100644 index bad0201c592..00000000000 --- a/lib/src/gen/service/vision/v1/vision.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/vision/v1/vision.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/service/vision/v1/vision.pbgrpc.dart b/lib/src/gen/service/vision/v1/vision.pbgrpc.dart deleted file mode 100644 index 6c263e5cd0c..00000000000 --- a/lib/src/gen/service/vision/v1/vision.pbgrpc.dart +++ /dev/null @@ -1,200 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/vision/v1/vision.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../common/v1/common.pb.dart' as $15; -import 'vision.pb.dart' as $43; - -export 'vision.pb.dart'; - -@$pb.GrpcServiceName('viam.service.vision.v1.VisionService') -class VisionServiceClient extends $grpc.Client { - static final _$getDetectionsFromCamera = $grpc.ClientMethod<$43.GetDetectionsFromCameraRequest, $43.GetDetectionsFromCameraResponse>( - '/viam.service.vision.v1.VisionService/GetDetectionsFromCamera', - ($43.GetDetectionsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $43.GetDetectionsFromCameraResponse.fromBuffer(value)); - static final _$getDetections = $grpc.ClientMethod<$43.GetDetectionsRequest, $43.GetDetectionsResponse>( - '/viam.service.vision.v1.VisionService/GetDetections', - ($43.GetDetectionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $43.GetDetectionsResponse.fromBuffer(value)); - static final _$getClassificationsFromCamera = $grpc.ClientMethod<$43.GetClassificationsFromCameraRequest, $43.GetClassificationsFromCameraResponse>( - '/viam.service.vision.v1.VisionService/GetClassificationsFromCamera', - ($43.GetClassificationsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $43.GetClassificationsFromCameraResponse.fromBuffer(value)); - static final _$getClassifications = $grpc.ClientMethod<$43.GetClassificationsRequest, $43.GetClassificationsResponse>( - '/viam.service.vision.v1.VisionService/GetClassifications', - ($43.GetClassificationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $43.GetClassificationsResponse.fromBuffer(value)); - static final _$getObjectPointClouds = $grpc.ClientMethod<$43.GetObjectPointCloudsRequest, $43.GetObjectPointCloudsResponse>( - '/viam.service.vision.v1.VisionService/GetObjectPointClouds', - ($43.GetObjectPointCloudsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $43.GetObjectPointCloudsResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$43.GetPropertiesRequest, $43.GetPropertiesResponse>( - '/viam.service.vision.v1.VisionService/GetProperties', - ($43.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $43.GetPropertiesResponse.fromBuffer(value)); - static final _$captureAllFromCamera = $grpc.ClientMethod<$43.CaptureAllFromCameraRequest, $43.CaptureAllFromCameraResponse>( - '/viam.service.vision.v1.VisionService/CaptureAllFromCamera', - ($43.CaptureAllFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $43.CaptureAllFromCameraResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - '/viam.service.vision.v1.VisionService/DoCommand', - ($15.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); - - VisionServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$43.GetDetectionsFromCameraResponse> getDetectionsFromCamera($43.GetDetectionsFromCameraRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getDetectionsFromCamera, request, options: options); - } - - $grpc.ResponseFuture<$43.GetDetectionsResponse> getDetections($43.GetDetectionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getDetections, request, options: options); - } - - $grpc.ResponseFuture<$43.GetClassificationsFromCameraResponse> getClassificationsFromCamera($43.GetClassificationsFromCameraRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getClassificationsFromCamera, request, options: options); - } - - $grpc.ResponseFuture<$43.GetClassificationsResponse> getClassifications($43.GetClassificationsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getClassifications, request, options: options); - } - - $grpc.ResponseFuture<$43.GetObjectPointCloudsResponse> getObjectPointClouds($43.GetObjectPointCloudsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getObjectPointClouds, request, options: options); - } - - $grpc.ResponseFuture<$43.GetPropertiesResponse> getProperties($43.GetPropertiesRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getProperties, request, options: options); - } - - $grpc.ResponseFuture<$43.CaptureAllFromCameraResponse> captureAllFromCamera($43.CaptureAllFromCameraRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$captureAllFromCamera, request, options: options); - } - - $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$doCommand, request, options: options); - } -} - -@$pb.GrpcServiceName('viam.service.vision.v1.VisionService') -abstract class VisionServiceBase extends $grpc.Service { - $core.String get $name => 'viam.service.vision.v1.VisionService'; - - VisionServiceBase() { - $addMethod($grpc.ServiceMethod<$43.GetDetectionsFromCameraRequest, $43.GetDetectionsFromCameraResponse>( - 'GetDetectionsFromCamera', - getDetectionsFromCamera_Pre, - false, - false, - ($core.List<$core.int> value) => $43.GetDetectionsFromCameraRequest.fromBuffer(value), - ($43.GetDetectionsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$43.GetDetectionsRequest, $43.GetDetectionsResponse>( - 'GetDetections', - getDetections_Pre, - false, - false, - ($core.List<$core.int> value) => $43.GetDetectionsRequest.fromBuffer(value), - ($43.GetDetectionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$43.GetClassificationsFromCameraRequest, $43.GetClassificationsFromCameraResponse>( - 'GetClassificationsFromCamera', - getClassificationsFromCamera_Pre, - false, - false, - ($core.List<$core.int> value) => $43.GetClassificationsFromCameraRequest.fromBuffer(value), - ($43.GetClassificationsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$43.GetClassificationsRequest, $43.GetClassificationsResponse>( - 'GetClassifications', - getClassifications_Pre, - false, - false, - ($core.List<$core.int> value) => $43.GetClassificationsRequest.fromBuffer(value), - ($43.GetClassificationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$43.GetObjectPointCloudsRequest, $43.GetObjectPointCloudsResponse>( - 'GetObjectPointClouds', - getObjectPointClouds_Pre, - false, - false, - ($core.List<$core.int> value) => $43.GetObjectPointCloudsRequest.fromBuffer(value), - ($43.GetObjectPointCloudsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$43.GetPropertiesRequest, $43.GetPropertiesResponse>( - 'GetProperties', - getProperties_Pre, - false, - false, - ($core.List<$core.int> value) => $43.GetPropertiesRequest.fromBuffer(value), - ($43.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$43.CaptureAllFromCameraRequest, $43.CaptureAllFromCameraResponse>( - 'CaptureAllFromCamera', - captureAllFromCamera_Pre, - false, - false, - ($core.List<$core.int> value) => $43.CaptureAllFromCameraRequest.fromBuffer(value), - ($43.CaptureAllFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( - 'DoCommand', - doCommand_Pre, - false, - false, - ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), - ($15.DoCommandResponse value) => value.writeToBuffer())); - } - - $async.Future<$43.GetDetectionsFromCameraResponse> getDetectionsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$43.GetDetectionsFromCameraRequest> request) async { - return getDetectionsFromCamera(call, await request); - } - - $async.Future<$43.GetDetectionsResponse> getDetections_Pre($grpc.ServiceCall call, $async.Future<$43.GetDetectionsRequest> request) async { - return getDetections(call, await request); - } - - $async.Future<$43.GetClassificationsFromCameraResponse> getClassificationsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$43.GetClassificationsFromCameraRequest> request) async { - return getClassificationsFromCamera(call, await request); - } - - $async.Future<$43.GetClassificationsResponse> getClassifications_Pre($grpc.ServiceCall call, $async.Future<$43.GetClassificationsRequest> request) async { - return getClassifications(call, await request); - } - - $async.Future<$43.GetObjectPointCloudsResponse> getObjectPointClouds_Pre($grpc.ServiceCall call, $async.Future<$43.GetObjectPointCloudsRequest> request) async { - return getObjectPointClouds(call, await request); - } - - $async.Future<$43.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$43.GetPropertiesRequest> request) async { - return getProperties(call, await request); - } - - $async.Future<$43.CaptureAllFromCameraResponse> captureAllFromCamera_Pre($grpc.ServiceCall call, $async.Future<$43.CaptureAllFromCameraRequest> request) async { - return captureAllFromCamera(call, await request); - } - - $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { - return doCommand(call, await request); - } - - $async.Future<$43.GetDetectionsFromCameraResponse> getDetectionsFromCamera($grpc.ServiceCall call, $43.GetDetectionsFromCameraRequest request); - $async.Future<$43.GetDetectionsResponse> getDetections($grpc.ServiceCall call, $43.GetDetectionsRequest request); - $async.Future<$43.GetClassificationsFromCameraResponse> getClassificationsFromCamera($grpc.ServiceCall call, $43.GetClassificationsFromCameraRequest request); - $async.Future<$43.GetClassificationsResponse> getClassifications($grpc.ServiceCall call, $43.GetClassificationsRequest request); - $async.Future<$43.GetObjectPointCloudsResponse> getObjectPointClouds($grpc.ServiceCall call, $43.GetObjectPointCloudsRequest request); - $async.Future<$43.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $43.GetPropertiesRequest request); - $async.Future<$43.CaptureAllFromCameraResponse> captureAllFromCamera($grpc.ServiceCall call, $43.CaptureAllFromCameraRequest request); - $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); -} diff --git a/lib/src/gen/service/vision/v1/vision.pbjson.dart b/lib/src/gen/service/vision/v1/vision.pbjson.dart deleted file mode 100644 index 4a1fc26246f..00000000000 --- a/lib/src/gen/service/vision/v1/vision.pbjson.dart +++ /dev/null @@ -1,303 +0,0 @@ -// -// Generated code. Do not modify. -// source: service/vision/v1/vision.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getDetectionsRequestDescriptor instead') -const GetDetectionsRequest$json = { - '1': 'GetDetectionsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'image', '3': 2, '4': 1, '5': 12, '10': 'image'}, - {'1': 'width', '3': 3, '4': 1, '5': 3, '10': 'width'}, - {'1': 'height', '3': 4, '4': 1, '5': 3, '10': 'height'}, - {'1': 'mime_type', '3': 5, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetDetectionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDetectionsRequestDescriptor = $convert.base64Decode( - 'ChRHZXREZXRlY3Rpb25zUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEhQKBWltYWdlGAIgAS' - 'gMUgVpbWFnZRIUCgV3aWR0aBgDIAEoA1IFd2lkdGgSFgoGaGVpZ2h0GAQgASgDUgZoZWlnaHQS' - 'GwoJbWltZV90eXBlGAUgASgJUghtaW1lVHlwZRItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5wcm' - '90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getDetectionsResponseDescriptor instead') -const GetDetectionsResponse$json = { - '1': 'GetDetectionsResponse', - '2': [ - {'1': 'detections', '3': 1, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Detection', '10': 'detections'}, - ], -}; - -/// Descriptor for `GetDetectionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDetectionsResponseDescriptor = $convert.base64Decode( - 'ChVHZXREZXRlY3Rpb25zUmVzcG9uc2USQQoKZGV0ZWN0aW9ucxgBIAMoCzIhLnZpYW0uc2Vydm' - 'ljZS52aXNpb24udjEuRGV0ZWN0aW9uUgpkZXRlY3Rpb25z'); - -@$core.Deprecated('Use getDetectionsFromCameraRequestDescriptor instead') -const GetDetectionsFromCameraRequest$json = { - '1': 'GetDetectionsFromCameraRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'camera_name', '3': 2, '4': 1, '5': 9, '10': 'cameraName'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetDetectionsFromCameraRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDetectionsFromCameraRequestDescriptor = $convert.base64Decode( - 'Ch5HZXREZXRlY3Rpb25zRnJvbUNhbWVyYVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIfCg' - 'tjYW1lcmFfbmFtZRgCIAEoCVIKY2FtZXJhTmFtZRItCgVleHRyYRhjIAEoCzIXLmdvb2dsZS5w' - 'cm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); - -@$core.Deprecated('Use getDetectionsFromCameraResponseDescriptor instead') -const GetDetectionsFromCameraResponse$json = { - '1': 'GetDetectionsFromCameraResponse', - '2': [ - {'1': 'detections', '3': 1, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Detection', '10': 'detections'}, - ], -}; - -/// Descriptor for `GetDetectionsFromCameraResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDetectionsFromCameraResponseDescriptor = $convert.base64Decode( - 'Ch9HZXREZXRlY3Rpb25zRnJvbUNhbWVyYVJlc3BvbnNlEkEKCmRldGVjdGlvbnMYASADKAsyIS' - '52aWFtLnNlcnZpY2UudmlzaW9uLnYxLkRldGVjdGlvblIKZGV0ZWN0aW9ucw=='); - -@$core.Deprecated('Use detectionDescriptor instead') -const Detection$json = { - '1': 'Detection', - '2': [ - {'1': 'x_min', '3': 1, '4': 1, '5': 3, '9': 0, '10': 'xMin', '17': true}, - {'1': 'y_min', '3': 2, '4': 1, '5': 3, '9': 1, '10': 'yMin', '17': true}, - {'1': 'x_max', '3': 3, '4': 1, '5': 3, '9': 2, '10': 'xMax', '17': true}, - {'1': 'y_max', '3': 4, '4': 1, '5': 3, '9': 3, '10': 'yMax', '17': true}, - {'1': 'confidence', '3': 5, '4': 1, '5': 1, '10': 'confidence'}, - {'1': 'class_name', '3': 6, '4': 1, '5': 9, '10': 'className'}, - {'1': 'x_min_normalized', '3': 7, '4': 1, '5': 1, '9': 4, '10': 'xMinNormalized', '17': true}, - {'1': 'y_min_normalized', '3': 8, '4': 1, '5': 1, '9': 5, '10': 'yMinNormalized', '17': true}, - {'1': 'x_max_normalized', '3': 9, '4': 1, '5': 1, '9': 6, '10': 'xMaxNormalized', '17': true}, - {'1': 'y_max_normalized', '3': 10, '4': 1, '5': 1, '9': 7, '10': 'yMaxNormalized', '17': true}, - ], - '8': [ - {'1': '_x_min'}, - {'1': '_y_min'}, - {'1': '_x_max'}, - {'1': '_y_max'}, - {'1': '_x_min_normalized'}, - {'1': '_y_min_normalized'}, - {'1': '_x_max_normalized'}, - {'1': '_y_max_normalized'}, - ], -}; - -/// Descriptor for `Detection`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List detectionDescriptor = $convert.base64Decode( - 'CglEZXRlY3Rpb24SGAoFeF9taW4YASABKANIAFIEeE1pbogBARIYCgV5X21pbhgCIAEoA0gBUg' - 'R5TWluiAEBEhgKBXhfbWF4GAMgASgDSAJSBHhNYXiIAQESGAoFeV9tYXgYBCABKANIA1IEeU1h' - 'eIgBARIeCgpjb25maWRlbmNlGAUgASgBUgpjb25maWRlbmNlEh0KCmNsYXNzX25hbWUYBiABKA' - 'lSCWNsYXNzTmFtZRItChB4X21pbl9ub3JtYWxpemVkGAcgASgBSARSDnhNaW5Ob3JtYWxpemVk' - 'iAEBEi0KEHlfbWluX25vcm1hbGl6ZWQYCCABKAFIBVIOeU1pbk5vcm1hbGl6ZWSIAQESLQoQeF' - '9tYXhfbm9ybWFsaXplZBgJIAEoAUgGUg54TWF4Tm9ybWFsaXplZIgBARItChB5X21heF9ub3Jt' - 'YWxpemVkGAogASgBSAdSDnlNYXhOb3JtYWxpemVkiAEBQggKBl94X21pbkIICgZfeV9taW5CCA' - 'oGX3hfbWF4QggKBl95X21heEITChFfeF9taW5fbm9ybWFsaXplZEITChFfeV9taW5fbm9ybWFs' - 'aXplZEITChFfeF9tYXhfbm9ybWFsaXplZEITChFfeV9tYXhfbm9ybWFsaXplZA=='); - -@$core.Deprecated('Use getClassificationsRequestDescriptor instead') -const GetClassificationsRequest$json = { - '1': 'GetClassificationsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'image', '3': 2, '4': 1, '5': 12, '10': 'image'}, - {'1': 'width', '3': 3, '4': 1, '5': 5, '10': 'width'}, - {'1': 'height', '3': 4, '4': 1, '5': 5, '10': 'height'}, - {'1': 'mime_type', '3': 5, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'n', '3': 6, '4': 1, '5': 5, '10': 'n'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetClassificationsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getClassificationsRequestDescriptor = $convert.base64Decode( - 'ChlHZXRDbGFzc2lmaWNhdGlvbnNSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSFAoFaW1hZ2' - 'UYAiABKAxSBWltYWdlEhQKBXdpZHRoGAMgASgFUgV3aWR0aBIWCgZoZWlnaHQYBCABKAVSBmhl' - 'aWdodBIbCgltaW1lX3R5cGUYBSABKAlSCG1pbWVUeXBlEgwKAW4YBiABKAVSAW4SLQoFZXh0cm' - 'EYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use getClassificationsResponseDescriptor instead') -const GetClassificationsResponse$json = { - '1': 'GetClassificationsResponse', - '2': [ - {'1': 'classifications', '3': 1, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Classification', '10': 'classifications'}, - ], -}; - -/// Descriptor for `GetClassificationsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getClassificationsResponseDescriptor = $convert.base64Decode( - 'ChpHZXRDbGFzc2lmaWNhdGlvbnNSZXNwb25zZRJQCg9jbGFzc2lmaWNhdGlvbnMYASADKAsyJi' - '52aWFtLnNlcnZpY2UudmlzaW9uLnYxLkNsYXNzaWZpY2F0aW9uUg9jbGFzc2lmaWNhdGlvbnM='); - -@$core.Deprecated('Use getClassificationsFromCameraRequestDescriptor instead') -const GetClassificationsFromCameraRequest$json = { - '1': 'GetClassificationsFromCameraRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'camera_name', '3': 2, '4': 1, '5': 9, '10': 'cameraName'}, - {'1': 'n', '3': 3, '4': 1, '5': 5, '10': 'n'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetClassificationsFromCameraRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getClassificationsFromCameraRequestDescriptor = $convert.base64Decode( - 'CiNHZXRDbGFzc2lmaWNhdGlvbnNGcm9tQ2FtZXJhUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW' - '1lEh8KC2NhbWVyYV9uYW1lGAIgASgJUgpjYW1lcmFOYW1lEgwKAW4YAyABKAVSAW4SLQoFZXh0' - 'cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use getClassificationsFromCameraResponseDescriptor instead') -const GetClassificationsFromCameraResponse$json = { - '1': 'GetClassificationsFromCameraResponse', - '2': [ - {'1': 'classifications', '3': 1, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Classification', '10': 'classifications'}, - ], -}; - -/// Descriptor for `GetClassificationsFromCameraResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getClassificationsFromCameraResponseDescriptor = $convert.base64Decode( - 'CiRHZXRDbGFzc2lmaWNhdGlvbnNGcm9tQ2FtZXJhUmVzcG9uc2USUAoPY2xhc3NpZmljYXRpb2' - '5zGAEgAygLMiYudmlhbS5zZXJ2aWNlLnZpc2lvbi52MS5DbGFzc2lmaWNhdGlvblIPY2xhc3Np' - 'ZmljYXRpb25z'); - -@$core.Deprecated('Use classificationDescriptor instead') -const Classification$json = { - '1': 'Classification', - '2': [ - {'1': 'class_name', '3': 1, '4': 1, '5': 9, '10': 'className'}, - {'1': 'confidence', '3': 2, '4': 1, '5': 1, '10': 'confidence'}, - ], -}; - -/// Descriptor for `Classification`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List classificationDescriptor = $convert.base64Decode( - 'Cg5DbGFzc2lmaWNhdGlvbhIdCgpjbGFzc19uYW1lGAEgASgJUgljbGFzc05hbWUSHgoKY29uZm' - 'lkZW5jZRgCIAEoAVIKY29uZmlkZW5jZQ=='); - -@$core.Deprecated('Use getObjectPointCloudsRequestDescriptor instead') -const GetObjectPointCloudsRequest$json = { - '1': 'GetObjectPointCloudsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'camera_name', '3': 2, '4': 1, '5': 9, '10': 'cameraName'}, - {'1': 'mime_type', '3': 3, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetObjectPointCloudsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getObjectPointCloudsRequestDescriptor = $convert.base64Decode( - 'ChtHZXRPYmplY3RQb2ludENsb3Vkc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIfCgtjYW' - '1lcmFfbmFtZRgCIAEoCVIKY2FtZXJhTmFtZRIbCgltaW1lX3R5cGUYAyABKAlSCG1pbWVUeXBl' - 'Ei0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use getObjectPointCloudsResponseDescriptor instead') -const GetObjectPointCloudsResponse$json = { - '1': 'GetObjectPointCloudsResponse', - '2': [ - {'1': 'mime_type', '3': 1, '4': 1, '5': 9, '10': 'mimeType'}, - {'1': 'objects', '3': 2, '4': 3, '5': 11, '6': '.viam.common.v1.PointCloudObject', '10': 'objects'}, - ], -}; - -/// Descriptor for `GetObjectPointCloudsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getObjectPointCloudsResponseDescriptor = $convert.base64Decode( - 'ChxHZXRPYmplY3RQb2ludENsb3Vkc1Jlc3BvbnNlEhsKCW1pbWVfdHlwZRgBIAEoCVIIbWltZV' - 'R5cGUSOgoHb2JqZWN0cxgCIAMoCzIgLnZpYW0uY29tbW9uLnYxLlBvaW50Q2xvdWRPYmplY3RS' - 'B29iamVjdHM='); - -@$core.Deprecated('Use getPropertiesRequestDescriptor instead') -const GetPropertiesRequest$json = { - '1': 'GetPropertiesRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `GetPropertiesRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesRequestDescriptor = $convert.base64Decode( - 'ChRHZXRQcm9wZXJ0aWVzUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEi0KBWV4dHJhGGMgAS' - 'gLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIFZXh0cmE='); - -@$core.Deprecated('Use captureAllFromCameraRequestDescriptor instead') -const CaptureAllFromCameraRequest$json = { - '1': 'CaptureAllFromCameraRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'camera_name', '3': 2, '4': 1, '5': 9, '10': 'cameraName'}, - {'1': 'return_image', '3': 3, '4': 1, '5': 8, '10': 'returnImage'}, - {'1': 'return_classifications', '3': 4, '4': 1, '5': 8, '10': 'returnClassifications'}, - {'1': 'return_detections', '3': 5, '4': 1, '5': 8, '10': 'returnDetections'}, - {'1': 'return_object_point_clouds', '3': 6, '4': 1, '5': 8, '10': 'returnObjectPointClouds'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `CaptureAllFromCameraRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List captureAllFromCameraRequestDescriptor = $convert.base64Decode( - 'ChtDYXB0dXJlQWxsRnJvbUNhbWVyYVJlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRIfCgtjYW' - '1lcmFfbmFtZRgCIAEoCVIKY2FtZXJhTmFtZRIhCgxyZXR1cm5faW1hZ2UYAyABKAhSC3JldHVy' - 'bkltYWdlEjUKFnJldHVybl9jbGFzc2lmaWNhdGlvbnMYBCABKAhSFXJldHVybkNsYXNzaWZpY2' - 'F0aW9ucxIrChFyZXR1cm5fZGV0ZWN0aW9ucxgFIAEoCFIQcmV0dXJuRGV0ZWN0aW9ucxI7Chpy' - 'ZXR1cm5fb2JqZWN0X3BvaW50X2Nsb3VkcxgGIAEoCFIXcmV0dXJuT2JqZWN0UG9pbnRDbG91ZH' - 'MSLQoFZXh0cmEYYyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0UgVleHRyYQ=='); - -@$core.Deprecated('Use captureAllFromCameraResponseDescriptor instead') -const CaptureAllFromCameraResponse$json = { - '1': 'CaptureAllFromCameraResponse', - '2': [ - {'1': 'image', '3': 1, '4': 1, '5': 11, '6': '.viam.component.camera.v1.Image', '10': 'image'}, - {'1': 'detections', '3': 2, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Detection', '10': 'detections'}, - {'1': 'classifications', '3': 3, '4': 3, '5': 11, '6': '.viam.service.vision.v1.Classification', '10': 'classifications'}, - {'1': 'objects', '3': 4, '4': 3, '5': 11, '6': '.viam.common.v1.PointCloudObject', '10': 'objects'}, - {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, - ], -}; - -/// Descriptor for `CaptureAllFromCameraResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List captureAllFromCameraResponseDescriptor = $convert.base64Decode( - 'ChxDYXB0dXJlQWxsRnJvbUNhbWVyYVJlc3BvbnNlEjUKBWltYWdlGAEgASgLMh8udmlhbS5jb2' - '1wb25lbnQuY2FtZXJhLnYxLkltYWdlUgVpbWFnZRJBCgpkZXRlY3Rpb25zGAIgAygLMiEudmlh' - 'bS5zZXJ2aWNlLnZpc2lvbi52MS5EZXRlY3Rpb25SCmRldGVjdGlvbnMSUAoPY2xhc3NpZmljYX' - 'Rpb25zGAMgAygLMiYudmlhbS5zZXJ2aWNlLnZpc2lvbi52MS5DbGFzc2lmaWNhdGlvblIPY2xh' - 'c3NpZmljYXRpb25zEjoKB29iamVjdHMYBCADKAsyIC52aWFtLmNvbW1vbi52MS5Qb2ludENsb3' - 'VkT2JqZWN0UgdvYmplY3RzEi0KBWV4dHJhGGMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVj' - 'dFIFZXh0cmE='); - -@$core.Deprecated('Use getPropertiesResponseDescriptor instead') -const GetPropertiesResponse$json = { - '1': 'GetPropertiesResponse', - '2': [ - {'1': 'classifications_supported', '3': 1, '4': 1, '5': 8, '10': 'classificationsSupported'}, - {'1': 'detections_supported', '3': 2, '4': 1, '5': 8, '10': 'detectionsSupported'}, - {'1': 'object_point_clouds_supported', '3': 3, '4': 1, '5': 8, '10': 'objectPointCloudsSupported'}, - ], -}; - -/// Descriptor for `GetPropertiesResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getPropertiesResponseDescriptor = $convert.base64Decode( - 'ChVHZXRQcm9wZXJ0aWVzUmVzcG9uc2USOwoZY2xhc3NpZmljYXRpb25zX3N1cHBvcnRlZBgBIA' - 'EoCFIYY2xhc3NpZmljYXRpb25zU3VwcG9ydGVkEjEKFGRldGVjdGlvbnNfc3VwcG9ydGVkGAIg' - 'ASgIUhNkZXRlY3Rpb25zU3VwcG9ydGVkEkEKHW9iamVjdF9wb2ludF9jbG91ZHNfc3VwcG9ydG' - 'VkGAMgASgIUhpvYmplY3RQb2ludENsb3Vkc1N1cHBvcnRlZA=='); - diff --git a/lib/src/gen/stream/v1/stream.pb.dart b/lib/src/gen/stream/v1/stream.pb.dart deleted file mode 100644 index 1433424ff23..00000000000 --- a/lib/src/gen/stream/v1/stream.pb.dart +++ /dev/null @@ -1,525 +0,0 @@ -// -// Generated code. Do not modify. -// source: stream/v1/stream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// ListStreamsRequest requests all streams registered. -class ListStreamsRequest extends $pb.GeneratedMessage { - factory ListStreamsRequest() => create(); - ListStreamsRequest._() : super(); - factory ListStreamsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListStreamsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListStreamsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListStreamsRequest clone() => ListStreamsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListStreamsRequest copyWith(void Function(ListStreamsRequest) updates) => super.copyWith((message) => updates(message as ListStreamsRequest)) as ListStreamsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListStreamsRequest create() => ListStreamsRequest._(); - ListStreamsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListStreamsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListStreamsRequest? _defaultInstance; -} - -/// A ListStreamsResponse details streams registered. -class ListStreamsResponse extends $pb.GeneratedMessage { - factory ListStreamsResponse({ - $core.Iterable<$core.String>? names, - }) { - final $result = create(); - if (names != null) { - $result.names.addAll(names); - } - return $result; - } - ListStreamsResponse._() : super(); - factory ListStreamsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory ListStreamsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListStreamsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'names') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - ListStreamsResponse clone() => ListStreamsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - ListStreamsResponse copyWith(void Function(ListStreamsResponse) updates) => super.copyWith((message) => updates(message as ListStreamsResponse)) as ListStreamsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static ListStreamsResponse create() => ListStreamsResponse._(); - ListStreamsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static ListStreamsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static ListStreamsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get names => $_getList(0); -} - -/// A AddStreamRequest requests the given stream be added to the connection. -class AddStreamRequest extends $pb.GeneratedMessage { - factory AddStreamRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - AddStreamRequest._() : super(); - factory AddStreamRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddStreamRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddStreamRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddStreamRequest clone() => AddStreamRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddStreamRequest copyWith(void Function(AddStreamRequest) updates) => super.copyWith((message) => updates(message as AddStreamRequest)) as AddStreamRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddStreamRequest create() => AddStreamRequest._(); - AddStreamRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddStreamRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddStreamRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// AddStreamResponse is returned after a successful AddStreamRequest. -class AddStreamResponse extends $pb.GeneratedMessage { - factory AddStreamResponse() => create(); - AddStreamResponse._() : super(); - factory AddStreamResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory AddStreamResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddStreamResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - AddStreamResponse clone() => AddStreamResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - AddStreamResponse copyWith(void Function(AddStreamResponse) updates) => super.copyWith((message) => updates(message as AddStreamResponse)) as AddStreamResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static AddStreamResponse create() => AddStreamResponse._(); - AddStreamResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static AddStreamResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static AddStreamResponse? _defaultInstance; -} - -/// A RemoveStreamRequest requests the given stream be removed from the connection. -class RemoveStreamRequest extends $pb.GeneratedMessage { - factory RemoveStreamRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - RemoveStreamRequest._() : super(); - factory RemoveStreamRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveStreamRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveStreamRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveStreamRequest clone() => RemoveStreamRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveStreamRequest copyWith(void Function(RemoveStreamRequest) updates) => super.copyWith((message) => updates(message as RemoveStreamRequest)) as RemoveStreamRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveStreamRequest create() => RemoveStreamRequest._(); - RemoveStreamRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveStreamRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveStreamRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// RemoveStreamResponse is returned after a successful RemoveStreamRequest. -class RemoveStreamResponse extends $pb.GeneratedMessage { - factory RemoveStreamResponse() => create(); - RemoveStreamResponse._() : super(); - factory RemoveStreamResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RemoveStreamResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveStreamResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RemoveStreamResponse clone() => RemoveStreamResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RemoveStreamResponse copyWith(void Function(RemoveStreamResponse) updates) => super.copyWith((message) => updates(message as RemoveStreamResponse)) as RemoveStreamResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RemoveStreamResponse create() => RemoveStreamResponse._(); - RemoveStreamResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static RemoveStreamResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static RemoveStreamResponse? _defaultInstance; -} - -/// Resolution details the width and height of a stream. -class Resolution extends $pb.GeneratedMessage { - factory Resolution({ - $core.int? width, - $core.int? height, - }) { - final $result = create(); - if (width != null) { - $result.width = width; - } - if (height != null) { - $result.height = height; - } - return $result; - } - Resolution._() : super(); - factory Resolution.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Resolution.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Resolution', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'width', $pb.PbFieldType.O3) - ..a<$core.int>(2, _omitFieldNames ? '' : 'height', $pb.PbFieldType.O3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Resolution clone() => Resolution()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Resolution copyWith(void Function(Resolution) updates) => super.copyWith((message) => updates(message as Resolution)) as Resolution; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Resolution create() => Resolution._(); - Resolution createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static Resolution getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static Resolution? _defaultInstance; - - @$pb.TagNumber(1) - $core.int get width => $_getIZ(0); - @$pb.TagNumber(1) - set width($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasWidth() => $_has(0); - @$pb.TagNumber(1) - void clearWidth() => clearField(1); - - @$pb.TagNumber(2) - $core.int get height => $_getIZ(1); - @$pb.TagNumber(2) - set height($core.int v) { $_setSignedInt32(1, v); } - @$pb.TagNumber(2) - $core.bool hasHeight() => $_has(1); - @$pb.TagNumber(2) - void clearHeight() => clearField(2); -} - -/// GetStreamOptionsRequest requests the options for a particular stream. -class GetStreamOptionsRequest extends $pb.GeneratedMessage { - factory GetStreamOptionsRequest({ - $core.String? name, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - return $result; - } - GetStreamOptionsRequest._() : super(); - factory GetStreamOptionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetStreamOptionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetStreamOptionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetStreamOptionsRequest clone() => GetStreamOptionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetStreamOptionsRequest copyWith(void Function(GetStreamOptionsRequest) updates) => super.copyWith((message) => updates(message as GetStreamOptionsRequest)) as GetStreamOptionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetStreamOptionsRequest create() => GetStreamOptionsRequest._(); - GetStreamOptionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetStreamOptionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetStreamOptionsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); -} - -/// GetStreamOptionsResponse details the options for a particular stream. -class GetStreamOptionsResponse extends $pb.GeneratedMessage { - factory GetStreamOptionsResponse({ - $core.Iterable? resolutions, - }) { - final $result = create(); - if (resolutions != null) { - $result.resolutions.addAll(resolutions); - } - return $result; - } - GetStreamOptionsResponse._() : super(); - factory GetStreamOptionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetStreamOptionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetStreamOptionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'resolutions', $pb.PbFieldType.PM, subBuilder: Resolution.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetStreamOptionsResponse clone() => GetStreamOptionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetStreamOptionsResponse copyWith(void Function(GetStreamOptionsResponse) updates) => super.copyWith((message) => updates(message as GetStreamOptionsResponse)) as GetStreamOptionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetStreamOptionsResponse create() => GetStreamOptionsResponse._(); - GetStreamOptionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static GetStreamOptionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static GetStreamOptionsResponse? _defaultInstance; - - @$pb.TagNumber(1) - $core.List get resolutions => $_getList(0); -} - -/// SetStreamOptionsRequest sets the options for a particular stream. -class SetStreamOptionsRequest extends $pb.GeneratedMessage { - factory SetStreamOptionsRequest({ - $core.String? name, - Resolution? resolution, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (resolution != null) { - $result.resolution = resolution; - } - return $result; - } - SetStreamOptionsRequest._() : super(); - factory SetStreamOptionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetStreamOptionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetStreamOptionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM(2, _omitFieldNames ? '' : 'resolution', subBuilder: Resolution.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetStreamOptionsRequest clone() => SetStreamOptionsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetStreamOptionsRequest copyWith(void Function(SetStreamOptionsRequest) updates) => super.copyWith((message) => updates(message as SetStreamOptionsRequest)) as SetStreamOptionsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetStreamOptionsRequest create() => SetStreamOptionsRequest._(); - SetStreamOptionsRequest createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetStreamOptionsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetStreamOptionsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - Resolution get resolution => $_getN(1); - @$pb.TagNumber(2) - set resolution(Resolution v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasResolution() => $_has(1); - @$pb.TagNumber(2) - void clearResolution() => clearField(2); - @$pb.TagNumber(2) - Resolution ensureResolution() => $_ensure(1); -} - -/// SetStreamOptionsResponse is returned after a successful SetStreamOptionsRequest. -class SetStreamOptionsResponse extends $pb.GeneratedMessage { - factory SetStreamOptionsResponse() => create(); - SetStreamOptionsResponse._() : super(); - factory SetStreamOptionsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetStreamOptionsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetStreamOptionsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'proto.stream.v1'), createEmptyInstance: create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetStreamOptionsResponse clone() => SetStreamOptionsResponse()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetStreamOptionsResponse copyWith(void Function(SetStreamOptionsResponse) updates) => super.copyWith((message) => updates(message as SetStreamOptionsResponse)) as SetStreamOptionsResponse; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetStreamOptionsResponse create() => SetStreamOptionsResponse._(); - SetStreamOptionsResponse createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SetStreamOptionsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SetStreamOptionsResponse? _defaultInstance; -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/stream/v1/stream.pbenum.dart b/lib/src/gen/stream/v1/stream.pbenum.dart deleted file mode 100644 index 9d0aa52fceb..00000000000 --- a/lib/src/gen/stream/v1/stream.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: stream/v1/stream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/stream/v1/stream.pbgrpc.dart b/lib/src/gen/stream/v1/stream.pbgrpc.dart deleted file mode 100644 index 6f1332a0f02..00000000000 --- a/lib/src/gen/stream/v1/stream.pbgrpc.dart +++ /dev/null @@ -1,139 +0,0 @@ -// -// Generated code. Do not modify. -// source: stream/v1/stream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:async' as $async; -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'package:protobuf/protobuf.dart' as $pb; - -import 'stream.pb.dart' as $44; - -export 'stream.pb.dart'; - -@$pb.GrpcServiceName('proto.stream.v1.StreamService') -class StreamServiceClient extends $grpc.Client { - static final _$listStreams = $grpc.ClientMethod<$44.ListStreamsRequest, $44.ListStreamsResponse>( - '/proto.stream.v1.StreamService/ListStreams', - ($44.ListStreamsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $44.ListStreamsResponse.fromBuffer(value)); - static final _$addStream = $grpc.ClientMethod<$44.AddStreamRequest, $44.AddStreamResponse>( - '/proto.stream.v1.StreamService/AddStream', - ($44.AddStreamRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $44.AddStreamResponse.fromBuffer(value)); - static final _$getStreamOptions = $grpc.ClientMethod<$44.GetStreamOptionsRequest, $44.GetStreamOptionsResponse>( - '/proto.stream.v1.StreamService/GetStreamOptions', - ($44.GetStreamOptionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $44.GetStreamOptionsResponse.fromBuffer(value)); - static final _$setStreamOptions = $grpc.ClientMethod<$44.SetStreamOptionsRequest, $44.SetStreamOptionsResponse>( - '/proto.stream.v1.StreamService/SetStreamOptions', - ($44.SetStreamOptionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $44.SetStreamOptionsResponse.fromBuffer(value)); - static final _$removeStream = $grpc.ClientMethod<$44.RemoveStreamRequest, $44.RemoveStreamResponse>( - '/proto.stream.v1.StreamService/RemoveStream', - ($44.RemoveStreamRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $44.RemoveStreamResponse.fromBuffer(value)); - - StreamServiceClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$44.ListStreamsResponse> listStreams($44.ListStreamsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$listStreams, request, options: options); - } - - $grpc.ResponseFuture<$44.AddStreamResponse> addStream($44.AddStreamRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$addStream, request, options: options); - } - - $grpc.ResponseFuture<$44.GetStreamOptionsResponse> getStreamOptions($44.GetStreamOptionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getStreamOptions, request, options: options); - } - - $grpc.ResponseFuture<$44.SetStreamOptionsResponse> setStreamOptions($44.SetStreamOptionsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setStreamOptions, request, options: options); - } - - $grpc.ResponseFuture<$44.RemoveStreamResponse> removeStream($44.RemoveStreamRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$removeStream, request, options: options); - } -} - -@$pb.GrpcServiceName('proto.stream.v1.StreamService') -abstract class StreamServiceBase extends $grpc.Service { - $core.String get $name => 'proto.stream.v1.StreamService'; - - StreamServiceBase() { - $addMethod($grpc.ServiceMethod<$44.ListStreamsRequest, $44.ListStreamsResponse>( - 'ListStreams', - listStreams_Pre, - false, - false, - ($core.List<$core.int> value) => $44.ListStreamsRequest.fromBuffer(value), - ($44.ListStreamsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$44.AddStreamRequest, $44.AddStreamResponse>( - 'AddStream', - addStream_Pre, - false, - false, - ($core.List<$core.int> value) => $44.AddStreamRequest.fromBuffer(value), - ($44.AddStreamResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$44.GetStreamOptionsRequest, $44.GetStreamOptionsResponse>( - 'GetStreamOptions', - getStreamOptions_Pre, - false, - false, - ($core.List<$core.int> value) => $44.GetStreamOptionsRequest.fromBuffer(value), - ($44.GetStreamOptionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$44.SetStreamOptionsRequest, $44.SetStreamOptionsResponse>( - 'SetStreamOptions', - setStreamOptions_Pre, - false, - false, - ($core.List<$core.int> value) => $44.SetStreamOptionsRequest.fromBuffer(value), - ($44.SetStreamOptionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$44.RemoveStreamRequest, $44.RemoveStreamResponse>( - 'RemoveStream', - removeStream_Pre, - false, - false, - ($core.List<$core.int> value) => $44.RemoveStreamRequest.fromBuffer(value), - ($44.RemoveStreamResponse value) => value.writeToBuffer())); - } - - $async.Future<$44.ListStreamsResponse> listStreams_Pre($grpc.ServiceCall call, $async.Future<$44.ListStreamsRequest> request) async { - return listStreams(call, await request); - } - - $async.Future<$44.AddStreamResponse> addStream_Pre($grpc.ServiceCall call, $async.Future<$44.AddStreamRequest> request) async { - return addStream(call, await request); - } - - $async.Future<$44.GetStreamOptionsResponse> getStreamOptions_Pre($grpc.ServiceCall call, $async.Future<$44.GetStreamOptionsRequest> request) async { - return getStreamOptions(call, await request); - } - - $async.Future<$44.SetStreamOptionsResponse> setStreamOptions_Pre($grpc.ServiceCall call, $async.Future<$44.SetStreamOptionsRequest> request) async { - return setStreamOptions(call, await request); - } - - $async.Future<$44.RemoveStreamResponse> removeStream_Pre($grpc.ServiceCall call, $async.Future<$44.RemoveStreamRequest> request) async { - return removeStream(call, await request); - } - - $async.Future<$44.ListStreamsResponse> listStreams($grpc.ServiceCall call, $44.ListStreamsRequest request); - $async.Future<$44.AddStreamResponse> addStream($grpc.ServiceCall call, $44.AddStreamRequest request); - $async.Future<$44.GetStreamOptionsResponse> getStreamOptions($grpc.ServiceCall call, $44.GetStreamOptionsRequest request); - $async.Future<$44.SetStreamOptionsResponse> setStreamOptions($grpc.ServiceCall call, $44.SetStreamOptionsRequest request); - $async.Future<$44.RemoveStreamResponse> removeStream($grpc.ServiceCall call, $44.RemoveStreamRequest request); -} diff --git a/lib/src/gen/stream/v1/stream.pbjson.dart b/lib/src/gen/stream/v1/stream.pbjson.dart deleted file mode 100644 index 80a3e387cf1..00000000000 --- a/lib/src/gen/stream/v1/stream.pbjson.dart +++ /dev/null @@ -1,140 +0,0 @@ -// -// Generated code. Do not modify. -// source: stream/v1/stream.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use listStreamsRequestDescriptor instead') -const ListStreamsRequest$json = { - '1': 'ListStreamsRequest', -}; - -/// Descriptor for `ListStreamsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listStreamsRequestDescriptor = $convert.base64Decode( - 'ChJMaXN0U3RyZWFtc1JlcXVlc3Q='); - -@$core.Deprecated('Use listStreamsResponseDescriptor instead') -const ListStreamsResponse$json = { - '1': 'ListStreamsResponse', - '2': [ - {'1': 'names', '3': 1, '4': 3, '5': 9, '10': 'names'}, - ], -}; - -/// Descriptor for `ListStreamsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List listStreamsResponseDescriptor = $convert.base64Decode( - 'ChNMaXN0U3RyZWFtc1Jlc3BvbnNlEhQKBW5hbWVzGAEgAygJUgVuYW1lcw=='); - -@$core.Deprecated('Use addStreamRequestDescriptor instead') -const AddStreamRequest$json = { - '1': 'AddStreamRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `AddStreamRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addStreamRequestDescriptor = $convert.base64Decode( - 'ChBBZGRTdHJlYW1SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWU='); - -@$core.Deprecated('Use addStreamResponseDescriptor instead') -const AddStreamResponse$json = { - '1': 'AddStreamResponse', -}; - -/// Descriptor for `AddStreamResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List addStreamResponseDescriptor = $convert.base64Decode( - 'ChFBZGRTdHJlYW1SZXNwb25zZQ=='); - -@$core.Deprecated('Use removeStreamRequestDescriptor instead') -const RemoveStreamRequest$json = { - '1': 'RemoveStreamRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `RemoveStreamRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeStreamRequestDescriptor = $convert.base64Decode( - 'ChNSZW1vdmVTdHJlYW1SZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWU='); - -@$core.Deprecated('Use removeStreamResponseDescriptor instead') -const RemoveStreamResponse$json = { - '1': 'RemoveStreamResponse', -}; - -/// Descriptor for `RemoveStreamResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List removeStreamResponseDescriptor = $convert.base64Decode( - 'ChRSZW1vdmVTdHJlYW1SZXNwb25zZQ=='); - -@$core.Deprecated('Use resolutionDescriptor instead') -const Resolution$json = { - '1': 'Resolution', - '2': [ - {'1': 'width', '3': 1, '4': 1, '5': 5, '10': 'width'}, - {'1': 'height', '3': 2, '4': 1, '5': 5, '10': 'height'}, - ], -}; - -/// Descriptor for `Resolution`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List resolutionDescriptor = $convert.base64Decode( - 'CgpSZXNvbHV0aW9uEhQKBXdpZHRoGAEgASgFUgV3aWR0aBIWCgZoZWlnaHQYAiABKAVSBmhlaW' - 'dodA=='); - -@$core.Deprecated('Use getStreamOptionsRequestDescriptor instead') -const GetStreamOptionsRequest$json = { - '1': 'GetStreamOptionsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - ], -}; - -/// Descriptor for `GetStreamOptionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getStreamOptionsRequestDescriptor = $convert.base64Decode( - 'ChdHZXRTdHJlYW1PcHRpb25zUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1l'); - -@$core.Deprecated('Use getStreamOptionsResponseDescriptor instead') -const GetStreamOptionsResponse$json = { - '1': 'GetStreamOptionsResponse', - '2': [ - {'1': 'resolutions', '3': 1, '4': 3, '5': 11, '6': '.proto.stream.v1.Resolution', '10': 'resolutions'}, - ], -}; - -/// Descriptor for `GetStreamOptionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getStreamOptionsResponseDescriptor = $convert.base64Decode( - 'ChhHZXRTdHJlYW1PcHRpb25zUmVzcG9uc2USPQoLcmVzb2x1dGlvbnMYASADKAsyGy5wcm90by' - '5zdHJlYW0udjEuUmVzb2x1dGlvblILcmVzb2x1dGlvbnM='); - -@$core.Deprecated('Use setStreamOptionsRequestDescriptor instead') -const SetStreamOptionsRequest$json = { - '1': 'SetStreamOptionsRequest', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'resolution', '3': 2, '4': 1, '5': 11, '6': '.proto.stream.v1.Resolution', '10': 'resolution'}, - ], -}; - -/// Descriptor for `SetStreamOptionsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setStreamOptionsRequestDescriptor = $convert.base64Decode( - 'ChdTZXRTdHJlYW1PcHRpb25zUmVxdWVzdBISCgRuYW1lGAEgASgJUgRuYW1lEjsKCnJlc29sdX' - 'Rpb24YAiABKAsyGy5wcm90by5zdHJlYW0udjEuUmVzb2x1dGlvblIKcmVzb2x1dGlvbg=='); - -@$core.Deprecated('Use setStreamOptionsResponseDescriptor instead') -const SetStreamOptionsResponse$json = { - '1': 'SetStreamOptionsResponse', -}; - -/// Descriptor for `SetStreamOptionsResponse`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setStreamOptionsResponseDescriptor = $convert.base64Decode( - 'ChhTZXRTdHJlYW1PcHRpb25zUmVzcG9uc2U='); - diff --git a/lib/src/gen/tagger/v1/tagger.pb.dart b/lib/src/gen/tagger/v1/tagger.pb.dart deleted file mode 100644 index 86d72fc329a..00000000000 --- a/lib/src/gen/tagger/v1/tagger.pb.dart +++ /dev/null @@ -1,27 +0,0 @@ -// -// Generated code. Do not modify. -// source: tagger/v1/tagger.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class Tagger { - static final tags = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'tags', 847939, $pb.PbFieldType.OS); - static final oneofTags = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.OneofOptions', _omitFieldNames ? '' : 'oneofTags', 847939, $pb.PbFieldType.OS); - static void registerAllExtensions($pb.ExtensionRegistry registry) { - registry.add(tags); - registry.add(oneofTags); - } -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/tagger/v1/tagger.pbenum.dart b/lib/src/gen/tagger/v1/tagger.pbenum.dart deleted file mode 100644 index 3f9bf88c66e..00000000000 --- a/lib/src/gen/tagger/v1/tagger.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: tagger/v1/tagger.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - diff --git a/lib/src/gen/tagger/v1/tagger.pbjson.dart b/lib/src/gen/tagger/v1/tagger.pbjson.dart deleted file mode 100644 index 8c90170573c..00000000000 --- a/lib/src/gen/tagger/v1/tagger.pbjson.dart +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated code. Do not modify. -// source: tagger/v1/tagger.proto -// -// @dart = 2.12 - -// ignore_for_file: annotate_overrides, camel_case_types, comment_references -// ignore_for_file: constant_identifier_names, library_prefixes -// ignore_for_file: non_constant_identifier_names, prefer_final_fields -// ignore_for_file: unnecessary_import, unnecessary_this, unused_import - -import 'dart:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - diff --git a/test/unit_test/app/app_client_test.dart b/test/unit_test/app/app_client_test.dart index 43b2c11cd20..df535788ebf 100644 --- a/test/unit_test/app/app_client_test.dart +++ b/test/unit_test/app/app_client_test.dart @@ -1,4 +1,5 @@ import 'package:flutter_test/flutter_test.dart'; +import 'package:protobuf/protobuf.dart'; import 'package:mockito/mockito.dart'; import 'package:viam_sdk/protos/app/app.dart'; import 'package:viam_sdk/protos/app/packages.dart'; @@ -6,7 +7,7 @@ import 'package:viam_sdk/protos/common/common.dart'; import 'package:viam_sdk/src/app/app.dart'; import 'package:viam_sdk/src/gen/app/v1/app.pb.dart'; import 'package:viam_sdk/src/gen/app/v1/app.pbgrpc.dart'; -import 'package:viam_sdk/src/gen/google/protobuf/struct.pb.dart'; +// import 'package:viam_sdk/src/gen/google/protobuf/struct.pb.dart'; import 'package:viam_sdk/src/gen/google/protobuf/timestamp.pb.dart'; import 'package:viam_sdk/viam_sdk.dart'; @@ -754,5 +755,64 @@ void main() { final response = await appClient.createKeyFromExistingKeyAuthorizations('id'); expect(response, equals(expected)); }); + + test('getOrganizationMetadata', () async { + // final expected = GetOrganizationMetadataResponse() + // ..data = Struct(); + + final expected = GetOrganizationMetadataResponse(); + expected.data = Struct(); + expected.data.fields['name'] = Value()..stringValue = 'Test Organization'; + + when(serviceClient.getOrganizationMetadata(any)).thenAnswer((_) => MockResponseFuture.value(expected)); + final response = await appClient.getOrganizationMetadata('orgId'); + expect(response, equals(expected)); + }); + + // test('updateOrganizationMetadata', () async { + // when(serviceClient.updateOrganizationMetadata(any)).thenAnswer((_) => MockResponseFuture.value(UpdateOrganizationMetadataResponse())); + // await appClient.updateOrganizationMetadata('orgId', {'key': 'value'}); + // verify(serviceClient.updateOrganizationMetadata(any)).called(1); + // }); + + // test('getLocationMetadata', () async { + // final expected = GetLocationMetadataResponse() + // ..metadata = (Struct()..fields['locationKey'] = (Value()..stringValue = 'locationValue')); + // when(serviceClient.getLocationMetadata(any)).thenAnswer((_) => MockResponseFuture.value(expected)); + // final response = await appClient.getLocationMetadata('locationId'); + // expect(response, equals(expected)); + // }); + + // test('updateLocationMetadata', () async { + // when(serviceClient.updateLocationMetadata(any)).thenAnswer((_) => MockResponseFuture.value(UpdateLocationMetadataResponse())); + // await appClient.updateLocationMetadata('locationId', {'key': 'value'}); + // verify(serviceClient.updateLocationMetadata(any)).called(1); + // }); + + // test('getMachineMetadata', () async { + // final expected = GetRobotMetadataResponse()..metadata = (Struct()..fields['robotKey'] = (Value()..stringValue = 'robotValue')); + // when(serviceClient.getMachineMetadata(any)).thenAnswer((_) => MockResponseFuture.value(expected)); + // final response = await appClient.getMachineMetadata('robotId'); + // expect(response, equals(expected)); + // }); + + // test('updateMachineMetadata', () async { + // when(serviceClient.updateMachineMetadata(any)).thenAnswer((_) => MockResponseFuture.value(UpdateMachineMetadataResponse())); + // await appClient.updateMachineMetadata('machineId', {'key': 'value'}); + // verify(serviceClient.updateMachineMetadata(any)).called(1); + // }); + + // test('getMachinePartMetadata', () async { + // final expected = GetRobotPartMetadataResponse()..metadata = (Struct()..fields['partKey'] = (Value()..stringValue = 'partValue')); + // when(serviceClient.getMachinePartMetadata(any)).thenAnswer((_) => MockResponseFuture.value(expected)); + // final response = await appClient.getMachinePartMetadata('partId'); + // expect(response, equals(expected)); + // }); + + // test('updateMachinePartMetadata', () async { + // when(serviceClient.updateMachinePartMetadata(any)).thenAnswer((_) => MockResponseFuture.value(UpdateRobotPartMetadataResponse())); + // await appClient.updateMachinePartMetadata('partId', {'partKey': 'newPartValue'}); + // verify(serviceClient.updateMachinePartMetadata(any)).called(1); + // }); }); }