You've already forked dart-viz-sdk
284 lines
12 KiB
Dart
284 lines
12 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: viz-default-view.proto
|
|
//
|
|
// @dart = 2.12
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_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 UpdatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
|
|
factory UpdatePlatformDefaultViewRequest({
|
|
$core.String? viewID,
|
|
$core.String? payload,
|
|
$core.bool? isPrivate,
|
|
}) {
|
|
final $result = create();
|
|
if (viewID != null) {
|
|
$result.viewID = viewID;
|
|
}
|
|
if (payload != null) {
|
|
$result.payload = payload;
|
|
}
|
|
if (isPrivate != null) {
|
|
$result.isPrivate = isPrivate;
|
|
}
|
|
return $result;
|
|
}
|
|
UpdatePlatformDefaultViewRequest._() : super();
|
|
factory UpdatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory UpdatePlatformDefaultViewRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
|
|
..aOS(4, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
|
|
..aOB(5, _omitFieldNames ? '' : 'IsPrivate', protoName: 'IsPrivate')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
UpdatePlatformDefaultViewRequest clone() => UpdatePlatformDefaultViewRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
UpdatePlatformDefaultViewRequest copyWith(void Function(UpdatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewRequest)) as UpdatePlatformDefaultViewRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdatePlatformDefaultViewRequest create() => UpdatePlatformDefaultViewRequest._();
|
|
UpdatePlatformDefaultViewRequest createEmptyInstance() => create();
|
|
static $pb.PbList<UpdatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdatePlatformDefaultViewRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdatePlatformDefaultViewRequest>(create);
|
|
static UpdatePlatformDefaultViewRequest? _defaultInstance;
|
|
|
|
/// Identifier of the View
|
|
@$pb.TagNumber(1)
|
|
$core.String get viewID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set viewID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasViewID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearViewID() => clearField(1);
|
|
|
|
/// Content of the View
|
|
@$pb.TagNumber(4)
|
|
$core.String get payload => $_getSZ(1);
|
|
@$pb.TagNumber(4)
|
|
set payload($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasPayload() => $_has(1);
|
|
@$pb.TagNumber(4)
|
|
void clearPayload() => clearField(4);
|
|
|
|
/// Visibility of the View
|
|
@$pb.TagNumber(5)
|
|
$core.bool get isPrivate => $_getBF(2);
|
|
@$pb.TagNumber(5)
|
|
set isPrivate($core.bool v) { $_setBool(2, v); }
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasIsPrivate() => $_has(2);
|
|
@$pb.TagNumber(5)
|
|
void clearIsPrivate() => clearField(5);
|
|
}
|
|
|
|
class CreatePlatformDefaultViewRequest extends $pb.GeneratedMessage {
|
|
factory CreatePlatformDefaultViewRequest({
|
|
$core.String? screenID,
|
|
$core.String? payload,
|
|
$core.bool? isPrivate,
|
|
}) {
|
|
final $result = create();
|
|
if (screenID != null) {
|
|
$result.screenID = screenID;
|
|
}
|
|
if (payload != null) {
|
|
$result.payload = payload;
|
|
}
|
|
if (isPrivate != null) {
|
|
$result.isPrivate = isPrivate;
|
|
}
|
|
return $result;
|
|
}
|
|
CreatePlatformDefaultViewRequest._() : super();
|
|
factory CreatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CreatePlatformDefaultViewRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ScreenID', protoName: 'ScreenID')
|
|
..aOS(4, _omitFieldNames ? '' : 'Payload', protoName: 'Payload')
|
|
..aOB(5, _omitFieldNames ? '' : 'IsPrivate', protoName: 'IsPrivate')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
CreatePlatformDefaultViewRequest clone() => CreatePlatformDefaultViewRequest()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
CreatePlatformDefaultViewRequest copyWith(void Function(CreatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewRequest)) as CreatePlatformDefaultViewRequest;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreatePlatformDefaultViewRequest create() => CreatePlatformDefaultViewRequest._();
|
|
CreatePlatformDefaultViewRequest createEmptyInstance() => create();
|
|
static $pb.PbList<CreatePlatformDefaultViewRequest> createRepeated() => $pb.PbList<CreatePlatformDefaultViewRequest>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreatePlatformDefaultViewRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreatePlatformDefaultViewRequest>(create);
|
|
static CreatePlatformDefaultViewRequest? _defaultInstance;
|
|
|
|
/// Identifier of the Screen
|
|
@$pb.TagNumber(1)
|
|
$core.String get screenID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set screenID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasScreenID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearScreenID() => clearField(1);
|
|
|
|
/// Content of the View
|
|
@$pb.TagNumber(4)
|
|
$core.String get payload => $_getSZ(1);
|
|
@$pb.TagNumber(4)
|
|
set payload($core.String v) { $_setString(1, v); }
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasPayload() => $_has(1);
|
|
@$pb.TagNumber(4)
|
|
void clearPayload() => clearField(4);
|
|
|
|
/// Visibility of the View
|
|
@$pb.TagNumber(5)
|
|
$core.bool get isPrivate => $_getBF(2);
|
|
@$pb.TagNumber(5)
|
|
set isPrivate($core.bool v) { $_setBool(2, v); }
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasIsPrivate() => $_has(2);
|
|
@$pb.TagNumber(5)
|
|
void clearIsPrivate() => clearField(5);
|
|
}
|
|
|
|
/// ID of the created View
|
|
class CreatePlatformDefaultViewResult extends $pb.GeneratedMessage {
|
|
factory CreatePlatformDefaultViewResult({
|
|
$core.String? viewID,
|
|
}) {
|
|
final $result = create();
|
|
if (viewID != null) {
|
|
$result.viewID = viewID;
|
|
}
|
|
return $result;
|
|
}
|
|
CreatePlatformDefaultViewResult._() : super();
|
|
factory CreatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory CreatePlatformDefaultViewResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
CreatePlatformDefaultViewResult clone() => CreatePlatformDefaultViewResult()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
CreatePlatformDefaultViewResult copyWith(void Function(CreatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewResult)) as CreatePlatformDefaultViewResult;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreatePlatformDefaultViewResult create() => CreatePlatformDefaultViewResult._();
|
|
CreatePlatformDefaultViewResult createEmptyInstance() => create();
|
|
static $pb.PbList<CreatePlatformDefaultViewResult> createRepeated() => $pb.PbList<CreatePlatformDefaultViewResult>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static CreatePlatformDefaultViewResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreatePlatformDefaultViewResult>(create);
|
|
static CreatePlatformDefaultViewResult? _defaultInstance;
|
|
|
|
/// Identifier of the View
|
|
@$pb.TagNumber(1)
|
|
$core.String get viewID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set viewID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasViewID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearViewID() => clearField(1);
|
|
}
|
|
|
|
class UpdatePlatformDefaultViewResult extends $pb.GeneratedMessage {
|
|
factory UpdatePlatformDefaultViewResult({
|
|
$core.String? viewID,
|
|
}) {
|
|
final $result = create();
|
|
if (viewID != null) {
|
|
$result.viewID = viewID;
|
|
}
|
|
return $result;
|
|
}
|
|
UpdatePlatformDefaultViewResult._() : super();
|
|
factory UpdatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory UpdatePlatformDefaultViewResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdatePlatformDefaultViewResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'vizapi'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'ViewID', protoName: 'ViewID')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
UpdatePlatformDefaultViewResult clone() => UpdatePlatformDefaultViewResult()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
UpdatePlatformDefaultViewResult copyWith(void Function(UpdatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewResult)) as UpdatePlatformDefaultViewResult;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdatePlatformDefaultViewResult create() => UpdatePlatformDefaultViewResult._();
|
|
UpdatePlatformDefaultViewResult createEmptyInstance() => create();
|
|
static $pb.PbList<UpdatePlatformDefaultViewResult> createRepeated() => $pb.PbList<UpdatePlatformDefaultViewResult>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static UpdatePlatformDefaultViewResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdatePlatformDefaultViewResult>(create);
|
|
static UpdatePlatformDefaultViewResult? _defaultInstance;
|
|
|
|
/// Identifier of the View
|
|
@$pb.TagNumber(1)
|
|
$core.String get viewID => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set viewID($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasViewID() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearViewID() => clearField(1);
|
|
}
|
|
|
|
|
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|