@buyong/pi-devin 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +214 -2
- package/index.ts +16 -0
- package/package.json +62 -3
- package/proto/README.md +78 -0
- package/proto/buf/validate/validate.proto +453 -0
- package/proto/cel/expr/checked.proto +109 -0
- package/proto/cel/expr/eval.proto +44 -0
- package/proto/cel/expr/explain.proto +22 -0
- package/proto/cel/expr/syntax.proto +119 -0
- package/proto/cel/expr/value.proto +47 -0
- package/proto/connectext/grpc/status/v1/status.proto +21 -0
- package/proto/errorspb/errors.proto +58 -0
- package/proto/errorspb/hintdetail.proto +9 -0
- package/proto/errorspb/markers.proto +12 -0
- package/proto/errorspb/tags.proto +14 -0
- package/proto/errorspb/testing.proto +8 -0
- package/proto/exa/analytics_pb/analytics.proto +190 -0
- package/proto/exa/api_server_pb/api_server.proto +2590 -0
- package/proto/exa/auth_pb/auth.proto +21 -0
- package/proto/exa/auto_cascade_common_pb/auto_cascade_common.proto +81 -0
- package/proto/exa/browser_preview_pb/browser_preview.proto +26 -0
- package/proto/exa/bug_checker_pb/bug_checker.proto +24 -0
- package/proto/exa/cascade_plugins_pb/cascade_plugins.proto +264 -0
- package/proto/exa/chat_client_server_pb/chat_client_server.proto +57 -0
- package/proto/exa/chat_pb/chat.proto +452 -0
- package/proto/exa/code_edit/code_edit_pb/code_edit.proto +186 -0
- package/proto/exa/codeium_common_pb/browser_context.proto +31 -0
- package/proto/exa/codeium_common_pb/codeium_common.proto +4183 -0
- package/proto/exa/context_module_pb/context_module.proto +174 -0
- package/proto/exa/cortex_pb/cortex.proto +3288 -0
- package/proto/exa/dev_pb/dev.proto +28 -0
- package/proto/exa/diff_action_pb/diff_action.proto +76 -0
- package/proto/exa/eval/pr_eval/datasets_pb/datasets.proto +106 -0
- package/proto/exa/eval_pb/eval.proto +1318 -0
- package/proto/exa/extension_server_pb/extension_server.proto +555 -0
- package/proto/exa/file_system_provider_pb/file_system_provider.proto +75 -0
- package/proto/exa/index_pb/index.proto +469 -0
- package/proto/exa/knowledge_base_pb/knowledge_base.proto +146 -0
- package/proto/exa/language_server_pb/language_server.proto +2435 -0
- package/proto/exa/model_management_pb/model_management.proto +184 -0
- package/proto/exa/opensearch_clients_pb/opensearch_clients.proto +495 -0
- package/proto/exa/product_analytics_pb/product_analytics.proto +39 -0
- package/proto/exa/prompt_pb/prompt.proto +97 -0
- package/proto/exa/reactive_component_pb/reactive_component.proto +98 -0
- package/proto/exa/seat_management_pb/seat_management.proto +2910 -0
- package/proto/exa/tokenizer_pb/tokenizer.proto +39 -0
- package/proto/exa/trainer_pb/config.proto +643 -0
- package/proto/exa/tree_sitter/language_data_pb/language_data.proto +14 -0
- package/proto/exa/trust_pb/trust.proto +192 -0
- package/proto/exa/user_analytics_pb/user_analytics.proto +752 -0
- package/proto/google/api/expr/v1alpha1/checked.proto +108 -0
- package/proto/google/api/expr/v1alpha1/eval.proto +38 -0
- package/proto/google/api/expr/v1alpha1/explain.proto +22 -0
- package/proto/google/api/expr/v1alpha1/syntax.proto +126 -0
- package/proto/google/api/expr/v1alpha1/value.proto +47 -0
- package/proto/google/protobuf/any.proto +15 -0
- package/proto/google/protobuf/cpp_features.proto +22 -0
- package/proto/google/protobuf/descriptor.proto +473 -0
- package/proto/google/protobuf/duration.proto +16 -0
- package/proto/google/protobuf/empty.proto +14 -0
- package/proto/google/protobuf/go_features.proto +31 -0
- package/proto/google/protobuf/struct.proto +34 -0
- package/proto/google/protobuf/timestamp.proto +16 -0
- package/proto/google/protobuf/wrappers.proto +47 -0
- package/proto/google/rpc/status.proto +18 -0
- package/proto/grpc/binlog/v1/binarylog.proto +89 -0
- package/proto/io/prometheus/client/metrics.proto +103 -0
- package/src/core/auth/access.ts +6 -0
- package/src/core/auth/index.ts +2 -0
- package/src/core/auth/login.ts +177 -0
- package/src/core/auth/rest-exchange.ts +35 -0
- package/src/core/client.ts +153 -0
- package/src/core/index.ts +12 -0
- package/src/core/inference/chat.ts +229 -0
- package/src/core/inference/images.ts +24 -0
- package/src/core/inference/messages.ts +34 -0
- package/src/core/inference/retry.ts +68 -0
- package/src/core/inference/state.ts +8 -0
- package/src/core/models/access.ts +7 -0
- package/src/core/models/catalog.ts +35 -0
- package/src/core/models/index.ts +4 -0
- package/src/core/models/select.ts +43 -0
- package/src/core/models/variants.ts +163 -0
- package/src/core/protocol/device.ts +73 -0
- package/src/core/protocol/fingerprint.ts +59 -0
- package/src/core/protocol/http.ts +109 -0
- package/src/core/protocol/protobuf.ts +112 -0
- package/src/core/protocol/transport.ts +501 -0
- package/src/core/types.ts +115 -0
- package/src/pi/auth.ts +134 -0
- package/src/pi/devin-command.ts +76 -0
- package/src/pi/devin-panel.ts +77 -0
- package/src/pi/devin-settings.ts +50 -0
- package/src/pi/extension.ts +80 -0
- package/src/pi/fusion-command.ts +83 -0
- package/src/pi/fusion-picker.ts +171 -0
- package/src/pi/fusion-settings.ts +44 -0
- package/src/pi/lifecycle.ts +217 -0
- package/src/pi/messages.ts +107 -0
- package/src/pi/models.ts +378 -0
- package/src/pi/provider.ts +241 -0
- package/src/pi/sidekick-report.ts +42 -0
- package/src/pi/sidekick-runtime.ts +287 -0
- package/src/pi/sidekick.ts +190 -0
- package/src/pi/stream.ts +124 -0
- package/src/pi/usage.ts +153 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.api.expr.v1alpha1;
|
|
4
|
+
|
|
5
|
+
import "google/api/expr/v1alpha1/syntax.proto";
|
|
6
|
+
import "google/protobuf/empty.proto";
|
|
7
|
+
import "google/protobuf/struct.proto";
|
|
8
|
+
|
|
9
|
+
option java_package = "com.google.api.expr.v1alpha1";
|
|
10
|
+
option java_outer_classname = "DeclProto";
|
|
11
|
+
option java_multiple_files = true;
|
|
12
|
+
option go_package = "google.golang.org/genproto/googleapis/api/expr/v1alpha1;expr";
|
|
13
|
+
option cc_enable_arenas = true;
|
|
14
|
+
|
|
15
|
+
message CheckedExpr {
|
|
16
|
+
map<int64, Reference> reference_map = 2;
|
|
17
|
+
map<int64, Type> type_map = 3;
|
|
18
|
+
SourceInfo source_info = 5;
|
|
19
|
+
string expr_version = 6;
|
|
20
|
+
Expr expr = 4;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message Type {
|
|
24
|
+
oneof type_kind {
|
|
25
|
+
.google.protobuf.Empty dyn = 1;
|
|
26
|
+
.google.protobuf.NullValue null = 2;
|
|
27
|
+
Type.PrimitiveType primitive = 3;
|
|
28
|
+
Type.PrimitiveType wrapper = 4;
|
|
29
|
+
Type.WellKnownType well_known = 5;
|
|
30
|
+
Type.ListType list_type = 6;
|
|
31
|
+
Type.MapType map_type = 7;
|
|
32
|
+
Type.FunctionType function = 8;
|
|
33
|
+
string message_type = 9;
|
|
34
|
+
string type_param = 10;
|
|
35
|
+
Type type = 11;
|
|
36
|
+
.google.protobuf.Empty error = 12;
|
|
37
|
+
Type.AbstractType abstract_type = 14;
|
|
38
|
+
}
|
|
39
|
+
enum PrimitiveType {
|
|
40
|
+
PRIMITIVE_TYPE_UNSPECIFIED = 0;
|
|
41
|
+
BOOL = 1;
|
|
42
|
+
INT64 = 2;
|
|
43
|
+
UINT64 = 3;
|
|
44
|
+
DOUBLE = 4;
|
|
45
|
+
STRING = 5;
|
|
46
|
+
BYTES = 6;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
enum WellKnownType {
|
|
50
|
+
WELL_KNOWN_TYPE_UNSPECIFIED = 0;
|
|
51
|
+
ANY = 1;
|
|
52
|
+
TIMESTAMP = 2;
|
|
53
|
+
DURATION = 3;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message ListType {
|
|
57
|
+
Type elem_type = 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
message MapType {
|
|
61
|
+
Type key_type = 1;
|
|
62
|
+
Type value_type = 2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
message FunctionType {
|
|
66
|
+
Type result_type = 1;
|
|
67
|
+
repeated Type arg_types = 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message AbstractType {
|
|
71
|
+
string name = 1;
|
|
72
|
+
repeated Type parameter_types = 2;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message Decl {
|
|
78
|
+
string name = 1;
|
|
79
|
+
oneof decl_kind {
|
|
80
|
+
Decl.IdentDecl ident = 2;
|
|
81
|
+
Decl.FunctionDecl function = 3;
|
|
82
|
+
}
|
|
83
|
+
message IdentDecl {
|
|
84
|
+
Type type = 1;
|
|
85
|
+
Constant value = 2;
|
|
86
|
+
string doc = 3;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
message FunctionDecl {
|
|
90
|
+
repeated Decl.FunctionDecl.Overload overloads = 1;
|
|
91
|
+
message Overload {
|
|
92
|
+
string overload_id = 1;
|
|
93
|
+
repeated Type params = 2;
|
|
94
|
+
repeated string type_params = 3;
|
|
95
|
+
Type result_type = 4;
|
|
96
|
+
bool is_instance_function = 5;
|
|
97
|
+
string doc = 6;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
message Reference {
|
|
105
|
+
string name = 1;
|
|
106
|
+
repeated string overload_id = 3;
|
|
107
|
+
Constant value = 4;
|
|
108
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.api.expr.v1alpha1;
|
|
4
|
+
|
|
5
|
+
import "google/api/expr/v1alpha1/value.proto";
|
|
6
|
+
import "google/rpc/status.proto";
|
|
7
|
+
|
|
8
|
+
option java_package = "com.google.api.expr.v1alpha1";
|
|
9
|
+
option java_outer_classname = "EvalProto";
|
|
10
|
+
option java_multiple_files = true;
|
|
11
|
+
option go_package = "google.golang.org/genproto/googleapis/api/expr/v1alpha1;expr";
|
|
12
|
+
option cc_enable_arenas = true;
|
|
13
|
+
|
|
14
|
+
message EvalState {
|
|
15
|
+
repeated ExprValue values = 1;
|
|
16
|
+
repeated EvalState.Result results = 3;
|
|
17
|
+
message Result {
|
|
18
|
+
int64 expr = 1;
|
|
19
|
+
int64 value = 2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message ExprValue {
|
|
25
|
+
oneof kind {
|
|
26
|
+
Value value = 1;
|
|
27
|
+
ErrorSet error = 2;
|
|
28
|
+
UnknownSet unknown = 3;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message ErrorSet {
|
|
33
|
+
repeated .google.rpc.Status errors = 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message UnknownSet {
|
|
37
|
+
repeated int64 exprs = 1;
|
|
38
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.api.expr.v1alpha1;
|
|
4
|
+
|
|
5
|
+
import "google/api/expr/v1alpha1/value.proto";
|
|
6
|
+
|
|
7
|
+
option java_package = "com.google.api.expr.v1alpha1";
|
|
8
|
+
option java_outer_classname = "ExplainProto";
|
|
9
|
+
option java_multiple_files = true;
|
|
10
|
+
option go_package = "google.golang.org/genproto/googleapis/api/expr/v1alpha1;expr";
|
|
11
|
+
option cc_enable_arenas = true;
|
|
12
|
+
|
|
13
|
+
message Explain {
|
|
14
|
+
repeated Value values = 1;
|
|
15
|
+
repeated Explain.ExprStep expr_steps = 2;
|
|
16
|
+
message ExprStep {
|
|
17
|
+
int64 id = 1;
|
|
18
|
+
int32 value_index = 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
option deprecated = true;
|
|
22
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.api.expr.v1alpha1;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/duration.proto";
|
|
6
|
+
import "google/protobuf/struct.proto";
|
|
7
|
+
import "google/protobuf/timestamp.proto";
|
|
8
|
+
|
|
9
|
+
option java_package = "com.google.api.expr.v1alpha1";
|
|
10
|
+
option java_outer_classname = "SyntaxProto";
|
|
11
|
+
option java_multiple_files = true;
|
|
12
|
+
option go_package = "google.golang.org/genproto/googleapis/api/expr/v1alpha1;expr";
|
|
13
|
+
option cc_enable_arenas = true;
|
|
14
|
+
|
|
15
|
+
message ParsedExpr {
|
|
16
|
+
Expr expr = 2;
|
|
17
|
+
SourceInfo source_info = 3;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message Expr {
|
|
21
|
+
int64 id = 2;
|
|
22
|
+
oneof expr_kind {
|
|
23
|
+
Constant const_expr = 3;
|
|
24
|
+
Expr.Ident ident_expr = 4;
|
|
25
|
+
Expr.Select select_expr = 5;
|
|
26
|
+
Expr.Call call_expr = 6;
|
|
27
|
+
Expr.CreateList list_expr = 7;
|
|
28
|
+
Expr.CreateStruct struct_expr = 8;
|
|
29
|
+
Expr.Comprehension comprehension_expr = 9;
|
|
30
|
+
}
|
|
31
|
+
message Ident {
|
|
32
|
+
string name = 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message Select {
|
|
36
|
+
Expr operand = 1;
|
|
37
|
+
string field = 2;
|
|
38
|
+
bool test_only = 3;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message Call {
|
|
42
|
+
Expr target = 1;
|
|
43
|
+
string function = 2;
|
|
44
|
+
repeated Expr args = 3;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message CreateList {
|
|
48
|
+
repeated Expr elements = 1;
|
|
49
|
+
repeated int32 optional_indices = 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message CreateStruct {
|
|
53
|
+
string message_name = 1;
|
|
54
|
+
repeated Expr.CreateStruct.Entry entries = 2;
|
|
55
|
+
message Entry {
|
|
56
|
+
int64 id = 1;
|
|
57
|
+
oneof key_kind {
|
|
58
|
+
string field_key = 2;
|
|
59
|
+
Expr map_key = 3;
|
|
60
|
+
}
|
|
61
|
+
Expr value = 4;
|
|
62
|
+
bool optional_entry = 5;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message Comprehension {
|
|
68
|
+
string iter_var = 1;
|
|
69
|
+
string iter_var2 = 8;
|
|
70
|
+
Expr iter_range = 2;
|
|
71
|
+
string accu_var = 3;
|
|
72
|
+
Expr accu_init = 4;
|
|
73
|
+
Expr loop_condition = 5;
|
|
74
|
+
Expr loop_step = 6;
|
|
75
|
+
Expr result = 7;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
message Constant {
|
|
81
|
+
oneof constant_kind {
|
|
82
|
+
.google.protobuf.NullValue null_value = 1;
|
|
83
|
+
bool bool_value = 2;
|
|
84
|
+
int64 int64_value = 3;
|
|
85
|
+
uint64 uint64_value = 4;
|
|
86
|
+
double double_value = 5;
|
|
87
|
+
string string_value = 6;
|
|
88
|
+
bytes bytes_value = 7;
|
|
89
|
+
.google.protobuf.Duration duration_value = 8 [deprecated = true];
|
|
90
|
+
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
message SourceInfo {
|
|
95
|
+
message Extension {
|
|
96
|
+
string id = 1;
|
|
97
|
+
repeated SourceInfo.Extension.Component affected_components = 2;
|
|
98
|
+
SourceInfo.Extension.Version version = 3;
|
|
99
|
+
enum Component {
|
|
100
|
+
COMPONENT_UNSPECIFIED = 0;
|
|
101
|
+
COMPONENT_PARSER = 1;
|
|
102
|
+
COMPONENT_TYPE_CHECKER = 2;
|
|
103
|
+
COMPONENT_RUNTIME = 3;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
message Version {
|
|
107
|
+
int64 major = 1;
|
|
108
|
+
int64 minor = 2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
string syntax_version = 1;
|
|
114
|
+
string location = 2;
|
|
115
|
+
repeated int32 line_offsets = 3;
|
|
116
|
+
map<int64, int32> positions = 4;
|
|
117
|
+
map<int64, Expr> macro_calls = 5;
|
|
118
|
+
repeated SourceInfo.Extension extensions = 6;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
message SourcePosition {
|
|
122
|
+
string location = 1;
|
|
123
|
+
int32 offset = 2;
|
|
124
|
+
int32 line = 3;
|
|
125
|
+
int32 column = 4;
|
|
126
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.api.expr.v1alpha1;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/any.proto";
|
|
6
|
+
import "google/protobuf/struct.proto";
|
|
7
|
+
|
|
8
|
+
option java_package = "com.google.api.expr.v1alpha1";
|
|
9
|
+
option java_outer_classname = "ValueProto";
|
|
10
|
+
option java_multiple_files = true;
|
|
11
|
+
option go_package = "google.golang.org/genproto/googleapis/api/expr/v1alpha1;expr";
|
|
12
|
+
option cc_enable_arenas = true;
|
|
13
|
+
|
|
14
|
+
message Value {
|
|
15
|
+
oneof kind {
|
|
16
|
+
.google.protobuf.NullValue null_value = 1;
|
|
17
|
+
bool bool_value = 2;
|
|
18
|
+
int64 int64_value = 3;
|
|
19
|
+
uint64 uint64_value = 4;
|
|
20
|
+
double double_value = 5;
|
|
21
|
+
string string_value = 6;
|
|
22
|
+
bytes bytes_value = 7;
|
|
23
|
+
EnumValue enum_value = 9;
|
|
24
|
+
.google.protobuf.Any object_value = 10;
|
|
25
|
+
MapValue map_value = 11;
|
|
26
|
+
ListValue list_value = 12;
|
|
27
|
+
string type_value = 15;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message EnumValue {
|
|
32
|
+
string type = 1;
|
|
33
|
+
int32 value = 2;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message ListValue {
|
|
37
|
+
repeated Value values = 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message MapValue {
|
|
41
|
+
repeated MapValue.Entry entries = 1;
|
|
42
|
+
message Entry {
|
|
43
|
+
Value key = 1;
|
|
44
|
+
Value value = 2;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
option java_package = "com.google.protobuf";
|
|
6
|
+
option java_outer_classname = "AnyProto";
|
|
7
|
+
option java_multiple_files = true;
|
|
8
|
+
option go_package = "google.golang.org/protobuf/types/known/anypb";
|
|
9
|
+
option objc_class_prefix = "GPB";
|
|
10
|
+
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
11
|
+
|
|
12
|
+
message Any {
|
|
13
|
+
string type_url = 1;
|
|
14
|
+
bytes value = 2;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
|
|
3
|
+
package pb;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/descriptor.proto";
|
|
6
|
+
|
|
7
|
+
message CppFeatures {
|
|
8
|
+
optional bool legacy_closed_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { value: "true", edition: EDITION_LEGACY }, edition_defaults = { value: "false", edition: EDITION_PROTO3 }, feature_support = { edition_introduced: EDITION_2023, edition_deprecated: EDITION_2023, deprecation_warning: "The legacy closed enum behavior in C++ is deprecated and is scheduled to be removed in edition 2025. See http://protobuf.dev/programming-guides/enum/#cpp for more information" }];
|
|
9
|
+
optional CppFeatures.StringType string_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { value: "STRING", edition: EDITION_LEGACY }, edition_defaults = { value: "VIEW", edition: EDITION_2024 }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
10
|
+
optional bool enum_name_uses_string_view = 3 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { value: "false", edition: EDITION_LEGACY }, edition_defaults = { value: "true", edition: EDITION_2024 }, feature_support = { edition_introduced: EDITION_2024 }];
|
|
11
|
+
enum StringType {
|
|
12
|
+
STRING_TYPE_UNKNOWN = 0;
|
|
13
|
+
VIEW = 1;
|
|
14
|
+
CORD = 2;
|
|
15
|
+
STRING = 3;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
extend .google.protobuf.FeatureSet {
|
|
21
|
+
optional CppFeatures cpp = 1000;
|
|
22
|
+
}
|