A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/protocolbuffers/protobuf/commit/c8ff7629a56b65399cde3ae3dbd9d8d95a6b4e8b below:

Introduce Java NestInFileClass feature in java_features.proto for Edi… · protocolbuffers/protobuf@c8ff762 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+503

-33

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+503

-33

lines changed Original file line number Diff line number Diff line change

@@ -84,4 +84,36 @@ message JavaFeatures {

84 84

edition_defaults = { edition: EDITION_LEGACY, value: "true" },

85 85

edition_defaults = { edition: EDITION_2024, value: "false" }

86 86

];

87 + 88 +

message NestInFileClassFeature {

89 +

enum NestInFileClass {

90 +

// Invalid default, which should never be used.

91 +

NEST_IN_FILE_CLASS_UNKNOWN = 0;

92 +

// Do not nest the generated class in the file class.

93 +

NO = 1;

94 +

// Nest the generated class in the file class.

95 +

YES = 2;

96 +

// Fall back to the `java_multiple_files` option. Users won't be able to

97 +

// set this option.

98 +

LEGACY = 3 [feature_support = {

99 +

edition_introduced: EDITION_2024

100 +

edition_removed: EDITION_2024

101 +

}];

102 +

}

103 +

reserved 1 to max;

104 +

}

105 + 106 +

// Whether to nest the generated class in the generated file class. This is

107 +

// only applicable to *top-level* messages, enums, and services.

108 +

optional NestInFileClassFeature.NestInFileClass nest_in_file_class = 5 [

109 +

retention = RETENTION_SOURCE,

110 +

targets = TARGET_TYPE_MESSAGE,

111 +

targets = TARGET_TYPE_ENUM,

112 +

targets = TARGET_TYPE_SERVICE,

113 +

feature_support = {

114 +

edition_introduced: EDITION_2024,

115 +

},

116 +

edition_defaults = { edition: EDITION_LEGACY, value: "LEGACY" },

117 +

edition_defaults = { edition: EDITION_2024, value: "NO" }

118 +

];

87 119

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4