You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,28 +15,28 @@ import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
/// `Visibility` defines restrictions for the visibility of service
|
||||
/// elements. Restrictions are specified using visibility labels
|
||||
/// (e.g., PREVIEW) that are elsewhere linked to users and projects.
|
||||
/// `Visibility` defines restrictions for the visibility of service
|
||||
/// elements. Restrictions are specified using visibility labels
|
||||
/// (e.g., PREVIEW) that are elsewhere linked to users and projects.
|
||||
///
|
||||
/// Users and projects can have access to more than one visibility label. The
|
||||
/// effective visibility for multiple labels is the union of each label's
|
||||
/// elements, plus any unrestricted elements.
|
||||
/// Users and projects can have access to more than one visibility label. The
|
||||
/// effective visibility for multiple labels is the union of each label's
|
||||
/// elements, plus any unrestricted elements.
|
||||
///
|
||||
/// If an element and its parents have no restrictions, visibility is
|
||||
/// unconditionally granted.
|
||||
/// If an element and its parents have no restrictions, visibility is
|
||||
/// unconditionally granted.
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// visibility:
|
||||
/// rules:
|
||||
/// - selector: google.calendar.Calendar.EnhancedSearch
|
||||
/// restriction: PREVIEW
|
||||
/// - selector: google.calendar.Calendar.Delegate
|
||||
/// restriction: INTERNAL
|
||||
/// 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.
|
||||
/// Here, all methods are publicly visible except for the restricted methods
|
||||
/// EnhancedSearch and Delegate.
|
||||
class Visibility extends $pb.GeneratedMessage {
|
||||
factory Visibility({
|
||||
$core.Iterable<VisibilityRule>? rules,
|
||||
@@ -56,15 +56,9 @@ class Visibility extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
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')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Visibility copyWith(void Function(Visibility) updates) => super.copyWith((message) => updates(message as Visibility)) as Visibility;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -77,9 +71,9 @@ class Visibility extends $pb.GeneratedMessage {
|
||||
static Visibility getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Visibility>(create);
|
||||
static Visibility? _defaultInstance;
|
||||
|
||||
/// A list of visibility rules that apply to individual API elements.
|
||||
/// A list of visibility rules that apply to individual API elements.
|
||||
///
|
||||
/// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
/// **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<VisibilityRule> get rules => $_getList(0);
|
||||
}
|
||||
@@ -110,15 +104,9 @@ class VisibilityRule extends $pb.GeneratedMessage {
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated(
|
||||
'Using this can add significant overhead to your binary. '
|
||||
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
||||
'Will be removed in next major version')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
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')
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
VisibilityRule copyWith(void Function(VisibilityRule) updates) => super.copyWith((message) => updates(message as VisibilityRule)) as VisibilityRule;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
@@ -131,9 +119,9 @@ class VisibilityRule extends $pb.GeneratedMessage {
|
||||
static VisibilityRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<VisibilityRule>(create);
|
||||
static VisibilityRule? _defaultInstance;
|
||||
|
||||
/// Selects methods, messages, fields, enums, etc. to which this rule applies.
|
||||
/// Selects methods, messages, fields, enums, etc. to which this rule applies.
|
||||
///
|
||||
/// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
/// Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get selector => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -143,21 +131,21 @@ class VisibilityRule extends $pb.GeneratedMessage {
|
||||
@$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.
|
||||
/// 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.
|
||||
/// If a rule has multiple labels, removing one of the labels but not all of
|
||||
/// them can break clients.
|
||||
///
|
||||
/// Example:
|
||||
/// Example:
|
||||
///
|
||||
/// visibility:
|
||||
/// rules:
|
||||
/// - selector: google.calendar.Calendar.EnhancedSearch
|
||||
/// restriction: INTERNAL, PREVIEW
|
||||
/// 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.
|
||||
/// 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)
|
||||
|
||||
Reference in New Issue
Block a user