github.com/yoheimuta/protolint@v0.49.8-0.20240515023657-4ecaebb7575d/_testdata/rules/quoteConsistent/double-quoted.proto (about) 1 syntax = "proto3"; 2 3 package examplePb; 4 5 option java_package = "com.example.foo"; 6 option go_package = "com.example.foo"; 7 8 import public "new.proto"; 9 import public "new2.proto"; 10 11 import "google/protobuf/empty.proto"; 12 import "google/protobuf/empty2.proto"; 13 14 enum enumAllowingAlias { 15 option allow_alias = true; 16 UNKNOWN = 0; 17 STARTED = 1; 18 RUNNING = 2 [(custom_option) = "hello world"]; 19 STOPPED = 3 [(custom_option) = "hello world2"]; 20 } 21 22 message outer { 23 option (my_option).a = true; 24 string reason_for_error = 1 [(custom_option) = "hello world"]; 25 string reason_for_error_2 = 2 [(custom_option) = "hello world2"]; 26 }