You've already forked dart-core-sdk
247 lines
12 KiB
Dart
247 lines
12 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from collabClickhouseStatement.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:fixnum/fixnum.dart' as $fixnum;
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
import 'claim.pb.dart' as $1;
|
|
import 'metadata.pb.dart' as $0;
|
|
|
|
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
|
|
/// ClickHouseInput Proto message for clickhouse streaming process
|
|
class CollabClickHouseInput extends $pb.GeneratedMessage {
|
|
factory CollabClickHouseInput({
|
|
CollabClickhouseElements? clickhouseElements,
|
|
$core.Iterable<$0.MetadatasToApply>? metadatasToApply,
|
|
}) {
|
|
final result = create();
|
|
if (clickhouseElements != null) result.clickhouseElements = clickhouseElements;
|
|
if (metadatasToApply != null) result.metadatasToApply.addAll(metadatasToApply);
|
|
return result;
|
|
}
|
|
|
|
CollabClickHouseInput._();
|
|
|
|
factory CollabClickHouseInput.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CollabClickHouseInput.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CollabClickHouseInput', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<CollabClickhouseElements>(1, _omitFieldNames ? '' : 'ClickhouseElements', protoName: 'ClickhouseElements', subBuilder: CollabClickhouseElements.create)
|
|
..pc<$0.MetadatasToApply>(2, _omitFieldNames ? '' : 'MetadatasToApply', $pb.PbFieldType.PM, protoName: 'MetadatasToApply', subBuilder: $0.MetadatasToApply.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabClickHouseInput clone() => CollabClickHouseInput()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabClickHouseInput copyWith(void Function(CollabClickHouseInput) updates) => super.copyWith((message) => updates(message as CollabClickHouseInput)) as CollabClickHouseInput;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabClickHouseInput create() => CollabClickHouseInput._();
|
|
@$core.override
|
|
CollabClickHouseInput createEmptyInstance() => create();
|
|
static $pb.PbList<CollabClickHouseInput> createRepeated() => $pb.PbList<CollabClickHouseInput>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabClickHouseInput getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CollabClickHouseInput>(create);
|
|
static CollabClickHouseInput? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
CollabClickhouseElements get clickhouseElements => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set clickhouseElements(CollabClickhouseElements value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasClickhouseElements() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearClickhouseElements() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
CollabClickhouseElements ensureClickhouseElements() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$pb.PbList<$0.MetadatasToApply> get metadatasToApply => $_getList(1);
|
|
}
|
|
|
|
enum CollabClickhouseElement_Content {
|
|
claim,
|
|
notSet
|
|
}
|
|
|
|
class CollabClickhouseElement extends $pb.GeneratedMessage {
|
|
factory CollabClickhouseElement({
|
|
$1.Claim? claim,
|
|
}) {
|
|
final result = create();
|
|
if (claim != null) result.claim = claim;
|
|
return result;
|
|
}
|
|
|
|
CollabClickhouseElement._();
|
|
|
|
factory CollabClickhouseElement.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CollabClickhouseElement.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static const $core.Map<$core.int, CollabClickhouseElement_Content> _CollabClickhouseElement_ContentByTag = {
|
|
1 : CollabClickhouseElement_Content.claim,
|
|
0 : CollabClickhouseElement_Content.notSet
|
|
};
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CollabClickhouseElement', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..oo(0, [1])
|
|
..aOM<$1.Claim>(1, _omitFieldNames ? '' : 'Claim', protoName: 'Claim', subBuilder: $1.Claim.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabClickhouseElement clone() => CollabClickhouseElement()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabClickhouseElement copyWith(void Function(CollabClickhouseElement) updates) => super.copyWith((message) => updates(message as CollabClickhouseElement)) as CollabClickhouseElement;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabClickhouseElement create() => CollabClickhouseElement._();
|
|
@$core.override
|
|
CollabClickhouseElement createEmptyInstance() => create();
|
|
static $pb.PbList<CollabClickhouseElement> createRepeated() => $pb.PbList<CollabClickhouseElement>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabClickhouseElement getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CollabClickhouseElement>(create);
|
|
static CollabClickhouseElement? _defaultInstance;
|
|
|
|
CollabClickhouseElement_Content whichContent() => _CollabClickhouseElement_ContentByTag[$_whichOneof(0)]!;
|
|
void clearContent() => $_clearField($_whichOneof(0));
|
|
|
|
@$pb.TagNumber(1)
|
|
$1.Claim get claim => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set claim($1.Claim value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasClaim() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearClaim() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$1.Claim ensureClaim() => $_ensure(0);
|
|
}
|
|
|
|
class CollabClickhouseElements extends $pb.GeneratedMessage {
|
|
factory CollabClickhouseElements({
|
|
$core.Iterable<CollabClickhouseElement>? clickhouseElements,
|
|
}) {
|
|
final result = create();
|
|
if (clickhouseElements != null) result.clickhouseElements.addAll(clickhouseElements);
|
|
return result;
|
|
}
|
|
|
|
CollabClickhouseElements._();
|
|
|
|
factory CollabClickhouseElements.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CollabClickhouseElements.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CollabClickhouseElements', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..pc<CollabClickhouseElement>(1, _omitFieldNames ? '' : 'ClickhouseElements', $pb.PbFieldType.PM, protoName: 'ClickhouseElements', subBuilder: CollabClickhouseElement.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabClickhouseElements clone() => CollabClickhouseElements()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabClickhouseElements copyWith(void Function(CollabClickhouseElements) updates) => super.copyWith((message) => updates(message as CollabClickhouseElements)) as CollabClickhouseElements;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabClickhouseElements create() => CollabClickhouseElements._();
|
|
@$core.override
|
|
CollabClickhouseElements createEmptyInstance() => create();
|
|
static $pb.PbList<CollabClickhouseElements> createRepeated() => $pb.PbList<CollabClickhouseElements>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabClickhouseElements getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CollabClickhouseElements>(create);
|
|
static CollabClickhouseElements? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$pb.PbList<CollabClickhouseElement> get clickhouseElements => $_getList(0);
|
|
}
|
|
|
|
/// CollabCheckpointData Proto message for clickhouse streaming process
|
|
class CollabCheckpointData extends $pb.GeneratedMessage {
|
|
factory CollabCheckpointData({
|
|
$fixnum.Int64? idCheckpoint,
|
|
$core.String? project,
|
|
$core.Iterable<CollabClickHouseInput>? clickHouseInput,
|
|
}) {
|
|
final result = create();
|
|
if (idCheckpoint != null) result.idCheckpoint = idCheckpoint;
|
|
if (project != null) result.project = project;
|
|
if (clickHouseInput != null) result.clickHouseInput.addAll(clickHouseInput);
|
|
return result;
|
|
}
|
|
|
|
CollabCheckpointData._();
|
|
|
|
factory CollabCheckpointData.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory CollabCheckpointData.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CollabCheckpointData', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aInt64(1, _omitFieldNames ? '' : 'IdCheckpoint', protoName: 'IdCheckpoint')
|
|
..aOS(2, _omitFieldNames ? '' : 'Project', protoName: 'Project')
|
|
..pc<CollabClickHouseInput>(3, _omitFieldNames ? '' : 'ClickHouseInput', $pb.PbFieldType.PM, protoName: 'ClickHouseInput', subBuilder: CollabClickHouseInput.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabCheckpointData clone() => CollabCheckpointData()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
CollabCheckpointData copyWith(void Function(CollabCheckpointData) updates) => super.copyWith((message) => updates(message as CollabCheckpointData)) as CollabCheckpointData;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabCheckpointData create() => CollabCheckpointData._();
|
|
@$core.override
|
|
CollabCheckpointData createEmptyInstance() => create();
|
|
static $pb.PbList<CollabCheckpointData> createRepeated() => $pb.PbList<CollabCheckpointData>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CollabCheckpointData getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CollabCheckpointData>(create);
|
|
static CollabCheckpointData? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$fixnum.Int64 get idCheckpoint => $_getI64(0);
|
|
@$pb.TagNumber(1)
|
|
set idCheckpoint($fixnum.Int64 value) => $_setInt64(0, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasIdCheckpoint() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearIdCheckpoint() => $_clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.String get project => $_getSZ(1);
|
|
@$pb.TagNumber(2)
|
|
set project($core.String value) => $_setString(1, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasProject() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearProject() => $_clearField(2);
|
|
|
|
@$pb.TagNumber(3)
|
|
$pb.PbList<CollabClickHouseInput> get clickHouseInput => $_getList(2);
|
|
}
|
|
|
|
|
|
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|