Skip to content

Commit

Permalink
Sync from Piper @459854290
Browse files Browse the repository at this point in the history
PROTOBUF_SYNC_PIPER
  • Loading branch information
esorot committed Jul 8, 2022
2 parents 584ae85 + 0162786 commit 6eb2886
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion google/protobuf/descriptor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,20 @@ message GeneratedCodeInfo {
optional int32 begin = 3;

// Identifies the ending offset in bytes in the generated code that
// relates to the identified offset. The end offset should be one past
// relates to the identified object. The end offset should be one past
// the last relevant byte (so the length of the text = end - begin).
optional int32 end = 4;

// Represents the identified object's effect on the element in the original
// .proto file.
enum Semantic {
// There is no effect or the effect is indescribable.
NONE = 0;
// The element is set or otherwise mutated.
SET = 1;
// An alias to the element is returned.
ALIAS = 2;
}
optional Semantic semantic = 5;
}
}
1 change: 1 addition & 0 deletions google/protobuf/util/json_format_proto3.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ option java_outer_classname = "JsonFormatProto3";
enum EnumType {
FOO = 0;
BAR = 1;
TLSv1_2 = 2;
}

message MessageType {
Expand Down

0 comments on commit 6eb2886

Please sign in to comment.