Files
dart-viz-sdk/lib/viz-default-view.pb.dart
2025-07-28 14:34:22 +00:00

263 lines
12 KiB
Dart

// This is a generated file - do not edit.
//
// Generated from viz-default-view.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:protobuf/protobuf.dart' as $pb;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
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._();
factory UpdatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdatePlatformDefaultViewRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
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('See https://github.com/google/protobuf.dart/issues/998.')
UpdatePlatformDefaultViewRequest clone() => UpdatePlatformDefaultViewRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdatePlatformDefaultViewRequest copyWith(void Function(UpdatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewRequest)) as UpdatePlatformDefaultViewRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewRequest create() => UpdatePlatformDefaultViewRequest._();
@$core.override
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 value) => $_setString(0, value);
@$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 value) => $_setString(1, value);
@$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 value) => $_setBool(2, value);
@$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._();
factory CreatePlatformDefaultViewRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CreatePlatformDefaultViewRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
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('See https://github.com/google/protobuf.dart/issues/998.')
CreatePlatformDefaultViewRequest clone() => CreatePlatformDefaultViewRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CreatePlatformDefaultViewRequest copyWith(void Function(CreatePlatformDefaultViewRequest) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewRequest)) as CreatePlatformDefaultViewRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewRequest create() => CreatePlatformDefaultViewRequest._();
@$core.override
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 value) => $_setString(0, value);
@$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 value) => $_setString(1, value);
@$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 value) => $_setBool(2, value);
@$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._();
factory CreatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory CreatePlatformDefaultViewResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
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('See https://github.com/google/protobuf.dart/issues/998.')
CreatePlatformDefaultViewResult clone() => CreatePlatformDefaultViewResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CreatePlatformDefaultViewResult copyWith(void Function(CreatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as CreatePlatformDefaultViewResult)) as CreatePlatformDefaultViewResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreatePlatformDefaultViewResult create() => CreatePlatformDefaultViewResult._();
@$core.override
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 value) => $_setString(0, value);
@$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._();
factory UpdatePlatformDefaultViewResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory UpdatePlatformDefaultViewResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
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('See https://github.com/google/protobuf.dart/issues/998.')
UpdatePlatformDefaultViewResult clone() => UpdatePlatformDefaultViewResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
UpdatePlatformDefaultViewResult copyWith(void Function(UpdatePlatformDefaultViewResult) updates) => super.copyWith((message) => updates(message as UpdatePlatformDefaultViewResult)) as UpdatePlatformDefaultViewResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdatePlatformDefaultViewResult create() => UpdatePlatformDefaultViewResult._();
@$core.override
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 value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasViewID() => $_has(0);
@$pb.TagNumber(1)
void clearViewID() => $_clearField(1);
}
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');